@maxiaochao/pi-toolkit 0.13.1 → 0.13.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
@@ -1,3 +1,12 @@
1
+ ## 2026-10-21 - v0.13.2
2
+
3
+ - make agent-team user-invoked only and add post-release workflow/npm/tarball verification
4
+
5
+ ## Unreleased
6
+
7
+ - Make Agent Team user-invoked only through `/skill:agent-team`, hidden from automatic model selection.
8
+ - Add `npm run release:check -- vX.Y.Z` to wait for GitHub publication and verify exact npm versions, remote tags, integrity, and all tarball contents against the release commit, including coordinated child releases.
9
+
1
10
  ## 2026-10-21 - v0.13.1
2
11
 
3
12
  - herdr-subagents v0.7.2: clarify final answer submission through subagent_report
package/README.md CHANGED
@@ -77,7 +77,7 @@ bash scripts/install.sh
77
77
  | `html-artifact` | Build self-contained HTML explainers and diagrams |
78
78
  | `pdlog` | Decompress and inspect Pudu `.pdlog` files |
79
79
  | `herdr` | Control Herdr workspaces, tabs, panes, and agents |
80
- | `agent-team` | Let the main agent dispatch concurrent analysis using configured models and roles, collect results, and maintain investigation records; run extra review rounds as needed |
80
+ | `agent-team` | Manually invoke `/skill:agent-team` for concurrent analysis with configured models and roles, result collection, and investigation records; hidden from automatic model selection |
81
81
  | `tapd` | Investigate and operate on TAPD items with workspace, evidence, and safe-download guardrails |
82
82
 
83
83
  Package-specific skills, such as `pi-worktree`, are documented by their child package.
@@ -85,3 +85,17 @@ Package-specific skills, such as `pi-worktree`, are documented by their child pa
85
85
  ## Repository
86
86
 
87
87
  This repository is an npm workspace. Child implementations live under `packages/*`; `extensions/` contains only the toolkit-only BTW module. Development, testing, media generation, and release rules are documented in [AGENTS.md](AGENTS.md).
88
+
89
+ ### Post-release verification
90
+
91
+ After pushing a release, run from this checkout:
92
+
93
+ ```bash
94
+ npm run release:check -- v0.13.1
95
+ # Wait up to 15 minutes, polling every 15 seconds:
96
+ npm run release:check -- v0.13.1 --timeout 900 --interval 15
97
+ ```
98
+
99
+ Omit the tag to use the current root `package.json` version. Requires Node.js, Git, npm, tar, authenticated GitHub CLI (`gh auth login`), and local release tags (`git fetch origin --tags` if needed).
100
+
101
+ The read-only check verifies remote tag commits, waits for the matching `publish.yml` run to succeed, and checks exact public npm versions and tarball integrity. It compares every packaged file and mode against an isolated snapshot of the release tag, including an optional coordinated child release. It uses the tag rather than uncommitted checkout changes, never installs or publishes, and removes temporary downloads. Failures exit nonzero; only a pending workflow or npm `E404` is retried within the shared timeout (600 seconds by default). Local packing uses `--ignore-scripts`, matching this repository's source-only packages; packages that add generated prepack output will need this check updated.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxiaochao/pi-toolkit",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "Personal pi coding agent toolkit: background tasks, scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -61,10 +61,11 @@
61
61
  "ws": "^8.19.0"
62
62
  },
63
63
  "scripts": {
64
- "test": "node tests/package-layout.mjs && node tests/release-check.mjs && npm --prefix packages/todo test && npm --prefix packages/cache-export test && npm --prefix packages/codex-edit test && npm --prefix packages/herdr-subagents test && npm --prefix packages/openai-account-pool test && npm --prefix packages/scheduler test && npm --prefix packages/background-tasks test && npm --prefix packages/worktree test && node --experimental-strip-types extensions/btw/tests/history.mjs",
65
- "test:root": "node tests/package-layout.mjs && node tests/release-check.mjs && node --experimental-strip-types extensions/btw/tests/history.mjs",
64
+ "test": "node tests/package-layout.mjs && node tests/release-check.mjs && node tests/post-release-check.mjs && npm --prefix packages/todo test && npm --prefix packages/cache-export test && npm --prefix packages/codex-edit test && npm --prefix packages/herdr-subagents test && npm --prefix packages/openai-account-pool test && npm --prefix packages/scheduler test && npm --prefix packages/background-tasks test && npm --prefix packages/worktree test && node --experimental-strip-types extensions/btw/tests/history.mjs",
65
+ "test:root": "node tests/package-layout.mjs && node tests/release-check.mjs && node tests/post-release-check.mjs && node --experimental-strip-types extensions/btw/tests/history.mjs",
66
66
  "load-test": "pi -ne -e ./packages/cache-export/extensions/cache-export.ts && pi -ne -e ./extensions/btw/index.ts && pi -ne -e ./packages/codex-edit/extensions/codex-edit.ts && pi -ne -e ./packages/herdr-subagents/extensions/herdr-subagents.ts && pi -ne -e ./packages/scheduler/extensions/scheduler.ts && pi -ne -e ./packages/background-tasks/extensions/background-tasks.ts && pi -ne -e ./packages/worktree/extensions/worktree.ts && npm --prefix packages/background-tasks run load-test -- --toolkit",
67
67
  "load-test:root": "pi -ne -e ./extensions/btw/index.ts",
68
+ "release:check": "node scripts/post-release-check.mjs",
68
69
  "eval:agents": "node evaluations/agents-md/run.mjs",
69
70
  "eval:agents:test": "node evaluations/agents-md/tests/run-tests.mjs",
70
71
  "postinstall": "node scripts/install-agents.mjs"
@@ -1,13 +1,14 @@
1
1
  ---
2
2
  name: agent-team
3
- description: 多模型协作分析:主 Agent 按配置的模型和角色调度独立子代理,汇总结果并维护调查档案。用于用户要求多模型分析或对抗评审,或高代价决策需要独立复核时。
3
+ description: 多模型协作分析:按配置的模型和角色调度独立子代理,汇总结果并维护调查档案。
4
+ disable-model-invocation: true
4
5
  ---
5
6
 
6
7
  当前会话是**主 Agent**,负责核心调度:按配置中的模型和角色启动独立子代理,分派用户问题,收集结果并维护调查档案。主 Agent 根据结果决定直接回答、补充核验或继续下一轮。子代理不需要常驻;跨轮连续性来自持久调查档案和逻辑成员身份,而不是聊天记忆。
7
8
 
8
- ## 何时值得开
9
+ ## 调用方式
9
10
 
10
- 用户明确要求多模型分析或对抗评审时开启;主 Agent 也可在结论会驱动高代价动作(改内核、下线设备、向客户定责)时主动开启。查一个事实、读一份文件用不上。
11
+ 用户通过 `/skill:agent-team` 显式加载后开启。此 skill 不参与模型自动选择;高代价决策也不构成自动加载或启动的授权。
11
12
 
12
13
  ## 1. 建立调查档案
13
14