omp-fabric 1.25.13 → 1.25.14

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.25.14
4
+
5
+ ### Changed
6
+
7
+ - Host pins move from `18.4.10` to `18.5.0`; the declared peer floor stays `>=18.4.4`. 18.5.0's two breaking changes (`task.completionProbeMs` and the `SessionStorage` session-claim API) touch nothing Fabric uses. Typecheck, the full suite, and `certify:context` (31 checks) pass against the new pin, and `docs/certification.md` records the re-certified host.
8
+
3
9
  ## 1.25.13
4
10
 
5
11
  ### Fixed
@@ -23,7 +23,7 @@ The package command builds `dist/` first, then runs `scripts/certify-context.mjs
23
23
 
24
24
  The harness builds a persisted session through OMP's `SessionManager`. Messages and compactions go in through its public methods. The active parent-linked branch comes back through `getBranch()`. Under deterministic settings (`contextWindow=64`, `reserveTokens=63`, `keepRecentTokens=1`), the harness performs exactly 100 Fabric compactions. Before every hook event it sums the host's `estimateTokens` over `SessionManager.buildSessionContext().messages`, applies `shouldCompact`, and requires `prepareCompaction` to return a preparation. It then invokes the callback registered by `registerCompactionHook` with OMP's `SessionBeforeCompactEvent` shape: `type`, `preparation`, `branchEntries`, an optional `customInstructions`, and `signal`. That event carries neither a compaction reason nor a retry flag, so certification asserts nothing about either.
25
25
 
26
- The host package is `@oh-my-pi/pi-coding-agent`. Certification reads the installed version from its own `package.json` and checks it against the range `omp-fabric` declares in `peerDependencies`, so no certified version is hard-coded; a host outside the declared range aborts the run and reports both the range and the resolved version and path. Each function is then resolved from a supported entry point, and a missing one aborts the run naming the entry point: `SessionManager` and `buildSessionContext` from the package root, `estimateTokens` from `@oh-my-pi/pi-coding-agent/extensibility/legacy-pi-coding-agent-shim`, and `prepareCompaction` plus `shouldCompact` from `@oh-my-pi/pi-agent-core/compaction`. At the pinned 18.4.10 host the package root exports `SessionManager` and `buildSessionContext`, does not export `prepareCompaction` or `shouldCompact`, and has no `buildContextEntries` export at all; the report records each of those observations under `hostApi.rootExports`. No public API supplies a preparation unless an `AgentSession` runs with a model, so certification makes no claim past that.
26
+ The host package is `@oh-my-pi/pi-coding-agent`. Certification reads the installed version from its own `package.json` and checks it against the range `omp-fabric` declares in `peerDependencies`, so no certified version is hard-coded; a host outside the declared range aborts the run and reports both the range and the resolved version and path. Each function is then resolved from a supported entry point, and a missing one aborts the run naming the entry point: `SessionManager` and `buildSessionContext` from the package root, `estimateTokens` from `@oh-my-pi/pi-coding-agent/extensibility/legacy-pi-coding-agent-shim`, and `prepareCompaction` plus `shouldCompact` from `@oh-my-pi/pi-agent-core/compaction`. At the pinned 18.5.0 host the package root exports `SessionManager` and `buildSessionContext`, does not export `prepareCompaction` or `shouldCompact`, and has no `buildContextEntries` export at all; the report records each of those observations under `hostApi.rootExports`. No public API supplies a preparation unless an `AgentSession` runs with a model, so certification makes no claim past that.
27
27
 
28
28
  Every persisted summary carries a cycle-unique `PRIOR_SUMMARY_POISON_991_…` suffix inside the actual `CompactionEntry`. On the next cycle, OMP's preparation has to expose that exact stored previous summary. A proxy around the event preparation records whether the registered Fabric callback reads `previousSummary`. The result derives from those accesses. Fabric must leave the value unread and keep its poison out of anything it emits. No step converts a summary into a user message by hand.
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omp-fabric",
3
- "version": "1.25.13",
3
+ "version": "1.25.14",
4
4
  "description": "A programmable tool and agent runtime for Oh My Pi (OMP)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -81,9 +81,9 @@
81
81
  "image": "https://raw.githubusercontent.com/tickernelz/omp-fabric/main/media/banner.svg"
82
82
  },
83
83
  "dependencies": {
84
- "@oh-my-pi/pi-agent-core": "18.4.10",
85
- "@oh-my-pi/pi-ai": "18.4.10",
86
- "@oh-my-pi/pi-utils": "18.4.10",
84
+ "@oh-my-pi/pi-agent-core": "18.5.0",
85
+ "@oh-my-pi/pi-ai": "18.5.0",
86
+ "@oh-my-pi/pi-utils": "18.5.0",
87
87
  "@jitl/quickjs-singlefile-mjs-release-sync": "^0.32.0",
88
88
  "@shikijs/langs": "4.4.3",
89
89
  "@shikijs/themes": "4.4.3",
@@ -101,10 +101,10 @@
101
101
  "@oh-my-pi/pi-tui": ">=18.4.4"
102
102
  },
103
103
  "devDependencies": {
104
- "@oh-my-pi/omptype": "18.4.10",
105
- "@oh-my-pi/pi-coding-agent": "18.4.10",
106
- "@oh-my-pi/pi-natives": "18.4.10",
107
- "@oh-my-pi/pi-tui": "18.4.10",
104
+ "@oh-my-pi/omptype": "18.5.0",
105
+ "@oh-my-pi/pi-coding-agent": "18.5.0",
106
+ "@oh-my-pi/pi-natives": "18.5.0",
107
+ "@oh-my-pi/pi-tui": "18.5.0",
108
108
  "@types/cross-spawn": "^6.0.6",
109
109
  "@types/node": "^26.1.2",
110
110
  "esbuild": "^0.25.12",