Skip to content

test(provider-runtime): record Antigravity, OpenCode, Pi and Kimi Code fixtures - #28

Merged
onmax merged 3 commits into
mainfrom
feat/provider-runtime-fixtures
Nov 27, 2026
Merged

onmax merged 3 commits into
mainfrom
feat/provider-runtime-fixtures

Conversation

@onmax

@onmax onmax commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

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:

  • Antigravity: gemini-3.8-flash-high, using a copy of T3's Antigravity login. agy reports exitCode: 0, and its command output starts with timestamps before hi.
  • OpenCode and Pi: claude-haiku-5-5 on CLIProxy's OpenAI-compatible route. Pi reports usage as thread.token-usage.updated events rather than on turn.completed.
  • Kimi Code (acp, agent kimi-code): claude-haiku-5-5 on CLIProxy. It replaces the registry's kimi entry, which is the archived Kimi CLI 1.52.0; that CLI prints a deprecation notice on stdout and breaks ACP. Its first cat ran before the write and failed, then the retry printed hi. It reports no usage and no exit code.

fixtures.test.ts replays 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.ts gains --home, --state and --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.md lists 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 default model id fails for both Grok ("unknown model id") and Antigravity ("unavailable for this Google account"), so the defaultModel: "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:

  • Build: 2/2 successful.
  • Typecheck: exit 0.
  • Tests: 13 files, 197 tests passed.
  • rg -n 'maxi|sk-|8317|/home/|127\.0\.0\.1' packages/provider-runtime/fixtures prints 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

…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.
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-27T10:52:57.285975Z
We couldn’t complete this review. Comment @codex review to try again.
7e9a35f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Nov 27, 2026
…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).
@onmax onmax changed the title test(provider-runtime): record an Antigravity fixture and document the other harnesses test(provider-runtime): record Antigravity, OpenCode, Pi and Kimi Code fixtures Nov 27, 2026
@github-actions github-actions Bot added size:L and removed size:M labels Nov 27, 2026
@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/vite-hub/t3code/@t3tools/contracts@28
pnpm add https://pkg.pr.new/vite-hub/t3code/@t3tools/provider-runtime@28

commit: 76c6aa6

@onmax
onmax merged commit 3cf8ade into main Nov 27, 2026
11 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant