Repository navigation
Conversation
📝 WalkthroughWalkthroughCursor title recognition was added to sidebar agent-row derivation. When title activity classification provides no status, recognized Cursor titles now receive an idle status instead of being omitted. Tests cover native 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Cursor's constant native title intentionally yields null activity status so it cannot stomp hook-synthesized state. Title-derived sidebar rows required a status, so Cursor sessions never appeared without hooks. Treat Cursor identity titles as idle when status is null so the row is still built.
ca38c31 to
c4fb9a1
Compare
|
Status ping (merge-oriented): small 2-file sidebar fix for native |
|
Closing because #10258 was marked completed. The Cursor sidebar row is no longer an open product gap on |
Summary
+appear in the left worktree agent list even when the terminal title is the constant native"cursor agent"string and hooks have not (yet) painted a synthetic status title.detectAgentStatusFromTitle("cursor agent")intentionally returnsnullso re-emissions do not stomp hook-synthesized state. Title-derived sidebar rows required a non-null activity status, so Cursor never got a row from the title path (Codex usually has spinner/working titles).isCursorAgentTitle) asidlewhen activity classification is null. Identity still comes from the existing Cursor label map.Test plan
pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/sidebar/worktree-title-derived-agent-rows.test.ts src/renderer/src/components/sidebar/useWorktreeAgentRows.test.ts(41 passed)+on Windows → row appears under the worktree with Idle/Running as titles updateELI5
Cursor agent sessions from + never appeared in the sidebar agent list when the terminal title was the plain cursor agent string. Those sessions now show up as agent rows even before hooks paint a richer title.