mirror of
https://github.com/cocoindex-io/cocoindex-code.git
synced 2026-09-14 16:39:38 +08:00
a821c20a64
When a daemon-side `ccc doctor` check failed (e.g. the model check), only a one-line, 500-char-truncated summary reached the CLI; the full traceback was logged to daemon.log but never surfaced, making failures hard to debug. Carry the full traceback across both daemon→CLI error paths: - Per-check failures: add `traceback` to `EmbeddingCheckResult` and `DoctorCheckResult`; `check_embedding` captures `format_exc()` and `_check_model` propagates it. The CLI prints it dimmed under the error. - Streaming exceptions: add `traceback` to `ErrorResponse`, populated by the daemon's streaming handler and appended to the client-raised RuntimeError. Both new fields default to None, keeping the msgpack wire format backward-compatible. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>