pi-session-subagents 0.1.0 → 0.1.1
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 +7 -0
- package/README.md +4 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.1](https://github.com/rbajaj1997/pi-session-subagents/compare/v0.1.0...v0.1.1) (2026-11-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* require Node.js 24 ([#2](https://github.com/rbajaj1997/pi-session-subagents/issues/2)) ([b2d8749](https://github.com/rbajaj1997/pi-session-subagents/commit/b2d8749eeadafac621834c0fc18b1ce05fca744a))
|
|
9
|
+
|
|
3
10
|
## [0.1.0] - 2026-11-15
|
|
4
11
|
|
|
5
12
|
Initial release.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ This is conversational reuse, not a background job service. Workers do not survi
|
|
|
20
20
|
## Requirements
|
|
21
21
|
|
|
22
22
|
- Pi 1.5.2 is the SDK and TUI compatibility target. Older versions are not supported; other versions have not been validated.
|
|
23
|
-
- Node.js
|
|
23
|
+
- Node.js 24 or newer.
|
|
24
24
|
- Model credentials and configuration available to Pi.
|
|
25
25
|
|
|
26
26
|
## Install
|
|
@@ -185,7 +185,7 @@ Formatting and linting follow Pi's own Biome setup: tabs, a 120-character line w
|
|
|
185
185
|
|
|
186
186
|
The package ships TypeScript source through `pi.extensions`. Pi loads it directly, so no compilation or bundling step is required. Pi-provided imports are peer dependencies, with pinned development copies for local typechecking. There are no additional runtime dependencies.
|
|
187
187
|
|
|
188
|
-
`npm test` uses Node's built-in test runner
|
|
188
|
+
`npm test` uses Node's built-in test runner with tsx to run the TypeScript tests. The tests use normal imports, and `tsc --noEmit` checks both `src/` and `tests/`. Tests exercise commands, the roster, worker lifecycle and steering, deadlines, report delivery, model selection, result pagination, transcript inspection, the widget, the inspector, and session cleanup. They use a controlled Pi session substitute and temporary directories, without model calls or credentials. Live provider discovery, trust configuration, and interactive TUI behavior still need checks in Pi.
|
|
189
189
|
|
|
190
190
|
```text
|
|
191
191
|
src/
|
|
@@ -201,10 +201,10 @@ src/
|
|
|
201
201
|
ui/
|
|
202
202
|
widget.ts Worker list above the editor
|
|
203
203
|
conversation-viewer.ts Framed read-only inspector using Pi's own components
|
|
204
|
-
tests/
|
|
204
|
+
tests/ TypeScript behavior tests, run with node --test through tsx
|
|
205
205
|
```
|
|
206
206
|
|
|
207
|
-
CI runs `npm run check`, `npm test`, and `npm pack --dry-run` on Node
|
|
207
|
+
CI runs `npm run check`, `npm test`, and `npm pack --dry-run` on Node 24 for every push to `main` and every pull request.
|
|
208
208
|
|
|
209
209
|
## Releasing
|
|
210
210
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-session-subagents",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Session-scoped subagents for Pi with idle workers, steering, and native transcript inspection.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"session-workers"
|
|
21
21
|
],
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=
|
|
23
|
+
"node": ">=24.0.0"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"scripts": {
|
|
40
40
|
"check": "biome check && tsc --noEmit",
|
|
41
41
|
"format": "biome check --write",
|
|
42
|
-
"test": "node --test --test-timeout=10000 tests/*.test.
|
|
42
|
+
"test": "node --import tsx --test --test-timeout=10000 tests/*.test.ts"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@earendil-works/pi-agent-core": "*",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"@earendil-works/pi-ai": "1.5.2",
|
|
55
55
|
"@earendil-works/pi-coding-agent": "1.5.2",
|
|
56
56
|
"@earendil-works/pi-tui": "1.5.2",
|
|
57
|
-
"@types/node": "^
|
|
58
|
-
"
|
|
57
|
+
"@types/node": "^24.19.2",
|
|
58
|
+
"tsx": "^4.23.15",
|
|
59
59
|
"typebox": "1.3.27",
|
|
60
60
|
"typescript": "^5.9.0"
|
|
61
61
|
}
|