mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
The chat UI translated CLI startup failures to a generic localized string and hid the server-provided detail entirely. That made remote Windows debugging guesswork even when the backend had already captured the real stderr payload. This change keeps the localized summary but renders the raw startup detail underneath when it differs, and adds a regression test covering the Git Bash missing case. Constraint: Windows Server repro is happening remotely, so the immediate value is better diagnostics rather than guessing a root cause locally Rejected: Leave the generic translation only | obscures actionable stderr and slows every remote repro cycle Confidence: high Scope-risk: narrow Reversibility: clean Directive: For translated startup errors, preserve backend detail somewhere visible unless it duplicates the summary Tested: cd desktop && bunx vitest run src/components/chat/MessageList.test.tsx Tested: cd desktop && bun run lint Not-tested: Full desktop interaction flow on Windows Server 2022 Related: GitHub issue #62