mirror of
https://github.com/cline/cline.git
synced 2026-10-28 02:58:44 +08:00
Moves the task.mistake_limit_reached capture (#12354) from the VS Code SdkController wrapper into @cline/core so every host (CLI, VS Code, hub daemon) emits it via its session telemetry service. The MistakeTracker gains an onLimitTelemetry hook fired exactly once per limit hit, before the limit decision is resolved — including when no onConsecutiveMistakeLimitReached callback is configured (the default-stop path, which the extension-side capture missed). The orchestrator wires the hook to captureMistakeLimitReached using its reserved telemetry field, reading sessionId/modelId/providerId at fire time so mid-session connection updates are reflected. The now-redundant extension wrapper and TelemetryService method are removed to avoid double-counting in VS Code.
The file is empty.