summaryrefslogtreecommitdiffhomepage
path: root/src/core/chunks/groups.test.ts
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
commita7f4f6c23419a2ef9765556e1cc8f0fafca1c641 (patch)
treeea3e2dac60bac56c1a187336dd35b81b5f6154fc /src/core/chunks/groups.test.ts
parent4bc02b0102e45dc8cce97b7fc8499e0ab23d862f (diff)
downloaddispatch-web-a7f4f6c23419a2ef9765556e1cc8f0fafca1c641.tar.gz
dispatch-web-a7f4f6c23419a2ef9765556e1cc8f0fafca1c641.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/chunks/groups.test.ts')
0 files changed, 0 insertions, 0 deletions