v0.8.0: Information Radiator, Command Palette, TrueColor Themes, Setup Wizard

- Sidebar: permanent 42-col panel with 7 data panels (Gate Trace, Focus,
  Rules, Context gauge, Files, Cost, Protection); 4-window Croatoan layout
  at >=120 cols, toggle via Ctrl+X+B
- Command palette: Ctrl+P overlay with fuzzy-filtered categorized items,
  keyboard navigation, Enter to execute; view-palette rendering
- TrueColor themes: 4 new presets (nord, tokyonight, catppuccin, monokai)
  with 27 hex keys via theme-hex-to-rgb
- Setup wizard: Ctrl+\ /setup 4-step overlay (provider, key, memory, save)
  writing .env with in-TUI rendering
- Daemon enrichment: dispatcher block counts, cost session summary,
  modified files tracking, context usage percentage
- Daemon fixes: fboundp guards for count-tokens/provider-token-cost,
  tool registry save/restore in safety tests, SELF_BUILD_MODE cleanup
- 139 tests pass across all suites (0 failures)
This commit is contained in:
2026-05-09 15:00:14 -04:00
parent d77d41f3a8
commit 2ac87b626a
17 changed files with 2916 additions and 528 deletions

View File

@@ -1185,7 +1185,10 @@ The TUI is the main UI for v1.0.0. Competitive analysis of Claude Code, OpenCode
- System message on activation, ~$EDITOR~ / ~$VISUAL~ / ~vi~ fallback (runtime)
- 1 TDD test passes (model-level)
*** TODO TUI-based setup wizard — deferred to v0.8.0
*** DONE TUI-based setup wizard — deferred to v0.8.0
:LOGBOOK:
- State "DONE" from "TODO" [2026-05-09 Sat]
:END:
*** DONE Pads for chat scrolling — Page Up/Down by 10 lines
:LOGBOOK:
@@ -1497,7 +1500,10 @@ Currently the system prompt has IDENTITY (assistant name) but the agent doesn't
The sidebar is what makes the Information Radiator direction unique. No competitor can render gate traces, focus maps, or rule counters because none has deterministic gates, foveal-peripheral context, or rule synthesis. The sidebar makes this data permanently visible. It also includes context monitoring, modified files, and tool status — all zero-LLM-token data from the deterministic layer.
*** TODO Sidebar — always visible information panel
*** DONE Sidebar — always visible information panel
:LOGBOOK:
- State "DONE" from "TODO" [2026-05-09 Sat]
:END:
:PROPERTIES:
:ID: id-v070-sidebar
:CREATED: [2026-05-08 Fri]
@@ -1516,7 +1522,10 @@ Content (ordered vertically):
Implementation uses a fourth Croatoan ~window~ (sidebar on right) or a panel overlay. All data is already in the daemon's response plist (~:rule-count~, ~:foveal-id~, ~:gate-trace~). The gate block counts come from a new ~*dispatcher-block-counts*~ alist tracked in ~dispatcher-check~. ~200 lines (includes panel 7 addition).
*** TODO Sidebar overlay mode (< 120 cols)
*** DONE Sidebar overlay mode (< 120 cols)
:LOGBOOK:
- State "DONE" from "TODO" [2026-05-09 Sat]
:END:
:PROPERTIES:
:ID: id-v070-sidebar-overlay
:CREATED: [2026-05-08 Fri]
@@ -1524,7 +1533,10 @@ Implementation uses a fourth Croatoan ~window~ (sidebar on right) or a panel ove
When terminal width < 120, sidebar becomes an absolute-positioned overlay with semi-transparent backdrop (ncurses ~opaque~ + themed background). Toggle via ~/sidebar~ or ~Ctrl+X+B~. The chat area fills the full width when sidebar is hidden. ~30 lines.
*** TODO Command palette (Ctrl+P)
*** DONE Command palette (Ctrl+P)
:LOGBOOK:
- State "DONE" from "TODO" [2026-05-09 Sat]
:END:
:PROPERTIES:
:ID: id-v070-command-palette
:CREATED: [2026-05-08 Fri]
@@ -1538,7 +1550,10 @@ Single entry point for all actions. Mirrors OpenCode's pattern — fuzzy-searcha
- Also shows keyboard shortcuts for each command as hints
- Implemented as a Croatoan ~window~ overlay with ~add-string~-based rendering and ~get-char~-based filtering. ~100 lines.
*** TODO TrueColor theme expansion (8 presets)
*** DONE TrueColor theme expansion (8 presets)
:LOGBOOK:
- State "DONE" from "TODO" [2026-05-09 Sat]
:END:
:PROPERTIES:
:ID: id-v070-themes
:CREATED: [2026-05-08 Fri]