Skip to content

chore(agent): adopt the orchestration V2 provider runtime - #1678

Merged
vite-hub[bot] merged 2 commits into
mainfrom
chore/t3code-orchestration-v2
Oct 3, 2026
Merged

vite-hub[bot] merged 2 commits into
mainfrom
chore/t3code-orchestration-v2

Conversation

@onmax

@onmax onmax commented Oct 3, 2026

Copy link
Copy Markdown
Member

Provider Agents embed @t3tools/provider-runtime from the vite-hub/t3code fork. Upstream T3 Code merged orchestration V2 and deleted the V1 Claude and Codex adapters the runtime wrapped, so the fork stopped syncing on 2026-09-25 and the pinned package fell a month behind upstream provider fixes.

The fork rebuilt the runtime on the V2 adapters and kept the host contract (vite-hub/t3code#6). This change bumps the catalog pin and lockfile to that fork commit. No vitehub code changes were needed: packages/agent typechecks against the new types and the mocked Provider Agent tests pass unchanged.

Behaviour to know about:

  • Resume cursors have a new format. A stored cursor from the previous runtime does not decode, so the runtime starts a fresh provider thread instead of resuming and logs a warning.
  • Sending a turn while one is active now steers the active run, which is what the Provider Agent Driver already expects for steer input.
  • Provider events keep the same ProviderRuntimeEvent shape. Provider retries arrive as recoverable runtime.warning events; the run outcome comes from the provider turn terminal.

Validation in the task worktree with the published preview packages:

  • pnpm install resolved @t3tools/provider-runtime and @t3tools/contracts from the new fork commit.
  • vp run -t @vite-hub/agent#build
  • tsc --noEmit -p packages/agent/tsconfig.json
  • vp test for provider-agent, provider-runtime-packages, providers, provider-status, provider-toolchain, provider-driver-worker, nuxt-runtime-output, box, eval, and babysitter-preset (all pass; three hard-link tests need a temp directory on the same filesystem as the checkout).

Not verified: a live Codex or Claude turn through the new runtime.

Model: Claude Fable 5.1
Harness: T3 Code (Claude Code)

The vite-hub/t3code fork rebuilt @t3tools/provider-runtime on the upstream
orchestration V2 adapters after upstream deleted the V1 adapters. The host
contract is unchanged, so this bumps the catalog pin and lockfile. Resume
cursors have a new format; stored cursors from the previous runtime start a
fresh provider thread instead of resuming.
@pullfrog

pullfrog Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Pullfrog stalled

The agent stopped emitting events for 120s and was killed by the activity-timeout watchdog. The model produced no output at all before the stall — the request was sent but nothing came back. This is usually transient; re-running often succeeds.

Recent agent stderr
timestamp=2026-10-03T11:10:45.209Z level=ERROR run=9bcd9487 message="stream error" providerID=openai-compatible modelID=gpt-5.6-sol session.id=ses_efe8c62c0ffe3kxCbrZ78E9H6g small=false agent=build mode=primary error.error="AI_APICallError: <none>"

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using gpt-5.6-sol | 𝕏

@vite-hub

vite-hub Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
View session Cancelled 2026-10-03T11:32:16.297Z 1m 14s
View session Completed 2026-10-03T10:41:31.196Z 31s
View session Cancelled 2026-10-03T10:39:41.172Z 11s

Agent stopped: Pull request is no longer open.

Previous results
  • Current session · 2026-10-03T10:42:02.656Z · completed

    Verified live head and mergeability. No review findings, unresolved threads, or failed checks. Required ci has not reported; preview publishing is queued and Pullfrog review remains pending. No changes or local validation were needed. Waiting for current-head checks and review webhooks before merging.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-03T10:42:16.341853Z a7ad764 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.

@pkg-pr-new

pkg-pr-new Bot commented Oct 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vite-hub/agent

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/agent@1678

@vite-hub/auth

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/auth@1678

@vite-hub/blob

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/blob@1678

@vite-hub/box

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/box@1678

@vite-hub/browser

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/browser@1678

@vite-hub/channels

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/channels@1678

@vite-hub/cli

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/cli@1678

@vite-hub/connections

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/connections@1678

@vite-hub/content

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/content@1678

@vite-hub/database

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/database@1678

@vite-hub/email

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/email@1678

@vite-hub/env

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/env@1678

@vite-hub/kv

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/kv@1678

@vite-hub/markdown-template

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/markdown-template@1678

@vite-hub/queue

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/queue@1678

@vite-hub/rate-limit

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/rate-limit@1678

@vite-hub/realtime

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/realtime@1678

@vite-hub/runtime

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/runtime@1678

@vite-hub/sandbox

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/sandbox@1678

@vite-hub/schedule

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/schedule@1678

@vite-hub/shell

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/shell@1678

@vite-hub/source

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/source@1678

@vite-hub/ui

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/ui@1678

vite-hub

pnpm add https://pkg.pr.new/vite-hub/vitehub/vite-hub@1678

@vite-hub/workflow

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/workflow@1678

@vite-hub/workspace

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/workspace@1678

commit: 6ef8b1f

@vite-hub
vite-hub Bot merged commit f8746b8 into main Oct 3, 2026
20 checks passed
@pullfrog

pullfrog Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Warning

Your OpenAI-compatible provider endpoint is timing out, causing every run to stall before the agent can work.

The last 5 Pullfrog runs on vite-hub have all failed, so this review did not happen.

The model endpoint at ai.onmax.me accepts requests but returns no response before the 120-second timeout, which aborts each run. This happens consistently across multiple attempts, suggesting the provider is down, rate-limiting, or silently rejecting your CLIPROXY_API_KEY.

To fix it:

  1. Check the status of your AI provider at ai.onmax.me — if the service is down, you'll need to wait for it to recover or switch to a different endpoint.
  2. Rotate your CLIPROXY_API_KEY in your GitHub repo secrets if the provider is up but rejecting your current key — a fresh key may resolve silent authentication failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant