@makaio/framework 1.0.0-dev-1781517341920 → 1.0.0-dev-1781729807808
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/adapter-Cxcqmp04.mjs +1 -0
- package/dist/adapters/stream-session/index.d.mts +2 -0
- package/dist/await-trigger-Cjfj0yp_.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/{canonical-model-BE7t86yt.mjs → canonical-model-C-jhofjd.mjs} +1 -1
- package/dist/compression-BPOKUc6y.mjs +1 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +12 -12
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +261 -65
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/provider/index.d.mts +3 -3
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/definition-BJ_975aA.mjs +1 -0
- package/dist/{definition-CPc6oKaF.d.mts → definition-CZcVOhXZ.d.mts} +1 -1
- package/dist/{definition-B2FH_eOh.d.mts → definition-GOb_oOmb.d.mts} +13 -2
- package/dist/drizzle/0020_m_mqf47r9j.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{extension-DNrcv3V7.mjs → extension-CkU_hqra.mjs} +1 -1
- package/dist/{handlers-Cpy9Q8ho.mjs → handlers-dnpT_hsm.mjs} +1 -1
- package/dist/{index-C7vAbtvS.d.mts → index-BFW1X6SW.d.mts} +85 -46
- package/dist/{index-fTBtQ5fK.d.mts → index-BuaP2Q0b.d.mts} +16 -16
- package/dist/{index-BBteExwv.d.mts → index-ByRAbcZd.d.mts} +4 -2
- package/dist/{index-GuspCNLR.d.mts → index-C2XLjebs.d.mts} +8 -8
- package/dist/{index-Dun5uQwE.d.mts → index-CUYDEQvN.d.mts} +24 -3
- package/dist/{index-I6pLxh17.d.mts → index-CkpGuNLe.d.mts} +15 -15
- package/dist/{index-DWqgo739.d.mts → index-Cy75lJ1O.d.mts} +34 -34
- package/dist/{index-WKF5BHsw.d.mts → index-DUI1W-zN.d.mts} +8 -8
- package/dist/{index-BDnI2oqX.d.mts → index-Dbd0Tgba.d.mts} +2 -2
- package/dist/{index-CsP4Ckem.d.mts → index-Dn73XrXA.d.mts} +8 -8
- package/dist/{index-dFTsZFlh.d.mts → index-Dpu4e9NK.d.mts} +1 -1
- package/dist/{index-B8v52gGb.d.mts → index-HiAth5G0.d.mts} +60 -60
- package/dist/{index-BoI86whU.d.mts → index-WWYQEH0q.d.mts} +18 -18
- package/dist/{index-DVz3a2jZ.d.mts → index-XcnFGiKL.d.mts} +4 -4
- package/dist/{index-BM_y78ZA2.d.mts → index-cN4DkU5Y2.d.mts} +9 -9
- 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/{lib-DkLlhp9Z.mjs → lib-B-R6VZW0.mjs} +2 -2
- package/dist/{lib-jOuIcSs9.mjs → lib-BwYODPdd.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-CEqkI6Zu.d.mts → namespace-B091meTj.d.mts} +6 -6
- package/dist/{namespace-CN2TfSCY.d.mts → namespace-Ba1gUpUu.d.mts} +4 -4
- package/dist/{namespace-BAJTZXWc.d.mts → namespace-CO3DK1v_.d.mts} +60 -23
- package/dist/{namespace-H9A39Mx8.d.mts → namespace-CZgcOQTh.d.mts} +56 -56
- package/dist/{namespace-Cj7k5UH7.d.mts → namespace-Daq_-170.d.mts} +7 -7
- package/dist/package-DP8lk0-a.mjs +1 -0
- package/dist/package.json +1 -1
- package/dist/primitive-runtime-Dw6OC8w5.mjs +1 -0
- package/dist/{providers-namespace-C0C-Sb4N.d.mts → providers-namespace-B4INLPUc.d.mts} +7 -7
- package/dist/{registry-udUhXSIC.mjs → registry-CwjZvH2s.mjs} +2 -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/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-msWs4YhT.d.mts → schema-DcZifH6p.d.mts} +27 -1
- package/dist/{schemas-DMl7IKG-.d.mts → schemas-BbFAwUpf.d.mts} +5 -5
- package/dist/{schemas-Cae5dubB.d.mts → schemas-BqscWIoC.d.mts} +6 -6
- package/dist/{schemas-DuQ9EcLu2.d.mts → schemas-CTIaU6Rt2.d.mts} +12 -12
- package/dist/{schemas-CN9hprME.d.mts → schemas-IDGAJ_zv.d.mts} +6 -6
- package/dist/schemas-dNCdjOLB.mjs +1 -0
- 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/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +57 -57
- package/dist/services/index.mjs +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/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/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +2 -1
- package/dist/services/settings/index.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +12 -12
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/session-DApMcL_0.mjs +1 -0
- package/dist/session-R-wciAdJ.mjs +39 -0
- package/dist/{session-lineage-DFkJgYt5.d.mts → session-lineage-D_8W1MI0.d.mts} +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/{tool-approval-service-B_28RhuK.mjs → tool-approval-service-DhAqQqev.mjs} +1 -1
- package/dist/tools/index.d.mts +8 -0
- package/dist/tools-DeZIVtxe.mjs +1 -0
- package/dist/{types-DUNA749O.d.mts → types-CCsvoUTA.d.mts} +33 -15
- package/dist/workflow-engine/index.d.mts +49 -25
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-CjuRYLmJ.mjs → workflow-worker-DMFhz1q_.mjs} +1 -1
- package/package.json +1 -1
- package/dist/adapter-ux2xaQ6H.mjs +0 -1
- package/dist/await-trigger-uKEHY8E4.mjs +0 -1
- package/dist/compression-Cy9DIqyr.mjs +0 -1
- package/dist/definition-Bija4lGr.mjs +0 -1
- package/dist/package-lxB0vpby.mjs +0 -1
- package/dist/primitive-runtime-BSg8J7VX.mjs +0 -1
- package/dist/schemas-Dvm_0GDr.mjs +0 -1
- package/dist/session-Is5VSP2V.mjs +0 -1
- package/dist/session-ZAJrcudH.mjs +0 -39
- package/dist/tools-BpzJterj.mjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../schemas-BxI5Yq8d.mjs";
|
|
2
2
|
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-q5dD3acO.mjs";
|
|
3
3
|
import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-6QvT0ljq.mjs";
|
|
4
|
-
import { _ as BindingRecord } from "../index-
|
|
4
|
+
import { _ as BindingRecord } from "../index-Cy75lJ1O.mjs";
|
|
5
5
|
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-fEoe6H0K.mjs";
|
|
6
6
|
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-BQgZChZl.mjs";
|
|
7
7
|
import { t as CapabilityService } from "../index-kOSSuOcK.mjs";
|
|
@@ -10,28 +10,28 @@ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseCha
|
|
|
10
10
|
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-BSAKbVyd.mjs";
|
|
11
11
|
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-nQS4XwnT.mjs";
|
|
12
12
|
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-xLd-e0wf.mjs";
|
|
13
|
-
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-
|
|
14
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
13
|
+
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-BqscWIoC.mjs";
|
|
14
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-B091meTj.mjs";
|
|
15
15
|
import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-DNmENr9M.mjs";
|
|
16
|
-
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-
|
|
16
|
+
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-CUYDEQvN.mjs";
|
|
17
17
|
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../index-BtL_9HBk.mjs";
|
|
18
18
|
import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-BplsE3qw.mjs";
|
|
19
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-
|
|
20
|
-
import { a as agents, s as sessions } from "../schema-
|
|
19
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-CO3DK1v_.mjs";
|
|
20
|
+
import { a as agents, s as sessions } from "../schema-DcZifH6p.mjs";
|
|
21
21
|
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-B1Bldc48.mjs";
|
|
22
22
|
import { t as TurnStorageNamespace } from "../namespace-DKnJL0Ja.mjs";
|
|
23
23
|
import { n as TurnStorageSubjects } from "../namespace-2G7A4Sza.mjs";
|
|
24
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
24
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-Daq_-170.mjs";
|
|
25
25
|
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-CkPIPbx9.mjs";
|
|
26
26
|
import { t as ToolApprovalService } from "../index-BeNVLvtk2.mjs";
|
|
27
27
|
import { t as TrayMenuService } from "../index-CYZqADXY2.mjs";
|
|
28
|
-
import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-
|
|
29
|
-
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-
|
|
28
|
+
import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-IDGAJ_zv.mjs";
|
|
29
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-Ba1gUpUu.mjs";
|
|
30
30
|
import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-DVgKfgh1.mjs";
|
|
31
31
|
import { a as InternalPendingRequest, c as SubagentServiceToken, i as InputResolver, l as subagentServicePackage, n as TrackOptions, o as SpawnOptions, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as SubagentService } from "../index-DJSffYTW2.mjs";
|
|
32
32
|
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DZfBym73.mjs";
|
|
33
33
|
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-gey7EUhM.mjs";
|
|
34
|
-
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-
|
|
34
|
+
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-CTIaU6Rt2.mjs";
|
|
35
35
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-6u1Uf-iw2.mjs";
|
|
36
36
|
import * as _$zod from "zod";
|
|
37
37
|
import { z } from "zod";
|
|
@@ -1341,9 +1341,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1341
1341
|
name: _$zod.ZodString;
|
|
1342
1342
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1343
1343
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1344
|
-
enabled: "enabled";
|
|
1345
|
-
disabled: "disabled";
|
|
1346
1344
|
visible: "visible";
|
|
1345
|
+
disabled: "disabled";
|
|
1346
|
+
enabled: "enabled";
|
|
1347
1347
|
}>>>;
|
|
1348
1348
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1349
1349
|
allowlist: "allowlist";
|
|
@@ -1368,9 +1368,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1368
1368
|
name: _$zod.ZodString;
|
|
1369
1369
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1370
1370
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1371
|
-
enabled: "enabled";
|
|
1372
|
-
disabled: "disabled";
|
|
1373
1371
|
visible: "visible";
|
|
1372
|
+
disabled: "disabled";
|
|
1373
|
+
enabled: "enabled";
|
|
1374
1374
|
}>>>;
|
|
1375
1375
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1376
1376
|
allowlist: "allowlist";
|
|
@@ -1395,9 +1395,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1395
1395
|
name: _$zod.ZodString;
|
|
1396
1396
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1397
1397
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1398
|
-
enabled: "enabled";
|
|
1399
|
-
disabled: "disabled";
|
|
1400
1398
|
visible: "visible";
|
|
1399
|
+
disabled: "disabled";
|
|
1400
|
+
enabled: "enabled";
|
|
1401
1401
|
}>>>;
|
|
1402
1402
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1403
1403
|
allowlist: "allowlist";
|
|
@@ -1459,9 +1459,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1459
1459
|
name: _$zod.ZodString;
|
|
1460
1460
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1461
1461
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1462
|
-
enabled: "enabled";
|
|
1463
|
-
disabled: "disabled";
|
|
1464
1462
|
visible: "visible";
|
|
1463
|
+
disabled: "disabled";
|
|
1464
|
+
enabled: "enabled";
|
|
1465
1465
|
}>>>;
|
|
1466
1466
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1467
1467
|
allowlist: "allowlist";
|
|
@@ -1490,7 +1490,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1490
1490
|
credentialRefs: _$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>;
|
|
1491
1491
|
credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1492
1492
|
ambientCredentialEnvVars: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1493
|
-
capabilities: _$zod.ZodOptional<_$zod.
|
|
1493
|
+
capabilities: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1494
1494
|
}, _$zod_v4_core0.$strip>>;
|
|
1495
1495
|
}, _$zod_v4_core0.$strict>;
|
|
1496
1496
|
};
|
|
@@ -1594,7 +1594,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1594
1594
|
"show-all": "show-all";
|
|
1595
1595
|
}>>;
|
|
1596
1596
|
credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1597
|
-
capabilities: _$zod.ZodOptional<_$zod.
|
|
1597
|
+
capabilities: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1598
1598
|
}, _$zod_v4_core0.$strip>>;
|
|
1599
1599
|
}, _$zod_v4_core0.$strict>;
|
|
1600
1600
|
};
|
|
@@ -1608,9 +1608,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1608
1608
|
openai: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1609
1609
|
}, _$zod_v4_core0.$strip>>;
|
|
1610
1610
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1611
|
-
enabled: "enabled";
|
|
1612
|
-
disabled: "disabled";
|
|
1613
1611
|
visible: "visible";
|
|
1612
|
+
disabled: "disabled";
|
|
1613
|
+
enabled: "enabled";
|
|
1614
1614
|
}>>>;
|
|
1615
1615
|
modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1616
1616
|
allowlist: "allowlist";
|
|
@@ -1625,9 +1625,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1625
1625
|
name: _$zod.ZodString;
|
|
1626
1626
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1627
1627
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1628
|
-
enabled: "enabled";
|
|
1629
|
-
disabled: "disabled";
|
|
1630
1628
|
visible: "visible";
|
|
1629
|
+
disabled: "disabled";
|
|
1630
|
+
enabled: "enabled";
|
|
1631
1631
|
}>>>;
|
|
1632
1632
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1633
1633
|
allowlist: "allowlist";
|
|
@@ -1651,9 +1651,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1651
1651
|
openai: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1652
1652
|
}, _$zod_v4_core0.$strip>>>;
|
|
1653
1653
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1654
|
-
enabled: "enabled";
|
|
1655
|
-
disabled: "disabled";
|
|
1656
1654
|
visible: "visible";
|
|
1655
|
+
disabled: "disabled";
|
|
1656
|
+
enabled: "enabled";
|
|
1657
1657
|
}>>>;
|
|
1658
1658
|
enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1659
1659
|
}, _$zod_v4_core0.$strict>;
|
|
@@ -1665,9 +1665,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1665
1665
|
name: _$zod.ZodString;
|
|
1666
1666
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1667
1667
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1668
|
-
enabled: "enabled";
|
|
1669
|
-
disabled: "disabled";
|
|
1670
1668
|
visible: "visible";
|
|
1669
|
+
disabled: "disabled";
|
|
1670
|
+
enabled: "enabled";
|
|
1671
1671
|
}>>>;
|
|
1672
1672
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1673
1673
|
allowlist: "allowlist";
|
|
@@ -1693,9 +1693,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1693
1693
|
name: _$zod.ZodString;
|
|
1694
1694
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1695
1695
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1696
|
-
enabled: "enabled";
|
|
1697
|
-
disabled: "disabled";
|
|
1698
1696
|
visible: "visible";
|
|
1697
|
+
disabled: "disabled";
|
|
1698
|
+
enabled: "enabled";
|
|
1699
1699
|
}>>>;
|
|
1700
1700
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1701
1701
|
allowlist: "allowlist";
|
|
@@ -1728,9 +1728,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1728
1728
|
name: _$zod.ZodString;
|
|
1729
1729
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1730
1730
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1731
|
-
enabled: "enabled";
|
|
1732
|
-
disabled: "disabled";
|
|
1733
1731
|
visible: "visible";
|
|
1732
|
+
disabled: "disabled";
|
|
1733
|
+
enabled: "enabled";
|
|
1734
1734
|
}>>>;
|
|
1735
1735
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1736
1736
|
allowlist: "allowlist";
|
|
@@ -1760,9 +1760,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1760
1760
|
name: _$zod.ZodString;
|
|
1761
1761
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1762
1762
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1763
|
-
enabled: "enabled";
|
|
1764
|
-
disabled: "disabled";
|
|
1765
1763
|
visible: "visible";
|
|
1764
|
+
disabled: "disabled";
|
|
1765
|
+
enabled: "enabled";
|
|
1766
1766
|
}>>>;
|
|
1767
1767
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1768
1768
|
allowlist: "allowlist";
|
|
@@ -1865,9 +1865,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1865
1865
|
name: _$zod.ZodString;
|
|
1866
1866
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1867
1867
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1868
|
-
enabled: "enabled";
|
|
1869
|
-
disabled: "disabled";
|
|
1870
1868
|
visible: "visible";
|
|
1869
|
+
disabled: "disabled";
|
|
1870
|
+
enabled: "enabled";
|
|
1871
1871
|
}>>>;
|
|
1872
1872
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1873
1873
|
allowlist: "allowlist";
|
|
@@ -1885,9 +1885,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1885
1885
|
name: _$zod.ZodString;
|
|
1886
1886
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1887
1887
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1888
|
-
enabled: "enabled";
|
|
1889
|
-
disabled: "disabled";
|
|
1890
1888
|
visible: "visible";
|
|
1889
|
+
disabled: "disabled";
|
|
1890
|
+
enabled: "enabled";
|
|
1891
1891
|
}>>>;
|
|
1892
1892
|
modelFilterMode: _$zod.ZodEnum<{
|
|
1893
1893
|
allowlist: "allowlist";
|
|
@@ -3213,9 +3213,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3213
3213
|
changed: _$zod.ZodObject<{
|
|
3214
3214
|
ruleId: _$zod.ZodString;
|
|
3215
3215
|
changeType: _$zod.ZodEnum<{
|
|
3216
|
+
deleted: "deleted";
|
|
3216
3217
|
created: "created";
|
|
3217
3218
|
updated: "updated";
|
|
3218
|
-
deleted: "deleted";
|
|
3219
3219
|
}>;
|
|
3220
3220
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
3221
3221
|
scope: _$zod.ZodEnum<{
|
|
@@ -3503,8 +3503,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3503
3503
|
id: _$zod.ZodString;
|
|
3504
3504
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3505
3505
|
name: _$zod.ZodString;
|
|
3506
|
-
enabled: _$zod.ZodBoolean;
|
|
3507
3506
|
scope: _$zod.ZodString;
|
|
3507
|
+
enabled: _$zod.ZodBoolean;
|
|
3508
3508
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
3509
3509
|
type: _$zod.ZodLiteral<"container-local">;
|
|
3510
3510
|
id: _$zod.ZodString;
|
|
@@ -3512,8 +3512,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3512
3512
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3513
3513
|
name: _$zod.ZodString;
|
|
3514
3514
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3515
|
-
enabled: _$zod.ZodBoolean;
|
|
3516
3515
|
scope: _$zod.ZodString;
|
|
3516
|
+
enabled: _$zod.ZodBoolean;
|
|
3517
3517
|
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3518
3518
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
3519
3519
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
@@ -3522,8 +3522,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3522
3522
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3523
3523
|
name: _$zod.ZodString;
|
|
3524
3524
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3525
|
-
enabled: _$zod.ZodBoolean;
|
|
3526
3525
|
scope: _$zod.ZodString;
|
|
3526
|
+
enabled: _$zod.ZodBoolean;
|
|
3527
3527
|
busMode: _$zod.ZodEnum<{
|
|
3528
3528
|
relay: "relay";
|
|
3529
3529
|
host: "host";
|
|
@@ -3764,8 +3764,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3764
3764
|
extensionConfig: _$zod.ZodObject<{
|
|
3765
3765
|
id: _$zod.ZodString;
|
|
3766
3766
|
config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
3767
|
-
enabled: _$zod.ZodBoolean;
|
|
3768
3767
|
scope: _$zod.ZodString;
|
|
3768
|
+
enabled: _$zod.ZodBoolean;
|
|
3769
3769
|
extensionName: _$zod.ZodString;
|
|
3770
3770
|
}, _$zod_v4_core0.$strip>;
|
|
3771
3771
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -3814,8 +3814,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3814
3814
|
path: _$zod.ZodString;
|
|
3815
3815
|
kind: _$zod.ZodEnum<{
|
|
3816
3816
|
create: "create";
|
|
3817
|
-
delete: "delete";
|
|
3818
3817
|
change: "change";
|
|
3818
|
+
delete: "delete";
|
|
3819
3819
|
}>;
|
|
3820
3820
|
}, _$zod_v4_core0.$strip>;
|
|
3821
3821
|
batch: _$zod.ZodObject<{
|
|
@@ -3823,8 +3823,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3823
3823
|
path: _$zod.ZodString;
|
|
3824
3824
|
kind: _$zod.ZodEnum<{
|
|
3825
3825
|
create: "create";
|
|
3826
|
-
delete: "delete";
|
|
3827
3826
|
change: "change";
|
|
3827
|
+
delete: "delete";
|
|
3828
3828
|
}>;
|
|
3829
3829
|
}, _$zod_v4_core0.$strip>>;
|
|
3830
3830
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -4015,7 +4015,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4015
4015
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4016
4016
|
name: _$zod.ZodString;
|
|
4017
4017
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4018
|
-
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4019
4018
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4020
4019
|
toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
4021
4020
|
"file.read": "file.read";
|
|
@@ -4038,6 +4037,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4038
4037
|
"always-ask": "always-ask";
|
|
4039
4038
|
"full-access": "full-access";
|
|
4040
4039
|
}>>>;
|
|
4040
|
+
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4041
4041
|
approvalPolicy: _$zod.ZodEnum<{
|
|
4042
4042
|
reject: "reject";
|
|
4043
4043
|
"always-ask": "always-ask";
|
|
@@ -5300,7 +5300,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5300
5300
|
"show-all": "show-all";
|
|
5301
5301
|
}>;
|
|
5302
5302
|
credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5303
|
-
capabilities: _$zod.ZodOptional<_$zod.
|
|
5303
|
+
capabilities: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5304
5304
|
enabled: _$zod.ZodBoolean;
|
|
5305
5305
|
createdAt: _$zod.ZodNumber;
|
|
5306
5306
|
updatedAt: _$zod.ZodNumber;
|
|
@@ -5379,7 +5379,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5379
5379
|
"show-all": "show-all";
|
|
5380
5380
|
}>;
|
|
5381
5381
|
credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5382
|
-
capabilities: _$zod.ZodOptional<_$zod.
|
|
5382
|
+
capabilities: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5383
5383
|
enabled: _$zod.ZodBoolean;
|
|
5384
5384
|
createdAt: _$zod.ZodNumber;
|
|
5385
5385
|
updatedAt: _$zod.ZodNumber;
|
|
@@ -5463,7 +5463,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5463
5463
|
"show-all": "show-all";
|
|
5464
5464
|
}>;
|
|
5465
5465
|
credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5466
|
-
capabilities: _$zod.ZodOptional<_$zod.
|
|
5466
|
+
capabilities: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5467
5467
|
enabled: _$zod.ZodBoolean;
|
|
5468
5468
|
createdAt: _$zod.ZodNumber;
|
|
5469
5469
|
updatedAt: _$zod.ZodNumber;
|
|
@@ -5734,9 +5734,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5734
5734
|
groupId: _$zod.ZodString;
|
|
5735
5735
|
entries: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5736
5736
|
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
5737
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
5738
|
-
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
5739
5737
|
label: _$zod.ZodString;
|
|
5738
|
+
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
5739
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
5740
5740
|
entryId: _$zod.ZodString;
|
|
5741
5741
|
}, _$zod_v4_core0.$strip>>;
|
|
5742
5742
|
section: _$zod.ZodEnum<{
|
|
@@ -6239,18 +6239,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6239
6239
|
create: {
|
|
6240
6240
|
request: _$zod.ZodObject<{
|
|
6241
6241
|
name: _$zod.ZodString;
|
|
6242
|
+
adapterName: _$zod.ZodString;
|
|
6242
6243
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6243
6244
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6244
|
-
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6245
|
-
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6246
|
-
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6247
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6248
|
-
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6249
6245
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
6250
6246
|
fork: "fork";
|
|
6251
6247
|
fresh: "fresh";
|
|
6252
6248
|
}>>;
|
|
6253
|
-
|
|
6249
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6250
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6251
|
+
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6252
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6253
|
+
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6254
6254
|
}, _$zod_v4_core0.$strip>;
|
|
6255
6255
|
response: _$zod.ZodObject<{
|
|
6256
6256
|
id: _$zod.ZodString;
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{TurnStorageNamespace as e,TurnStorageSubjects as t}from"./turn/namespace.mjs";import{agents as n,sessions as r}from"./session/storage/schema.mjs";import{n as i,t as a}from"../schema-Ba64XQjo.mjs";import{t as o}from"../schema-atatXwNg.mjs";import{i as s,n as c,r as l,t as u}from"../namespace-BxrHvS5c.mjs";import{SessionStorageNamespace as ee,SessionStorageSubjects as d}from"./session/storage/namespace.mjs";import{A as te,C as ne,D as re,E as ie,F as ae,M as oe,N as se,O as ce,P as f,S as le,T as ue,_ as de,a as fe,b as pe,c as me,d as he,f as ge,g as _e,h as ve,i as ye,j as p,k as m,l as h,m as g,n as _,o as v,p as y,r as b,s as x,t as S,u as C,v as w,w as T,x as E,y as D}from"../handlers-Cpy9Q8ho.mjs";import{A as O,B as k,C as A,E as j,F as M,G as N,H as P,I as be,J as xe,K as Se,L as Ce,M as we,N as Te,O as Ee,P as De,R as Oe,S as ke,T as Ae,U as je,V as Me,W as Ne,X as Pe,Y as Fe,_ as Ie,a as Le,b as Re,c as ze,d as Be,g as Ve,h as He,i as Ue,j as We,k as Ge,l as Ke,m as qe,o as Je,p as Ye,q as Xe,r as Ze,s as Qe,t as $e,u as et,v as tt,w as nt,x as rt,y as it,z as at}from"../session-ZAJrcudH.mjs";import{t as ot}from"../namespace-FJsnoEQy.mjs";import{n as st,r as ct,t as lt}from"../provider-context-Ds6GNYnE.mjs";import{AdapterRuntimeSchemas as ut,ResolveIdRequestSchema as dt,ResolveIdResponseSchema as ft,ResolveNameRequestSchema as pt,ResolveNameResponseSchema as mt}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as F,AdapterRuntimeSubjects as ht}from"./adapter-runtime/namespace.mjs";import{ProviderStorageNamespace as gt}from"./settings/storage/providers-namespace.mjs";import{ContainerIsolatedExecutionTargetSchema as _t,ContainerLocalExecutionTargetSchema as vt,ExecutionTargetInputSchema as yt,ExecutionTargetListQuerySchema as bt,ExecutionTargetResolveRequestSchema as xt,ExecutionTargetSchema as St,ExecutionTargetSchemas as Ct,ExecutionTargetTypeSchema as wt,LocalExecutionTargetSchema as Tt}from"./execution-target/schemas.mjs";import{ExecutionTargetNamespace as I,ExecutionTargetSubjects as Et}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Dt,MessageStorageSubjects as Ot}from"./session/messages/namespace.mjs";import{TurnStorageNamespace as kt}from"./session/turns/namespace.mjs";import{BugEntrySchema as At,CompressRequestSchema as jt,CompressResponseSchema as Mt,CompressionEventSchema as Nt,CompressionSchemas as Pt,ExtractedContextSchema as Ft,TechnicalDetailsSchema as It,TodoEntrySchema as Lt}from"./compression/schemas.mjs";import{PreferenceItemSchema as Rt,PreferenceKeySchema as zt,PreferenceValueSchema as Bt,PreferencesSchemas as Vt}from"./preferences/schemas.mjs";import{PreferencesNamespace as L,PreferencesSubjects as Ht}from"./preferences/storage-namespace.mjs";import{t as Ut}from"../namespace-UUw-S7ia.mjs";import{A as Wt,B as Gt,C as Kt,D as qt,E as Jt,F as Yt,G as Xt,H as Zt,I as Qt,J as $t,K as en,L as tn,M as nn,N as rn,O as an,P as on,R as sn,S as cn,T as ln,U as un,V as R,W as dn,Y as fn,_ as pn,a as z,b as mn,c as hn,d as gn,f as _n,g as B,h as vn,i as V,j as yn,k as bn,l as xn,m as Sn,o as Cn,p as H,q as wn,r as Tn,s as U,u as En,v as W,w as Dn,x as On,y as kn,z as An}from"../tools-BpzJterj.mjs";import{t as jn}from"../capability-service-CHl8rrwb.mjs";import{a as Mn,c as Nn,i as Pn,l as Fn,n as In,o as G,r as Ln,s as Rn,t as zn,u as Bn}from"../model-registry-DLeMw3l8.mjs";import{t as Vn}from"../tool-approval-service-B_28RhuK.mjs";import{TrayMenuEntrySchema as Hn,TrayMenuGroupEntrySchema as Un,TrayMenuGroupSchema as Wn,TrayMenuItemClickedSchema as Gn,TrayMenuListEntrySchema as Kn,TrayMenuMetadataSchema as qn,TrayMenuSchemas as Jn,TrayMenuSectionSchema as Yn}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as K,TrayMenuSubjects as Xn}from"./tray-menu/namespace.mjs";import{t as Zn}from"../tray-menu-service-am356993.mjs";import{n as Qn}from"../handler-BIA3ld4C.mjs";import{i as $n,n as er,r as tr,t as nr}from"../package-YQeRE8bV.mjs";import{FsNamespace as rr}from"./filesystem/namespace.mjs";import"./capability/index.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as ir,AgentRuntimeSchemas as ar,AgentRuntimeSelectionSchema as or}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as q,AgentRuntimeSubjects as sr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as cr,CodebaseSchemas as lr}from"./codebase/schemas.mjs";import{CodebaseNamespace as J,CodebaseSubjects as ur}from"./codebase/namespace.mjs";import{CompressionNamespace as Y,CompressionSubjects as dr}from"./compression/namespace.mjs";import{r as fr,t as pr}from"../storage-namespace-C1JVmZF1.mjs";import{DefinitionNamespace as mr}from"./definition/namespace.mjs";import{DialogNamespace as hr}from"./dialog/namespace.mjs";import{_ as gr,c as _r,d as vr,f as yr,g as br,h as xr,i as Sr,l as Cr,m as wr,n as Tr,o as Er,p as Dr,r as X,s as Or,t as kr,u as Ar,v as jr,y as Mr}from"../execution-target-Da6Vjvba.mjs";import{CLIDetectionNamespace as Nr}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as Pr}from"./local-notification/namespace.mjs";import{t as Fr}from"../namespace-zWB-ULrX.mjs";import{ExtensionConfigStorageNamespace as Ir}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as Lr}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as Rr,SubagentTemplateCreateSchema as zr,SubagentTemplateInstanceSchema as Br,SubagentTemplateInstanceStatusSchema as Vr,SubagentTemplateKernelSchemas as Hr,SubagentTemplateSchema as Ur,SubagentTemplateSettingsSchemas as Wr,SubagentTemplateSpawnRequestSchema as Gr,SubagentTemplateSpawnedEventSchema as Kr,SubagentTemplateSummarySchema as qr,SubagentTemplateUpdateSchema as Jr}from"./subagent-template/schemas.mjs";import{r as Yr,t as Xr}from"../namespace-DrpHLJAy.mjs";import{SubagentTemplateKernelNamespace as Z,SubagentTemplateSubjects as Zr}from"./subagent-template/namespace.mjs";import{i as Qr,n as $r,r as ei,t as ti}from"../identity-CA5MzB19.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{ImportCursorStorageNamespace as ni}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as ri}from"@makaio/framework/contracts/model-registry";function ii(e){return{source:`extension`,ownerKey:`extension:${e}`}}function ai(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function oi(){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)}ai(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(z);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=ii(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 si(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function ci(){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(V);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(si(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)}}}}function Q(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function li(){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)}Q(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(U);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 Q(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 $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerBinding(e)}function ui(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerBinding(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.deregisterBinding(t.id)}$(e,n.registry)}};return{filter:e=>(e.surfaceBindings?.bindings?.length??0)>0,async processActivated(r,i,a){let o=a.getService(H);if(!o)throw Error(`SurfaceBindingRegistry is not available — ensure surface-binding-registry is started before extensions with surfaceBindings.`);let s=(i.surfaceBindings?.bindings??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerBinding(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterBinding(l[e].id);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[SurfaceBindingContributionProcessor] Deregister error for "${e}":`,t)}}}}function di(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(W);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 fi(){let e=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(t,n,r){let i=r.getService(B);if(!i)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${B.name}' is started before extensions with transitionRules or transitionActions.`);let a=n.transitionRules?.rules??[],o=n.transitionActions?.actions,s=a.length>0,c=o!==void 0;s&&pi(t,a),c&&mi(t,o);let l=!1,u=!1;try{s&&(i.ruleRegistry.register(t,a),l=!0),c&&(i.actionRegistry.register(t,o),u=!0)}catch(e){throw l&&i.ruleRegistry.deregister(t),u&&i.actionRegistry.deregister(t),e}e.set(t,()=>{s&&i.ruleRegistry.deregister(t),c&&i.actionRegistry.deregister(t)})},async processStopped(t){let n=e.get(t);if(n){try{n()}catch(e){console.error(`[TransitionContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function pi(e,t){let n=`${e}.`;for(let e of t)if(!e.id.startsWith(n))throw Error(`TransitionContributionProcessor: rule '${e.id}' must be namespaced by extension '${n}'`)}function mi(e,t){let n=`${e}.`;for(let e of Object.keys(t))if(!e.startsWith(n))throw Error(`TransitionContributionProcessor: action type '${e}' must be namespaced by extension '${n}'`)}const hi=[F,ot,q,f,Nr,Lr,J,Y,fr,pr,mr,hr,X,I,Ir,rr,Qn,ni,Pr,k,G,ri,L,Fr,gt,Ut,Xr,K,e,Z,Yr];export{ti as AdapterIdentityRegistry,xe as AdapterRegistry,F as AdapterRuntimeNamespace,ut as AdapterRuntimeSchemas,ht as AdapterRuntimeSubjects,ir as AgentInstanceStatusSchema,q as AgentRuntimeNamespace,ar as AgentRuntimeSchemas,or as AgentRuntimeSelectionSchema,sr as AgentRuntimeSubjects,f as AgentStorageNamespace,ae as AgentStorageSubjects,wn as ArtifactLifecycleHookRegistry,V as ArtifactLifecycleHookRegistryToken,$t as ArtifactLifecycleHookRejectedError,fn as ArtifactSchemaRegistry,z as ArtifactSchemaRegistryToken,At as BugEntrySchema,we as CONNECTOR_SWAP_DEFAULT_PIPELINE,zn as CachedRegistryFetcher,dn as CanonicalModelResolutionError,un as CanonicalModelResolver,Zt as CanonicalModelService,jn as CapabilityService,Cn as CapabilityToken,cr as CodebaseChangedEventSchema,J as CodebaseNamespace,lr as CodebaseSchemas,ur as CodebaseSubjects,jt as CompressRequestSchema,Mt as CompressResponseSchema,Nt as CompressionEventSchema,Y as CompressionNamespace,Pt as CompressionSchemas,dr as CompressionSubjects,Er as ContainerCreatedSchema,Or as ContainerDestroyedSchema,_t as ContainerIsolatedExecutionTargetSchema,_r as ContainerIsolatedSpawnRequestSchema,vt as ContainerLocalExecutionTargetSchema,Cr as ContainerLocalSpawnRequestSchema,Ar as ContainerRuntimeSchema,kr as ContainerSpawnNamespace,Tr as ContainerSpawnSubjects,vr as ContainerStartedSchema,yr as ContainerStateSchema,Dr as ContainerStoppedSchema,$e as ContextWindowTracker,X as DockerNamespace,Sr as DockerSubjects,Qe as EmbeddingIndexManager,yt as ExecutionTargetInputSchema,bt as ExecutionTargetListQuerySchema,I as ExecutionTargetNamespace,xt as ExecutionTargetResolveRequestSchema,St as ExecutionTargetSchema,Ct as ExecutionTargetSchemas,Et as ExecutionTargetSubjects,wt as ExecutionTargetTypeSchema,Ft as ExtractedContextSchema,en as FacetNamespaceRegistry,U as FacetNamespaceRegistryToken,In as FallbackRegistryFetcher,hi as FrameworkServicesCoreNamespaces,Tt as LocalExecutionTargetSchema,Je as MakaioSession,Fe as MakaioSessionService,k as MessageRoutingNamespace,Me as MessageRoutingSubjects,Dt as MessageStorageNamespace,Ot as MessageStorageSubjects,G as ModelRegistryNamespace,Ln as ModelRegistryProviderNotFoundError,Nn as ModelRegistrySchema,Fn as ModelRegistrySchemas,Pn as ModelRegistryService,Rn as ModelRegistrySubjects,hn as ModelRegistryToken,Rt as PreferenceItemSchema,zt as PreferenceKeySchema,Bt as PreferenceValueSchema,L as PreferencesNamespace,Vt as PreferencesSchemas,Ht as PreferencesSubjects,Bn as ProviderModelOverrideSchema,dt as ResolveIdRequestSchema,ft as ResolveIdResponseSchema,pt as ResolveNameRequestSchema,mt as ResolveNameResponseSchema,O as SessionBridge,xn as SessionBridgeToken,u as SessionEventStorageNamespace,c as SessionEventStorageSubjects,Ee as SessionExtensionContextImpl,Be as SessionLogger,Ce as SessionOrchestrator,En as SessionOrchestratorToken,ee as SessionStorageNamespace,d as SessionStorageSubjects,gn as SessionStorageToken,_n as SessionToken,Oe as SessionTurnManager,wr as SpawnRequestSchema,xr as SpawnResponseSchema,br as StatusRequestSchema,gr as StatusResponseSchema,jr as StopRequestSchema,Mr as StopResponseSchema,$n as SubagentManager,tr as SubagentService,nr as SubagentServiceToken,Rr as SubagentTemplateCompletedEventSchema,zr as SubagentTemplateCreateSchema,Br as SubagentTemplateInstanceSchema,Vr as SubagentTemplateInstanceStatusSchema,Z as SubagentTemplateKernelNamespace,Hr as SubagentTemplateKernelSchemas,Ur as SubagentTemplateSchema,Wr as SubagentTemplateSettingsSchemas,Gr as SubagentTemplateSpawnRequestSchema,Kr as SubagentTemplateSpawnedEventSchema,Zr as SubagentTemplateSubjects,qr as SubagentTemplateSummarySchema,Jr as SubagentTemplateUpdateSchema,Xt as SurfaceBindingRegistry,H as SurfaceBindingRegistryToken,It as TechnicalDetailsSchema,Lt as TodoEntrySchema,Vn as ToolApprovalService,Sn as ToolApprovalToken,Gt as ToolRegistry,vn as ToolRegistryToken,tn as TransitionActionRegistry,Yt as TransitionPipelineService,B as TransitionPipelineToken,Qt as TransitionRuleRegistry,Hn as TrayMenuEntrySchema,Un as TrayMenuGroupEntrySchema,Wn as TrayMenuGroupSchema,Gn as TrayMenuItemClickedSchema,Kn as TrayMenuListEntrySchema,qn as TrayMenuMetadataSchema,K as TrayMenuNamespace,Jn as TrayMenuSchemas,Yn as TrayMenuSectionSchema,Zn as TrayMenuService,Xn as TrayMenuSubjects,pn as TrayMenuToken,D as Turn,be as TurnContextEnricher,kt as TurnStorageNamespace,t as TurnStorageSubjects,sn as WORKFLOW_START_ACTION_TYPE,An as WorkflowBlockRegistry,W as WorkflowBlockRegistryToken,m as actionRegistry,lt as activateProviderContext,st as activateProviderContextStrict,n as agents,kn as artifactLifecycleHookRegistryPackage,mn as artifactSchemaRegistryPackage,_ as assembleForkContext,$r as buildDeterministicAdapterId,ct as buildProviderContext,re as buildRecoveryContext,le as buildRecoveryContextWithPipeline,te as buildSessionContext,y as buildTurnInitiator,R as canonicalModelPackage,On as capabilityPackage,oi as createArtifactKindContributionProcessor,ci as createArtifactLifecycleHookContributionProcessor,li as createFacetNamespaceContributionProcessor,cn as createModelRegistryPackage,Ge as createSessionExtensionContext,ui as createSurfaceBindingContributionProcessor,Tn as createToolContributionProcessor,fi as createTransitionContributionProcessor,di as createWorkflowBlockContributionProcessor,ne as ensureAgentCwd,T as ensureAgentModel,de as extractTextContent,Kt as facetNamespaceRegistryPackage,qe as fetchAgentsBySession,He as fetchMessageCountsBySession,Ve as fetchPreviewBySession,rt as fetchSessionPreviewMaps,g as findTurnByAgent,Dn as frameworkCorePackages,ce as getFullConversation,ve as getOrCreateSession,Ke as importCursors,et as importCursorsDual,j as kindToBranchKind,ke as mapAgentsBySession,Ie as mapRowToSession,A as mapToSession,Mn as mergeModelMetadata,P as messageRouting,je as messageRoutingDual,o as messages,he as normalizeSelectionString,w as normalizeToBlocks,tt as parseForkTransforms,We as pickFallbackRuntimeOptions,ue as recoverAgent,me as registerAbandonHandler,ei as registerAdapterRuntimeIdentityHandlers,C as registerAttachHandler,v as registerBuiltInActions,fe as registerCompressHandler,Ue as registerCompressLineageResolver,Pe as registerCoreSessionServiceHandlers,nt as registerDrizzleAgentStorage,ze as registerDrizzleImportCursorStorage,at as registerDrizzleMessageRoutingStorage,N as registerDrizzleMessageStorage,Se as registerDrizzleSessionEventStorage,Re as registerDrizzleSessionStorage,E as registerDrizzleTurnStorage,ye as registerForkHandler,Ye as registerFtsSearchHandler,De as registerGetStatusCountsHandler,Te as registerListActionsHandler,it as registerMemoryAgentStorage,Ne as registerMemoryMessageStorage,Xe as registerMemorySessionEventStorage,Ae as registerMemorySessionStorage,pe as registerMemoryTurnStorage,b as registerMergeHandler,Le as registerParentResolver,M as registerResumeHandler,Ze as registerSpawningToolCallResolver,x as resetBuiltInActionsRegistration,p as resolveAdapterId,ge as resolveAdapterNameById,Qr as resolveDeterministicAdapterId,oe as resolveExecutionTarget,se as resolveModelCapabilities,_e as resolveTargetAgents,S as routeToAgents,h as routeToAgentsCore,ln as sessionBridgePackage,l as sessionEvents,s as sessionEventsDual,Jt as sessionOrchestratorPackage,qt as sessionPackage,an as sessionStoragePackage,r as sessions,er as subagentServicePackage,bn as surfaceBindingRegistryPackage,Wt as toolApprovalPackage,yn as toolRegistryPackage,nn as transitionPipelinePackage,rn as trayMenuPackage,a as turns,i as turnsDual,ie as verifyAndRecoverAgents,on as workflowBlockRegistryPackage};
|
|
1
|
+
import{TurnStorageNamespace as e,TurnStorageSubjects as t}from"./turn/namespace.mjs";import{agents as n,sessions as r}from"./session/storage/schema.mjs";import{n as i,t as a}from"../schema-Ba64XQjo.mjs";import{t as o}from"../schema-atatXwNg.mjs";import{i as s,n as c,r as l,t as u}from"../namespace-BxrHvS5c.mjs";import{SessionStorageNamespace as ee,SessionStorageSubjects as d}from"./session/storage/namespace.mjs";import{A as te,C as ne,D as re,E as ie,F as ae,M as oe,N as se,O as ce,P as f,S as le,T as ue,_ as de,a as fe,b as pe,c as me,d as he,f as ge,g as _e,h as ve,i as ye,j as p,k as m,l as h,m as g,n as _,o as v,p as y,r as b,s as x,t as S,u as C,v as w,w as T,x as E,y as D}from"../handlers-dnpT_hsm.mjs";import{A as O,B as k,C as A,E as j,F as M,G as N,H as P,I as be,J as xe,K as Se,L as Ce,M as we,N as Te,O as Ee,P as De,R as Oe,S as ke,T as Ae,U as je,V as Me,W as Ne,X as Pe,Y as Fe,_ as Ie,a as Le,b as Re,c as ze,d as Be,g as Ve,h as He,i as Ue,j as We,k as Ge,l as Ke,m as qe,o as Je,p as Ye,q as Xe,r as Ze,s as Qe,t as $e,u as et,v as tt,w as nt,x as rt,y as it,z as at}from"../session-R-wciAdJ.mjs";import{t as ot}from"../namespace-FJsnoEQy.mjs";import{n as st,r as ct,t as lt}from"../provider-context-Ds6GNYnE.mjs";import{AdapterRuntimeSchemas as ut,ResolveIdRequestSchema as dt,ResolveIdResponseSchema as ft,ResolveNameRequestSchema as pt,ResolveNameResponseSchema as mt}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as F,AdapterRuntimeSubjects as ht}from"./adapter-runtime/namespace.mjs";import{ProviderStorageNamespace as gt}from"./settings/storage/providers-namespace.mjs";import{ContainerIsolatedExecutionTargetSchema as _t,ContainerLocalExecutionTargetSchema as vt,ExecutionTargetInputSchema as yt,ExecutionTargetListQuerySchema as bt,ExecutionTargetResolveRequestSchema as xt,ExecutionTargetSchema as St,ExecutionTargetSchemas as Ct,ExecutionTargetTypeSchema as wt,LocalExecutionTargetSchema as Tt}from"./execution-target/schemas.mjs";import{ExecutionTargetNamespace as I,ExecutionTargetSubjects as Et}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Dt,MessageStorageSubjects as Ot}from"./session/messages/namespace.mjs";import{TurnStorageNamespace as kt}from"./session/turns/namespace.mjs";import{BugEntrySchema as At,CompressRequestSchema as jt,CompressResponseSchema as Mt,CompressionEventSchema as Nt,CompressionSchemas as Pt,ExtractedContextSchema as Ft,TechnicalDetailsSchema as It,TodoEntrySchema as Lt}from"./compression/schemas.mjs";import{PreferenceItemSchema as Rt,PreferenceKeySchema as zt,PreferenceValueSchema as Bt,PreferencesSchemas as Vt}from"./preferences/schemas.mjs";import{PreferencesNamespace as L,PreferencesSubjects as Ht}from"./preferences/storage-namespace.mjs";import{t as Ut}from"../namespace-UUw-S7ia.mjs";import{A as Wt,B as Gt,C as Kt,D as qt,E as Jt,F as Yt,G as Xt,H as Zt,I as Qt,J as $t,K as en,L as tn,M as nn,N as rn,O as an,P as on,R as sn,S as cn,T as ln,U as un,V as R,W as dn,Y as fn,_ as pn,a as z,b as mn,c as hn,d as gn,f as _n,g as B,h as vn,i as V,j as yn,k as bn,l as xn,m as Sn,o as Cn,p as H,q as wn,r as Tn,s as U,u as En,v as W,w as Dn,x as On,y as kn,z as An}from"../tools-DeZIVtxe.mjs";import{t as jn}from"../capability-service-CHl8rrwb.mjs";import{a as Mn,c as Nn,i as Pn,l as Fn,n as In,o as G,r as Ln,s as Rn,t as zn,u as Bn}from"../model-registry-DLeMw3l8.mjs";import{t as Vn}from"../tool-approval-service-DhAqQqev.mjs";import{TrayMenuEntrySchema as Hn,TrayMenuGroupEntrySchema as Un,TrayMenuGroupSchema as Wn,TrayMenuItemClickedSchema as Gn,TrayMenuListEntrySchema as Kn,TrayMenuMetadataSchema as qn,TrayMenuSchemas as Jn,TrayMenuSectionSchema as Yn}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as K,TrayMenuSubjects as Xn}from"./tray-menu/namespace.mjs";import{t as Zn}from"../tray-menu-service-am356993.mjs";import{n as Qn}from"../handler-BIA3ld4C.mjs";import{i as $n,n as er,r as tr,t as nr}from"../package-YQeRE8bV.mjs";import{FsNamespace as rr}from"./filesystem/namespace.mjs";import"./capability/index.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as ir,AgentRuntimeSchemas as ar,AgentRuntimeSelectionSchema as or}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as q,AgentRuntimeSubjects as sr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as cr,CodebaseSchemas as lr}from"./codebase/schemas.mjs";import{CodebaseNamespace as J,CodebaseSubjects as ur}from"./codebase/namespace.mjs";import{CompressionNamespace as Y,CompressionSubjects as dr}from"./compression/namespace.mjs";import{r as fr,t as pr}from"../storage-namespace-C1JVmZF1.mjs";import{DefinitionNamespace as mr}from"./definition/namespace.mjs";import{DialogNamespace as hr}from"./dialog/namespace.mjs";import{_ as gr,c as _r,d as vr,f as yr,g as br,h as xr,i as Sr,l as Cr,m as wr,n as Tr,o as Er,p as Dr,r as X,s as Or,t as kr,u as Ar,v as jr,y as Mr}from"../execution-target-Da6Vjvba.mjs";import{CLIDetectionNamespace as Nr}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as Pr}from"./local-notification/namespace.mjs";import{t as Fr}from"../namespace-zWB-ULrX.mjs";import{ExtensionConfigStorageNamespace as Ir}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as Lr}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as Rr,SubagentTemplateCreateSchema as zr,SubagentTemplateInstanceSchema as Br,SubagentTemplateInstanceStatusSchema as Vr,SubagentTemplateKernelSchemas as Hr,SubagentTemplateSchema as Ur,SubagentTemplateSettingsSchemas as Wr,SubagentTemplateSpawnRequestSchema as Gr,SubagentTemplateSpawnedEventSchema as Kr,SubagentTemplateSummarySchema as qr,SubagentTemplateUpdateSchema as Jr}from"./subagent-template/schemas.mjs";import{r as Yr,t as Xr}from"../namespace-DrpHLJAy.mjs";import{SubagentTemplateKernelNamespace as Z,SubagentTemplateSubjects as Zr}from"./subagent-template/namespace.mjs";import{i as Qr,n as $r,r as ei,t as ti}from"../identity-CA5MzB19.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{ImportCursorStorageNamespace as ni}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as ri}from"@makaio/framework/contracts/model-registry";function ii(e){return{source:`extension`,ownerKey:`extension:${e}`}}function ai(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function oi(){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)}ai(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(z);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=ii(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 si(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function ci(){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(V);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(si(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)}}}}function Q(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function li(){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)}Q(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(U);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 Q(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 $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerBinding(e)}function ui(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerBinding(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.deregisterBinding(t.id)}$(e,n.registry)}};return{filter:e=>(e.surfaceBindings?.bindings?.length??0)>0,async processActivated(r,i,a){let o=a.getService(H);if(!o)throw Error(`SurfaceBindingRegistry is not available — ensure surface-binding-registry is started before extensions with surfaceBindings.`);let s=(i.surfaceBindings?.bindings??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerBinding(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterBinding(l[e].id);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[SurfaceBindingContributionProcessor] Deregister error for "${e}":`,t)}}}}function di(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(W);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 fi(){let e=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(t,n,r){let i=r.getService(B);if(!i)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${B.name}' is started before extensions with transitionRules or transitionActions.`);let a=n.transitionRules?.rules??[],o=n.transitionActions?.actions,s=a.length>0,c=o!==void 0;s&&pi(t,a),c&&mi(t,o);let l=!1,u=!1;try{s&&(i.ruleRegistry.register(t,a),l=!0),c&&(i.actionRegistry.register(t,o),u=!0)}catch(e){throw l&&i.ruleRegistry.deregister(t),u&&i.actionRegistry.deregister(t),e}e.set(t,()=>{s&&i.ruleRegistry.deregister(t),c&&i.actionRegistry.deregister(t)})},async processStopped(t){let n=e.get(t);if(n){try{n()}catch(e){console.error(`[TransitionContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function pi(e,t){let n=`${e}.`;for(let e of t)if(!e.id.startsWith(n))throw Error(`TransitionContributionProcessor: rule '${e.id}' must be namespaced by extension '${n}'`)}function mi(e,t){let n=`${e}.`;for(let e of Object.keys(t))if(!e.startsWith(n))throw Error(`TransitionContributionProcessor: action type '${e}' must be namespaced by extension '${n}'`)}const hi=[F,ot,q,f,Nr,Lr,J,Y,fr,pr,mr,hr,X,I,Ir,rr,Qn,ni,Pr,k,G,ri,L,Fr,gt,Ut,Xr,K,e,Z,Yr];export{ti as AdapterIdentityRegistry,xe as AdapterRegistry,F as AdapterRuntimeNamespace,ut as AdapterRuntimeSchemas,ht as AdapterRuntimeSubjects,ir as AgentInstanceStatusSchema,q as AgentRuntimeNamespace,ar as AgentRuntimeSchemas,or as AgentRuntimeSelectionSchema,sr as AgentRuntimeSubjects,f as AgentStorageNamespace,ae as AgentStorageSubjects,wn as ArtifactLifecycleHookRegistry,V as ArtifactLifecycleHookRegistryToken,$t as ArtifactLifecycleHookRejectedError,fn as ArtifactSchemaRegistry,z as ArtifactSchemaRegistryToken,At as BugEntrySchema,we as CONNECTOR_SWAP_DEFAULT_PIPELINE,zn as CachedRegistryFetcher,dn as CanonicalModelResolutionError,un as CanonicalModelResolver,Zt as CanonicalModelService,jn as CapabilityService,Cn as CapabilityToken,cr as CodebaseChangedEventSchema,J as CodebaseNamespace,lr as CodebaseSchemas,ur as CodebaseSubjects,jt as CompressRequestSchema,Mt as CompressResponseSchema,Nt as CompressionEventSchema,Y as CompressionNamespace,Pt as CompressionSchemas,dr as CompressionSubjects,Er as ContainerCreatedSchema,Or as ContainerDestroyedSchema,_t as ContainerIsolatedExecutionTargetSchema,_r as ContainerIsolatedSpawnRequestSchema,vt as ContainerLocalExecutionTargetSchema,Cr as ContainerLocalSpawnRequestSchema,Ar as ContainerRuntimeSchema,kr as ContainerSpawnNamespace,Tr as ContainerSpawnSubjects,vr as ContainerStartedSchema,yr as ContainerStateSchema,Dr as ContainerStoppedSchema,$e as ContextWindowTracker,X as DockerNamespace,Sr as DockerSubjects,Qe as EmbeddingIndexManager,yt as ExecutionTargetInputSchema,bt as ExecutionTargetListQuerySchema,I as ExecutionTargetNamespace,xt as ExecutionTargetResolveRequestSchema,St as ExecutionTargetSchema,Ct as ExecutionTargetSchemas,Et as ExecutionTargetSubjects,wt as ExecutionTargetTypeSchema,Ft as ExtractedContextSchema,en as FacetNamespaceRegistry,U as FacetNamespaceRegistryToken,In as FallbackRegistryFetcher,hi as FrameworkServicesCoreNamespaces,Tt as LocalExecutionTargetSchema,Je as MakaioSession,Fe as MakaioSessionService,k as MessageRoutingNamespace,Me as MessageRoutingSubjects,Dt as MessageStorageNamespace,Ot as MessageStorageSubjects,G as ModelRegistryNamespace,Ln as ModelRegistryProviderNotFoundError,Nn as ModelRegistrySchema,Fn as ModelRegistrySchemas,Pn as ModelRegistryService,Rn as ModelRegistrySubjects,hn as ModelRegistryToken,Rt as PreferenceItemSchema,zt as PreferenceKeySchema,Bt as PreferenceValueSchema,L as PreferencesNamespace,Vt as PreferencesSchemas,Ht as PreferencesSubjects,Bn as ProviderModelOverrideSchema,dt as ResolveIdRequestSchema,ft as ResolveIdResponseSchema,pt as ResolveNameRequestSchema,mt as ResolveNameResponseSchema,O as SessionBridge,xn as SessionBridgeToken,u as SessionEventStorageNamespace,c as SessionEventStorageSubjects,Ee as SessionExtensionContextImpl,Be as SessionLogger,Ce as SessionOrchestrator,En as SessionOrchestratorToken,ee as SessionStorageNamespace,d as SessionStorageSubjects,gn as SessionStorageToken,_n as SessionToken,Oe as SessionTurnManager,wr as SpawnRequestSchema,xr as SpawnResponseSchema,br as StatusRequestSchema,gr as StatusResponseSchema,jr as StopRequestSchema,Mr as StopResponseSchema,$n as SubagentManager,tr as SubagentService,nr as SubagentServiceToken,Rr as SubagentTemplateCompletedEventSchema,zr as SubagentTemplateCreateSchema,Br as SubagentTemplateInstanceSchema,Vr as SubagentTemplateInstanceStatusSchema,Z as SubagentTemplateKernelNamespace,Hr as SubagentTemplateKernelSchemas,Ur as SubagentTemplateSchema,Wr as SubagentTemplateSettingsSchemas,Gr as SubagentTemplateSpawnRequestSchema,Kr as SubagentTemplateSpawnedEventSchema,Zr as SubagentTemplateSubjects,qr as SubagentTemplateSummarySchema,Jr as SubagentTemplateUpdateSchema,Xt as SurfaceBindingRegistry,H as SurfaceBindingRegistryToken,It as TechnicalDetailsSchema,Lt as TodoEntrySchema,Vn as ToolApprovalService,Sn as ToolApprovalToken,Gt as ToolRegistry,vn as ToolRegistryToken,tn as TransitionActionRegistry,Yt as TransitionPipelineService,B as TransitionPipelineToken,Qt as TransitionRuleRegistry,Hn as TrayMenuEntrySchema,Un as TrayMenuGroupEntrySchema,Wn as TrayMenuGroupSchema,Gn as TrayMenuItemClickedSchema,Kn as TrayMenuListEntrySchema,qn as TrayMenuMetadataSchema,K as TrayMenuNamespace,Jn as TrayMenuSchemas,Yn as TrayMenuSectionSchema,Zn as TrayMenuService,Xn as TrayMenuSubjects,pn as TrayMenuToken,D as Turn,be as TurnContextEnricher,kt as TurnStorageNamespace,t as TurnStorageSubjects,sn as WORKFLOW_START_ACTION_TYPE,An as WorkflowBlockRegistry,W as WorkflowBlockRegistryToken,m as actionRegistry,lt as activateProviderContext,st as activateProviderContextStrict,n as agents,kn as artifactLifecycleHookRegistryPackage,mn as artifactSchemaRegistryPackage,_ as assembleForkContext,$r as buildDeterministicAdapterId,ct as buildProviderContext,re as buildRecoveryContext,le as buildRecoveryContextWithPipeline,te as buildSessionContext,y as buildTurnInitiator,R as canonicalModelPackage,On as capabilityPackage,oi as createArtifactKindContributionProcessor,ci as createArtifactLifecycleHookContributionProcessor,li as createFacetNamespaceContributionProcessor,cn as createModelRegistryPackage,Ge as createSessionExtensionContext,ui as createSurfaceBindingContributionProcessor,Tn as createToolContributionProcessor,fi as createTransitionContributionProcessor,di as createWorkflowBlockContributionProcessor,ne as ensureAgentCwd,T as ensureAgentModel,de as extractTextContent,Kt as facetNamespaceRegistryPackage,qe as fetchAgentsBySession,He as fetchMessageCountsBySession,Ve as fetchPreviewBySession,rt as fetchSessionPreviewMaps,g as findTurnByAgent,Dn as frameworkCorePackages,ce as getFullConversation,ve as getOrCreateSession,Ke as importCursors,et as importCursorsDual,j as kindToBranchKind,ke as mapAgentsBySession,Ie as mapRowToSession,A as mapToSession,Mn as mergeModelMetadata,P as messageRouting,je as messageRoutingDual,o as messages,he as normalizeSelectionString,w as normalizeToBlocks,tt as parseForkTransforms,We as pickFallbackRuntimeOptions,ue as recoverAgent,me as registerAbandonHandler,ei as registerAdapterRuntimeIdentityHandlers,C as registerAttachHandler,v as registerBuiltInActions,fe as registerCompressHandler,Ue as registerCompressLineageResolver,Pe as registerCoreSessionServiceHandlers,nt as registerDrizzleAgentStorage,ze as registerDrizzleImportCursorStorage,at as registerDrizzleMessageRoutingStorage,N as registerDrizzleMessageStorage,Se as registerDrizzleSessionEventStorage,Re as registerDrizzleSessionStorage,E as registerDrizzleTurnStorage,ye as registerForkHandler,Ye as registerFtsSearchHandler,De as registerGetStatusCountsHandler,Te as registerListActionsHandler,it as registerMemoryAgentStorage,Ne as registerMemoryMessageStorage,Xe as registerMemorySessionEventStorage,Ae as registerMemorySessionStorage,pe as registerMemoryTurnStorage,b as registerMergeHandler,Le as registerParentResolver,M as registerResumeHandler,Ze as registerSpawningToolCallResolver,x as resetBuiltInActionsRegistration,p as resolveAdapterId,ge as resolveAdapterNameById,Qr as resolveDeterministicAdapterId,oe as resolveExecutionTarget,se as resolveModelCapabilities,_e as resolveTargetAgents,S as routeToAgents,h as routeToAgentsCore,ln as sessionBridgePackage,l as sessionEvents,s as sessionEventsDual,Jt as sessionOrchestratorPackage,qt as sessionPackage,an as sessionStoragePackage,r as sessions,er as subagentServicePackage,bn as surfaceBindingRegistryPackage,Wt as toolApprovalPackage,yn as toolRegistryPackage,nn as transitionPipelinePackage,rn as trayMenuPackage,a as turns,i as turnsDual,ie as verifyAndRecoverAgents,on as workflowBlockRegistryPackage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,c as t,i as n,l as r,r as i,t as a,u as o}from"../../../handlers-
|
|
1
|
+
import{a as e,c as t,i as n,l as r,r as i,t as a,u as o}from"../../../handlers-dnpT_hsm.mjs";export{t as registerAbandonHandler,o as registerAttachHandler,e as registerCompressHandler,n as registerForkHandler,i as registerMergeHandler,a as routeToAgents,r as routeToAgentsCore};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-
|
|
1
|
+
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-CUYDEQvN.mjs";
|
|
2
2
|
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../../index-BtL_9HBk.mjs";
|
|
3
3
|
import { r as buildProviderContext } from "../../index-BplsE3qw.mjs";
|
|
4
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-
|
|
5
|
-
import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-
|
|
4
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-CO3DK1v_.mjs";
|
|
5
|
+
import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-DcZifH6p.mjs";
|
|
6
6
|
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-B1Bldc48.mjs";
|
|
7
7
|
import { t as TurnStorageNamespace } from "../../namespace-DKnJL0Ja.mjs";
|
|
8
8
|
import { n as TurnStorageSubjects } from "../../namespace-2G7A4Sza.mjs";
|
|
9
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-
|
|
9
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-Daq_-170.mjs";
|
|
10
10
|
export { AdapterRegistry, AgentContextState, AgentStorageNamespace, AgentStorageSubjects, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, EmbeddingIndexManager, EventTransform, FallbackRuntimeOptions, ISessionOrchestrator, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, MakaioSession, MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, RecoveryConfig, SearchFilters, SearchSessionRow, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLogger, SessionLoggerOptions, SessionOrchestrator, SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, StartTurnOptions, Turn, TurnCompleteCallback, TurnCompletionResult, TurnConfig, TurnContext, TurnContextEnricher, TurnResult, TurnStateChange, TurnStorageNamespace, TurnStorageSubjects, actionRegistry, agents, agentsDual, assembleForkContext, buildProviderContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createSessionExtensionContext, ensureAgentCwd, ensureAgentModel, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, getSessionAncestorChain, importCursors, importCursorsDual, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveExecutionTarget, resolveModelCapabilities, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionEvents, sessionEventsDual, sessions, sessionsDual, toSessionLineage, turns, turnsDual, verifyAndRecoverAgents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{TurnStorageSubjects as e}from"../turn/namespace.mjs";import{agents as t,agentsDual as n,sessions as r,sessionsDual as i}from"./storage/schema.mjs";import{n as a,t as o}from"../../schema-Ba64XQjo.mjs";import{t as s}from"../../schema-atatXwNg.mjs";import{i as c,n as l,r as u,t as d}from"../../namespace-BxrHvS5c.mjs";import{SessionStorageNamespace as f,SessionStorageSubjects as p}from"./storage/namespace.mjs";import{A as m,C as h,D as g,E as _,F as v,M as y,N as b,O as x,P as S,S as C,T as w,_ as T,a as E,b as D,c as O,d as k,f as A,g as j,h as M,i as N,j as P,k as F,l as I,m as L,n as R,o as z,p as B,r as V,s as H,t as U,u as W,v as G,w as K,x as q,y as J}from"../../handlers-
|
|
1
|
+
import{TurnStorageSubjects as e}from"../turn/namespace.mjs";import{agents as t,agentsDual as n,sessions as r,sessionsDual as i}from"./storage/schema.mjs";import{n as a,t as o}from"../../schema-Ba64XQjo.mjs";import{t as s}from"../../schema-atatXwNg.mjs";import{i as c,n as l,r as u,t as d}from"../../namespace-BxrHvS5c.mjs";import{SessionStorageNamespace as f,SessionStorageSubjects as p}from"./storage/namespace.mjs";import{A as m,C as h,D as g,E as _,F as v,M as y,N as b,O as x,P as S,S as C,T as w,_ as T,a as E,b as D,c as O,d as k,f as A,g as j,h as M,i as N,j as P,k as F,l as I,m as L,n as R,o as z,p as B,r as V,s as H,t as U,u as W,v as G,w as K,x as q,y as J}from"../../handlers-dnpT_hsm.mjs";import{A as Y,B as X,C as Z,D as Q,E as $,F as ee,G as te,H as ne,I as re,J as ie,K as ae,L as oe,M as se,N as ce,O as le,P as ue,R as de,S as fe,T as pe,U as me,V as he,W as ge,X as _e,Y as ve,_ as ye,a as be,b as xe,c as Se,d as Ce,f as we,g as Te,h as Ee,i as De,j as Oe,k as ke,l as Ae,m as je,n as Me,o as Ne,p as Pe,q as Fe,r as Ie,s as Le,t as Re,u as ze,v as Be,w as Ve,x as He,y as Ue,z as We}from"../../session-R-wciAdJ.mjs";import{r as Ge}from"../../provider-context-Ds6GNYnE.mjs";import{MessageStorageNamespace as Ke,MessageStorageSubjects as qe}from"./messages/namespace.mjs";import{TurnStorageNamespace as Je}from"./turns/namespace.mjs";export{ie as AdapterRegistry,S as AgentStorageNamespace,v as AgentStorageSubjects,se as CONNECTOR_SWAP_DEFAULT_PIPELINE,Re as ContextWindowTracker,Le as EmbeddingIndexManager,Ne as MakaioSession,ve as MakaioSessionService,X as MessageRoutingNamespace,he as MessageRoutingSubjects,Ke as MessageStorageNamespace,qe as MessageStorageSubjects,Y as SessionBridge,d as SessionEventStorageNamespace,l as SessionEventStorageSubjects,le as SessionExtensionContextImpl,Ce as SessionLogger,oe as SessionOrchestrator,f as SessionStorageNamespace,p as SessionStorageSubjects,de as SessionTurnManager,J as Turn,re as TurnContextEnricher,Je as TurnStorageNamespace,e as TurnStorageSubjects,F as actionRegistry,t as agents,n as agentsDual,R as assembleForkContext,Ge as buildProviderContext,g as buildRecoveryContext,C as buildRecoveryContextWithPipeline,m as buildSessionContext,B as buildTurnInitiator,ke as createSessionExtensionContext,h as ensureAgentCwd,K as ensureAgentModel,T as extractTextContent,je as fetchAgentsBySession,Ee as fetchMessageCountsBySession,Te as fetchPreviewBySession,He as fetchSessionPreviewMaps,L as findTurnByAgent,x as getFullConversation,M as getOrCreateSession,we as getSessionAncestorChain,Ae as importCursors,ze as importCursorsDual,$ as kindToBranchKind,fe as mapAgentsBySession,ye as mapRowToSession,Z as mapToSession,ne as messageRouting,me as messageRoutingDual,s as messages,k as normalizeSelectionString,G as normalizeToBlocks,Be as parseForkTransforms,Oe as pickFallbackRuntimeOptions,w as recoverAgent,O as registerAbandonHandler,W as registerAttachHandler,z as registerBuiltInActions,E as registerCompressHandler,De as registerCompressLineageResolver,_e as registerCoreSessionServiceHandlers,Ve as registerDrizzleAgentStorage,Se as registerDrizzleImportCursorStorage,We as registerDrizzleMessageRoutingStorage,te as registerDrizzleMessageStorage,ae as registerDrizzleSessionEventStorage,xe as registerDrizzleSessionStorage,q as registerDrizzleTurnStorage,N as registerForkHandler,Pe as registerFtsSearchHandler,ue as registerGetStatusCountsHandler,ce as registerListActionsHandler,Ue as registerMemoryAgentStorage,ge as registerMemoryMessageStorage,Fe as registerMemorySessionEventStorage,pe as registerMemorySessionStorage,D as registerMemoryTurnStorage,V as registerMergeHandler,be as registerParentResolver,ee as registerResumeHandler,Me as registerSessionDiscoveredHandler,Ie as registerSpawningToolCallResolver,H as resetBuiltInActionsRegistration,P as resolveAdapterId,A as resolveAdapterNameById,y as resolveExecutionTarget,b as resolveModelCapabilities,j as resolveTargetAgents,U as routeToAgents,I as routeToAgentsCore,u as sessionEvents,c as sessionEventsDual,r as sessions,i as sessionsDual,Q as toSessionLineage,o as turns,a as turnsDual,_ as 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-Daq_-170.mjs";
|
|
2
2
|
export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
|
|
@@ -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-CO3DK1v_.mjs";
|
|
2
2
|
export { SessionPreviewData, SessionPreviewDataSchema, SessionStorageNamespace, SessionStorageSubjects, SessionWithPreview, SessionWithPreviewSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-
|
|
1
|
+
import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-DcZifH6p.mjs";
|
|
2
2
|
export { InsertAgent, InsertSession, SelectAgent, SelectSession, agents, agentsDual, sessions, sessionsDual };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{check as e,index as t,uniqueIndex as n}from"drizzle-orm/sqlite-core";import{check as r,index as i,uniqueIndex as a}from"drizzle-orm/pg-core";import{defineDualTable as o}from"@makaio/framework/storage/drizzle";import{sql as s}from"drizzle-orm";const c=o(`sessions`,e=>({sessionId:e.text(`session_id`).primaryKey(),createdAt:e.epochMs(`created_at`).notNull(),lastActivityAt:e.epochMs(`last_activity_at`).notNull(),status:e.textEnum(`status`,{enum:[`active`,`closed`,`archived`,`discovered`]}).notNull(),leadAgentId:e.text(`lead_agent_id`),parentSessionId:e.text(`parent_session_id`),contextInheritance:e.textEnum(`context_inheritance`,{enum:[`parent-history`,`none`]}),rootSessionId:e.text(`root_session_id`),forkPointMessageId:e.text(`fork_point_message_id`),branchKind:e.textEnum(`branch_kind`,{enum:[`fork`,`branch`,`subagent`,`compress`,`rewrite`,`coordinator`,`aside`]}),adapterName:e.text(`adapter_name`),adapterSessionId:e.text(`adapter_session_id`),adapterId:e.text(`adapter_id`),clientId:e.text(`client_id`),clientAccountId:e.text(`client_account_id`),lastClientIdentityObservation:e.text(`last_client_identity_observation`),isOrchestrated:e.bool(`is_orchestrated`).default(!1),title:e.text(`title`),summary:e.text(`summary`),summaryUpdatedAt:e.epochMs(`summary_updated_at`),isImported:e.bool(`is_imported`).default(!1),forkTransforms:e.text(`fork_transforms`),targetWorkingDirectory:e.text(`target_working_directory`),executionTargetId:e.text(`execution_target_id`),approvalPolicyOverride:e.textEnum(`approval_policy_override`,{enum:[`reject`,`always-ask`,`full-access`]}),spawningToolCallId:e.text(`spawning_tool_call_id`),source:e.text(`source`),parentExternalSessionId:e.text(`parent_external_session_id`),logFilePath:e.text(`log_file_path`),discoveredAt:e.epochMs(`discovered_at`),importStatus:e.textEnum(`import_status`,{enum:[`discovered`,`imported`,`tracking`]})}),{sqlite:r=>[n(`uniq_sessions_source_adapter_session_id`).on(r.source,r.adapterSessionId),n(`uniq_sessions_log_file_path`).on(r.logFilePath),t(`sessions_adapter_session_id_idx`).on(r.adapterSessionId),t(`idx_sessions_import_status`).on(r.importStatus),t(`sessions_execution_target_id_idx`).on(r.executionTargetId),t(`idx_sessions_parent_session_id`).on(r.parentSessionId),e(`sessions_import_status_check`,s`${r.importStatus} IS NULL OR ${r.importStatus} IN ('discovered', 'imported', 'tracking')`),e(`sessions_context_inheritance_check`,s`${r.contextInheritance} IS NULL OR ${r.contextInheritance} IN ('parent-history', 'none')`)],postgres:e=>[a(`uniq_sessions_source_adapter_session_id`).on(e.source,e.adapterSessionId),a(`uniq_sessions_log_file_path`).on(e.logFilePath),i(`sessions_adapter_session_id_idx`).on(e.adapterSessionId),i(`idx_sessions_import_status`).on(e.importStatus),i(`sessions_execution_target_id_idx`).on(e.executionTargetId),i(`idx_sessions_parent_session_id`).on(e.parentSessionId),r(`sessions_import_status_check`,s`${e.importStatus} IS NULL OR ${e.importStatus} IN ('discovered', 'imported', 'tracking')`),r(`sessions_context_inheritance_check`,s`${e.contextInheritance} IS NULL OR ${e.contextInheritance} IN ('parent-history', 'none')`)]}),l=c.sqlite,u=o(`agents`,e=>({agentId:e.text(`agent_id`).primaryKey(),adapterId:e.text(`adapter_id`).notNull(),adapterName:e.text(`adapter_name`).notNull(),sessionId:e.text(`session_id`).notNull().references(()=>c.columnPair(`sessionId`),{onDelete:`cascade`}),adapterSessionId:e.text(`adapter_session_id`),model:e.text(`model`),cwd:e.text(`cwd`),allowedDirectories:e.jsonCol(`allowed_directories`),providerConfigId:e.text(`provider_config_id`),personaId:e.text(`persona_id`),profileId:e.text(`profile_id`),harnessId:e.text(`harness_id`),clientId:e.text(`client_id`),compressionMode:e.text(`compression_mode`),role:e.textEnum(`role`,{enum:[`lead`,`member`]}).notNull(),status:e.textEnum(`status`,{enum:[`idle`,`active`,`dead`,`disposed`]}).notNull(),createdAt:e.epochMs(`created_at`).notNull(),lastActivityAt:e.epochMs(`last_activity_at`).notNull()}),{sqlite:e=>[t(`agents_session_id_idx`).on(e.sessionId),t(`agents_adapter_name_idx`).on(e.adapterName),t(`agents_status_idx`).on(e.status),t(`agents_client_id_idx`).on(e.clientId)],postgres:e=>[i(`agents_session_id_idx`).on(e.sessionId),i(`agents_adapter_name_idx`).on(e.adapterName),i(`agents_status_idx`).on(e.status),i(`agents_client_id_idx`).on(e.clientId)]}),d=u.sqlite;export{d as agents,u as agentsDual,l as sessions,c as sessionsDual};
|
|
1
|
+
import{check as e,index as t,uniqueIndex as n}from"drizzle-orm/sqlite-core";import{check as r,index as i,uniqueIndex as a}from"drizzle-orm/pg-core";import{defineDualTable as o}from"@makaio/framework/storage/drizzle";import{sql as s}from"drizzle-orm";const c=o(`sessions`,e=>({sessionId:e.text(`session_id`).primaryKey(),createdAt:e.epochMs(`created_at`).notNull(),lastActivityAt:e.epochMs(`last_activity_at`).notNull(),status:e.textEnum(`status`,{enum:[`active`,`closed`,`archived`,`discovered`]}).notNull(),leadAgentId:e.text(`lead_agent_id`),parentSessionId:e.text(`parent_session_id`),contextInheritance:e.textEnum(`context_inheritance`,{enum:[`parent-history`,`none`]}),rootSessionId:e.text(`root_session_id`),forkPointMessageId:e.text(`fork_point_message_id`),branchKind:e.textEnum(`branch_kind`,{enum:[`fork`,`branch`,`subagent`,`compress`,`rewrite`,`coordinator`,`aside`]}),adapterName:e.text(`adapter_name`),adapterSessionId:e.text(`adapter_session_id`),adapterId:e.text(`adapter_id`),clientId:e.text(`client_id`),clientAccountId:e.text(`client_account_id`),lastClientIdentityObservation:e.text(`last_client_identity_observation`),isOrchestrated:e.bool(`is_orchestrated`).default(!1),title:e.text(`title`),summary:e.text(`summary`),summaryUpdatedAt:e.epochMs(`summary_updated_at`),isImported:e.bool(`is_imported`).default(!1),forkTransforms:e.text(`fork_transforms`),targetWorkingDirectory:e.text(`target_working_directory`),executionTargetId:e.text(`execution_target_id`),approvalPolicyOverride:e.textEnum(`approval_policy_override`,{enum:[`reject`,`always-ask`,`full-access`]}),metadata:e.jsonCol(`metadata`),spawningToolCallId:e.text(`spawning_tool_call_id`),source:e.text(`source`),parentExternalSessionId:e.text(`parent_external_session_id`),logFilePath:e.text(`log_file_path`),discoveredAt:e.epochMs(`discovered_at`),importStatus:e.textEnum(`import_status`,{enum:[`discovered`,`imported`,`tracking`]})}),{sqlite:r=>[n(`uniq_sessions_source_adapter_session_id`).on(r.source,r.adapterSessionId),n(`uniq_sessions_log_file_path`).on(r.logFilePath),t(`sessions_adapter_session_id_idx`).on(r.adapterSessionId),t(`idx_sessions_import_status`).on(r.importStatus),t(`sessions_execution_target_id_idx`).on(r.executionTargetId),t(`idx_sessions_parent_session_id`).on(r.parentSessionId),e(`sessions_import_status_check`,s`${r.importStatus} IS NULL OR ${r.importStatus} IN ('discovered', 'imported', 'tracking')`),e(`sessions_context_inheritance_check`,s`${r.contextInheritance} IS NULL OR ${r.contextInheritance} IN ('parent-history', 'none')`)],postgres:e=>[a(`uniq_sessions_source_adapter_session_id`).on(e.source,e.adapterSessionId),a(`uniq_sessions_log_file_path`).on(e.logFilePath),i(`sessions_adapter_session_id_idx`).on(e.adapterSessionId),i(`idx_sessions_import_status`).on(e.importStatus),i(`sessions_execution_target_id_idx`).on(e.executionTargetId),i(`idx_sessions_parent_session_id`).on(e.parentSessionId),r(`sessions_import_status_check`,s`${e.importStatus} IS NULL OR ${e.importStatus} IN ('discovered', 'imported', 'tracking')`),r(`sessions_context_inheritance_check`,s`${e.contextInheritance} IS NULL OR ${e.contextInheritance} IN ('parent-history', 'none')`)]}),l=c.sqlite,u=o(`agents`,e=>({agentId:e.text(`agent_id`).primaryKey(),adapterId:e.text(`adapter_id`).notNull(),adapterName:e.text(`adapter_name`).notNull(),sessionId:e.text(`session_id`).notNull().references(()=>c.columnPair(`sessionId`),{onDelete:`cascade`}),adapterSessionId:e.text(`adapter_session_id`),model:e.text(`model`),cwd:e.text(`cwd`),allowedDirectories:e.jsonCol(`allowed_directories`),providerConfigId:e.text(`provider_config_id`),personaId:e.text(`persona_id`),profileId:e.text(`profile_id`),harnessId:e.text(`harness_id`),clientId:e.text(`client_id`),compressionMode:e.text(`compression_mode`),role:e.textEnum(`role`,{enum:[`lead`,`member`]}).notNull(),status:e.textEnum(`status`,{enum:[`idle`,`active`,`dead`,`disposed`]}).notNull(),createdAt:e.epochMs(`created_at`).notNull(),lastActivityAt:e.epochMs(`last_activity_at`).notNull()}),{sqlite:e=>[t(`agents_session_id_idx`).on(e.sessionId),t(`agents_adapter_name_idx`).on(e.adapterName),t(`agents_status_idx`).on(e.status),t(`agents_client_id_idx`).on(e.clientId)],postgres:e=>[i(`agents_session_id_idx`).on(e.sessionId),i(`agents_adapter_name_idx`).on(e.adapterName),i(`agents_status_idx`).on(e.status),i(`agents_client_id_idx`).on(e.clientId)]}),d=u.sqlite;export{d as agents,u as agentsDual,l as sessions,c as sessionsDual};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{TurnStorageSubjects as e}from"../../turn/namespace.mjs";import{n as t}from"../../../namespace-BxrHvS5c.mjs";import{SessionStorageSubjects as n}from"../storage/namespace.mjs";import{F as r}from"../../../handlers-
|
|
1
|
+
import{TurnStorageSubjects as e}from"../../turn/namespace.mjs";import{n as t}from"../../../namespace-BxrHvS5c.mjs";import{SessionStorageSubjects as n}from"../storage/namespace.mjs";import{F as r}from"../../../handlers-dnpT_hsm.mjs";import{V as i}from"../../../session-R-wciAdJ.mjs";import{n as a}from"../../../namespace-FJsnoEQy.mjs";import{AdapterRuntimeSubjects as o}from"../../adapter-runtime/namespace.mjs";import{ProviderStorageSubjects as s}from"../../settings/storage/providers-namespace.mjs";import{ExecutionTargetSubjects as c}from"../../execution-target/namespace.mjs";import{MessageStorageSubjects as l}from"../messages/namespace.mjs";import{t as u}from"../../../identity-CA5MzB19.mjs";import{MakaioBus as d}from"@makaio/framework/bus";import{AdapterSubjects as f}from"@makaio/framework/contracts";import{getRawSqlExecutor as p}from"@makaio/framework/storage/drizzle";import{sql as m}from"drizzle-orm";import{buildStoredCredentialRef as h}from"@makaio/framework/contracts/config";function g(e){let t=new u(e);return{registerHandlers(){let e=[d.on(f.initialized,e=>{t.rememberAdapterId(e.payload.adapterId,e.payload.adapterName)}),d.on(o.resolveId,e=>{let n=t.resolveId(e.payload);e.setResult({adapterId:n})}),d.on(o.resolveName,e=>{let n=t.resolveAdapterName(e.payload.adapterId);if(!n)throw Error(`Adapter not found for adapterId="${e.payload.adapterId}"`);e.setResult({adapterName:n})})];return()=>{for(let t of e)t()}},async registerKnownAdapter(e,n){let r=n??t.resolveId({adapterName:e});await d.emit(f.initialized,{adapterName:e,adapterId:r,capabilities:[]})}}}function _(e){let t=g(e);return{registry:t,unsubscribe:t.registerHandlers()}}const v=[m`
|
|
2
2
|
CREATE TABLE IF NOT EXISTS sessions (
|
|
3
3
|
session_id TEXT PRIMARY KEY,
|
|
4
4
|
created_at INTEGER NOT NULL,
|
|
@@ -31,6 +31,7 @@ import{TurnStorageSubjects as e}from"../../turn/namespace.mjs";import{n as t}fro
|
|
|
31
31
|
target_working_directory TEXT,
|
|
32
32
|
execution_target_id TEXT,
|
|
33
33
|
approval_policy_override TEXT,
|
|
34
|
+
metadata TEXT,
|
|
34
35
|
spawning_tool_call_id TEXT,
|
|
35
36
|
-- Import provenance fields
|
|
36
37
|
source TEXT,
|