@posthog/agent 2.1.105 → 2.1.106
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 +4 -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.js +4 -2
- package/dist/server/agent-server.js.map +1 -1
- package/dist/server/bin.cjs +4 -2
- package/dist/server/bin.cjs.map +1 -1
- package/package.json +3 -3
- package/src/adapters/claude/claude-agent.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@posthog/agent",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.106",
|
|
4
4
|
"repository": "https://github.com/PostHog/twig",
|
|
5
5
|
"description": "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
|
|
6
6
|
"exports": {
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"tsx": "^4.20.6",
|
|
72
72
|
"typescript": "^5.5.0",
|
|
73
73
|
"vitest": "^2.1.8",
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
74
|
+
"@twig/git": "1.0.0",
|
|
75
|
+
"@posthog/shared": "1.0.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@agentclientprotocol/sdk": "^0.14.0",
|
|
@@ -33,7 +33,7 @@ import { v7 as uuidv7 } from "uuid";
|
|
|
33
33
|
import packageJson from "../../../package.json" with { type: "json" };
|
|
34
34
|
import type { SessionContext } from "../../otel-log-writer.js";
|
|
35
35
|
import type { SessionLogWriter } from "../../session-log-writer.js";
|
|
36
|
-
import {
|
|
36
|
+
import { withTimeout } from "../../utils/common.js";
|
|
37
37
|
import { Logger } from "../../utils/logger.js";
|
|
38
38
|
import { Pushable } from "../../utils/streams.js";
|
|
39
39
|
import { BaseAcpAgent } from "../base-acp-agent.js";
|
|
@@ -646,7 +646,9 @@ export class ClaudeAcpAgent extends BaseAcpAgent {
|
|
|
646
646
|
return null;
|
|
647
647
|
|
|
648
648
|
default:
|
|
649
|
-
|
|
649
|
+
this.logger.warn("Unhandled message type", {
|
|
650
|
+
type: (message as { type: string }).type,
|
|
651
|
+
});
|
|
650
652
|
return null;
|
|
651
653
|
}
|
|
652
654
|
}
|