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

Đang mở
#4,118 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
649
Merge trung bình
16 giờ 1 phút
Pull request đã merge (30 ngày)
756

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của backnotprop/plannotator

Tất cả issue của backnotprop/plannotator

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.