omp-fabric 1.18.3 → 1.19.0
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 +14 -0
- package/dist/chunks/{chunk-N5DHCLLX.js → chunk-4J65SMNI.js} +4 -4
- package/dist/chunks/{chunk-T5ZA5YRU.js → chunk-52JBWP2C.js} +2 -2
- package/dist/chunks/{chunk-7OAFYAJC.js → chunk-5BFEXYPV.js} +3 -3
- package/dist/chunks/{chunk-6QBPSZJ5.js → chunk-BPMSLBX4.js} +2 -2
- package/dist/chunks/{chunk-C5JMLDIM.js → chunk-DC3KUZQ5.js} +2 -2
- package/dist/chunks/{chunk-BMIE4PIL.js → chunk-DTG3DYVC.js} +3 -3
- package/dist/chunks/{chunk-GIBZGL4G.js → chunk-HKRSGUUQ.js} +2 -2
- package/dist/chunks/{chunk-FX3XLQYI.js → chunk-MQSRZC2O.js} +2 -2
- package/dist/chunks/{chunk-2LGLDM34.js → chunk-R4EFMCIY.js} +5 -3
- package/dist/chunks/{chunk-2LGLDM34.js.map → chunk-R4EFMCIY.js.map} +2 -2
- package/dist/chunks/{chunk-2KEWFW56.js → chunk-SDZXNTBF.js} +2 -2
- package/dist/chunks/{chunk-X3XY6SAU.js → chunk-SRC6ERTE.js} +4 -4
- package/dist/chunks/{chunk-RBA54WC7.js → chunk-X2SKPWJA.js} +1 -1
- package/dist/chunks/{chunk-RBA54WC7.js.map → chunk-X2SKPWJA.js.map} +1 -1
- package/dist/chunks/{chunk-4HQDSTHN.js → chunk-YBNCEX5E.js} +2 -2
- package/dist/chunks/{chunk-VYB7ROEH.js → chunk-YE3CSYYB.js} +3 -3
- package/dist/chunks/{chunk-WMB6QCWX.js → chunk-Z5YXOMNU.js} +2 -2
- package/dist/chunks/{chunk-6N4XGAZY.js → chunk-ZFMSJLQE.js} +6 -2
- package/dist/chunks/{chunk-6N4XGAZY.js.map → chunk-ZFMSJLQE.js.map} +2 -2
- package/dist/compaction/hook.js +4 -4
- package/dist/compaction/lcm-runtime.js +5 -5
- package/dist/core/action-registry.d.ts.map +1 -1
- package/dist/core/action-registry.js +4 -4
- package/dist/core/omp-tools.d.ts +3 -0
- package/dist/core/omp-tools.d.ts.map +1 -1
- package/dist/core/system-guidance.d.ts +1 -1
- package/dist/core/system-guidance.d.ts.map +1 -1
- package/dist/core/tool-ownership.d.ts +2 -0
- package/dist/core/tool-ownership.d.ts.map +1 -1
- package/dist/entropy/index.js +6 -6
- package/dist/fabric-runtime-state.d.ts +2 -0
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +38 -23
- package/dist/fabric-runtime-state.js.map +3 -3
- package/dist/fabric-state.d.ts +1 -0
- package/dist/fabric-state.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +38 -18
- 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/protocol.d.ts +2 -0
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +1 -1
- package/dist/providers/memory-provider.js +7 -7
- package/dist/providers/omp-tools-provider.d.ts +5 -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 +1 -1
- package/dist/runtime/node-process-runtime.js +1 -1
- package/dist/ui/settings.js +3 -3
- package/dist/ui/settings.js.map +2 -2
- package/docs/configuration.md +3 -1
- package/package.json +1 -1
- package/skills/fabric-advisor/SKILL.md +1 -1
- package/skills/fabric-ambient/SKILL.md +1 -1
- /package/dist/chunks/{chunk-N5DHCLLX.js.map → chunk-4J65SMNI.js.map} +0 -0
- /package/dist/chunks/{chunk-T5ZA5YRU.js.map → chunk-52JBWP2C.js.map} +0 -0
- /package/dist/chunks/{chunk-7OAFYAJC.js.map → chunk-5BFEXYPV.js.map} +0 -0
- /package/dist/chunks/{chunk-6QBPSZJ5.js.map → chunk-BPMSLBX4.js.map} +0 -0
- /package/dist/chunks/{chunk-C5JMLDIM.js.map → chunk-DC3KUZQ5.js.map} +0 -0
- /package/dist/chunks/{chunk-BMIE4PIL.js.map → chunk-DTG3DYVC.js.map} +0 -0
- /package/dist/chunks/{chunk-GIBZGL4G.js.map → chunk-HKRSGUUQ.js.map} +0 -0
- /package/dist/chunks/{chunk-FX3XLQYI.js.map → chunk-MQSRZC2O.js.map} +0 -0
- /package/dist/chunks/{chunk-2KEWFW56.js.map → chunk-SDZXNTBF.js.map} +0 -0
- /package/dist/chunks/{chunk-X3XY6SAU.js.map → chunk-SRC6ERTE.js.map} +0 -0
- /package/dist/chunks/{chunk-4HQDSTHN.js.map → chunk-YBNCEX5E.js.map} +0 -0
- /package/dist/chunks/{chunk-VYB7ROEH.js.map → chunk-YE3CSYYB.js.map} +0 -0
- /package/dist/chunks/{chunk-WMB6QCWX.js.map → chunk-Z5YXOMNU.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.19.0
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- `omp.*` no longer reaches a core tool OMP itself has turned off. Discovery omits the denied names, and a call rejects with `OMP tool bash is not permitted by OMP's active tool selection`; a child worker's inherited `OMP_FABRIC_TOOL_ALLOWLIST` keeps its own message and the two intersect. A denied name is refused before the registry's name repair runs, because a hidden action otherwise looks like a typo: with `grep` denied, `omp.grep({ pattern, path })` repaired into `omp.find` through the shared synonym class and searched for filenames, which validates and answers the wrong question. Providers declare this through the optional `denialMessage(actionName)` hook. The authority is the host's active set with Fabric's own hiding undone, because full code mode removes the native core tools before the runtime activates: reading `getActiveTools()` at that moment returns `["fabric_exec", "task"]`, measured by driving the extension entry, which would have denied all seven core calls in the only mode where the adapter is installed. It is read per call rather than snapshotted, so toggling a tool takes effect without rebuilding the runtime, and an empty host set reads as unknown and denies nothing.
|
|
8
|
+
- The kernel guidance names the denied core tools for the session and stops recommending `omp.edit`/`omp.write` when the host has turned them off, so the model is not steered toward a call that can only fail. The guest type declaration is unchanged: property-existence diagnostics (TS2339) are deliberately dropped by the guest checker, so narrowing the declared surface would have been decoration rather than a gate.
|
|
9
|
+
|
|
10
|
+
## 1.18.4
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Full code mode names the file-editing path. It hides OMP's native `edit` and `write` from the model by default — `effectiveToolCaptureConfig` strips every core name but `fabric_exec` from `keepVisible` — while the guidance mentioned `omp.edit`/`omp.write` only as return-shape examples, so a model that had lost its edit tool reached for `omp.bash` and tried to reshape TypeScript through `sed`, a heredoc and `node -e` across three consecutive turns before reverting its own work with `git checkout`. The clause states a preference rather than a prohibition, so shell-driven formatters and codemods stay allowed, which is what `prewalk.detectShellWrites` exists to catch; and it rides `fabricExecutionKernelGuidance` rather than the replaceable execution slot, so a custom execution profile registered with `placement: "replace"` cannot delete it. An `omp.write` / `omp.read` round-trip of a payload carrying backticks, `${}`, a backslash, an escaped quote, `\u00e9` and an emoji returns byte-identical at 223 of 223 characters, so the edit path itself was never the defect.
|
|
15
|
+
- The advisor no longer prescribes tools it has not seen. Its prompt receives the parent event and recent transcript but never the host's tool surface, and on the escaping failure above it emitted a blocker telling the main agent to use "the session's native `write` or `edit` tool directly on the file path" — advice full code mode makes impossible to follow. Both advisor prompts now require transcript evidence that a tool is callable before naming it, and state that the main agent's file tools are `omp.edit`/`omp.write` under full code mode. The copy in `fabric-ambient` is corrected alongside `fabric-advisor`, since both create the same `advisor` actor through the same setup program.
|
|
16
|
+
|
|
3
17
|
## 1.18.3
|
|
4
18
|
|
|
5
19
|
### Fixed
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
loadTieredIndex,
|
|
9
9
|
reconstructSessionLineage,
|
|
10
10
|
searchMemoryIndex
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SDZXNTBF.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-
|
|
26
|
+
} from "./chunk-MQSRZC2O.js";
|
|
27
27
|
import {
|
|
28
28
|
expandSessionEntriesChecked,
|
|
29
29
|
normalizeSession
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BPMSLBX4.js";
|
|
31
31
|
import {
|
|
32
32
|
hash,
|
|
33
33
|
hashLcmPayload,
|
|
@@ -2467,4 +2467,4 @@ export {
|
|
|
2467
2467
|
normalizeMemoryArgs,
|
|
2468
2468
|
MemoryProvider
|
|
2469
2469
|
};
|
|
2470
|
-
//# sourceMappingURL=chunk-
|
|
2470
|
+
//# sourceMappingURL=chunk-4J65SMNI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isOmpShellRef
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZFMSJLQE.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-
|
|
786
|
+
//# sourceMappingURL=chunk-52JBWP2C.js.map
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
lifecycleSourceIdentity,
|
|
11
11
|
loadModelUsage,
|
|
12
12
|
useBudgetLedger
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YE3CSYYB.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeModelAliases,
|
|
16
16
|
resolveAvailableOmpModel
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HKRSGUUQ.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-
|
|
688
|
+
//# sourceMappingURL=chunk-5BFEXYPV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readFabricBranchSummaryDetails,
|
|
3
3
|
readFabricProjectionTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YBNCEX5E.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-
|
|
647
|
+
//# sourceMappingURL=chunk-BPMSLBX4.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-NX2G7BRO.js";
|
|
7
7
|
import {
|
|
8
8
|
rawContextTokens
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z5YXOMNU.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-
|
|
466
|
+
//# sourceMappingURL=chunk-DC3KUZQ5.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
sessionDirsForCwd,
|
|
15
15
|
sessionsDirRoot
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MQSRZC2O.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-
|
|
28
|
+
} from "./chunk-52JBWP2C.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-
|
|
2211
|
+
//# sourceMappingURL=chunk-DTG3DYVC.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-KAD7UWT2.js";
|
|
11
11
|
import {
|
|
12
12
|
OMP_CORE_TOOL_NAME_SET
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZFMSJLQE.js";
|
|
14
14
|
|
|
15
15
|
// src/core/model-resolution.ts
|
|
16
16
|
var PROVIDER_MODEL_RE = /^[^\s/]+\/[^\s/]+$/;
|
|
@@ -1603,4 +1603,4 @@ export {
|
|
|
1603
1603
|
saveFabricConfig,
|
|
1604
1604
|
resolveAgentDir
|
|
1605
1605
|
};
|
|
1606
|
-
//# sourceMappingURL=chunk-
|
|
1606
|
+
//# sourceMappingURL=chunk-HKRSGUUQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSessionHeader
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BPMSLBX4.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-
|
|
255
|
+
//# sourceMappingURL=chunk-MQSRZC2O.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-4A4MVZQW.js";
|
|
13
13
|
import {
|
|
14
14
|
FABRIC_NESTED_TOOL_CALL_ID_PREFIX
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X2SKPWJA.js";
|
|
16
16
|
import {
|
|
17
17
|
stableJsonHash
|
|
18
18
|
} from "./chunk-7363CD5A.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
FabricResolutionError,
|
|
21
21
|
FabricTraceSafeError,
|
|
22
22
|
executionOutcomeFromError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-52JBWP2C.js";
|
|
24
24
|
|
|
25
25
|
// src/core/action-registry.ts
|
|
26
26
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
@@ -1515,6 +1515,8 @@ var ActionRegistry = class {
|
|
|
1515
1515
|
suggestions: []
|
|
1516
1516
|
};
|
|
1517
1517
|
}
|
|
1518
|
+
const denial = provider.denialMessage?.(actionName);
|
|
1519
|
+
if (denial) throw new FabricResolutionError(denial);
|
|
1518
1520
|
if (!allowRepair) return { suggestions: [] };
|
|
1519
1521
|
const declared = (await this.#declaredActionNames(provider, context)).filter(
|
|
1520
1522
|
(name) => !activeQuarantinedRefNames().has(`${provider.name}.${name}`)
|
|
@@ -1611,4 +1613,4 @@ export {
|
|
|
1611
1613
|
NESTED_TOOL_CALL_ID_PREFIX,
|
|
1612
1614
|
ActionRegistry
|
|
1613
1615
|
};
|
|
1614
|
-
//# sourceMappingURL=chunk-
|
|
1616
|
+
//# sourceMappingURL=chunk-R4EFMCIY.js.map
|