pi-squad 0.17.2 → 0.19.0
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 +89 -0
- package/package.json +3 -1
- package/src/commands.ts +585 -0
- package/src/index.ts +14 -2013
- package/src/inline-input.ts +139 -0
- package/src/lifecycle.ts +164 -0
- package/src/panel-runtime.ts +157 -0
- package/src/planner.ts +2 -3
- package/src/protocol.ts +3 -47
- package/src/report.ts +40 -2
- package/src/runtime.ts +196 -0
- package/src/scheduler-runtime.ts +117 -0
- package/src/scheduler.ts +149 -135
- package/src/skills/squad-plan/SKILL.md +103 -0
- package/src/skills/squad-plan/validate-spec.mjs +65 -0
- package/src/skills/squad-supervisor/SKILL.md +1 -0
- package/src/start-squad.ts +176 -0
- package/src/store.ts +0 -43
- package/src/tools-registration.ts +626 -0
- package/src/types.ts +0 -26
- package/src/supervisor.ts +0 -142
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.19.0] - 2026-07-18
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `squad-plan` skill: authoring guide for inline plans and strict v1 file specifications, an error→fix map, and a bundled `validate-spec.mjs` that runs the exact tool validator and prints the ready-to-use `specSha256`.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- The `squad` tool now accepts JSON-encoded strings for `tasks`, `agents`, and `config` and decodes them with precise per-field errors, so transports that stringify structured arguments no longer fail valid plans (`tasks: must be array`). Verified live: a real Opus 4.8 session emitted stringified tasks unprompted and the squad started correctly.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Agent `model`/`thinking` now follow configuration unless the user explicitly requests otherwise: the planner prompt, squad tool schema/guidelines, and skills all instruct omitting overrides so agent definitions and `/squad defaults` apply.
|
|
23
|
+
|
|
24
|
+
## [0.18.0] - 2026-07-18
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Squad completion reports now include a Working Tree Snapshot (`git diff --stat` plus untracked-file count) when the squad cwd is a Git repository; non-repository output is unchanged and task handoffs are never truncated.
|
|
29
|
+
- Continuous integration workflow running the full test suite on pushes to `main` and all pull requests.
|
|
30
|
+
- This changelog, backfilled for v0.16.5 through v0.17.2, and shipped in the npm package.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- Schedulers reconstructed through the panel and Ctrl+Q paths are now registered and event-wired, so their review/failure/reply/escalation notifications reach the main session instead of being silently dropped.
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- Refactored the extension into focused modules (`runtime`, `tools-registration`, `commands`, `lifecycle`, `panel-runtime`, `scheduler-runtime`, `start-squad`); `src/index.ts` is now a thin composition root. Behavior, tool schemas, and command surface are unchanged.
|
|
39
|
+
- `reviveScheduler()` is the single authoritative scheduler reconstruction helper; `handleAgentEvent` is a thin dispatcher over per-event handlers.
|
|
40
|
+
|
|
41
|
+
### Removed
|
|
42
|
+
|
|
43
|
+
- Dead `supervisor.ts` auto-approval stub and the unused squad knowledge/memory persistence feature (never written by any caller). Legacy `knowledge/` directories in existing squad state remain ignored safely.
|
|
44
|
+
|
|
45
|
+
## [0.17.2] - 2026-07-18
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- Persisted the squad master switch across sessions and enforced it consistently for commands, tools, recovery, and the panel.
|
|
50
|
+
|
|
51
|
+
## [0.17.1] - 2026-07-17
|
|
52
|
+
|
|
53
|
+
### Fixed
|
|
54
|
+
|
|
55
|
+
- Synchronized squad widget and panel focus so the active squad remains consistent across UI interactions and cancellation.
|
|
56
|
+
|
|
57
|
+
## [0.17.0] - 2026-07-17
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
|
|
61
|
+
- Added attested file-based squad specifications, including canonical chunk delivery and full-read verification for child agents.
|
|
62
|
+
|
|
63
|
+
## [0.16.7] - 2026-07-17
|
|
64
|
+
|
|
65
|
+
### Fixed
|
|
66
|
+
|
|
67
|
+
- Hardened exact squad targeting and preserved paused or suspended work for explicit operator attention.
|
|
68
|
+
|
|
69
|
+
## [0.16.6] - 2026-07-17
|
|
70
|
+
|
|
71
|
+
### Fixed
|
|
72
|
+
|
|
73
|
+
- Repaired dependency state after task cancellation so downstream tasks are updated consistently.
|
|
74
|
+
|
|
75
|
+
## [0.16.5] - 2026-07-16
|
|
76
|
+
|
|
77
|
+
### Fixed
|
|
78
|
+
|
|
79
|
+
- Kept failed-review rework in the original squad, preserving task ownership and durable session continuity.
|
|
80
|
+
|
|
81
|
+
[Unreleased]: https://github.com/picassio/pi-squad/compare/v0.19.0...HEAD
|
|
82
|
+
[0.19.0]: https://github.com/picassio/pi-squad/compare/v0.18.0...v0.19.0
|
|
83
|
+
[0.18.0]: https://github.com/picassio/pi-squad/compare/v0.17.2...v0.18.0
|
|
84
|
+
[0.17.2]: https://github.com/picassio/pi-squad/compare/v0.17.1...v0.17.2
|
|
85
|
+
[0.17.1]: https://github.com/picassio/pi-squad/compare/v0.17.0...v0.17.1
|
|
86
|
+
[0.17.0]: https://github.com/picassio/pi-squad/compare/v0.16.7...v0.17.0
|
|
87
|
+
[0.16.7]: https://github.com/picassio/pi-squad/compare/v0.16.6...v0.16.7
|
|
88
|
+
[0.16.6]: https://github.com/picassio/pi-squad/compare/v0.16.5...v0.16.6
|
|
89
|
+
[0.16.5]: https://github.com/picassio/pi-squad/compare/v0.16.4...v0.16.5
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-squad",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Multi-agent collaboration extension for pi — task decomposition, dependency management, parallel execution, TUI panel",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"src/index.ts"
|
|
12
12
|
],
|
|
13
13
|
"skills": [
|
|
14
|
+
"src/skills/squad-plan",
|
|
14
15
|
"src/skills/squad-supervisor",
|
|
15
16
|
"src/skills/squad-backend-dev",
|
|
16
17
|
"src/skills/squad-code-review",
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
"files": [
|
|
25
26
|
"src",
|
|
26
27
|
"docs",
|
|
28
|
+
"CHANGELOG.md",
|
|
27
29
|
"README.md",
|
|
28
30
|
"LICENSE"
|
|
29
31
|
],
|