@fractaal/pi-goal-x 0.28.8 → 0.28.9

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.
Files changed (2) hide show
  1. package/README.md +15 -12
  2. package/package.json +11 -35
package/README.md CHANGED
@@ -1,9 +1,11 @@
1
- # Portable Goals and Todos for Pi
1
+ # @fractaal/pi-goal-x
2
2
 
3
- This repository contains two independent Pi extensions:
3
+ Goal is maintained alongside two independent sibling Pi extensions:
4
4
 
5
5
  - **`@fractaal/pi-goal-x`** - one branch-local Goal with confirmed proposal/tweak, relentless autonomous continuation, strict model-owned blocking, native human pause/resume, abandonment, independent completion audit, final prose settlement, replay, a native widget, and structured events.
6
- - **`@fractaal/pi-todo`** in [`packages/todo`](packages/todo) — one revisioned branch-local working plan with omission protection, dependency validation, context salience, replay, a native widget, and structured state.
6
+ - **`@fractaal/pi-todo`** in [`packages/todo`](../todo) — one revisioned branch-local working plan with omission protection, dependency validation, context salience, replay, a native widget, and structured state.
7
+
8
+ - **`@fractaal/pi-context-window`** in [`packages/context-window`](../context-window) — per-session and per-model context-window budgets.
7
9
 
8
10
  They have no runtime dependency on each other and do not import Symphony, Aria, ALR, IPC, RTDB, Gateway, React, or product-specific types.
9
11
 
@@ -53,20 +55,21 @@ Events:
53
55
 
54
56
  ## Development
55
57
 
58
+ Run from the monorepo root:
59
+
56
60
  ```bash
61
+ npm ci
62
+ npm run typecheck
63
+ npm run lint
57
64
  npm test
58
- npm run check
59
- npm run check:todo
60
65
  npm run build
61
- npm pack --dry-run
62
- (cd packages/todo && npm pack --dry-run)
63
- PI_ACCEPTANCE_BIN="$(command -v pi)" npm run test:installed
66
+ npm run test:installed
64
67
  ```
65
68
 
66
- Installed-package acceptance builds and packs both tarballs, installs each alone under a temporary `PI_CODING_AGENT_DIR`, verifies real Pi package discovery/replay and deterministic lifecycle behavior, then removes the temporary profiles. It never touches the normal Personal Pi profile.
69
+ The shared Goal/Todo/context-window Node tests and installed-package acceptance live in this package's `tests/` directory. Root commands invoke them explicitly, separately from Vitest. Acceptance packs all three sibling packages and installs each alone under temporary Pi profiles, exercising public exports, RPC discovery/replay, deterministic Goal continuation and audit settlement, Todo idempotence, and context-window lifecycle/compaction behavior. It makes no real model calls and never uses the normal Personal Pi profile.
67
70
 
68
- ## Releases
71
+ ## Releases and source
69
72
 
70
- Maintainers publish both packages from one verified `fractaal-vX.Y.Z` tag through npm trusted publishing. The Goal package version names the tag; Todo keeps its own stable version. The workflow checks the exact tag commit, runs the package checks and builds, and skips any package version already on npm so a retry safely resumes a partial release.
73
+ Use the [monorepo release guide](https://github.com/fractaal/pi-extensions/blob/main/docs/releasing.md). Goal, Todo, and context-window keep independent versions and tags (`goal-x-v<version>`, `todo-v<version>`, `context-window-v<version>`); a batch can release all of them from one accepted commit. npm must authorize `fractaal/pi-extensions`, workflow filename `publish-npm.yml`, environment `npm-publish` for each package. Do not publish locally.
71
74
 
72
- See [docs/releasing.md](docs/releasing.md) for the GitHub environment, npm trusted-publisher settings, first-release command, and recovery command.
75
+ Goal 0.28.9, Todo 0.1.3, and context-window 0.1.1 relocate the source without changing their runtime implementation or public exports. The reviewed source snapshot is `fractaal/pi-goal-x@f74698d6a0eb9f78ff80e7adb01c6a9070010804`, corresponding to published Goal 0.28.8, Todo 0.1.2, and context-window 0.1.0. Private Git history was not imported. Original MIT licenses and upstream attribution are retained.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fractaal/pi-goal-x",
3
- "version": "0.28.8",
3
+ "version": "0.28.9",
4
4
  "description": "Portable single-goal runtime for Pi",
5
5
  "license": "MIT",
6
6
  "author": "pi-goal-x contributors",
@@ -30,11 +30,12 @@
30
30
  ],
31
31
  "repository": {
32
32
  "type": "git",
33
- "url": "git+https://github.com/fractaal/pi-goal-x.git"
33
+ "url": "git+https://github.com/fractaal/pi-extensions.git",
34
+ "directory": "packages/goal-x"
34
35
  },
35
- "homepage": "https://github.com/fractaal/pi-goal-x#readme",
36
+ "homepage": "https://github.com/fractaal/pi-extensions/tree/main/packages/goal-x#readme",
36
37
  "bugs": {
37
- "url": "https://github.com/fractaal/pi-goal-x/issues"
38
+ "url": "https://github.com/fractaal/pi-extensions/issues"
38
39
  },
39
40
  "files": [
40
41
  "dist",
@@ -50,18 +51,12 @@
50
51
  "image": "https://github.com/tmonk/pi-goal-x/raw/main/screenshot.png"
51
52
  },
52
53
  "scripts": {
53
- "check": "tsc --noEmit",
54
- "check:todo": "npm --prefix packages/todo run check",
55
- "check:context-window": "npm --prefix packages/context-window run check",
56
- "build:goal": "tsc -p tsconfig.build.json",
57
- "build:todo": "tsc -p packages/todo/tsconfig.build.json",
58
- "build:context-window": "tsc -p packages/context-window/tsconfig.build.json",
59
- "build": "npm run build:goal && npm run build:todo && npm run build:context-window",
60
- "prepack": "npm run build:goal",
61
- "test": "node --experimental-strip-types --test tests/*.test.ts tests/*.test.mjs",
54
+ "build": "tsc -p tsconfig.build.json",
55
+ "typecheck": "tsc --noEmit -p tsconfig.json",
56
+ "prepack": "npm run build",
57
+ "test": "node --experimental-strip-types --test tests/*.test.ts",
62
58
  "test:installed": "node tests/installed-package-acceptance.mjs",
63
- "test:all": "npm test && npm run test:installed",
64
- "lint": "eslint extensions packages/todo/extensions packages/context-window/extensions tests"
59
+ "lint": "npm run lint:goal-family --prefix ../.."
65
60
  },
66
61
  "peerDependencies": {
67
62
  "@earendil-works/pi-ai": "*",
@@ -70,30 +65,11 @@
70
65
  "typebox": "*"
71
66
  },
72
67
  "devDependencies": {
73
- "@earendil-works/pi-ai": "npm:@fractaal/pi-ai@0.84.1",
74
- "@earendil-works/pi-coding-agent": "npm:@fractaal/pi-coding-agent@0.84.1",
75
- "@earendil-works/pi-tui": "npm:@fractaal/pi-tui@0.84.1",
76
- "@eslint/js": "^9.39.5",
77
- "@types/proper-lockfile": "4.1.4",
78
- "eslint": "^9.39.5",
79
- "globals": "^15.15.0",
80
- "proper-lockfile": "4.1.2",
81
- "typebox": "^1.3.11",
82
- "typescript": "^5.9.3",
83
- "typescript-eslint": "^8.66.0"
68
+ "@types/proper-lockfile": "4.1.4"
84
69
  },
85
70
  "publishConfig": {
86
71
  "access": "public"
87
72
  },
88
- "overrides": {
89
- "@earendil-works/pi-coding-agent": {
90
- "undici": "8.10.0",
91
- "minimatch": "10.2.6"
92
- },
93
- "minimatch": {
94
- "brace-expansion": "5.0.9"
95
- }
96
- },
97
73
  "engines": {
98
74
  "node": ">=22.15.0"
99
75
  }