@yandy0725/pi-subagents 0.5.0 → 0.5.2

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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.5.0",
6
+ "version": "0.5.2",
7
7
  "description": "Focused, in-process sub-agent core for pi — autonomous agents plus a typed API and lifecycle events",
8
8
  "license": "MIT",
9
9
  "repository": {
@@ -35,12 +35,13 @@
35
35
  "@earendil-works/pi-ai": ">=0.80.2",
36
36
  "@earendil-works/pi-coding-agent": ">=0.80.2",
37
37
  "@earendil-works/pi-tui": ">=0.80.2",
38
- "@sinclair/typebox": "*"
38
+ "typebox": "*"
39
39
  },
40
40
  "devDependencies": {
41
- "@biomejs/biome": "^2.5.2",
42
- "@types/node": "^22.0.0",
41
+ "@biomejs/biome": "^2.5.14",
42
+ "@types/node": "^26.6.2",
43
+ "typebox": "^1.3.34",
43
44
  "typescript": "~7.0.2",
44
- "vitest": "^3.0.0"
45
+ "vitest": "^5.0.1"
45
46
  }
46
47
  }
@@ -30,7 +30,7 @@ export const DEFAULT_AGENTS: Map<string, AgentConfig> = new Map([
30
30
  displayName: "Explore",
31
31
  description: "Fast codebase exploration agent (read-only)",
32
32
  builtinToolNames: READ_ONLY_TOOLS,
33
- model: "anthropic/claude-haiku-4-5-20251001",
33
+ model: "deepseek/deepseek-v4-flash",
34
34
  systemPrompt: `# CRITICAL: READ-ONLY MODE - NO FILE MODIFICATIONS
35
35
  You are a file search specialist. You excel at thoroughly navigating and exploring codebases.
36
36
  Your role is EXCLUSIVELY to search and analyze existing code. You do NOT have access to file editing tools.
@@ -2,7 +2,7 @@
2
2
  import type { AgentToolResult } from "@earendil-works/pi-coding-agent";
3
3
  import { defineTool } from "@earendil-works/pi-coding-agent";
4
4
  import { Text } from "@earendil-works/pi-tui";
5
- import { Type } from "@sinclair/typebox";
5
+ import { Type } from "typebox";
6
6
  import type { AgentTypeRegistry } from "../config/agent-types";
7
7
  import type { ParentSnapshot } from "../lifecycle/parent-snapshot";
8
8
  import type { AgentSpawnConfig } from "../lifecycle/subagent-manager";
@@ -1,5 +1,5 @@
1
1
  import { defineTool } from "@earendil-works/pi-coding-agent";
2
- import { Type } from "@sinclair/typebox";
2
+ import { Type } from "typebox";
3
3
  import type { AgentConfigLookup } from "../config/agent-types";
4
4
  import { formatLifetimeTokens, textResult } from "../tools/helpers";
5
5
  import type { Subagent } from "../types";
@@ -1,5 +1,5 @@
1
1
  import { defineTool } from "@earendil-works/pi-coding-agent";
2
- import { Type } from "@sinclair/typebox";
2
+ import { Type } from "typebox";
3
3
  import { formatLifetimeTokens, textResult } from "../tools/helpers";
4
4
  import type { Subagent } from "../types";
5
5