pi-herdr-subagents-lite 0.7.1 → 0.7.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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  本文件记录已发布版本的用户可见变更。更细的过程见 git log。破坏性变更标 **BREAKING**。0.5.2 及更早的变更见旧仓 `setwhite/pi-herdr-subagents-lite` 的 tag `v0.3.0`–`v0.5.2`。
4
4
 
5
+ ## 0.7.2 — 2026-11-03
6
+
7
+ - 内置工具文案改为讲用法:`description` 说何时用 `run`、何时用 `send`。
8
+ - 删掉 guideline 里 "The parent handles user interaction, cross-task synthesis, and decisions; subagents execute." 一行。剩下三条讲 `run` 与 `send` 的语义,最后一条列 profile。
9
+
5
10
  ## 0.7.1 — 2026-11-03
6
11
 
7
12
  - 发布:`CHANGELOG.md` 进 `files`。此前 tarball 里没有它,pi 更新扩展后看不到变更。本版起补上。首次更新到本版时,"Extension Updates" 下只有这一条。
package/README.md CHANGED
@@ -71,12 +71,11 @@ The block below lists every key. Each value is the default.
71
71
  // Tool text overrides. Each key defaults to unset, which keeps the built-in text shown below.
72
72
  "prompts": {
73
73
  // Replaces the built-in description.
74
- "description": "Run subagents and send them messages.",
74
+ "description": "Use run when a task is self-contained and long-running. Use send to pass information to a subagent.",
75
75
  // The one-line entry in Available tools. Empty = keep the tool out of that list.
76
76
  "snippet": "",
77
77
  // Replaces the built-in guideline lines. Keep {{profiles}} to list the profiles.
78
78
  "guidelines": [
79
- "The parent handles user interaction, cross-task synthesis, and decisions; subagents execute.",
80
79
  "run only starts; it does not wait. The result arrives later as a message.",
81
80
  "send only delivers; no state tracking.",
82
81
  "Available profiles:\n{{profiles}}"
package/README.zh-CN.md CHANGED
@@ -71,12 +71,11 @@ pi -e /path/to/pi-herdr-subagents-lite/src/index.ts # 只对当前进程生效
71
71
  // 工具文案覆盖。每个键默认未设置,用下面这份内置文案。
72
72
  "prompts": {
73
73
  // 替换内置描述。
74
- "description": "Run subagents and send them messages.",
74
+ "description": "Use run when a task is self-contained and long-running. Use send to pass information to a subagent.",
75
75
  // Available tools 里的那一行。空 = 不出现在该列表。
76
76
  "snippet": "",
77
77
  // 替换内置 guideline 各行。保留 {{profiles}} 才会列出 profile。
78
78
  "guidelines": [
79
- "The parent handles user interaction, cross-task synthesis, and decisions; subagents execute.",
80
79
  "run only starts; it does not wait. The result arrives later as a message.",
81
80
  "send only delivers; no state tracking.",
82
81
  "Available profiles:\n{{profiles}}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-herdr-subagents-lite",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Run pi subagents in herdr panes.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/tool/text.ts CHANGED
@@ -2,10 +2,10 @@ import type { Config } from "../config/index.ts";
2
2
  import type { Profile } from "../profile/index.ts";
3
3
  import { profileLabel } from "../run/index.ts";
4
4
 
5
- const DEFAULT_DESCRIPTION = "Run subagents and send them messages.";
5
+ const DEFAULT_DESCRIPTION =
6
+ "Use run when a task is self-contained and long-running. Use send to pass information to a subagent.";
6
7
  const DEFAULT_SNIPPET = "";
7
8
  const DEFAULT_GUIDELINES = [
8
- "The parent handles user interaction, cross-task synthesis, and decisions; subagents execute.",
9
9
  "run only starts; it does not wait. The result arrives later as a message.",
10
10
  "send only delivers; no state tracking.",
11
11
  "Available profiles:\n{{profiles}}",