Inbox: compact the connected session and show live idle/working status inside a thread
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 40/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- frontend
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 649
- 平均合并
- 16 小时 1 分钟
- 30 天内合并 PR
- 756
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
backnotprop/plannotator 的其他 Issue
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choices未关闭
难度 2/5 1-3 小时 新手友好度 75/100
backnotprop/plannotator#4132 · 1 条评论 ·
维护者通常 1 天内回复
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission prompts未关闭
难度 2/5 1-3 小时 新手友好度 74/100
backnotprop/plannotator#4051 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
backnotprop/plannotator#4000 ·
维护者通常 1 天内回复
-
PR description is hidden when a PR review opens on a phone可能已有人在做 @flipcyde101 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
backnotprop/plannotator#3667 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
backnotprop/plannotator#2643 · 1 个 reaction ·
维护者通常 1 天内回复
查看 backnotprop/plannotator 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 75/100
-
review-followup
难度 2/5 1-3 小时 新手友好度 68/100
griffinwork40/agent-afk#5387 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
CodeManufactoryLLC/Code60#358 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
android:plan ios:plan main:plan packages:learn
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复