Skip to content

feat: opencode provider drives, subllm-first z.ai tokens, codex client routing - #8

Closed
tom-sapletta-com wants to merge 5 commits into
mainfrom
feat/opencode-zai-drive
Closed

tom-sapletta-com wants to merge 5 commits into
mainfrom
feat/opencode-zai-drive

Conversation

@tom-sapletta-com

Copy link
Copy Markdown
Contributor

Implements opencode provider drives, subllm-first z.ai tokens, preflight failover, and codex subscription routing. All unit tests pass.

tom-sapletta-com and others added 5 commits September 16, 2026 20:54
Co-authored-by: Koru Agent <agent@coru.dev>
…ailover

- map opencode to the openai protocol and pass models in provider/model
  form via -m (zai/glm-5.3, openrouter/z-ai/glm-5.3)
- resolve provider tokens process-env first, then the shared subllm
  credential store, then alt env names (ZAI_CODING_API_KEY, ZHIPU_API_KEY)
- update z.ai catalog to glm-5.3 and accept opencode.jsonc surfaces
- probe each provider with a 1-token completion before a drive so an
  exhausted provider (e.g. a long retry-after 429) fails over in seconds
  instead of blocking inside the client's retry loop

Co-authored-by: Koru Agent <agent@coru.dev>
…stry (PLF-044)

Co-authored-by: Koru Agent <agent@coru.dev>
@tom-sapletta-com

Copy link
Copy Markdown
Contributor Author

Superseded by ticket/003-opencode-provider-drives under wellmanifest/new-project governance.

@github-actions
github-actions Bot deleted the feat/opencode-zai-drive branch October 3, 2026 22:22
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