zooid 0.11.2 → 0.12.0
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 -3
- package/dist/bin.js +157 -14
- package/dist/bin.js.map +1 -1
- package/dist/{chunk-KGYQ5YNP.js → chunk-3Q4BPAZD.js} +23 -2
- package/dist/chunk-3Q4BPAZD.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/bin.ts +3 -3
- package/src/build-registry.ts +1 -1
- package/src/build-registry.zod044.test.ts +23 -0
- package/src/commands/init/generators.test.ts +43 -0
- package/src/commands/init/generators.ts +24 -5
- package/src/commands/init/pi-scaffold.test.ts +151 -0
- package/src/commands/init/prompts.ts +53 -2
- package/src/commands/init/registry.test.ts +60 -0
- package/src/commands/init/registry.ts +58 -0
- package/src/commands/init/sniff.test.ts +61 -2
- package/src/commands/init/sniff.ts +43 -12
- package/src/commands/init.ts +91 -5
- package/dist/chunk-KGYQ5YNP.js.map +0 -1
|
@@ -24056,6 +24056,27 @@ var PRESETS_INTERNAL = {
|
|
|
24056
24056
|
create: false
|
|
24057
24057
|
}
|
|
24058
24058
|
]
|
|
24059
|
+
},
|
|
24060
|
+
// pi (ZOD073). Vendored-shim category: `pi-acp` is an adapter that speaks ACP
|
|
24061
|
+
// on pi's behalf and spawns `pi --mode rpc` as a child. No flags — its
|
|
24062
|
+
// published Zed config is `args: []`, and the only documented flag
|
|
24063
|
+
// (--terminal-login) is an interactive auth path with no place in a daemon.
|
|
24064
|
+
pi: {
|
|
24065
|
+
command: "npx",
|
|
24066
|
+
args: ["-y", "pi-acp"],
|
|
24067
|
+
image: "ghcr.io/zooid-ai/agent-pi:latest",
|
|
24068
|
+
mounts: (ctx) => [
|
|
24069
|
+
{
|
|
24070
|
+
// Single tree: agent/sessions, agent/prompts, and the adapter's
|
|
24071
|
+
// pi-acp/session-map.json. Project config lives in <cwd>/.pi, which is
|
|
24072
|
+
// already inside the workspace mount.
|
|
24073
|
+
id: "home",
|
|
24074
|
+
host: `${ctx.daemonHome}/.pi`,
|
|
24075
|
+
target: "/root/.pi",
|
|
24076
|
+
mode: "rw",
|
|
24077
|
+
create: false
|
|
24078
|
+
}
|
|
24079
|
+
]
|
|
24059
24080
|
}
|
|
24060
24081
|
};
|
|
24061
24082
|
var PRESETS = Object.freeze(
|
|
@@ -32764,7 +32785,7 @@ function buildAcpRegistry(cfg, opts = {}) {
|
|
|
32764
32785
|
throw new Error(
|
|
32765
32786
|
`runtime: ${cfg.runtime} requires a container image for each agent. Unresolved:
|
|
32766
32787
|
` + lines.join("\n") + `
|
|
32767
|
-
Set agents.<name>.container.image, top-level container.image, or use a preset that ships a default image (claude, codex, opencode).`
|
|
32788
|
+
Set agents.<name>.container.image, top-level container.image, or use a preset that ships a default image (claude, codex, opencode, pi).`
|
|
32768
32789
|
);
|
|
32769
32790
|
}
|
|
32770
32791
|
}
|
|
@@ -32890,4 +32911,4 @@ export {
|
|
|
32890
32911
|
startDaemonSocketServer,
|
|
32891
32912
|
buildAcpRegistry
|
|
32892
32913
|
};
|
|
32893
|
-
//# sourceMappingURL=chunk-
|
|
32914
|
+
//# sourceMappingURL=chunk-3Q4BPAZD.js.map
|