fix(agent-config): refresh agent registry on config apply#4294
Open
SpencerJung wants to merge 2 commits into
Open
fix(agent-config): refresh agent registry on config apply#4294SpencerJung wants to merge 2 commits into
SpencerJung wants to merge 2 commits into
Conversation
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
There was a problem hiding this comment.
No issues found across 4 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: The PR addresses a specific bug by clearing stale agent aliases before re-registering from fresh config, with targeted changes that have no apparent side effects and are covered by regression tests.
Re-trigger cubic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/connectconfig re-entry cannot leave stale selector aliases behind.Fixes #4130
Verification
lsp_diagnosticsonsrc/features/claude-code-session-state/state.tslsp_diagnosticsonsrc/plugin-handlers/agent-config-handler.tslsp_diagnosticsonsrc/features/claude-code-session-state/state.test.tslsp_diagnosticsonsrc/plugin-handlers/agent-config-handler.test.tsbun test src/features/claude-code-session-state/state.test.ts src/plugin-handlers/agent-config-handler.test.tsbun run typecheckbun run buildgit diff --checkSummary by cubic
Refreshes the agent registry on each config apply so
/connectcan’t leave stale agent aliases behind. Keeps the registry aligned with the freshly rebuilt config and adds regression tests.Written for commit 66fefc3. Summary will update on new commits. Review in cubic