Inbox: compact the connected session and show live idle/working status inside a thread
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 40/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start in packages/inbox/components/ThreadSessions.tsx, which today renders waiting/working/idle/ended only when there are two or more sessions, and in packages/inbox/thread/useThreadSessions.ts, which builds that list only for multiple participants. Read how session state reaches the inbox thread, then widen both to single-session threads and decide where a Compact action can call a host compaction API, honoring the limitations noted in #1341. Done means the thread shows live state plus a Compact control with pending/succeeded/failed feedback and an explicit unsupported case, without interrupting active runs.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
TL;DR
Please show the connected agent session's live activity in both the Inbox thread's bottom action row and the agent sidebar, including single-session threads, and retain an explicit context-compaction action where supported. Clear availability lets users leave an active model turn undisturbed and give new work to another available agent instead.
Workflow
I use Oh My Pi (OMP), through Telegram and OMP Web, with the Plannotator Pi extension and Inbox. From the thread chat I want to know whether the agent is working or idle, compact its conversation when appropriate, and continue sending instructions in the same session and thread.
Here, compaction means summarizing the agent's conversation to free context space, not folding or deleting Inbox messages.
Existing support checked
- Current Inbox documentation describes busy/queued reply delivery and ended sessions, but does not document a direct Compact action in a thread.
- On current main,
packages/inbox/components/ThreadSessions.tsxdisplays waiting/working/idle/ended states in the participant list, but returns nothing for fewer than two sessions.packages/inbox/thread/useThreadSessions.tslikewise builds that list only for multiple participants. This is useful partial support, not a claim that Plannotator has no session-state tracking. - #910 covers guided compaction and conversation lifecycle tooling; this request is specifically for controls on the existing Inbox thread.
- #3264 requests model/effort/context information on Claude Code's agent hover card; this request focuses on live thread-level activity and an explicit compaction action, including OMP where supported.
- #1341 discusses compaction after plan approval and documents host-specific API limitations. This request should respect those limitations rather than pretend every integration supports compaction.
Requested behavior
- Show the addressed session's live state inside the thread: working, idle, waiting for user input, ended/disconnected, or unknown as appropriate. Include single-session threads; do not require sending a message just to discover its activity state.
- For multiple participants, make clear which session the status and Compact action refer to.
- Offer an explicit Compact action for integrations that expose a supported session-compaction API, with a clear explanation that it summarizes conversation context.
- Respect active work: disable or safely defer compaction while the host cannot compact, without interrupting a run silently.
- Show requested/in-progress/succeeded/failed outcomes, retain the same session/thread association, and allow continuing the conversation afterward.
- Clearly indicate unsupported integrations or stale/unknown status rather than reporting false success or guessing idleness.
Activity indicators: footer and agent sidebar
Thread chat footer
- Place a persistent live-state indicator in the bottom action row, beside Reply and Looks good. It should be visible without opening a hover card, switching to the agent terminal, or sending a message to probe the state.
- Explicitly show when the addressed model session has an active turn / is working, and update when that turn ends or the session changes state.
- Support a thread with only one connected session as well as multiple participants. For multiple agents, identify whose state is displayed; do not confuse another participant's work with the reply target.
Left sidebar agent list
- Show a small availability light next to each listed agent so users can compare agents before assigning work.
- Green means idle / available for a new task, not “the model is working.” An actively running turn must not show the available-green state; give it a distinct working/busy presentation.
- Also distinguish waiting for input, ended/disconnected and unknown/stale state. Missing or stale telemetry must not falsely advertise green availability, or be silently presented as proof that a model is working.
- Do not rely on color alone: pair the light with a label, tooltip or accessible text identifying the state.
Why this matters / acceptance
I want to leave an already-running session alone and use one of my other agents instead of interrupting it with another task. Both locations should reflect the actual live turn lifecycle (not merely that an agent process exists or the UI was recently opened), remain consistent for the same session, and change when a turn starts/finishes. Unsupported integrations should say unknown/unsupported rather than guess. This is a visibility request, not a request to interrupt turns automatically or force-disable replies.
The original context-compaction requirements above remain in scope and unchanged.
Requirement history
- Original request (2026-11-15): live working/idle status inside a thread, including single-session threads, plus supported session compaction. The original investigation and environment below are retained; they are not a new UI/source audit on the date of this update.
- Added detail (2026-11-16): place activity in the bottom row beside Reply / Looks good, and add per-agent sidebar availability lights, specifically green = idle/available, so work can be routed to another agent without interrupting an active session. This refines the existing activity request; it does not supersede or remove the compaction request.
Scope
Installed binary and Pi extension: 0.28.64. The checks above distinguish documented/current-main behavior from an end-to-end test: I have not tested a hidden setting or every agent integration. If this exact thread workflow already exists, please point to its supported version and how to enable it.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
backnotprop/plannotator#4132 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
backnotprop/plannotator#4051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#4000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PR description is hidden when a PR review opens on a phoneCó thể đã có người làm @flipcyde101 đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
backnotprop/plannotator#3667 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
backnotprop/plannotator#2643 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của backnotprop/plannotator
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
review-followup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
griffinwork40/agent-afk#5387 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CodeManufactoryLLC/Code60#358 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
android:plan ios:plan main:plan packages:learn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày