fix(coding-agent): report custom queues and require extension code restarts - #9
Merged
Conversation
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
ctx.hasPendingMessages()missing custom steering/follow-up messages because it checked the UI's user-text count. Extension contexts and interactive shortcuts now useAgent.hasQueuedMessages(). The UI count stays user-text-only;nextTurnand context-only asides remain excluded from the pending-work predicate./reloadinstead of clearing the factory cache. Settings and non-code resources still reload; discovery, extension path/enable-disable changes, and shutdown/start lifecycle handling remain intact./newand session switching are not substitutes. No Jiti fork, dependency changes, or lockfile changes.Validation
All results are for
acf4c2d98ec44de2108f16a47bf59de5193341a7:npm run checkand./test.shpassed. Credential-dependent provider tests were intentionally skipped.clearQueue, excluded asides, cached factory reruns, JS/TS entrypoint/schema changes requiring restart, refreshed prompts, and TUI/RPC notices.Full Linux suites, Linux x86-64/interactive TUI, real provider calls, Bun standalone binaries, and actual Node SEA binaries were not tested. The Node SEA loader configuration regression passed.
Compatibility
The package version remains
0.85.1; that version alone does not identify this behavior. The native revision boundary isacf4c2d98ec44de2108f16a47bf59de5193341a7. Companionpi-subagentschanges will depend on this commit. After installing this revision, fully restart running Pi processes to acquire the native queue fix and updated extension code.