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/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-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-
|
|
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-
|
|
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-
|
|
178
|
-
import "./chunks/chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
264
|
+
} from "./chunks/chunk-6YR6XPNF.js";
|
|
265
265
|
|
|
266
266
|
// src/ui/code-preview-shell.ts
|
|
267
267
|
import "@oh-my-pi/pi-tui";
|
package/dist/memory/discovery.js
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
sessionDirNamesForCwd,
|
|
10
10
|
sessionDirsForCwd,
|
|
11
11
|
sessionsDirRoot
|
|
12
|
-
} from "../chunks/chunk-
|
|
13
|
-
import "../chunks/chunk-
|
|
14
|
-
import "../chunks/chunk-
|
|
15
|
-
import "../chunks/chunk-
|
|
16
|
-
import "../chunks/chunk-
|
|
12
|
+
} from "../chunks/chunk-YLMDFMXM.js";
|
|
13
|
+
import "../chunks/chunk-6IPXBDCA.js";
|
|
14
|
+
import "../chunks/chunk-VE3FWDRH.js";
|
|
15
|
+
import "../chunks/chunk-V7DLSDFO.js";
|
|
16
|
+
import "../chunks/chunk-6YR6XPNF.js";
|
|
17
17
|
export {
|
|
18
18
|
AmbiguousSessionError,
|
|
19
19
|
InvalidProjectScopeError,
|
package/dist/memory/normalize.js
CHANGED
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
extractFullText,
|
|
7
7
|
normalizeSession,
|
|
8
8
|
readSessionHeader
|
|
9
|
-
} from "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-
|
|
9
|
+
} from "../chunks/chunk-6IPXBDCA.js";
|
|
10
|
+
import "../chunks/chunk-VE3FWDRH.js";
|
|
11
|
+
import "../chunks/chunk-V7DLSDFO.js";
|
|
12
|
+
import "../chunks/chunk-6YR6XPNF.js";
|
|
13
13
|
export {
|
|
14
14
|
DEFAULT_MEMORY_INDEX_PRIVACY,
|
|
15
15
|
expandSessionEntries,
|
package/dist/memory/search.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
DEFAULT_REGEX_TIMEOUT_MS,
|
|
6
6
|
searchMemoryIndex,
|
|
7
7
|
searchShards
|
|
8
|
-
} from "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-PTYCFQEH.js";
|
|
9
9
|
import "../chunks/chunk-U5FYOMG5.js";
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-
|
|
13
|
-
import "../chunks/chunk-
|
|
10
|
+
import "../chunks/chunk-6IPXBDCA.js";
|
|
11
|
+
import "../chunks/chunk-VE3FWDRH.js";
|
|
12
|
+
import "../chunks/chunk-V7DLSDFO.js";
|
|
13
|
+
import "../chunks/chunk-6YR6XPNF.js";
|
|
14
14
|
export {
|
|
15
15
|
DEFAULT_REGEX_MAX_HAYSTACK_BYTES,
|
|
16
16
|
DEFAULT_REGEX_MAX_HAYSTACK_TERMS,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MemoryProvider,
|
|
3
3
|
normalizeMemoryArgs
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-3QPIB3H2.js";
|
|
5
|
+
import "../chunks/chunk-PTYCFQEH.js";
|
|
6
6
|
import "../chunks/chunk-U5FYOMG5.js";
|
|
7
|
-
import "../chunks/chunk-
|
|
8
|
-
import "../chunks/chunk-
|
|
7
|
+
import "../chunks/chunk-YLMDFMXM.js";
|
|
8
|
+
import "../chunks/chunk-6IPXBDCA.js";
|
|
9
9
|
import "../chunks/chunk-ZHDN5ESL.js";
|
|
10
10
|
import "../chunks/chunk-UAP6IQIR.js";
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-
|
|
13
|
-
import "../chunks/chunk-
|
|
11
|
+
import "../chunks/chunk-VE3FWDRH.js";
|
|
12
|
+
import "../chunks/chunk-V7DLSDFO.js";
|
|
13
|
+
import "../chunks/chunk-6YR6XPNF.js";
|
|
14
14
|
export {
|
|
15
15
|
MemoryProvider,
|
|
16
16
|
normalizeMemoryArgs
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type AgentSession } from "@oh-my-pi/pi-coding-agent";
|
|
2
|
+
import type { AsyncJobManagerApi } from "@oh-my-pi/pi-coding-agent/async";
|
|
3
|
+
import type { AgentSessionHandle } from "@oh-my-pi/pi-coding-agent/session/agent-session-handle";
|
|
4
|
+
export type LiveAgentSession = AgentSessionHandle & Partial<Pick<AgentSession, "asyncJobManager" | "getAgentId" | "settings">>;
|
|
5
|
+
export declare const liveAgentSession: (session: AgentSessionHandle) => LiveAgentSession;
|
|
2
6
|
export interface OmpJobScope {
|
|
3
|
-
manager:
|
|
7
|
+
manager: AsyncJobManagerApi;
|
|
4
8
|
agentId: () => string | null;
|
|
5
9
|
}
|
|
6
10
|
/** Job scope for one session identity; the owner id is re-resolved per call because `/new` re-mints it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"omp-session-scope.d.ts","sourceRoot":"","sources":["../../src/providers/omp-session-scope.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"omp-session-scope.d.ts","sourceRoot":"","sources":["../../src/providers/omp-session-scope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAGjG,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAC7C,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,iBAAiB,GAAG,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC;AAE/E,eAAO,MAAM,gBAAgB,GAAI,SAAS,kBAAkB,KAAG,gBAA+C,CAAC;AAmB/G,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,2GAA2G;AAC3G,eAAO,MAAM,WAAW,GAAI,cAAc,MAAM,MAAM,GAAG,IAAI,KAAG,WAAW,GAAG,SAO7E,CAAC;AAKF,eAAO,MAAM,uBAAuB,GAClC,MAAM,WAAW,GAAG,SAAS,EAC7B,eAAc,MAAM,OAA0B,EAC9C,iBAAgB,MAAM,OAAqB,KAC1C,MAAM,CAAC,MAAM,EAAE,OAAO,CAGvB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ToolSession } from "@oh-my-pi/pi-coding-agent";
|
|
2
|
+
import type { AgentRegistryApi } from "@oh-my-pi/pi-coding-agent/registry/agent-registry";
|
|
2
3
|
import type { ExtensionContext } from "@oh-my-pi/pi-coding-agent";
|
|
3
4
|
import { CapturedToolCatalog } from "../capture/catalog.js";
|
|
4
5
|
import type { FabricActionDescriptor, FabricInvocationContext, FabricProvider, FabricProviderListRequest } from "../protocol.js";
|
|
@@ -9,7 +10,7 @@ export interface OmpSessionIdentity {
|
|
|
9
10
|
getSessionFile?: () => string | null;
|
|
10
11
|
modelRegistry?: NonNullable<ToolSession["modelRegistry"]>;
|
|
11
12
|
getActiveModelString?: () => string | undefined;
|
|
12
|
-
getAgentRegistry?: () =>
|
|
13
|
+
getAgentRegistry?: () => AgentRegistryApi | undefined;
|
|
13
14
|
getAgentId?: () => string | null;
|
|
14
15
|
getTaskDepth?: () => number;
|
|
15
16
|
getTaskMaxRecursionDepth?: () => number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"omp-tools-provider.d.ts","sourceRoot":"","sources":["../../src/providers/omp-tools-provider.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"omp-tools-provider.d.ts","sourceRoot":"","sources":["../../src/providers/omp-tools-provider.ts"],"names":[],"mappings":"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"}
|
package/dist/residency/host.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runResidentHostFromConfigPath
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-7KKE52AS.js";
|
|
5
|
+
import "../chunks/chunk-2T6EHZ5G.js";
|
|
6
6
|
import "../chunks/chunk-VPPIJRNZ.js";
|
|
7
7
|
import "../chunks/chunk-JZWLICMS.js";
|
|
8
8
|
import "../chunks/chunk-CT2AJ2UI.js";
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
9
|
+
import "../chunks/chunk-CA2P7NLW.js";
|
|
10
|
+
import "../chunks/chunk-RGE6MBYP.js";
|
|
11
11
|
import "../chunks/chunk-3LI7YO4M.js";
|
|
12
12
|
import "../chunks/chunk-SKYNDRW5.js";
|
|
13
13
|
import "../chunks/chunk-JL3KVPFJ.js";
|
|
@@ -16,13 +16,13 @@ import "../chunks/chunk-77FQHHZD.js";
|
|
|
16
16
|
import "../chunks/chunk-7363CD5A.js";
|
|
17
17
|
import "../chunks/chunk-ED3BRM6P.js";
|
|
18
18
|
import "../chunks/chunk-KAD7UWT2.js";
|
|
19
|
-
import "../chunks/chunk-
|
|
19
|
+
import "../chunks/chunk-G3VKU6GZ.js";
|
|
20
20
|
import "../chunks/chunk-3J7BKUNG.js";
|
|
21
21
|
import "../chunks/chunk-QSRTEINF.js";
|
|
22
22
|
import "../chunks/chunk-UAP6IQIR.js";
|
|
23
|
-
import "../chunks/chunk-
|
|
24
|
-
import "../chunks/chunk-
|
|
25
|
-
import "../chunks/chunk-
|
|
23
|
+
import "../chunks/chunk-VE3FWDRH.js";
|
|
24
|
+
import "../chunks/chunk-V7DLSDFO.js";
|
|
25
|
+
import "../chunks/chunk-6YR6XPNF.js";
|
|
26
26
|
export {
|
|
27
27
|
runResidentHostFromConfigPath
|
|
28
28
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runResidentHostFromConfigPath
|
|
3
|
-
} from "../chunks/chunk-
|
|
4
|
-
import "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-7KKE52AS.js";
|
|
4
|
+
import "../chunks/chunk-2T6EHZ5G.js";
|
|
5
5
|
import "../chunks/chunk-VPPIJRNZ.js";
|
|
6
6
|
import "../chunks/chunk-JZWLICMS.js";
|
|
7
7
|
import "../chunks/chunk-CT2AJ2UI.js";
|
|
8
|
-
import "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
8
|
+
import "../chunks/chunk-CA2P7NLW.js";
|
|
9
|
+
import "../chunks/chunk-RGE6MBYP.js";
|
|
10
10
|
import "../chunks/chunk-3LI7YO4M.js";
|
|
11
11
|
import "../chunks/chunk-SKYNDRW5.js";
|
|
12
12
|
import "../chunks/chunk-JL3KVPFJ.js";
|
|
@@ -15,13 +15,13 @@ import "../chunks/chunk-77FQHHZD.js";
|
|
|
15
15
|
import "../chunks/chunk-7363CD5A.js";
|
|
16
16
|
import "../chunks/chunk-ED3BRM6P.js";
|
|
17
17
|
import "../chunks/chunk-KAD7UWT2.js";
|
|
18
|
-
import "../chunks/chunk-
|
|
18
|
+
import "../chunks/chunk-G3VKU6GZ.js";
|
|
19
19
|
import "../chunks/chunk-3J7BKUNG.js";
|
|
20
20
|
import "../chunks/chunk-QSRTEINF.js";
|
|
21
21
|
import "../chunks/chunk-UAP6IQIR.js";
|
|
22
|
-
import "../chunks/chunk-
|
|
23
|
-
import "../chunks/chunk-
|
|
24
|
-
import "../chunks/chunk-
|
|
22
|
+
import "../chunks/chunk-VE3FWDRH.js";
|
|
23
|
+
import "../chunks/chunk-V7DLSDFO.js";
|
|
24
|
+
import "../chunks/chunk-6YR6XPNF.js";
|
|
25
25
|
|
|
26
26
|
// src/residency/omp-entry.ts
|
|
27
27
|
var configPath = process.env.OMP_FABRIC_RESIDENT_CONFIG;
|
package/dist/ui/settings.js
CHANGED
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
maxExecutorMemoryLimitBytes,
|
|
28
28
|
resolveAgentDir,
|
|
29
29
|
saveFabricConfig
|
|
30
|
-
} from "../chunks/chunk-
|
|
30
|
+
} from "../chunks/chunk-RGE6MBYP.js";
|
|
31
31
|
import {
|
|
32
32
|
THINKING_LEVELS,
|
|
33
33
|
thinkingLabel
|
|
34
34
|
} from "../chunks/chunk-SKYNDRW5.js";
|
|
35
35
|
import "../chunks/chunk-KAD7UWT2.js";
|
|
36
36
|
import "../chunks/chunk-UAP6IQIR.js";
|
|
37
|
-
import "../chunks/chunk-
|
|
37
|
+
import "../chunks/chunk-6YR6XPNF.js";
|
|
38
38
|
|
|
39
39
|
// src/ui/settings.ts
|
|
40
40
|
import {
|
package/docs/agents.md
CHANGED
|
@@ -51,6 +51,8 @@ For OMP children, selecting `cwd` neither grants nor requires project trust. Fab
|
|
|
51
51
|
|
|
52
52
|
Extension-enabled OMP children inherit the parent’s full-code mode, including ordinary non-recursive leaves. They retain `fabric_exec` as the outer tool, and their optional `tools` allowlist also constrains nested OMP and captured-tool calls. `extensions: false` explicitly opts out; Claude/Veda and parents outside full-code mode keep their existing tool surfaces. Recursive children additionally receive the delegated `agent` risk. A launch-policy change requires `/reload` and newly launched children; it does not hot-swap an already running worker’s tools.
|
|
53
53
|
|
|
54
|
+
OMP children are launched with host tool names. Fabric passes `find` as `glob` and leaves out `ls`, which the host has no built-in for, so a child started with `tools: ["find"]` runs with `--tools glob`. The nested allowlist reads `glob` as `find`, so `omp.find` stays available to that child.
|
|
55
|
+
|
|
54
56
|
### Durable participant residency
|
|
55
57
|
|
|
56
58
|
`agents.spawn()` and `agents.create()` accept `residency: "session" | "durable"`. The default is `session`. It keeps the usual lifecycle: the current OMP host owns the participant and stops or suspends it when the host shuts down. The model chooses `durable` during execution. Users do not configure it as a setting.
|
package/docs/certification.md
CHANGED
|
@@ -23,7 +23,7 @@ The package command builds `dist/` first, then runs `scripts/certify-context.mjs
|
|
|
23
23
|
|
|
24
24
|
The harness builds a persisted session through OMP's `SessionManager`. Messages and compactions go in through its public methods. The active parent-linked branch comes back through `getBranch()`. Under deterministic settings (`contextWindow=64`, `reserveTokens=63`, `keepRecentTokens=1`), the harness performs exactly 100 Fabric compactions. Before every hook event it sums the host's `estimateTokens` over `SessionManager.buildSessionContext().messages`, applies `shouldCompact`, and requires `prepareCompaction` to return a preparation. It then invokes the callback registered by `registerCompactionHook` with OMP's `SessionBeforeCompactEvent` shape: `type`, `preparation`, `branchEntries`, an optional `customInstructions`, and `signal`. That event carries neither a compaction reason nor a retry flag, so certification asserts nothing about either.
|
|
25
25
|
|
|
26
|
-
The host package is `@oh-my-pi/pi-coding-agent`. Certification reads the installed version from its own `package.json` and checks it against the range `omp-fabric` declares in `peerDependencies`, so no certified version is hard-coded; a host outside the declared range aborts the run and reports both the range and the resolved version and path. Each function is then resolved from a supported entry point, and a missing one aborts the run naming the entry point: `SessionManager` and `buildSessionContext` from the package root, `estimateTokens` from `@oh-my-pi/pi-coding-agent/extensibility/legacy-pi-coding-agent-shim`, and `prepareCompaction` plus `shouldCompact` from `@oh-my-pi/pi-agent-core/compaction`. At the pinned 18.
|
|
26
|
+
The host package is `@oh-my-pi/pi-coding-agent`. Certification reads the installed version from its own `package.json` and checks it against the range `omp-fabric` declares in `peerDependencies`, so no certified version is hard-coded; a host outside the declared range aborts the run and reports both the range and the resolved version and path. Each function is then resolved from a supported entry point, and a missing one aborts the run naming the entry point: `SessionManager` and `buildSessionContext` from the package root, `estimateTokens` from `@oh-my-pi/pi-coding-agent/extensibility/legacy-pi-coding-agent-shim`, and `prepareCompaction` plus `shouldCompact` from `@oh-my-pi/pi-agent-core/compaction`. At the pinned 18.18.8 host the package root exports `SessionManager` and `buildSessionContext`, does not export `prepareCompaction` or `shouldCompact`, and has no `buildContextEntries` export at all; the report records each of those observations under `hostApi.rootExports`. No public API supplies a preparation unless an `AgentSession` runs with a model, so certification makes no claim past that.
|
|
27
27
|
|
|
28
28
|
Every persisted summary carries a cycle-unique `PRIOR_SUMMARY_POISON_991_…` suffix inside the actual `CompactionEntry`. On the next cycle, OMP's preparation has to expose that exact stored previous summary. A proxy around the event preparation records whether the registered Fabric callback reads `previousSummary`. The result derives from those accesses. Fabric must leave the value unread and keep its poison out of anything it emits. No step converts a summary into a user message by hand.
|
|
29
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omp-fabric",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.12",
|
|
4
4
|
"description": "A programmable tool and agent runtime for Oh My Pi (OMP)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"image": "https://raw.githubusercontent.com/tickernelz/omp-fabric/main/media/banner.svg"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@oh-my-pi/pi-agent-core": "18.
|
|
85
|
-
"@oh-my-pi/pi-ai": "18.
|
|
86
|
-
"@oh-my-pi/pi-utils": "18.
|
|
84
|
+
"@oh-my-pi/pi-agent-core": "18.18.8",
|
|
85
|
+
"@oh-my-pi/pi-ai": "18.18.8",
|
|
86
|
+
"@oh-my-pi/pi-utils": "18.18.8",
|
|
87
87
|
"@jitl/quickjs-singlefile-mjs-release-sync": "^0.32.0",
|
|
88
88
|
"@shikijs/langs": "4.4.3",
|
|
89
89
|
"@shikijs/themes": "4.4.3",
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
"@oh-my-pi/pi-tui": ">=18.4.4"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@oh-my-pi/omptype": "18.
|
|
105
|
-
"@oh-my-pi/pi-coding-agent": "18.
|
|
106
|
-
"@oh-my-pi/pi-natives": "18.
|
|
107
|
-
"@oh-my-pi/pi-tui": "18.
|
|
104
|
+
"@oh-my-pi/omptype": "18.18.8",
|
|
105
|
+
"@oh-my-pi/pi-coding-agent": "18.18.8",
|
|
106
|
+
"@oh-my-pi/pi-natives": "18.18.8",
|
|
107
|
+
"@oh-my-pi/pi-tui": "18.18.8",
|
|
108
108
|
"@types/cross-spawn": "^6.0.6",
|
|
109
109
|
"@types/node": "^26.1.2",
|
|
110
110
|
"esbuild": "^0.25.12",
|