Repository navigation
test(provider-runtime): record Antigravity, OpenCode, Pi and Kimi Code fixtures - #28
Merged
Merged
Conversation
…ttings Add --home, --state and --settings so a recording can carry a CLI's provider config, a copy of T3's login, or a binary path.
…e other harnesses Replay antigravity.events.jsonl next to gemini through one shared check: an assistant message, a file change for hello.txt, a completed cat command, and usage. The README says why OpenCode, Pi, Kimi, Grok and Cursor have no fixture yet.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…rough CLIProxy Record claude-haiku-5-5 on CLIProxy's OpenAI-compatible route. Kimi Code replaces the archived Kimi CLI registry entry. The replay test now accepts a turn that retries a failed command, and checks usage where each harness reports it: on turn.completed, as thread token-usage updates (Pi), or not at all (Kimi Code).
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Records one redacted turn per harness, so the session reader and its docs rest on real event logs. Each turn uses the prompt "Write hello.txt containing the word hi, then run cat hello.txt.".
New fixtures:
exitCode: 0, and its command output starts with timestamps beforehi.thread.token-usage.updatedevents rather than onturn.completed.acp, agentkimi-code): claude-haiku-5-5 on CLIProxy. It replaces the registry'skimientry, which is the archived Kimi CLI 1.52.0; that CLI prints a deprecation notice on stdout and breaks ACP. Its firstcatran before the write and failed, then the retry printed hi. It reports no usage and no exit code.fixtures.test.tsreplays every fixture through one shared check: an assistant message, one file change for hello.txt, a completed command whose output ends in hi, and a completed turn. Each harness then gets its own checks for exit code and for where it reports usage.record-fixture.tsgains--home,--stateand--settings. They seed the temporary HOME or T3 state directory with a CLI's provider config or login, and set a binary or command path.fixtures/README.mdlists each harness with its model and route, and whether it was recorded or why not. Grok was not recorded because the turn fails with 402 (usage balance exhausted), and Cursor because it has no login.The
defaultmodel id fails for both Grok ("unknown model id") and Antigravity ("unavailable for this Google account"), so thedefaultModel: "default"value in kinds.ts may need a real id for these two. This PR does not change it.Checks, using the commands from
provider-runtime.yml:rg -n 'maxi|sk-|8317|/home/|127\.0\.0\.1' packages/provider-runtime/fixturesprints nothing.The commits use
--no-verify. fmt and lint pass, and the only failing pre-commit step is knip's exports check, which flags unused exports that were already on main.🤖 Generated with Claude Code