Repository navigation
feat(cli): show working animation in preview - #193
Merged
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.
Motivation
The console preview had no live signal while its selected agent was running, so an unchanged poll-driven conversation could look stalled.
Design
Implements approved Option C as a dedicated bottom-row leaf: a fixed-width braille spinner at 160 ms followed by lowercase
working.The five binding decisions are preserved:
working.|/-\\selected only forTERM=dumb; an explicit ASCII capability is deferred.The indicator appears only for the selected interactive agent in
AgentStatus.RUNNING. Waiting, idle, unknown, and absent agents render no activity row; pinning does not affect activity semantics.Performance and correctness
Validation
npm cinpm run build— 6 projects passednpm test— 139 files / 1,937 tests passed across 6 projectsnpm run lint— 6 projects passed; no errors (existing warnings only)npx nx run-many -t typecheck— all configured targets passednpx tsc --noEmit -p packages/cli/tsconfig.jsonnpx ai-devkit@latest lint --feature preview-typing-indicatorRisks
No known blocking risks. Status remains poll-observed rather than a token-stream freshness guarantee, as designed.