@heyhuynhgiabuu/pi-task 0.1.0 → 0.1.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 +69 -16
- package/README.md +5 -7
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,76 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All notable changes to `@heyhuynhgiabuu/pi-task` are documented here.
|
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
## [0.1.2] — 2025
|
|
6
8
|
|
|
7
|
-
###
|
|
9
|
+
### Fixed
|
|
8
10
|
|
|
9
|
-
- `
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- SDK fallback when tmux is unavailable.
|
|
14
|
-
- Bundled starter agents: `scout`, `explore`, `planner`, `reviewer`, `vision`, and `worker`.
|
|
15
|
-
- Project/user agent override support via `.pi/agents/*.md` and `~/.pi/agents/*.md`.
|
|
16
|
-
- Agent frontmatter support for `model`, `thinking`, `tools`, and `disallowed_tools`.
|
|
17
|
-
- Tool allowlist filtering against tools registered in the parent Pi session.
|
|
18
|
-
- Clean TUI widget with spinner header and per-tool status rows.
|
|
11
|
+
- **Missing `pi.extensions` field in `package.json`.** Without it,
|
|
12
|
+
the package was installed by `pi install` but pi's package loader
|
|
13
|
+
didn't recognize it as an extension, so the `task` tool was never
|
|
14
|
+
registered.
|
|
19
15
|
|
|
20
|
-
|
|
16
|
+
Added:
|
|
21
17
|
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
```json
|
|
19
|
+
"pi": {
|
|
20
|
+
"extensions": [
|
|
21
|
+
"./dist/index.js"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Verified
|
|
27
|
+
|
|
28
|
+
- `npm run build` succeeds
|
|
29
|
+
- `npm test` 1/1 pass
|
|
30
|
+
- `tsc --noEmit` clean
|
|
31
|
+
- `npm view @heyhuynhgiabuu/pi-task@0.1.2 pi` returns
|
|
32
|
+
`{ extensions: [ './dist/index.js' ] }`
|
|
33
|
+
|
|
34
|
+
[0.1.2]: https://github.com/buddingnewinsights/pi-task/releases/tag/v0.1.2
|
|
35
|
+
|
|
36
|
+
## [0.1.1] — 2025
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- `@earendil-works/pi-coding-agent` and `@earendil-works/pi-tui` moved
|
|
41
|
+
from `peerDependencies` and `devDependencies` to `dependencies`. They
|
|
42
|
+
are runtime imports (the dist imports `@earendil-works/pi-tui` for
|
|
43
|
+
`Text` and `truncateToWidth`), so they need to ship in the npm
|
|
44
|
+
tarball.
|
|
45
|
+
|
|
46
|
+
Under `npm install --omit=dev` (the default used by `pi install`),
|
|
47
|
+
peer dependencies are not auto-installed into the package's own
|
|
48
|
+
`node_modules`, which caused the load error:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
pi loading extension "@heyhuynhgiabuu/pi-task"
|
|
52
|
+
Cannot find package '@earendil-works/pi-tui'
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
|
|
57
|
+
- Pinned `@earendil-works/pi-coding-agent` and `@earendil-works/pi-tui`
|
|
58
|
+
to `^0.79.0` (was `*`).
|
|
59
|
+
- Removed redundant `devDependencies` entries that overlapped with the
|
|
60
|
+
new `dependencies`.
|
|
61
|
+
|
|
62
|
+
### Verified
|
|
63
|
+
|
|
64
|
+
- `npm run build` succeeds
|
|
65
|
+
- `npm test` 1/1 pass (the helper test)
|
|
66
|
+
- `tsc --noEmit` clean
|
|
67
|
+
- The dist `dist/index.js` references `@earendil-works/pi-tui`
|
|
68
|
+
(the correct, current package name)
|
|
69
|
+
|
|
70
|
+
## [0.1.0] and earlier
|
|
71
|
+
|
|
72
|
+
See the git history: `git log --oneline -- CHANGELOG.md`.
|
|
73
|
+
|
|
74
|
+
[0.1.1]: https://github.com/buddingnewinsights/pi-task/releases/tag/v0.1.1
|
|
75
|
+
[Keep a Changelog]: https://keepachangelog.com/
|
|
76
|
+
[Semantic Versioning]: https://semver.org/
|
package/README.md
CHANGED
|
@@ -19,16 +19,14 @@ Delegating task/subagent extension for [Pi](https://pi.dev). It adds a `task` to
|
|
|
19
19
|
## Install
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
|
|
22
|
+
pi install npm:@heyhuynhgiabuu/pi-task
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Latest release: https://github.com/heyhuynhgiabuu/pi-task/releases/latest
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
```
|
|
27
|
+
Or load locally:
|
|
28
|
+
|
|
29
|
+
`pi -e ./src/index.ts`
|
|
32
30
|
|
|
33
31
|
Restart Pi after installing or changing extension config.
|
|
34
32
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heyhuynhgiabuu/pi-task",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Delegating task/subagent extension for Pi: foreground/background subagents, widgets, tmux observability, SDK fallback.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
+
"pi": {
|
|
9
|
+
"extensions": [
|
|
10
|
+
"./dist/index.js"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
8
13
|
"exports": {
|
|
9
14
|
".": {
|
|
10
15
|
"types": "./dist/index.d.ts",
|
|
@@ -36,18 +41,14 @@
|
|
|
36
41
|
],
|
|
37
42
|
"license": "MIT",
|
|
38
43
|
"dependencies": {
|
|
44
|
+
"@earendil-works/pi-coding-agent": "^0.79.0",
|
|
45
|
+
"@earendil-works/pi-tui": "^0.79.0",
|
|
39
46
|
"@sinclair/typebox": "^0.34.0"
|
|
40
47
|
},
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"@earendil-works/pi-coding-agent": "*",
|
|
43
|
-
"@earendil-works/pi-tui": "*"
|
|
44
|
-
},
|
|
45
48
|
"devDependencies": {
|
|
46
|
-
"@earendil-works/pi-coding-agent": "*",
|
|
47
49
|
"@types/node": "^20.0.0",
|
|
48
50
|
"tsx": "^4.20.6",
|
|
49
|
-
"typescript": "^5.0.0"
|
|
50
|
-
"@earendil-works/pi-tui": "*"
|
|
51
|
+
"typescript": "^5.0.0"
|
|
51
52
|
},
|
|
52
53
|
"publishConfig": {
|
|
53
54
|
"access": "public"
|