@posthog/agent 2.3.478 → 2.3.504

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/agent",
3
- "version": "2.3.478",
3
+ "version": "2.3.504",
4
4
  "repository": "https://github.com/PostHog/code",
5
5
  "description": "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
6
6
  "exports": {
@@ -103,8 +103,8 @@
103
103
  "typescript": "^5.5.0",
104
104
  "vitest": "^2.1.8",
105
105
  "@posthog/shared": "1.0.0",
106
- "@posthog/git": "1.0.0",
107
- "@posthog/enricher": "1.0.0"
106
+ "@posthog/enricher": "1.0.0",
107
+ "@posthog/git": "1.0.0"
108
108
  },
109
109
  "dependencies": {
110
110
  "@agentclientprotocol/sdk": "0.19.0",
@@ -1309,7 +1309,7 @@ export class ClaudeAcpAgent extends BaseAcpAgent {
1309
1309
  const configOptions = this.buildConfigOptions(
1310
1310
  permissionMode,
1311
1311
  modelOptions,
1312
- effort ?? "high",
1312
+ effort ?? "medium",
1313
1313
  );
1314
1314
  session.configOptions = configOptions;
1315
1315
 
@@ -1406,7 +1406,7 @@ export class ClaudeAcpAgent extends BaseAcpAgent {
1406
1406
  currentModelId: string;
1407
1407
  options: SessionConfigSelectOption[];
1408
1408
  },
1409
- currentEffort: EffortLevel = "high",
1409
+ currentEffort: EffortLevel = "medium",
1410
1410
  ): SessionConfigOption[] {
1411
1411
  const modeOptions = getAvailableModes().map((mode) => ({
1412
1412
  value: mode.id,
@@ -154,7 +154,7 @@ function buildHooks(
154
154
  const PH_EXPLORE_AGENT: NonNullable<Options["agents"]>[string] = {
155
155
  description:
156
156
  'Fast agent for exploring and understanding codebases. Use this when you need to find files by pattern (eg. "src/components/**/*.tsx"), search for code or keywords (eg. "where is the auth middleware?"), or answer questions about how the codebase works (eg. "how does the session service handle reconnects?"). When calling this agent, specify a thoroughness level: "quick" for targeted lookups, "medium" for broader exploration, or "very thorough" for comprehensive analysis across multiple locations.',
157
- model: "haiku",
157
+ model: "sonnet",
158
158
  prompt: `You are a fast, read-only codebase exploration agent.
159
159
 
160
160
  Your job is to find files, search code, read the most relevant sources, and report findings clearly.