@posthog/agent 2.1.107 → 2.1.111

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.107",
907
+ version: "2.1.111",
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: {
@@ -989,7 +989,7 @@ var package_default = {
989
989
  },
990
990
  dependencies: {
991
991
  "@agentclientprotocol/sdk": "^0.14.0",
992
- "@anthropic-ai/claude-agent-sdk": "0.2.58",
992
+ "@anthropic-ai/claude-agent-sdk": "0.2.59",
993
993
  "@anthropic-ai/sdk": "^0.71.0",
994
994
  "@hono/node-server": "^1.19.9",
995
995
  "@modelcontextprotocol/sdk": "^1.25.3",
@@ -3171,7 +3171,8 @@ function buildEnvironment() {
3171
3171
  ...process.env,
3172
3172
  ELECTRON_RUN_AS_NODE: "1",
3173
3173
  CLAUDE_CODE_ENABLE_ASK_USER_QUESTION_TOOL: "true",
3174
- ENABLE_EXPERIMENTAL_MCP_CLI: "true"
3174
+ // Offload all MCP tools by default
3175
+ ENABLE_TOOL_SEARCH: "auto:0"
3175
3176
  };
3176
3177
  }
3177
3178
  function buildHooks(userHooks, onModeChange) {
@@ -3744,9 +3745,7 @@ var ClaudeAcpAgent = class extends BaseAcpAgent {
3744
3745
  case "tool_use_summary":
3745
3746
  return null;
3746
3747
  default:
3747
- this.logger.warn("Unhandled message type", {
3748
- type: message.type
3749
- });
3748
+ unreachable(message, this.logger);
3750
3749
  return null;
3751
3750
  }
3752
3751
  }