mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
The ingest HUD showed "step 70/40" because the Claude subscription runtime re-derived a per-turn counter that could not match the SDK's num_turns and overshot the maxTurns budget. Replace the turn-based work_unit_step heartbeat with a real, observed tool-call count (no denominator), report metrics.stepCount from the SDK's authoritative num_turns, and delete the brittle countsAsAssistantTurn denylist plus the now-unused onStepFinish callback across the runtime port and all three runtimes. Reconcile and curator progress move to the same tool-call heartbeat. |
||
|---|---|---|
| .. | ||
| ai-sdk-runtime.test.ts | ||
| claude-code-env.test.ts | ||
| claude-code-models.test.ts | ||
| claude-code-runtime.test.ts | ||
| codex-exec-events.test.ts | ||
| codex-isolation.test.ts | ||
| codex-mcp-runtime-server.test.ts | ||
| codex-models.test.ts | ||
| codex-runtime-config.test.ts | ||
| codex-runtime.test.ts | ||
| codex-sdk-runner.test.ts | ||
| debug-request-recorder.test.ts | ||
| embedding-port.test.ts | ||
| local-config.test.ts | ||
| rate-limit-governor.test.ts | ||
| runtime-local-config.test.ts | ||
| runtime-tools.test.ts | ||