@posthog/agent 2.1.60 → 2.1.62
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/dist/agent.js +6 -1
- package/dist/agent.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/server/agent-server.js +6 -1
- package/dist/server/agent-server.js.map +1 -1
- package/dist/server/bin.cjs +6 -1
- package/dist/server/bin.cjs.map +1 -1
- package/package.json +1 -1
- package/src/adapters/codex/spawn.ts +6 -0
package/dist/server/bin.cjs
CHANGED
|
@@ -1175,7 +1175,7 @@ var import_uuid = require("uuid");
|
|
|
1175
1175
|
// package.json
|
|
1176
1176
|
var package_default = {
|
|
1177
1177
|
name: "@posthog/agent",
|
|
1178
|
-
version: "2.1.
|
|
1178
|
+
version: "2.1.62",
|
|
1179
1179
|
repository: "https://github.com/PostHog/twig",
|
|
1180
1180
|
description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
|
|
1181
1181
|
exports: {
|
|
@@ -3721,6 +3721,11 @@ function findCodexBinary(options) {
|
|
|
3721
3721
|
if (options.binaryPath && (0, import_node_fs.existsSync)(options.binaryPath)) {
|
|
3722
3722
|
return { command: options.binaryPath, args: configArgs };
|
|
3723
3723
|
}
|
|
3724
|
+
if (options.binaryPath) {
|
|
3725
|
+
throw new Error(
|
|
3726
|
+
`codex-acp binary not found at ${options.binaryPath}. Run "node apps/twig/scripts/download-binaries.mjs" to download it.`
|
|
3727
|
+
);
|
|
3728
|
+
}
|
|
3724
3729
|
return { command: "npx", args: ["@zed-industries/codex-acp", ...configArgs] };
|
|
3725
3730
|
}
|
|
3726
3731
|
function spawnCodexProcess(options) {
|