@posthog/agent 2.1.137 → 2.1.138

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.
@@ -904,7 +904,7 @@ var import_hono = require("hono");
904
904
  // package.json
905
905
  var package_default = {
906
906
  name: "@posthog/agent",
907
- version: "2.1.137",
907
+ version: "2.1.138",
908
908
  repository: "https://github.com/PostHog/twig",
909
909
  description: "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
910
910
  exports: {
@@ -944,6 +944,10 @@ var package_default = {
944
944
  types: "./dist/adapters/claude/conversion/tool-use-to-acp.d.ts",
945
945
  import: "./dist/adapters/claude/conversion/tool-use-to-acp.js"
946
946
  },
947
+ "./adapters/claude/session/jsonl-hydration": {
948
+ types: "./dist/adapters/claude/session/jsonl-hydration.d.ts",
949
+ import: "./dist/adapters/claude/session/jsonl-hydration.js"
950
+ },
947
951
  "./server": {
948
952
  types: "./dist/server/agent-server.d.ts",
949
953
  import: "./dist/server/agent-server.js"
@@ -1731,8 +1735,9 @@ function toolInfoFromToolUse(toolUse, options) {
1731
1735
  const input = toolUse.input;
1732
1736
  switch (name) {
1733
1737
  case "Task":
1738
+ case "Agent":
1734
1739
  return {
1735
- title: input?.description ? String(input.description) : "Task",
1740
+ title: input?.description ? String(input.description) : name,
1736
1741
  kind: "think",
1737
1742
  content: input?.prompt ? toolContent().text(String(input.prompt)).build() : []
1738
1743
  };
@@ -4519,7 +4524,7 @@ function spawnCodexProcess(options) {
4519
4524
  detached: process.platform !== "win32"
4520
4525
  });
4521
4526
  child.stderr?.on("data", (data) => {
4522
- logger.error("codex-acp stderr:", data.toString());
4527
+ logger.debug("codex-acp stderr:", data.toString());
4523
4528
  });
4524
4529
  child.on("error", (err) => {
4525
4530
  logger.error("codex-acp process error:", err);