teamsmith 0.4.0 → 0.4.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 +1 -1
- package/skills/teamsmith/CHANGELOG.md +19 -0
- package/skills/teamsmith/SKILL.md +1 -1
- package/skills/teamsmith/scripts/lib/common.sh +1 -1
- package/skills/teamsmith/scripts/panel/panel.js +56 -56
- package/skills/teamsmith/scripts/panel/src/layout.ts +8 -10
- package/skills/teamsmith/scripts/panel/src/strings/en.ts +2 -2
- package/skills/teamsmith/scripts/panel/src/strings/zh.ts +3 -2
- package/skills/teamsmith/scripts/reply-capture.mjs +10 -4
- package/skills/teamsmith/scripts/team +3 -1
- package/skills/teamsmith/tests/key-replies-pty.sh +11 -11
- package/skills/teamsmith/tests/lib/pm-window.sh +25 -9
- package/skills/teamsmith/tests/lib/reply-fixture.sh +4 -4
- package/skills/teamsmith/tests/reply-capture.mjs +211 -8
- package/skills/teamsmith/tests/slash-team.sh +4 -4
- package/skills/teamsmith-init/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teamsmith",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Turn one agent session into a project owner: self-contained task briefs dispatched to worker agents in their own git worktrees, independent verification on a separate checkout, and an auditable ledger (BOARD / reviews / threads / DECISIONS). Runs on Pi today.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -5,6 +5,25 @@
|
|
|
5
5
|
> `SKILL.md`/`references/**`/`templates/**`/`extension/**` 在 Pi 里输入 `/reload`(或 `/pi-team-reload`)即生效;
|
|
6
6
|
> 判断自己是不是旧的:`team mark-loaded`(开局记一次)→ `team version --check`。
|
|
7
7
|
|
|
8
|
+
## v0.4.2(2026-11-05)
|
|
9
|
+
|
|
10
|
+
修复续用旧会话的 PM 无法捕获关键回复:会话文件被过度严格的权限判据拒绝注册。
|
|
11
|
+
|
|
12
|
+
- 目录与文件的检查不再看组可写、他人可写、硬链接数:那是为“别的用户替换我的文件”设计的,而这是本地单用户工具。标准布局(775 目录、664 文件)不再被判不安全。
|
|
13
|
+
- 保留真正防事故的检查:路径规范化、必须是主检出、tmux 会话/窗口与进程证据、启动凭证、不跟随符号链接、属主必须是运行者本人、写入用 `flock` 加原子替换。
|
|
14
|
+
|
|
15
|
+
升级方式:`npm i -g teamsmith@0.4.2`,在 Pi 中 `/reload` 或重启 PM。无需修改任何目录或文件权限。
|
|
16
|
+
|
|
17
|
+
## v0.4.1(2026-11-05)
|
|
18
|
+
|
|
19
|
+
修复 0.4.0 的一处功能失效:关键回复在组可写的项目目录下从不注册。
|
|
20
|
+
|
|
21
|
+
- 目录安全检查原先拒绝任何“组可写且无 sticky 位”的祖先目录。个人项目常见的 775 布局(组就是本人)因此被判不安全,`[[team-reply]]` 标记不会被剥离、也不会进编号回复。
|
|
22
|
+
- 现在只拒绝“他人可写”,以及“组可写但该组不在本进程的有效组内”;sticky 位仍然放行。
|
|
23
|
+
- `team doctor` 的“关键回复运行”在未注册时给出目录与原因,不再只显示 `unknown`。
|
|
24
|
+
|
|
25
|
+
升级方式:在 Pi 中执行 `/reload`,或运行 `npm i -g teamsmith@0.4.1`。无需修改目录权限。
|
|
26
|
+
|
|
8
27
|
## v0.4.0(2026-11-04)
|
|
9
28
|
|
|
10
29
|
升级方式:在 Pi 中执行 `/reload`,或运行 `npm i -g teamsmith@0.4.0`。无配置迁移。
|
|
@@ -3,7 +3,7 @@ name: teamsmith
|
|
|
3
3
|
description: teamsmith gives one agent real ownership of a project — it plans, writes self-contained task briefs, dispatches worker agents into their own tmux windows and git worktrees, verifies their work on an independent checkout, merges, and keeps an auditable ledger (BOARD/reviews/threads/DECISIONS). A pulse window (the periodic patrol) wakes the owner only when there is pending work, and the owner can deliberately stand down. Works with Pi; the launch/notify seam is an internal seam (frozen) reserved for a possible future non-Pi adapter, with no compatibility promise. Use when the user wants an agent to own a project end to end, dispatch tasks to worker agents, run agents in parallel in tmux with git worktree isolation, act as a PM/orchestrator over other agents, review an agent's work independently, run the patrol (`pulse`) as a tmux window, wake the PM only when there is pending work, or resume and coordinate a multi-agent project. To start a new project, use the teamsmith-init skill.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "0.4.
|
|
6
|
+
version: "0.4.2"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# teamsmith · one agent that actually owns the project
|