omp-fabric 1.26.11 → 1.26.13

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 (60) hide show
  1. package/CHANGELOG.md +25 -1
  2. package/dist/agents/manager.d.ts.map +1 -1
  3. package/dist/chunks/{chunk-TNVJ2DKM.js → chunk-2T6EHZ5G.js} +7 -4
  4. package/dist/chunks/chunk-2T6EHZ5G.js.map +7 -0
  5. package/dist/chunks/{chunk-J2BDKPO4.js → chunk-3QPIB3H2.js} +4 -4
  6. package/dist/chunks/{chunk-Z3KAY6S7.js → chunk-5EZWERJY.js} +4 -4
  7. package/dist/chunks/{chunk-Z6TTRT6Q.js → chunk-6IPXBDCA.js} +2 -2
  8. package/dist/chunks/{chunk-ATTYOQSI.js → chunk-6YR6XPNF.js} +7 -2
  9. package/dist/chunks/{chunk-ATTYOQSI.js.map → chunk-6YR6XPNF.js.map} +2 -2
  10. package/dist/chunks/{chunk-5MRBI3JB.js → chunk-7KKE52AS.js} +3 -3
  11. package/dist/chunks/{chunk-Q2LRXHPR.js → chunk-CA2P7NLW.js} +2 -2
  12. package/dist/chunks/{chunk-CEDP5WMR.js → chunk-G3VKU6GZ.js} +2 -2
  13. package/dist/chunks/{chunk-LWHQR2JY.js → chunk-HWOL2YVU.js} +2 -2
  14. package/dist/chunks/{chunk-BWLZ6VDQ.js → chunk-PTYCFQEH.js} +2 -2
  15. package/dist/chunks/{chunk-GGQ5MHXB.js → chunk-RGE6MBYP.js} +2 -2
  16. package/dist/chunks/{chunk-E3KTE736.js → chunk-TF3MK3TH.js} +3 -3
  17. package/dist/chunks/{chunk-FL4A542C.js → chunk-V7DLSDFO.js} +2 -2
  18. package/dist/chunks/{chunk-AZBJNZS4.js → chunk-VE3FWDRH.js} +2 -2
  19. package/dist/chunks/{chunk-WX6C7N3W.js → chunk-YLMDFMXM.js} +2 -2
  20. package/dist/compaction/hook.js +4 -4
  21. package/dist/compaction/lcm-runtime.js +5 -5
  22. package/dist/core/action-registry.js +3 -3
  23. package/dist/core/omp-tools.d.ts +2 -0
  24. package/dist/core/omp-tools.d.ts.map +1 -1
  25. package/dist/entropy/index.js +6 -6
  26. package/dist/fabric-runtime-state.js +25 -17
  27. package/dist/fabric-runtime-state.js.map +2 -2
  28. package/dist/index.js +12 -12
  29. package/dist/index.js.map +2 -2
  30. package/dist/memory/discovery.js +5 -5
  31. package/dist/memory/normalize.js +4 -4
  32. package/dist/memory/search.js +5 -5
  33. package/dist/providers/memory-provider.js +7 -7
  34. package/dist/providers/omp-session-scope.d.ts +6 -2
  35. package/dist/providers/omp-session-scope.d.ts.map +1 -1
  36. package/dist/providers/omp-tools-provider.d.ts +3 -2
  37. package/dist/providers/omp-tools-provider.d.ts.map +1 -1
  38. package/dist/residency/host.js +8 -8
  39. package/dist/residency/omp-entry.js +8 -8
  40. package/dist/runtime/core-override-guest-types.js +1 -1
  41. package/dist/runtime/node-process-runtime.js +1 -1
  42. package/dist/ui/settings.js +2 -2
  43. package/docs/agents.md +2 -0
  44. package/docs/certification.md +1 -1
  45. package/package.json +8 -8
  46. package/skills/fabric-exec/SKILL.md +1 -1
  47. package/dist/chunks/chunk-TNVJ2DKM.js.map +0 -7
  48. /package/dist/chunks/{chunk-J2BDKPO4.js.map → chunk-3QPIB3H2.js.map} +0 -0
  49. /package/dist/chunks/{chunk-Z3KAY6S7.js.map → chunk-5EZWERJY.js.map} +0 -0
  50. /package/dist/chunks/{chunk-Z6TTRT6Q.js.map → chunk-6IPXBDCA.js.map} +0 -0
  51. /package/dist/chunks/{chunk-5MRBI3JB.js.map → chunk-7KKE52AS.js.map} +0 -0
  52. /package/dist/chunks/{chunk-Q2LRXHPR.js.map → chunk-CA2P7NLW.js.map} +0 -0
  53. /package/dist/chunks/{chunk-CEDP5WMR.js.map → chunk-G3VKU6GZ.js.map} +0 -0
  54. /package/dist/chunks/{chunk-LWHQR2JY.js.map → chunk-HWOL2YVU.js.map} +0 -0
  55. /package/dist/chunks/{chunk-BWLZ6VDQ.js.map → chunk-PTYCFQEH.js.map} +0 -0
  56. /package/dist/chunks/{chunk-GGQ5MHXB.js.map → chunk-RGE6MBYP.js.map} +0 -0
  57. /package/dist/chunks/{chunk-E3KTE736.js.map → chunk-TF3MK3TH.js.map} +0 -0
  58. /package/dist/chunks/{chunk-FL4A542C.js.map → chunk-V7DLSDFO.js.map} +0 -0
  59. /package/dist/chunks/{chunk-AZBJNZS4.js.map → chunk-VE3FWDRH.js.map} +0 -0
  60. /package/dist/chunks/{chunk-WX6C7N3W.js.map → chunk-YLMDFMXM.js.map} +0 -0
@@ -9,11 +9,11 @@ import {
9
9
  sessionDirNamesForCwd,
10
10
  sessionDirsForCwd,
11
11
  sessionsDirRoot
12
- } from "../chunks/chunk-WX6C7N3W.js";
13
- import "../chunks/chunk-Z6TTRT6Q.js";
14
- import "../chunks/chunk-AZBJNZS4.js";
15
- import "../chunks/chunk-FL4A542C.js";
16
- import "../chunks/chunk-ATTYOQSI.js";
12
+ } from "../chunks/chunk-YLMDFMXM.js";
13
+ import "../chunks/chunk-6IPXBDCA.js";
14
+ import "../chunks/chunk-VE3FWDRH.js";
15
+ import "../chunks/chunk-V7DLSDFO.js";
16
+ import "../chunks/chunk-6YR6XPNF.js";
17
17
  export {
18
18
  AmbiguousSessionError,
19
19
  InvalidProjectScopeError,
@@ -6,10 +6,10 @@ import {
6
6
  extractFullText,
7
7
  normalizeSession,
8
8
  readSessionHeader
9
- } from "../chunks/chunk-Z6TTRT6Q.js";
10
- import "../chunks/chunk-AZBJNZS4.js";
11
- import "../chunks/chunk-FL4A542C.js";
12
- import "../chunks/chunk-ATTYOQSI.js";
9
+ } from "../chunks/chunk-6IPXBDCA.js";
10
+ import "../chunks/chunk-VE3FWDRH.js";
11
+ import "../chunks/chunk-V7DLSDFO.js";
12
+ import "../chunks/chunk-6YR6XPNF.js";
13
13
  export {
14
14
  DEFAULT_MEMORY_INDEX_PRIVACY,
15
15
  expandSessionEntries,
@@ -5,12 +5,12 @@ import {
5
5
  DEFAULT_REGEX_TIMEOUT_MS,
6
6
  searchMemoryIndex,
7
7
  searchShards
8
- } from "../chunks/chunk-BWLZ6VDQ.js";
8
+ } from "../chunks/chunk-PTYCFQEH.js";
9
9
  import "../chunks/chunk-U5FYOMG5.js";
10
- import "../chunks/chunk-Z6TTRT6Q.js";
11
- import "../chunks/chunk-AZBJNZS4.js";
12
- import "../chunks/chunk-FL4A542C.js";
13
- import "../chunks/chunk-ATTYOQSI.js";
10
+ import "../chunks/chunk-6IPXBDCA.js";
11
+ import "../chunks/chunk-VE3FWDRH.js";
12
+ import "../chunks/chunk-V7DLSDFO.js";
13
+ import "../chunks/chunk-6YR6XPNF.js";
14
14
  export {
15
15
  DEFAULT_REGEX_MAX_HAYSTACK_BYTES,
16
16
  DEFAULT_REGEX_MAX_HAYSTACK_TERMS,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  MemoryProvider,
3
3
  normalizeMemoryArgs
4
- } from "../chunks/chunk-J2BDKPO4.js";
5
- import "../chunks/chunk-BWLZ6VDQ.js";
4
+ } from "../chunks/chunk-3QPIB3H2.js";
5
+ import "../chunks/chunk-PTYCFQEH.js";
6
6
  import "../chunks/chunk-U5FYOMG5.js";
7
- import "../chunks/chunk-WX6C7N3W.js";
8
- import "../chunks/chunk-Z6TTRT6Q.js";
7
+ import "../chunks/chunk-YLMDFMXM.js";
8
+ import "../chunks/chunk-6IPXBDCA.js";
9
9
  import "../chunks/chunk-ZHDN5ESL.js";
10
10
  import "../chunks/chunk-UAP6IQIR.js";
11
- import "../chunks/chunk-AZBJNZS4.js";
12
- import "../chunks/chunk-FL4A542C.js";
13
- import "../chunks/chunk-ATTYOQSI.js";
11
+ import "../chunks/chunk-VE3FWDRH.js";
12
+ import "../chunks/chunk-V7DLSDFO.js";
13
+ import "../chunks/chunk-6YR6XPNF.js";
14
14
  export {
15
15
  MemoryProvider,
16
16
  normalizeMemoryArgs
@@ -1,6 +1,10 @@
1
- import type { AsyncJobManager } from "@oh-my-pi/pi-coding-agent/async";
1
+ import { type AgentSession } from "@oh-my-pi/pi-coding-agent";
2
+ import type { AsyncJobManagerApi } from "@oh-my-pi/pi-coding-agent/async";
3
+ import type { AgentSessionHandle } from "@oh-my-pi/pi-coding-agent/session/agent-session-handle";
4
+ export type LiveAgentSession = AgentSessionHandle & Partial<Pick<AgentSession, "asyncJobManager" | "getAgentId" | "settings">>;
5
+ export declare const liveAgentSession: (session: AgentSessionHandle) => LiveAgentSession;
2
6
  export interface OmpJobScope {
3
- manager: AsyncJobManager;
7
+ manager: AsyncJobManagerApi;
4
8
  agentId: () => string | null;
5
9
  }
6
10
  /** Job scope for one session identity; the owner id is re-resolved per call because `/new` re-mints it. */
@@ -1 +1 @@
1
- {"version":3,"file":"omp-session-scope.d.ts","sourceRoot":"","sources":["../../src/providers/omp-session-scope.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAoBvE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,eAAe,CAAC;IACzB,OAAO,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,2GAA2G;AAC3G,eAAO,MAAM,WAAW,GAAI,cAAc,MAAM,MAAM,GAAG,IAAI,KAAG,WAAW,GAAG,SAO7E,CAAC;AAKF,eAAO,MAAM,uBAAuB,GAClC,MAAM,WAAW,GAAG,SAAS,EAC7B,eAAc,MAAM,OAA0B,EAC9C,iBAAgB,MAAM,OAAqB,KAC1C,MAAM,CAAC,MAAM,EAAE,OAAO,CAGvB,CAAC"}
1
+ {"version":3,"file":"omp-session-scope.d.ts","sourceRoot":"","sources":["../../src/providers/omp-session-scope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAGjG,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAC7C,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,iBAAiB,GAAG,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC;AAE/E,eAAO,MAAM,gBAAgB,GAAI,SAAS,kBAAkB,KAAG,gBAA+C,CAAC;AAmB/G,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,2GAA2G;AAC3G,eAAO,MAAM,WAAW,GAAI,cAAc,MAAM,MAAM,GAAG,IAAI,KAAG,WAAW,GAAG,SAO7E,CAAC;AAKF,eAAO,MAAM,uBAAuB,GAClC,MAAM,WAAW,GAAG,SAAS,EAC7B,eAAc,MAAM,OAA0B,EAC9C,iBAAgB,MAAM,OAAqB,KAC1C,MAAM,CAAC,MAAM,EAAE,OAAO,CAGvB,CAAC"}
@@ -1,4 +1,5 @@
1
- import { AgentRegistry, type ToolSession } from "@oh-my-pi/pi-coding-agent";
1
+ import { type ToolSession } from "@oh-my-pi/pi-coding-agent";
2
+ import type { AgentRegistryApi } from "@oh-my-pi/pi-coding-agent/registry/agent-registry";
2
3
  import type { ExtensionContext } from "@oh-my-pi/pi-coding-agent";
3
4
  import { CapturedToolCatalog } from "../capture/catalog.js";
4
5
  import type { FabricActionDescriptor, FabricInvocationContext, FabricProvider, FabricProviderListRequest } from "../protocol.js";
@@ -9,7 +10,7 @@ export interface OmpSessionIdentity {
9
10
  getSessionFile?: () => string | null;
10
11
  modelRegistry?: NonNullable<ToolSession["modelRegistry"]>;
11
12
  getActiveModelString?: () => string | undefined;
12
- getAgentRegistry?: () => AgentRegistry | undefined;
13
+ getAgentRegistry?: () => AgentRegistryApi | undefined;
13
14
  getAgentId?: () => string | null;
14
15
  getTaskDepth?: () => number;
15
16
  getTaskMaxRecursionDepth?: () => number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"om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QAAQ,EAAE,uBAAuB,GAChC,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC;IAU9C,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IA2B5F,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAuC/C,MAAM,CACV,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,OAAO,CAAC;CAwbpB"}
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runResidentHostFromConfigPath
4
- } from "../chunks/chunk-5MRBI3JB.js";
5
- import "../chunks/chunk-TNVJ2DKM.js";
4
+ } from "../chunks/chunk-7KKE52AS.js";
5
+ import "../chunks/chunk-2T6EHZ5G.js";
6
6
  import "../chunks/chunk-VPPIJRNZ.js";
7
7
  import "../chunks/chunk-JZWLICMS.js";
8
8
  import "../chunks/chunk-CT2AJ2UI.js";
9
- import "../chunks/chunk-Q2LRXHPR.js";
10
- import "../chunks/chunk-GGQ5MHXB.js";
9
+ import "../chunks/chunk-CA2P7NLW.js";
10
+ import "../chunks/chunk-RGE6MBYP.js";
11
11
  import "../chunks/chunk-3LI7YO4M.js";
12
12
  import "../chunks/chunk-SKYNDRW5.js";
13
13
  import "../chunks/chunk-JL3KVPFJ.js";
@@ -16,13 +16,13 @@ import "../chunks/chunk-77FQHHZD.js";
16
16
  import "../chunks/chunk-7363CD5A.js";
17
17
  import "../chunks/chunk-ED3BRM6P.js";
18
18
  import "../chunks/chunk-KAD7UWT2.js";
19
- import "../chunks/chunk-CEDP5WMR.js";
19
+ import "../chunks/chunk-G3VKU6GZ.js";
20
20
  import "../chunks/chunk-3J7BKUNG.js";
21
21
  import "../chunks/chunk-QSRTEINF.js";
22
22
  import "../chunks/chunk-UAP6IQIR.js";
23
- import "../chunks/chunk-AZBJNZS4.js";
24
- import "../chunks/chunk-FL4A542C.js";
25
- import "../chunks/chunk-ATTYOQSI.js";
23
+ import "../chunks/chunk-VE3FWDRH.js";
24
+ import "../chunks/chunk-V7DLSDFO.js";
25
+ import "../chunks/chunk-6YR6XPNF.js";
26
26
  export {
27
27
  runResidentHostFromConfigPath
28
28
  };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  runResidentHostFromConfigPath
3
- } from "../chunks/chunk-5MRBI3JB.js";
4
- import "../chunks/chunk-TNVJ2DKM.js";
3
+ } from "../chunks/chunk-7KKE52AS.js";
4
+ import "../chunks/chunk-2T6EHZ5G.js";
5
5
  import "../chunks/chunk-VPPIJRNZ.js";
6
6
  import "../chunks/chunk-JZWLICMS.js";
7
7
  import "../chunks/chunk-CT2AJ2UI.js";
8
- import "../chunks/chunk-Q2LRXHPR.js";
9
- import "../chunks/chunk-GGQ5MHXB.js";
8
+ import "../chunks/chunk-CA2P7NLW.js";
9
+ import "../chunks/chunk-RGE6MBYP.js";
10
10
  import "../chunks/chunk-3LI7YO4M.js";
11
11
  import "../chunks/chunk-SKYNDRW5.js";
12
12
  import "../chunks/chunk-JL3KVPFJ.js";
@@ -15,13 +15,13 @@ import "../chunks/chunk-77FQHHZD.js";
15
15
  import "../chunks/chunk-7363CD5A.js";
16
16
  import "../chunks/chunk-ED3BRM6P.js";
17
17
  import "../chunks/chunk-KAD7UWT2.js";
18
- import "../chunks/chunk-CEDP5WMR.js";
18
+ import "../chunks/chunk-G3VKU6GZ.js";
19
19
  import "../chunks/chunk-3J7BKUNG.js";
20
20
  import "../chunks/chunk-QSRTEINF.js";
21
21
  import "../chunks/chunk-UAP6IQIR.js";
22
- import "../chunks/chunk-AZBJNZS4.js";
23
- import "../chunks/chunk-FL4A542C.js";
24
- import "../chunks/chunk-ATTYOQSI.js";
22
+ import "../chunks/chunk-VE3FWDRH.js";
23
+ import "../chunks/chunk-V7DLSDFO.js";
24
+ import "../chunks/chunk-6YR6XPNF.js";
25
25
 
26
26
  // src/residency/omp-entry.ts
27
27
  var configPath = process.env.OMP_FABRIC_RESIDENT_CONFIG;
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunks/chunk-RFTAEH2R.js";
5
5
  import {
6
6
  OMP_CORE_TOOL_NAMES
7
- } from "../chunks/chunk-ATTYOQSI.js";
7
+ } from "../chunks/chunk-6YR6XPNF.js";
8
8
 
9
9
  // src/runtime/core-override-guest-types.ts
10
10
  var LOOSE_ARGUMENT_TYPE = "Record<string, unknown>";
@@ -20,7 +20,7 @@ import {
20
20
  } from "../chunks/chunk-JZWLICMS.js";
21
21
  import {
22
22
  isOmpShellRef
23
- } from "../chunks/chunk-ATTYOQSI.js";
23
+ } from "../chunks/chunk-6YR6XPNF.js";
24
24
 
25
25
  // src/runtime/node-process-runtime.ts
26
26
  import { spawn } from "node:child_process";
@@ -27,14 +27,14 @@ import {
27
27
  maxExecutorMemoryLimitBytes,
28
28
  resolveAgentDir,
29
29
  saveFabricConfig
30
- } from "../chunks/chunk-GGQ5MHXB.js";
30
+ } from "../chunks/chunk-RGE6MBYP.js";
31
31
  import {
32
32
  THINKING_LEVELS,
33
33
  thinkingLabel
34
34
  } from "../chunks/chunk-SKYNDRW5.js";
35
35
  import "../chunks/chunk-KAD7UWT2.js";
36
36
  import "../chunks/chunk-UAP6IQIR.js";
37
- import "../chunks/chunk-ATTYOQSI.js";
37
+ import "../chunks/chunk-6YR6XPNF.js";
38
38
 
39
39
  // src/ui/settings.ts
40
40
  import {
package/docs/agents.md CHANGED
@@ -51,6 +51,8 @@ For OMP children, selecting `cwd` neither grants nor requires project trust. Fab
51
51
 
52
52
  Extension-enabled OMP children inherit the parent’s full-code mode, including ordinary non-recursive leaves. They retain `fabric_exec` as the outer tool, and their optional `tools` allowlist also constrains nested OMP and captured-tool calls. `extensions: false` explicitly opts out; Claude/Veda and parents outside full-code mode keep their existing tool surfaces. Recursive children additionally receive the delegated `agent` risk. A launch-policy change requires `/reload` and newly launched children; it does not hot-swap an already running worker’s tools.
53
53
 
54
+ OMP children are launched with host tool names. Fabric passes `find` as `glob` and leaves out `ls`, which the host has no built-in for, so a child started with `tools: ["find"]` runs with `--tools glob`. The nested allowlist reads `glob` as `find`, so `omp.find` stays available to that child.
55
+
54
56
  ### Durable participant residency
55
57
 
56
58
  `agents.spawn()` and `agents.create()` accept `residency: "session" | "durable"`. The default is `session`. It keeps the usual lifecycle: the current OMP host owns the participant and stops or suspends it when the host shuts down. The model chooses `durable` during execution. Users do not configure it as a setting.
@@ -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.12.5 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.18.8 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.26.11",
3
+ "version": "1.26.13",
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.14.1",
85
- "@oh-my-pi/pi-ai": "18.14.1",
86
- "@oh-my-pi/pi-utils": "18.14.1",
84
+ "@oh-my-pi/pi-agent-core": "18.18.8",
85
+ "@oh-my-pi/pi-ai": "18.18.8",
86
+ "@oh-my-pi/pi-utils": "18.18.8",
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.14.1",
105
- "@oh-my-pi/pi-coding-agent": "18.14.1",
106
- "@oh-my-pi/pi-natives": "18.14.1",
107
- "@oh-my-pi/pi-tui": "18.14.1",
104
+ "@oh-my-pi/omptype": "18.18.8",
105
+ "@oh-my-pi/pi-coding-agent": "18.18.8",
106
+ "@oh-my-pi/pi-natives": "18.18.8",
107
+ "@oh-my-pi/pi-tui": "18.18.8",
108
108
  "@types/cross-spawn": "^6.0.6",
109
109
  "@types/node": "^26.1.2",
110
110
  "esbuild": "^0.25.12",
@@ -33,7 +33,7 @@ Shell tools reject on an ordinary nonzero exit; pass `settle:true` to get `{ok:f
33
33
 
34
34
  Aliases are normalized to canonical fields before host validation. Command aliases include `cmd`/`shell`/`cmdline`/`script`/`commandLine`; pattern aliases include `query`/`regex`/`search` plus `q`/`expression`/`text` for grep and `name`/`filename`/`glob`/`include` for find. Path aliases include `file`, `file_path`, camel-case path variants, `dir`/`folder`/`directory`, and target-file variants. Edit text accepts `old`/`from`/`old_string`-style and `new`/`to`/`replacement`/`new_string`-style spellings, including inside `edits`; write content accepts `contents`/`body`/`text`/`data`/`fileContent`. `ic`/`caseInsensitive`→`ignoreCase`, `globPattern`→`glob`, `ctx`→`context`, `max`→`limit`, and `start`→`offset`.
35
35
 
36
- `async:true` starts the command as a host background job: the call resolves at once with `details.async.jobId`, the command keeps running past this program, and its output reaches the agent as a follow-up message. The program never sees that output, and `settle` has nothing to settle on a call that resolved, so await `omp.wait()` when a later step needs its result. `omp.wait()` takes no arguments and returns the next finished background job result owned by this session; never poll it with `sleep`, because every poll is a wasted turn. With nothing running it rejects ("Nothing to wait for") instead of returning, so guard it or leave the wait to a turn where a job is live. Foreground calls are never backgrounded on their own, whatever their duration; `executor.autoBackground` is the setting that arms the host handover. Both `async:true` and `omp.wait()` need this session to have a live owning agent with a host job manager, so start a new session; do not rely on one appearing mid-session. Where that owner is missing, parked, or has no manager, `async` leaves the schema and passing it anyway fails with `Async bash execution is disabled`, and `omp.wait()` returns "No running background jobs to wait for."
36
+ `async:true` starts the command as a host background job: the call resolves at once with `details.async.jobId`, the command keeps running past this program, and its output reaches the agent as a follow-up message. The program never sees that output, and `settle` has nothing to settle on a call that resolved, so await `omp.wait()` when a later step needs its result. `omp.wait()` takes no arguments and returns the next finished background job result owned by this session; never poll it with `sleep`, because every poll is a wasted turn. With nothing running it resolves at once with a "Nothing to wait for" result and waits for nothing, so start the job first or leave the wait to a turn where a job is live. Foreground calls are never backgrounded on their own, whatever their duration; `executor.autoBackground` is the setting that arms the host handover. Both `async:true` and `omp.wait()` need this session to have a live owning agent with a host job manager, so start a new session; do not rely on one appearing mid-session. Where that owner is missing, parked, or has no manager, `async` leaves the schema and passing it anyway fails with `Async bash execution is disabled`, and `omp.wait()` returns "No running background jobs to wait for."
37
37
 
38
38
  Shell `timeout` is in seconds; `timeoutMs` is converted from milliseconds. Numeric strings in `limit`, `timeout`, `offset`, `skip`, and `context` coerce to numbers. `null`/`undefined` is omitted only for known optional fields; required fields remain invalid so authoritative host validation still reports them. Canonical fields win when both canonical and alias spellings are present. Unknown keys still fail the excess-property type check.
39
39