@posthog/agent 2.3.535 → 2.3.547

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/agent",
3
- "version": "2.3.535",
3
+ "version": "2.3.547",
4
4
  "repository": "https://github.com/PostHog/code",
5
5
  "description": "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
6
6
  "exports": {
@@ -237,6 +237,7 @@ describe("canUseTool MCP approval enforcement", () => {
237
237
  expect.objectContaining({
238
238
  toolCall: expect.objectContaining({
239
239
  title: "The agent wants to run `notebooks-destroy` on PostHog",
240
+ _meta: { claudeCode: { toolName: "mcp__posthog__exec" } },
240
241
  }),
241
242
  }),
242
243
  );
@@ -528,6 +528,7 @@ async function handlePostHogExecApprovalFlow(
528
528
  },
529
529
  ],
530
530
  rawInput: { ...(toolInput as Record<string, unknown>), toolName },
531
+ _meta: { claudeCode: { toolName } },
531
532
  },
532
533
  });
533
534