@prjct.app/pi-plan 0.2.1 → 0.2.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 CHANGED
@@ -1,3 +1,5 @@
1
+ ## [0.2.2](https://github.com/prjct-app/pi-plan/compare/v0.2.1...v0.2.2) (2026-09-17)
2
+
1
3
  ## [0.2.1](https://github.com/prjct-app/pi-plan/compare/v0.2.0...v0.2.1) (2026-09-10)
2
4
 
3
5
  ## [0.2.0](https://github.com/prjct-app/pi-plan/compare/v0.1.3...v0.2.0) (2026-09-10)
package/CONTRIBUTING.md CHANGED
@@ -7,6 +7,7 @@
7
7
  - Do not import host internals, monkey-patch prototypes, or access real credentials, sessions, or user configuration in tests.
8
8
  - Keep runtime dependencies in `dependencies`; list Pi-provided packages in `peerDependencies` with a `*` range.
9
9
  - Run `npm run check`, `npm test`, and `npm pack --dry-run` before review.
10
+ - Build the compiled local copy Pi loads with `npm run build:pi`. It writes `~/.pi/agent/builds/<package>` outside the repository, because compiled code inside it would load the repository's development copy of Pi instead of the host's.
10
11
  - Never push, open or merge a pull request, publish, or deploy without explicit authorization.
11
12
 
12
13
  ## Package documentation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prjct.app/pi-plan",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Plan before editing in PI Agent with read-only tool restrictions, an approval step, and task progress tracking.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -25,7 +25,8 @@
25
25
  "scripts": {
26
26
  "check": "tsc --noEmit",
27
27
  "test": "node --import tsx --test tests/*.test.mjs",
28
- "check:package": "npm pack --dry-run --ignore-scripts"
28
+ "check:package": "npm pack --dry-run --ignore-scripts",
29
+ "build:pi": "node scripts/build-pi.mjs"
29
30
  },
30
31
  "engines": {
31
32
  "node": ">=22.19.0"
@@ -42,6 +43,7 @@
42
43
  "@earendil-works/pi-coding-agent": "0.85.1",
43
44
  "@earendil-works/pi-tui": "0.85.1",
44
45
  "@types/node": "^22.19.0",
46
+ "esbuild": "^0.28.1",
45
47
  "tsx": "^4.20.0",
46
48
  "typescript": "^5.9.3"
47
49
  },