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.
- package/CHANGELOG.md +26 -0
- package/dist/chunks/{chunk-JXNXHUIJ.js → chunk-3BS4RMF4.js} +2 -2
- package/dist/chunks/{chunk-4XJHCLTX.js → chunk-3KORI7FQ.js} +2 -2
- package/dist/chunks/{chunk-B7HOWHPZ.js → chunk-63VIZJGS.js} +2 -2
- package/dist/chunks/{chunk-FT2W4VE2.js → chunk-6G25AUGA.js} +4 -2
- package/dist/chunks/chunk-6G25AUGA.js.map +7 -0
- package/dist/chunks/{chunk-XABWRKSU.js → chunk-ABBGHQVX.js} +3 -3
- package/dist/chunks/{chunk-OHPTGVDK.js → chunk-ATTYOQSI.js} +6 -2
- package/dist/chunks/chunk-ATTYOQSI.js.map +7 -0
- package/dist/chunks/{chunk-NBA7CEFR.js → chunk-BQG4LFAC.js} +2 -2
- package/dist/chunks/{chunk-KLJLDI3E.js → chunk-EZRC24CX.js} +3 -3
- package/dist/chunks/{chunk-GE53G4VR.js → chunk-G3ELO3QC.js} +2 -2
- package/dist/chunks/{chunk-AEZ7VF5S.js → chunk-GPJV2FSP.js} +2 -2
- package/dist/chunks/{chunk-IGCIGSJW.js → chunk-H3KRHDDF.js} +2 -2
- package/dist/chunks/{chunk-RGAGLSFG.js → chunk-HAH64YUG.js} +3 -3
- package/dist/chunks/chunk-HAH64YUG.js.map +7 -0
- package/dist/chunks/{chunk-3LMPHRDQ.js → chunk-JBKYNJFN.js} +2 -2
- package/dist/chunks/{chunk-R5B3W46U.js → chunk-REHGQCXU.js} +4 -4
- package/dist/chunks/{chunk-D4ANGHR7.js → chunk-U4IE5SRM.js} +6 -4
- package/dist/chunks/chunk-U4IE5SRM.js.map +7 -0
- package/dist/chunks/{chunk-BQLRDSNL.js → chunk-WUPYPFAC.js} +3 -3
- package/dist/chunks/{chunk-UJEOKJMN.js → chunk-XLINRLLP.js} +4 -4
- package/dist/compaction/hook.js +4 -4
- package/dist/compaction/lcm-runtime.js +5 -5
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/core/action-registry.js +3 -3
- package/dist/core/omp-tools.d.ts +4 -1
- package/dist/core/omp-tools.d.ts.map +1 -1
- package/dist/core/system-guidance.d.ts.map +1 -1
- package/dist/entropy/index.js +6 -6
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +62 -31
- package/dist/fabric-runtime-state.js.map +2 -2
- package/dist/index.js +15 -13
- package/dist/index.js.map +2 -2
- package/dist/memory/discovery.js +5 -5
- package/dist/memory/normalize.js +4 -4
- package/dist/memory/search.js +5 -5
- package/dist/providers/memory-provider.js +7 -7
- package/dist/providers/omp-session-scope.d.ts +1 -2
- package/dist/providers/omp-session-scope.d.ts.map +1 -1
- package/dist/providers/omp-tools-provider.d.ts +2 -2
- package/dist/providers/omp-tools-provider.d.ts.map +1 -1
- package/dist/residency/host.js +8 -8
- package/dist/residency/omp-entry.js +8 -8
- package/dist/runtime/core-override-guest-types.js +2 -2
- package/dist/runtime/guest-types.d.ts +1 -1
- package/dist/runtime/guest-types.d.ts.map +1 -1
- package/dist/runtime/guest-types.js +1 -1
- package/dist/runtime/node-process-runtime.js +2 -2
- package/dist/runtime/quickjs-runtime.d.ts +1 -1
- package/dist/runtime/quickjs-runtime.d.ts.map +1 -1
- package/dist/runtime/quickjs-runtime.js +1 -1
- package/dist/ui/settings.d.ts.map +1 -1
- package/dist/ui/settings.js +7 -3
- package/dist/ui/settings.js.map +2 -2
- package/docs/certification.md +1 -1
- package/docs/providers.md +3 -3
- package/package.json +8 -8
- package/skills/fabric-exec/SKILL.md +2 -1
- package/dist/chunks/chunk-D4ANGHR7.js.map +0 -7
- package/dist/chunks/chunk-FT2W4VE2.js.map +0 -7
- package/dist/chunks/chunk-OHPTGVDK.js.map +0 -7
- package/dist/chunks/chunk-RGAGLSFG.js.map +0 -7
- /package/dist/chunks/{chunk-JXNXHUIJ.js.map → chunk-3BS4RMF4.js.map} +0 -0
- /package/dist/chunks/{chunk-4XJHCLTX.js.map → chunk-3KORI7FQ.js.map} +0 -0
- /package/dist/chunks/{chunk-B7HOWHPZ.js.map → chunk-63VIZJGS.js.map} +0 -0
- /package/dist/chunks/{chunk-XABWRKSU.js.map → chunk-ABBGHQVX.js.map} +0 -0
- /package/dist/chunks/{chunk-NBA7CEFR.js.map → chunk-BQG4LFAC.js.map} +0 -0
- /package/dist/chunks/{chunk-KLJLDI3E.js.map → chunk-EZRC24CX.js.map} +0 -0
- /package/dist/chunks/{chunk-GE53G4VR.js.map → chunk-G3ELO3QC.js.map} +0 -0
- /package/dist/chunks/{chunk-AEZ7VF5S.js.map → chunk-GPJV2FSP.js.map} +0 -0
- /package/dist/chunks/{chunk-IGCIGSJW.js.map → chunk-H3KRHDDF.js.map} +0 -0
- /package/dist/chunks/{chunk-3LMPHRDQ.js.map → chunk-JBKYNJFN.js.map} +0 -0
- /package/dist/chunks/{chunk-R5B3W46U.js.map → chunk-REHGQCXU.js.map} +0 -0
- /package/dist/chunks/{chunk-BQLRDSNL.js.map → chunk-WUPYPFAC.js.map} +0 -0
- /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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
177
|
-
import "./chunks/chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
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();
|