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

オープン
#4,118 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
16時間 1分
マージ済み PR(30日)
756

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。