c2d573c85f
feat(cli): full 3×3 mosaic icon with 9 colored tiles
...
Brand colors (blue, purple, teal, amber, pink) plus complementary
fills (indigo, sky, rose, green) arranged in a gradient flow:
blue indigo purple
sky pink rose
amber green teal
2026-03-15 16:39:22 -05:00
6ddf3dfd99
fix(cli): tighten mosaic icon to compact 3×3 grid
...
- Use half-block chars (▐█ █▌) for outer tiles to reduce width
- Center pink tile fits snugly between the four corners
- Matches the mosaic windmill proportions from the web UI
2026-03-15 16:39:22 -05:00
fb40ed0af0
feat(cli): branded top bar with mosaic windmill icon
...
- ASCII art mosaic windmill: 4 colored tiles (blue, purple, teal, amber)
with pink center, matching the Mosaic Stack brand
- 3-line info block (Claude Code style):
Line 1: 'Mosaic Stack v0.0.0'
Line 2: model (context) · thinking · agent name
Line 3: ● host connection status
- Remove bordered box in favor of open layout with icon
2026-03-15 16:39:22 -05:00
f0b31d9983
feat(gateway,cli,types): wire token usage, model info, and thinking levels
...
Gateway:
- Emit session:info on session creation with provider, model, thinking level
- Include SessionUsagePayload in agent:end with token stats, cost, context usage
- Handle set:thinking client event to cycle thinking levels
- Respond with updated session:info after thinking level change
Types (@mosaic/types):
- Add SessionUsagePayload (tokens, cost, context) to AgentEndPayload
- Add SessionInfoPayload (provider, model, thinking level, available levels)
- Add SetThinkingPayload and set:thinking to ClientToServerEvents
- Add session:info to ServerToClientEvents
CLI TUI:
- useSocket now tracks tokenUsage, modelName, providerName, thinkingLevel
- Updates from both session:info and agent:end usage payload
- Ctrl+T cycles thinking level via set:thinking socket event
- Footer shows thinking level next to model (e.g. 'claude-opus-4-6 • medium')
- Token stats populate with real ↑in ↓out Rcache Wcache $cost ctx%
2026-03-15 16:39:14 -05:00
06887e59c7
fix(cli): use ↑↓ arrows for token usage in footer
2026-03-15 16:39:06 -05:00
16409ff42d
feat(cli): simplify top bar — title + host only
...
- Show 'Mosaic Stack TUI' on left, gateway host on right
- Remove connection status from top bar (lives in footer)
- Remove model/conversation from top bar (lives in footer)
2026-03-15 16:39:06 -05:00
d7a03fd68b
fix(cli): restore border around input bar
2026-03-15 16:39:02 -05:00
e6708c18ed
fix(cli): ensure footer line 2 always renders
...
- Show '^0 v0 $0.000' instead of '—' when no token data yet
- Always show model slot ('awaiting model' as placeholder)
- Add minHeight={1} to prevent line collapse
2026-03-15 16:39:02 -05:00
e42d6eadff
feat(cli): match TUI footer to reference design
...
- Remove borders from input bar — clean '❯ message mosaic…' prompt
- Two-line footer without borders:
- Line 1: compact cwd (branch) | Gateway: Connected/Disconnected
- Line 2: token stats (^in v_out R_cache W_cache $cost ctx%) | (provider) model
- Extend TokenUsage with cacheRead, cacheWrite, cost, contextPercent, contextWindow
- Add providerName to socket hook return
- Reorder layout: top bar → messages → input → footer
2026-03-15 16:39:02 -05:00
9ae1bac614
feat(cli): TUI component architecture — status bars, message list, input bar
...
- Split monolithic app.tsx into composable components:
- TopBar: connection indicator (●/○), gateway URL, model name, conversation ID
- BottomBar: cwd, git branch, token usage
- MessageList: timestamped messages, tool call indicators, thinking display
- InputBar: context-aware prompt with streaming/disconnect states
- Extract socket logic into useSocket hook with typed events
- Extract git/cwd info into useGitInfo hook
- Quiet disconnect: single indicator instead of error flood
- Add @mosaic/types dependency for typed Socket.IO events
- Add PRD and task tracking docs
Tasks: TUI-001 through TUI-007 (Wave 1)
2026-03-15 16:38:58 -05:00
76abf11eba
fix(cli): remove side-effect from agent:end state updater ( #133 ) ( #147 )
...
ci/woodpecker/push/ci Pipeline failed
Co-authored-by: Jason Woltje <jason@diversecanvas.com >
Co-committed-by: Jason Woltje <jason@diversecanvas.com >
2026-03-15 19:09:13 +00:00
c4850fe6c1
feat(cli): add sessions list/resume/destroy subcommands ( #146 )
...
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com >
Co-committed-by: Jason Woltje <jason@diversecanvas.com >
2026-03-15 19:04:10 +00:00
6a4c020179
feat(cli): add --model/--provider flags and /model /provider TUI commands ( #144 )
...
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com >
Co-committed-by: Jason Woltje <jason@diversecanvas.com >
2026-03-15 18:41:36 +00:00
997a6d134f
feat(cli): add login command and authenticated TUI sessions ( #114 )
...
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com >
Co-committed-by: Jason Woltje <jason@diversecanvas.com >
2026-03-15 17:00:08 +00:00
4f84a01072
feat: communication spine — gateway, TUI, Discord ( #61 )
...
Co-authored-by: Jason Woltje <jason@diversecanvas.com >
Co-committed-by: Jason Woltje <jason@diversecanvas.com >
2026-03-13 01:33:32 +00:00