fix(cli): stabilize subagents and require release quality checks (v0.15.21) - #48
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.
Subagents could show zero tokens while running, lose usage on retries or cancellation, and corrupt the terminal layout when several agents updated together. This release tracks confirmed and estimated usage per execution, keeps terminal and SDK progress current, bounds agent rows to the available screen, and preserves running tasks when closing their detail view.
The shared quality gate now rejects every failing test file and exercises the installed npm artifact on Linux, macOS and Windows with Node 22 and 24. Each platform/runtime runs 32 real-terminal scenarios plus streaming JSON through SDK stdin/stdout pipes. Release jobs depend on that gate; npm publishes the exact tested tarball, and desktop archives retain mandatory Minisign signing. Package version: 0.15.21.
Windows credential commands now run without interactive PowerShell profiles or terminal input and have a finite deadline. The PTY gate includes a startup preflight and records subprocess timings to diagnose platform-specific initialization stalls.
Validation: 3,045 passing tests across 336 isolated files, with no failed files or timeouts; 44 Python tests; CLI/SDK build, protocol self-test, scoped agent type checks, web typecheck/build, and native desktop packaging. Two existing conditional SDK tests remain skipped in the Linux unit run. The installed CLI matrix checks up to 20 concurrent agents, three terminal sizes, fullscreen, resize, cancellation, task menus, usage variants and error completion. Repository-wide TypeScript debt is outside this change.
CI: https://github.com/verbeux-ai/code/actions/runs/34391803084