feat(opencode): Windows PowerShell installer and Desktop key file

CLI and Desktop share %USERPROFILE%\.config\opencode. Persist the API
key in .arka-api-key so GUI apps do not need a login-shell export.
This commit is contained in:
ixoblakp committed 2026-08-27 18:12:48 +03:00
1 parent 3e440b9365
commit cb17ce8d2a
6 files changed
+531 -12

No files matched your search

+2 -1
View File
@@ -24,7 +24,8 @@ It is wired up locally with a plugin + a static `provider` block in
- Static block (`opencode.json` → `provider["Arka-AI"]`) holds
`name`, `api`, `env`, and a small fallback `models` map that is used when the
catalog is unreachable.
- Inference still uses `ARKA_API_KEY` against `https://api.arka-ai.ru/v1`.
- Inference uses `ARKA_API_KEY` (env) or `~/.config/opencode/.arka-api-key`
(so OpenCode Desktop / Windows GUI works without a login shell).
## Refresh the model list