omp-fabric 1.25.2 → 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 (78) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/chunks/{chunk-JXNXHUIJ.js → chunk-3BS4RMF4.js} +2 -2
  3. package/dist/chunks/{chunk-4XJHCLTX.js → chunk-3KORI7FQ.js} +2 -2
  4. package/dist/chunks/{chunk-B7HOWHPZ.js → chunk-63VIZJGS.js} +2 -2
  5. package/dist/chunks/{chunk-FT2W4VE2.js → chunk-6G25AUGA.js} +4 -2
  6. package/dist/chunks/chunk-6G25AUGA.js.map +7 -0
  7. package/dist/chunks/{chunk-XABWRKSU.js → chunk-ABBGHQVX.js} +3 -3
  8. package/dist/chunks/{chunk-OHPTGVDK.js → chunk-ATTYOQSI.js} +6 -2
  9. package/dist/chunks/chunk-ATTYOQSI.js.map +7 -0
  10. package/dist/chunks/{chunk-NBA7CEFR.js → chunk-BQG4LFAC.js} +2 -2
  11. package/dist/chunks/{chunk-KLJLDI3E.js → chunk-EZRC24CX.js} +3 -3
  12. package/dist/chunks/{chunk-GE53G4VR.js → chunk-G3ELO3QC.js} +2 -2
  13. package/dist/chunks/{chunk-AEZ7VF5S.js → chunk-GPJV2FSP.js} +2 -2
  14. package/dist/chunks/{chunk-IGCIGSJW.js → chunk-H3KRHDDF.js} +2 -2
  15. package/dist/chunks/{chunk-RGAGLSFG.js → chunk-HAH64YUG.js} +3 -3
  16. package/dist/chunks/chunk-HAH64YUG.js.map +7 -0
  17. package/dist/chunks/{chunk-3LMPHRDQ.js → chunk-JBKYNJFN.js} +2 -2
  18. package/dist/chunks/{chunk-R5B3W46U.js → chunk-REHGQCXU.js} +4 -4
  19. package/dist/chunks/{chunk-D4ANGHR7.js → chunk-U4IE5SRM.js} +6 -4
  20. package/dist/chunks/chunk-U4IE5SRM.js.map +7 -0
  21. package/dist/chunks/{chunk-BQLRDSNL.js → chunk-WUPYPFAC.js} +3 -3
  22. package/dist/chunks/{chunk-UJEOKJMN.js → chunk-XLINRLLP.js} +4 -4
  23. package/dist/compaction/hook.js +4 -4
  24. package/dist/compaction/lcm-runtime.js +5 -5
  25. package/dist/config.d.ts +1 -0
  26. package/dist/config.d.ts.map +1 -1
  27. package/dist/core/action-registry.js +3 -3
  28. package/dist/core/omp-tools.d.ts +4 -1
  29. package/dist/core/omp-tools.d.ts.map +1 -1
  30. package/dist/core/system-guidance.d.ts.map +1 -1
  31. package/dist/entropy/index.js +6 -6
  32. package/dist/fabric-runtime-state.d.ts.map +1 -1
  33. package/dist/fabric-runtime-state.js +62 -31
  34. package/dist/fabric-runtime-state.js.map +2 -2
  35. package/dist/index.js +15 -13
  36. package/dist/index.js.map +2 -2
  37. package/dist/memory/discovery.js +5 -5
  38. package/dist/memory/normalize.js +4 -4
  39. package/dist/memory/search.js +5 -5
  40. package/dist/providers/memory-provider.js +7 -7
  41. package/dist/providers/omp-session-scope.d.ts +1 -2
  42. package/dist/providers/omp-session-scope.d.ts.map +1 -1
  43. package/dist/providers/omp-tools-provider.d.ts +2 -2
  44. package/dist/providers/omp-tools-provider.d.ts.map +1 -1
  45. package/dist/residency/host.js +8 -8
  46. package/dist/residency/omp-entry.js +8 -8
  47. package/dist/runtime/core-override-guest-types.js +2 -2
  48. package/dist/runtime/guest-types.d.ts +1 -1
  49. package/dist/runtime/guest-types.d.ts.map +1 -1
  50. package/dist/runtime/guest-types.js +1 -1
  51. package/dist/runtime/node-process-runtime.js +2 -2
  52. package/dist/runtime/quickjs-runtime.d.ts +1 -1
  53. package/dist/runtime/quickjs-runtime.d.ts.map +1 -1
  54. package/dist/runtime/quickjs-runtime.js +1 -1
  55. package/dist/ui/settings.d.ts.map +1 -1
  56. package/dist/ui/settings.js +7 -3
  57. package/dist/ui/settings.js.map +2 -2
  58. package/docs/certification.md +1 -1
  59. package/docs/providers.md +3 -3
  60. package/package.json +8 -8
  61. package/skills/fabric-exec/SKILL.md +2 -1
  62. package/dist/chunks/chunk-D4ANGHR7.js.map +0 -7
  63. package/dist/chunks/chunk-FT2W4VE2.js.map +0 -7
  64. package/dist/chunks/chunk-OHPTGVDK.js.map +0 -7
  65. package/dist/chunks/chunk-RGAGLSFG.js.map +0 -7
  66. /package/dist/chunks/{chunk-JXNXHUIJ.js.map → chunk-3BS4RMF4.js.map} +0 -0
  67. /package/dist/chunks/{chunk-4XJHCLTX.js.map → chunk-3KORI7FQ.js.map} +0 -0
  68. /package/dist/chunks/{chunk-B7HOWHPZ.js.map → chunk-63VIZJGS.js.map} +0 -0
  69. /package/dist/chunks/{chunk-XABWRKSU.js.map → chunk-ABBGHQVX.js.map} +0 -0
  70. /package/dist/chunks/{chunk-NBA7CEFR.js.map → chunk-BQG4LFAC.js.map} +0 -0
  71. /package/dist/chunks/{chunk-KLJLDI3E.js.map → chunk-EZRC24CX.js.map} +0 -0
  72. /package/dist/chunks/{chunk-GE53G4VR.js.map → chunk-G3ELO3QC.js.map} +0 -0
  73. /package/dist/chunks/{chunk-AEZ7VF5S.js.map → chunk-GPJV2FSP.js.map} +0 -0
  74. /package/dist/chunks/{chunk-IGCIGSJW.js.map → chunk-H3KRHDDF.js.map} +0 -0
  75. /package/dist/chunks/{chunk-3LMPHRDQ.js.map → chunk-JBKYNJFN.js.map} +0 -0
  76. /package/dist/chunks/{chunk-R5B3W46U.js.map → chunk-REHGQCXU.js.map} +0 -0
  77. /package/dist/chunks/{chunk-BQLRDSNL.js.map → chunk-WUPYPFAC.js.map} +0 -0
  78. /package/dist/chunks/{chunk-UJEOKJMN.js.map → chunk-XLINRLLP.js.map} +0 -0
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ import {
72
72
  resolveFabricIdentity,
73
73
  settleInPlacePrewalk,
74
74
  streamedToolCallName
75
- } from "./chunks/chunk-UJEOKJMN.js";
75
+ } from "./chunks/chunk-XLINRLLP.js";
76
76
  import "./chunks/chunk-7VIQNUPS.js";
77
77
  import {
78
78
  AgentTranscriptReader
@@ -81,12 +81,12 @@ import "./chunks/chunk-DLXPTBPL.js";
81
81
  import {
82
82
  GUEST_TYPE_DECLARATIONS,
83
83
  OMP_CORE_COMPATIBILITY_ARGUMENT_TYPE_NAMES
84
- } from "./chunks/chunk-FT2W4VE2.js";
84
+ } from "./chunks/chunk-6G25AUGA.js";
85
85
  import {
86
86
  NESTED_TOOL_CALL_ID_PREFIX,
87
87
  getActiveRepairCompiler,
88
88
  setActiveCompiledSurface
89
- } from "./chunks/chunk-4XJHCLTX.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-BQLRDSNL.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-AEZ7VF5S.js";
177
- import "./chunks/chunk-GE53G4VR.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-IGCIGSJW.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-D4ANGHR7.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-NBA7CEFR.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-JXNXHUIJ.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-3LMPHRDQ.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-OHPTGVDK.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,7 +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 && 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.`] : []
2201
2203
  ].join(" ");
2202
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.";
2203
2205
  var manifestNameCache = /* @__PURE__ */ new Map();