@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/index.js
CHANGED
|
@@ -1174,7 +1174,7 @@ import { v7 as uuidv7 } from "uuid";
|
|
|
1174
1174
|
// package.json
|
|
1175
1175
|
var package_default = {
|
|
1176
1176
|
name: "@posthog/agent",
|
|
1177
|
-
version: "2.1.
|
|
1177
|
+
version: "2.1.62",
|
|
1178
1178
|
repository: "https://github.com/PostHog/twig",
|
|
1179
1179
|
description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
|
|
1180
1180
|
exports: {
|
|
@@ -3764,6 +3764,11 @@ function findCodexBinary(options) {
|
|
|
3764
3764
|
if (options.binaryPath && existsSync3(options.binaryPath)) {
|
|
3765
3765
|
return { command: options.binaryPath, args: configArgs };
|
|
3766
3766
|
}
|
|
3767
|
+
if (options.binaryPath) {
|
|
3768
|
+
throw new Error(
|
|
3769
|
+
`codex-acp binary not found at ${options.binaryPath}. Run "node apps/twig/scripts/download-binaries.mjs" to download it.`
|
|
3770
|
+
);
|
|
3771
|
+
}
|
|
3767
3772
|
return { command: "npx", args: ["@zed-industries/codex-acp", ...configArgs] };
|
|
3768
3773
|
}
|
|
3769
3774
|
function spawnCodexProcess(options) {
|