summaryrefslogtreecommitdiffhomepage
path: root/src/core/wire
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-12 01:10:56 +0900
committerAdam Malczewski <[email protected]>2026-06-12 01:10:56 +0900
commit0e71903cc1419d20fbd593fd7330defdc4628af2 (patch)
treec669251424f49f6d8e5b3ec17e03f486d46740a1 /src/core/wire
parent6bd7b39f6f53dd8f3743347a1cb72c2f74424dd8 (diff)
downloaddispatch-web-0e71903cc1419d20fbd593fd7330defdc4628af2.tar.gz
dispatch-web-0e71903cc1419d20fbd593fd7330defdc4628af2.zip
feat(chat): old-Dispatch composer layout — textarea + send + status bar
Restore the ergonomic composer from old Dispatch: an auto-resizing textarea (1→7 lines) with a fixed-width Send button beside it, and a status bar BELOW holding a status icon · context-window fill bar (escalating success/warning/ error color) · compact token count (current / limit · pct%). The bar reuses the latest turn's contextSize as current usage and HARDCODES a 1,000,000-token window limit as a placeholder (real per-model limit is the next backend ask). Absorbs the standalone ContextSizeBadge (removed). Pure helpers computeContextUsage + formatCompactTokens added to core/metrics (tested). 540 tests green.
Diffstat (limited to 'src/core/wire')
0 files changed, 0 insertions, 0 deletions