pi-tool-duration 0.3.0 → 0.3.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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.1] - 2026-09-22
4
+
5
+ ### Fixed
6
+
7
+ - Use distinct native response IDs in compaction fixtures so unrelated tool calls cannot be mistaken for a single response. The runtime is unchanged from 0.3.0.
8
+
9
+ ### Changed
10
+
11
+ - Qualify current Pi hosts with focused, artifact-free compatibility checks.
12
+
3
13
  ## [0.3.0] - 2026-09-21
4
14
 
5
15
  ### Changed
package/README.md CHANGED
@@ -73,11 +73,11 @@ The model receives the output plus a host timing marker. Pi's terminal retains i
73
73
 
74
74
  ## Development
75
75
 
76
- Run `npm ci --ignore-scripts` and `npm run check:compat` for typechecking, unit/native runtime tests, and a pack dry-run. There is no production build or `prepare` step. The development host is pinned to official `0.87.0`; CI separately qualifies official Pi and the maintained fork. The host-provided Pi peer stays wildcard and optional rather than bundling a runtime.
76
+ Run `npm ci --ignore-scripts` and `npm run check:compat` for typechecking, unit/native runtime tests, and an installed npm package smoke test. There is no production build or `prepare` step. The development host is pinned to official `0.87.0`; CI tests the current stable official release and current maintained fork on pull requests and weekly. The host-provided Pi peer stays wildcard and optional rather than bundling a runtime.
77
77
 
78
78
  Runtime tests use the installed host's manifest `bin.pi` entry and a local scripted Responses provider in an isolated HOME. `PI_HOST_CLI`, `PI_COMPAT_EXPECTED_VERSION`, and `PI_COMPAT_EXPECTED_PACKAGE_DIR` can assert the selected graph.
79
79
 
80
- The restoration test uses the installed host by default; `PI_HOST_INDEX` can select another host's absolute `dist/index.js`. It executes a timed tool and verifies reload plus separate-process disk restoration on both hosts. Native checkpoint restoration also runs when available and is required when `PI_COMPAT_HOST=fork` or `PI_REQUIRE_CHECKPOINT=1`. These tests use local scripted model completions without provider network calls or credentials.
80
+ The runtime and restoration tests use the installed host by default; `PI_HOST_INDEX` can select another host's absolute `dist/index.js`. They execute timed tools and verify reload plus separate-process disk restoration on both hosts. Native checkpoint restoration also runs when available and is required when `PI_COMPAT_HOST=fork` or `PI_REQUIRE_CHECKPOINT=1`. These tests use local scripted model completions without provider network calls or credentials.
81
81
 
82
82
  ## License
83
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-tool-duration",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Make host-observed Pi tool-call timing visible to the model",
5
5
  "type": "module",
6
6
  "author": "Mitch Fultz (https://github.com/fitchmultz)",
@@ -33,7 +33,7 @@
33
33
  "typecheck": "tsc --noEmit",
34
34
  "check:compat": "npm run check",
35
35
  "test": "node --test test/*.test.mjs",
36
- "check": "npm run typecheck && npm test && npm pack --dry-run"
36
+ "check": "npm run typecheck && npm test"
37
37
  },
38
38
  "pi": {
39
39
  "extensions": [