@posthog/agent 2.3.21 → 2.3.24
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 +2 -2
- package/dist/agent.js.map +1 -1
- package/dist/posthog-api.js +1 -1
- package/dist/posthog-api.js.map +1 -1
- package/dist/server/agent-server.d.ts +13 -0
- package/dist/server/agent-server.js +34 -3
- package/dist/server/agent-server.js.map +1 -1
- package/dist/server/bin.cjs +66 -25
- package/dist/server/bin.cjs.map +1 -1
- package/package.json +3 -3
- package/src/adapters/claude/permissions/permission-handlers.ts +1 -1
- package/src/server/agent-server.ts +30 -1
- package/src/server/bin.ts +40 -23
- package/src/server/schemas.ts +16 -0
- package/src/server/types.ts +8 -0
package/dist/agent.js
CHANGED
|
@@ -281,7 +281,7 @@ import { v7 as uuidv7 } from "uuid";
|
|
|
281
281
|
// package.json
|
|
282
282
|
var package_default = {
|
|
283
283
|
name: "@posthog/agent",
|
|
284
|
-
version: "2.3.
|
|
284
|
+
version: "2.3.24",
|
|
285
285
|
repository: "https://github.com/PostHog/code",
|
|
286
286
|
description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
|
|
287
287
|
exports: {
|
|
@@ -2449,7 +2449,7 @@ async function handleDefaultPermissionFlow(context) {
|
|
|
2449
2449
|
kind: toolInfo.kind,
|
|
2450
2450
|
content: toolInfo.content,
|
|
2451
2451
|
locations: toolInfo.locations,
|
|
2452
|
-
rawInput: toolInput
|
|
2452
|
+
rawInput: { ...toolInput, toolName }
|
|
2453
2453
|
}
|
|
2454
2454
|
});
|
|
2455
2455
|
if (context.signal?.aborted || response.outcome?.outcome === "cancelled") {
|