James Peter
|
59f22502c2
|
chore(workspace): sync codex tree and finish reset plan
|
2025-10-05 09:04:09 +10:00 |
|
James Peter
|
8f64f2a976
|
feat(tui/history): consolidate history state and spinner cadence
|
2025-10-02 09:46:04 +10:00 |
|
James Peter
|
fcdebf603c
|
chore(tui): polish maintainability
- Remove legacy string-based (use ExecAction everywhere)
- Add ergonomic traits for newtype IDs (From<&str>, From<String>, AsRef<str>, Display)
- Replace remaining direct streaming mutations with streaming facade
- Update refactor docs: Step 3 and 4 marked DONE
Build: ./build-fast.sh clean
|
2025-09-02 21:14:34 +10:00 |
|
James Peter
|
73a358ab05
|
docs(tui): mark merge API consolidation done; note ExecAction adoption and next steps
|
2025-09-02 19:39:25 +10:00 |
|
James Peter
|
bdc4dde7f0
|
docs(tui): update refactor plan status
- Mark history helper adoption as DONE
- Note new history_*_and_maybe_merge API and partial adoption
- Update TODO checklist accordingly
|
2025-09-02 17:43:46 +10:00 |
|
James Peter
|
d630d3f9fc
|
refactor(tui/chatwidget): finish history helper adoption across TUI
- Replace direct history mutations with shim:
- add_to_history -> history_push
- history_cells[idx] = … -> history_replace_at
- history_cells.remove(i) -> history_remove_at (where safe)
- Sweep chatwidget.rs, chatwidget/tools.rs, chatwidget/exec_tools.rs, chatwidget/interrupts.rs
- Preserve move-before-assistant helpers where removal return value is required
- Keep behavior identical; centralize invalidation/redraw in helpers
Validated with ./build-fast.sh (no warnings).
|
2025-09-02 17:41:46 +10:00 |
|