Repository navigation
fix(native-chat): list an idle Claude chat's / commands from the account it will start on - #34429
Conversation
…count it will start on A resting chat's next start follows the selected Claude account, but its / menu was read from the account saved when the chat was created. Read it from the same account a new chat would be created on, and rescan when the selection changes.
…log so its key matches the scan
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 14 minutes. View limit details
Walkthrough
Priority: Merge Risk:
|
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
f34a2889-8c21-4ffb-8595-83081c9e101d
Files selected for processing: 6-
src/main/claude/claude-at-rest-commands.tssrc/main/claude/claude-structured-session-commands.test.tssrc/main/native-chat/agent-session-wire/at-rest-command-catalog.tssrc/main/native-chat/agent-session-wire/at-rest-command-context.tssrc/main/runtime/structured-agent-runtime-registrations.tssrc/main/runtime/structured-claude-runtime-adapter.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
-
After you switch Orca's Claude account, an idle Claude chat's
/menu now lists the new account's commands and skills. It used to keep listing the ones from the account the chat was created on, even though the chat's next message starts Claude on the new account.The resting-chat list was read from the account saved on the chat record. Now the shared at-rest catalog can take the account a start would use right now. Claude passes the runtime's
resolveStructuredAgentAccountHome('claude'), the same resolver new chats are created with and the model catalog uses for reads without a chat. Its cache key drops the per-chat account, so chats created on different accounts share one probe. A change to the Claude account selection settings clears the catalogs, so open chats republish their menu.Linear: STA-11298
Captured from a hidden dev build with two test Claude accounts in an isolated profile. The list came from the real Claude probe. Switching back to A brings A's skill back.