PLAN: OpenCode {env:} substitution verified on 1.15.10
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -78,9 +78,11 @@ instance without any client support. N sessions then spread across hosts by
|
|||||||
free slots × weight *at start* and are held there; the per-(host, model) queue
|
free slots × weight *at start* and are held there; the per-(host, model) queue
|
||||||
(§6) is what stops N from oversubscribing any one host.
|
(§6) is what stops N from oversubscribing any one host.
|
||||||
|
|
||||||
Client launcher (OpenCode config substitutes `{env:VAR}` in values — verify on
|
Client launcher (OpenCode config substitutes `{env:VAR}` in values — verified
|
||||||
the installed build; if absent, the same value goes through
|
in the installed 1.15.10 bundle: `/\{env:([^}]+)\}/g` → `process.env[V]`,
|
||||||
`options.headers["X-Crossbar-Route"]`, which crossbar also accepts):
|
missing → empty string, so always set the variable; as a fallback the same
|
||||||
|
value can go through `options.headers["X-Crossbar-Route"]`, which crossbar
|
||||||
|
also accepts):
|
||||||
|
|
||||||
```jsonc
|
```jsonc
|
||||||
// ~/.config/opencode/opencode.json (one block for every project)
|
// ~/.config/opencode/opencode.json (one block for every project)
|
||||||
|
|||||||
Reference in New Issue
Block a user