@makaio/framework 1.0.0-dev-1782138936821 → 1.0.0-dev-1782480236258
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/{account-identity-D5TUafYg.mjs → account-identity-C7Kx_ieU.mjs} +1 -1
- package/dist/{adapter-Deu9viD2.mjs → adapter-DaQqmKOJ.mjs} +1 -1
- package/dist/adapters/index.d.mts +1 -1
- package/dist/artifact-CGjnoyCC.mjs +1 -0
- package/dist/bus/index.d.mts +2 -2
- package/dist/bus/index.mjs +1 -1
- package/dist/{canonical-model-BM5WAnQW.mjs → canonical-model-DV-Z8gsb.mjs} +1 -1
- package/dist/{client-BO-0jTSV.mjs → client-BcfR-LJC.mjs} +1 -1
- package/dist/{compression-CXEHx0rS.mjs → compression-C5JAWdgZ.mjs} +1 -1
- 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 +2 -2
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/canonical-model/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/client/index.mjs +1 -1
- package/dist/contracts/config/index.d.mts +6 -6
- package/dist/contracts/config/index.mjs +1 -1
- 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 +95 -95
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +1 -1
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{definition-BJ_975aA.mjs → definition-C-GVz7uw.mjs} +1 -1
- package/dist/{definition-s9PIua2B.d.mts → definition-DePb3ke-.d.mts} +1 -1
- package/dist/{extension-CfL70C5n.mjs → extension-BS_4BOeO.mjs} +1 -1
- package/dist/{index-ekpUAYVC.d.mts → index-0WhPbKnH.d.mts} +806 -30
- package/dist/{index-BN95duxC.d.mts → index-4eP9DRL_.d.mts} +4 -4
- package/dist/{index-BwGfdbI0.d.mts → index-B1XsbrAr.d.mts} +6 -6
- package/dist/{index-CRmApyqn.d.mts → index-B5w-0Gg9.d.mts} +8 -8
- package/dist/{index-Chtgizhn.d.mts → index-BKZhnb2B.d.mts} +57 -57
- package/dist/{index-DTBQOCar.d.mts → index-BMbmoarE.d.mts} +16 -16
- package/dist/{index-B08YYzYZ.d.mts → index-BhOLtp0B.d.mts} +9 -9
- package/dist/{index-CWDJFJGa.d.mts → index-C6SLILCZ.d.mts} +200 -200
- package/dist/{index-DEzdNQum.d.mts → index-CYHWOXUm.d.mts} +1 -1
- package/dist/{index-DDrS0Axp.d.mts → index-Clqt7Nm3.d.mts} +16 -16
- package/dist/{index-JkIaFJoM.d.mts → index-Cvjnj7Zh.d.mts} +8 -8
- package/dist/{index-Qd1Qom8M.d.mts → index-Cyi7y_aG.d.mts} +16 -16
- package/dist/{index-C2jl1iE2.d.mts → index-D4gn93gL.d.mts} +28 -28
- package/dist/{index-DXYFNGT9.d.mts → index-D8ScOpus.d.mts} +61 -61
- package/dist/{index-DYw2AuNR.d.mts → index-DsLpP5ek.d.mts} +1 -1
- package/dist/{index-ByDySw3V.d.mts → index-WHUV7neB.d.mts} +10 -10
- package/dist/{index-CfIW5biI.d.mts → index-wfSedMR9.d.mts} +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{materialization-DBXjSiBn.mjs → materialization-CUYxZCfk.mjs} +1 -1
- package/dist/{namespace-KMxsPJwm.d.mts → namespace-BeMGmLrp.d.mts} +9 -9
- package/dist/{namespace-CxzW0mIH.d.mts → namespace-Bm77p82L.d.mts} +5 -5
- package/dist/{namespace-Bz0ORDns.d.mts → namespace-Bmi5bjm4.d.mts} +78 -78
- package/dist/{namespace-DuUCiVmK.d.mts → namespace-CGxFYDlK.d.mts} +26 -26
- package/dist/{namespace-DBGLCtoW.d.mts → namespace-CfvtDD_U.d.mts} +22 -22
- package/dist/{namespace-DXWpFdQH2.d.mts → namespace-D8P8Sxce2.d.mts} +2 -2
- package/dist/package.json +1 -1
- package/dist/{provider-context-DjSUpHSM.mjs → provider-context-CqMgPOWF.mjs} +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schema-Dky4zu9D.d.mts → schema-Bf_ZNjif.d.mts} +3 -3
- package/dist/{schemas-7ncImjsM.d.mts → schemas-BemsLc_V.d.mts} +1 -1
- package/dist/{schemas-Eq-lrXYz2.d.mts → schemas-C6TVJ80V2.d.mts} +5 -5
- package/dist/{schemas-CynXJXJu.d.mts → schemas-CoFCV42v.d.mts} +22 -22
- package/dist/{schemas-CE1gbhxu.mjs → schemas-CuG17U3L.mjs} +1 -1
- package/dist/{schemas-CJ2JvA7d.d.mts → schemas-D512XweP.d.mts} +3 -3
- package/dist/{schemas-bfhY9W6A.mjs → schemas-uID59wR8.mjs} +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +6 -6
- 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 +6 -6
- package/dist/services/index.d.mts +94 -51
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/namespace.d.mts +2 -2
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +2 -2
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{session-CpVSzgkZ.mjs → session-DH-ja8Ka.mjs} +1 -1
- package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-5-wRBzuC.d.mts} +1 -1
- package/dist/{shared-DpOEfD8F.mjs → shared-BVW-3Dhy.mjs} +1 -1
- package/dist/{transition-Bf-K6QGz.d.mts → transition-CBjccCMw.d.mts} +1 -1
- package/dist/{types-BolHvLpf.d.mts → types-8rhArs_K.d.mts} +84 -84
- package/dist/{types-BslClRkH.d.mts → types-InWSdi-V.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{workflow-BCKOJ4UC.mjs → workflow-BqH6ar-D.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +63 -63
- package/dist/workflow-worker-dH70EbjE.mjs +1 -0
- package/package.json +2 -2
- package/dist/artifact-B3npq1cy.mjs +0 -1
- package/dist/workflow-worker-BIpYi6o7.mjs +0 -1
- /package/dist/{json-value-CmhSGMLv.mjs → json-value-DmU8ibo_.mjs} +0 -0
- /package/dist/{schemas-CR1Rripy.mjs → schemas-DlrQ0227.mjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
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-DmGRSeIq.mjs";
|
|
2
2
|
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-B3ol3pc-.mjs";
|
|
3
3
|
import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-D9-vOJvZ.mjs";
|
|
4
|
-
import { _ as BindingRecord } from "../index-
|
|
5
|
-
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-
|
|
6
|
-
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-
|
|
4
|
+
import { _ as BindingRecord } from "../index-Cyi7y_aG.mjs";
|
|
5
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CoFCV42v.mjs";
|
|
6
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-CfvtDD_U.mjs";
|
|
7
7
|
import { t as CapabilityService } from "../index-C4nStEdA.mjs";
|
|
8
8
|
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-CQ8uza7o.mjs";
|
|
9
9
|
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-DKncXGnb.mjs";
|
|
@@ -13,15 +13,15 @@ import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from
|
|
|
13
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-D4zaFE2p.mjs";
|
|
14
14
|
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-65uwTpbg.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-mU2lnU7O.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-Clqt7Nm3.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-gAFwNiJT.mjs";
|
|
18
18
|
import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-DtwGhFFQ.mjs";
|
|
19
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-
|
|
20
|
-
import { a as agents, s as sessions } from "../schema-
|
|
21
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-
|
|
19
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-Bmi5bjm4.mjs";
|
|
20
|
+
import { a as agents, s as sessions } from "../schema-Bf_ZNjif.mjs";
|
|
21
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BeMGmLrp.mjs";
|
|
22
22
|
import { t as TurnStorageNamespace } from "../namespace-LUNf8zo5.mjs";
|
|
23
23
|
import { n as TurnStorageSubjects } from "../namespace-BsYKEMd8.mjs";
|
|
24
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
24
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-Bm77p82L.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-Cr9lh21j.mjs";
|
|
26
26
|
import { t as ToolApprovalService } from "../index-BvLXySoB2.mjs";
|
|
27
27
|
import { t as TrayMenuService } from "../index-DUD7wikz2.mjs";
|
|
@@ -31,15 +31,15 @@ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModel
|
|
|
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-C23g_M_J2.mjs";
|
|
32
32
|
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DWfo0wp4.mjs";
|
|
33
33
|
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-Di1A3DMm.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-
|
|
35
|
-
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-
|
|
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-C6TVJ80V2.mjs";
|
|
35
|
+
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-D8P8Sxce2.mjs";
|
|
36
36
|
import * as _$zod from "zod";
|
|
37
37
|
import { z } from "zod";
|
|
38
38
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
39
39
|
import { MakaioError } from "@makaio/framework/core";
|
|
40
40
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
41
41
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
42
|
-
import { AgentResolutionContext, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, RegisteredStepBlock, RegisteredTriggerBlock, RelationTypeRegistration, ResolvableCanonicalModel, TransitionActionFactory, TransitionActionInvocation, TransitionEvaluationContext, TransitionEventType, TransitionRuleDefinition, TransitionRuleDefinitionSchema, WorkflowBlockCollection } from "@makaio/framework/contracts";
|
|
42
|
+
import { AgentResolutionContext, ArtifactContextSelector, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRef, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, RegisteredStepBlock, RegisteredTriggerBlock, RelationTypeRegistration, ResolvableCanonicalModel, ResolvedArtifactContextWire, TransitionActionFactory, TransitionActionInvocation, TransitionEvaluationContext, TransitionEventType, TransitionRuleDefinition, TransitionRuleDefinitionSchema, WorkflowBlockCollection } from "@makaio/framework/contracts";
|
|
43
43
|
import { BaseService } from "@makaio/framework/service-base";
|
|
44
44
|
import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
|
|
45
45
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
@@ -456,6 +456,49 @@ declare class ArtifactLifecycleHookRegistry extends BaseService {
|
|
|
456
456
|
*/
|
|
457
457
|
declare function createArtifactLifecycleHookContributionProcessor(): ContributionProcessor;
|
|
458
458
|
//#endregion
|
|
459
|
+
//#region services/core/src/artifact/context-resolver.d.ts
|
|
460
|
+
type MaybePromise<T> = T | Promise<T>;
|
|
461
|
+
/**
|
|
462
|
+
* Kind registry interface for context resolution.
|
|
463
|
+
*
|
|
464
|
+
* Implementations must support versioned kind lookups so the resolver
|
|
465
|
+
* can retrieve `defaultContext` selectors for each artifact kind.
|
|
466
|
+
*/
|
|
467
|
+
interface ArtifactContextKindRegistry {
|
|
468
|
+
/**
|
|
469
|
+
* Look up a kind registration by kind string and schema version.
|
|
470
|
+
* @param kind - Kind discriminator string.
|
|
471
|
+
* @param schemaVersion - Schema version string.
|
|
472
|
+
* @returns The registration record, or `undefined` if not found.
|
|
473
|
+
*/
|
|
474
|
+
getKind(kind: string, schemaVersion: string): MaybePromise<ArtifactKindRegistration | undefined>;
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Options for {@link resolveArtifactContext}.
|
|
478
|
+
*/
|
|
479
|
+
interface ResolveArtifactContextOptions {
|
|
480
|
+
/** Bus instance for artifact resolution RPCs. */
|
|
481
|
+
readonly bus: IMakaioBus;
|
|
482
|
+
/** Kind registry for versioned defaultContext lookups. */
|
|
483
|
+
readonly kindRegistry: ArtifactContextKindRegistry;
|
|
484
|
+
/** Root artifact reference to resolve from. */
|
|
485
|
+
readonly ref: ArtifactRef;
|
|
486
|
+
/**
|
|
487
|
+
* Optional caller selectors that override kind defaults per relation
|
|
488
|
+
* type.
|
|
489
|
+
*/
|
|
490
|
+
readonly selectors?: ArtifactContextSelector;
|
|
491
|
+
/** Maximum traversal depth (defaults to 5). */
|
|
492
|
+
readonly maxDepth?: number;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Resolve a selector-driven outbound artifact context graph.
|
|
496
|
+
* @param options - Bus, schema registry, root ref, and optional
|
|
497
|
+
* selector overrides.
|
|
498
|
+
* @returns Normalized wire context with all encountered refs visible.
|
|
499
|
+
*/
|
|
500
|
+
declare function resolveArtifactContext(options: ResolveArtifactContextOptions): Promise<ResolvedArtifactContextWire>;
|
|
501
|
+
//#endregion
|
|
459
502
|
//#region services/core/src/facet/facet-namespace-registry.d.ts
|
|
460
503
|
/**
|
|
461
504
|
* In-process registry for facet namespace definitions.
|
|
@@ -1341,8 +1384,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1341
1384
|
name: _$zod.ZodString;
|
|
1342
1385
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1343
1386
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1344
|
-
disabled: "disabled";
|
|
1345
1387
|
enabled: "enabled";
|
|
1388
|
+
disabled: "disabled";
|
|
1346
1389
|
visible: "visible";
|
|
1347
1390
|
}>>>;
|
|
1348
1391
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1368,8 +1411,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1368
1411
|
name: _$zod.ZodString;
|
|
1369
1412
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1370
1413
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1371
|
-
disabled: "disabled";
|
|
1372
1414
|
enabled: "enabled";
|
|
1415
|
+
disabled: "disabled";
|
|
1373
1416
|
visible: "visible";
|
|
1374
1417
|
}>>>;
|
|
1375
1418
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1395,8 +1438,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1395
1438
|
name: _$zod.ZodString;
|
|
1396
1439
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1397
1440
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1398
|
-
disabled: "disabled";
|
|
1399
1441
|
enabled: "enabled";
|
|
1442
|
+
disabled: "disabled";
|
|
1400
1443
|
visible: "visible";
|
|
1401
1444
|
}>>>;
|
|
1402
1445
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1459,8 +1502,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1459
1502
|
name: _$zod.ZodString;
|
|
1460
1503
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1461
1504
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1462
|
-
disabled: "disabled";
|
|
1463
1505
|
enabled: "enabled";
|
|
1506
|
+
disabled: "disabled";
|
|
1464
1507
|
visible: "visible";
|
|
1465
1508
|
}>>>;
|
|
1466
1509
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1608,8 +1651,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1608
1651
|
openai: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1609
1652
|
}, _$zod_v4_core0.$strip>>;
|
|
1610
1653
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1611
|
-
disabled: "disabled";
|
|
1612
1654
|
enabled: "enabled";
|
|
1655
|
+
disabled: "disabled";
|
|
1613
1656
|
visible: "visible";
|
|
1614
1657
|
}>>>;
|
|
1615
1658
|
modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -1625,8 +1668,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1625
1668
|
name: _$zod.ZodString;
|
|
1626
1669
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1627
1670
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1628
|
-
disabled: "disabled";
|
|
1629
1671
|
enabled: "enabled";
|
|
1672
|
+
disabled: "disabled";
|
|
1630
1673
|
visible: "visible";
|
|
1631
1674
|
}>>>;
|
|
1632
1675
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1651,8 +1694,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1651
1694
|
openai: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1652
1695
|
}, _$zod_v4_core0.$strip>>>;
|
|
1653
1696
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1654
|
-
disabled: "disabled";
|
|
1655
1697
|
enabled: "enabled";
|
|
1698
|
+
disabled: "disabled";
|
|
1656
1699
|
visible: "visible";
|
|
1657
1700
|
}>>>;
|
|
1658
1701
|
enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
@@ -1665,8 +1708,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1665
1708
|
name: _$zod.ZodString;
|
|
1666
1709
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1667
1710
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1668
|
-
disabled: "disabled";
|
|
1669
1711
|
enabled: "enabled";
|
|
1712
|
+
disabled: "disabled";
|
|
1670
1713
|
visible: "visible";
|
|
1671
1714
|
}>>>;
|
|
1672
1715
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1693,8 +1736,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1693
1736
|
name: _$zod.ZodString;
|
|
1694
1737
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1695
1738
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1696
|
-
disabled: "disabled";
|
|
1697
1739
|
enabled: "enabled";
|
|
1740
|
+
disabled: "disabled";
|
|
1698
1741
|
visible: "visible";
|
|
1699
1742
|
}>>>;
|
|
1700
1743
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1728,8 +1771,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1728
1771
|
name: _$zod.ZodString;
|
|
1729
1772
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1730
1773
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1731
|
-
disabled: "disabled";
|
|
1732
1774
|
enabled: "enabled";
|
|
1775
|
+
disabled: "disabled";
|
|
1733
1776
|
visible: "visible";
|
|
1734
1777
|
}>>>;
|
|
1735
1778
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1760,8 +1803,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1760
1803
|
name: _$zod.ZodString;
|
|
1761
1804
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1762
1805
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1763
|
-
disabled: "disabled";
|
|
1764
1806
|
enabled: "enabled";
|
|
1807
|
+
disabled: "disabled";
|
|
1765
1808
|
visible: "visible";
|
|
1766
1809
|
}>>>;
|
|
1767
1810
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1865,8 +1908,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1865
1908
|
name: _$zod.ZodString;
|
|
1866
1909
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1867
1910
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1868
|
-
disabled: "disabled";
|
|
1869
1911
|
enabled: "enabled";
|
|
1912
|
+
disabled: "disabled";
|
|
1870
1913
|
visible: "visible";
|
|
1871
1914
|
}>>>;
|
|
1872
1915
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1885,8 +1928,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1885
1928
|
name: _$zod.ZodString;
|
|
1886
1929
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1887
1930
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1888
|
-
disabled: "disabled";
|
|
1889
1931
|
enabled: "enabled";
|
|
1932
|
+
disabled: "disabled";
|
|
1890
1933
|
visible: "visible";
|
|
1891
1934
|
}>>>;
|
|
1892
1935
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1999,9 +2042,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1999
2042
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2000
2043
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2001
2044
|
exposureMode: _$zod.ZodEnum<{
|
|
2002
|
-
hidden: "hidden";
|
|
2003
2045
|
direct: "direct";
|
|
2004
2046
|
discovery: "discovery";
|
|
2047
|
+
hidden: "hidden";
|
|
2005
2048
|
}>;
|
|
2006
2049
|
enabled: _$zod.ZodBoolean;
|
|
2007
2050
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2018,9 +2061,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2018
2061
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2019
2062
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2020
2063
|
exposureMode: _$zod.ZodEnum<{
|
|
2021
|
-
hidden: "hidden";
|
|
2022
2064
|
direct: "direct";
|
|
2023
2065
|
discovery: "discovery";
|
|
2066
|
+
hidden: "hidden";
|
|
2024
2067
|
}>;
|
|
2025
2068
|
enabled: _$zod.ZodBoolean;
|
|
2026
2069
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2083,7 +2126,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2083
2126
|
originalName: string;
|
|
2084
2127
|
serverName: string;
|
|
2085
2128
|
inputSchema: Record<string, unknown>;
|
|
2086
|
-
exposureMode: "
|
|
2129
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2087
2130
|
enabled: boolean;
|
|
2088
2131
|
exposed: boolean;
|
|
2089
2132
|
description?: string | undefined;
|
|
@@ -2095,7 +2138,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2095
2138
|
originalName: string;
|
|
2096
2139
|
serverName: string;
|
|
2097
2140
|
inputSchema: Record<string, unknown>;
|
|
2098
|
-
exposureMode: "
|
|
2141
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2099
2142
|
enabled: boolean;
|
|
2100
2143
|
exposed: boolean;
|
|
2101
2144
|
description?: string | undefined;
|
|
@@ -2157,7 +2200,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2157
2200
|
originalName: string;
|
|
2158
2201
|
serverName: string;
|
|
2159
2202
|
inputSchema: Record<string, unknown>;
|
|
2160
|
-
exposureMode: "
|
|
2203
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2161
2204
|
enabled: boolean;
|
|
2162
2205
|
exposed: boolean;
|
|
2163
2206
|
description?: string | undefined;
|
|
@@ -2169,7 +2212,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2169
2212
|
originalName: string;
|
|
2170
2213
|
serverName: string;
|
|
2171
2214
|
inputSchema: Record<string, unknown>;
|
|
2172
|
-
exposureMode: "
|
|
2215
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2173
2216
|
enabled: boolean;
|
|
2174
2217
|
exposed: boolean;
|
|
2175
2218
|
description?: string | undefined;
|
|
@@ -2229,7 +2272,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2229
2272
|
originalName: string;
|
|
2230
2273
|
serverName: string;
|
|
2231
2274
|
inputSchema: Record<string, unknown>;
|
|
2232
|
-
exposureMode: "
|
|
2275
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2233
2276
|
enabled: boolean;
|
|
2234
2277
|
exposed: boolean;
|
|
2235
2278
|
description?: string | undefined;
|
|
@@ -2241,7 +2284,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2241
2284
|
originalName: string;
|
|
2242
2285
|
serverName: string;
|
|
2243
2286
|
inputSchema: Record<string, unknown>;
|
|
2244
|
-
exposureMode: "
|
|
2287
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2245
2288
|
enabled: boolean;
|
|
2246
2289
|
exposed: boolean;
|
|
2247
2290
|
description?: string | undefined;
|
|
@@ -2303,7 +2346,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2303
2346
|
originalName: string;
|
|
2304
2347
|
serverName: string;
|
|
2305
2348
|
inputSchema: Record<string, unknown>;
|
|
2306
|
-
exposureMode: "
|
|
2349
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2307
2350
|
enabled: boolean;
|
|
2308
2351
|
exposed: boolean;
|
|
2309
2352
|
description?: string | undefined;
|
|
@@ -2315,7 +2358,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2315
2358
|
originalName: string;
|
|
2316
2359
|
serverName: string;
|
|
2317
2360
|
inputSchema: Record<string, unknown>;
|
|
2318
|
-
exposureMode: "
|
|
2361
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
2319
2362
|
enabled: boolean;
|
|
2320
2363
|
exposed: boolean;
|
|
2321
2364
|
description?: string | undefined;
|
|
@@ -2346,8 +2389,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2346
2389
|
status: _$zod.ZodEnum<{
|
|
2347
2390
|
completed: "completed";
|
|
2348
2391
|
cancelled: "cancelled";
|
|
2349
|
-
running: "running";
|
|
2350
2392
|
failed: "failed";
|
|
2393
|
+
running: "running";
|
|
2351
2394
|
waiting_input: "waiting_input";
|
|
2352
2395
|
}>;
|
|
2353
2396
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2413,8 +2456,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2413
2456
|
member: "member";
|
|
2414
2457
|
}>;
|
|
2415
2458
|
status: _$zod.ZodEnum<{
|
|
2416
|
-
active: "active";
|
|
2417
2459
|
idle: "idle";
|
|
2460
|
+
active: "active";
|
|
2418
2461
|
dead: "dead";
|
|
2419
2462
|
disposed: "disposed";
|
|
2420
2463
|
}>;
|
|
@@ -2450,8 +2493,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2450
2493
|
member: "member";
|
|
2451
2494
|
}>;
|
|
2452
2495
|
status: _$zod.ZodEnum<{
|
|
2453
|
-
active: "active";
|
|
2454
2496
|
idle: "idle";
|
|
2497
|
+
active: "active";
|
|
2455
2498
|
dead: "dead";
|
|
2456
2499
|
disposed: "disposed";
|
|
2457
2500
|
}>;
|
|
@@ -2476,8 +2519,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2476
2519
|
adapterName: _$zod.ZodString;
|
|
2477
2520
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2478
2521
|
all: "all";
|
|
2479
|
-
active: "active";
|
|
2480
2522
|
idle: "idle";
|
|
2523
|
+
active: "active";
|
|
2481
2524
|
dead: "dead";
|
|
2482
2525
|
disposed: "disposed";
|
|
2483
2526
|
}>>;
|
|
@@ -2507,8 +2550,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2507
2550
|
member: "member";
|
|
2508
2551
|
}>;
|
|
2509
2552
|
status: _$zod.ZodEnum<{
|
|
2510
|
-
active: "active";
|
|
2511
2553
|
idle: "idle";
|
|
2554
|
+
active: "active";
|
|
2512
2555
|
dead: "dead";
|
|
2513
2556
|
disposed: "disposed";
|
|
2514
2557
|
}>;
|
|
@@ -2546,8 +2589,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2546
2589
|
member: "member";
|
|
2547
2590
|
}>;
|
|
2548
2591
|
status: _$zod.ZodEnum<{
|
|
2549
|
-
active: "active";
|
|
2550
2592
|
idle: "idle";
|
|
2593
|
+
active: "active";
|
|
2551
2594
|
dead: "dead";
|
|
2552
2595
|
disposed: "disposed";
|
|
2553
2596
|
}>;
|
|
@@ -2560,8 +2603,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2560
2603
|
request: _$zod.ZodObject<{
|
|
2561
2604
|
agentId: _$zod.ZodString;
|
|
2562
2605
|
status: _$zod.ZodEnum<{
|
|
2563
|
-
active: "active";
|
|
2564
2606
|
idle: "idle";
|
|
2607
|
+
active: "active";
|
|
2565
2608
|
dead: "dead";
|
|
2566
2609
|
disposed: "disposed";
|
|
2567
2610
|
}>;
|
|
@@ -2888,7 +2931,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2888
2931
|
tableName: "agents";
|
|
2889
2932
|
dataType: "string";
|
|
2890
2933
|
columnType: "SQLiteText";
|
|
2891
|
-
data: "
|
|
2934
|
+
data: "idle" | "active" | "dead" | "disposed";
|
|
2892
2935
|
driverParam: string;
|
|
2893
2936
|
notNull: true;
|
|
2894
2937
|
hasDefault: false;
|
|
@@ -3213,9 +3256,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3213
3256
|
changed: _$zod.ZodObject<{
|
|
3214
3257
|
ruleId: _$zod.ZodString;
|
|
3215
3258
|
changeType: _$zod.ZodEnum<{
|
|
3216
|
-
created: "created";
|
|
3217
|
-
deleted: "deleted";
|
|
3218
3259
|
updated: "updated";
|
|
3260
|
+
deleted: "deleted";
|
|
3261
|
+
created: "created";
|
|
3219
3262
|
}>;
|
|
3220
3263
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
3221
3264
|
scope: _$zod.ZodEnum<{
|
|
@@ -3813,18 +3856,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3813
3856
|
changed: _$zod.ZodObject<{
|
|
3814
3857
|
path: _$zod.ZodString;
|
|
3815
3858
|
kind: _$zod.ZodEnum<{
|
|
3859
|
+
change: "change";
|
|
3816
3860
|
create: "create";
|
|
3817
3861
|
delete: "delete";
|
|
3818
|
-
change: "change";
|
|
3819
3862
|
}>;
|
|
3820
3863
|
}, _$zod_v4_core0.$strip>;
|
|
3821
3864
|
batch: _$zod.ZodObject<{
|
|
3822
3865
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3823
3866
|
path: _$zod.ZodString;
|
|
3824
3867
|
kind: _$zod.ZodEnum<{
|
|
3868
|
+
change: "change";
|
|
3825
3869
|
create: "create";
|
|
3826
3870
|
delete: "delete";
|
|
3827
|
-
change: "change";
|
|
3828
3871
|
}>;
|
|
3829
3872
|
}, _$zod_v4_core0.$strip>>;
|
|
3830
3873
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -4014,8 +4057,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4014
4057
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4015
4058
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4016
4059
|
name: _$zod.ZodString;
|
|
4017
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4018
4060
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4061
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4062
|
+
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4019
4063
|
toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
4020
4064
|
"file.read": "file.read";
|
|
4021
4065
|
"file.write": "file.write";
|
|
@@ -4037,7 +4081,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4037
4081
|
"always-ask": "always-ask";
|
|
4038
4082
|
"full-access": "full-access";
|
|
4039
4083
|
}>>>;
|
|
4040
|
-
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4041
4084
|
approvalPolicy: _$zod.ZodEnum<{
|
|
4042
4085
|
reject: "reject";
|
|
4043
4086
|
"always-ask": "always-ask";
|
|
@@ -6162,8 +6205,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6162
6205
|
status: _$zod.ZodEnum<{
|
|
6163
6206
|
completed: "completed";
|
|
6164
6207
|
cancelled: "cancelled";
|
|
6165
|
-
running: "running";
|
|
6166
6208
|
failed: "failed";
|
|
6209
|
+
running: "running";
|
|
6167
6210
|
waiting_input: "waiting_input";
|
|
6168
6211
|
}>;
|
|
6169
6212
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6239,10 +6282,10 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6239
6282
|
create: {
|
|
6240
6283
|
request: _$zod.ZodObject<{
|
|
6241
6284
|
name: _$zod.ZodString;
|
|
6242
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6243
6285
|
adapterName: _$zod.ZodString;
|
|
6244
6286
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6245
6287
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6288
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6246
6289
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6247
6290
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6248
6291
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -6290,4 +6333,4 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6290
6333
|
};
|
|
6291
6334
|
}>];
|
|
6292
6335
|
//#endregion
|
|
6293
|
-
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, type ProviderModelOverride, ProviderModelOverrideSchema, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLogger, type SessionLoggerOptions, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentManager, SubagentService, SubagentServiceToken, type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema, SurfaceBindingRegistry, SurfaceBindingRegistryToken, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnCompleteCallback, type TurnCompletionResult, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnResult, type TurnStateChange, TurnStorageNamespace, TurnStorageSubjects, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, activateProviderContextStrict, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildProviderContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createFacetNamespaceContributionProcessor, createModelRegistryPackage, createSessionExtensionContext, createSurfaceBindingContributionProcessor, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, importCursorsDual, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionBridgePackage, sessionEvents, sessionEventsDual, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, surfaceBindingRegistryPackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, turnsDual, verifyAndRecoverAgents, workflowBlockRegistryPackage };
|
|
6336
|
+
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, type ArtifactContextKindRegistry, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, type ProviderModelOverride, ProviderModelOverrideSchema, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveArtifactContextOptions, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLogger, type SessionLoggerOptions, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentManager, SubagentService, SubagentServiceToken, type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema, SurfaceBindingRegistry, SurfaceBindingRegistryToken, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnCompleteCallback, type TurnCompletionResult, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnResult, type TurnStateChange, TurnStorageNamespace, TurnStorageSubjects, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, activateProviderContextStrict, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildProviderContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createFacetNamespaceContributionProcessor, createModelRegistryPackage, createSessionExtensionContext, createSurfaceBindingContributionProcessor, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, importCursorsDual, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveArtifactContext, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionBridgePackage, sessionEvents, sessionEventsDual, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, surfaceBindingRegistryPackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, turnsDual, verifyAndRecoverAgents, workflowBlockRegistryPackage };
|
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-DHlTAy0N.mjs";import{t as o}from"../schema-D6WAI8OL.mjs";import{i as s,n as c,r as l,t as u}from"../namespace-C-piH3w4.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-BAycjV02.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-0nWT4st6.mjs";import{t as ot}from"../namespace-DBHwyhME.mjs";import{n as st,r as ct,t as lt}from"../provider-context-DC_eq7es.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-wke7juzy.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-DFOsOboy.mjs";import{t as jn}from"../capability-service-XlymTzz1.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-rYICIwyR.mjs";import{t as Vn}from"../tool-approval-service-DEQiipxj.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-B2AxiQqL.mjs";import{n as Qn}from"../handler-2bPhRn0u.mjs";import{i as $n,n as er,r as tr,t as nr}from"../package-CF_Zm2v4.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-D5q9CrBp.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-BR8bLkCR.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-CVMZVqB5.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-BO3tODGC.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-BarL3JYI.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-DHlTAy0N.mjs";import{t as o}from"../schema-D6WAI8OL.mjs";import{i as s,n as c,r as l,t as u}from"../namespace-C-piH3w4.mjs";import{SessionStorageNamespace as d,SessionStorageSubjects as f}from"./session/storage/namespace.mjs";import{A as p,C as m,D as ee,E as h,F as te,M as ne,N as re,O as ie,P as g,S as ae,T as oe,_ as se,a as ce,b as le,c as ue,d as de,f as fe,g as pe,h as me,i as he,j as ge,k as _e,l as ve,m as ye,n as be,o as xe,p as Se,r as Ce,s as we,t as Te,u as _,v,w as y,x as b,y as x}from"../handlers-BAycjV02.mjs";import{A as S,B as C,C as w,E as T,F as E,G as D,H as O,I as Ee,J as De,K as Oe,L as ke,M as Ae,N as je,O as Me,P as Ne,R as Pe,S as Fe,T as Ie,U as Le,V as Re,W as ze,X as Be,Y as Ve,_ as He,a as Ue,b as We,c as Ge,d as Ke,g as qe,h as Je,i as Ye,j as Xe,k as Ze,l as Qe,m as $e,o as et,p as tt,q as nt,r as rt,s as it,t as at,u as ot,v as st,w as ct,x as lt,y as ut,z as dt}from"../session-0nWT4st6.mjs";import{t as ft}from"../namespace-DBHwyhME.mjs";import{n as pt,r as mt,t as ht}from"../provider-context-DC_eq7es.mjs";import{AdapterRuntimeSchemas as gt,ResolveIdRequestSchema as _t,ResolveIdResponseSchema as vt,ResolveNameRequestSchema as yt,ResolveNameResponseSchema as bt}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as k,AdapterRuntimeSubjects as xt}from"./adapter-runtime/namespace.mjs";import{ProviderStorageNamespace as St}from"./settings/storage/providers-namespace.mjs";import{ContainerIsolatedExecutionTargetSchema as Ct,ContainerLocalExecutionTargetSchema as wt,ExecutionTargetInputSchema as Tt,ExecutionTargetListQuerySchema as Et,ExecutionTargetResolveRequestSchema as Dt,ExecutionTargetSchema as Ot,ExecutionTargetSchemas as kt,ExecutionTargetTypeSchema as At,LocalExecutionTargetSchema as jt}from"./execution-target/schemas.mjs";import{ExecutionTargetNamespace as A,ExecutionTargetSubjects as Mt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Nt,MessageStorageSubjects as Pt}from"./session/messages/namespace.mjs";import{TurnStorageNamespace as Ft}from"./session/turns/namespace.mjs";import{BugEntrySchema as It,CompressRequestSchema as Lt,CompressResponseSchema as Rt,CompressionEventSchema as zt,CompressionSchemas as Bt,ExtractedContextSchema as Vt,TechnicalDetailsSchema as Ht,TodoEntrySchema as Ut}from"./compression/schemas.mjs";import{PreferenceItemSchema as Wt,PreferenceKeySchema as Gt,PreferenceValueSchema as Kt,PreferencesSchemas as qt}from"./preferences/schemas.mjs";import{PreferencesNamespace as j,PreferencesSubjects as Jt}from"./preferences/storage-namespace.mjs";import{t as Yt}from"../namespace-wke7juzy.mjs";import{A as Xt,B as Zt,C as Qt,D as $t,E as en,F as tn,G as nn,H as rn,I as an,J as on,K as sn,L as cn,M as ln,N as un,O as dn,P as fn,R as pn,S as mn,T as hn,U as gn,V as _n,W as vn,Y as yn,_ as bn,a as M,b as xn,c as Sn,d as Cn,f as N,g as P,h as wn,i as F,j as Tn,k as En,l as Dn,m as On,o as kn,p as I,q as An,r as jn,s as L,u as Mn,v as R,w as Nn,x as Pn,y as Fn,z as In}from"../tools-DFOsOboy.mjs";import{t as Ln}from"../capability-service-XlymTzz1.mjs";import{a as Rn,c as zn,i as Bn,l as Vn,n as Hn,o as z,r as Un,s as Wn,t as Gn,u as Kn}from"../model-registry-rYICIwyR.mjs";import{t as qn}from"../tool-approval-service-DEQiipxj.mjs";import{TrayMenuEntrySchema as Jn,TrayMenuGroupEntrySchema as Yn,TrayMenuGroupSchema as Xn,TrayMenuItemClickedSchema as Zn,TrayMenuListEntrySchema as Qn,TrayMenuMetadataSchema as $n,TrayMenuSchemas as er,TrayMenuSectionSchema as tr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as B,TrayMenuSubjects as nr}from"./tray-menu/namespace.mjs";import{t as rr}from"../tray-menu-service-B2AxiQqL.mjs";import{n as ir}from"../handler-2bPhRn0u.mjs";import{i as ar,n as or,r as sr,t as cr}from"../package-CF_Zm2v4.mjs";import{FsNamespace as lr}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 ur,AgentRuntimeSchemas as dr,AgentRuntimeSelectionSchema as fr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as V,AgentRuntimeSubjects as pr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as mr,CodebaseSchemas as hr}from"./codebase/schemas.mjs";import{CodebaseNamespace as H,CodebaseSubjects as gr}from"./codebase/namespace.mjs";import{CompressionNamespace as U,CompressionSubjects as _r}from"./compression/namespace.mjs";import{r as vr,t as yr}from"../storage-namespace-D5q9CrBp.mjs";import{DefinitionNamespace as br}from"./definition/namespace.mjs";import{DialogNamespace as xr}from"./dialog/namespace.mjs";import{_ as Sr,c as Cr,d as wr,f as Tr,g as Er,h as Dr,i as Or,l as kr,m as Ar,n as jr,o as Mr,p as Nr,r as W,s as Pr,t as Fr,u as Ir,v as Lr,y as Rr}from"../execution-target-BR8bLkCR.mjs";import{CLIDetectionNamespace as zr}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as Br}from"./local-notification/namespace.mjs";import{t as Vr}from"../namespace-CVMZVqB5.mjs";import{ExtensionConfigStorageNamespace as Hr}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as Ur}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as Wr,SubagentTemplateCreateSchema as Gr,SubagentTemplateInstanceSchema as Kr,SubagentTemplateInstanceStatusSchema as qr,SubagentTemplateKernelSchemas as Jr,SubagentTemplateSchema as Yr,SubagentTemplateSettingsSchemas as Xr,SubagentTemplateSpawnRequestSchema as Zr,SubagentTemplateSpawnedEventSchema as Qr,SubagentTemplateSummarySchema as $r,SubagentTemplateUpdateSchema as ei}from"./subagent-template/schemas.mjs";import{r as ti,t as ni}from"../namespace-BO3tODGC.mjs";import{SubagentTemplateKernelNamespace as G,SubagentTemplateSubjects as ri}from"./subagent-template/namespace.mjs";import{i as ii,n as ai,r as oi,t as si}from"../identity-BarL3JYI.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as ci}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as li}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as ui}from"@makaio/framework/contracts/model-registry";function di(e){return{source:`extension`,ownerKey:`extension:${e}`}}function fi(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function pi(){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)}fi(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(M);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=di(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 mi(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function hi(){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(F);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(mi(e.kind,e.schemaVersion,t));let c=[...o,...s];t(n);let l=a.registerHooks(n,c);e.set(n,{cleanup:l})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactLifecycleHookContributionProcessor] Deregister error for "${e}":`,t)}}}}async function gi(e){let t=e.maxDepth??5,n={bus:e.bus,kindRegistry:e.kindRegistry,maxDepth:t,resolvedByKey:new Map,kindDefaultsCache:new Map,walkedByKey:new Set,resolved:[],refs:[]},r=await q(n,e.ref);if(!r)throw Error(`artifact.resolveContext: root artifact '${e.ref.kind}:${e.ref.id}:${e.ref.revision}' not found`);return n.resolved.push(r),await K(n,r,Y(await J(n,r),e.selectors),0,new Set([Z(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function K(e,t,n,r,i){let a=xi(t,n,r);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=bi(t);for(let a of t.relations)await _i(e,o,a,n,r,i)}async function _i(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!vi(o,n.target)){e.refs.push(X(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){e.refs.push(X(t,n,s,`unsupported-ref-class`));return}if(i>=e.maxDepth){e.refs.push(X(t,n,s,`depth-exceeded`));return}let c=Z(n.target);if(a.has(c)){e.refs.push(X(t,n,s,`cycle-detected`));return}let l=e.resolvedByKey.has(c),u=await q(e,n.target);if(!u){e.refs.push(X(t,n,s,`not-found`));return}e.refs.push({sourceRef:t,target:n.target,relationType:n.type,hint:s,status:`resolved`}),l||e.resolved.push(u);let d=(o.depth??1)-1,f=d>0?{[n.type]:{...o,depth:d}}:void 0,p=Y(Y(await J(e,u),f),o.nested),m=new Set(a);m.add(c),await K(e,u,p,i+1,m)}async function q(e,t){let n=Z(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(ci.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}async function J(e,t){let n=JSON.stringify([t.kind,t.schemaVersion]);if(e.kindDefaultsCache.has(n))return e.kindDefaultsCache.get(n);let r=(await e.kindRegistry.getKind(t.kind,t.schemaVersion))?.defaultContext;return e.kindDefaultsCache.set(n,r),r}function Y(e,t){if(!t)return e;if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]=r;return n}function vi(e,t){return e?e.kinds?e.kinds.includes(yi(t)):!0:!1}function yi(e){return e.refClass===`local`?e.artifact.kind:e.kind}function X(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,hint:n,status:`unresolved`,reason:r}}function bi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Z(e){return JSON.stringify([e.kind,e.id,e.revision])}function xi(e,t,n){return JSON.stringify([e.kind,e.id,e.revision,n,t??null])}function Q(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Si(){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(L);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 Ci(){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(I);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 wi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(R);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 Ti(){let e=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(t,n,r){let i=r.getService(P);if(!i)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${P.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&&Ei(t,a),c&&Di(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 Ei(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 Di(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 Oi=[k,ft,V,g,zr,Ur,H,U,vr,yr,br,xr,W,A,Hr,lr,ir,li,Br,C,z,ui,j,Vr,St,Yt,ni,B,e,G,ti];export{si as AdapterIdentityRegistry,De as AdapterRegistry,k as AdapterRuntimeNamespace,gt as AdapterRuntimeSchemas,xt as AdapterRuntimeSubjects,ur as AgentInstanceStatusSchema,V as AgentRuntimeNamespace,dr as AgentRuntimeSchemas,fr as AgentRuntimeSelectionSchema,pr as AgentRuntimeSubjects,g as AgentStorageNamespace,te as AgentStorageSubjects,An as ArtifactLifecycleHookRegistry,F as ArtifactLifecycleHookRegistryToken,on as ArtifactLifecycleHookRejectedError,yn as ArtifactSchemaRegistry,M as ArtifactSchemaRegistryToken,It as BugEntrySchema,Ae as CONNECTOR_SWAP_DEFAULT_PIPELINE,Gn as CachedRegistryFetcher,vn as CanonicalModelResolutionError,gn as CanonicalModelResolver,rn as CanonicalModelService,Ln as CapabilityService,kn as CapabilityToken,mr as CodebaseChangedEventSchema,H as CodebaseNamespace,hr as CodebaseSchemas,gr as CodebaseSubjects,Lt as CompressRequestSchema,Rt as CompressResponseSchema,zt as CompressionEventSchema,U as CompressionNamespace,Bt as CompressionSchemas,_r as CompressionSubjects,Mr as ContainerCreatedSchema,Pr as ContainerDestroyedSchema,Ct as ContainerIsolatedExecutionTargetSchema,Cr as ContainerIsolatedSpawnRequestSchema,wt as ContainerLocalExecutionTargetSchema,kr as ContainerLocalSpawnRequestSchema,Ir as ContainerRuntimeSchema,Fr as ContainerSpawnNamespace,jr as ContainerSpawnSubjects,wr as ContainerStartedSchema,Tr as ContainerStateSchema,Nr as ContainerStoppedSchema,at as ContextWindowTracker,W as DockerNamespace,Or as DockerSubjects,it as EmbeddingIndexManager,Tt as ExecutionTargetInputSchema,Et as ExecutionTargetListQuerySchema,A as ExecutionTargetNamespace,Dt as ExecutionTargetResolveRequestSchema,Ot as ExecutionTargetSchema,kt as ExecutionTargetSchemas,Mt as ExecutionTargetSubjects,At as ExecutionTargetTypeSchema,Vt as ExtractedContextSchema,sn as FacetNamespaceRegistry,L as FacetNamespaceRegistryToken,Hn as FallbackRegistryFetcher,Oi as FrameworkServicesCoreNamespaces,jt as LocalExecutionTargetSchema,et as MakaioSession,Ve as MakaioSessionService,C as MessageRoutingNamespace,Re as MessageRoutingSubjects,Nt as MessageStorageNamespace,Pt as MessageStorageSubjects,z as ModelRegistryNamespace,Un as ModelRegistryProviderNotFoundError,zn as ModelRegistrySchema,Vn as ModelRegistrySchemas,Bn as ModelRegistryService,Wn as ModelRegistrySubjects,Sn as ModelRegistryToken,Wt as PreferenceItemSchema,Gt as PreferenceKeySchema,Kt as PreferenceValueSchema,j as PreferencesNamespace,qt as PreferencesSchemas,Jt as PreferencesSubjects,Kn as ProviderModelOverrideSchema,_t as ResolveIdRequestSchema,vt as ResolveIdResponseSchema,yt as ResolveNameRequestSchema,bt as ResolveNameResponseSchema,S as SessionBridge,Dn as SessionBridgeToken,u as SessionEventStorageNamespace,c as SessionEventStorageSubjects,Me as SessionExtensionContextImpl,Ke as SessionLogger,ke as SessionOrchestrator,Mn as SessionOrchestratorToken,d as SessionStorageNamespace,f as SessionStorageSubjects,Cn as SessionStorageToken,N as SessionToken,Pe as SessionTurnManager,Ar as SpawnRequestSchema,Dr as SpawnResponseSchema,Er as StatusRequestSchema,Sr as StatusResponseSchema,Lr as StopRequestSchema,Rr as StopResponseSchema,ar as SubagentManager,sr as SubagentService,cr as SubagentServiceToken,Wr as SubagentTemplateCompletedEventSchema,Gr as SubagentTemplateCreateSchema,Kr as SubagentTemplateInstanceSchema,qr as SubagentTemplateInstanceStatusSchema,G as SubagentTemplateKernelNamespace,Jr as SubagentTemplateKernelSchemas,Yr as SubagentTemplateSchema,Xr as SubagentTemplateSettingsSchemas,Zr as SubagentTemplateSpawnRequestSchema,Qr as SubagentTemplateSpawnedEventSchema,ri as SubagentTemplateSubjects,$r as SubagentTemplateSummarySchema,ei as SubagentTemplateUpdateSchema,nn as SurfaceBindingRegistry,I as SurfaceBindingRegistryToken,Ht as TechnicalDetailsSchema,Ut as TodoEntrySchema,qn as ToolApprovalService,On as ToolApprovalToken,Zt as ToolRegistry,wn as ToolRegistryToken,cn as TransitionActionRegistry,tn as TransitionPipelineService,P as TransitionPipelineToken,an as TransitionRuleRegistry,Jn as TrayMenuEntrySchema,Yn as TrayMenuGroupEntrySchema,Xn as TrayMenuGroupSchema,Zn as TrayMenuItemClickedSchema,Qn as TrayMenuListEntrySchema,$n as TrayMenuMetadataSchema,B as TrayMenuNamespace,er as TrayMenuSchemas,tr as TrayMenuSectionSchema,rr as TrayMenuService,nr as TrayMenuSubjects,bn as TrayMenuToken,x as Turn,Ee as TurnContextEnricher,Ft as TurnStorageNamespace,t as TurnStorageSubjects,pn as WORKFLOW_START_ACTION_TYPE,In as WorkflowBlockRegistry,R as WorkflowBlockRegistryToken,_e as actionRegistry,ht as activateProviderContext,pt as activateProviderContextStrict,n as agents,Fn as artifactLifecycleHookRegistryPackage,xn as artifactSchemaRegistryPackage,be as assembleForkContext,ai as buildDeterministicAdapterId,mt as buildProviderContext,ee as buildRecoveryContext,ae as buildRecoveryContextWithPipeline,p as buildSessionContext,Se as buildTurnInitiator,_n as canonicalModelPackage,Pn as capabilityPackage,pi as createArtifactKindContributionProcessor,hi as createArtifactLifecycleHookContributionProcessor,Si as createFacetNamespaceContributionProcessor,mn as createModelRegistryPackage,Ze as createSessionExtensionContext,Ci as createSurfaceBindingContributionProcessor,jn as createToolContributionProcessor,Ti as createTransitionContributionProcessor,wi as createWorkflowBlockContributionProcessor,m as ensureAgentCwd,y as ensureAgentModel,se as extractTextContent,Qt as facetNamespaceRegistryPackage,$e as fetchAgentsBySession,Je as fetchMessageCountsBySession,qe as fetchPreviewBySession,lt as fetchSessionPreviewMaps,ye as findTurnByAgent,Nn as frameworkCorePackages,ie as getFullConversation,me as getOrCreateSession,Qe as importCursors,ot as importCursorsDual,T as kindToBranchKind,Fe as mapAgentsBySession,He as mapRowToSession,w as mapToSession,Rn as mergeModelMetadata,O as messageRouting,Le as messageRoutingDual,o as messages,de as normalizeSelectionString,v as normalizeToBlocks,st as parseForkTransforms,Xe as pickFallbackRuntimeOptions,oe as recoverAgent,ue as registerAbandonHandler,oi as registerAdapterRuntimeIdentityHandlers,_ as registerAttachHandler,xe as registerBuiltInActions,ce as registerCompressHandler,Ye as registerCompressLineageResolver,Be as registerCoreSessionServiceHandlers,ct as registerDrizzleAgentStorage,Ge as registerDrizzleImportCursorStorage,dt as registerDrizzleMessageRoutingStorage,D as registerDrizzleMessageStorage,Oe as registerDrizzleSessionEventStorage,We as registerDrizzleSessionStorage,b as registerDrizzleTurnStorage,he as registerForkHandler,tt as registerFtsSearchHandler,Ne as registerGetStatusCountsHandler,je as registerListActionsHandler,ut as registerMemoryAgentStorage,ze as registerMemoryMessageStorage,nt as registerMemorySessionEventStorage,Ie as registerMemorySessionStorage,le as registerMemoryTurnStorage,Ce as registerMergeHandler,Ue as registerParentResolver,E as registerResumeHandler,rt as registerSpawningToolCallResolver,we as resetBuiltInActionsRegistration,ge as resolveAdapterId,fe as resolveAdapterNameById,gi as resolveArtifactContext,ii as resolveDeterministicAdapterId,ne as resolveExecutionTarget,re as resolveModelCapabilities,pe as resolveTargetAgents,Te as routeToAgents,ve as routeToAgentsCore,hn as sessionBridgePackage,l as sessionEvents,s as sessionEventsDual,en as sessionOrchestratorPackage,$t as sessionPackage,dn as sessionStoragePackage,r as sessions,or as subagentServicePackage,En as surfaceBindingRegistryPackage,Xt as toolApprovalPackage,Tn as toolRegistryPackage,ln as transitionPipelinePackage,un as trayMenuPackage,a as turns,i as turnsDual,h as verifyAndRecoverAgents,fn as workflowBlockRegistryPackage};
|