Inbox: advertise a configurable public URL instead of localhost (tunnels, reverse proxies)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend-api-design
Línea de trabajo
Start by tracing inboxCanonicalBaseUrl, resolvePublicUrl, and the Inbox URL outputs named in the issue; the payload does not provide their file paths. Check how publicUrl is configured and validated for review and annotate sessions. Done means the Inbox setting controls the advertised links listed in the proposal, while inbox status --json retains its local URL and adds public_url; the listener and routes remain local-only.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What I want
I run the Inbox on a cloud dev box and reach it from my laptop through an authenticated HTTPS tunnel (ngrok, a Cloudflare Tunnel I run myself or an nginx reverse proxy all work the same way). The tunnel has a stable public origin, https://<user>-<label>-plannotator-inbox.<tunnel-domain>, which forwards to the Inbox's loopback port.
Every link the Inbox hands out still says http://localhost:<port>/:
- the
urlthatsend_messageandread_threadreturn to agents - what
plannotator inbox --open,--backgroundandstatusprint, and therefore Pi's/plannotator-inboxnotice - links in notifications
So every link an agent gives me is dead on the laptop, and I have to swap the origin by hand.
I'd like a way to set the origin the Inbox advertises, the way publicUrl / PLANNOTATOR_PUBLIC_URL already works for review and annotate sessions.
What I found (v0.29.3 CLI, v0.29.4 Pi extension)
inboxCanonicalBaseUrl(port)buildshttp://${resolveLocalUrlHostname(config) ?? "localhost"}:${port}/. It accepts onlylocalhostor a*.localhosturlHost, so it can't produce anhttps://origin without a port.resolvePublicUrl(PLANNOTATOR_PUBLIC_URL/publicUrl) feeds onlyresolveAdvertisedSessionUrl, so review and annotate sessions use it. The Inbox never reads it.- The Inbox can't be pinned to a port (it reuses the port in
inbox/inbox.json), so aurlHost-stylehost:portsetting would not help either. The tunnel keeps a stable name and moves with the port.
#4017 asks for the same thing for Tailscale (advertise tailscale.url). This request is the general case: any origin that the user sets.
Proposal
Add an Inbox public origin setting: inboxPublicUrl in config.json plus PLANNOTATOR_INBOX_PUBLIC_URL, validated with the existing isValidPublicUrl (an origin with no path, query or credentials).
When it is set:
send_message,read_thread,inbox --open,inbox --background,inbox statusand notifications use<inboxPublicUrl>/plus the thread path.inbox status --jsonkeeps the loopbackurland addspublic_url, so scripts can still find the local port.- Nothing else changes: the Inbox still binds loopback, and the MCP and agent routes stay local-only. Only the advertised address changes.
With #4017 the precedence could be: explicit inboxPublicUrl, then the live tailnet URL when the advertise option is on, then localhost.
Related: session ports after the first
With PLANNOTATOR_PORT=19432-19439, publicUrlAppliesToPort applies PLANNOTATOR_PUBLIC_URL only to 19432. A second concurrent review on 19433 prints http://localhost:19433, even though I run one tunnel per port (https://…-plannotator-19433.<tunnel-domain>). A {port} placeholder would cover this, for example PLANNOTATOR_PUBLIC_URL=https://me-plannotator-{port}.example.dev, filled in for every port in the range. I'm happy to split this into its own issue if you prefer.
Workaround for now
I bookmark the tunnel URL and tell agents to rewrite http://localhost:<port> links themselves.
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.7k
- Forks
- 649
- Merge medio
- 16 h 1 min
- PR fusionados (30 d)
- 756
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
backnotprop/plannotator#4132 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
backnotprop/plannotator#4051 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
backnotprop/plannotator#4000 ·
Los mantenedores suelen responder en 1 día
-
PR description is hidden when a PR review opens on a phonePosiblemente ocupada @flipcyde101 la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
backnotprop/plannotator#3667 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
backnotprop/plannotator#2643 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de backnotprop/plannotator
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
frontend testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
vendrabuck/HERD#1588 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue priority: low
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
art-audio
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100