@posthog/agent 2.3.517 → 2.3.519
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/README.md +1 -1
- package/dist/agent.js +1 -1
- 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 +3 -2
- package/dist/server/agent-server.js.map +1 -1
- package/dist/server/bin.cjs +3 -2
- package/dist/server/bin.cjs.map +1 -1
- package/package.json +3 -3
- package/src/server/agent-server.test.ts +9 -0
- package/src/server/agent-server.ts +1 -0
package/README.md
CHANGED
|
@@ -238,7 +238,7 @@ ACP defines standard methods like `session/prompt`, `session/update`, and `sessi
|
|
|
238
238
|
|
|
239
239
|
**Session lifecycle** — events that track the run from start to finish. Clients use these to update UI state (show progress, enable/disable controls, display completion). The Django API uses `task_complete` to mark the run as finished.
|
|
240
240
|
|
|
241
|
-
- `_posthog/run_started` — `{ sessionId, runId, taskId
|
|
241
|
+
- `_posthog/run_started` — `{ sessionId, runId, taskId?, agentVersion }` — session initialized and ready. `agentVersion` is the agent's semver, used by clients to gate UI features against agent capabilities
|
|
242
242
|
- `_posthog/task_complete` — `{ sessionId, taskId }` — agent finished (success or end-turn)
|
|
243
243
|
- `_posthog/error` — `{ sessionId, message, error? }` — unrecoverable error
|
|
244
244
|
- `_posthog/status` — `{ sessionId, status, message? }` — progress updates
|
package/dist/agent.js
CHANGED
|
@@ -4030,7 +4030,7 @@ import { v7 as uuidv7 } from "uuid";
|
|
|
4030
4030
|
// package.json
|
|
4031
4031
|
var package_default = {
|
|
4032
4032
|
name: "@posthog/agent",
|
|
4033
|
-
version: "2.3.
|
|
4033
|
+
version: "2.3.519",
|
|
4034
4034
|
repository: "https://github.com/PostHog/code",
|
|
4035
4035
|
description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
|
|
4036
4036
|
exports: {
|