@makaio/framework 1.0.0-dev-1781729394463 → 1.0.0-dev-1781766035621
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/{adapter-B5I7Wp4y.mjs → adapter-BmdC3QwV.mjs} +1 -1
- package/dist/adapters/index.d.mts +1 -1
- package/dist/adapters/stream-session/index.d.mts +2 -0
- package/dist/await-trigger-DwVldnMt.mjs +1 -0
- package/dist/bus/index.d.mts +20 -20
- package/dist/bus/index.mjs +1 -1
- package/dist/{canonical-model-BWGkgf3v.mjs → canonical-model-BM5WAnQW.mjs} +1 -1
- package/dist/compression-CXEHx0rS.mjs +1 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.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/extension/index.d.mts +2 -2
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +175 -170
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{definition-b9jyJqPD.d.mts → definition-D_3U4OLJ.d.mts} +1 -1
- package/dist/{index-BEzRpWsS.d.mts → index-61LNzR4E.d.mts} +394 -394
- package/dist/{index-kwq54nx4.d.mts → index-B08YYzYZ.d.mts} +24 -24
- package/dist/{index-CmHdpW0E.d.mts → index-BN95duxC.d.mts} +8 -8
- package/dist/{index-DKNmj2sa.d.mts → index-B_FtZ3Gn.d.mts} +15 -15
- package/dist/{index-DWKCb-eJ.d.mts → index-BwZpSUql.d.mts} +28 -28
- package/dist/{index-DMz-2ACU.d.mts → index-ByDySw3V.d.mts} +100 -100
- package/dist/{index-Dw7ErgWU.d.mts → index-CewENhZO.d.mts} +8 -8
- package/dist/{index-CZJc-V9L.d.mts → index-Ch8A757m.d.mts} +17 -17
- package/dist/{index-mU2lnU7O.d.mts → index-CqCe7Phc.d.mts} +6 -6
- package/dist/{index-aciWhUWw.d.mts → index-DCDZrmkB.d.mts} +342 -342
- package/dist/{index-D1KPCXBN.d.mts → index-UKndP4iV.d.mts} +1 -1
- package/dist/{index-CW_LbXdg.d.mts → index-Y2r0Zvcm.d.mts} +8 -8
- package/dist/{index-Cjo24O5I.d.mts → index-YoTbsavl.d.mts} +39 -39
- package/dist/{index-BWIkf5oJ.d.mts → index-mpYmdMt9.d.mts} +9 -9
- package/dist/{index-DTBQOCar.d.mts → index-xyXYG5WO.d.mts} +16 -16
- 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/loop-gate-handlers-BLoGCWMQ.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-KMxsPJwm.d.mts → namespace-BeMGmLrp.d.mts} +9 -9
- package/dist/{namespace-65uwTpbg.d.mts → namespace-Cir7d-vM.d.mts} +6 -6
- package/dist/{namespace-COEUMuHL.d.mts → namespace-Ct8ipis5.d.mts} +154 -154
- package/dist/{namespace-6sIu5nBI2.d.mts → namespace-D8P8Sxce2.d.mts} +2 -2
- package/dist/{namespace-DYJZAGzR.d.mts → namespace-Da5Ip_ru.d.mts} +58 -58
- package/dist/{package-rdrXr17q.mjs → package-B1AXe-oz.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-B2bO5Yui.d.mts → schema-TNNx-dYQ.d.mts} +3 -3
- package/dist/{schemas-D4zaFE2p.d.mts → schemas-C_gGGevw.d.mts} +6 -6
- package/dist/{schemas-CDBn9MTz.d.mts → schemas-CarFhw0P.d.mts} +154 -154
- package/dist/{schemas-ByssHRGU2.d.mts → schemas-DF_RgKLw2.d.mts} +11 -11
- package/dist/{schemas-DMMWmWjq.d.mts → schemas-DXjyGVpx.d.mts} +4 -4
- package/dist/{schemas-BWasvfw2.mjs → schemas-yNBjlOKi.mjs} +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 +3 -3
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/harness/index.d.mts +6 -6
- package/dist/services/index.d.mts +110 -110
- package/dist/services/index.mjs +1 -1
- package/dist/services/session/index.d.mts +4 -4
- 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 +8 -8
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- 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/services/tools/index.mjs +1 -1
- package/dist/{session-Bey-bzcX.mjs → session-DLTZOum3.mjs} +1 -1
- package/dist/{session-lineage-Cht4jbvV.d.mts → session-lineage-5-wRBzuC.d.mts} +1 -1
- package/dist/tools/index.d.mts +8 -0
- package/dist/{tools-uAgIrqan.mjs → tools-DFOsOboy.mjs} +1 -1
- package/dist/{transition-Coowd2dA.d.mts → transition-ByWf06n-.d.mts} +1 -1
- package/dist/{types-Cagp7JXb.d.mts → types-D2Q9qI-a.d.mts} +282 -282
- package/dist/workflow-engine/index.d.mts +32 -32
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-CojIlB6k.mjs → workflow-worker-BIpYi6o7.mjs} +1 -1
- package/package.json +5 -1
- package/dist/await-trigger-DcMVmNW5.mjs +0 -1
- package/dist/compression-DMoeVgKx.mjs +0 -1
- package/dist/loop-gate-handlers-CwU5zAGs.mjs +0 -1
|
@@ -2,23 +2,23 @@ import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdR
|
|
|
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
4
|
import { _ as BindingRecord } from "../index-BAQ6QBcU.mjs";
|
|
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-
|
|
5
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CarFhw0P.mjs";
|
|
6
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-Ct8ipis5.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";
|
|
10
10
|
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-KlH1hB7u.mjs";
|
|
11
11
|
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-D2s-4pyg.mjs";
|
|
12
12
|
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-Bo78h9e3.mjs";
|
|
13
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-
|
|
14
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
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-
|
|
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-
|
|
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-C_gGGevw.mjs";
|
|
14
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-Cir7d-vM.mjs";
|
|
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-CqCe7Phc.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-Ch8A757m.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-Da5Ip_ru.mjs";
|
|
20
|
+
import { a as agents, s as sessions } from "../schema-TNNx-dYQ.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
24
|
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-CTsfVI3H.mjs";
|
|
@@ -31,8 +31,8 @@ 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-DF_RgKLw2.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";
|
|
@@ -1952,25 +1952,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1952
1952
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1953
1953
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1954
1954
|
sessionId: _$zod.ZodString;
|
|
1955
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1956
|
-
fullName: _$zod.ZodString;
|
|
1957
|
-
originalName: _$zod.ZodString;
|
|
1958
|
-
serverName: _$zod.ZodString;
|
|
1959
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1960
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1961
|
-
exposureMode: _$zod.ZodEnum<{
|
|
1962
|
-
hidden: "hidden";
|
|
1963
|
-
discovery: "discovery";
|
|
1964
|
-
direct: "direct";
|
|
1965
|
-
}>;
|
|
1966
|
-
enabled: _$zod.ZodBoolean;
|
|
1967
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1968
|
-
discovery: "discovery";
|
|
1969
|
-
toolset: "toolset";
|
|
1970
|
-
}>>;
|
|
1971
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1972
|
-
exposed: _$zod.ZodBoolean;
|
|
1973
|
-
}, _$zod_v4_core0.$strip>>;
|
|
1974
1955
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1975
1956
|
name: _$zod.ZodString;
|
|
1976
1957
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -2007,9 +1988,28 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2007
1988
|
type: _$zod.ZodLiteral<"http">;
|
|
2008
1989
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
2009
1990
|
exposureMode: _$zod.ZodEnum<{
|
|
1991
|
+
direct: "direct";
|
|
2010
1992
|
discovery: "discovery";
|
|
1993
|
+
}>;
|
|
1994
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1995
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1996
|
+
fullName: _$zod.ZodString;
|
|
1997
|
+
originalName: _$zod.ZodString;
|
|
1998
|
+
serverName: _$zod.ZodString;
|
|
1999
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2000
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2001
|
+
exposureMode: _$zod.ZodEnum<{
|
|
2002
|
+
hidden: "hidden";
|
|
2011
2003
|
direct: "direct";
|
|
2004
|
+
discovery: "discovery";
|
|
2012
2005
|
}>;
|
|
2006
|
+
enabled: _$zod.ZodBoolean;
|
|
2007
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2008
|
+
discovery: "discovery";
|
|
2009
|
+
toolset: "toolset";
|
|
2010
|
+
}>>;
|
|
2011
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2012
|
+
exposed: _$zod.ZodBoolean;
|
|
2013
2013
|
}, _$zod_v4_core0.$strip>>;
|
|
2014
2014
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2015
2015
|
fullName: _$zod.ZodString;
|
|
@@ -2019,8 +2019,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2019
2019
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2020
2020
|
exposureMode: _$zod.ZodEnum<{
|
|
2021
2021
|
hidden: "hidden";
|
|
2022
|
-
discovery: "discovery";
|
|
2023
2022
|
direct: "direct";
|
|
2023
|
+
discovery: "discovery";
|
|
2024
2024
|
}>;
|
|
2025
2025
|
enabled: _$zod.ZodBoolean;
|
|
2026
2026
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2049,18 +2049,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2049
2049
|
env?: Record<string, string> | undefined;
|
|
2050
2050
|
mcpSessionContext?: {
|
|
2051
2051
|
sessionId: string;
|
|
2052
|
-
directTools: {
|
|
2053
|
-
fullName: string;
|
|
2054
|
-
originalName: string;
|
|
2055
|
-
serverName: string;
|
|
2056
|
-
inputSchema: Record<string, unknown>;
|
|
2057
|
-
exposureMode: "hidden" | "discovery" | "direct";
|
|
2058
|
-
enabled: boolean;
|
|
2059
|
-
exposed: boolean;
|
|
2060
|
-
description?: string | undefined;
|
|
2061
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2062
|
-
enabledAt?: number | undefined;
|
|
2063
|
-
}[];
|
|
2064
2052
|
servers: {
|
|
2065
2053
|
name: string;
|
|
2066
2054
|
transport: {
|
|
@@ -2088,14 +2076,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2088
2076
|
}[] | undefined;
|
|
2089
2077
|
alwaysLoad?: boolean | undefined;
|
|
2090
2078
|
};
|
|
2091
|
-
exposureMode: "
|
|
2079
|
+
exposureMode: "direct" | "discovery";
|
|
2080
|
+
}[];
|
|
2081
|
+
directTools: {
|
|
2082
|
+
fullName: string;
|
|
2083
|
+
originalName: string;
|
|
2084
|
+
serverName: string;
|
|
2085
|
+
inputSchema: Record<string, unknown>;
|
|
2086
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2087
|
+
enabled: boolean;
|
|
2088
|
+
exposed: boolean;
|
|
2089
|
+
description?: string | undefined;
|
|
2090
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2091
|
+
enabledAt?: number | undefined;
|
|
2092
2092
|
}[];
|
|
2093
2093
|
discoverableTools: {
|
|
2094
2094
|
fullName: string;
|
|
2095
2095
|
originalName: string;
|
|
2096
2096
|
serverName: string;
|
|
2097
2097
|
inputSchema: Record<string, unknown>;
|
|
2098
|
-
exposureMode: "hidden" | "
|
|
2098
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2099
2099
|
enabled: boolean;
|
|
2100
2100
|
exposed: boolean;
|
|
2101
2101
|
description?: string | undefined;
|
|
@@ -2123,18 +2123,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2123
2123
|
env?: Record<string, string> | undefined;
|
|
2124
2124
|
mcpSessionContext?: {
|
|
2125
2125
|
sessionId: string;
|
|
2126
|
-
directTools: {
|
|
2127
|
-
fullName: string;
|
|
2128
|
-
originalName: string;
|
|
2129
|
-
serverName: string;
|
|
2130
|
-
inputSchema: Record<string, unknown>;
|
|
2131
|
-
exposureMode: "hidden" | "discovery" | "direct";
|
|
2132
|
-
enabled: boolean;
|
|
2133
|
-
exposed: boolean;
|
|
2134
|
-
description?: string | undefined;
|
|
2135
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2136
|
-
enabledAt?: number | undefined;
|
|
2137
|
-
}[];
|
|
2138
2126
|
servers: {
|
|
2139
2127
|
name: string;
|
|
2140
2128
|
transport: {
|
|
@@ -2162,14 +2150,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2162
2150
|
}[] | undefined;
|
|
2163
2151
|
alwaysLoad?: boolean | undefined;
|
|
2164
2152
|
};
|
|
2165
|
-
exposureMode: "
|
|
2153
|
+
exposureMode: "direct" | "discovery";
|
|
2154
|
+
}[];
|
|
2155
|
+
directTools: {
|
|
2156
|
+
fullName: string;
|
|
2157
|
+
originalName: string;
|
|
2158
|
+
serverName: string;
|
|
2159
|
+
inputSchema: Record<string, unknown>;
|
|
2160
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2161
|
+
enabled: boolean;
|
|
2162
|
+
exposed: boolean;
|
|
2163
|
+
description?: string | undefined;
|
|
2164
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2165
|
+
enabledAt?: number | undefined;
|
|
2166
2166
|
}[];
|
|
2167
2167
|
discoverableTools: {
|
|
2168
2168
|
fullName: string;
|
|
2169
2169
|
originalName: string;
|
|
2170
2170
|
serverName: string;
|
|
2171
2171
|
inputSchema: Record<string, unknown>;
|
|
2172
|
-
exposureMode: "hidden" | "
|
|
2172
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2173
2173
|
enabled: boolean;
|
|
2174
2174
|
exposed: boolean;
|
|
2175
2175
|
description?: string | undefined;
|
|
@@ -2195,18 +2195,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2195
2195
|
env?: Record<string, string> | undefined;
|
|
2196
2196
|
mcpSessionContext?: {
|
|
2197
2197
|
sessionId: string;
|
|
2198
|
-
directTools: {
|
|
2199
|
-
fullName: string;
|
|
2200
|
-
originalName: string;
|
|
2201
|
-
serverName: string;
|
|
2202
|
-
inputSchema: Record<string, unknown>;
|
|
2203
|
-
exposureMode: "hidden" | "discovery" | "direct";
|
|
2204
|
-
enabled: boolean;
|
|
2205
|
-
exposed: boolean;
|
|
2206
|
-
description?: string | undefined;
|
|
2207
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2208
|
-
enabledAt?: number | undefined;
|
|
2209
|
-
}[];
|
|
2210
2198
|
servers: {
|
|
2211
2199
|
name: string;
|
|
2212
2200
|
transport: {
|
|
@@ -2234,14 +2222,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2234
2222
|
}[] | undefined;
|
|
2235
2223
|
alwaysLoad?: boolean | undefined;
|
|
2236
2224
|
};
|
|
2237
|
-
exposureMode: "
|
|
2225
|
+
exposureMode: "direct" | "discovery";
|
|
2226
|
+
}[];
|
|
2227
|
+
directTools: {
|
|
2228
|
+
fullName: string;
|
|
2229
|
+
originalName: string;
|
|
2230
|
+
serverName: string;
|
|
2231
|
+
inputSchema: Record<string, unknown>;
|
|
2232
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2233
|
+
enabled: boolean;
|
|
2234
|
+
exposed: boolean;
|
|
2235
|
+
description?: string | undefined;
|
|
2236
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2237
|
+
enabledAt?: number | undefined;
|
|
2238
2238
|
}[];
|
|
2239
2239
|
discoverableTools: {
|
|
2240
2240
|
fullName: string;
|
|
2241
2241
|
originalName: string;
|
|
2242
2242
|
serverName: string;
|
|
2243
2243
|
inputSchema: Record<string, unknown>;
|
|
2244
|
-
exposureMode: "hidden" | "
|
|
2244
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2245
2245
|
enabled: boolean;
|
|
2246
2246
|
exposed: boolean;
|
|
2247
2247
|
description?: string | undefined;
|
|
@@ -2269,18 +2269,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2269
2269
|
env?: Record<string, string> | undefined;
|
|
2270
2270
|
mcpSessionContext?: {
|
|
2271
2271
|
sessionId: string;
|
|
2272
|
-
directTools: {
|
|
2273
|
-
fullName: string;
|
|
2274
|
-
originalName: string;
|
|
2275
|
-
serverName: string;
|
|
2276
|
-
inputSchema: Record<string, unknown>;
|
|
2277
|
-
exposureMode: "hidden" | "discovery" | "direct";
|
|
2278
|
-
enabled: boolean;
|
|
2279
|
-
exposed: boolean;
|
|
2280
|
-
description?: string | undefined;
|
|
2281
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2282
|
-
enabledAt?: number | undefined;
|
|
2283
|
-
}[];
|
|
2284
2272
|
servers: {
|
|
2285
2273
|
name: string;
|
|
2286
2274
|
transport: {
|
|
@@ -2308,14 +2296,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2308
2296
|
}[] | undefined;
|
|
2309
2297
|
alwaysLoad?: boolean | undefined;
|
|
2310
2298
|
};
|
|
2311
|
-
exposureMode: "
|
|
2299
|
+
exposureMode: "direct" | "discovery";
|
|
2300
|
+
}[];
|
|
2301
|
+
directTools: {
|
|
2302
|
+
fullName: string;
|
|
2303
|
+
originalName: string;
|
|
2304
|
+
serverName: string;
|
|
2305
|
+
inputSchema: Record<string, unknown>;
|
|
2306
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2307
|
+
enabled: boolean;
|
|
2308
|
+
exposed: boolean;
|
|
2309
|
+
description?: string | undefined;
|
|
2310
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
2311
|
+
enabledAt?: number | undefined;
|
|
2312
2312
|
}[];
|
|
2313
2313
|
discoverableTools: {
|
|
2314
2314
|
fullName: string;
|
|
2315
2315
|
originalName: string;
|
|
2316
2316
|
serverName: string;
|
|
2317
2317
|
inputSchema: Record<string, unknown>;
|
|
2318
|
-
exposureMode: "hidden" | "
|
|
2318
|
+
exposureMode: "hidden" | "direct" | "discovery";
|
|
2319
2319
|
enabled: boolean;
|
|
2320
2320
|
exposed: boolean;
|
|
2321
2321
|
description?: string | undefined;
|
|
@@ -2346,9 +2346,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2346
2346
|
status: _$zod.ZodEnum<{
|
|
2347
2347
|
completed: "completed";
|
|
2348
2348
|
cancelled: "cancelled";
|
|
2349
|
+
failed: "failed";
|
|
2349
2350
|
running: "running";
|
|
2350
2351
|
waiting_input: "waiting_input";
|
|
2351
|
-
failed: "failed";
|
|
2352
2352
|
}>;
|
|
2353
2353
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2354
2354
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2413,8 +2413,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2413
2413
|
member: "member";
|
|
2414
2414
|
}>;
|
|
2415
2415
|
status: _$zod.ZodEnum<{
|
|
2416
|
-
active: "active";
|
|
2417
2416
|
idle: "idle";
|
|
2417
|
+
active: "active";
|
|
2418
2418
|
dead: "dead";
|
|
2419
2419
|
disposed: "disposed";
|
|
2420
2420
|
}>;
|
|
@@ -2450,8 +2450,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2450
2450
|
member: "member";
|
|
2451
2451
|
}>;
|
|
2452
2452
|
status: _$zod.ZodEnum<{
|
|
2453
|
-
active: "active";
|
|
2454
2453
|
idle: "idle";
|
|
2454
|
+
active: "active";
|
|
2455
2455
|
dead: "dead";
|
|
2456
2456
|
disposed: "disposed";
|
|
2457
2457
|
}>;
|
|
@@ -2476,8 +2476,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2476
2476
|
adapterName: _$zod.ZodString;
|
|
2477
2477
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2478
2478
|
all: "all";
|
|
2479
|
-
active: "active";
|
|
2480
2479
|
idle: "idle";
|
|
2480
|
+
active: "active";
|
|
2481
2481
|
dead: "dead";
|
|
2482
2482
|
disposed: "disposed";
|
|
2483
2483
|
}>>;
|
|
@@ -2507,8 +2507,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2507
2507
|
member: "member";
|
|
2508
2508
|
}>;
|
|
2509
2509
|
status: _$zod.ZodEnum<{
|
|
2510
|
-
active: "active";
|
|
2511
2510
|
idle: "idle";
|
|
2511
|
+
active: "active";
|
|
2512
2512
|
dead: "dead";
|
|
2513
2513
|
disposed: "disposed";
|
|
2514
2514
|
}>;
|
|
@@ -2546,8 +2546,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2546
2546
|
member: "member";
|
|
2547
2547
|
}>;
|
|
2548
2548
|
status: _$zod.ZodEnum<{
|
|
2549
|
-
active: "active";
|
|
2550
2549
|
idle: "idle";
|
|
2550
|
+
active: "active";
|
|
2551
2551
|
dead: "dead";
|
|
2552
2552
|
disposed: "disposed";
|
|
2553
2553
|
}>;
|
|
@@ -2560,8 +2560,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2560
2560
|
request: _$zod.ZodObject<{
|
|
2561
2561
|
agentId: _$zod.ZodString;
|
|
2562
2562
|
status: _$zod.ZodEnum<{
|
|
2563
|
-
active: "active";
|
|
2564
2563
|
idle: "idle";
|
|
2564
|
+
active: "active";
|
|
2565
2565
|
dead: "dead";
|
|
2566
2566
|
disposed: "disposed";
|
|
2567
2567
|
}>;
|
|
@@ -2888,7 +2888,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2888
2888
|
tableName: "agents";
|
|
2889
2889
|
dataType: "string";
|
|
2890
2890
|
columnType: "SQLiteText";
|
|
2891
|
-
data: "
|
|
2891
|
+
data: "idle" | "active" | "dead" | "disposed";
|
|
2892
2892
|
driverParam: string;
|
|
2893
2893
|
notNull: true;
|
|
2894
2894
|
hasDefault: false;
|
|
@@ -3213,9 +3213,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3213
3213
|
changed: _$zod.ZodObject<{
|
|
3214
3214
|
ruleId: _$zod.ZodString;
|
|
3215
3215
|
changeType: _$zod.ZodEnum<{
|
|
3216
|
-
deleted: "deleted";
|
|
3217
3216
|
created: "created";
|
|
3218
3217
|
updated: "updated";
|
|
3218
|
+
deleted: "deleted";
|
|
3219
3219
|
}>;
|
|
3220
3220
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
3221
3221
|
scope: _$zod.ZodEnum<{
|
|
@@ -3417,9 +3417,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3417
3417
|
}, _$zod_v4_core0.$strip>;
|
|
3418
3418
|
response: _$zod.ZodObject<{
|
|
3419
3419
|
state: _$zod.ZodEnum<{
|
|
3420
|
+
created: "created";
|
|
3420
3421
|
running: "running";
|
|
3421
3422
|
stopped: "stopped";
|
|
3422
|
-
created: "created";
|
|
3423
3423
|
destroyed: "destroyed";
|
|
3424
3424
|
}>;
|
|
3425
3425
|
sessionId: _$zod.ZodString;
|
|
@@ -3503,8 +3503,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3503
3503
|
id: _$zod.ZodString;
|
|
3504
3504
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3505
3505
|
name: _$zod.ZodString;
|
|
3506
|
-
enabled: _$zod.ZodBoolean;
|
|
3507
3506
|
scope: _$zod.ZodString;
|
|
3507
|
+
enabled: _$zod.ZodBoolean;
|
|
3508
3508
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
3509
3509
|
type: _$zod.ZodLiteral<"container-local">;
|
|
3510
3510
|
id: _$zod.ZodString;
|
|
@@ -3512,9 +3512,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3512
3512
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3513
3513
|
name: _$zod.ZodString;
|
|
3514
3514
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3515
|
-
enabled: _$zod.ZodBoolean;
|
|
3516
3515
|
scope: _$zod.ZodString;
|
|
3517
3516
|
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3517
|
+
enabled: _$zod.ZodBoolean;
|
|
3518
3518
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
3519
3519
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
3520
3520
|
id: _$zod.ZodString;
|
|
@@ -3522,8 +3522,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3522
3522
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3523
3523
|
name: _$zod.ZodString;
|
|
3524
3524
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3525
|
-
enabled: _$zod.ZodBoolean;
|
|
3526
3525
|
scope: _$zod.ZodString;
|
|
3526
|
+
enabled: _$zod.ZodBoolean;
|
|
3527
3527
|
busMode: _$zod.ZodEnum<{
|
|
3528
3528
|
relay: "relay";
|
|
3529
3529
|
host: "host";
|
|
@@ -3765,8 +3765,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3765
3765
|
id: _$zod.ZodString;
|
|
3766
3766
|
config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
3767
3767
|
extensionName: _$zod.ZodString;
|
|
3768
|
-
enabled: _$zod.ZodBoolean;
|
|
3769
3768
|
scope: _$zod.ZodString;
|
|
3769
|
+
enabled: _$zod.ZodBoolean;
|
|
3770
3770
|
}, _$zod_v4_core0.$strip>;
|
|
3771
3771
|
}, _$zod_v4_core0.$strip>;
|
|
3772
3772
|
response: _$zod.ZodObject<{
|
|
@@ -3813,8 +3813,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3813
3813
|
changed: _$zod.ZodObject<{
|
|
3814
3814
|
path: _$zod.ZodString;
|
|
3815
3815
|
kind: _$zod.ZodEnum<{
|
|
3816
|
-
delete: "delete";
|
|
3817
3816
|
create: "create";
|
|
3817
|
+
delete: "delete";
|
|
3818
3818
|
change: "change";
|
|
3819
3819
|
}>;
|
|
3820
3820
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -3822,8 +3822,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3822
3822
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3823
3823
|
path: _$zod.ZodString;
|
|
3824
3824
|
kind: _$zod.ZodEnum<{
|
|
3825
|
-
delete: "delete";
|
|
3826
3825
|
create: "create";
|
|
3826
|
+
delete: "delete";
|
|
3827
3827
|
change: "change";
|
|
3828
3828
|
}>;
|
|
3829
3829
|
}, _$zod_v4_core0.$strip>>;
|
|
@@ -4014,9 +4014,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4014
4014
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4015
4015
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4016
4016
|
name: _$zod.ZodString;
|
|
4017
|
-
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4018
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4019
4017
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4018
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4019
|
+
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4020
4020
|
toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
4021
4021
|
"file.read": "file.read";
|
|
4022
4022
|
"file.write": "file.write";
|
|
@@ -6162,9 +6162,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6162
6162
|
status: _$zod.ZodEnum<{
|
|
6163
6163
|
completed: "completed";
|
|
6164
6164
|
cancelled: "cancelled";
|
|
6165
|
+
failed: "failed";
|
|
6165
6166
|
running: "running";
|
|
6166
6167
|
waiting_input: "waiting_input";
|
|
6167
|
-
failed: "failed";
|
|
6168
6168
|
}>;
|
|
6169
6169
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6170
6170
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6239,18 +6239,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6239
6239
|
create: {
|
|
6240
6240
|
request: _$zod.ZodObject<{
|
|
6241
6241
|
name: _$zod.ZodString;
|
|
6242
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6243
6242
|
adapterName: _$zod.ZodString;
|
|
6243
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6244
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6244
6245
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6245
6246
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
6246
6247
|
fork: "fork";
|
|
6247
6248
|
fresh: "fresh";
|
|
6248
6249
|
}>>;
|
|
6249
|
-
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6250
|
-
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6251
6250
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6252
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6253
6251
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6252
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6253
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6254
6254
|
}, _$zod_v4_core0.$strip>;
|
|
6255
6255
|
response: _$zod.ZodObject<{
|
|
6256
6256
|
id: _$zod.ZodString;
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{TurnStorageNamespace as e,TurnStorageSubjects as t}from"./turn/namespace.mjs";import{agents as n,sessions as r}from"./session/storage/schema.mjs";import{n as i,t as a}from"../schema-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-uAgIrqan.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 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,9 +1,9 @@
|
|
|
1
|
-
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-
|
|
1
|
+
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-Ch8A757m.mjs";
|
|
2
2
|
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../../index-gAFwNiJT.mjs";
|
|
3
3
|
import { r as buildProviderContext } from "../../index-DtwGhFFQ.mjs";
|
|
4
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-
|
|
5
|
-
import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-
|
|
6
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-
|
|
4
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-Da5Ip_ru.mjs";
|
|
5
|
+
import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-TNNx-dYQ.mjs";
|
|
6
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-BeMGmLrp.mjs";
|
|
7
7
|
import { t as TurnStorageNamespace } from "../../namespace-LUNf8zo5.mjs";
|
|
8
8
|
import { n as TurnStorageSubjects } from "../../namespace-BsYKEMd8.mjs";
|
|
9
9
|
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-CTsfVI3H.mjs";
|