feat: lowercase model labels, fast-mode segment, multi-row rendering; pin deps exactly - #10
Merged
Merged
Conversation
- model-with-reasoning lowercases the host's display label and the effort level, so "Fable 5" + "High" render as "fable 5 (high)" and match the id-derived form - new fast-mode segment shows "fast" when the session config dir's settings.json has fastMode: true — read per-process via CLAUDE_CONFIG_DIR so concurrent sessions under different profiles stay independent - new newline segment starts a new status row; the renderer drops rows that end up empty (hosts render each stdout line as its own row)
The caret range resolved sdk 1.29.0, which nests its own zod 4 copy; under typescript 5.9 the two zod instances make server.tool() registrations fail typecheck. Pin sdk 1.12.1 (zod ^3 era, no nested copy) and zod 3.25.76 so the tree has a single zod and typecheck is deterministic.
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.
What
model-with-reasoninglowercases the host display label and effort: "Fable 5" + "High" →fable 5 (high)fast-modesegment: rendersfastwhen the session config dir'ssettings.jsonhasfastMode: true(resolved per-process viaCLAUDE_CONFIG_DIR, so concurrent sessions under different profiles stay independent)newlinesegment: starts a new status row (Claude Code renders each stdout line as its own row); empty rows are droppedfix(deps): pin@modelcontextprotocol/sdk@1.12.1,zod@3.25.76,typescript@5.9.3exactly. bun.lock is gitignored, so CI resolves fresh from caret ranges every run — the caret'd SDK drifted to 1.29.0 which nests zod 4, and under TS 5.9 the dual-zod tree fails typecheck onserver.tool()registrations. Exact pins restore a single-zod, deterministic tree.Tests
TDD: new tests for lowercase rendering, fast-mode (on/off/missing/malformed settings, env-scoped), newline registry entry, and multi-row rendering incl. empty-row dropping. Full
bun run check(typecheck + 116 tests + build) green locally under TS 5.9.3.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.