@agentos-software/opencode 0.0.0-nathan-binding-workspace.abc7ec9

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.
@@ -0,0 +1,25 @@
1
+
2
+ > @agentos-software/opencode@0.0.0-nathan-binding-workspace.abc7ec9 build /home/runner/work/agentos/agentos/registry/agent/opencode
3
+ > node ./scripts/build-opencode-acp.mjs && tsc
4
+
5
+ Downloading OpenCode v1.3.13 source...
6
+ bun install v1.3.11 (af24e281)
7
+ Resolving dependencies
8
+ Resolved, downloaded and extracted [440]
9
+
10
+ $ husky
11
+ .git can't be found
12
+ + @actions/artifact@5.0.1 (v6.2.1 available)
13
+ + @tsconfig/bun@1.0.9 (v1.0.10 available)
14
+ + @types/mime-types@3.0.1
15
+ + @typescript/native-preview@7.0.0-dev.20251207.1
16
+ + glob@13.0.5 (v13.0.6 available)
17
+ + husky@9.1.7
18
+ + prettier@3.6.2
19
+ + semver@7.7.4 (v7.8.5 available)
20
+ + sst@3.18.10
21
+ + turbo@2.8.13
22
+ + @aws-sdk/client-s3@3.933.0
23
+ + typescript@5.8.2 (v6.0.3 available)
24
+
25
+ 4445 packages installed [25.98s]
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ process.env.OPENCODE_DISABLE_CONFIG_DEP_INSTALL ??= "1";
2
+ process.env.OPENCODE_DISABLE_EMBEDDED_WEB_UI ??= "1";
3
+ // @ts-expect-error Generated at build time by scripts/build-opencode-acp.mjs.
4
+ const { AcpCommand } = (await import("./opencode-acp/acp.js"));
5
+ await AcpCommand.handler({
6
+ port: 0,
7
+ hostname: "127.0.0.1",
8
+ mdns: false,
9
+ "mdns-domain": "opencode.local",
10
+ cors: [],
11
+ cwd: process.cwd(),
12
+ });
13
+ export {};
@@ -0,0 +1,16 @@
1
+ declare const opencode: {
2
+ name: string;
3
+ type: "agent";
4
+ packageDir: string;
5
+ requires: string[];
6
+ agent: {
7
+ id: string;
8
+ acpAdapter: string;
9
+ agentPackage: string;
10
+ staticEnv: {
11
+ OPENCODE_DISABLE_CONFIG_DEP_INSTALL: string;
12
+ OPENCODE_DISABLE_EMBEDDED_WEB_UI: string;
13
+ };
14
+ };
15
+ };
16
+ export default opencode;
package/dist/index.js ADDED
@@ -0,0 +1,23 @@
1
+ import { defineSoftware } from "@rivet-dev/agentos-core";
2
+ import { dirname, resolve } from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ const __dirname = dirname(fileURLToPath(import.meta.url));
5
+ const packageDir = resolve(__dirname, "..");
6
+ const opencode = defineSoftware({
7
+ name: "opencode",
8
+ type: "agent",
9
+ packageDir,
10
+ requires: ["@agentos-software/opencode"],
11
+ agent: {
12
+ id: "opencode",
13
+ // OpenCode still speaks ACP natively, but Agent OS runs a source-built
14
+ // Node ACP bundle entirely inside the VM rather than a host binary wrapper.
15
+ acpAdapter: "@agentos-software/opencode",
16
+ agentPackage: "@agentos-software/opencode",
17
+ staticEnv: {
18
+ OPENCODE_DISABLE_CONFIG_DEP_INSTALL: "1",
19
+ OPENCODE_DISABLE_EMBEDDED_WEB_UI: "1",
20
+ },
21
+ },
22
+ });
23
+ export default opencode;