Skip to content

feat(cli): add muted color slot and disc primitive for TUI grammar - #1054

Merged
Astro-Han merged 1 commit into
mainfrom
feat/cli-tui-semantic-color-slots
Jul 16, 2026
Merged

Astro-Han merged 1 commit into
mainfrom
feat/cli-tui-semantic-color-slots

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Foundation layer (seam 1) for #1053 — semantic color slots in packages/cli/src/tui-ansi.ts. Adds:

Pure addition, no call-site changes, no behavior change — this lands the contract so the consumer seams can reference it directly. The first visible consumer is seam 2 (tool cards).

Verification

  • npm test --workspace maka-agent — 364 tests pass, including 5 new string-contract tests for muted and disc (glyph is always a single ●; each tone maps to the exact ANSI sequence).
  • No existing renderer changed; zero regressions.

No visible TUI change in this PR by design.

Refs #1053.

image

Foundation layer (seam 1) for #1053: semantic color slots in
tui-ansi. Adds a truecolor muted cool-grey slot and a disc() status
primitive (a single ● tinted by tone — muted = done, accent =
running, danger = error) that subsequent tool-row and chrome seams
will consume. Pure addition, no call-site changes; string-contract
unit tests lock the glyph and ANSI tones.

Refs #1053.
@Astro-Han
Astro-Han merged commit 702b95b into main Jul 16, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the feat/cli-tui-semantic-color-slots branch July 16, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant