anthropics / anthropics/claude-code
Session list: show status (running / waiting for input) and open PRs
- 主要语言
- Python
- 星标
- 145k
- 派生
- 23.1k
- PR 合并指标
- PR 指标待抓取
描述
### Preflight Checklist
- [x] I have searched [existing requests](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20label%3Aenhancement) and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
### Problem Statement
### What I'd like
Two additions to the "Recents" session list in the Claude Code desktop app.
**1. A status dot per session**
Today the list is sorted by time only. There is no way to tell, at a glance,
whether a session is still running, has stopped, or is blocked on an answer
from me. I have to open each one.
Three states would already help a lot:
- running
- waiting for my input
- done / idle
The data is partly there already: `list_sessions` exposes `isRunning`. What's
missing is "the last turn was a question to the user". I realise that one is
the hard case — it will be wrong sometimes. Even shipping just
running/idle would be an improvement.
**2. A filter or badge for sessions with an open PR**
This one is a hard fact rather than a guess, so it should be reliable.
`list_sessions` already returns `prNumber` and `prState`.
My concrete case: a PR touching order execution sat open for 16 days across
sessions. Nothing in the UI surfaced it. A badge on the session row, or a
"has open PR" filter, would have caught it on day one.
### Why it matters
I run several sessions in parallel across two projects. The cost of losing
track isn't cosmetic — in my case it's unmerged changes to money-handling
code drifting further from main every day.
### Environment
Claude Code desktop app, Windows 11.
### Proposed Solution
### Alternative Solutions
### What I'd like
Two additions to the "Recents" session list in the Claude Code desktop app.
**1. A status dot per session**
Today the list is sorted by time only. There is no way to tell, at a glance,
whether a session is still running, has stopped, or is blocked on an answer
from me. I have to open each one.
Three states would already help a lot:
- running
- waiting for my input
- done / idle
The data is partly there already: `list_sessions` exposes `isRunning`. What's
missing is "the last turn was a question to the user". I realise that one is
the hard case — it will be wrong sometimes. Even shipping just
running/idle would be an improvement.
**2. A filter or badge for sessions with an open PR**
This one is a hard fact rather than a guess, so it should be reliable.
`list_sessions` already returns `prNumber` and `prState`.
My concrete case: a PR touching order execution sat open for 16 days across
sessions. Nothing in the UI surfaced it. A badge on the session row, or a
"has open PR" filter, would have caught it on day one.
### Why it matters
I run several sessions in parallel across two projects. The cost of losing
track isn't cosmetic — in my case it's unmerged changes to money-handling
code drifting further from main every day.
### Environment
Claude Code desktop app, Windows 11.
### Priority
Critical - Blocking my work
### Feature Category
CLI commands and flags
### Use Case Example
_No response_
### Additional Context
_No response_
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by tracing the `list_sessions` entry point and the desktop app's "Recents" session-list UI. Check how `isRunning`, `prNumber`, and `prState` reach each session row, then define the status and open-PR presentation. Done means the list visibly distinguishes running or idle sessions and reliably surfaces sessions with open PRs.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli, desktop
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100