You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 015f6ff
Browse filesBrowse the repository at this point in the historyBrowse files
fix(opencode-local): fall back to the running shared service when --standalone lists nothing
OpenCode 2.0.20's `models --standalone` exits 0 with no output
(anomalyco/opencode#41071), so the Paperclip picker showed only the static
fallback. For server-level listing only, when --standalone parses to zero
models, read $XDG_STATE_HOME/opencode/service.json and, if its pid is
alive, run `opencode models --server <url>` with OPENCODE_SERVER_PASSWORD.
--server only connects, so discovery still never spawns the shared service
(MAG-469). No live service means the empty list, as before. Run pre-flight
checks never consult the service. Upstream paperclipai#13565 (global config models)
and paperclipai#11169 (Orca-spawned hardening) do not cover this. MAG-483.
Tests: packages/adapters/opencode-local/src/server/models.test.ts (HOME=$(mktemp -d))
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments