@ycodium-ai/agent-opencode 0.2.3034 → 0.2.3054
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/dist/index.js +1726 -7786
- package/package.json +5 -7
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @ycodium-ai/agent-opencode
|
|
2
2
|
|
|
3
|
-
OpenCode executor plugin. Talks to OpenCode
|
|
4
|
-
(`
|
|
3
|
+
OpenCode executor plugin. Talks to OpenCode 2.x over the HTTP API and event stream of
|
|
4
|
+
`opencode serve` (`src/openCodeApi.ts`), not ACP and not an SDK. The host OpenCode driver stays in this
|
|
5
5
|
batch; both cards coexist in the catalog.
|
|
6
6
|
|
|
7
7
|
Facts:
|
|
@@ -15,8 +15,10 @@ Facts:
|
|
|
15
15
|
- Card capabilities: `sessionModelSwitch: "in-session"`,
|
|
16
16
|
`runtimeModeSwitch: "next-turn"`, `contextCompaction: "native"`,
|
|
17
17
|
`turnSteering: true`.
|
|
18
|
-
- Auth is inferred from the
|
|
19
|
-
file
|
|
18
|
+
- Auth is inferred from the server's model inventory (`GET /api/model`), not a credential
|
|
19
|
+
file: at least one usable model (`enabled` and `active`) means ready. The probe reads it from a
|
|
20
|
+
short-lived `opencode serve` started in the home directory, or from the configured external
|
|
21
|
+
server. `credentialSources` is empty.
|
|
20
22
|
- Usage (ADR-0034): quota only for the OpenCode Go plan, read only when the user asks
|
|
21
23
|
(`src/openCodeQuota.ts`). `GET https://opencode.ai/zen/go/v1/usage` through `host.fetch` with a
|
|
22
24
|
5 second timeout, returning `{ usage: { rolling, weekly, monthly } }` (rolling is 5 hours, weekly 7
|