omp-fabric 1.25.35 → 1.26.1
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 +23 -1
- package/README.md +1 -0
- package/dist/chunks/{chunk-UKB5RJDP.js → chunk-BEFZRH76.js} +61 -1
- package/dist/chunks/{chunk-UKB5RJDP.js.map → chunk-BEFZRH76.js.map} +2 -2
- package/dist/chunks/{chunk-2C5YN36Y.js → chunk-GFUWAUL2.js} +15 -1
- package/dist/chunks/chunk-GFUWAUL2.js.map +7 -0
- package/dist/chunks/{chunk-JWC7B67Z.js → chunk-GGQ5MHXB.js} +62 -1
- package/dist/chunks/chunk-GGQ5MHXB.js.map +7 -0
- package/dist/chunks/{chunk-I2GBVR67.js → chunk-YHFQDI36.js} +3 -3
- package/dist/chunks/{chunk-53ZZTYHQ.js → chunk-YI4HU67V.js} +2 -2
- package/dist/config.d.ts +11 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/core/system-guidance.d.ts.map +1 -1
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +804 -136
- package/dist/fabric-runtime-state.js.map +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/dist/providers/image-provider.d.ts +46 -0
- package/dist/providers/image-provider.d.ts.map +1 -0
- package/dist/residency/host.js +3 -3
- package/dist/residency/omp-entry.js +3 -3
- package/dist/runtime/core-override-guest-types.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/ui/settings.d.ts.map +1 -1
- package/dist/ui/settings.js +126 -11
- package/dist/ui/settings.js.map +3 -3
- package/docs/architecture.md +1 -1
- package/docs/certification.md +1 -1
- package/docs/configuration.md +13 -1
- package/docs/image.md +79 -0
- package/package.json +1 -1
- package/dist/chunks/chunk-2C5YN36Y.js.map +0 -7
- package/dist/chunks/chunk-JWC7B67Z.js.map +0 -7
- /package/dist/chunks/{chunk-I2GBVR67.js.map → chunk-YHFQDI36.js.map} +0 -0
- /package/dist/chunks/{chunk-53ZZTYHQ.js.map → chunk-YI4HU67V.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -82,7 +82,7 @@ import "./chunks/chunk-DLXPTBPL.js";
|
|
|
82
82
|
import {
|
|
83
83
|
GUEST_TYPE_DECLARATIONS,
|
|
84
84
|
OMP_CORE_COMPATIBILITY_ARGUMENT_TYPE_NAMES
|
|
85
|
-
} from "./chunks/chunk-
|
|
85
|
+
} from "./chunks/chunk-BEFZRH76.js";
|
|
86
86
|
import {
|
|
87
87
|
NESTED_TOOL_CALL_ID_PREFIX,
|
|
88
88
|
getActiveRepairCompiler,
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
modelOutputBudget,
|
|
205
205
|
resolveAgentDir,
|
|
206
206
|
saveFabricConfig
|
|
207
|
-
} from "./chunks/chunk-
|
|
207
|
+
} from "./chunks/chunk-GGQ5MHXB.js";
|
|
208
208
|
import {
|
|
209
209
|
FABRIC_ACTOR_OMP_HOST_EVENTS
|
|
210
210
|
} from "./chunks/chunk-3LI7YO4M.js";
|
|
@@ -2250,7 +2250,7 @@ var fabricExecutionKernelGuidance = (fullCodeMode, deniedCoreTools = []) => [
|
|
|
2250
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."] : [],
|
|
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
|
-
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.*`,
|
|
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.";
|
|
2254
2254
|
var manifestNameCache = /* @__PURE__ */ new Map();
|
|
2255
2255
|
var isFilesystemSourcePath = (value) => path4.posix.isAbsolute(value) || path4.win32.isAbsolute(value);
|
|
2256
2256
|
var packageNameFromManifest = (startPath) => {
|