HUQIANTAO
896104b851
docs(release): add doc comments to all public types and functions ( #2449 )
...
* docs(release): add doc comments to all public types and functions
* test(tui-core): add unit tests for UiState state machine
Add 25 unit tests covering the previously untested UiState::reduce
state machine and snapshot:
- Default state verification
- Key navigation: pane switching (1-5), unknown key no-op
- Prompt lifecycle: pending_tasks increment, response delta tracking
- Tool lifecycle: active_tool set/clear, pending_tasks decrement, saturation
- Job lifecycle: active_jobs increment/decrement, progress clamping, saturation
- Approval lifecycle: pending_approvals increment/decrement, saturation
- Pause/Resume: flag toggling
- Tick: ScheduleBackgroundRefresh effect
- Snapshot: field presence, state change reflection
* Revert "test(tui-core): add unit tests for UiState state machine"
This reverts commit 92dfb9bcf3e915b14d5848244e0732fb188b2ce8.
---------
Co-authored-by: Hu Qiantao <huqiantao@HudeMacBook-Air.local >
Co-authored-by: Hunter B <hmbown@gmail.com >
2026-05-31 10:23:59 -07:00
reidliu41
e32bd1af6d
feat(update): add check-only release diagnostics
...
Add `codewhale update --check` so users can compare the installed version with
the latest release without downloading or replacing binaries.
Surface the same release check in `codewhale doctor`, and share release lookup,
mirror handling, timeout, and version comparison logic between update and doctor.
2026-05-30 19:18:34 -07:00