kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

[FEATURE]: (VS Code extension) Clear per-state tab icons + OS notifications for finished / needs-input sessions

Open ehudc opened this issue 4 months ago • 3 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Feature hasn't been suggested before.

Closest existing issues are adjacent but different:

  • #9954 made session tabs compact/status-aware but only added the busy spinner
  • #8127 added attention alerts that are sound-only in VS Code (kilo-code.new.attention)
  • #10780 added status icons to terminal tabs
  • #7529 broad unified notification system whose problem statement overlaps this — was closed as not planned.

None gives VS Code session tabs distinct per-state icons or OS notifications.

Request

More clarity on background sessions to be readable at a glance. Here's an example from Cursor, where a finished tab shows an "unread" dot, a tab paused for input shows a question-mark icon, and I get a system notification if I'm in another app. Here's example UI from that app:

CursorTabs

Today in Kilo's Agent Manager

Kilo already has the pieces for this, they're just not wired to Agent Manager session tabs:

KiloTabs
  • Session tabs render exactly one status visual, the busy spinner
    • SessionTab.tsx the only state props are busy + active, a pending question/permission actually forces busy off (isAnySessionBusy). So "awaiting input" looks idle, and a chat-style ask can leave the tab looking busy.
    • Either way there's no distinct "needs you" or "finished" state. (Sidebar search already computes a waiting state; the tab strip doesn't consume it.)
  • Attention alerts are sound-only. There's no OS/desktop notification path in the extension — unlike the CLI/TUI, which already supports attention.notifications (desktop alert when unfocused).

Request for two related pieces on the same existing attention events (done, question, permission, error)

  1. Distinct per-state tab icons, mirroring states Kilo already models elsewhere (terminal-status: busy | attention | unread | idle | error; CLI title: working/attention/finished; worktree rows already show multi-state am-run-badge/am-pr-badge):

    • Working — existing spinner (already there).
    • Awaiting input (question/permission) — a question-mark icon; Icon name="help" already exists in-repo.
    • Finished / unread — a small colored "unread" dot on the tab, cleared when the tab is focused; reuse existing dot styling (project-console-dot-unread / kiloclaw-convitem-unread) or Icon name="circle-check".
  2. OS notifications, when those same events fire and the IDE isn't focused, show a system notification (macOS Notification Center / equivalent). Can gate this behind a setting next to the existing sound toggle, mirroring the CLI's attention.notifications. Sound can stay opt-in as it is today.

This reuses in-repo primitives (icons, the terminal-status state model, the CLI desktop-notification pattern) rather than introducing new design. It's just the missing at-a-glance tab state and cross-app nudge are helpful when juggling multiple sessions.

ehudc avatar Jul 28 '26 21:07 ehudc

It's a good suggestion. We should follow up on it.

marius-kilocode avatar Jul 30 '26 13:07 marius-kilocode

This issue's first part is tab indicators which has been done in https://github.com/Kilo-Org/kilocode/pull/13504 and https://github.com/Kilo-Org/kilocode/pull/13731

The second part is OS notifications for when the IDE is not focused. Leaving issue open, unless that should be a separate independent one.

ehudc avatar Sep 03 '26 21:09 ehudc

Tracked for the v2 extension in #16065 (attention notifications, OS alerts, workbench alerts and server-derived unread/attention state, including Agent Manager sessions). That issue carries the v1 behaviour baseline and the upstream OpenCode v2 reference design.

marius-kilocode avatar Nov 11 '26 12:11 marius-kilocode