@makaio/framework 1.0.0-dev-1788811230746 → 1.0.0-dev-1788832451167
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/dist/.makaio-build.json +2 -2
- package/dist/{artifact-Btbuib48.mjs → artifact-ClvHqL3w.mjs} +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/{context-resolution-C2VBZhaR.d.mts → context-resolution-BrtoXnez.d.mts} +99 -20
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/index.d.mts +64 -64
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{execution-attempt-repository-OryBjQQI.d.mts → execution-attempt-repository-CgB7uiYD.d.mts} +12 -1
- package/dist/execution-attempt-repository-D0cCU7dI.mjs +1 -0
- package/dist/{index-CXH1Bk0W.d.mts → index-BADuMxcP.d.mts} +134 -134
- package/dist/{index-BhOMZWZa2.d.mts → index-BDAfOYSw2.d.mts} +24 -24
- package/dist/{index-CAYbui7g.d.mts → index-BakMNLkB.d.mts} +110 -22
- package/dist/{index-CnGHGFMC.d.mts → index-Bsr4rZl0.d.mts} +4 -4
- package/dist/{index-DEpAI8CY.d.mts → index-BvgLFm-U.d.mts} +1 -1
- package/dist/{index-9PUmCySn.d.mts → index-BxOFB25y.d.mts} +5 -4
- package/dist/{index-BTCodvXA.d.mts → index-C1PfDEIV.d.mts} +50 -50
- package/dist/{index-C-cnB1Te.d.mts → index-CGJgZGqN.d.mts} +8 -8
- package/dist/{index-B6Kr3cxD2.d.mts → index-CiKzWCW02.d.mts} +30 -6
- package/dist/{index-DsjUnKyr.d.mts → index-DZXpKlyB.d.mts} +19 -19
- package/dist/{index-DrO6QLwf2.d.mts → index-DZnb56vt2.d.mts} +1 -1
- package/dist/{index-BDDavX2S.d.mts → index-LOh6AEqx.d.mts} +9 -9
- package/dist/{index-BxTM9lY0.d.mts → index-LryUXslm.d.mts} +1 -1
- package/dist/{index-CgqEyk9R.d.mts → index-rygpcDBV.d.mts} +1 -1
- package/dist/{index-Df9L5wwp.d.mts → index-vXmPEZ5O.d.mts} +388 -88
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{materialization-lVd9_-jr.mjs → materialization-B_LA9pfy.mjs} +1 -1
- package/dist/{namespace-BkOvOAU5.d.mts → namespace-BMG3RCdr.d.mts} +6 -6
- package/dist/{namespace-2qvc6E2Y.d.mts → namespace-BoyqQiW9.d.mts} +2 -2
- package/dist/{namespace-CirognbA.d.mts → namespace-BymM0nl_.d.mts} +27 -27
- package/dist/{namespace-DAINF1II.d.mts → namespace-DdqVQSyc.d.mts} +2 -2
- package/dist/{namespace-DokogwAZ.d.mts → namespace-DlrX8feY.d.mts} +45 -45
- package/dist/{namespace-CxXNlHpn.d.mts → namespace-Dw5H_KCF.d.mts} +4 -4
- package/dist/{package-DEYXB80d.mjs → package-CzKoZ1k0.mjs} +1 -1
- package/dist/{package-eOEt1w6u.d.mts → package-DkpF17X_.d.mts} +14 -6
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schema-zSyY22Ck.d.mts → schema-C9PauHXt.d.mts} +2 -2
- package/dist/{schemas-DuJs6Iqj.d.mts → schemas-B2UbGJpJ.d.mts} +10 -10
- package/dist/{schemas-Dn1JDTPw.d.mts → schemas-BDZFd3Wb.d.mts} +2 -2
- package/dist/{schemas-DqnA42bw.d.mts → schemas-CBpjAhut.d.mts} +4 -4
- package/dist/schemas-CNkUEbIr.mjs +1 -0
- package/dist/{schemas-D0_kfoDf.d.mts → schemas-Wqo3_F6-.d.mts} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/execution-target/index.d.mts +2 -2
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +30 -30
- package/dist/services/index.mjs +1 -1
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +7 -7
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{transition-BB138WkK.d.mts → transition-DFA_ckdP.d.mts} +1 -1
- package/dist/{types-CR23FzmK.d.mts → types-DkfDRSTr.d.mts} +48 -48
- package/dist/{view-builder-qIGQrZfs.d.mts → view-builder-CYW_9n4A.d.mts} +1 -1
- package/dist/{worker-DPTYFyNP.mjs → worker-B4nD_Erm.mjs} +1 -1
- package/dist/{workflow-BomH9DBB.mjs → workflow-H8hsEikC.mjs} +1 -1
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +4 -4
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +32 -32
- package/dist/{workflow-worker-BW3CE0YG.mjs → workflow-worker-CmIkKnpF.mjs} +2 -2
- package/package.json +1 -1
- package/dist/execution-attempt-repository-Djg3qDRv.mjs +0 -1
- package/dist/schemas-C3kyQWGf.mjs +0 -1
|
@@ -10,18 +10,18 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
|
|
|
10
10
|
changed: _$zod.ZodObject<{
|
|
11
11
|
path: _$zod.ZodString;
|
|
12
12
|
kind: _$zod.ZodEnum<{
|
|
13
|
+
change: "change";
|
|
13
14
|
create: "create";
|
|
14
15
|
delete: "delete";
|
|
15
|
-
change: "change";
|
|
16
16
|
}>;
|
|
17
17
|
}, _$zod_v4_core0.$strip>;
|
|
18
18
|
batch: _$zod.ZodObject<{
|
|
19
19
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
20
20
|
path: _$zod.ZodString;
|
|
21
21
|
kind: _$zod.ZodEnum<{
|
|
22
|
+
change: "change";
|
|
22
23
|
create: "create";
|
|
23
24
|
delete: "delete";
|
|
24
|
-
change: "change";
|
|
25
25
|
}>;
|
|
26
26
|
}, _$zod_v4_core0.$strip>>;
|
|
27
27
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -153,18 +153,18 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
|
|
|
153
153
|
changed: _$zod.ZodObject<{
|
|
154
154
|
path: _$zod.ZodString;
|
|
155
155
|
kind: _$zod.ZodEnum<{
|
|
156
|
+
change: "change";
|
|
156
157
|
create: "create";
|
|
157
158
|
delete: "delete";
|
|
158
|
-
change: "change";
|
|
159
159
|
}>;
|
|
160
160
|
}, _$zod_v4_core0.$strip>;
|
|
161
161
|
batch: _$zod.ZodObject<{
|
|
162
162
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
163
163
|
path: _$zod.ZodString;
|
|
164
164
|
kind: _$zod.ZodEnum<{
|
|
165
|
+
change: "change";
|
|
165
166
|
create: "create";
|
|
166
167
|
delete: "delete";
|
|
167
|
-
change: "change";
|
|
168
168
|
}>;
|
|
169
169
|
}, _$zod_v4_core0.$strip>>;
|
|
170
170
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -294,18 +294,18 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
294
294
|
changed: _$zod.ZodObject<{
|
|
295
295
|
path: _$zod.ZodString;
|
|
296
296
|
kind: _$zod.ZodEnum<{
|
|
297
|
+
change: "change";
|
|
297
298
|
create: "create";
|
|
298
299
|
delete: "delete";
|
|
299
|
-
change: "change";
|
|
300
300
|
}>;
|
|
301
301
|
}, _$zod_v4_core0.$strip>;
|
|
302
302
|
batch: _$zod.ZodObject<{
|
|
303
303
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
304
304
|
path: _$zod.ZodString;
|
|
305
305
|
kind: _$zod.ZodEnum<{
|
|
306
|
+
change: "change";
|
|
306
307
|
create: "create";
|
|
307
308
|
delete: "delete";
|
|
308
|
-
change: "change";
|
|
309
309
|
}>;
|
|
310
310
|
}, _$zod_v4_core0.$strip>>;
|
|
311
311
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5,9 +5,9 @@ import { z } from "zod";
|
|
|
5
5
|
* File change kind.
|
|
6
6
|
*/
|
|
7
7
|
declare const FsChangeKindSchema: z.ZodEnum<{
|
|
8
|
+
change: "change";
|
|
8
9
|
create: "create";
|
|
9
10
|
delete: "delete";
|
|
10
|
-
change: "change";
|
|
11
11
|
}>;
|
|
12
12
|
type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
|
|
13
13
|
/**
|
|
@@ -16,9 +16,9 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
|
|
|
16
16
|
declare const FsChangedSchema: z.ZodObject<{
|
|
17
17
|
path: z.ZodString;
|
|
18
18
|
kind: z.ZodEnum<{
|
|
19
|
+
change: "change";
|
|
19
20
|
create: "create";
|
|
20
21
|
delete: "delete";
|
|
21
|
-
change: "change";
|
|
22
22
|
}>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
type FsChanged = z.infer<typeof FsChangedSchema>;
|
|
@@ -29,9 +29,9 @@ declare const FsBatchSchema: z.ZodObject<{
|
|
|
29
29
|
changes: z.ZodArray<z.ZodObject<{
|
|
30
30
|
path: z.ZodString;
|
|
31
31
|
kind: z.ZodEnum<{
|
|
32
|
+
change: "change";
|
|
32
33
|
create: "create";
|
|
33
34
|
delete: "delete";
|
|
34
|
-
change: "change";
|
|
35
35
|
}>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-
|
|
3
|
-
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-
|
|
4
|
-
import { p as BindingRecord } from "../schemas-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-Wqo3_F6-.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-BoyqQiW9.mjs";
|
|
3
|
+
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-DZnb56vt2.mjs";
|
|
4
|
+
import { p as BindingRecord } from "../schemas-CBpjAhut.mjs";
|
|
5
5
|
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-ClGDFa44.mjs";
|
|
6
6
|
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-Cs-cOyrn.mjs";
|
|
7
7
|
import { t as CapabilityService } from "../capability-service-s4ZYSEWc.mjs";
|
|
@@ -12,18 +12,18 @@ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseCha
|
|
|
12
12
|
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-CzGN0eqW.mjs";
|
|
13
13
|
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-CQEYu8az.mjs";
|
|
14
14
|
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-8rMNe3AS.mjs";
|
|
15
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-
|
|
16
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
15
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-BDZFd3Wb.mjs";
|
|
16
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-DdqVQSyc.mjs";
|
|
17
17
|
import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-CBixkF0n.mjs";
|
|
18
|
-
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-
|
|
19
|
-
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-
|
|
20
|
-
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-
|
|
21
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-
|
|
22
|
-
import { g as sessions, u as agents } from "../schema-
|
|
23
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-
|
|
18
|
+
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-LOh6AEqx.mjs";
|
|
19
|
+
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-rygpcDBV.mjs";
|
|
20
|
+
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-BvgLFm-U.mjs";
|
|
21
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-DlrX8feY.mjs";
|
|
22
|
+
import { g as sessions, u as agents } from "../schema-C9PauHXt.mjs";
|
|
23
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BymM0nl_.mjs";
|
|
24
24
|
import { t as TurnStorageNamespace } from "../namespace-DG0hjPcx.mjs";
|
|
25
25
|
import { n as TurnStorageSubjects } from "../namespace-BGDq7HmW.mjs";
|
|
26
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
26
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-Dw5H_KCF.mjs";
|
|
27
27
|
import { y as ArtifactSchemaRegistry } from "../packages-Cx-BwSZr.mjs";
|
|
28
28
|
import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-xaBSwHxJ.mjs";
|
|
29
29
|
import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-BB0HypzC.mjs";
|
|
@@ -35,7 +35,7 @@ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModel
|
|
|
35
35
|
import { a as InternalPendingRequest, c as SubagentServiceToken, d as SubagentFailureFinalizationError, f as SubagentFailureFinalizationErrorCode, i as InputResolver, l as createSubagentServicePackage, n as TrackOptions, o as SpawnOptions, p as SubagentService, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as subagentServicePackage } from "../index-CrcfeFOo.mjs";
|
|
36
36
|
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DmULJ7Jk.mjs";
|
|
37
37
|
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-BWU-8rvj.mjs";
|
|
38
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-
|
|
38
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-B2UbGJpJ.mjs";
|
|
39
39
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-DykqxEyX.mjs";
|
|
40
40
|
import * as _$zod from "zod";
|
|
41
41
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -1078,8 +1078,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1078
1078
|
teardownCompleted: _$zod.ZodObject<{
|
|
1079
1079
|
evidence: _$zod.ZodEnum<{
|
|
1080
1080
|
unknown: "unknown";
|
|
1081
|
-
exited: "exited";
|
|
1082
1081
|
closed: "closed";
|
|
1082
|
+
exited: "exited";
|
|
1083
1083
|
released: "released";
|
|
1084
1084
|
detached: "detached";
|
|
1085
1085
|
}>;
|
|
@@ -1095,8 +1095,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1095
1095
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
1096
1096
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1097
1097
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1098
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1099
1098
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1099
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1100
1100
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1101
1101
|
label: _$zod.ZodString;
|
|
1102
1102
|
url: _$zod.ZodString;
|
|
@@ -1120,8 +1120,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1120
1120
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1121
1121
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1122
1122
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1123
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1124
1123
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1124
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1125
1125
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1126
1126
|
label: _$zod.ZodString;
|
|
1127
1127
|
url: _$zod.ZodString;
|
|
@@ -2731,8 +2731,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2731
2731
|
config: _$zod.ZodObject<{
|
|
2732
2732
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2733
2733
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2734
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2735
2734
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2735
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2736
2736
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
2737
2737
|
label: _$zod.ZodString;
|
|
2738
2738
|
url: _$zod.ZodString;
|
|
@@ -4517,8 +4517,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4517
4517
|
changed: _$zod.ZodObject<{
|
|
4518
4518
|
ruleId: _$zod.ZodString;
|
|
4519
4519
|
changeType: _$zod.ZodEnum<{
|
|
4520
|
-
created: "created";
|
|
4521
4520
|
updated: "updated";
|
|
4521
|
+
created: "created";
|
|
4522
4522
|
deleted: "deleted";
|
|
4523
4523
|
}>;
|
|
4524
4524
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
@@ -4871,8 +4871,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4871
4871
|
name: _$zod.ZodString;
|
|
4872
4872
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4873
4873
|
enabled: _$zod.ZodBoolean;
|
|
4874
|
-
scope: _$zod.ZodString;
|
|
4875
4874
|
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4875
|
+
scope: _$zod.ZodString;
|
|
4876
4876
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4877
4877
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
4878
4878
|
id: _$zod.ZodString;
|
|
@@ -5146,18 +5146,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5146
5146
|
changed: _$zod.ZodObject<{
|
|
5147
5147
|
path: _$zod.ZodString;
|
|
5148
5148
|
kind: _$zod.ZodEnum<{
|
|
5149
|
+
change: "change";
|
|
5149
5150
|
create: "create";
|
|
5150
5151
|
delete: "delete";
|
|
5151
|
-
change: "change";
|
|
5152
5152
|
}>;
|
|
5153
5153
|
}, _$zod_v4_core0.$strip>;
|
|
5154
5154
|
batch: _$zod.ZodObject<{
|
|
5155
5155
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5156
5156
|
path: _$zod.ZodString;
|
|
5157
5157
|
kind: _$zod.ZodEnum<{
|
|
5158
|
+
change: "change";
|
|
5158
5159
|
create: "create";
|
|
5159
5160
|
delete: "delete";
|
|
5160
|
-
change: "change";
|
|
5161
5161
|
}>;
|
|
5162
5162
|
}, _$zod_v4_core0.$strip>>;
|
|
5163
5163
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5982,8 +5982,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5982
5982
|
agentId: _$zod.ZodString;
|
|
5983
5983
|
status: _$zod.ZodEnum<{
|
|
5984
5984
|
completed: "completed";
|
|
5985
|
-
acknowledged: "acknowledged";
|
|
5986
5985
|
sent: "sent";
|
|
5986
|
+
acknowledged: "acknowledged";
|
|
5987
5987
|
}>;
|
|
5988
5988
|
timestamp: _$zod.ZodNumber;
|
|
5989
5989
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6002,8 +6002,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6002
6002
|
agentId: _$zod.ZodString;
|
|
6003
6003
|
status: _$zod.ZodEnum<{
|
|
6004
6004
|
completed: "completed";
|
|
6005
|
-
acknowledged: "acknowledged";
|
|
6006
6005
|
sent: "sent";
|
|
6006
|
+
acknowledged: "acknowledged";
|
|
6007
6007
|
}>;
|
|
6008
6008
|
timestamp: _$zod.ZodNumber;
|
|
6009
6009
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6077,7 +6077,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6077
6077
|
tableName: "message_routing";
|
|
6078
6078
|
dataType: "string";
|
|
6079
6079
|
columnType: "SQLiteText";
|
|
6080
|
-
data: "completed" | "
|
|
6080
|
+
data: "completed" | "sent" | "acknowledged";
|
|
6081
6081
|
driverParam: string;
|
|
6082
6082
|
notNull: true;
|
|
6083
6083
|
hasDefault: false;
|
|
@@ -7717,8 +7717,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7717
7717
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7718
7718
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7719
7719
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7720
|
-
fork: "fork";
|
|
7721
7720
|
fresh: "fresh";
|
|
7721
|
+
fork: "fork";
|
|
7722
7722
|
}>>;
|
|
7723
7723
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7724
7724
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -7733,16 +7733,16 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7733
7733
|
request: _$zod.ZodObject<{
|
|
7734
7734
|
name: _$zod.ZodString;
|
|
7735
7735
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
7736
|
-
|
|
7736
|
+
adapterName: _$zod.ZodString;
|
|
7737
7737
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7738
|
+
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7738
7739
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7739
7740
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7740
7741
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7741
7742
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7742
|
-
adapterName: _$zod.ZodString;
|
|
7743
7743
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7744
|
-
fork: "fork";
|
|
7745
7744
|
fresh: "fresh";
|
|
7745
|
+
fork: "fork";
|
|
7746
7746
|
}>>;
|
|
7747
7747
|
}, _$zod_v4_core0.$strip>;
|
|
7748
7748
|
response: _$zod.ZodObject<{
|
|
@@ -7758,8 +7758,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7758
7758
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
7759
7759
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
7760
7760
|
contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7761
|
-
fork: "fork";
|
|
7762
7761
|
fresh: "fresh";
|
|
7762
|
+
fork: "fork";
|
|
7763
7763
|
}>>>;
|
|
7764
7764
|
allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
|
7765
7765
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-C0opCPww.mjs";import{t as r}from"../schema-Dq-7si8u.mjs";import{n as i,r as a,t as o}from"../namespace-BL7lHlmg.mjs";import{$ as s,A as c,B as l,D as u,G as d,H as f,K as p,L as m,M as h,O as ee,R as te,Tt as ne,U as re,V as ie,W as ae,Z as oe,a as se,b as ce,c as le,d as ue,f as de,i as fe,j as pe,k as me,l as he,n as ge,nt as _e,o as ve,r as ye,s as be,t as xe,tt as Se,wt as Ce,x as we,z as Te}from"../handlers-BsHAFtye.mjs";import{TurnStorageNamespace as Ee,TurnStorageSubjects as De}from"./turn/namespace.mjs";import{a as Oe,i as g}from"../ownership-recovery-guard-DyW5vGBr.mjs";import{SessionStorageNamespace as ke,SessionStorageSubjects as Ae}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as je,ResolveIdRequestSchema as _,ResolveIdResponseSchema as v,ResolveLiveIdentityRequestSchema as y,ResolveLiveIdentityResponseSchema as b,ResolveNameRequestSchema as x,ResolveNameResponseSchema as S}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as C,AdapterRuntimeSubjects as Me}from"./adapter-runtime/namespace.mjs";import{$ as Ne,A as Pe,B as Fe,C as Ie,E as Le,F as Re,G as ze,H as Be,I as Ve,J as He,K as Ue,L as We,M as Ge,N as Ke,P as qe,R as Je,S as Ye,T as Xe,U as Ze,V as Qe,X as $e,Y as w,Z as et,a as tt,b as nt,c as rt,et as it,i as at,j as ot,k as st,l as ct,nt as lt,o as ut,r as dt,rt as ft,s as pt,t as mt,tt as ht,w as gt,x as _t,z as vt}from"../session-CXOPk3yg.mjs";import{n as yt}from"../namespace-NXm_zvL1.mjs";import{ProviderStorageNamespace as bt}from"./settings/storage/providers-namespace.mjs";import{A as xt,E as St,M as Ct,N as wt,O as Tt,S as Et,T as Dt,_ as Ot,a as kt,b as At,c as jt,i as Mt,j as Nt,k as Pt,l as Ft,n as It,o as Lt,r as Rt,s as zt,t as Bt,v as Vt,w as Ht,x as Ut,y as Wt}from"../schemas-CeHU889f.mjs";import{ExecutionTargetNamespace as T,ExecutionTargetSubjects as Gt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Kt,MessageStorageSubjects as qt}from"./session/messages/namespace.mjs";import{a as Jt,o as Yt,r as Xt,t as Zt}from"../provider-context-CG42JlP9.mjs";import{TurnStorageNamespace as Qt}from"./session/turns/namespace.mjs";import{i as $t,n as en,r as tn,t as nn}from"../identity-OjRlG6dZ.mjs";import{BugEntrySchema as rn,CompressRequestSchema as an,CompressResponseSchema as on,CompressionEventSchema as sn,CompressionSchemas as cn,ExtractedContextSchema as ln,TechnicalDetailsSchema as un,TodoEntrySchema as dn}from"./compression/schemas.mjs";import{PreferenceItemSchema as fn,PreferenceKeySchema as pn,PreferenceValueSchema as mn,PreferencesSchemas as hn}from"./preferences/schemas.mjs";import{PreferencesNamespace as E,PreferencesSubjects as gn}from"./preferences/storage-namespace.mjs";import{t as _n}from"../namespace-tjoxekmf.mjs";import{c as vn,f as yn,n as bn,r as xn,t as Sn}from"../ownership-memory-handler-BpGdR_uG.mjs";import{_ as D,v as Cn,y as wn}from"../packages-Bp124-gx.mjs";import{A as Tn,B as En,C as Dn,D as On,E as kn,F as An,I as jn,L as Mn,M as O,N as Nn,O as Pn,P as Fn,R as k,S as In,T as Ln,V as Rn,_ as zn,a as Bn,b as Vn,c as Hn,d as Un,f as A,g as Wn,h as Gn,i as Kn,j as qn,k as Jn,l as Yn,m as Xn,n as j,o as Zn,p as Qn,r as $n,s as er,t as M,u as tr,v as nr,w as rr,x as ir,y as ar,z as or}from"../framework-packages-BHgul8Kl.mjs";import{n as sr,r as cr,t as lr}from"../package-DttKA9wN.mjs";import{a as ur,c as dr,i as fr,l as pr,n as mr,o as N,r as hr,s as gr,t as _r,u as vr}from"../model-registry-Cixxx2jv.mjs";import{t as yr}from"../tool-approval-service-BFDOFUGC.mjs";import{TrayMenuEntrySchema as br,TrayMenuGroupEntrySchema as xr,TrayMenuGroupSchema as Sr,TrayMenuItemClickedSchema as Cr,TrayMenuListEntrySchema as wr,TrayMenuMetadataSchema as Tr,TrayMenuSchemas as Er,TrayMenuSectionSchema as Dr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as P,TrayMenuSubjects as Or}from"./tray-menu/namespace.mjs";import{t as kr}from"../tray-menu-service-eVVxgPLc.mjs";import{n as Ar}from"../handler-DF1fVDpf.mjs";import{a as jr,i as Mr,n as Nr,o as Pr,r as Fr,t as Ir}from"../package-JtjbO-Oi.mjs";import{FsNamespace as Lr}from"./filesystem/namespace.mjs";import{r as Rr}from"../tools-DWKWX3eV.mjs";import{t as zr}from"../workflow-transitions-c_VQbyV0.mjs";import"./capability/index.mjs";import{a as Br,i as Vr,n as Hr,r as Ur,t as Wr}from"../code-execution-DqkQjKa1.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Gr,AgentRuntimeSchemas as Kr,AgentRuntimeSelectionSchema as qr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as F,AgentRuntimeSubjects as Jr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as Yr,CodebaseSchemas as Xr}from"./codebase/schemas.mjs";import{CodebaseNamespace as I,CodebaseSubjects as Zr}from"./codebase/namespace.mjs";import{CompressionNamespace as L,CompressionSubjects as Qr}from"./compression/namespace.mjs";import{r as $r,t as ei}from"../storage-namespace-BZce8kkW.mjs";import{DefinitionNamespace as ti}from"./definition/namespace.mjs";import{DialogNamespace as ni}from"./dialog/namespace.mjs";import{a as ri,i as R,n as ii,t as ai}from"../execution-target-BcoF_oDB.mjs";import{CLIDetectionNamespace as oi}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as si}from"./local-notification/namespace.mjs";import{t as ci}from"../namespace-DiwqpB-c.mjs";import{ExtensionConfigStorageNamespace as li}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as ui}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as di,SubagentTemplateCreateSchema as fi,SubagentTemplateInstanceSchema as pi,SubagentTemplateInstanceStatusSchema as mi,SubagentTemplateKernelSchemas as hi,SubagentTemplateSchema as gi,SubagentTemplateSettingsSchemas as _i,SubagentTemplateSpawnRequestSchema as vi,SubagentTemplateSpawnedEventSchema as yi,SubagentTemplateSummarySchema as bi,SubagentTemplateUpdateSchema as xi}from"./subagent-template/schemas.mjs";import{r as Si,t as Ci}from"../namespace-jVTsuZHX.mjs";import{SubagentTemplateKernelNamespace as z,SubagentTemplateSubjects as wi}from"./subagent-template/namespace.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as Ti}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as Ei}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as Di}from"@makaio/framework/contracts/model-registry";function Oi(e){return{source:`extension`,ownerKey:`extension:${e}`}}function ki(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function Ai(){let e=new Map,t=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterKind(t.kind,t.schemaVersion,n.owner)}ki(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(D);if(!a)throw Error(`ArtifactSchemaRegistry is not available — ensure artifact-schema-registry is started before extensions with artifactKinds.`);let o=(r.artifactKinds?.kinds??[]).map(e=>e.toRegistration()),s=Oi(n);t(n);for(let e of o)a.registerKind(e,s);e.set(n,{registry:a,owner:s,registrations:o})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactContributionProcessor] Deregister error for "${e}":`,t)}}}}function ji(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Mi(){let e=new Map,t=t=>{let n=e.get(t);n&&(e.delete(t),n.cleanup())};return{filter:e=>{let t=e.artifactLifecycleHooks!=null,n=(e.artifactKinds?.kinds??[]).some(e=>(e.hooks?.hooks.length??0)>0);return t||n},async processActivated(n,r,i){let a=i.getService(M);if(!a)throw Error(`ArtifactLifecycleHookRegistry is not available — ensure artifact-lifecycle-hook-registry is started before extensions with artifact lifecycle hooks.`);let o=r.artifactLifecycleHooks?[...await r.artifactLifecycleHooks.createHooks({bus:i.bus,extensionName:n})]:[],s=[];for(let e of r.artifactKinds?.kinds??[])if(e.hooks)for(let t of e.hooks.hooks)s.push(ji(e.kind,e.schemaVersion,t));let c=[...o,...s];t(n);let l=a.registerHooks(n,c);e.set(n,{cleanup:l})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactLifecycleHookContributionProcessor] Deregister error for "${e}":`,t)}}}}async function Ni(e){let t=e.maxDepth??5,n={bus:e.bus,kindRegistry:e.kindRegistry,maxDepth:t,resolvedByKey:new Map,kindDefaultsCache:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await V(n,e.ref);if(!r)throw Error(`artifact.resolveContext: root artifact '${e.ref.kind}:${e.ref.id}:${e.ref.revision}' not found`);return n.resolved.push(r),await B(n,r,U(await H(n,r),e.selectors),0,new Set([Q(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function B(e,t,n,r,i){let a=Ui(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=Bi(t);for(let a of t.relations)await Pi(e,o,a,n,r,i)}async function Pi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Fi(o,n.target)){G(e,W(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){G(e,W(t,n,s,`unsupported-ref-class`));return}let c=Q(n.target),l=a.has(c);if(i>=e.maxDepth&&!l){G(e,W(t,n,s,`depth-exceeded`));return}let u=e.resolvedByKey.has(c),d=await V(e,n.target);if(!d){G(e,W(t,n,s,`not-found`));return}if(G(e,{sourceRef:t,target:n.target,relationType:n.type,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=f>0?{[n.type]:{...o,depth:f}}:void 0,m=U(U(await H(e,d),p),o.nested),h=new Set(a);h.add(c),await B(e,d,m,i+1,h)}async function V(e,t){let n=Q(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(Ti.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}async function H(e,t){let n=JSON.stringify([t.kind,t.schemaVersion]);if(e.kindDefaultsCache.has(n))return e.kindDefaultsCache.get(n);let r=(await e.kindRegistry.getKind(t.kind,t.schemaVersion))?.defaultContext;return e.kindDefaultsCache.set(n,r),r}function U(e,t){if(!t)return e;if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]=r;return n}function Fi(e,t){return e?e.kinds?e.kinds.includes(Ii(t)):!0:!1}function Ii(e){return e.refClass===`local`?e.artifact.kind:e.kind}function W(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,hint:n,status:`unresolved`,reason:r}}function G(e,t,n){let r=Vi(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),Y(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!Li(a,zi(e,r)))return;J(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&Z(n)||t.status===`unresolved`&&!K(t.reason,a.reason))return;J(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){K(t.reason,a.reason)&&J(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){J(e,i,r,t,n);return}t.status===`resolved`&&!Z(n)&&X(e,r,n)}}function Li(e,t){return e.status===`resolved`?t:K(`depth-exceeded`,e.reason)}function K(e,t){return q(e)>q(t)}function q(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function J(e,t,n,r,i){Y(e,n,r,i),e.refs[t]=r}function Y(e,t,n,r){if(n.status===`resolved`){X(e,t,r);return}Ri(e,t)}function X(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Ri(e,t){e.refMetadataByKey.delete(t)}function zi(e,t){return Z(e.refMetadataByKey.get(t))}function Z(e){return e?.resolvedViaBackEdge===!0}function Bi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Q(e){return JSON.stringify([e.kind,e.id,e.revision])}function Vi(e){return JSON.stringify([Q(e.sourceRef),e.relationType,Hi(e.target)])}function Hi(e){return e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,Q(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}function Ui(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Wi(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}$(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(j);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function Gi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(A);if(!i)throw Error(`WorkflowBlockRegistry is not available — ensure workflow-block-registry is started before extensions with workflowBlocks.`);await i.register(t,n.workflowBlocks.blocks),e.set(t,()=>i.deregister(t))},async processStopped(t){let n=e.get(t);if(n){try{await n()}catch(e){console.error(`[WorkflowBlockContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Ki(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(O);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===O.name||!!e.reactions,async processActivated(n,i,a){if(n===O.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===O.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const qi=[C,yt,F,g,oi,ui,I,L,$r,ei,ti,ni,R,T,li,Lr,Ar,Ei,si,w,N,Di,E,ci,bt,_n,Ci,P,Ee,z,Si];export{nn as AdapterIdentityRegistry,ht as AdapterRegistry,C as AdapterRuntimeNamespace,je as AdapterRuntimeSchemas,Me as AdapterRuntimeSubjects,Gr as AgentInstanceStatusSchema,F as AgentRuntimeNamespace,Kr as AgentRuntimeSchemas,qr as AgentRuntimeSelectionSchema,Jr as AgentRuntimeSubjects,g as AgentStorageNamespace,Oe as AgentStorageSubjects,En as ArtifactLifecycleHookRegistry,M as ArtifactLifecycleHookRegistryToken,Rn as ArtifactLifecycleHookRejectedError,wn as ArtifactSchemaRegistry,D as ArtifactSchemaRegistryToken,rn as BugEntrySchema,Je as CONNECTOR_SWAP_DEFAULT_PIPELINE,_r as CachedRegistryFetcher,k as CanonicalModelResolutionError,Mn as CanonicalModelResolver,jn as CanonicalModelService,cr as CapabilityService,lr as CapabilityToken,Ur as CodeExecutionService,Wr as CodeExecutionServiceToken,Yr as CodebaseChangedEventSchema,I as CodebaseNamespace,Xr as CodebaseSchemas,Zr as CodebaseSubjects,an as CompressRequestSchema,on as CompressResponseSchema,sn as CompressionEventSchema,L as CompressionNamespace,cn as CompressionSchemas,Qr as CompressionSubjects,Ot as ContainerCreatedSchema,Vt as ContainerDestroyedSchema,Bt as ContainerIsolatedExecutionTargetSchema,Wt as ContainerIsolatedSpawnRequestSchema,It as ContainerLocalExecutionTargetSchema,At as ContainerLocalSpawnRequestSchema,Ut as ContainerLocalWorkflowSpawnRequestSchema,Et as ContainerRuntimeSchema,ai as ContainerSpawnNamespace,ii as ContainerSpawnSubjects,Ht as ContainerStartedSchema,Dt as ContainerStateSchema,St as ContainerStoppedSchema,mt as ContextWindowTracker,R as DockerNamespace,ri as DockerSubjects,pt as EmbeddingIndexManager,Rt as ExecutionTargetInputSchema,Mt as ExecutionTargetListQuerySchema,T as ExecutionTargetNamespace,kt as ExecutionTargetResolveRequestSchema,Lt as ExecutionTargetSchema,zt as ExecutionTargetSchemas,Gt as ExecutionTargetSubjects,jt as ExecutionTargetTypeSchema,ln as ExtractedContextSchema,or as FacetNamespaceRegistry,j as FacetNamespaceRegistryToken,mr as FallbackRegistryFetcher,qi as FrameworkServicesCoreNamespaces,Ft as LocalExecutionTargetSchema,ut as MakaioSession,lt as MakaioSessionService,w as MessageRoutingNamespace,$e as MessageRoutingSubjects,Kt as MessageStorageNamespace,qt as MessageStorageSubjects,N as ModelRegistryNamespace,hr as ModelRegistryProviderNotFoundError,dr as ModelRegistrySchema,pr as ModelRegistrySchemas,fr as ModelRegistryService,gr as ModelRegistrySubjects,$n as ModelRegistryToken,fn as PreferenceItemSchema,pn as PreferenceKeySchema,mn as PreferenceValueSchema,E as PreferencesNamespace,hn as PreferencesSchemas,gn as PreferencesSubjects,Zt as ProviderContextActivationError,vr as ProviderModelOverrideSchema,Fn as ReactionRegistry,O as ReactionRegistryToken,_ as ResolveIdRequestSchema,v as ResolveIdResponseSchema,y as ResolveLiveIdentityRequestSchema,b as ResolveLiveIdentityResponseSchema,x as ResolveNameRequestSchema,S as ResolveNameResponseSchema,Jt as RuntimeProviderContextResolutionError,Ve as SessionBridge,Kn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,qe as SessionExtensionContextImpl,Ze as SessionOrchestrator,Bn as SessionOrchestratorToken,oe as SessionStartError,ke as SessionStorageNamespace,Ae as SessionStorageSubjects,Zn as SessionStorageToken,er as SessionToken,ze as SessionTurnManager,Tt as SpawnRequestSchema,Pt as SpawnResponseSchema,xt as StatusRequestSchema,Nt as StatusResponseSchema,Ct as StopRequestSchema,wt as StopResponseSchema,Mr as SubagentFailureFinalizationError,Pr as SubagentManager,jr as SubagentService,Ir as SubagentServiceToken,di as SubagentTemplateCompletedEventSchema,fi as SubagentTemplateCreateSchema,pi as SubagentTemplateInstanceSchema,mi as SubagentTemplateInstanceStatusSchema,z as SubagentTemplateKernelNamespace,hi as SubagentTemplateKernelSchemas,gi as SubagentTemplateSchema,_i as SubagentTemplateSettingsSchemas,vi as SubagentTemplateSpawnRequestSchema,yi as SubagentTemplateSpawnedEventSchema,wi as SubagentTemplateSubjects,bi as SubagentTemplateSummarySchema,xi as SubagentTemplateUpdateSchema,un as TechnicalDetailsSchema,dn as TodoEntrySchema,yr as ToolApprovalService,Hn as ToolApprovalToken,qn as ToolRegistry,Yn as ToolRegistryToken,Pn as TransitionActionRegistry,kn as TransitionPipelineService,tr as TransitionPipelineToken,On as TransitionRuleRegistry,br as TrayMenuEntrySchema,xr as TrayMenuGroupEntrySchema,Sr as TrayMenuGroupSchema,Cr as TrayMenuItemClickedSchema,wr as TrayMenuListEntrySchema,Tr as TrayMenuMetadataSchema,P as TrayMenuNamespace,Er as TrayMenuSchemas,Dr as TrayMenuSectionSchema,kr as TrayMenuService,Or as TrayMenuSubjects,Un as TrayMenuToken,Ue as Turn,Be as TurnContextEnricher,Qt as TurnStorageNamespace,De as TurnStorageSubjects,Jn as WORKFLOW_START_ACTION_TYPE,Tn as WorkflowBlockRegistry,A as WorkflowBlockRegistryToken,Te as actionRegistry,Xt as activateProviderContext,e as agents,Qn as artifactLifecycleHookRegistryPackage,Cn as artifactSchemaRegistryPackage,ge as assembleForkContext,en as buildDeterministicAdapterId,m as buildRecoveryContext,ee as buildRecoveryContextWithPipeline,l as buildSessionContext,ie as buildTurnInitiator,An as canonicalModelPackage,sr as capabilityPackage,Hr as codeExecutionPackage,Ai as createArtifactKindContributionProcessor,Mi as createArtifactLifecycleHookContributionProcessor,Br as createEffectiveExecutionSignal,Wi as createFacetNamespaceContributionProcessor,Xn as createModelRegistryPackage,Ki as createReactionContributionProcessor,Re as createSessionExtensionContext,yn as createSessionStorageMemoryState,Nr as createSubagentServicePackage,Rr as createToolContributionProcessor,zr as createTransitionContributionProcessor,Gi as createWorkflowBlockContributionProcessor,me as ensureAgentCwd,c as ensureAgentModel,d as extractTextContent,Gn as facetNamespaceRegistryPackage,_t as fetchAgentsBySession,Ye as fetchMessageCountsBySession,Ie as fetchPreviewBySession,Pe as fetchSessionPreviewMaps,f as findTurnByAgent,Wn as frameworkCorePackages,te as getFullConversation,re as getOrCreateSession,ct as importCursors,vn as kindToBranchKind,ot as mapAgentsBySession,gt as mapRowToSession,Ge as mapToSession,ur as mergeModelMetadata,et as messageRouting,r as messages,ue as normalizeSelectionString,p as normalizeToBlocks,Xe as parseForkTransforms,We as pickFallbackRuntimeOptions,Nn as reactionRegistryPackage,pe as recoverAgent,le as registerAbandonHandler,tn as registerAdapterRuntimeIdentityHandlers,he as registerAttachHandler,ve as registerBuiltInActions,se as registerCompressHandler,at as registerCompressLineageResolver,ft as registerCoreSessionServiceHandlers,Ke as registerDrizzleAgentStorage,rt as registerDrizzleImportCursorStorage,He as registerDrizzleMessageRoutingStorage,it as registerDrizzleMessageStorage,Ce as registerDrizzleSessionEventStorage,Le as registerDrizzleSessionOwnershipStorage,st as registerDrizzleSessionStorage,we as registerDrizzleTurnStorage,fe as registerForkHandler,nt as registerFtsSearchHandler,Fe as registerGetStatusCountsHandler,vt as registerListActionsHandler,bn as registerMemoryAgentStorage,Ne as registerMemoryMessageStorage,ne as registerMemorySessionEventStorage,Sn as registerMemorySessionOwnershipStorage,xn as registerMemorySessionStorage,ce as registerMemoryTurnStorage,ye as registerMergeHandler,tt as registerParentResolver,Qe as registerResumeHandler,dt as registerSpawningToolCallResolver,be as resetBuiltInActionsRegistration,s as resolveAdapterId,de as resolveAdapterNameById,Ni as resolveArtifactContext,$t as resolveDeterministicAdapterId,Se as resolveExecutionTarget,_e as resolveModelCapabilities,Yt as resolveRuntimeProviderContext,ae as resolveTargetAgents,xe as routeToAgents,u as routeToAgentsCore,Vr as selectCodeExecutionProvider,zn as sessionBridgePackage,a as sessionEvents,nr as sessionOrchestratorPackage,ar as sessionPackage,Vn as sessionStoragePackage,t as sessions,Fr as subagentServicePackage,ir as toolApprovalPackage,In as toolRegistryPackage,Dn as transitionPipelinePackage,rr as trayMenuPackage,n as turns,h as verifyAndRecoverAgents,Ln as workflowBlockRegistryPackage};
|
|
1
|
+
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-C0opCPww.mjs";import{t as r}from"../schema-Dq-7si8u.mjs";import{n as i,r as a,t as o}from"../namespace-BL7lHlmg.mjs";import{$ as s,A as c,B as l,D as u,G as d,H as f,K as p,L as m,M as h,O as ee,R as te,Tt as ne,U as re,V as ie,W as ae,Z as oe,a as se,b as ce,c as le,d as ue,f as de,i as fe,j as pe,k as me,l as he,n as ge,nt as _e,o as ve,r as ye,s as be,t as xe,tt as Se,wt as Ce,x as we,z as Te}from"../handlers-BsHAFtye.mjs";import{TurnStorageNamespace as Ee,TurnStorageSubjects as De}from"./turn/namespace.mjs";import{a as Oe,i as g}from"../ownership-recovery-guard-DyW5vGBr.mjs";import{SessionStorageNamespace as ke,SessionStorageSubjects as Ae}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as je,ResolveIdRequestSchema as _,ResolveIdResponseSchema as v,ResolveLiveIdentityRequestSchema as y,ResolveLiveIdentityResponseSchema as b,ResolveNameRequestSchema as x,ResolveNameResponseSchema as S}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as C,AdapterRuntimeSubjects as Me}from"./adapter-runtime/namespace.mjs";import{$ as Ne,A as Pe,B as Fe,C as Ie,E as Le,F as Re,G as ze,H as Be,I as Ve,J as He,K as Ue,L as We,M as Ge,N as Ke,P as qe,R as Je,S as Ye,T as Xe,U as Ze,V as Qe,X as $e,Y as w,Z as et,a as tt,b as nt,c as rt,et as it,i as at,j as ot,k as st,l as ct,nt as lt,o as ut,r as dt,rt as ft,s as pt,t as mt,tt as ht,w as gt,x as _t,z as vt}from"../session-CXOPk3yg.mjs";import{n as yt}from"../namespace-NXm_zvL1.mjs";import{ProviderStorageNamespace as bt}from"./settings/storage/providers-namespace.mjs";import{A as xt,E as St,M as Ct,N as wt,O as Tt,S as Et,T as Dt,_ as Ot,a as kt,b as At,c as jt,i as Mt,j as Nt,k as Pt,l as Ft,n as It,o as Lt,r as Rt,s as zt,t as Bt,v as Vt,w as Ht,x as Ut,y as Wt}from"../schemas-CeHU889f.mjs";import{ExecutionTargetNamespace as T,ExecutionTargetSubjects as Gt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Kt,MessageStorageSubjects as qt}from"./session/messages/namespace.mjs";import{a as Jt,o as Yt,r as Xt,t as Zt}from"../provider-context-CG42JlP9.mjs";import{TurnStorageNamespace as Qt}from"./session/turns/namespace.mjs";import{i as $t,n as en,r as tn,t as nn}from"../identity-OjRlG6dZ.mjs";import{BugEntrySchema as rn,CompressRequestSchema as an,CompressResponseSchema as on,CompressionEventSchema as sn,CompressionSchemas as cn,ExtractedContextSchema as ln,TechnicalDetailsSchema as un,TodoEntrySchema as dn}from"./compression/schemas.mjs";import{PreferenceItemSchema as fn,PreferenceKeySchema as pn,PreferenceValueSchema as mn,PreferencesSchemas as hn}from"./preferences/schemas.mjs";import{PreferencesNamespace as E,PreferencesSubjects as gn}from"./preferences/storage-namespace.mjs";import{t as _n}from"../namespace-tjoxekmf.mjs";import{c as vn,f as yn,n as bn,r as xn,t as Sn}from"../ownership-memory-handler-BpGdR_uG.mjs";import{_ as D,v as Cn,y as wn}from"../packages-Bp124-gx.mjs";import{A as Tn,B as En,C as Dn,D as On,E as kn,F as An,I as jn,L as Mn,M as O,N as Nn,O as Pn,P as Fn,R as k,S as In,T as Ln,V as Rn,_ as zn,a as Bn,b as Vn,c as Hn,d as Un,f as A,g as Wn,h as Gn,i as Kn,j as qn,k as Jn,l as Yn,m as Xn,n as j,o as Zn,p as Qn,r as $n,s as er,t as M,u as tr,v as nr,w as rr,x as ir,y as ar,z as or}from"../framework-packages-BHgul8Kl.mjs";import{n as sr,r as cr,t as lr}from"../package-DttKA9wN.mjs";import{a as ur,c as dr,i as fr,l as pr,n as mr,o as N,r as hr,s as gr,t as _r,u as vr}from"../model-registry-Cixxx2jv.mjs";import{t as yr}from"../tool-approval-service-BFDOFUGC.mjs";import{TrayMenuEntrySchema as br,TrayMenuGroupEntrySchema as xr,TrayMenuGroupSchema as Sr,TrayMenuItemClickedSchema as Cr,TrayMenuListEntrySchema as wr,TrayMenuMetadataSchema as Tr,TrayMenuSchemas as Er,TrayMenuSectionSchema as Dr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as P,TrayMenuSubjects as Or}from"./tray-menu/namespace.mjs";import{t as kr}from"../tray-menu-service-eVVxgPLc.mjs";import{n as Ar}from"../handler-DF1fVDpf.mjs";import{a as jr,i as Mr,n as Nr,o as Pr,r as Fr,t as Ir}from"../package-JtjbO-Oi.mjs";import{FsNamespace as Lr}from"./filesystem/namespace.mjs";import{r as Rr}from"../tools-DWKWX3eV.mjs";import{t as zr}from"../workflow-transitions-c_VQbyV0.mjs";import"./capability/index.mjs";import{a as Br,i as Vr,n as Hr,r as Ur,t as Wr}from"../code-execution-DqkQjKa1.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Gr,AgentRuntimeSchemas as Kr,AgentRuntimeSelectionSchema as qr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as F,AgentRuntimeSubjects as Jr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as Yr,CodebaseSchemas as Xr}from"./codebase/schemas.mjs";import{CodebaseNamespace as I,CodebaseSubjects as Zr}from"./codebase/namespace.mjs";import{CompressionNamespace as L,CompressionSubjects as Qr}from"./compression/namespace.mjs";import{r as $r,t as ei}from"../storage-namespace-BZce8kkW.mjs";import{DefinitionNamespace as ti}from"./definition/namespace.mjs";import{DialogNamespace as ni}from"./dialog/namespace.mjs";import{a as ri,i as R,n as ii,t as ai}from"../execution-target-BcoF_oDB.mjs";import{CLIDetectionNamespace as oi}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as si}from"./local-notification/namespace.mjs";import{t as ci}from"../namespace-DiwqpB-c.mjs";import{ExtensionConfigStorageNamespace as li}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as ui}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as di,SubagentTemplateCreateSchema as fi,SubagentTemplateInstanceSchema as pi,SubagentTemplateInstanceStatusSchema as mi,SubagentTemplateKernelSchemas as hi,SubagentTemplateSchema as gi,SubagentTemplateSettingsSchemas as _i,SubagentTemplateSpawnRequestSchema as vi,SubagentTemplateSpawnedEventSchema as yi,SubagentTemplateSummarySchema as bi,SubagentTemplateUpdateSchema as xi}from"./subagent-template/schemas.mjs";import{r as Si,t as Ci}from"../namespace-jVTsuZHX.mjs";import{SubagentTemplateKernelNamespace as z,SubagentTemplateSubjects as wi}from"./subagent-template/namespace.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as Ti}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as Ei}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as Di}from"@makaio/framework/contracts/model-registry";function Oi(e){return{source:`extension`,ownerKey:`extension:${e}`}}function ki(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function Ai(){let e=new Map,t=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterKind(t.kind,t.schemaVersion,n.owner)}ki(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(D);if(!a)throw Error(`ArtifactSchemaRegistry is not available — ensure artifact-schema-registry is started before extensions with artifactKinds.`);let o=(r.artifactKinds?.kinds??[]).map(e=>e.toRegistration()),s=Oi(n);t(n);for(let e of o)a.registerKind(e,s);e.set(n,{registry:a,owner:s,registrations:o})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactContributionProcessor] Deregister error for "${e}":`,t)}}}}function ji(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Mi(){let e=new Map,t=t=>{let n=e.get(t);n&&(e.delete(t),n.cleanup())};return{filter:e=>{let t=e.artifactLifecycleHooks!=null,n=(e.artifactKinds?.kinds??[]).some(e=>(e.hooks?.hooks.length??0)>0);return t||n},async processActivated(n,r,i){let a=i.getService(M);if(!a)throw Error(`ArtifactLifecycleHookRegistry is not available — ensure artifact-lifecycle-hook-registry is started before extensions with artifact lifecycle hooks.`);let o=r.artifactLifecycleHooks?[...await r.artifactLifecycleHooks.createHooks({bus:i.bus,extensionName:n})]:[],s=[];for(let e of r.artifactKinds?.kinds??[])if(e.hooks)for(let t of e.hooks.hooks)s.push(ji(e.kind,e.schemaVersion,t));let c=[...o,...s];t(n);let l=a.registerHooks(n,c);e.set(n,{cleanup:l})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactLifecycleHookContributionProcessor] Deregister error for "${e}":`,t)}}}}async function Ni(e){let t=e.maxDepth??5,n={bus:e.bus,kindRegistry:e.kindRegistry,maxDepth:t,resolvedByKey:new Map,kindDefaultsCache:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await V(n,e.ref);if(!r)throw Error(`artifact.resolveContext: root artifact '${e.ref.kind}:${e.ref.id}:${e.ref.revision}' not found`);return n.resolved.push(r),await B(n,r,U(await H(n,r),e.selectors),0,new Set([Q(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function B(e,t,n,r,i){let a=Ui(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=Bi(t);for(let a of t.relations)await Pi(e,o,a,n,r,i)}async function Pi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Fi(o,n.target)){G(e,W(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){G(e,W(t,n,s,`unsupported-ref-class`));return}let c=Q(n.target),l=a.has(c);if(i>=e.maxDepth&&!l){G(e,W(t,n,s,`depth-exceeded`));return}let u=e.resolvedByKey.has(c),d=await V(e,n.target);if(!d){G(e,W(t,n,s,`not-found`));return}if(G(e,{sourceRef:t,target:n.target,relationType:n.type,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=f>0?{[n.type]:{...o,depth:f}}:void 0,m=U(U(await H(e,d),p),o.nested),h=new Set(a);h.add(c),await B(e,d,m,i+1,h)}async function V(e,t){let n=Q(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(Ti.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}async function H(e,t){let n=JSON.stringify([t.kind,t.schemaVersion]);if(e.kindDefaultsCache.has(n))return e.kindDefaultsCache.get(n);let r=(await e.kindRegistry.getKind(t.kind,t.schemaVersion))?.defaultContext;return e.kindDefaultsCache.set(n,r),r}function U(e,t){if(!t)return e;if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]=r;return n}function Fi(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Ii(t);return n!==void 0&&e.kinds.includes(n)}function Ii(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function W(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,hint:n,status:`unresolved`,reason:r}}function G(e,t,n){let r=Vi(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),Y(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!Li(a,zi(e,r)))return;J(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&Z(n)||t.status===`unresolved`&&!K(t.reason,a.reason))return;J(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){K(t.reason,a.reason)&&J(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){J(e,i,r,t,n);return}t.status===`resolved`&&!Z(n)&&X(e,r,n)}}function Li(e,t){return e.status===`resolved`?t:K(`depth-exceeded`,e.reason)}function K(e,t){return q(e)>q(t)}function q(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function J(e,t,n,r,i){Y(e,n,r,i),e.refs[t]=r}function Y(e,t,n,r){if(n.status===`resolved`){X(e,t,r);return}Ri(e,t)}function X(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Ri(e,t){e.refMetadataByKey.delete(t)}function zi(e,t){return Z(e.refMetadataByKey.get(t))}function Z(e){return e?.resolvedViaBackEdge===!0}function Bi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Q(e){return JSON.stringify([e.kind,e.id,e.revision])}function Vi(e){return JSON.stringify([Q(e.sourceRef),e.relationType,Hi(e.target)])}function Hi(e){return e.refClass===`entity`?JSON.stringify([`entity`,e.entityType,e.id]):e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,Q(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}function Ui(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Wi(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}$(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(j);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function Gi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(A);if(!i)throw Error(`WorkflowBlockRegistry is not available — ensure workflow-block-registry is started before extensions with workflowBlocks.`);await i.register(t,n.workflowBlocks.blocks),e.set(t,()=>i.deregister(t))},async processStopped(t){let n=e.get(t);if(n){try{await n()}catch(e){console.error(`[WorkflowBlockContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Ki(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(O);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===O.name||!!e.reactions,async processActivated(n,i,a){if(n===O.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===O.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const qi=[C,yt,F,g,oi,ui,I,L,$r,ei,ti,ni,R,T,li,Lr,Ar,Ei,si,w,N,Di,E,ci,bt,_n,Ci,P,Ee,z,Si];export{nn as AdapterIdentityRegistry,ht as AdapterRegistry,C as AdapterRuntimeNamespace,je as AdapterRuntimeSchemas,Me as AdapterRuntimeSubjects,Gr as AgentInstanceStatusSchema,F as AgentRuntimeNamespace,Kr as AgentRuntimeSchemas,qr as AgentRuntimeSelectionSchema,Jr as AgentRuntimeSubjects,g as AgentStorageNamespace,Oe as AgentStorageSubjects,En as ArtifactLifecycleHookRegistry,M as ArtifactLifecycleHookRegistryToken,Rn as ArtifactLifecycleHookRejectedError,wn as ArtifactSchemaRegistry,D as ArtifactSchemaRegistryToken,rn as BugEntrySchema,Je as CONNECTOR_SWAP_DEFAULT_PIPELINE,_r as CachedRegistryFetcher,k as CanonicalModelResolutionError,Mn as CanonicalModelResolver,jn as CanonicalModelService,cr as CapabilityService,lr as CapabilityToken,Ur as CodeExecutionService,Wr as CodeExecutionServiceToken,Yr as CodebaseChangedEventSchema,I as CodebaseNamespace,Xr as CodebaseSchemas,Zr as CodebaseSubjects,an as CompressRequestSchema,on as CompressResponseSchema,sn as CompressionEventSchema,L as CompressionNamespace,cn as CompressionSchemas,Qr as CompressionSubjects,Ot as ContainerCreatedSchema,Vt as ContainerDestroyedSchema,Bt as ContainerIsolatedExecutionTargetSchema,Wt as ContainerIsolatedSpawnRequestSchema,It as ContainerLocalExecutionTargetSchema,At as ContainerLocalSpawnRequestSchema,Ut as ContainerLocalWorkflowSpawnRequestSchema,Et as ContainerRuntimeSchema,ai as ContainerSpawnNamespace,ii as ContainerSpawnSubjects,Ht as ContainerStartedSchema,Dt as ContainerStateSchema,St as ContainerStoppedSchema,mt as ContextWindowTracker,R as DockerNamespace,ri as DockerSubjects,pt as EmbeddingIndexManager,Rt as ExecutionTargetInputSchema,Mt as ExecutionTargetListQuerySchema,T as ExecutionTargetNamespace,kt as ExecutionTargetResolveRequestSchema,Lt as ExecutionTargetSchema,zt as ExecutionTargetSchemas,Gt as ExecutionTargetSubjects,jt as ExecutionTargetTypeSchema,ln as ExtractedContextSchema,or as FacetNamespaceRegistry,j as FacetNamespaceRegistryToken,mr as FallbackRegistryFetcher,qi as FrameworkServicesCoreNamespaces,Ft as LocalExecutionTargetSchema,ut as MakaioSession,lt as MakaioSessionService,w as MessageRoutingNamespace,$e as MessageRoutingSubjects,Kt as MessageStorageNamespace,qt as MessageStorageSubjects,N as ModelRegistryNamespace,hr as ModelRegistryProviderNotFoundError,dr as ModelRegistrySchema,pr as ModelRegistrySchemas,fr as ModelRegistryService,gr as ModelRegistrySubjects,$n as ModelRegistryToken,fn as PreferenceItemSchema,pn as PreferenceKeySchema,mn as PreferenceValueSchema,E as PreferencesNamespace,hn as PreferencesSchemas,gn as PreferencesSubjects,Zt as ProviderContextActivationError,vr as ProviderModelOverrideSchema,Fn as ReactionRegistry,O as ReactionRegistryToken,_ as ResolveIdRequestSchema,v as ResolveIdResponseSchema,y as ResolveLiveIdentityRequestSchema,b as ResolveLiveIdentityResponseSchema,x as ResolveNameRequestSchema,S as ResolveNameResponseSchema,Jt as RuntimeProviderContextResolutionError,Ve as SessionBridge,Kn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,qe as SessionExtensionContextImpl,Ze as SessionOrchestrator,Bn as SessionOrchestratorToken,oe as SessionStartError,ke as SessionStorageNamespace,Ae as SessionStorageSubjects,Zn as SessionStorageToken,er as SessionToken,ze as SessionTurnManager,Tt as SpawnRequestSchema,Pt as SpawnResponseSchema,xt as StatusRequestSchema,Nt as StatusResponseSchema,Ct as StopRequestSchema,wt as StopResponseSchema,Mr as SubagentFailureFinalizationError,Pr as SubagentManager,jr as SubagentService,Ir as SubagentServiceToken,di as SubagentTemplateCompletedEventSchema,fi as SubagentTemplateCreateSchema,pi as SubagentTemplateInstanceSchema,mi as SubagentTemplateInstanceStatusSchema,z as SubagentTemplateKernelNamespace,hi as SubagentTemplateKernelSchemas,gi as SubagentTemplateSchema,_i as SubagentTemplateSettingsSchemas,vi as SubagentTemplateSpawnRequestSchema,yi as SubagentTemplateSpawnedEventSchema,wi as SubagentTemplateSubjects,bi as SubagentTemplateSummarySchema,xi as SubagentTemplateUpdateSchema,un as TechnicalDetailsSchema,dn as TodoEntrySchema,yr as ToolApprovalService,Hn as ToolApprovalToken,qn as ToolRegistry,Yn as ToolRegistryToken,Pn as TransitionActionRegistry,kn as TransitionPipelineService,tr as TransitionPipelineToken,On as TransitionRuleRegistry,br as TrayMenuEntrySchema,xr as TrayMenuGroupEntrySchema,Sr as TrayMenuGroupSchema,Cr as TrayMenuItemClickedSchema,wr as TrayMenuListEntrySchema,Tr as TrayMenuMetadataSchema,P as TrayMenuNamespace,Er as TrayMenuSchemas,Dr as TrayMenuSectionSchema,kr as TrayMenuService,Or as TrayMenuSubjects,Un as TrayMenuToken,Ue as Turn,Be as TurnContextEnricher,Qt as TurnStorageNamespace,De as TurnStorageSubjects,Jn as WORKFLOW_START_ACTION_TYPE,Tn as WorkflowBlockRegistry,A as WorkflowBlockRegistryToken,Te as actionRegistry,Xt as activateProviderContext,e as agents,Qn as artifactLifecycleHookRegistryPackage,Cn as artifactSchemaRegistryPackage,ge as assembleForkContext,en as buildDeterministicAdapterId,m as buildRecoveryContext,ee as buildRecoveryContextWithPipeline,l as buildSessionContext,ie as buildTurnInitiator,An as canonicalModelPackage,sr as capabilityPackage,Hr as codeExecutionPackage,Ai as createArtifactKindContributionProcessor,Mi as createArtifactLifecycleHookContributionProcessor,Br as createEffectiveExecutionSignal,Wi as createFacetNamespaceContributionProcessor,Xn as createModelRegistryPackage,Ki as createReactionContributionProcessor,Re as createSessionExtensionContext,yn as createSessionStorageMemoryState,Nr as createSubagentServicePackage,Rr as createToolContributionProcessor,zr as createTransitionContributionProcessor,Gi as createWorkflowBlockContributionProcessor,me as ensureAgentCwd,c as ensureAgentModel,d as extractTextContent,Gn as facetNamespaceRegistryPackage,_t as fetchAgentsBySession,Ye as fetchMessageCountsBySession,Ie as fetchPreviewBySession,Pe as fetchSessionPreviewMaps,f as findTurnByAgent,Wn as frameworkCorePackages,te as getFullConversation,re as getOrCreateSession,ct as importCursors,vn as kindToBranchKind,ot as mapAgentsBySession,gt as mapRowToSession,Ge as mapToSession,ur as mergeModelMetadata,et as messageRouting,r as messages,ue as normalizeSelectionString,p as normalizeToBlocks,Xe as parseForkTransforms,We as pickFallbackRuntimeOptions,Nn as reactionRegistryPackage,pe as recoverAgent,le as registerAbandonHandler,tn as registerAdapterRuntimeIdentityHandlers,he as registerAttachHandler,ve as registerBuiltInActions,se as registerCompressHandler,at as registerCompressLineageResolver,ft as registerCoreSessionServiceHandlers,Ke as registerDrizzleAgentStorage,rt as registerDrizzleImportCursorStorage,He as registerDrizzleMessageRoutingStorage,it as registerDrizzleMessageStorage,Ce as registerDrizzleSessionEventStorage,Le as registerDrizzleSessionOwnershipStorage,st as registerDrizzleSessionStorage,we as registerDrizzleTurnStorage,fe as registerForkHandler,nt as registerFtsSearchHandler,Fe as registerGetStatusCountsHandler,vt as registerListActionsHandler,bn as registerMemoryAgentStorage,Ne as registerMemoryMessageStorage,ne as registerMemorySessionEventStorage,Sn as registerMemorySessionOwnershipStorage,xn as registerMemorySessionStorage,ce as registerMemoryTurnStorage,ye as registerMergeHandler,tt as registerParentResolver,Qe as registerResumeHandler,dt as registerSpawningToolCallResolver,be as resetBuiltInActionsRegistration,s as resolveAdapterId,de as resolveAdapterNameById,Ni as resolveArtifactContext,$t as resolveDeterministicAdapterId,Se as resolveExecutionTarget,_e as resolveModelCapabilities,Yt as resolveRuntimeProviderContext,ae as resolveTargetAgents,xe as routeToAgents,u as routeToAgentsCore,Vr as selectCodeExecutionProvider,zn as sessionBridgePackage,a as sessionEvents,nr as sessionOrchestratorPackage,ar as sessionPackage,Vn as sessionStoragePackage,t as sessions,Fr as subagentServicePackage,ir as toolApprovalPackage,In as toolRegistryPackage,Dn as transitionPipelinePackage,rr as trayMenuPackage,n as turns,h as verifyAndRecoverAgents,Ln as workflowBlockRegistryPackage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, i as ProviderContextActivationTransaction, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, o as prepareProviderContextActivation, r as ProviderContextActivationRollbackError, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../../index-
|
|
1
|
+
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, i as ProviderContextActivationTransaction, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, o as prepareProviderContextActivation, r as ProviderContextActivationRollbackError, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../../index-BvgLFm-U.mjs";
|
|
2
2
|
export { ProviderContextActivationError, ProviderContextActivationErrorCode, ProviderContextActivationRollbackError, ProviderContextActivationTransaction, RuntimeProviderContextResolutionError, RuntimeProviderContextResolutionErrorCode, activateProviderContext, prepareProviderContextActivation, resolveRuntimeProviderContext };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InFlightStartResolution, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, i as refuseTotalDeferral, l as registerForkHandler, n as routeToAgents, o as StartResolution, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler } from "../../../index-
|
|
1
|
+
import { a as InFlightStartResolution, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, i as refuseTotalDeferral, l as registerForkHandler, n as routeToAgents, o as StartResolution, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler } from "../../../index-rygpcDBV.mjs";
|
|
2
2
|
export { InFlightStartResolution, StartResolution, admitFreshStartTargets, refuseTotalDeferral, registerAbandonHandler, registerAttachHandler, registerCompressHandler, registerForkHandler, registerMergeHandler, resolveInFlightStarts, routeToAgents, routeToAgentsCore };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as IngestCompletedTurnResult, $n as runExclusiveStart, $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, An as FreshWithHistoryRecoveryPlan, At as SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, B as importCursorsDual, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dn as buildPlannedRecoveryContext, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Fn as recoveryPlanResumeTarget, Ft as registerMemoryAgentStorage, G as ObservedSessionIngestionPolicyInput, Gn as ISessionOrchestrator, Gt as assembleForkContext, H as OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, In as StartReservationRequest, It as registerDrizzleSessionStorage, J as ObservedSessionIngestionService, Jn as assessClaimOwner, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, K as registerObservedSessionIngestionPolicyProvider, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Ln as reserveStartFor, Lt as registerMemorySessionStorage, M as SelectTurn, Mn as RecoveryPlan, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nn as planAgentRecovery, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, P as turnsDual, Pn as recoveryPlanRequiresHistory, Pt as registerDrizzleAgentStorage, Q as IngestCompletedTurnParams, Qn as peekInFlightStart, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, S as messageRoutingDual, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, U as ObservedSessionIngestionPolicyDecision, Un as TurnContextEnricher, Ut as createSessionExtensionContext, V as IObservedSessionIngestionPolicyProvider, Vn as extractTextContent, Vt as AgentStorageSubjects, W as ObservedSessionIngestionPolicyImportStatus, Wn as AdapterRegistry, Wt as SessionBridge, X as isTrackingStub, Xn as enqueueAgentSettle, Xt as SelectionRefusalContext, Y as isPolicyDiscoveredObservedSession, Yn as mintClaimToken, Yt as NamedSelectionInstance, Z as LogImportTriggerSubjects, Zn as InFlightStart, Zt as describeHalfNamedInstanceRefusal, _ as MakaioSessionConfig, _n as LeadTransition, _t as SessionPreviewMaps, a as resolveSessionResumeIdentity, an as registerResumeHandler, at as SessionUserMessageSentPayload, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, ct as emitSessionUserMessageSent, d as toSessionLineage, dn as resolveSelectionOwnedInstance, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, er as registerAdapterSessionMovementObserver, et as IngestTurnMessage, f as registerSessionDiscoveredHandler, fn as startLeadAgent, ft as InsertSessionEvent, g as MakaioSession, gn as LeadStartResult, gt as getSessionAncestorChain, h as registerParentResolver, hn as LeadStartRequest, ht as sessionEventsDual, i as SessionResumeIdentity, in as registerGetStatusCountsHandler, ir as MakaioSessionServiceOptions, it as SessionTurnStartedPayload, j as InsertTurn, jn as NativeResumeRecoveryPlan, jt as ownershipClaimTransactionLock, k as registerMemoryMessageStorage, kn as FRESH_WITH_HISTORY_RECOVERY_PLAN, kt as OwnershipClaimKey, l as ContextAssemblyResult, ln as SessionContextWindowState, lt as registerSessionLifecycleEventWriters, m as registerCompressLineageResolver, mn as LeadStartDispatchRequest, mt as sessionEvents, n as NativeLocalityIntent, nn as resetBuiltInActionsRegistration, nr as registerSessionOwnershipAuthority, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, ot as appendSessionLifecycleEvent, p as registerSpawningToolCallResolver, pn as LeadStartDispatch, pt as SelectSessionEvent, q as unregisterObservedSessionIngestionPolicyProvider, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, r as evaluateNativeLocality, rn as actionRegistry, rr as MakaioSessionService, rt as SessionLifecycleEventArgs, s as buildSessionContext, sn as AgentContextState, st as emitSessionTurnStarted, t as NativeLocalityInput, tn as registerBuiltInActions, tr as SessionOwnershipAuthorityDeps, tt as ingestCompletedTurn, u as kindToBranchKind, un as SelectionInstanceContext, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../../index-
|
|
2
|
-
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, S as resolveOwnedAdapterInstance, T as TurnConfig, _ as OwnedAdapterInstanceTarget, a as InFlightStartResolution, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, i as refuseTotalDeferral, k as TurnResult, l as registerForkHandler, m as SessionStartFailureCode, n as routeToAgents, o as StartResolution, p as SessionStartError, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities, y as resolveAnnouncedAdapterInstance } from "../../index-
|
|
3
|
-
import { l as resolveRuntimeProviderContext } from "../../index-
|
|
4
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-
|
|
5
|
-
import { _ as sessionsDual, c as adapterSessionClaims, d as agentsDual, g as sessions, l as adapterSessionClaimsDual, u as agents } from "../../schema-
|
|
6
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-
|
|
1
|
+
import { $ as IngestCompletedTurnResult, $n as runExclusiveStart, $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, An as FreshWithHistoryRecoveryPlan, At as SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, B as importCursorsDual, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dn as buildPlannedRecoveryContext, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Fn as recoveryPlanResumeTarget, Ft as registerMemoryAgentStorage, G as ObservedSessionIngestionPolicyInput, Gn as ISessionOrchestrator, Gt as assembleForkContext, H as OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, In as StartReservationRequest, It as registerDrizzleSessionStorage, J as ObservedSessionIngestionService, Jn as assessClaimOwner, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, K as registerObservedSessionIngestionPolicyProvider, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Ln as reserveStartFor, Lt as registerMemorySessionStorage, M as SelectTurn, Mn as RecoveryPlan, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nn as planAgentRecovery, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, P as turnsDual, Pn as recoveryPlanRequiresHistory, Pt as registerDrizzleAgentStorage, Q as IngestCompletedTurnParams, Qn as peekInFlightStart, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, S as messageRoutingDual, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, U as ObservedSessionIngestionPolicyDecision, Un as TurnContextEnricher, Ut as createSessionExtensionContext, V as IObservedSessionIngestionPolicyProvider, Vn as extractTextContent, Vt as AgentStorageSubjects, W as ObservedSessionIngestionPolicyImportStatus, Wn as AdapterRegistry, Wt as SessionBridge, X as isTrackingStub, Xn as enqueueAgentSettle, Xt as SelectionRefusalContext, Y as isPolicyDiscoveredObservedSession, Yn as mintClaimToken, Yt as NamedSelectionInstance, Z as LogImportTriggerSubjects, Zn as InFlightStart, Zt as describeHalfNamedInstanceRefusal, _ as MakaioSessionConfig, _n as LeadTransition, _t as SessionPreviewMaps, a as resolveSessionResumeIdentity, an as registerResumeHandler, at as SessionUserMessageSentPayload, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, ct as emitSessionUserMessageSent, d as toSessionLineage, dn as resolveSelectionOwnedInstance, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, er as registerAdapterSessionMovementObserver, et as IngestTurnMessage, f as registerSessionDiscoveredHandler, fn as startLeadAgent, ft as InsertSessionEvent, g as MakaioSession, gn as LeadStartResult, gt as getSessionAncestorChain, h as registerParentResolver, hn as LeadStartRequest, ht as sessionEventsDual, i as SessionResumeIdentity, in as registerGetStatusCountsHandler, ir as MakaioSessionServiceOptions, it as SessionTurnStartedPayload, j as InsertTurn, jn as NativeResumeRecoveryPlan, jt as ownershipClaimTransactionLock, k as registerMemoryMessageStorage, kn as FRESH_WITH_HISTORY_RECOVERY_PLAN, kt as OwnershipClaimKey, l as ContextAssemblyResult, ln as SessionContextWindowState, lt as registerSessionLifecycleEventWriters, m as registerCompressLineageResolver, mn as LeadStartDispatchRequest, mt as sessionEvents, n as NativeLocalityIntent, nn as resetBuiltInActionsRegistration, nr as registerSessionOwnershipAuthority, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, ot as appendSessionLifecycleEvent, p as registerSpawningToolCallResolver, pn as LeadStartDispatch, pt as SelectSessionEvent, q as unregisterObservedSessionIngestionPolicyProvider, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, r as evaluateNativeLocality, rn as actionRegistry, rr as MakaioSessionService, rt as SessionLifecycleEventArgs, s as buildSessionContext, sn as AgentContextState, st as emitSessionTurnStarted, t as NativeLocalityInput, tn as registerBuiltInActions, tr as SessionOwnershipAuthorityDeps, tt as ingestCompletedTurn, u as kindToBranchKind, un as SelectionInstanceContext, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../../index-LOh6AEqx.mjs";
|
|
2
|
+
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, S as resolveOwnedAdapterInstance, T as TurnConfig, _ as OwnedAdapterInstanceTarget, a as InFlightStartResolution, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, i as refuseTotalDeferral, k as TurnResult, l as registerForkHandler, m as SessionStartFailureCode, n as routeToAgents, o as StartResolution, p as SessionStartError, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities, y as resolveAnnouncedAdapterInstance } from "../../index-rygpcDBV.mjs";
|
|
3
|
+
import { l as resolveRuntimeProviderContext } from "../../index-BvgLFm-U.mjs";
|
|
4
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-DlrX8feY.mjs";
|
|
5
|
+
import { _ as sessionsDual, c as adapterSessionClaims, d as agentsDual, g as sessions, l as adapterSessionClaimsDual, u as agents } from "../../schema-C9PauHXt.mjs";
|
|
6
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-BymM0nl_.mjs";
|
|
7
7
|
import { t as TurnStorageNamespace } from "../../namespace-DG0hjPcx.mjs";
|
|
8
8
|
import { n as TurnStorageSubjects } from "../../namespace-BGDq7HmW.mjs";
|
|
9
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-
|
|
9
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-Dw5H_KCF.mjs";
|
|
10
10
|
export { AdapterRegistry, AgentContextState, AgentRecoveryOutcome, AgentStorageNamespace, AgentStorageSubjects, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, EmbeddingIndexManager, EventTransform, FRESH_WITH_HISTORY_RECOVERY_PLAN, FallbackRuntimeOptions, FreshWithHistoryRecoveryPlan, IObservedSessionIngestionPolicyProvider, ISessionOrchestrator, InFlightStart, InFlightStartResolution, IngestCompletedTurnParams, IngestCompletedTurnResult, IngestTurnMessage, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, LeadStartDispatch, LeadStartDispatchRequest, LeadStartRequest, LeadStartResult, LeadTransition, LogImportTriggerSubjects, MachineScopedAdapterInstance, MakaioSession, MakaioSessionConfig, MakaioSessionService, MakaioSessionServiceOptions, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, NamedSelectionInstance, NativeLocalityInput, NativeLocalityIntent, NativeResumeRecoveryPlan, OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, ObservedSessionIngestionPolicyDecision, ObservedSessionIngestionPolicyImportStatus, ObservedSessionIngestionPolicyInput, ObservedSessionIngestionService, OwnedAdapterInstance, OwnedAdapterInstanceTarget, OwnershipClaimKey, RecoveryConfig, RecoveryPlan, SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, SearchFilters, SearchSessionRow, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SelectionInstanceContext, SelectionRefusalContext, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLifecycleEventArgs, SessionOrchestrator, SessionOwnershipAuthorityDeps, SessionPreviewMaps, SessionResumeIdentity, SessionStartError, SessionStartFailureCode, SessionStorageMemoryState, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, SessionTurnStartedPayload, SessionUserMessageSentPayload, StartReservationRequest, StartResolution, StartTurnOptions, Turn, TurnConfig, TurnContext, TurnContextEnricher, TurnPairStateChange, TurnPairTerminalOutcome, TurnResult, TurnStorageNamespace, TurnStorageSubjects, VerifiedAgents, actionRegistry, adapterSessionClaims, adapterSessionClaimsDual, admitFreshStartTargets, agents, agentsDual, appendSessionLifecycleEvent, assembleForkContext, assessClaimOwner, buildPlannedRecoveryContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createSessionExtensionContext, createSessionStorageMemoryState, describeHalfNamedInstanceRefusal, emitSessionTurnStarted, emitSessionUserMessageSent, enqueueAgentSettle, ensureAgentCwd, ensureAgentModel, evaluateNativeLocality, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, getSessionAncestorChain, importCursors, importCursorsDual, ingestCompletedTurn, isPolicyDiscoveredObservedSession, isTrackingStub, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messageRoutingDual, messages, mintClaimToken, normalizeSelectionString, normalizeToBlocks, ownershipClaimTransactionLock, parseForkTransforms, peekInFlightStart, pickFallbackRuntimeOptions, planAgentRecovery, recoverAgent, recoveryPlanRequiresHistory, recoveryPlanResumeTarget, refuseTotalDeferral, registerAbandonHandler, registerAdapterSessionMovementObserver, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionOwnershipStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionOwnershipStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerObservedSessionIngestionPolicyProvider, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSessionLifecycleEventWriters, registerSessionOwnershipAuthority, registerSpawningToolCallResolver, reserveStartFor, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveAnnouncedAdapterInstance, resolveExecutionTarget, resolveInFlightStarts, resolveModelCapabilities, resolveOwnedAdapterInstance, resolveRuntimeProviderContext, resolveSelectionOwnedInstance, resolveSessionResumeIdentity, resolveTargetAgents, routeToAgents, routeToAgentsCore, runExclusiveStart, sessionEvents, sessionEventsDual, sessions, sessionsDual, startLeadAgent, toSessionLineage, turns, turnsDual, unregisterObservedSessionIngestionPolicyProvider, verifyAndRecoverAgents };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-
|
|
1
|
+
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-Dw5H_KCF.mjs";
|
|
2
2
|
export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-
|
|
1
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-BymM0nl_.mjs";
|
|
2
2
|
export { SessionEventStorageNamespace, SessionEventStorageSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-
|
|
1
|
+
import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-DlrX8feY.mjs";
|
|
2
2
|
export { SessionPreviewData, SessionPreviewDataSchema, SessionStorageNamespace, SessionStorageSubjects, SessionWithPreview, SessionWithPreviewSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as sessionsDual, a as SelectAgent, c as adapterSessionClaims, d as agentsDual, f as runtimeInstanceIncarnationCounters, g as sessions, h as runtimeInstancesDual, i as SelectAdapterSessionClaim, l as adapterSessionClaimsDual, m as runtimeInstances, n as InsertAgent, o as SelectRuntimeInstance, p as runtimeInstanceIncarnationCountersDual, r as InsertSession, s as SelectSession, t as InsertAdapterSessionClaim, u as agents } from "../../../schema-
|
|
1
|
+
import { _ as sessionsDual, a as SelectAgent, c as adapterSessionClaims, d as agentsDual, f as runtimeInstanceIncarnationCounters, g as sessions, h as runtimeInstancesDual, i as SelectAdapterSessionClaim, l as adapterSessionClaimsDual, m as runtimeInstances, n as InsertAgent, o as SelectRuntimeInstance, p as runtimeInstanceIncarnationCountersDual, r as InsertSession, s as SelectSession, t as InsertAdapterSessionClaim, u as agents } from "../../../schema-C9PauHXt.mjs";
|
|
2
2
|
export { InsertAdapterSessionClaim, InsertAgent, InsertSession, SelectAdapterSessionClaim, SelectAgent, SelectRuntimeInstance, SelectSession, adapterSessionClaims, adapterSessionClaimsDual, agents, agentsDual, runtimeInstanceIncarnationCounters, runtimeInstanceIncarnationCountersDual, runtimeInstances, runtimeInstancesDual, sessions, sessionsDual };
|
|
@@ -496,8 +496,8 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
496
496
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
497
497
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
498
498
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
499
|
-
fork: "fork";
|
|
500
499
|
fresh: "fresh";
|
|
500
|
+
fork: "fork";
|
|
501
501
|
}>>;
|
|
502
502
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
503
503
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -512,16 +512,16 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
512
512
|
request: _$zod.ZodObject<{
|
|
513
513
|
name: _$zod.ZodString;
|
|
514
514
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
515
|
-
|
|
515
|
+
adapterName: _$zod.ZodString;
|
|
516
516
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
517
|
+
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
517
518
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
518
519
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
519
520
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
520
521
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
521
|
-
adapterName: _$zod.ZodString;
|
|
522
522
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
523
|
-
fork: "fork";
|
|
524
523
|
fresh: "fresh";
|
|
524
|
+
fork: "fork";
|
|
525
525
|
}>>;
|
|
526
526
|
}, _$zod_v4_core0.$strip>;
|
|
527
527
|
response: _$zod.ZodObject<{
|
|
@@ -537,8 +537,8 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
537
537
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
538
538
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
539
539
|
contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
|
|
540
|
-
fork: "fork";
|
|
541
540
|
fresh: "fresh";
|
|
541
|
+
fork: "fork";
|
|
542
542
|
}>>>;
|
|
543
543
|
allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
|
544
544
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
|
@@ -587,8 +587,8 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
587
587
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
588
588
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
589
589
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
590
|
-
fork: "fork";
|
|
591
590
|
fresh: "fresh";
|
|
591
|
+
fork: "fork";
|
|
592
592
|
}>>;
|
|
593
593
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
594
594
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -603,16 +603,16 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
603
603
|
request: _$zod.ZodObject<{
|
|
604
604
|
name: _$zod.ZodString;
|
|
605
605
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
606
|
-
|
|
606
|
+
adapterName: _$zod.ZodString;
|
|
607
607
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
608
|
+
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
608
609
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
609
610
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
610
611
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
611
612
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
612
|
-
adapterName: _$zod.ZodString;
|
|
613
613
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
614
|
-
fork: "fork";
|
|
615
614
|
fresh: "fresh";
|
|
615
|
+
fork: "fork";
|
|
616
616
|
}>>;
|
|
617
617
|
}, _$zod_v4_core0.$strip>;
|
|
618
618
|
response: _$zod.ZodObject<{
|
|
@@ -628,8 +628,8 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
628
628
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
629
629
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
630
630
|
contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
|
|
631
|
-
fork: "fork";
|
|
632
631
|
fresh: "fresh";
|
|
632
|
+
fork: "fork";
|
|
633
633
|
}>>>;
|
|
634
634
|
allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
|
635
635
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-
|
|
1
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-B2UbGJpJ.mjs";
|
|
2
2
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-DykqxEyX.mjs";
|
|
3
3
|
export { type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-
|
|
1
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-B2UbGJpJ.mjs";
|
|
2
2
|
export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
|