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 85f7742
Browse filesBrowse the repository at this point in the historyBrowse files
* feat(providers): opencode adapter — LLM_CLIS entry, session detection, board rows (partial #978)
Salvaged from a lane run: opencode LLM_CLIS entry (headless 'opencode run
--auto'), sessions.ts detection pattern, and board integration reading
~/.local/share/opencode/opencode.db (deriveOpenCodeRows — real cost, not
notional; deduped against ledger rows like claude-harness rows).
Hardened the sqlite query: directory path is SQL-escaped and the whole
statement shell-quoted via JSON.stringify — a path with a quote no longer
breaks the command.
Remaining #978 scope (init provider menu, providers table row, fatal-error
patterns, docs) lands on this branch next.
Refs #978
Co-Authored-By: Claude <[email protected]>
* feat(providers): opencode init menu entry + headless priority (#978)
Add opencode to setup-checks PROVIDERS (mirroring aider's shape) and
the init Provider union, so `squads init` can select/scaffold it.
Appended to CLI_PROVIDER_PRIORITY after aider — same lowest-priority
tier, only auto-picked headless when no higher-priority CLI is found.
* test(providers): cover opencode LLM_CLIS registry entry (#978)
`squads providers` renders getAllCLIStatus(), which already maps over
LLM_CLIS.opencode — no source change needed. Add a direct assertion so
its identity/buildArgs/scope (no streamJson, no parseUsage) can't
silently regress.
* fix(providers): detect opencode's Vercel AI SDK fatal errors (#978)
OpenCode is built on the Vercel AI SDK; real-world failures surface as
AI_APICallError / AI_LoadAPIKeyError etc. (anomalyco/opencode#2245, #1061,
#1631, #2944) rather than a non-zero exit, so add them to
PROVIDER_FATAL alongside the existing litellm/aider signature.
* docs(providers): document opencode as a file-based executor (#978)
Add opencode to the provider table and the file-based-executors
section in docs/providers.md, and mention it alongside claude/gemini/
aider in the README's CLI-orchestration blurb.
---------
Co-authored-by: Jorge Vidaurre <[email protected]>
Co-authored-by: Claude <[email protected]>
0 commit comments