Vectrum
Sign In

Sidebar: a pending question reads Input, not Approval

Like T3 Code, a thread waiting on Claude's questions shows Input; Approval
is for tool approvals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JjohannSocommitted 1 parent 6d816d7commitf01825a

Showing 1 changed file with 2 additions and 1 deletion.

+2−1src/ui/workspace/sidebar.rsView File
@@ -50,8 +50,9 @@ pub(super) enum TopStatus {
5050
5151 /// The status a thread's row shows, if any.
5252 pub(super) fn top_status(state: &Session) -> Option<TopStatus> {
53+ // Claude's questions wait for input, not an approval.
5354 let approval = state.items.iter().any(|item| {
54- matches!(item, ChatItem::Tool(ToolCall { permission: Some(prompt), .. }) if prompt.state == PermissionState::Pending)
55+ matches!(item, ChatItem::Tool(ToolCall { permission: Some(prompt), ask: None, .. }) if prompt.state == PermissionState::Pending)
5556 });
5657 if approval {
5758 return Some(TopStatus::Approval);