Inbox: option to open all Rex launches in one named Rex session

Aperta
#4,118 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

Start by tracing the Inbox Rex launch flow and the code that reads inboxLaunch.startIn and stores or reuses sessions in rex-sessions.json. Check how session labels, tab labels, and working directories are passed to Rex, then add the optional inboxLaunch.rexSession behavior while preserving the existing behavior when it is unset. Done means launches from different projects share the configured session, with each tab label and working directory retained.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Plannotator version: 0.29.5 (macOS, inboxLaunch.startIn: "rex")

What happens today

When Inbox starts an agent in Rex, it opens the tab in a Rex session named after the project (session.create with label: <project name>), remembers it in rex-sessions.json keyed by project, and reuses it only while the session's label still matches exactly. With several projects, that means one Rex session per project, alongside the user's own Rex sessions.

What I'd like

A setting such as inboxLaunch.rexSession: "Inbox". When set, every Rex launch, whatever the project, opens as a new tab in one Rex session with that label:

  • reuse it if a session with that label exists (or the remembered id still resolves), otherwise create it;
  • keep the per-tab label as today (host.name), and keep the project folder as the tab's working directory;
  • unset keeps today's per-project behaviour.

Why

We usually have 5 to 7 or more projects going at once. Launching from Inbox across them fills the Rex sidebar with one session per project folder, mixed in with the sessions we opened by hand. A single "Inbox" session keeps all Inbox-started agents in one place, separate from sessions the user opened by hand.

Notes

  • Rex can't move a window between sessions, so this can't be fixed after launch on the user's side.
  • The exact-label check in reuse is also tripped by tools that annotate session labels (for example, adding live counts). Matching on the remembered session id alone, or on a label prefix, would make reuse sturdier. That could be a separate issue.
Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.