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
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ import {
72
72
  resolveFabricIdentity,
73
73
  settleInPlacePrewalk,
74
74
  streamedToolCallName
75
- } from "./chunks/chunk-Z3KAY6S7.js";
75
+ } from "./chunks/chunk-5EZWERJY.js";
76
76
  import "./chunks/chunk-7VIQNUPS.js";
77
77
  import {
78
78
  AgentTranscriptReader,
@@ -87,7 +87,7 @@ import {
87
87
  NESTED_TOOL_CALL_ID_PREFIX,
88
88
  getActiveRepairCompiler,
89
89
  setActiveCompiledSurface
90
- } from "./chunks/chunk-LWHQR2JY.js";
90
+ } from "./chunks/chunk-HWOL2YVU.js";
91
91
  import "./chunks/chunk-LMAVZN7J.js";
92
92
  import "./chunks/chunk-7TB7NXSL.js";
93
93
  import {
@@ -152,7 +152,7 @@ import {
152
152
  staticFreedomFromSchema,
153
153
  surfaceFreedomReport,
154
154
  trendFromScores
155
- } from "./chunks/chunk-E3KTE736.js";
155
+ } from "./chunks/chunk-TF3MK3TH.js";
156
156
  import {
157
157
  compiledSurfaceDirectory,
158
158
  loadCompiledSurface,
@@ -174,8 +174,8 @@ import {
174
174
  replaySuccessfulCallsAsync,
175
175
  schemaDigest
176
176
  } from "./chunks/chunk-4A4MVZQW.js";
177
- import "./chunks/chunk-WX6C7N3W.js";
178
- import "./chunks/chunk-Z6TTRT6Q.js";
177
+ import "./chunks/chunk-YLMDFMXM.js";
178
+ import "./chunks/chunk-6IPXBDCA.js";
179
179
  import {
180
180
  FABRIC_COMPONENT_DISCOVER_EVENT,
181
181
  FABRIC_COMPONENT_REGISTER_EVENT,
@@ -194,7 +194,7 @@ import {
194
194
  import {
195
195
  awaitPeerSettle,
196
196
  buildPeerCards
197
- } from "./chunks/chunk-Q2LRXHPR.js";
197
+ } from "./chunks/chunk-CA2P7NLW.js";
198
198
  import {
199
199
  DEFAULT_FABRIC_CONFIG,
200
200
  boundModelOutput,
@@ -204,7 +204,7 @@ import {
204
204
  modelOutputBudget,
205
205
  resolveAgentDir,
206
206
  saveFabricConfig
207
- } from "./chunks/chunk-GGQ5MHXB.js";
207
+ } from "./chunks/chunk-RGE6MBYP.js";
208
208
  import {
209
209
  FABRIC_ACTOR_OMP_HOST_EVENTS
210
210
  } from "./chunks/chunk-3LI7YO4M.js";
@@ -235,13 +235,13 @@ import {
235
235
  fabricExecTitleHintCached,
236
236
  normalizeRunDisplay,
237
237
  registerCompactionHook
238
- } from "./chunks/chunk-CEDP5WMR.js";
238
+ } from "./chunks/chunk-G3VKU6GZ.js";
239
239
  import {
240
240
  fabricWriteBindings
241
241
  } from "./chunks/chunk-3J7BKUNG.js";
242
242
  import "./chunks/chunk-QSRTEINF.js";
243
243
  import "./chunks/chunk-UAP6IQIR.js";
244
- import "./chunks/chunk-AZBJNZS4.js";
244
+ import "./chunks/chunk-VE3FWDRH.js";
245
245
  import {
246
246
  FABRIC_EXECUTION_TRACE_KIND,
247
247
  FABRIC_EXECUTION_TRACE_MAX_BYTES,
@@ -254,14 +254,14 @@ import {
254
254
  projectFabricAuditArgs,
255
255
  projectFabricAuditResult,
256
256
  readFabricExecutionTraceV1
257
- } from "./chunks/chunk-FL4A542C.js";
257
+ } from "./chunks/chunk-V7DLSDFO.js";
258
258
  import {
259
259
  FABRIC_OWNED_HOST_TOOLS,
260
260
  OMP_CORE_TOOL_NAMES,
261
261
  OMP_CORE_TOOL_NAME_SET,
262
262
  deniedOmpCoreTools,
263
263
  hostToolForCore
264
- } from "./chunks/chunk-ATTYOQSI.js";
264
+ } from "./chunks/chunk-6YR6XPNF.js";
265
265
 
266
266
  // src/ui/code-preview-shell.ts
267
267
  import "@oh-my-pi/pi-tui";
@@ -2247,7 +2247,7 @@ var fabricExecutionKernelGuidance = (fullCodeMode, deniedCoreTools = []) => [
2247
2247
  `Read every file the user provides (images, screenshots, code, text) with the ${fullCodeMode ? "`omp.read`" : "`read`"} tool before responding \u2014 never assume its contents.`,
2248
2248
  ...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."] : [],
2249
2249
  ...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."] : [],
2250
- ...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. With no job running it rejects instead of returning."] : [],
2250
+ ...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. With no job running it resolves at once with a `Nothing to wait for` result."] : [],
2251
2251
  ...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.`] : []
2252
2252
  ].join(" ");
2253
2253
  var defaultFabricExecutionGuidance = (fullCodeMode, deniedCoreTools = [], hostMcpCaptured = true) => 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 tools from MCP servers Fabric itself pools (`mcp.$servers()`) as `mcp.<sanitized_server>.<sanitized_tool>(args)`; " + (hostMcpCaptured ? "MCP servers OMP loaded are captured tools like any other, so call those and every other captured tool as `extensions.<tool>(args)`, e.g. `extensions.mcp__<server>_<tool>(args)`;" : "MCP tools OMP loaded in this session stay direct tool calls outside fabric_exec; call captured tools as `extensions.<tool>(args)`;") + " and stable providers as `memory.*`, `state.*`, `schema.*`, `compact.*`, `judgment.*` (calibrated choice/bool/score answers about one state), or `image.*` (`image.generate(prompt, {aspectRatio, size, saveTo})` and `image.edit(prompt, [paths])` walk the configured model chain and attach the image to the result). 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.*`, `image.*`, `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.";