pi-subagents 0.12.0 → 0.12.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 +11 -0
- package/index.ts +0 -6
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.12.2] - 2026-04-04
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- Bumped pi package devDependencies to `^0.65.0` (`@mariozechner/pi-agent-core`, `@mariozechner/pi-ai`, `@mariozechner/pi-coding-agent`) to stay aligned with current pi SDK/runtime.
|
|
9
|
+
|
|
10
|
+
## [0.12.1] - 2026-04-03
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Updated session lifecycle handling for pi 0.65.0 by removing legacy post-transition resets and relying on `session_start` reinitialization, matching pi's removal of `session_switch` and `session_fork` extension events.
|
|
14
|
+
|
|
5
15
|
## [0.12.0] - 2026-03-31
|
|
6
16
|
|
|
7
17
|
### Added
|
|
@@ -15,6 +25,7 @@
|
|
|
15
25
|
### Changed
|
|
16
26
|
- Consolidated tests under `test/unit`, `test/integration`, `test/e2e`, and `test/support`, replacing the old mixed root-level and `test/` layout. Test scripts now target those directories explicitly.
|
|
17
27
|
- Integration tests now use a tiny local file-based mock `pi` harness instead of relying on the external subprocess harness for normal subagent execution.
|
|
28
|
+
- Removed legacy extra session lifecycle resets and now rely on immutable-session `session_start` reinitialization, matching pi's removal of post-transition `session_switch`/`session_fork` events.
|
|
18
29
|
|
|
19
30
|
### Fixed
|
|
20
31
|
- Loader-based tests now resolve `.js` → `.ts` imports correctly when the repository path contains spaces or other URL-escaped characters. Added a focused regression test for the custom test loader.
|
package/index.ts
CHANGED
|
@@ -470,12 +470,6 @@ MANAGEMENT (use action field, omit agent/task/chain/tasks):
|
|
|
470
470
|
pi.on("session_start", (_event, ctx) => {
|
|
471
471
|
resetSessionState(ctx);
|
|
472
472
|
});
|
|
473
|
-
pi.on("session_switch", (_event, ctx) => {
|
|
474
|
-
resetSessionState(ctx);
|
|
475
|
-
});
|
|
476
|
-
pi.on("session_branch", (_event, ctx) => {
|
|
477
|
-
resetSessionState(ctx);
|
|
478
|
-
});
|
|
479
473
|
pi.on("session_shutdown", () => {
|
|
480
474
|
stopResultWatcher();
|
|
481
475
|
if (state.poller) clearInterval(state.poller);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-subagents",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "Pi extension for delegating tasks to subagents with chains, parallel execution, and TUI clarification",
|
|
5
5
|
"author": "Nico Bailon",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@marcfargas/pi-test-harness": "^0.5.0",
|
|
51
|
-
"@mariozechner/pi-agent-core": "^0.
|
|
52
|
-
"@mariozechner/pi-ai": "^0.
|
|
53
|
-
"@mariozechner/pi-coding-agent": "^0.
|
|
51
|
+
"@mariozechner/pi-agent-core": "^0.65.0",
|
|
52
|
+
"@mariozechner/pi-ai": "^0.65.0",
|
|
53
|
+
"@mariozechner/pi-coding-agent": "^0.65.0"
|
|
54
54
|
}
|
|
55
55
|
}
|