mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Desktop sessions previously only showed the final local-agent output, so long verification phases looked stalled even while the CLI was still working. The websocket bridge now forwards task start/progress events, and the desktop session state renders them as a compact background-agent panel below the active goal. Constraint: CLI already emits task lifecycle events; desktop needed to consume the existing stream instead of polling transcript files. Rejected: Wait for final task notifications only | that keeps the long-running phase invisible. Confidence: high Scope-risk: moderate Directive: Keep task_started/task_progress available as structured desktop notifications when changing CLI event translation. Tested: bun run verify (passed=8 failed=0 skipped=2) Tested: bun run check:desktop Tested: bun run check:server Tested: bun run check:native Tested: bun run check:coverage Not-tested: Post-formatting check:server rerun was intentionally stopped at user request.