omp-fabric 1.25.3 → 1.25.4

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 (53) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/chunks/{chunk-JEY3TNQT.js → chunk-3BS4RMF4.js} +2 -2
  3. package/dist/chunks/{chunk-NAROU5RH.js → chunk-3KORI7FQ.js} +2 -2
  4. package/dist/chunks/{chunk-ORYEUKOY.js → chunk-63VIZJGS.js} +2 -2
  5. package/dist/chunks/{chunk-AASW4LHL.js → chunk-ABBGHQVX.js} +3 -3
  6. package/dist/chunks/{chunk-O7Z4Y7IF.js → chunk-ATTYOQSI.js} +2 -2
  7. package/dist/chunks/{chunk-O7Z4Y7IF.js.map → chunk-ATTYOQSI.js.map} +2 -2
  8. package/dist/chunks/{chunk-XXY2Z47X.js → chunk-BQG4LFAC.js} +2 -2
  9. package/dist/chunks/{chunk-J4GGUXHM.js → chunk-EZRC24CX.js} +3 -3
  10. package/dist/chunks/{chunk-AOQLQM53.js → chunk-G3ELO3QC.js} +2 -2
  11. package/dist/chunks/{chunk-33ZQEUNS.js → chunk-GPJV2FSP.js} +2 -2
  12. package/dist/chunks/{chunk-GLBIJQFR.js → chunk-H3KRHDDF.js} +2 -2
  13. package/dist/chunks/{chunk-FZKFZKDS.js → chunk-JBKYNJFN.js} +2 -2
  14. package/dist/chunks/{chunk-RA364DCK.js → chunk-REHGQCXU.js} +4 -4
  15. package/dist/chunks/{chunk-O47XHSHC.js → chunk-U4IE5SRM.js} +2 -2
  16. package/dist/chunks/{chunk-XKQ5B6J3.js → chunk-WUPYPFAC.js} +3 -3
  17. package/dist/chunks/{chunk-TXT3NZIY.js → chunk-XLINRLLP.js} +4 -4
  18. package/dist/compaction/hook.js +4 -4
  19. package/dist/compaction/lcm-runtime.js +5 -5
  20. package/dist/core/action-registry.js +3 -3
  21. package/dist/core/omp-tools.d.ts +1 -1
  22. package/dist/core/omp-tools.d.ts.map +1 -1
  23. package/dist/core/system-guidance.d.ts.map +1 -1
  24. package/dist/entropy/index.js +6 -6
  25. package/dist/fabric-runtime-state.js +13 -13
  26. package/dist/index.js +14 -13
  27. package/dist/index.js.map +2 -2
  28. package/dist/memory/discovery.js +5 -5
  29. package/dist/memory/normalize.js +4 -4
  30. package/dist/memory/search.js +5 -5
  31. package/dist/providers/memory-provider.js +7 -7
  32. package/dist/residency/host.js +8 -8
  33. package/dist/residency/omp-entry.js +8 -8
  34. package/dist/runtime/core-override-guest-types.js +1 -1
  35. package/dist/runtime/node-process-runtime.js +1 -1
  36. package/dist/ui/settings.js +2 -2
  37. package/docs/providers.md +1 -1
  38. package/package.json +1 -1
  39. package/skills/fabric-exec/SKILL.md +1 -1
  40. /package/dist/chunks/{chunk-JEY3TNQT.js.map → chunk-3BS4RMF4.js.map} +0 -0
  41. /package/dist/chunks/{chunk-NAROU5RH.js.map → chunk-3KORI7FQ.js.map} +0 -0
  42. /package/dist/chunks/{chunk-ORYEUKOY.js.map → chunk-63VIZJGS.js.map} +0 -0
  43. /package/dist/chunks/{chunk-AASW4LHL.js.map → chunk-ABBGHQVX.js.map} +0 -0
  44. /package/dist/chunks/{chunk-XXY2Z47X.js.map → chunk-BQG4LFAC.js.map} +0 -0
  45. /package/dist/chunks/{chunk-J4GGUXHM.js.map → chunk-EZRC24CX.js.map} +0 -0
  46. /package/dist/chunks/{chunk-AOQLQM53.js.map → chunk-G3ELO3QC.js.map} +0 -0
  47. /package/dist/chunks/{chunk-33ZQEUNS.js.map → chunk-GPJV2FSP.js.map} +0 -0
  48. /package/dist/chunks/{chunk-GLBIJQFR.js.map → chunk-H3KRHDDF.js.map} +0 -0
  49. /package/dist/chunks/{chunk-FZKFZKDS.js.map → chunk-JBKYNJFN.js.map} +0 -0
  50. /package/dist/chunks/{chunk-RA364DCK.js.map → chunk-REHGQCXU.js.map} +0 -0
  51. /package/dist/chunks/{chunk-O47XHSHC.js.map → chunk-U4IE5SRM.js.map} +0 -0
  52. /package/dist/chunks/{chunk-XKQ5B6J3.js.map → chunk-WUPYPFAC.js.map} +0 -0
  53. /package/dist/chunks/{chunk-TXT3NZIY.js.map → chunk-XLINRLLP.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.25.4
4
+
5
+ ### Fixed
6
+
7
+ - The kernel guidance no longer tells a program to await `omp.wait()` on a host that has `wait` off. `deniedOmpCoreTools` filtered `OMP_CORE_TOOL_NAMES`, so it was typed `readonly OmpCoreToolName[]` and could never report `wait`; the guidance line is now gated on the tool actually being served, and the "turned off" sentence names guest tools. This only became reachable in 1.25.3, which made `wait` deniable by keying `#denialSource` on the guest tool set.
8
+ - The 1.25.3 docs described a single binding point for the job scope, and there is not one. The registry lookup is re-resolved per call, but the scope object it returns is captured when the tool definition is built: for `wait` when the provider is constructed, and for a `bash` call that names a `cwd` when that directory is first used. `skills/fabric-exec/SKILL.md`, `src/core/system-guidance.ts` and `docs/providers.md` now state the precondition instead, which holds on every path.
9
+ - `docs/providers.md` described the `omp.wait()` result bound as tighter than it is. It is `executor.maxNestedResultChars`, the same budget every nested result gets; the doc now says that, and notes that unlike the shell path there is no on-disk artifact for the remainder.
3
10
  ## 1.25.3
4
11
 
5
12
  ### Added
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readFabricExecutionTraceV1
3
- } from "./chunk-FZKFZKDS.js";
3
+ } from "./chunk-JBKYNJFN.js";
4
4
 
5
5
  // src/compaction/branch-details.ts
6
6
  var FABRIC_BRANCH_SUMMARY_KIND = "omp-fabric.branch-summary";
@@ -218,4 +218,4 @@ export {
218
218
  readFabricBranchSummaryDetails,
219
219
  readFabricProjectionTrace
220
220
  };
221
- //# sourceMappingURL=chunk-JEY3TNQT.js.map
221
+ //# sourceMappingURL=chunk-3BS4RMF4.js.map
@@ -20,7 +20,7 @@ import {
20
20
  FabricResolutionError,
21
21
  FabricTraceSafeError,
22
22
  executionOutcomeFromError
23
- } from "./chunk-FZKFZKDS.js";
23
+ } from "./chunk-JBKYNJFN.js";
24
24
 
25
25
  // src/core/action-registry.ts
26
26
  import { randomUUID as randomUUID2 } from "node:crypto";
@@ -1613,4 +1613,4 @@ export {
1613
1613
  NESTED_TOOL_CALL_ID_PREFIX,
1614
1614
  ActionRegistry
1615
1615
  };
1616
- //# sourceMappingURL=chunk-NAROU5RH.js.map
1616
+ //# sourceMappingURL=chunk-3KORI7FQ.js.map
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  DEFAULT_MEMORY_INDEX_PRIVACY,
11
11
  normalizeSession
12
- } from "./chunk-AOQLQM53.js";
12
+ } from "./chunk-G3ELO3QC.js";
13
13
 
14
14
  // src/memory/index.ts
15
15
  import crypto2 from "node:crypto";
@@ -1226,4 +1226,4 @@ export {
1226
1226
  searchMemoryIndex,
1227
1227
  searchShards
1228
1228
  };
1229
- //# sourceMappingURL=chunk-ORYEUKOY.js.map
1229
+ //# sourceMappingURL=chunk-63VIZJGS.js.map
@@ -21,13 +21,13 @@ import {
21
21
  import {
22
22
  peerLabelPrefix,
23
23
  writeHandoffSession
24
- } from "./chunk-GLBIJQFR.js";
24
+ } from "./chunk-H3KRHDDF.js";
25
25
  import {
26
26
  DEFAULT_FABRIC_CONFIG,
27
27
  MAX_AGENT_TIMEOUT_MS,
28
28
  MIN_AGENT_TIMEOUT_MS,
29
29
  resolveAgentDir
30
- } from "./chunk-O47XHSHC.js";
30
+ } from "./chunk-U4IE5SRM.js";
31
31
  import {
32
32
  FABRIC_ACTOR_HOST_EVENTS,
33
33
  readJsonlPage
@@ -6784,4 +6784,4 @@ export {
6784
6784
  agentParticipantRecords,
6785
6785
  actorParticipantRecord
6786
6786
  };
6787
- //# sourceMappingURL=chunk-AASW4LHL.js.map
6787
+ //# sourceMappingURL=chunk-ABBGHQVX.js.map
@@ -17,7 +17,7 @@ var HOST_TOOL_FOR_CORE = /* @__PURE__ */ new Map([["find", "glob"]]);
17
17
  var hostToolForCore = (name) => HOST_TOOL_FOR_CORE.get(name) ?? name;
18
18
  var FABRIC_OWNED_HOST_TOOLS = new Set(OMP_CORE_TOOL_NAMES.map(hostToolForCore));
19
19
  var ompCoreToolDenied = (name, hostActiveTools) => Boolean(hostActiveTools?.size) && !hostActiveTools.has(OMP_CORE_TOOL_NAME_SET.has(name) ? hostToolForCore(name) : name);
20
- var deniedOmpCoreTools = (hostActiveTools) => OMP_CORE_TOOL_NAMES.filter((name) => ompCoreToolDenied(name, hostActiveTools));
20
+ var deniedOmpCoreTools = (hostActiveTools) => OMP_GUEST_TOOL_NAMES.filter((name) => ompCoreToolDenied(name, hostActiveTools));
21
21
 
22
22
  export {
23
23
  OMP_CORE_TOOL_NAMES,
@@ -31,4 +31,4 @@ export {
31
31
  ompCoreToolDenied,
32
32
  deniedOmpCoreTools
33
33
  };
34
- //# sourceMappingURL=chunk-O7Z4Y7IF.js.map
34
+ //# sourceMappingURL=chunk-ATTYOQSI.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/core/omp-tools.ts"],
4
- "sourcesContent": ["export const OMP_CORE_TOOL_NAMES = [\n \"read\",\n \"bash\",\n \"edit\",\n \"write\",\n \"grep\",\n \"find\",\n \"ls\",\n] as const;\n\nexport type OmpCoreToolName = (typeof OMP_CORE_TOOL_NAMES)[number];\n\nexport const OMP_GUEST_TOOL_NAMES = [...OMP_CORE_TOOL_NAMES, \"wait\"] as const;\n\nexport type OmpGuestToolName = (typeof OMP_GUEST_TOOL_NAMES)[number];\n\nexport const OMP_GUEST_TOOL_NAME_SET: ReadonlySet<string> = new Set(OMP_GUEST_TOOL_NAMES);\n\nconst OMP_SHELL_TOOL_NAMES = [\"bash\"] as const;\nexport type OmpShellToolName = (typeof OMP_SHELL_TOOL_NAMES)[number];\n\nexport const isOmpShellToolName = (name: string): name is OmpShellToolName => name === \"bash\";\n\nexport const isOmpShellRef = (ref: string): boolean => ref === \"omp.bash\";\n\nexport const OMP_CORE_TOOL_NAME_SET: ReadonlySet<string> = new Set(OMP_CORE_TOOL_NAMES);\n\n/** The host tool a core tool replaces, when the two carry different names. `omp.find` runs the host's glob search; the host's own `find` is a semantic search fabric does not serve. */\nconst HOST_TOOL_FOR_CORE: ReadonlyMap<OmpCoreToolName, string> = new Map([[\"find\", \"glob\"]]);\n\nexport const hostToolForCore = (name: OmpCoreToolName): string => HOST_TOOL_FOR_CORE.get(name) ?? name;\n\n/** The host tools fabric replaces, and so the ones it owns while full code mode is on. */\nexport const FABRIC_OWNED_HOST_TOOLS: ReadonlySet<string> = new Set(OMP_CORE_TOOL_NAMES.map(hostToolForCore));\n\n/** An empty host selection reads as unknown, so it denies nothing. */\nexport const ompCoreToolDenied = (\n name: string,\n hostActiveTools: ReadonlySet<string> | undefined,\n): boolean => Boolean(hostActiveTools?.size)\n && !hostActiveTools!.has(OMP_CORE_TOOL_NAME_SET.has(name) ? hostToolForCore(name as OmpCoreToolName) : name);\n\nexport const deniedOmpCoreTools = (\n hostActiveTools: ReadonlySet<string> | undefined,\n): readonly OmpCoreToolName[] =>\n OMP_CORE_TOOL_NAMES.filter((name) => ompCoreToolDenied(name, hostActiveTools));\n"],
5
- "mappings": ";AAAO,IAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAIO,IAAM,uBAAuB,CAAC,GAAG,qBAAqB,MAAM;AAI5D,IAAM,0BAA+C,IAAI,IAAI,oBAAoB;AAKjF,IAAM,qBAAqB,CAAC,SAA2C,SAAS;AAEhF,IAAM,gBAAgB,CAAC,QAAyB,QAAQ;AAExD,IAAM,yBAA8C,IAAI,IAAI,mBAAmB;AAGtF,IAAM,qBAA2D,oBAAI,IAAI,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC;AAEpF,IAAM,kBAAkB,CAAC,SAAkC,mBAAmB,IAAI,IAAI,KAAK;AAG3F,IAAM,0BAA+C,IAAI,IAAI,oBAAoB,IAAI,eAAe,CAAC;AAGrG,IAAM,oBAAoB,CAC/B,MACA,oBACY,QAAQ,iBAAiB,IAAI,KACtC,CAAC,gBAAiB,IAAI,uBAAuB,IAAI,IAAI,IAAI,gBAAgB,IAAuB,IAAI,IAAI;AAEtG,IAAM,qBAAqB,CAChC,oBAEA,oBAAoB,OAAO,CAAC,SAAS,kBAAkB,MAAM,eAAe,CAAC;",
4
+ "sourcesContent": ["export const OMP_CORE_TOOL_NAMES = [\n \"read\",\n \"bash\",\n \"edit\",\n \"write\",\n \"grep\",\n \"find\",\n \"ls\",\n] as const;\n\nexport type OmpCoreToolName = (typeof OMP_CORE_TOOL_NAMES)[number];\n\nexport const OMP_GUEST_TOOL_NAMES = [...OMP_CORE_TOOL_NAMES, \"wait\"] as const;\n\nexport type OmpGuestToolName = (typeof OMP_GUEST_TOOL_NAMES)[number];\n\nexport const OMP_GUEST_TOOL_NAME_SET: ReadonlySet<string> = new Set(OMP_GUEST_TOOL_NAMES);\n\nconst OMP_SHELL_TOOL_NAMES = [\"bash\"] as const;\nexport type OmpShellToolName = (typeof OMP_SHELL_TOOL_NAMES)[number];\n\nexport const isOmpShellToolName = (name: string): name is OmpShellToolName => name === \"bash\";\n\nexport const isOmpShellRef = (ref: string): boolean => ref === \"omp.bash\";\n\nexport const OMP_CORE_TOOL_NAME_SET: ReadonlySet<string> = new Set(OMP_CORE_TOOL_NAMES);\n\n/** The host tool a core tool replaces, when the two carry different names. `omp.find` runs the host's glob search; the host's own `find` is a semantic search fabric does not serve. */\nconst HOST_TOOL_FOR_CORE: ReadonlyMap<OmpCoreToolName, string> = new Map([[\"find\", \"glob\"]]);\n\nexport const hostToolForCore = (name: OmpCoreToolName): string => HOST_TOOL_FOR_CORE.get(name) ?? name;\n\n/** The host tools fabric replaces, and so the ones it owns while full code mode is on. */\nexport const FABRIC_OWNED_HOST_TOOLS: ReadonlySet<string> = new Set(OMP_CORE_TOOL_NAMES.map(hostToolForCore));\n\n/** An empty host selection reads as unknown, so it denies nothing. */\nexport const ompCoreToolDenied = (\n name: string,\n hostActiveTools: ReadonlySet<string> | undefined,\n): boolean => Boolean(hostActiveTools?.size)\n && !hostActiveTools!.has(OMP_CORE_TOOL_NAME_SET.has(name) ? hostToolForCore(name as OmpCoreToolName) : name);\n\nexport const deniedOmpCoreTools = (\n hostActiveTools: ReadonlySet<string> | undefined,\n): readonly OmpGuestToolName[] =>\n OMP_GUEST_TOOL_NAMES.filter((name) => ompCoreToolDenied(name, hostActiveTools));\n"],
5
+ "mappings": ";AAAO,IAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAIO,IAAM,uBAAuB,CAAC,GAAG,qBAAqB,MAAM;AAI5D,IAAM,0BAA+C,IAAI,IAAI,oBAAoB;AAKjF,IAAM,qBAAqB,CAAC,SAA2C,SAAS;AAEhF,IAAM,gBAAgB,CAAC,QAAyB,QAAQ;AAExD,IAAM,yBAA8C,IAAI,IAAI,mBAAmB;AAGtF,IAAM,qBAA2D,oBAAI,IAAI,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC;AAEpF,IAAM,kBAAkB,CAAC,SAAkC,mBAAmB,IAAI,IAAI,KAAK;AAG3F,IAAM,0BAA+C,IAAI,IAAI,oBAAoB,IAAI,eAAe,CAAC;AAGrG,IAAM,oBAAoB,CAC/B,MACA,oBACY,QAAQ,iBAAiB,IAAI,KACtC,CAAC,gBAAiB,IAAI,uBAAuB,IAAI,IAAI,IAAI,gBAAgB,IAAuB,IAAI,IAAI;AAEtG,IAAM,qBAAqB,CAChC,oBAEA,qBAAqB,OAAO,CAAC,SAAS,kBAAkB,MAAM,eAAe,CAAC;",
6
6
  "names": []
7
7
  }
@@ -22,7 +22,7 @@ import {
22
22
  FABRIC_BRANCH_SUMMARY_VERSION,
23
23
  readFabricBranchSummaryDetails,
24
24
  readFabricProjectionTrace
25
- } from "./chunk-JEY3TNQT.js";
25
+ } from "./chunk-3BS4RMF4.js";
26
26
 
27
27
  // src/compaction/hook.ts
28
28
  import "@oh-my-pi/pi-coding-agent";
@@ -1748,4 +1748,4 @@ export {
1748
1748
  compileFabricSummary,
1749
1749
  registerCompactionHook
1750
1750
  };
1751
- //# sourceMappingURL=chunk-XXY2Z47X.js.map
1751
+ //# sourceMappingURL=chunk-BQG4LFAC.js.map
@@ -10,11 +10,11 @@ import {
10
10
  lifecycleSourceIdentity,
11
11
  loadModelUsage,
12
12
  useBudgetLedger
13
- } from "./chunk-AASW4LHL.js";
13
+ } from "./chunk-ABBGHQVX.js";
14
14
  import {
15
15
  normalizeModelAliases,
16
16
  resolveAvailableOmpModel
17
- } from "./chunk-O47XHSHC.js";
17
+ } from "./chunk-U4IE5SRM.js";
18
18
  import {
19
19
  parseFabricOwnedModelGuidance,
20
20
  resolveFabricModelGuidance
@@ -685,4 +685,4 @@ if (isMain) {
685
685
  export {
686
686
  runResidentHostFromConfigPath
687
687
  };
688
- //# sourceMappingURL=chunk-J4GGUXHM.js.map
688
+ //# sourceMappingURL=chunk-EZRC24CX.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readFabricBranchSummaryDetails,
3
3
  readFabricProjectionTrace
4
- } from "./chunk-JEY3TNQT.js";
4
+ } from "./chunk-3BS4RMF4.js";
5
5
 
6
6
  // src/memory/normalize.ts
7
7
  import fs from "node:fs";
@@ -644,4 +644,4 @@ export {
644
644
  expandSessionEntries,
645
645
  expandSessionEntriesChecked
646
646
  };
647
- //# sourceMappingURL=chunk-AOQLQM53.js.map
647
+ //# sourceMappingURL=chunk-G3ELO3QC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readSessionHeader
3
- } from "./chunk-AOQLQM53.js";
3
+ } from "./chunk-G3ELO3QC.js";
4
4
 
5
5
  // src/memory/discovery.ts
6
6
  import crypto from "node:crypto";
@@ -252,4 +252,4 @@ export {
252
252
  InvalidProjectScopeError,
253
253
  resolveScope
254
254
  };
255
- //# sourceMappingURL=chunk-33ZQEUNS.js.map
255
+ //# sourceMappingURL=chunk-GPJV2FSP.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-ZHDN5ESL.js";
7
7
  import {
8
8
  rawContextTokens
9
- } from "./chunk-XXY2Z47X.js";
9
+ } from "./chunk-BQG4LFAC.js";
10
10
  import {
11
11
  compactionRequestBoundsError,
12
12
  encodeCompactionRequest
@@ -463,4 +463,4 @@ export {
463
463
  buildPeerCards,
464
464
  awaitPeerSettle
465
465
  };
466
- //# sourceMappingURL=chunk-GLBIJQFR.js.map
466
+ //# sourceMappingURL=chunk-H3KRHDDF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isOmpShellRef
3
- } from "./chunk-O7Z4Y7IF.js";
3
+ } from "./chunk-ATTYOQSI.js";
4
4
 
5
5
  // src/audit/projection.ts
6
6
  var emptyProjection = (args) => ({
@@ -783,4 +783,4 @@ export {
783
783
  isFabricExecutionTraceV1,
784
784
  readFabricExecutionTraceV1
785
785
  };
786
- //# sourceMappingURL=chunk-FZKFZKDS.js.map
786
+ //# sourceMappingURL=chunk-JBKYNJFN.js.map
@@ -8,7 +8,7 @@ import {
8
8
  loadTieredIndex,
9
9
  reconstructSessionLineage,
10
10
  searchMemoryIndex
11
- } from "./chunk-ORYEUKOY.js";
11
+ } from "./chunk-63VIZJGS.js";
12
12
  import {
13
13
  compareLexical,
14
14
  normalizeMemoryPhrase,
@@ -23,11 +23,11 @@ import {
23
23
  overrideSessionDir,
24
24
  resolveScope,
25
25
  resolveSessionTarget
26
- } from "./chunk-33ZQEUNS.js";
26
+ } from "./chunk-GPJV2FSP.js";
27
27
  import {
28
28
  expandSessionEntriesChecked,
29
29
  normalizeSession
30
- } from "./chunk-AOQLQM53.js";
30
+ } from "./chunk-G3ELO3QC.js";
31
31
  import {
32
32
  hash,
33
33
  hashLcmPayload,
@@ -2569,4 +2569,4 @@ export {
2569
2569
  normalizeMemoryArgs,
2570
2570
  MemoryProvider
2571
2571
  };
2572
- //# sourceMappingURL=chunk-RA364DCK.js.map
2572
+ //# sourceMappingURL=chunk-REHGQCXU.js.map
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-UAP6IQIR.js";
14
14
  import {
15
15
  OMP_CORE_TOOL_NAME_SET
16
- } from "./chunk-O7Z4Y7IF.js";
16
+ } from "./chunk-ATTYOQSI.js";
17
17
 
18
18
  // src/core/model-resolution.ts
19
19
  var PROVIDER_MODEL_RE = /^[^\s/]+\/[^\s/]+$/;
@@ -1671,4 +1671,4 @@ export {
1671
1671
  saveFabricConfig,
1672
1672
  resolveAgentDir
1673
1673
  };
1674
- //# sourceMappingURL=chunk-O47XHSHC.js.map
1674
+ //# sourceMappingURL=chunk-U4IE5SRM.js.map
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  sessionDirsForCwd,
15
15
  sessionsDirRoot
16
- } from "./chunk-33ZQEUNS.js";
16
+ } from "./chunk-GPJV2FSP.js";
17
17
  import {
18
18
  stableJsonHash,
19
19
  stableJsonHashArrayAsync
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  FABRIC_EXECUTION_TRACE_KIND,
27
27
  readFabricExecutionTraceV1
28
- } from "./chunk-FZKFZKDS.js";
28
+ } from "./chunk-JBKYNJFN.js";
29
29
 
30
30
  // src/entropy/types.ts
31
31
  var ENTROPY_METRIC_VERSION = 2;
@@ -2208,4 +2208,4 @@ export {
2208
2208
  formatEntropyCompileNotice,
2209
2209
  runEntropyTrial
2210
2210
  };
2211
- //# sourceMappingURL=chunk-XKQ5B6J3.js.map
2211
+ //# sourceMappingURL=chunk-WUPYPFAC.js.map
@@ -6,19 +6,19 @@ import {
6
6
  } from "./chunk-WQUMHDOS.js";
7
7
  import {
8
8
  NESTED_TOOL_CALL_ID_PREFIX
9
- } from "./chunk-NAROU5RH.js";
9
+ } from "./chunk-3KORI7FQ.js";
10
10
  import {
11
11
  THINKING_DIGEST_CUSTOM_TYPE,
12
12
  buildThinkingDigest,
13
13
  snapshotHandoffSession,
14
14
  thinkingTransferPolicy
15
- } from "./chunk-GLBIJQFR.js";
15
+ } from "./chunk-H3KRHDDF.js";
16
16
  import {
17
17
  isFabricThinking
18
18
  } from "./chunk-SKYNDRW5.js";
19
19
  import {
20
20
  FabricTraceSafeError
21
- } from "./chunk-FZKFZKDS.js";
21
+ } from "./chunk-JBKYNJFN.js";
22
22
 
23
23
  // src/capture/wrapper.ts
24
24
  var wrapToolDefinition = (definition, ctxFactory) => {
@@ -2810,4 +2810,4 @@ export {
2810
2810
  resolveFabricIdentity,
2811
2811
  MainAgentController
2812
2812
  };
2813
- //# sourceMappingURL=chunk-TXT3NZIY.js.map
2813
+ //# sourceMappingURL=chunk-XLINRLLP.js.map
@@ -4,13 +4,13 @@ import {
4
4
  fabricCompactionVersion,
5
5
  rawContextTokens,
6
6
  registerCompactionHook
7
- } from "../chunks/chunk-XXY2Z47X.js";
7
+ } from "../chunks/chunk-BQG4LFAC.js";
8
8
  import "../chunks/chunk-3J7BKUNG.js";
9
9
  import "../chunks/chunk-QSRTEINF.js";
10
10
  import "../chunks/chunk-UAP6IQIR.js";
11
- import "../chunks/chunk-JEY3TNQT.js";
12
- import "../chunks/chunk-FZKFZKDS.js";
13
- import "../chunks/chunk-O7Z4Y7IF.js";
11
+ import "../chunks/chunk-3BS4RMF4.js";
12
+ import "../chunks/chunk-JBKYNJFN.js";
13
+ import "../chunks/chunk-ATTYOQSI.js";
14
14
  export {
15
15
  compileFabricSummary,
16
16
  computeCut,
@@ -10,8 +10,8 @@ import {
10
10
  import {
11
11
  sessionDirNamesForCwd,
12
12
  sessionsDirRoot
13
- } from "../chunks/chunk-33ZQEUNS.js";
14
- import "../chunks/chunk-AOQLQM53.js";
13
+ } from "../chunks/chunk-GPJV2FSP.js";
14
+ import "../chunks/chunk-G3ELO3QC.js";
15
15
  import {
16
16
  DEFAULT_LCM_MAX_INPUT_CHARS,
17
17
  LcmModelAdapter,
@@ -45,9 +45,9 @@ import {
45
45
  clipUtf8,
46
46
  utf8Bytes
47
47
  } from "../chunks/chunk-UAP6IQIR.js";
48
- import "../chunks/chunk-JEY3TNQT.js";
49
- import "../chunks/chunk-FZKFZKDS.js";
50
- import "../chunks/chunk-O7Z4Y7IF.js";
48
+ import "../chunks/chunk-3BS4RMF4.js";
49
+ import "../chunks/chunk-JBKYNJFN.js";
50
+ import "../chunks/chunk-ATTYOQSI.js";
51
51
 
52
52
  // src/compaction/lcm-runtime.ts
53
53
  import fs4 from "node:fs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ActionRegistry,
3
3
  NESTED_TOOL_CALL_ID_PREFIX
4
- } from "../chunks/chunk-NAROU5RH.js";
4
+ } from "../chunks/chunk-3KORI7FQ.js";
5
5
  import "../chunks/chunk-LMAVZN7J.js";
6
6
  import "../chunks/chunk-7TB7NXSL.js";
7
7
  import "../chunks/chunk-4A4MVZQW.js";
8
8
  import "../chunks/chunk-X2SKPWJA.js";
9
9
  import "../chunks/chunk-77FQHHZD.js";
10
10
  import "../chunks/chunk-7363CD5A.js";
11
- import "../chunks/chunk-FZKFZKDS.js";
12
- import "../chunks/chunk-O7Z4Y7IF.js";
11
+ import "../chunks/chunk-JBKYNJFN.js";
12
+ import "../chunks/chunk-ATTYOQSI.js";
13
13
  export {
14
14
  ActionRegistry,
15
15
  NESTED_TOOL_CALL_ID_PREFIX
@@ -13,6 +13,6 @@ export declare const hostToolForCore: (name: OmpCoreToolName) => string;
13
13
  export declare const FABRIC_OWNED_HOST_TOOLS: ReadonlySet<string>;
14
14
  /** An empty host selection reads as unknown, so it denies nothing. */
15
15
  export declare const ompCoreToolDenied: (name: string, hostActiveTools: ReadonlySet<string> | undefined) => boolean;
16
- export declare const deniedOmpCoreTools: (hostActiveTools: ReadonlySet<string> | undefined) => readonly OmpCoreToolName[];
16
+ export declare const deniedOmpCoreTools: (hostActiveTools: ReadonlySet<string> | undefined) => readonly OmpGuestToolName[];
17
17
  export {};
18
18
  //# sourceMappingURL=omp-tools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"omp-tools.d.ts","sourceRoot":"","sources":["../../src/core/omp-tools.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,kEAQtB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE,eAAO,MAAM,oBAAoB,0EAA4C,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,CAAiC,CAAC;AAE1F,QAAA,MAAM,oBAAoB,mBAAoB,CAAC;AAC/C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,IAAI,IAAI,gBAAmC,CAAC;AAE9F,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,KAAG,OAA6B,CAAC;AAE1E,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,CAAgC,CAAC;AAKxF,eAAO,MAAM,eAAe,GAAI,MAAM,eAAe,KAAG,MAA8C,CAAC;AAEvG,0FAA0F;AAC1F,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,CAAqD,CAAC;AAE9G,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,GAC5B,MAAM,MAAM,EACZ,iBAAiB,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,KAC/C,OAC2G,CAAC;AAE/G,eAAO,MAAM,kBAAkB,GAC7B,iBAAiB,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,KAC/C,SAAS,eAAe,EACqD,CAAC"}
1
+ {"version":3,"file":"omp-tools.d.ts","sourceRoot":"","sources":["../../src/core/omp-tools.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,kEAQtB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE,eAAO,MAAM,oBAAoB,0EAA4C,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,CAAiC,CAAC;AAE1F,QAAA,MAAM,oBAAoB,mBAAoB,CAAC;AAC/C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,IAAI,IAAI,gBAAmC,CAAC;AAE9F,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,KAAG,OAA6B,CAAC;AAE1E,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,CAAgC,CAAC;AAKxF,eAAO,MAAM,eAAe,GAAI,MAAM,eAAe,KAAG,MAA8C,CAAC;AAEvG,0FAA0F;AAC1F,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,CAAqD,CAAC;AAE9G,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,GAC5B,MAAM,MAAM,EACZ,iBAAiB,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,KAC/C,OAC2G,CAAC;AAE/G,eAAO,MAAM,kBAAkB,GAC7B,iBAAiB,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,KAC/C,SAAS,gBAAgB,EACqD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"system-guidance.d.ts","sourceRoot":"","sources":["../../src/core/system-guidance.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,6BAA6B,GACxC,cAAc,OAAO,EACrB,kBAAiB,SAAS,MAAM,EAAO,KACtC,MAkBU,CAAC;AAEd,eAAO,MAAM,8BAA8B,GACzC,cAAc,OAAO,EACrB,kBAAiB,SAAS,MAAM,EAAO,KACtC,MAKmW,CAAC;AAGvW,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACjD;AAqCD,eAAO,MAAM,2BAA2B,GACtC,OAAO,aAAa,CAAC,yBAAyB,CAAC,EAC/C,eAAe,WAAW,CAAC,MAAM,CAAC,KACjC,MAAM,GAAG,SA8BX,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,MAAM,KAAK,GAAG,OAAO,GAAG,SAAS,KAAG,MAAM,GAAG,SAQjF,CAAC"}
1
+ {"version":3,"file":"system-guidance.d.ts","sourceRoot":"","sources":["../../src/core/system-guidance.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,6BAA6B,GACxC,cAAc,OAAO,EACrB,kBAAiB,SAAS,MAAM,EAAO,KACtC,MAqBU,CAAC;AAEd,eAAO,MAAM,8BAA8B,GACzC,cAAc,OAAO,EACrB,kBAAiB,SAAS,MAAM,EAAO,KACtC,MAKmW,CAAC;AAGvW,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACjD;AAqCD,eAAO,MAAM,2BAA2B,GACtC,OAAO,aAAa,CAAC,yBAAyB,CAAC,EAC/C,eAAe,WAAW,CAAC,MAAM,CAAC,KACjC,MAAM,GAAG,SA8BX,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,MAAM,KAAK,GAAG,OAAO,GAAG,SAAS,KAAG,MAAM,GAAG,SAQjF,CAAC"}
@@ -60,7 +60,7 @@ import {
60
60
  staticFreedomFromSchema,
61
61
  surfaceFreedomReport,
62
62
  trendFromScores
63
- } from "../chunks/chunk-XKQ5B6J3.js";
63
+ } from "../chunks/chunk-WUPYPFAC.js";
64
64
  import {
65
65
  compiledSurfaceDirectory,
66
66
  loadCompiledSurface,
@@ -82,13 +82,13 @@ import {
82
82
  replaySuccessfulCallsAsync,
83
83
  schemaDigest
84
84
  } from "../chunks/chunk-4A4MVZQW.js";
85
- import "../chunks/chunk-33ZQEUNS.js";
86
- import "../chunks/chunk-AOQLQM53.js";
85
+ import "../chunks/chunk-GPJV2FSP.js";
86
+ import "../chunks/chunk-G3ELO3QC.js";
87
87
  import "../chunks/chunk-7363CD5A.js";
88
88
  import "../chunks/chunk-KAD7UWT2.js";
89
- import "../chunks/chunk-JEY3TNQT.js";
90
- import "../chunks/chunk-FZKFZKDS.js";
91
- import "../chunks/chunk-O7Z4Y7IF.js";
89
+ import "../chunks/chunk-3BS4RMF4.js";
90
+ import "../chunks/chunk-JBKYNJFN.js";
91
+ import "../chunks/chunk-ATTYOQSI.js";
92
92
  export {
93
93
  AUTO_APPLY_PROPOSAL_KINDS,
94
94
  COMPILED_SURFACE_VERSION,
@@ -11,8 +11,8 @@ import {
11
11
  MemoryProvider,
12
12
  actionArgNormalizer,
13
13
  uniqueDeclaredKeyForSpelling
14
- } from "./chunks/chunk-RA364DCK.js";
15
- import "./chunks/chunk-ORYEUKOY.js";
14
+ } from "./chunks/chunk-REHGQCXU.js";
15
+ import "./chunks/chunk-63VIZJGS.js";
16
16
  import "./chunks/chunk-U5FYOMG5.js";
17
17
  import {
18
18
  ApprovalController,
@@ -33,7 +33,7 @@ import {
33
33
  repairFabricGuestCode,
34
34
  resolveFabricIdentity,
35
35
  runFabricHandoffAtBoundary
36
- } from "./chunks/chunk-TXT3NZIY.js";
36
+ } from "./chunks/chunk-XLINRLLP.js";
37
37
  import "./chunks/chunk-7VIQNUPS.js";
38
38
  import {
39
39
  AgentTranscriptReader,
@@ -50,7 +50,7 @@ import {
50
50
  repairActionName,
51
51
  setActiveCompiledSurface,
52
52
  setActiveRepairCompiler
53
- } from "./chunks/chunk-NAROU5RH.js";
53
+ } from "./chunks/chunk-3KORI7FQ.js";
54
54
  import {
55
55
  formatFabricEffectConflict
56
56
  } from "./chunks/chunk-LMAVZN7J.js";
@@ -63,8 +63,8 @@ import {
63
63
  withExclusiveFileLockAsync
64
64
  } from "./chunks/chunk-YWEXP724.js";
65
65
  import "./chunks/chunk-4A4MVZQW.js";
66
- import "./chunks/chunk-33ZQEUNS.js";
67
- import "./chunks/chunk-AOQLQM53.js";
66
+ import "./chunks/chunk-GPJV2FSP.js";
67
+ import "./chunks/chunk-G3ELO3QC.js";
68
68
  import {
69
69
  FABRIC_COMPONENT_DISCOVER_EVENT,
70
70
  FABRIC_PROVIDER_DISCOVER_EVENT,
@@ -94,7 +94,7 @@ import {
94
94
  resolveAgentCwd,
95
95
  resolveOmpBinary,
96
96
  validateAgentCwdRequest
97
- } from "./chunks/chunk-AASW4LHL.js";
97
+ } from "./chunks/chunk-ABBGHQVX.js";
98
98
  import "./chunks/chunk-VPPIJRNZ.js";
99
99
  import {
100
100
  executeFile,
@@ -104,7 +104,7 @@ import {
104
104
  import "./chunks/chunk-CT2AJ2UI.js";
105
105
  import {
106
106
  checkedHandoffCompaction
107
- } from "./chunks/chunk-GLBIJQFR.js";
107
+ } from "./chunks/chunk-H3KRHDDF.js";
108
108
  import {
109
109
  DEFAULT_FABRIC_CONFIG,
110
110
  FUZZY_RESOLUTION_MARKERS,
@@ -114,7 +114,7 @@ import {
114
114
  resolveAgentDir,
115
115
  resolveAvailableOmpModel,
116
116
  resolveFabricModel
117
- } from "./chunks/chunk-O47XHSHC.js";
117
+ } from "./chunks/chunk-U4IE5SRM.js";
118
118
  import {
119
119
  FABRIC_ACTOR_HOST_EVENTS,
120
120
  isFabricActorHostEvent,
@@ -154,7 +154,7 @@ import {
154
154
  import {
155
155
  estimateTokens,
156
156
  fabricExecTitleHintCached
157
- } from "./chunks/chunk-XXY2Z47X.js";
157
+ } from "./chunks/chunk-BQG4LFAC.js";
158
158
  import "./chunks/chunk-3J7BKUNG.js";
159
159
  import {
160
160
  MAX_COMPACTION_INSTRUCTIONS_CHARS,
@@ -164,19 +164,19 @@ import {
164
164
  encodeCompactionRequest
165
165
  } from "./chunks/chunk-QSRTEINF.js";
166
166
  import "./chunks/chunk-UAP6IQIR.js";
167
- import "./chunks/chunk-JEY3TNQT.js";
167
+ import "./chunks/chunk-3BS4RMF4.js";
168
168
  import {
169
169
  FabricExecutionTraceRecorder,
170
170
  FabricTraceSafeError,
171
171
  executionOutcomeFromError
172
- } from "./chunks/chunk-FZKFZKDS.js";
172
+ } from "./chunks/chunk-JBKYNJFN.js";
173
173
  import {
174
174
  OMP_GUEST_TOOL_NAMES,
175
175
  OMP_GUEST_TOOL_NAME_SET,
176
176
  isOmpShellRef,
177
177
  isOmpShellToolName,
178
178
  ompCoreToolDenied
179
- } from "./chunks/chunk-O7Z4Y7IF.js";
179
+ } from "./chunks/chunk-ATTYOQSI.js";
180
180
 
181
181
  // src/fabric-runtime-state.ts
182
182
  import path19 from "node:path";
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ import {
72
72
  resolveFabricIdentity,
73
73
  settleInPlacePrewalk,
74
74
  streamedToolCallName
75
- } from "./chunks/chunk-TXT3NZIY.js";
75
+ } from "./chunks/chunk-XLINRLLP.js";
76
76
  import "./chunks/chunk-7VIQNUPS.js";
77
77
  import {
78
78
  AgentTranscriptReader
@@ -86,7 +86,7 @@ import {
86
86
  NESTED_TOOL_CALL_ID_PREFIX,
87
87
  getActiveRepairCompiler,
88
88
  setActiveCompiledSurface
89
- } from "./chunks/chunk-NAROU5RH.js";
89
+ } from "./chunks/chunk-3KORI7FQ.js";
90
90
  import "./chunks/chunk-LMAVZN7J.js";
91
91
  import "./chunks/chunk-7TB7NXSL.js";
92
92
  import {
@@ -151,7 +151,7 @@ import {
151
151
  staticFreedomFromSchema,
152
152
  surfaceFreedomReport,
153
153
  trendFromScores
154
- } from "./chunks/chunk-XKQ5B6J3.js";
154
+ } from "./chunks/chunk-WUPYPFAC.js";
155
155
  import {
156
156
  compiledSurfaceDirectory,
157
157
  loadCompiledSurface,
@@ -173,8 +173,8 @@ import {
173
173
  replaySuccessfulCallsAsync,
174
174
  schemaDigest
175
175
  } from "./chunks/chunk-4A4MVZQW.js";
176
- import "./chunks/chunk-33ZQEUNS.js";
177
- import "./chunks/chunk-AOQLQM53.js";
176
+ import "./chunks/chunk-GPJV2FSP.js";
177
+ import "./chunks/chunk-G3ELO3QC.js";
178
178
  import {
179
179
  FABRIC_COMPONENT_DISCOVER_EVENT,
180
180
  FABRIC_COMPONENT_REGISTER_EVENT,
@@ -193,7 +193,7 @@ import {
193
193
  import {
194
194
  awaitPeerSettle,
195
195
  buildPeerCards
196
- } from "./chunks/chunk-GLBIJQFR.js";
196
+ } from "./chunks/chunk-H3KRHDDF.js";
197
197
  import {
198
198
  DEFAULT_FABRIC_CONFIG,
199
199
  boundModelOutput,
@@ -203,7 +203,7 @@ import {
203
203
  modelOutputBudget,
204
204
  resolveAgentDir,
205
205
  saveFabricConfig
206
- } from "./chunks/chunk-O47XHSHC.js";
206
+ } from "./chunks/chunk-U4IE5SRM.js";
207
207
  import {
208
208
  FABRIC_ACTOR_OMP_HOST_EVENTS
209
209
  } from "./chunks/chunk-3LI7YO4M.js";
@@ -234,13 +234,13 @@ import {
234
234
  fabricExecTitleHintCached,
235
235
  normalizeRunDisplay,
236
236
  registerCompactionHook
237
- } from "./chunks/chunk-XXY2Z47X.js";
237
+ } from "./chunks/chunk-BQG4LFAC.js";
238
238
  import {
239
239
  fabricWriteBindings
240
240
  } from "./chunks/chunk-3J7BKUNG.js";
241
241
  import "./chunks/chunk-QSRTEINF.js";
242
242
  import "./chunks/chunk-UAP6IQIR.js";
243
- import "./chunks/chunk-JEY3TNQT.js";
243
+ import "./chunks/chunk-3BS4RMF4.js";
244
244
  import {
245
245
  FABRIC_EXECUTION_TRACE_KIND,
246
246
  FABRIC_EXECUTION_TRACE_MAX_BYTES,
@@ -253,14 +253,14 @@ import {
253
253
  projectFabricAuditArgs,
254
254
  projectFabricAuditResult,
255
255
  readFabricExecutionTraceV1
256
- } from "./chunks/chunk-FZKFZKDS.js";
256
+ } from "./chunks/chunk-JBKYNJFN.js";
257
257
  import {
258
258
  FABRIC_OWNED_HOST_TOOLS,
259
259
  OMP_CORE_TOOL_NAMES,
260
260
  OMP_CORE_TOOL_NAME_SET,
261
261
  deniedOmpCoreTools,
262
262
  hostToolForCore
263
- } from "./chunks/chunk-O7Z4Y7IF.js";
263
+ } from "./chunks/chunk-ATTYOQSI.js";
264
264
 
265
265
  // src/ui/code-preview-shell.ts
266
266
  import "@oh-my-pi/pi-tui";
@@ -2197,8 +2197,9 @@ var fabricExecutionKernelGuidance = (fullCodeMode, deniedCoreTools = []) => [
2197
2197
  // caches stay warm.
2198
2198
  `Read every file the user provides (images, screenshots, code, text) with the ${fullCodeMode ? "`omp.read`" : "`read`"} tool before responding \u2014 never assume its contents.`,
2199
2199
  ...fullCodeMode && !deniedCoreTools.includes("edit") && !deniedCoreTools.includes("write") ? ["Prefer `omp.edit`/`omp.write` for source edits over hand-assembled shell or Node string literals, where nested escaping breaks; running a formatter or codemod through `omp.bash` is a different case."] : [],
2200
- ...fullCodeMode ? ["A long `omp.bash` call blocks the turn until it finishes or hits the executor deadline, and by default fabric never hands a foreground call over on its own; `executor.autoBackground` is the setting that arms that handover. Pass `async: true` to start the command as a host background job instead: the call returns at once with `details.async.jobId`, and the result reaches the agent as a follow-up. A program that needs that result awaits `omp.wait()`, which takes no arguments and returns the next finished job; never sleep or poll for it. Both `async: true` and `omp.wait()` need this session to have a live owning agent with a host job manager, resolved when the provider is created; a session that acquires an owner later does not gain them without a new session."] : [],
2201
- ...fullCodeMode && deniedCoreTools.length > 0 ? [`OMP has these core tools turned off, so ${deniedCoreTools.map((name) => `\`omp.${name}\``).join(", ")} ${deniedCoreTools.length === 1 ? "is" : "are"} unavailable and calling ${deniedCoreTools.length === 1 ? "it" : "them"} fails.`] : []
2200
+ ...fullCodeMode ? ["A long `omp.bash` call blocks the turn until it finishes or hits the executor deadline, and by default fabric never hands a foreground call over on its own; `executor.autoBackground` is the setting that arms that handover. Pass `async: true` to start the command as a host background job instead: the call returns at once with `details.async.jobId`, and the result reaches the agent as a follow-up. `async: true` needs this session to have a live owning agent with a host job manager; without one it leaves the advertised schema, so start a new session; do not rely on one appearing mid-session."] : [],
2201
+ ...fullCodeMode && !deniedCoreTools.includes("wait") ? ["A program that needs that result awaits `omp.wait()`, which takes no arguments and returns the next finished job; never sleep or poll for it."] : [],
2202
+ ...fullCodeMode && deniedCoreTools.length > 0 ? [`OMP has these guest tools turned off, so ${deniedCoreTools.map((name) => `\`omp.${name}\``).join(", ")} ${deniedCoreTools.length === 1 ? "is" : "are"} unavailable and calling ${deniedCoreTools.length === 1 ? "it" : "them"} fails.`] : []
2202
2203
  ].join(" ");
2203
2204
  var defaultFabricExecutionGuidance = (fullCodeMode, deniedCoreTools = []) => fullCodeMode ? "Examples and returns: `omp.read('/x')`, `omp.grep('TODO','src')` / `omp.grep({pattern:'TODO', path:'src', ignoreCase:true, context:2})`, `omp.find({pattern:'*.ts', path:'src', limit:20})`" + (deniedCoreTools.includes("ls") ? "" : ", and `omp.ls('src')`") + " return strings; `omp.bash({cmd:'ls'})`, `omp.edit({path:'/x', old:'a', new:'b'})`, and `omp.write({path:'/y', text:'z'})` return `{ok, output, details}` (read `.output`); failed core calls reject, including shell tools on an ordinary nonzero exit; pass `settle: true` to `omp.bash` to get `{ ok: false, exitCode, output, error }` instead. Timeout, cancellation, approval, and security failures still reject.\n`tools` is discovery + generic calls only (`providers`/`catalog`/`list`/`search`/`describe`/`call`/`models`). Call known MCP tools as `mcp.<sanitized_server>.<sanitized_tool>(args)`, captured tools as `extensions.<tool>(args)`, and stable providers as `memory.*`, `state.*`, `schema.*`, `compact.*`, or `judgment.*` (calibrated choice/bool/score answers about one state). Use `tools.call({ref,args})` for computed refs. Use `judge.filter(items, instructions)` or `judge.bool(state, instructions)` for fast semantic triage in one request without subagents (e.g. `await judge.filter(logs, 'fatal error')`). `omp` is the core tools; `omp.<key>` reads a named `payloads` value (not a tool)." : "Call known actions through `mcp.<sanitized_server>.<sanitized_tool>(args)`, `memory.*`, `state.*`, `schema.*`, `components.*`, `compact.*`, `codemap.*`, `judgment.*`, `agents.*`, or `mesh.*`; use `tools.catalog`/`search`/`describe`/`list` for discovery and `tools.call({ref,args})` for computed refs. Other surfaces are opt-in via user-loaded skills.";
2204
2205
  var manifestNameCache = /* @__PURE__ */ new Map();