You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a job completes, fails, or needs user input, annotate the launching session's title in the session picker so the user can see at a glance which sessions have pending work — without switching into them.
Proposed Behavior
Title annotation on job events
Event
Title change
Job completed
"My Session" → "My Session — ✅ auth-api done"
Job failed
"My Session" → "My Session — ❌ auth-api failed"
Job needs input (question/permission)
"My Session" → "My Session — ⚠️ auth-api needs input"
Multiple jobs need attention
"My Session" → "My Session — ⚠️ 3 jobs need attention"
Title reset
When the user switches into the session (detected via tool.execute.before or command.execute.before firing with that session's ID), reset the title to its original value.
Implementation
Store the original session title when first annotating (avoid clobbering on repeated updates)
Use client.session.update({ path: { id: launchSessionID }, body: { title: annotatedTitle } }) to rename
Prerequisites
launchSessionIDon jobs)Description
When a job completes, fails, or needs user input, annotate the launching session's title in the session picker so the user can see at a glance which sessions have pending work — without switching into them.
Proposed Behavior
Title annotation on job events
"My Session"→"My Session — ✅ auth-api done""My Session"→"My Session — ❌ auth-api failed""My Session"→"My Session — ⚠️ auth-api needs input""My Session"→"My Session — ⚠️ 3 jobs need attention"Title reset
When the user switches into the session (detected via
tool.execute.beforeorcommand.execute.beforefiring with that session's ID), reset the title to its original value.Implementation
client.session.update({ path: { id: launchSessionID }, body: { title: annotatedTitle } })to renameclient.session.update({ path: { id: sessionID }, body: { title: originalTitle } })UX Flow
ctrl+p) — sees "My Session — ✅ auth-api done"Notification Stack (layered)
Files Involved
src/index.ts— session entry detection for title resetsrc/lib/orchestrator.ts— annotate title on job events alongside existing toast/notify callsSDK API