@yandy0725/pi-subagents 0.11.1 → 0.11.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/README.md CHANGED
@@ -47,7 +47,7 @@ Foreground agents block until complete. Background agents return an ID immediate
47
47
  | Type | Tools | Model | Description |
48
48
  |------|-------|-------|-------------|
49
49
  | `general-purpose` | all | inherit | Harness-rendered prompt for the child's own tool set — same conventions, plus the sub-agent bridge |
50
- | `Explore` | read, bash, grep, find, ls | `deepseek/deepseek-v4-flash` (falls back to the parent model when unavailable) | Fast codebase exploration (read-only) |
50
+ | `Explore` | read, bash, grep, find, ls | inherit (overridable per call) | Fast codebase exploration (read-only) |
51
51
 
52
52
  ## Custom Agents
53
53
 
package/README.zh.md CHANGED
@@ -47,7 +47,7 @@ subagent({
47
47
  | 类型 | 工具 | 模型 | 描述 |
48
48
  |------|------|------|------|
49
49
  | `general-purpose` | 全部 | 继承父级 | harness 按子代理自身工具集渲染的提示词——沿用相同约定,外加子代理桥接段 |
50
- | `Explore` | read, bash, grep, find, ls | `deepseek/deepseek-v4-flash`(不可用时回退父级模型) | 快速代码库探索(只读) |
50
+ | `Explore` | read, bash, grep, find, ls | 继承父级模型(可按调用覆盖) | 快速代码库探索(只读) |
51
51
 
52
52
  ## 自定义代理
53
53
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.11.1",
6
+ "version": "0.11.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": {
@@ -30,7 +30,9 @@ 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: "deepseek/deepseek-v4-flash",
33
+ // model omitted — inherit the parent model, and let callers override it per call.
34
+ // A hardcoded default would win over the `model` param and, when the exact
35
+ // "provider/modelId" is not in the available set, fuzzy-match a different model.
34
36
  systemPrompt: `# CRITICAL: READ-ONLY MODE - NO FILE MODIFICATIONS
35
37
  You are a file search specialist. You excel at thoroughly navigating and exploring codebases.
36
38
  Your role is EXCLUSIVELY to search and analyze existing code. You do NOT have access to file editing tools.