Repository navigation
Show session titles in kcap agent ls - #1292
Conversation
The title column is requested by the client: an older CLI refuses any agent table that is not 3 or 6 columns wide, so the daemon adds it only when asked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
PR Summary by QodoShow agent session titles in
AI Description
Diagram
High-Level Assessment
Files changed (11)
|
Code Review by Qodo
1.
|
…ent-ls-titles # Conflicts: # src/Capacitor.Cli/Commands/AgentCommand.cs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes #1291 — AI-3456
What & why
kcap agent lsgains a TITLE column, so you can tell agents apart without attaching. The daemon already resolves a title per agent for the desktop app's status payload — the session title once one lands, else the launch prompt's first line — and now appends it as a seventh column of the agent table.Where to look
The column is opt-in: the CLI asks for it with a
Listrequest whose payload istitle. An older CLI refuses any table that is not 3 or 6 columns wide, so an unrequested seventh column would break itslsandstop --all. An older daemon ignores the payload and answers with 6 columns, and the CLI then omits TITLE. A plainListis still a zero-length payload.Verification
dotnet build Capacitor.slnx: 0 warnings, 0 errorsAgentIdResolutionTests14/14,ListFrameCodecTests2/2,AgentOrchestratorLocalAttachTests48/48 — including a real-socket round trip asserting the title arrives🤖 Generated with Claude Code