omp-fabric 1.26.11 → 1.26.12
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 +19 -1
- package/dist/agents/manager.d.ts.map +1 -1
- package/dist/chunks/{chunk-TNVJ2DKM.js → chunk-2T6EHZ5G.js} +7 -4
- package/dist/chunks/chunk-2T6EHZ5G.js.map +7 -0
- package/dist/chunks/{chunk-J2BDKPO4.js → chunk-3QPIB3H2.js} +4 -4
- package/dist/chunks/{chunk-Z3KAY6S7.js → chunk-5EZWERJY.js} +4 -4
- package/dist/chunks/{chunk-Z6TTRT6Q.js → chunk-6IPXBDCA.js} +2 -2
- package/dist/chunks/{chunk-ATTYOQSI.js → chunk-6YR6XPNF.js} +7 -2
- package/dist/chunks/{chunk-ATTYOQSI.js.map → chunk-6YR6XPNF.js.map} +2 -2
- package/dist/chunks/{chunk-5MRBI3JB.js → chunk-7KKE52AS.js} +3 -3
- package/dist/chunks/{chunk-Q2LRXHPR.js → chunk-CA2P7NLW.js} +2 -2
- package/dist/chunks/{chunk-CEDP5WMR.js → chunk-G3VKU6GZ.js} +2 -2
- package/dist/chunks/{chunk-LWHQR2JY.js → chunk-HWOL2YVU.js} +2 -2
- package/dist/chunks/{chunk-BWLZ6VDQ.js → chunk-PTYCFQEH.js} +2 -2
- package/dist/chunks/{chunk-GGQ5MHXB.js → chunk-RGE6MBYP.js} +2 -2
- package/dist/chunks/{chunk-E3KTE736.js → chunk-TF3MK3TH.js} +3 -3
- package/dist/chunks/{chunk-FL4A542C.js → chunk-V7DLSDFO.js} +2 -2
- package/dist/chunks/{chunk-AZBJNZS4.js → chunk-VE3FWDRH.js} +2 -2
- package/dist/chunks/{chunk-WX6C7N3W.js → chunk-YLMDFMXM.js} +2 -2
- package/dist/compaction/hook.js +4 -4
- package/dist/compaction/lcm-runtime.js +5 -5
- package/dist/core/action-registry.js +3 -3
- package/dist/core/omp-tools.d.ts +2 -0
- package/dist/core/omp-tools.d.ts.map +1 -1
- package/dist/entropy/index.js +6 -6
- package/dist/fabric-runtime-state.js +25 -17
- package/dist/fabric-runtime-state.js.map +2 -2
- package/dist/index.js +11 -11
- 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 +6 -2
- package/dist/providers/omp-session-scope.d.ts.map +1 -1
- package/dist/providers/omp-tools-provider.d.ts +3 -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 +2 -2
- package/docs/agents.md +2 -0
- package/docs/certification.md +1 -1
- package/package.json +8 -8
- package/dist/chunks/chunk-TNVJ2DKM.js.map +0 -7
- /package/dist/chunks/{chunk-J2BDKPO4.js.map → chunk-3QPIB3H2.js.map} +0 -0
- /package/dist/chunks/{chunk-Z3KAY6S7.js.map → chunk-5EZWERJY.js.map} +0 -0
- /package/dist/chunks/{chunk-Z6TTRT6Q.js.map → chunk-6IPXBDCA.js.map} +0 -0
- /package/dist/chunks/{chunk-5MRBI3JB.js.map → chunk-7KKE52AS.js.map} +0 -0
- /package/dist/chunks/{chunk-Q2LRXHPR.js.map → chunk-CA2P7NLW.js.map} +0 -0
- /package/dist/chunks/{chunk-CEDP5WMR.js.map → chunk-G3VKU6GZ.js.map} +0 -0
- /package/dist/chunks/{chunk-LWHQR2JY.js.map → chunk-HWOL2YVU.js.map} +0 -0
- /package/dist/chunks/{chunk-BWLZ6VDQ.js.map → chunk-PTYCFQEH.js.map} +0 -0
- /package/dist/chunks/{chunk-GGQ5MHXB.js.map → chunk-RGE6MBYP.js.map} +0 -0
- /package/dist/chunks/{chunk-E3KTE736.js.map → chunk-TF3MK3TH.js.map} +0 -0
- /package/dist/chunks/{chunk-FL4A542C.js.map → chunk-V7DLSDFO.js.map} +0 -0
- /package/dist/chunks/{chunk-AZBJNZS4.js.map → chunk-VE3FWDRH.js.map} +0 -0
- /package/dist/chunks/{chunk-WX6C7N3W.js.map → chunk-YLMDFMXM.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.26.12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- A child omp launched with `find` or `ls` in its tool list aborted at startup. `omp --mode rpc --tools=ls` exits with "Unknown tool in --tools: ls", and #10 reports `--tools=find` aborting with "Built-in tool unavailable in this session: find"; the 18.18.8 host starts with `--tools=find` under `--no-extensions`, so that abort depends on the session. Fabric now launches an OMP child with host tool names: `find` goes out as `glob` and `ls` is left out. This is the change proposed in #10 by UnderCooled.
|
|
8
|
+
- The rename alone made `omp.find` unusable inside such a child. The child's nested allowlist is written in the same names, and the provider compared the guest name `find` against an allowlist that now held `glob`, so every `omp.find` was refused as outside the child's tool allowlist. The provider compares the host name of a core tool. A launch-probe test pins `--tools read,glob` together with an allowlist of `read,glob` for a request of `read,find,ls`, and a provider test pins that `read,glob` lists `read` and `find`; each fails with the fix reverted.
|
|
9
|
+
- Host 18.18 puts the bash renderer's `ShellTrace` in `details.trace`, and its history repeats the command output as text. A 200000 character command returned 406976 characters, 206940 of them in `details`, and `echo hi` carried 1403 characters of trace. Under a nested result budget the whole result then collapsed to a preview and the artifact note was lost. `normalizeResult` drops `details.trace`, as it already drops the write tool's `codePreviewBeforeWrite`. The new test and the existing artifact-note test both fail with the strip reverted.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- On 18.18 `AgentRegistry.global()` returns `AgentRegistryApi`, and a registry ref holds an `AgentSessionHandle` that has no `asyncJobManager`, `getAgentId` or `settings`; those exist on the local `AgentSession` only. `liveAgentSession` reads them as optional members, so a handle from a thread bridge yields no job scope and no task-depth setting instead of a TypeError. `OmpSessionIdentity.getAgentRegistry` and `OmpJobScope.manager` now use the host's `AgentRegistryApi` and `AsyncJobManagerApi`. With the pins moved and no source change, `tsc` reported four errors.
|
|
14
|
+
|
|
15
|
+
### Notes
|
|
16
|
+
|
|
17
|
+
- Host pins move from 18.14.1 to 18.18.8 (dependencies pi-agent-core, pi-ai, pi-utils; dev omptype, pi-coding-agent, pi-natives, pi-tui); the declared peer floor stays >=18.4.4. Of the 32 `@oh-my-pi/*` specifiers in `src`, `scripts` and `tests`, 30 resolve in the packed 18.18.8 export maps; `omptype/typebox` and `pi-natives` come from the installed pins. The 18.18.2 breaking changes (`SessionStorage.hasAssistantTurn`, `logoutCredential`) do not reach fabric, which references neither.
|
|
18
|
+
- Typecheck, build, dead-code lint and the full suite pass on ubuntu and windows (run 42959837454 at 36532e1). Windows shard 2 timed out in `lcm-yielding` and `lcm-scheduler` on the first run of the host bump (30 s limit, 36.9 s and 44.7 s) and passed on rerun; the cause is not diagnosed.
|
|
19
|
+
- `docs/certification.md` names 18.18.8 as the pinned host. At that host the package root exports `SessionManager` and `buildSessionContext` and none of `prepareCompaction`, `shouldCompact` or `buildContextEntries`, and compaction and the legacy shim resolve `prepareCompaction`, `shouldCompact` and `estimateTokens`.
|
|
20
|
+
|
|
3
21
|
## 1.26.11
|
|
4
22
|
|
|
5
23
|
### Fixed
|
|
@@ -10,7 +28,7 @@
|
|
|
10
28
|
|
|
11
29
|
- Host pins move from 18.13.1 to 18.14.1 (dependencies pi-agent-core, pi-ai, pi-utils; dev omptype, pi-coding-agent, pi-natives, pi-tui); the declared peer floor stays >=18.4.4. All 59 names fabric imports resolve against the running 18.14.1 host. The 18.14.0 breaking changes (custom tool loaders taking `cwd`, the WebMCP rewrite) do not reach fabric: `customToolToDefinition(tool, sourcePath?)` is unchanged and fabric uses no WebMCP helper.
|
|
12
30
|
- `tests/codemap-budget-wall.test.ts` builds 1,500 files instead of 300. The 18.14.1 natives index the old fixture in about 230 ms, well under the 400 ms budget, so it never reached the truncation it exists to test; the larger fixture takes about 1.3 s unbudgeted and truncates at the budget.
|
|
13
|
-
- OMP 18.13.
|
|
31
|
+
- OMP 18.13.3 and later refuse to run their JavaScript entry under Bun older than 1.4.4 (`engines.bun` moved from `>=1.3.14` to `>=1.4.4` in 18.13.3; that is the source of `MIN_BUN_VERSION`). `bun run` puts `node_modules/.bin/omp` (the dev host's `cli.js`) first on `PATH`, so the resident-host tests fail on an older system Bun even though the compiled `omp` binary ships its own Bun 1.4.4. Development needs Bun >= 1.4.4; CI already installs the latest release.
|
|
14
32
|
|
|
15
33
|
## 1.26.10
|
|
16
34
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/agents/manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/agents/manager.ts"],"names":[],"mappings":"AAMA,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EAEtB,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AAgBzB,OAAO,KAAK,EAEV,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,cAAc,EACd,eAAe,EACf,cAAc,EAEd,gBAAgB,EAIjB,MAAM,YAAY,CAAC;AAYpB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAwB9D,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,uBAAuB,CAAC;AAkB/B,eAAO,MAAM,uBAAuB,GAClC,qBAAqB,MAAM,EAC3B,qBAAqB,MAAM,KAC1B,MASF,CAAC;AAEF,UAAU,+BAA+B;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED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,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAO,GAAG,cAAc;IAkBnF,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,gBAAgB;IAKpE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,gBAAgB;IAgBvE,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,gBAAgB;IAIvE,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,gBAAgB;IAUvE,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,gBAAgB;IA4BtD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAonB7B"}
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
peerLabelPrefix,
|
|
23
23
|
writeHandoffSession
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CA2P7NLW.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_FABRIC_CONFIG,
|
|
27
27
|
MAX_AGENT_TIMEOUT_MS,
|
|
28
28
|
MIN_AGENT_TIMEOUT_MS,
|
|
29
29
|
resolveAgentDir
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RGE6MBYP.js";
|
|
31
31
|
import {
|
|
32
32
|
FABRIC_ACTOR_HOST_EVENTS,
|
|
33
33
|
readJsonlPage
|
|
@@ -40,6 +40,9 @@ import {
|
|
|
40
40
|
writeFileAtomic,
|
|
41
41
|
writeJsonAtomic
|
|
42
42
|
} from "./chunk-KAD7UWT2.js";
|
|
43
|
+
import {
|
|
44
|
+
ompChildToolName
|
|
45
|
+
} from "./chunk-6YR6XPNF.js";
|
|
43
46
|
|
|
44
47
|
// src/core/model-usage.ts
|
|
45
48
|
import { readFileSync } from "node:fs";
|
|
@@ -2974,7 +2977,7 @@ var AgentManager = class {
|
|
|
2974
2977
|
const tools = [
|
|
2975
2978
|
...request.tools ?? this.config.defaultTools,
|
|
2976
2979
|
...request.addTools ?? []
|
|
2977
|
-
].filter((tool) => tool !== "fabric_exec");
|
|
2980
|
+
].filter((tool) => tool !== "fabric_exec").map((tool) => runner === "omp" ? ompChildToolName(tool) : tool).filter((tool) => tool !== void 0);
|
|
2978
2981
|
const extensions = request.recursive === true ? true : request.extensions ?? this.config.extensions;
|
|
2979
2982
|
if (runner === "omp" && (request.recursive || this.#fullCodeMode && extensions)) {
|
|
2980
2983
|
tools.push("fabric_exec");
|
|
@@ -7001,4 +7004,4 @@ export {
|
|
|
7001
7004
|
agentParticipantRecords,
|
|
7002
7005
|
actorParticipantRecord
|
|
7003
7006
|
};
|
|
7004
|
-
//# sourceMappingURL=chunk-
|
|
7007
|
+
//# sourceMappingURL=chunk-2T6EHZ5G.js.map
|