@posthog/agent 2.3.502 → 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.502",
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",
@@ -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.