Title: config(opencode): claude-code-proxy landed without its in-repo wiring — provider block still models-only while it is the default model, no start script, home unit, or port registration (#875 follow-up) · Issue #894 · developing-today/code · GitHub
Open Graph Title: config(opencode): claude-code-proxy landed without its in-repo wiring — provider block still models-only while it is the default model, no start script, home unit, or port registration (#875 follow-up) · Issue #894 · developing-today/code
X Title: config(opencode): claude-code-proxy landed without its in-repo wiring — provider block still models-only while it is the default model, no start script, home unit, or port registration (#875 follow-up) · Issue #894 · developing-today/code
Description: Finding (from pr-diff-review of PR #875, merged; merge commit 74b849b, current main a365373) PR #875 added bin/claude-code-proxy.mjs + its test — and nothing else (2 files). The bridge's in-repo landing is incomplete compared with every ...
Open Graph Description: Finding (from pr-diff-review of PR #875, merged; merge commit 74b849b, current main a365373) PR #875 added bin/claude-code-proxy.mjs + its test — and nothing else (2 files). The bridge's in-repo la...
X Description: Finding (from pr-diff-review of PR #875, merged; merge commit 74b849b, current main a365373) PR #875 added bin/claude-code-proxy.mjs + its test — and nothing else (2 files). The bridge's in-rep...
Opengraph URL: https://github.com/developing-today/code/issues/894
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"config(opencode): claude-code-proxy landed without its in-repo wiring — provider block still models-only while it is the default model, no start script, home unit, or port registration (#875 follow-up)","articleBody":"## Finding (from pr-diff-review of PR #875, merged; merge commit 74b849b889, current main a365373511)\n\nPR #875 added `bin/claude-code-proxy.mjs` + its test — and nothing else (2 files). The bridge's in-repo landing is incomplete compared with every sibling fleet proxy, and the repo config it was built for still cannot use it.\n\n### Evidence (all verified on current main `a365373511`)\n\n1. **The provider it serves is still unwired in the repo config — and it is the default model.** `.opencode/opencode.jsonc:28` sets `\"default\": \"claude-code/claude-haiku-5-5\"` and four agent entries reference `claude-code/claude-haiku-5-5`, but the `claude-code` provider block (`.opencode/opencode.jsonc:30`) contains only `models` — no `npm`/`package`, no `options.baseURL`. PR #875's own body states this models-only shape is what \"hangs with `UnsupportedPackageError`\". Sibling pattern for comparison: the `commandcode` block at `.opencode/opencode.jsonc:4258` has `\"npm\": \"@ai-sdk/openai-compatible\"` and `\"baseURL\": \"http://127.0.0.1:{env:COMMANDCODE_PROXY_PORT:-18748}/v1\"`.\n2. **No start script.** Siblings ship `bin/commandcode-proxy-start.sh` / `bin/muse-proxy-start.sh`; there is no `bin/claude-code-proxy-start.sh`.\n3. **No home-manager unit.** `home/common/default.nix` defines `systemd.user.services.commandcode-proxy` (ExecStart at the bin start script, ~line 758) and port bindings for clef/agy/codex/antigravity-ls/design-code/muse/commandcode — there is no `claude-code-proxy` unit.\n4. **No port registration.** `home/common/default.nix` defines the `*ProxyPort` lets and exports `CLEF_PROXY_PORT`/`AGY_PROXY_PORT`/`CODEX_PROXY_PORT`/`ANTIGRAVITY_LS_PROXY_PORT`/`DESIGN_CODE_PROXY_PORT`/`COMMANDCODE_PROXY_PORT` session variables; there is no `claudeCodeProxyPort` / `CLAUDE_CODE_PROXY_PORT` (the proxy itself defaults to 18749 via `parseProxyPort('CLAUDE_CODE_PROXY_PORT', 18749)`).\n\nPer PR #875's body, the working deployment exists only as sandbox-local state (`~/tools/claude-code-proxy/` + a systemd unit + an init.sh step) — the same deployed-first pattern as the cline-pass rename, which then needed PR #887 to propagate into the repo source. Nothing currently tracks doing the same propagation for this bridge, so a fresh checkout / another machine gets a default model that hangs.\n\nRelated but distinct: #883 (stale bin/ tree in the home-layer eval) covers the store copy missing `claude-code-proxy.*`; this issue is about the repo-side wiring/unit/port pieces that do not exist at all yet.\n\n### Acceptance criteria\n\n- `.opencode/opencode.jsonc`: the `claude-code` provider block gains the sibling wiring — `\"npm\": \"@ai-sdk/openai-compatible\"` and `options.baseURL` of the form `http://127.0.0.1:{env:CLAUDE_CODE_PROXY_PORT:-18749}/v1` (env-placeholder form, so the literal-port guard from #866/#867 keeps passing) — and the file still parses as JSONC.\n- `bin/claude-code-proxy-start.sh` exists, mirroring `bin/commandcode-proxy-start.sh`'s env handling.\n- `home/common/default.nix`: a `claudeCodeProxyPort` (18749) with its `CLAUDE_CODE_PROXY_PORT` session variable, any proxy-port guard table updated, and a `systemd.user.services.claude-code-proxy` unit mirroring `commandcode-proxy`.\n- A session started from the repo config on a machine with only repo-deployed state (no hand-placed `~/tools` copies) can run the default model `claude-code/claude-haiku-5-5` through the bridge without `UnsupportedPackageError`.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-25T14:52:59Z","url":"https://github.com/developing-today/code/issues/894"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f0a1cd39-9e60-e764-36d4-93f9dc2ae665 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDDA:3F8E32:6C1FB8:909876:6B062C35 |
| html-safe-nonce | bd433bdaf7a3d61c9a3b9f743471da7dd443fa0239450d625a8b55c7ce444659 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERERBOjNGOEUzMjo2QzFGQjg6OTA5ODc2OjZCMDYyQzM1IiwidmlzaXRvcl9pZCI6IjgzNzI1ODQzNTA2OTI1NTE3MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 951a8e69be24e84918bd8f4a3cd3378367a48494b8e6cd1c2204bcb976ed7f15 |
| hovercard-subject-tag | issue:6025748843 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/894/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e96decc01667c4a1c74fcf1e53247d1b25b35934211b4a29ddf3e4a66abc3b9a/developing-today/code/issues/894 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e96decc01667c4a1c74fcf1e53247d1b25b35934211b4a29ddf3e4a66abc3b9a/developing-today/code/issues/894 |
| og:image:alt | Finding (from pr-diff-review of PR #875, merged; merge commit 74b849b, current main a365373) PR #875 added bin/claude-code-proxy.mjs + its test — and nothing else (2 files). The bridge's in-repo la... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width