Remote OpenCode 2 quota and provider lookups could return HTTP 404 because T3 sent its own workspace path to the remote server. The Limits panel then showed “Unavailable” even when the remote workspace reported quotas.
Use the remote server’s default directory for both requests. Local OpenCode 2 connections still send the local workspace directory.
Verified in the web app against the same simulated remote server. Before the fix, the panel showed “Unavailable”. With the fix, it showed 75% session, 55% weekly, and 40% monthly remaining. The regression test rejects a directory parameter on either remote endpoint. vp run check:changed origin/main passed, including 63 tests.
Before#
After#
GPT-6.2 Sol via the Codex harness in T3 Code.
Evidence#
Configured the same external OpenCode 2.4.2 server on both commits, confirmed authentication, refreshed provider status, opened Usage → Limits (All environments / All providers), and refreshed limits. Chromium, 1280×800 CSS viewport, light theme, separate fresh databases. Real OpenCode server with synthetic Console upstream data.
Base sends the local directory and receives 404; Limits remains empty. Head receives 200 without a directory and shows all four windows. Live client state also confirms Console coverage is
providerIds=["opencode"].Seed script · Synthetic Console fixture · Recording proxy · Sanitized requests
Not shown: