pi-herdr-subagents-lite 0.7.0 → 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 ADDED
@@ -0,0 +1,24 @@
1
+ # CHANGELOG
2
+
3
+ 本文件记录已发布版本的用户可见变更。更细的过程见 git log。破坏性变更标 **BREAKING**。0.5.2 及更早的变更见旧仓 `setwhite/pi-herdr-subagents-lite` 的 tag `v0.3.0`–`v0.5.2`。
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
+
10
+ ## 0.7.1 — 2026-11-03
11
+
12
+ - 发布:`CHANGELOG.md` 进 `files`。此前 tarball 里没有它,pi 更新扩展后看不到变更。本版起补上。首次更新到本版时,"Extension Updates" 下只有这一条。
13
+
14
+ ## 0.7.0 — 2026-11-02
15
+
16
+ - **BREAKING**:`profiles/examples/` 每次加载都镜像到包内示例。自带文件重写,多余文件与子目录删除。这个目录是分发物。自己的 profile 放在 `profiles/`,不放 `examples/`。
17
+ - 自带示例改名为 `worker`:`description` 是 `General purpose.`,body 两条——需要设计决策时停下并报告、简洁报告改了什么/还剩什么/卡在哪。
18
+ - 示例把 `skills` 注释掉,默认继承技能。原来写 `skills: []`,子代理拿不到任何技能。
19
+ - 示例的 `auto-exit` 改为 `true`:收工后子进程 shutdown、父侧关 tab,槽位不再被占。再 `send` 时重启一个 pane,续同一个 session。
20
+
21
+ ## 0.6.0 — 2026-11-01
22
+
23
+ - **BREAKING**:源码并入 [setwhite/pi-extensions](https://github.com/setwhite/pi-extensions),只从 npm 安装。pi 的 git 安装只认仓库根,指不到子目录。`git:` 安装留在旧仓,不再更新。
24
+ - 开发:CI、发布、提交前闸、lockfile 与行尾策略收成仓库一份。提交前闸改跑全部三个包。
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.0",
3
+ "version": "0.7.2",
4
4
  "description": "Run pi subagents in herdr panes.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -17,7 +17,8 @@
17
17
  "subagent"
18
18
  ],
19
19
  "files": [
20
- "src"
20
+ "src",
21
+ "CHANGELOG.md"
21
22
  ],
22
23
  "packageManager": "pnpm@12.3.4",
23
24
  "engines": {
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}}",