@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 CHANGED
@@ -276,7 +276,7 @@ import { v7 as uuidv7 } from "uuid";
276
276
  // package.json
277
277
  var package_default = {
278
278
  name: "@posthog/agent",
279
- version: "2.1.60",
279
+ version: "2.1.62",
280
280
  repository: "https://github.com/PostHog/twig",
281
281
  description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
282
282
  exports: {
@@ -2858,6 +2858,11 @@ function findCodexBinary(options) {
2858
2858
  if (options.binaryPath && existsSync3(options.binaryPath)) {
2859
2859
  return { command: options.binaryPath, args: configArgs };
2860
2860
  }
2861
+ if (options.binaryPath) {
2862
+ throw new Error(
2863
+ `codex-acp binary not found at ${options.binaryPath}. Run "node apps/twig/scripts/download-binaries.mjs" to download it.`
2864
+ );
2865
+ }
2861
2866
  return { command: "npx", args: ["@zed-industries/codex-acp", ...configArgs] };
2862
2867
  }
2863
2868
  function spawnCodexProcess(options) {