@makaio/framework 1.0.0-dev-1790175294701 → 1.0.0-dev-1790348008233
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/artifact-eleyznpA.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-DgpPEPoM.mjs +9 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +70 -70
- 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/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-DTb65rRN.d.mts → contribution-kpR61mnG.d.mts} +1 -1
- package/dist/{extension-context-DH84KOm9.d.mts → extension-context-CmhBCbbq.d.mts} +3 -3
- package/dist/{hook-responses-OETFKaAL.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
- package/dist/{index-9O8N514B2.d.mts → index-6UlianLY2.d.mts} +4 -4
- package/dist/{index-CVRQS5jk.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-BRXETFym.d.mts → index-BMGkU3IM.d.mts} +1 -1
- package/dist/{index-Csua5M_M2.d.mts → index-Bmb7jPIe2.d.mts} +8 -8
- package/dist/{index-2YW8DTb62.d.mts → index-C9Dz8UoK2.d.mts} +6 -6
- package/dist/{index-DIEnLLhi2.d.mts → index-CCTrhWEB2.d.mts} +5 -5
- package/dist/{index-DxtUM-qd.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-Mk478DlF.d.mts → index-CRk46fit.d.mts} +9 -9
- package/dist/{index-Bgz81LHZ.d.mts → index-Cuz4nfUz.d.mts} +1 -1
- package/dist/{index-BMr77str2.d.mts → index-CydQ1dLS2.d.mts} +12 -12
- package/dist/{index-BgkQiruC.d.mts → index-D5BLD2Pw.d.mts} +7 -7
- package/dist/{index-B1iXL1pW.d.mts → index-D5Lw1UsO.d.mts} +8 -8
- package/dist/{index-BusmMFMN.d.mts → index-D5ihXDAA.d.mts} +48 -11
- package/dist/{index-Cu8k2ZGe.d.mts → index-DMBxHEQ_.d.mts} +30 -30
- package/dist/{index-DWKSiTxX.d.mts → index-DYnahvOm.d.mts} +20 -20
- package/dist/{index-7pt_bh4z.d.mts → index-DifOjlJ5.d.mts} +37 -37
- package/dist/{index-BVN64wQx.d.mts → index-HN4m0hiI.d.mts} +28 -28
- package/dist/{index-D8V1DhrY.d.mts → index-wiATEDG_.d.mts} +377 -279
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{materialization-iFhpbs1s.mjs → materialization-CIrHHspa.mjs} +4 -1
- package/dist/{namespace-B9iQN3FQ.d.mts → namespace-C5tKjqgb.d.mts} +4 -4
- package/dist/{namespace-h7gq_v5U.d.mts → namespace-CHSwZhH7.d.mts} +2 -2
- package/dist/{namespace-DAzOxaux.d.mts → namespace-D6W4Erwp.d.mts} +2 -2
- package/dist/package.json +1 -1
- package/dist/{schemas-BTJvvq9Y.d.mts → schemas-BXkSHQaF.d.mts} +2 -2
- package/dist/{schemas-Dec5VtBU.d.mts → schemas-CYjPZwlQ.d.mts} +4 -4
- package/dist/{schemas-CBDNnyz4.d.mts → schemas-Cb9OJ9va.d.mts} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/execution-target/index.d.mts +2 -2
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.d.mts +4 -4
- package/dist/services/git/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +27 -23
- package/dist/services/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +3 -3
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{session-lineage-BQ9NWlt6.d.mts → session-lineage-CmP7L5g2.d.mts} +1 -1
- package/dist/{transition-CSN6QoMp.d.mts → transition-B0qsutdE.d.mts} +1 -1
- package/dist/{types-DTpwvvY9.d.mts → types-DfbdwLQ6.d.mts} +3 -3
- package/dist/{view-builder-cjQZJmTY.d.mts → view-builder-Zw-TCgSp.d.mts} +10 -10
- package/dist/{worker-B72n8bse.mjs → worker-DyyO9DCO.mjs} +1 -1
- package/dist/{workflow-D-X3rPsl.mjs → workflow-B0ZGun4r.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +24 -24
- package/package.json +1 -1
- package/dist/artifact-CKz9YQPu.mjs +0 -1
- package/dist/bus-30AlabEz.mjs +0 -9
- package/dist/{schemas-CU2NE5Lg.d.mts → schemas-rliUGyrt.d.mts} +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-
|
|
3
|
-
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-Cb9OJ9va.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-D6W4Erwp.mjs";
|
|
3
|
+
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-BM53WQaQ.mjs";
|
|
4
4
|
import { p as BindingRecord } from "../schemas-Dyp3rHZ7.mjs";
|
|
5
5
|
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-BOT1HUv6.mjs";
|
|
6
6
|
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-HLrZerLd.mjs";
|
|
@@ -12,18 +12,18 @@ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseCha
|
|
|
12
12
|
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-C0Fb2-LN.mjs";
|
|
13
13
|
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-QV_2m25r.mjs";
|
|
14
14
|
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-B_mVEuYd.mjs";
|
|
15
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-
|
|
16
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
15
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-BXkSHQaF.mjs";
|
|
16
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-CHSwZhH7.mjs";
|
|
17
17
|
import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-BOxMyaqG.mjs";
|
|
18
|
-
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-
|
|
19
|
-
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-
|
|
18
|
+
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-D5BLD2Pw.mjs";
|
|
19
|
+
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-CLwnkYRD.mjs";
|
|
20
20
|
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-oE2q0pTG.mjs";
|
|
21
21
|
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-6O0G1s65.mjs";
|
|
22
22
|
import { g as sessions, u as agents } from "../schema-De6d0FWI.mjs";
|
|
23
23
|
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-Bz0ZDWhE.mjs";
|
|
24
24
|
import { t as TurnStorageNamespace } from "../namespace-Sd6qj6w22.mjs";
|
|
25
25
|
import { n as TurnStorageSubjects } from "../namespace-DbtfwD5Z.mjs";
|
|
26
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
26
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-C5tKjqgb.mjs";
|
|
27
27
|
import { v as ArtifactSchemaRegistry } from "../packages-KX9yofCa.mjs";
|
|
28
28
|
import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-BjrbddkU.mjs";
|
|
29
29
|
import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-BCuWtlv5.mjs";
|
|
@@ -35,7 +35,7 @@ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModel
|
|
|
35
35
|
import { a as InternalPendingRequest, c as SubagentServiceToken, d as SubagentFailureFinalizationError, f as SubagentFailureFinalizationErrorCode, i as InputResolver, l as createSubagentServicePackage, n as TrackOptions, o as SpawnOptions, p as SubagentService, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as subagentServicePackage } from "../index-DAqAa9aL.mjs";
|
|
36
36
|
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DPtj1sPC2.mjs";
|
|
37
37
|
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-CwwiV3kt.mjs";
|
|
38
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-
|
|
38
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-CYjPZwlQ.mjs";
|
|
39
39
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-KomML5ti.mjs";
|
|
40
40
|
import * as _$zod from "zod";
|
|
41
41
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -297,7 +297,11 @@ interface ResolveArtifactContextOptions {
|
|
|
297
297
|
readonly maxDepth?: number;
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
|
-
* Resolve a selector-driven
|
|
300
|
+
* Resolve a selector-driven artifact context graph.
|
|
301
|
+
*
|
|
302
|
+
* Selectors follow stored relations outbound by default. A selector with
|
|
303
|
+
* `direction: 'inbound'` instead selects the current revisions of artifacts
|
|
304
|
+
* whose relations of that type point at the walked artifact's identity.
|
|
301
305
|
* @param options - Bus, root ref, and explicit relation selectors.
|
|
302
306
|
* @returns Normalized wire context with all encountered refs visible.
|
|
303
307
|
*/
|
|
@@ -1090,8 +1094,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1090
1094
|
teardownCompleted: _$zod.ZodObject<{
|
|
1091
1095
|
evidence: _$zod.ZodEnum<{
|
|
1092
1096
|
unknown: "unknown";
|
|
1093
|
-
exited: "exited";
|
|
1094
1097
|
closed: "closed";
|
|
1098
|
+
exited: "exited";
|
|
1095
1099
|
released: "released";
|
|
1096
1100
|
detached: "detached";
|
|
1097
1101
|
}>;
|
|
@@ -4529,8 +4533,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4529
4533
|
changed: _$zod.ZodObject<{
|
|
4530
4534
|
ruleId: _$zod.ZodString;
|
|
4531
4535
|
changeType: _$zod.ZodEnum<{
|
|
4532
|
-
created: "created";
|
|
4533
4536
|
updated: "updated";
|
|
4537
|
+
created: "created";
|
|
4534
4538
|
deleted: "deleted";
|
|
4535
4539
|
}>;
|
|
4536
4540
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
@@ -4883,8 +4887,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4883
4887
|
name: _$zod.ZodString;
|
|
4884
4888
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4885
4889
|
enabled: _$zod.ZodBoolean;
|
|
4886
|
-
scope: _$zod.ZodString;
|
|
4887
4890
|
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4891
|
+
scope: _$zod.ZodString;
|
|
4888
4892
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4889
4893
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
4890
4894
|
id: _$zod.ZodString;
|
|
@@ -5110,8 +5114,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5110
5114
|
id: _$zod.ZodString;
|
|
5111
5115
|
config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
5112
5116
|
enabled: _$zod.ZodBoolean;
|
|
5113
|
-
scope: _$zod.ZodString;
|
|
5114
5117
|
extensionName: _$zod.ZodString;
|
|
5118
|
+
scope: _$zod.ZodString;
|
|
5115
5119
|
}, _$zod_v4_core0.$strip>;
|
|
5116
5120
|
}, _$zod_v4_core0.$strip>;
|
|
5117
5121
|
response: _$zod.ZodObject<{
|
|
@@ -5158,18 +5162,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5158
5162
|
changed: _$zod.ZodObject<{
|
|
5159
5163
|
path: _$zod.ZodString;
|
|
5160
5164
|
kind: _$zod.ZodEnum<{
|
|
5161
|
-
create: "create";
|
|
5162
|
-
delete: "delete";
|
|
5163
5165
|
change: "change";
|
|
5166
|
+
delete: "delete";
|
|
5167
|
+
create: "create";
|
|
5164
5168
|
}>;
|
|
5165
5169
|
}, _$zod_v4_core0.$strip>;
|
|
5166
5170
|
batch: _$zod.ZodObject<{
|
|
5167
5171
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5168
5172
|
path: _$zod.ZodString;
|
|
5169
5173
|
kind: _$zod.ZodEnum<{
|
|
5170
|
-
create: "create";
|
|
5171
|
-
delete: "delete";
|
|
5172
5174
|
change: "change";
|
|
5175
|
+
delete: "delete";
|
|
5176
|
+
create: "create";
|
|
5173
5177
|
}>;
|
|
5174
5178
|
}, _$zod_v4_core0.$strip>>;
|
|
5175
5179
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5994,8 +5998,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5994
5998
|
agentId: _$zod.ZodString;
|
|
5995
5999
|
status: _$zod.ZodEnum<{
|
|
5996
6000
|
completed: "completed";
|
|
5997
|
-
acknowledged: "acknowledged";
|
|
5998
6001
|
sent: "sent";
|
|
6002
|
+
acknowledged: "acknowledged";
|
|
5999
6003
|
}>;
|
|
6000
6004
|
timestamp: _$zod.ZodNumber;
|
|
6001
6005
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6014,8 +6018,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6014
6018
|
agentId: _$zod.ZodString;
|
|
6015
6019
|
status: _$zod.ZodEnum<{
|
|
6016
6020
|
completed: "completed";
|
|
6017
|
-
acknowledged: "acknowledged";
|
|
6018
6021
|
sent: "sent";
|
|
6022
|
+
acknowledged: "acknowledged";
|
|
6019
6023
|
}>;
|
|
6020
6024
|
timestamp: _$zod.ZodNumber;
|
|
6021
6025
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6089,7 +6093,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6089
6093
|
tableName: "message_routing";
|
|
6090
6094
|
dataType: "string";
|
|
6091
6095
|
columnType: "SQLiteText";
|
|
6092
|
-
data: "completed" | "
|
|
6096
|
+
data: "completed" | "sent" | "acknowledged";
|
|
6093
6097
|
driverParam: string;
|
|
6094
6098
|
notNull: true;
|
|
6095
6099
|
hasDefault: false;
|
|
@@ -7750,10 +7754,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7750
7754
|
request: _$zod.ZodObject<{
|
|
7751
7755
|
name: _$zod.ZodString;
|
|
7752
7756
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
7753
|
-
|
|
7757
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7754
7758
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7755
7759
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7756
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7757
7760
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7758
7761
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7759
7762
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -7761,6 +7764,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7761
7764
|
fork: "fork";
|
|
7762
7765
|
fresh: "fresh";
|
|
7763
7766
|
}>>;
|
|
7767
|
+
adapterName: _$zod.ZodString;
|
|
7764
7768
|
}, _$zod_v4_core0.$strip>;
|
|
7765
7769
|
response: _$zod.ZodObject<{
|
|
7766
7770
|
id: _$zod.ZodString;
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-BnuyCklU.mjs";import{t as r}from"../schema-Cz6-4_Dn.mjs";import{n as i,r as a,t as o}from"../namespace-CMntzAPI.mjs";import{$ as s,A as c,B as l,D as u,G as d,H as f,K as p,L as m,M as ee,O as te,R as ne,Tt as re,U as ie,V as ae,W as oe,Z as se,a as ce,b as le,c as ue,d as de,f as fe,i as pe,j as me,k as he,l as ge,n as _e,nt as ve,o as ye,r as be,s as xe,t as Se,tt as Ce,wt as we,x as Te,z as Ee}from"../handlers-mjky_fP2.mjs";import{TurnStorageNamespace as De,TurnStorageSubjects as Oe}from"./turn/namespace.mjs";import{a as ke,i as h}from"../ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageNamespace as g,SessionStorageSubjects as _}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as v,ResolveIdRequestSchema as y,ResolveIdResponseSchema as b,ResolveLiveIdentityRequestSchema as x,ResolveLiveIdentityResponseSchema as S,ResolveNameRequestSchema as C,ResolveNameResponseSchema as w}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as T,AdapterRuntimeSubjects as Ae}from"./adapter-runtime/namespace.mjs";import{$ as je,A as Me,B as Ne,C as Pe,E as Fe,F as Ie,G as Le,H as Re,I as ze,J as Be,K as Ve,L as He,M as Ue,N as We,P as Ge,R as Ke,S as qe,T as Je,U as Ye,V as Xe,X as Ze,Y as E,Z as Qe,a as $e,b as et,c as tt,et as nt,i as rt,j as it,k as at,l as ot,nt as st,o as ct,r as lt,rt as ut,s as dt,t as ft,tt as pt,w as mt,x as ht,z as gt}from"../session-D38UuGGX.mjs";import{n as _t}from"../namespace-J87EeVTm.mjs";import{ProviderStorageNamespace as vt}from"./settings/storage/providers-namespace.mjs";import{A as yt,E as bt,M as xt,N as St,O as Ct,S as wt,T as Tt,_ as Et,a as Dt,b as Ot,c as kt,i as At,j as jt,k as Mt,l as Nt,n as Pt,o as Ft,r as It,s as Lt,t as Rt,v as zt,w as Bt,x as Vt,y as Ht}from"../schemas-Djjq4LLs.mjs";import{ExecutionTargetNamespace as D,ExecutionTargetSubjects as Ut}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Wt,MessageStorageSubjects as Gt}from"./session/messages/namespace.mjs";import{a as Kt,o as qt,r as Jt,t as Yt}from"../provider-context-D6GIZ5DC.mjs";import{TurnStorageNamespace as Xt}from"./session/turns/namespace.mjs";import{i as Zt,n as Qt,r as $t,t as en}from"../identity-DgTjgflr.mjs";import{BugEntrySchema as tn,CompressRequestSchema as nn,CompressResponseSchema as rn,CompressionEventSchema as an,CompressionSchemas as on,ExtractedContextSchema as sn,TechnicalDetailsSchema as cn,TodoEntrySchema as ln}from"./compression/schemas.mjs";import{PreferenceItemSchema as un,PreferenceKeySchema as dn,PreferenceValueSchema as fn,PreferencesSchemas as pn}from"./preferences/schemas.mjs";import{PreferencesNamespace as O,PreferencesSubjects as mn}from"./preferences/storage-namespace.mjs";import{t as hn}from"../namespace-Bo6-o_rW.mjs";import{l as gn,n as _n,p as vn,r as yn,t as bn}from"../ownership-memory-handler-C-y9zQf8.mjs";import{_ as xn,g as k,v as Sn}from"../packages-vF9F4M41.mjs";import{A as Cn,B as wn,C as Tn,D as En,E as Dn,F as On,I as kn,L as An,M as A,N as jn,O as Mn,P as Nn,R as j,S as Pn,T as Fn,V as In,_ as Ln,a as Rn,b as zn,c as Bn,d as Vn,f as M,g as Hn,h as Un,i as Wn,j as Gn,k as Kn,l as qn,m as Jn,n as N,o as Yn,p as Xn,r as Zn,s as Qn,t as P,u as $n,v as er,w as tr,x as nr,y as rr,z as ir}from"../framework-packages-mquh5_Yw.mjs";import{n as ar,r as or,t as sr}from"../package-BCKYMTYG.mjs";import{a as cr,c as lr,i as ur,l as dr,n as fr,o as F,r as pr,s as mr,t as hr,u as gr}from"../model-registry-CeDu27XL.mjs";import{t as _r}from"../tool-approval-service-vG2mEC9p.mjs";import{TrayMenuEntrySchema as vr,TrayMenuGroupEntrySchema as yr,TrayMenuGroupSchema as br,TrayMenuItemClickedSchema as xr,TrayMenuListEntrySchema as Sr,TrayMenuMetadataSchema as Cr,TrayMenuSchemas as wr,TrayMenuSectionSchema as Tr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as I,TrayMenuSubjects as Er}from"./tray-menu/namespace.mjs";import{t as Dr}from"../tray-menu-service-BRrnoqaY.mjs";import{n as Or}from"../handler-Cc1MhaR4.mjs";import{a as kr,i as Ar,n as jr,o as Mr,r as Nr,t as Pr}from"../package-BSz4hbav.mjs";import{FsNamespace as Fr}from"./filesystem/namespace.mjs";import{r as Ir}from"../tools-K3DWA4Jr.mjs";import{t as Lr}from"../workflow-transitions-C2BLDE5N.mjs";import"./capability/index.mjs";import{a as Rr,i as zr,n as Br,r as Vr,t as Hr}from"../code-execution-BspFbEdT.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Ur,AgentRuntimeSchemas as Wr,AgentRuntimeSelectionSchema as Gr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as L,AgentRuntimeSubjects as Kr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as qr,CodebaseSchemas as Jr}from"./codebase/schemas.mjs";import{CodebaseNamespace as R,CodebaseSubjects as Yr}from"./codebase/namespace.mjs";import{CompressionNamespace as z,CompressionSubjects as Xr}from"./compression/namespace.mjs";import{r as Zr,t as Qr}from"../storage-namespace-TBX8VgK3.mjs";import{DefinitionNamespace as $r}from"./definition/namespace.mjs";import{DialogNamespace as ei}from"./dialog/namespace.mjs";import{a as ti,i as B,n as ni,t as ri}from"../execution-target-CDeIBu4b.mjs";import{CLIDetectionNamespace as ii}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as ai}from"./local-notification/namespace.mjs";import{t as oi}from"../namespace-C9xmGXbW.mjs";import{ExtensionConfigStorageNamespace as si}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as ci}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as li,SubagentTemplateCreateSchema as ui,SubagentTemplateInstanceSchema as di,SubagentTemplateInstanceStatusSchema as fi,SubagentTemplateKernelSchemas as pi,SubagentTemplateSchema as mi,SubagentTemplateSettingsSchemas as hi,SubagentTemplateSpawnRequestSchema as gi,SubagentTemplateSpawnedEventSchema as _i,SubagentTemplateSummarySchema as vi,SubagentTemplateUpdateSchema as yi}from"./subagent-template/schemas.mjs";import{r as bi,t as xi}from"../namespace-CqJhR19O.mjs";import{SubagentTemplateKernelNamespace as V,SubagentTemplateSubjects as Si}from"./subagent-template/namespace.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as Ci}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as wi}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as Ti}from"@makaio/framework/contracts/model-registry";function Ei(e){return{source:`extension`,ownerKey:`extension:${e}`}}function Di(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)}Di(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(k);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=Ei(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 ki(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Ai(){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(P);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(ki(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 ji(e){let t=e.maxDepth??5,n={bus:e.bus,maxDepth:t,resolvedByKey:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await U(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 H(n,r,e.selectors,0,new Set([Q(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function H(e,t,n,r,i){let a=Hi(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=zi(t);for(let a of t.relations)await Mi(e,o,a,n,r,i)}async function Mi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Pi(o,n.target)){G(e,W(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){G(e,W(t,n,s,`unsupported-ref-class`));return}let c=Q(n.target),l=a.has(c);if(i>=e.maxDepth&&!l){G(e,W(t,n,s,`depth-exceeded`));return}let u=e.resolvedByKey.has(c),d=await U(e,n.target);if(!d){G(e,W(t,n,s,`not-found`));return}if(G(e,{sourceRef:t,target:n.target,relationType:n.type,sourceLocalId:n.sourceLocalId,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=Ni(f>0?{[n.type]:{...o,depth:f}}:void 0,o.nested),m=new Set(a);m.add(c),await H(e,d,p,i+1,m)}async function U(e,t){let n=Q(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}function Ni(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 Pi(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Fi(t);return n!==void 0&&e.kinds.includes(n)}function Fi(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function W(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,sourceLocalId:t.sourceLocalId,hint:n,status:`unresolved`,reason:r}}function G(e,t,n){let r=Bi(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),Y(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!Ii(a,Ri(e,r)))return;J(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&Z(n)||t.status===`unresolved`&&!K(t.reason,a.reason))return;J(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){K(t.reason,a.reason)&&J(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){J(e,i,r,t,n);return}t.status===`resolved`&&!Z(n)&&X(e,r,n)}}function Ii(e,t){return e.status===`resolved`?t:K(`depth-exceeded`,e.reason)}function K(e,t){return q(e)>q(t)}function q(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function J(e,t,n,r,i){Y(e,n,r,i),e.refs[t]=r}function Y(e,t,n,r){if(n.status===`resolved`){X(e,t,r);return}Li(e,t)}function X(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Li(e,t){e.refMetadataByKey.delete(t)}function Ri(e,t){return Z(e.refMetadataByKey.get(t))}function Z(e){return e?.resolvedViaBackEdge===!0}function zi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Q(e){return JSON.stringify([e.kind,e.id,e.revision])}function Bi(e){return JSON.stringify([Q(e.sourceRef),e.sourceLocalId??null,e.relationType,Vi(e.target)])}function Vi(e){return e.refClass===`entity`?JSON.stringify([`entity`,e.entityType,e.id]):e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,Q(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}function Hi(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Ui(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}$(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(N);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function Wi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(M);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 Gi(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(A);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===A.name||!!e.reactions,async processActivated(n,i,a){if(n===A.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===A.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const Ki=[T,_t,L,h,ii,ci,R,z,Zr,Qr,$r,ei,B,D,si,Fr,Or,wi,ai,E,F,Ti,O,oi,vt,hn,xi,I,De,V,bi];export{en as AdapterIdentityRegistry,pt as AdapterRegistry,T as AdapterRuntimeNamespace,v as AdapterRuntimeSchemas,Ae as AdapterRuntimeSubjects,Ur as AgentInstanceStatusSchema,L as AgentRuntimeNamespace,Wr as AgentRuntimeSchemas,Gr as AgentRuntimeSelectionSchema,Kr as AgentRuntimeSubjects,h as AgentStorageNamespace,ke as AgentStorageSubjects,wn as ArtifactLifecycleHookRegistry,P as ArtifactLifecycleHookRegistryToken,In as ArtifactLifecycleHookRejectedError,Sn as ArtifactSchemaRegistry,k as ArtifactSchemaRegistryToken,tn as BugEntrySchema,Ke as CONNECTOR_SWAP_DEFAULT_PIPELINE,hr as CachedRegistryFetcher,j as CanonicalModelResolutionError,An as CanonicalModelResolver,kn as CanonicalModelService,or as CapabilityService,sr as CapabilityToken,Vr as CodeExecutionService,Hr as CodeExecutionServiceToken,qr as CodebaseChangedEventSchema,R as CodebaseNamespace,Jr as CodebaseSchemas,Yr as CodebaseSubjects,nn as CompressRequestSchema,rn as CompressResponseSchema,an as CompressionEventSchema,z as CompressionNamespace,on as CompressionSchemas,Xr as CompressionSubjects,Et as ContainerCreatedSchema,zt as ContainerDestroyedSchema,Rt as ContainerIsolatedExecutionTargetSchema,Ht as ContainerIsolatedSpawnRequestSchema,Pt as ContainerLocalExecutionTargetSchema,Ot as ContainerLocalSpawnRequestSchema,Vt as ContainerLocalWorkflowSpawnRequestSchema,wt as ContainerRuntimeSchema,ri as ContainerSpawnNamespace,ni as ContainerSpawnSubjects,Bt as ContainerStartedSchema,Tt as ContainerStateSchema,bt as ContainerStoppedSchema,ft as ContextWindowTracker,B as DockerNamespace,ti as DockerSubjects,dt as EmbeddingIndexManager,It as ExecutionTargetInputSchema,At as ExecutionTargetListQuerySchema,D as ExecutionTargetNamespace,Dt as ExecutionTargetResolveRequestSchema,Ft as ExecutionTargetSchema,Lt as ExecutionTargetSchemas,Ut as ExecutionTargetSubjects,kt as ExecutionTargetTypeSchema,sn as ExtractedContextSchema,ir as FacetNamespaceRegistry,N as FacetNamespaceRegistryToken,fr as FallbackRegistryFetcher,Ki as FrameworkServicesCoreNamespaces,Nt as LocalExecutionTargetSchema,ct as MakaioSession,st as MakaioSessionService,E as MessageRoutingNamespace,Ze as MessageRoutingSubjects,Wt as MessageStorageNamespace,Gt as MessageStorageSubjects,F as ModelRegistryNamespace,pr as ModelRegistryProviderNotFoundError,lr as ModelRegistrySchema,dr as ModelRegistrySchemas,ur as ModelRegistryService,mr as ModelRegistrySubjects,Zn as ModelRegistryToken,un as PreferenceItemSchema,dn as PreferenceKeySchema,fn as PreferenceValueSchema,O as PreferencesNamespace,pn as PreferencesSchemas,mn as PreferencesSubjects,Yt as ProviderContextActivationError,gr as ProviderModelOverrideSchema,Nn as ReactionRegistry,A as ReactionRegistryToken,y as ResolveIdRequestSchema,b as ResolveIdResponseSchema,x as ResolveLiveIdentityRequestSchema,S as ResolveLiveIdentityResponseSchema,C as ResolveNameRequestSchema,w as ResolveNameResponseSchema,Kt as RuntimeProviderContextResolutionError,ze as SessionBridge,Wn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,Ge as SessionExtensionContextImpl,Ye as SessionOrchestrator,Rn as SessionOrchestratorToken,se as SessionStartError,g as SessionStorageNamespace,_ as SessionStorageSubjects,Yn as SessionStorageToken,Qn as SessionToken,Le as SessionTurnManager,Ct as SpawnRequestSchema,Mt as SpawnResponseSchema,yt as StatusRequestSchema,jt as StatusResponseSchema,xt as StopRequestSchema,St as StopResponseSchema,Ar as SubagentFailureFinalizationError,Mr as SubagentManager,kr as SubagentService,Pr as SubagentServiceToken,li as SubagentTemplateCompletedEventSchema,ui as SubagentTemplateCreateSchema,di as SubagentTemplateInstanceSchema,fi as SubagentTemplateInstanceStatusSchema,V as SubagentTemplateKernelNamespace,pi as SubagentTemplateKernelSchemas,mi as SubagentTemplateSchema,hi as SubagentTemplateSettingsSchemas,gi as SubagentTemplateSpawnRequestSchema,_i as SubagentTemplateSpawnedEventSchema,Si as SubagentTemplateSubjects,vi as SubagentTemplateSummarySchema,yi as SubagentTemplateUpdateSchema,cn as TechnicalDetailsSchema,ln as TodoEntrySchema,_r as ToolApprovalService,Bn as ToolApprovalToken,Gn as ToolRegistry,qn as ToolRegistryToken,Mn as TransitionActionRegistry,Dn as TransitionPipelineService,$n as TransitionPipelineToken,En as TransitionRuleRegistry,vr as TrayMenuEntrySchema,yr as TrayMenuGroupEntrySchema,br as TrayMenuGroupSchema,xr as TrayMenuItemClickedSchema,Sr as TrayMenuListEntrySchema,Cr as TrayMenuMetadataSchema,I as TrayMenuNamespace,wr as TrayMenuSchemas,Tr as TrayMenuSectionSchema,Dr as TrayMenuService,Er as TrayMenuSubjects,Vn as TrayMenuToken,Ve as Turn,Re as TurnContextEnricher,Xt as TurnStorageNamespace,Oe as TurnStorageSubjects,Kn as WORKFLOW_START_ACTION_TYPE,Cn as WorkflowBlockRegistry,M as WorkflowBlockRegistryToken,Ee as actionRegistry,Jt as activateProviderContext,e as agents,Xn as artifactLifecycleHookRegistryPackage,xn as artifactSchemaRegistryPackage,_e as assembleForkContext,Qt as buildDeterministicAdapterId,m as buildRecoveryContext,te as buildRecoveryContextWithPipeline,l as buildSessionContext,ae as buildTurnInitiator,On as canonicalModelPackage,ar as capabilityPackage,Br as codeExecutionPackage,Oi as createArtifactKindContributionProcessor,Ai as createArtifactLifecycleHookContributionProcessor,Rr as createEffectiveExecutionSignal,Ui as createFacetNamespaceContributionProcessor,Jn as createModelRegistryPackage,Gi as createReactionContributionProcessor,Ie as createSessionExtensionContext,vn as createSessionStorageMemoryState,jr as createSubagentServicePackage,Ir as createToolContributionProcessor,Lr as createTransitionContributionProcessor,Wi as createWorkflowBlockContributionProcessor,he as ensureAgentCwd,c as ensureAgentModel,d as extractTextContent,Un as facetNamespaceRegistryPackage,ht as fetchAgentsBySession,qe as fetchMessageCountsBySession,Pe as fetchPreviewBySession,Me as fetchSessionPreviewMaps,f as findTurnByAgent,Hn as frameworkCorePackages,ne as getFullConversation,ie as getOrCreateSession,ot as importCursors,gn as kindToBranchKind,it as mapAgentsBySession,mt as mapRowToSession,Ue as mapToSession,cr as mergeModelMetadata,Qe as messageRouting,r as messages,de as normalizeSelectionString,p as normalizeToBlocks,Je as parseForkTransforms,He as pickFallbackRuntimeOptions,jn as reactionRegistryPackage,me as recoverAgent,ue as registerAbandonHandler,$t as registerAdapterRuntimeIdentityHandlers,ge as registerAttachHandler,ye as registerBuiltInActions,ce as registerCompressHandler,rt as registerCompressLineageResolver,ut as registerCoreSessionServiceHandlers,We as registerDrizzleAgentStorage,tt as registerDrizzleImportCursorStorage,Be as registerDrizzleMessageRoutingStorage,nt as registerDrizzleMessageStorage,we as registerDrizzleSessionEventStorage,Fe as registerDrizzleSessionOwnershipStorage,at as registerDrizzleSessionStorage,Te as registerDrizzleTurnStorage,pe as registerForkHandler,et as registerFtsSearchHandler,Ne as registerGetStatusCountsHandler,gt as registerListActionsHandler,_n as registerMemoryAgentStorage,je as registerMemoryMessageStorage,re as registerMemorySessionEventStorage,bn as registerMemorySessionOwnershipStorage,yn as registerMemorySessionStorage,le as registerMemoryTurnStorage,be as registerMergeHandler,$e as registerParentResolver,Xe as registerResumeHandler,lt as registerSpawningToolCallResolver,xe as resetBuiltInActionsRegistration,s as resolveAdapterId,fe as resolveAdapterNameById,ji as resolveArtifactContext,Zt as resolveDeterministicAdapterId,Ce as resolveExecutionTarget,ve as resolveModelCapabilities,qt as resolveRuntimeProviderContext,oe as resolveTargetAgents,Se as routeToAgents,u as routeToAgentsCore,zr as selectCodeExecutionProvider,Ln as sessionBridgePackage,a as sessionEvents,er as sessionOrchestratorPackage,rr as sessionPackage,zn as sessionStoragePackage,t as sessions,Nr as subagentServicePackage,nr as toolApprovalPackage,Pn as toolRegistryPackage,Tn as transitionPipelinePackage,tr as trayMenuPackage,n as turns,ee as verifyAndRecoverAgents,Fn as workflowBlockRegistryPackage};
|
|
1
|
+
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-BnuyCklU.mjs";import{t as r}from"../schema-Cz6-4_Dn.mjs";import{n as i,r as a,t as o}from"../namespace-CMntzAPI.mjs";import{$ as s,A as c,B as l,D as u,G as ee,H as te,K as ne,L as re,M as ie,O as ae,R as oe,Tt as se,U as ce,V as le,W as ue,Z as de,a as fe,b as pe,c as me,d as he,f as ge,i as _e,j as ve,k as ye,l as be,n as xe,nt as Se,o as Ce,r as we,s as Te,t as Ee,tt as De,wt as Oe,x as ke,z as Ae}from"../handlers-mjky_fP2.mjs";import{TurnStorageNamespace as je,TurnStorageSubjects as Me}from"./turn/namespace.mjs";import{a as Ne,i as d}from"../ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageNamespace as f,SessionStorageSubjects as p}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as m,ResolveIdRequestSchema as h,ResolveIdResponseSchema as g,ResolveLiveIdentityRequestSchema as _,ResolveLiveIdentityResponseSchema as v,ResolveNameRequestSchema as y,ResolveNameResponseSchema as b}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as x,AdapterRuntimeSubjects as Pe}from"./adapter-runtime/namespace.mjs";import{$ as Fe,A as Ie,B as Le,C as Re,E as ze,F as Be,G as Ve,H as He,I as Ue,J as We,K as Ge,L as Ke,M as qe,N as Je,P as Ye,R as Xe,S as Ze,T as Qe,U as $e,V as et,X as tt,Y as S,Z as nt,a as rt,b as it,c as at,et as ot,i as st,j as ct,k as lt,l as ut,nt as dt,o as ft,r as pt,rt as mt,s as ht,t as gt,tt as _t,w as vt,x as yt,z as bt}from"../session-D38UuGGX.mjs";import{n as xt}from"../namespace-J87EeVTm.mjs";import{ProviderStorageNamespace as St}from"./settings/storage/providers-namespace.mjs";import{A as Ct,E as wt,M as Tt,N as Et,O as Dt,S as Ot,T as kt,_ as At,a as jt,b as Mt,c as Nt,i as Pt,j as Ft,k as It,l as Lt,n as Rt,o as zt,r as Bt,s as Vt,t as Ht,v as Ut,w as Wt,x as Gt,y as Kt}from"../schemas-Djjq4LLs.mjs";import{ExecutionTargetNamespace as C,ExecutionTargetSubjects as qt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Jt,MessageStorageSubjects as Yt}from"./session/messages/namespace.mjs";import{a as Xt,o as Zt,r as Qt,t as $t}from"../provider-context-D6GIZ5DC.mjs";import{TurnStorageNamespace as en}from"./session/turns/namespace.mjs";import{i as tn,n as nn,r as rn,t as an}from"../identity-DgTjgflr.mjs";import{BugEntrySchema as on,CompressRequestSchema as sn,CompressResponseSchema as cn,CompressionEventSchema as ln,CompressionSchemas as un,ExtractedContextSchema as dn,TechnicalDetailsSchema as fn,TodoEntrySchema as pn}from"./compression/schemas.mjs";import{PreferenceItemSchema as mn,PreferenceKeySchema as hn,PreferenceValueSchema as gn,PreferencesSchemas as _n}from"./preferences/schemas.mjs";import{PreferencesNamespace as w,PreferencesSubjects as vn}from"./preferences/storage-namespace.mjs";import{t as yn}from"../namespace-Bo6-o_rW.mjs";import{l as bn,n as xn,p as Sn,r as Cn,t as wn}from"../ownership-memory-handler-C-y9zQf8.mjs";import{_ as Tn,g as T,v as En}from"../packages-vF9F4M41.mjs";import{A as Dn,B as On,C as kn,D as An,E as jn,F as Mn,I as Nn,L as Pn,M as E,N as Fn,O as In,P as Ln,R as Rn,S as zn,T as Bn,V as Vn,_ as Hn,a as Un,b as Wn,c as Gn,d as D,f as O,g as Kn,h as qn,i as Jn,j as Yn,k as Xn,l as Zn,m as Qn,n as k,o as $n,p as er,r as tr,s as nr,t as A,u as rr,v as ir,w as ar,x as or,y as sr,z as cr}from"../framework-packages-mquh5_Yw.mjs";import{n as lr,r as ur,t as dr}from"../package-BCKYMTYG.mjs";import{a as fr,c as pr,i as mr,l as hr,n as gr,o as j,r as _r,s as vr,t as yr,u as br}from"../model-registry-CeDu27XL.mjs";import{t as xr}from"../tool-approval-service-vG2mEC9p.mjs";import{TrayMenuEntrySchema as Sr,TrayMenuGroupEntrySchema as Cr,TrayMenuGroupSchema as wr,TrayMenuItemClickedSchema as Tr,TrayMenuListEntrySchema as Er,TrayMenuMetadataSchema as Dr,TrayMenuSchemas as Or,TrayMenuSectionSchema as kr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as M,TrayMenuSubjects as Ar}from"./tray-menu/namespace.mjs";import{t as jr}from"../tray-menu-service-BRrnoqaY.mjs";import{n as Mr}from"../handler-Cc1MhaR4.mjs";import{a as Nr,i as Pr,n as Fr,o as Ir,r as Lr,t as Rr}from"../package-BSz4hbav.mjs";import{FsNamespace as zr}from"./filesystem/namespace.mjs";import{r as Br}from"../tools-K3DWA4Jr.mjs";import{t as Vr}from"../workflow-transitions-C2BLDE5N.mjs";import"./capability/index.mjs";import{a as Hr,i as Ur,n as Wr,r as Gr,t as Kr}from"../code-execution-BspFbEdT.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as qr,AgentRuntimeSchemas as Jr,AgentRuntimeSelectionSchema as Yr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as N,AgentRuntimeSubjects as Xr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as Zr,CodebaseSchemas as Qr}from"./codebase/schemas.mjs";import{CodebaseNamespace as P,CodebaseSubjects as $r}from"./codebase/namespace.mjs";import{CompressionNamespace as F,CompressionSubjects as ei}from"./compression/namespace.mjs";import{r as ti,t as ni}from"../storage-namespace-TBX8VgK3.mjs";import{DefinitionNamespace as ri}from"./definition/namespace.mjs";import{DialogNamespace as ii}from"./dialog/namespace.mjs";import{a as ai,i as I,n as oi,t as si}from"../execution-target-CDeIBu4b.mjs";import{CLIDetectionNamespace as ci}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as li}from"./local-notification/namespace.mjs";import{t as ui}from"../namespace-C9xmGXbW.mjs";import{ExtensionConfigStorageNamespace as di}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as fi}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as pi,SubagentTemplateCreateSchema as mi,SubagentTemplateInstanceSchema as hi,SubagentTemplateInstanceStatusSchema as gi,SubagentTemplateKernelSchemas as _i,SubagentTemplateSchema as vi,SubagentTemplateSettingsSchemas as yi,SubagentTemplateSpawnRequestSchema as bi,SubagentTemplateSpawnedEventSchema as xi,SubagentTemplateSummarySchema as Si,SubagentTemplateUpdateSchema as Ci}from"./subagent-template/schemas.mjs";import{r as wi,t as Ti}from"../namespace-CqJhR19O.mjs";import{SubagentTemplateKernelNamespace as L,SubagentTemplateSubjects as Ei}from"./subagent-template/namespace.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as R}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as Di}from"@makaio/framework/adapters";import{artifactRevisionKey as z}from"@makaio/framework/contracts/artifact";import{ModelRegistryPublicNamespace as Oi}from"@makaio/framework/contracts/model-registry";function ki(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 ji(){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(T);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=ki(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 Ni(){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(A);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)}}}}function B(e,t){return{sourceRef:e.sourceRef,target:e.target,relationType:e.relationType,sourceLocalId:e.sourceLocalId,...e.direction?{direction:e.direction}:{},hint:e.selector?.hint??`link`,...t}}function V(e,t,n){let r=Li(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),G(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!Pi(a,Ii(e,r)))return;W(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&q(n)||t.status===`unresolved`&&!H(t.reason,a.reason))return;W(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){H(t.reason,a.reason)&&W(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){W(e,i,r,t,n);return}t.status===`resolved`&&!q(n)&&K(e,r,n)}}function Pi(e,t){return e.status===`resolved`?t:H(`depth-exceeded`,e.reason)}function H(e,t){return U(e)>U(t)}function U(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function W(e,t,n,r,i){G(e,n,r,i),e.refs[t]=r}function G(e,t,n,r){if(n.status===`resolved`){K(e,t,r);return}Fi(e,t)}function K(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Fi(e,t){e.refMetadataByKey.delete(t)}function Ii(e,t){return q(e.refMetadataByKey.get(t))}function q(e){return e?.resolvedViaBackEdge===!0}function Li(e){return JSON.stringify([z(e.sourceRef),e.sourceLocalId??null,e.relationType,e.direction??`outbound`,Ri(e.target)])}function Ri(e){return e.refClass===`entity`?JSON.stringify([`entity`,e.entityType,e.id]):e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,z(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}async function zi(e){let t=e.maxDepth??5,n={bus:e.bus,maxDepth:t,resolvedByKey:new Map,walkedByKey:new Set,inboundByKey:new Map,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await X(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 J(n,r,e.selectors,0,new Set([z(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function J(e,t,n,r,i){let a=Ki(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=Q(t);for(let a of t.relations)await Bi(e,o,a,n,r,i);for(let[t,a]of Object.entries(n??{}))a.direction===`inbound`&&await Vi(e,o,t,a,r,i)}async function Bi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.direction===`inbound`?void 0:o,{target:c}=n,l={sourceRef:t,relationType:n.type,sourceLocalId:n.sourceLocalId,selector:s};if(c.refClass!==`artifact`){let t=Z(s,c)?`unsupported-ref-class`:`not-selected`;V(e,B({...l,target:c},{status:`unresolved`,reason:t}));return}await Y(e,{...l,target:c,load:()=>X(e,c)},i,a)}async function Vi(e,t,n,r,i,a){if(r.hint===`omit`)return;let o=JSON.stringify([n,t.kind,t.id]),s=e.inboundByKey.get(o);if(!s){let{artifacts:r}=await e.bus.request(R.query,{relation:{type:n,target:{refClass:`artifact`,kind:t.kind,id:t.id}},currentOnly:!0});s=r,e.inboundByKey.set(o,s)}for(let o of s){let s=Q(o);for(let c of o.relations)c.type!==n||!Wi(c.target,t)||await Y(e,{sourceRef:t,target:s,relationType:n,sourceLocalId:c.sourceLocalId,direction:`inbound`,selector:r,load:()=>X(e,s,async()=>o)},i,a)}}async function Y(e,t,n,r){let{selector:i,target:a}=t;if(!Z(i,a)){V(e,B(t,{status:`unresolved`,reason:`not-selected`}));return}let o=z(a),s=r.has(o);if(n>=e.maxDepth&&!s){V(e,B(t,{status:`unresolved`,reason:`depth-exceeded`}));return}let c=e.resolvedByKey.has(o),l=await t.load();if(!l){V(e,B(t,{status:`unresolved`,reason:`not-found`}));return}V(e,B(t,{status:`resolved`}),{resolvedViaBackEdge:s}),c||e.resolved.push(l),!s&&await Hi(e,l,o,t.relationType,i,n,r)}async function Hi(e,t,n,r,i,a,o){let s=(i.depth??1)-1;await J(e,t,Ui(s>0?{[r]:{...i,depth:s}}:void 0,i.nested),a+1,new Set([...o,n]))}async function X(e,t,n=async()=>(await e.bus.request(R.resolve,{ref:t})).artifact){let r=z(t);if(e.resolvedByKey.has(r))return e.resolvedByKey.get(r)??null;let i=await n();return e.resolvedByKey.set(r,i),i}function Ui(e,t){return!t||!e?t??e:{...e,...t}}function Z(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Gi(t);return n!==void 0&&e.kinds.includes(n)}function Wi(e,t){return e.refClass===`artifact`&&e.kind===t.kind&&e.id===t.id}function Gi(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function Q(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Ki(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function qi(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}$(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(k);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function Ji(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(O);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 Yi(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(E);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===E.name||!!e.reactions,async processActivated(n,i,a){if(n===E.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===E.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const Xi=[x,xt,N,d,ci,fi,P,F,ti,ni,ri,ii,I,C,di,zr,Mr,Di,li,S,j,Oi,w,ui,St,yn,Ti,M,je,L,wi];export{an as AdapterIdentityRegistry,_t as AdapterRegistry,x as AdapterRuntimeNamespace,m as AdapterRuntimeSchemas,Pe as AdapterRuntimeSubjects,qr as AgentInstanceStatusSchema,N as AgentRuntimeNamespace,Jr as AgentRuntimeSchemas,Yr as AgentRuntimeSelectionSchema,Xr as AgentRuntimeSubjects,d as AgentStorageNamespace,Ne as AgentStorageSubjects,On as ArtifactLifecycleHookRegistry,A as ArtifactLifecycleHookRegistryToken,Vn as ArtifactLifecycleHookRejectedError,En as ArtifactSchemaRegistry,T as ArtifactSchemaRegistryToken,on as BugEntrySchema,Xe as CONNECTOR_SWAP_DEFAULT_PIPELINE,yr as CachedRegistryFetcher,Rn as CanonicalModelResolutionError,Pn as CanonicalModelResolver,Nn as CanonicalModelService,ur as CapabilityService,dr as CapabilityToken,Gr as CodeExecutionService,Kr as CodeExecutionServiceToken,Zr as CodebaseChangedEventSchema,P as CodebaseNamespace,Qr as CodebaseSchemas,$r as CodebaseSubjects,sn as CompressRequestSchema,cn as CompressResponseSchema,ln as CompressionEventSchema,F as CompressionNamespace,un as CompressionSchemas,ei as CompressionSubjects,At as ContainerCreatedSchema,Ut as ContainerDestroyedSchema,Ht as ContainerIsolatedExecutionTargetSchema,Kt as ContainerIsolatedSpawnRequestSchema,Rt as ContainerLocalExecutionTargetSchema,Mt as ContainerLocalSpawnRequestSchema,Gt as ContainerLocalWorkflowSpawnRequestSchema,Ot as ContainerRuntimeSchema,si as ContainerSpawnNamespace,oi as ContainerSpawnSubjects,Wt as ContainerStartedSchema,kt as ContainerStateSchema,wt as ContainerStoppedSchema,gt as ContextWindowTracker,I as DockerNamespace,ai as DockerSubjects,ht as EmbeddingIndexManager,Bt as ExecutionTargetInputSchema,Pt as ExecutionTargetListQuerySchema,C as ExecutionTargetNamespace,jt as ExecutionTargetResolveRequestSchema,zt as ExecutionTargetSchema,Vt as ExecutionTargetSchemas,qt as ExecutionTargetSubjects,Nt as ExecutionTargetTypeSchema,dn as ExtractedContextSchema,cr as FacetNamespaceRegistry,k as FacetNamespaceRegistryToken,gr as FallbackRegistryFetcher,Xi as FrameworkServicesCoreNamespaces,Lt as LocalExecutionTargetSchema,ft as MakaioSession,dt as MakaioSessionService,S as MessageRoutingNamespace,tt as MessageRoutingSubjects,Jt as MessageStorageNamespace,Yt as MessageStorageSubjects,j as ModelRegistryNamespace,_r as ModelRegistryProviderNotFoundError,pr as ModelRegistrySchema,hr as ModelRegistrySchemas,mr as ModelRegistryService,vr as ModelRegistrySubjects,tr as ModelRegistryToken,mn as PreferenceItemSchema,hn as PreferenceKeySchema,gn as PreferenceValueSchema,w as PreferencesNamespace,_n as PreferencesSchemas,vn as PreferencesSubjects,$t as ProviderContextActivationError,br as ProviderModelOverrideSchema,Ln as ReactionRegistry,E as ReactionRegistryToken,h as ResolveIdRequestSchema,g as ResolveIdResponseSchema,_ as ResolveLiveIdentityRequestSchema,v as ResolveLiveIdentityResponseSchema,y as ResolveNameRequestSchema,b as ResolveNameResponseSchema,Xt as RuntimeProviderContextResolutionError,Ue as SessionBridge,Jn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,Ye as SessionExtensionContextImpl,$e as SessionOrchestrator,Un as SessionOrchestratorToken,de as SessionStartError,f as SessionStorageNamespace,p as SessionStorageSubjects,$n as SessionStorageToken,nr as SessionToken,Ve as SessionTurnManager,Dt as SpawnRequestSchema,It as SpawnResponseSchema,Ct as StatusRequestSchema,Ft as StatusResponseSchema,Tt as StopRequestSchema,Et as StopResponseSchema,Pr as SubagentFailureFinalizationError,Ir as SubagentManager,Nr as SubagentService,Rr as SubagentServiceToken,pi as SubagentTemplateCompletedEventSchema,mi as SubagentTemplateCreateSchema,hi as SubagentTemplateInstanceSchema,gi as SubagentTemplateInstanceStatusSchema,L as SubagentTemplateKernelNamespace,_i as SubagentTemplateKernelSchemas,vi as SubagentTemplateSchema,yi as SubagentTemplateSettingsSchemas,bi as SubagentTemplateSpawnRequestSchema,xi as SubagentTemplateSpawnedEventSchema,Ei as SubagentTemplateSubjects,Si as SubagentTemplateSummarySchema,Ci as SubagentTemplateUpdateSchema,fn as TechnicalDetailsSchema,pn as TodoEntrySchema,xr as ToolApprovalService,Gn as ToolApprovalToken,Yn as ToolRegistry,Zn as ToolRegistryToken,In as TransitionActionRegistry,jn as TransitionPipelineService,rr as TransitionPipelineToken,An as TransitionRuleRegistry,Sr as TrayMenuEntrySchema,Cr as TrayMenuGroupEntrySchema,wr as TrayMenuGroupSchema,Tr as TrayMenuItemClickedSchema,Er as TrayMenuListEntrySchema,Dr as TrayMenuMetadataSchema,M as TrayMenuNamespace,Or as TrayMenuSchemas,kr as TrayMenuSectionSchema,jr as TrayMenuService,Ar as TrayMenuSubjects,D as TrayMenuToken,Ge as Turn,He as TurnContextEnricher,en as TurnStorageNamespace,Me as TurnStorageSubjects,Xn as WORKFLOW_START_ACTION_TYPE,Dn as WorkflowBlockRegistry,O as WorkflowBlockRegistryToken,Ae as actionRegistry,Qt as activateProviderContext,e as agents,er as artifactLifecycleHookRegistryPackage,Tn as artifactSchemaRegistryPackage,xe as assembleForkContext,nn as buildDeterministicAdapterId,re as buildRecoveryContext,ae as buildRecoveryContextWithPipeline,l as buildSessionContext,le as buildTurnInitiator,Mn as canonicalModelPackage,lr as capabilityPackage,Wr as codeExecutionPackage,ji as createArtifactKindContributionProcessor,Ni as createArtifactLifecycleHookContributionProcessor,Hr as createEffectiveExecutionSignal,qi as createFacetNamespaceContributionProcessor,Qn as createModelRegistryPackage,Yi as createReactionContributionProcessor,Be as createSessionExtensionContext,Sn as createSessionStorageMemoryState,Fr as createSubagentServicePackage,Br as createToolContributionProcessor,Vr as createTransitionContributionProcessor,Ji as createWorkflowBlockContributionProcessor,ye as ensureAgentCwd,c as ensureAgentModel,ee as extractTextContent,qn as facetNamespaceRegistryPackage,yt as fetchAgentsBySession,Ze as fetchMessageCountsBySession,Re as fetchPreviewBySession,Ie as fetchSessionPreviewMaps,te as findTurnByAgent,Kn as frameworkCorePackages,oe as getFullConversation,ce as getOrCreateSession,ut as importCursors,bn as kindToBranchKind,ct as mapAgentsBySession,vt as mapRowToSession,qe as mapToSession,fr as mergeModelMetadata,nt as messageRouting,r as messages,he as normalizeSelectionString,ne as normalizeToBlocks,Qe as parseForkTransforms,Ke as pickFallbackRuntimeOptions,Fn as reactionRegistryPackage,ve as recoverAgent,me as registerAbandonHandler,rn as registerAdapterRuntimeIdentityHandlers,be as registerAttachHandler,Ce as registerBuiltInActions,fe as registerCompressHandler,st as registerCompressLineageResolver,mt as registerCoreSessionServiceHandlers,Je as registerDrizzleAgentStorage,at as registerDrizzleImportCursorStorage,We as registerDrizzleMessageRoutingStorage,ot as registerDrizzleMessageStorage,Oe as registerDrizzleSessionEventStorage,ze as registerDrizzleSessionOwnershipStorage,lt as registerDrizzleSessionStorage,ke as registerDrizzleTurnStorage,_e as registerForkHandler,it as registerFtsSearchHandler,Le as registerGetStatusCountsHandler,bt as registerListActionsHandler,xn as registerMemoryAgentStorage,Fe as registerMemoryMessageStorage,se as registerMemorySessionEventStorage,wn as registerMemorySessionOwnershipStorage,Cn as registerMemorySessionStorage,pe as registerMemoryTurnStorage,we as registerMergeHandler,rt as registerParentResolver,et as registerResumeHandler,pt as registerSpawningToolCallResolver,Te as resetBuiltInActionsRegistration,s as resolveAdapterId,ge as resolveAdapterNameById,zi as resolveArtifactContext,tn as resolveDeterministicAdapterId,De as resolveExecutionTarget,Se as resolveModelCapabilities,Zt as resolveRuntimeProviderContext,ue as resolveTargetAgents,Ee as routeToAgents,u as routeToAgentsCore,Ur as selectCodeExecutionProvider,Hn as sessionBridgePackage,a as sessionEvents,ir as sessionOrchestratorPackage,sr as sessionPackage,Wn as sessionStoragePackage,t as sessions,Lr as subagentServicePackage,or as toolApprovalPackage,zn as toolRegistryPackage,kn as transitionPipelinePackage,ar as trayMenuPackage,n as turns,ie as verifyAndRecoverAgents,Bn as workflowBlockRegistryPackage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InFlightStartResolution, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, i as refuseTotalDeferral, l as registerForkHandler, n as routeToAgents, o as StartResolution, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler } from "../../../index-
|
|
1
|
+
import { a as InFlightStartResolution, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, i as refuseTotalDeferral, l as registerForkHandler, n as routeToAgents, o as StartResolution, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler } from "../../../index-CLwnkYRD.mjs";
|
|
2
2
|
export { InFlightStartResolution, StartResolution, admitFreshStartTargets, refuseTotalDeferral, registerAbandonHandler, registerAttachHandler, registerCompressHandler, registerForkHandler, registerMergeHandler, resolveInFlightStarts, routeToAgents, routeToAgentsCore };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as IngestCompletedTurnResult, $n as runExclusiveStart, $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, An as FreshWithHistoryRecoveryPlan, At as SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, B as importCursorsDual, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dn as buildPlannedRecoveryContext, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Fn as recoveryPlanResumeTarget, Ft as registerMemoryAgentStorage, G as ObservedSessionIngestionPolicyInput, Gn as ISessionOrchestrator, Gt as assembleForkContext, H as OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, In as StartReservationRequest, It as registerDrizzleSessionStorage, J as ObservedSessionIngestionService, Jn as assessClaimOwner, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, K as registerObservedSessionIngestionPolicyProvider, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Ln as reserveStartFor, Lt as registerMemorySessionStorage, M as SelectTurn, Mn as RecoveryPlan, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nn as planAgentRecovery, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, P as turnsDual, Pn as recoveryPlanRequiresHistory, Pt as registerDrizzleAgentStorage, Q as IngestCompletedTurnParams, Qn as peekInFlightStart, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, S as messageRoutingDual, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, U as ObservedSessionIngestionPolicyDecision, Un as TurnContextEnricher, Ut as createSessionExtensionContext, V as IObservedSessionIngestionPolicyProvider, Vn as extractTextContent, Vt as AgentStorageSubjects, W as ObservedSessionIngestionPolicyImportStatus, Wn as AdapterRegistry, Wt as SessionBridge, X as isTrackingStub, Xn as enqueueAgentSettle, Xt as SelectionRefusalContext, Y as isPolicyDiscoveredObservedSession, Yn as mintClaimToken, Yt as NamedSelectionInstance, Z as LogImportTriggerSubjects, Zn as InFlightStart, Zt as describeHalfNamedInstanceRefusal, _ as MakaioSessionConfig, _n as LeadTransition, _t as SessionPreviewMaps, a as resolveSessionResumeIdentity, an as registerResumeHandler, at as SessionUserMessageSentPayload, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, ct as emitSessionUserMessageSent, d as toSessionLineage, dn as resolveSelectionOwnedInstance, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, er as registerAdapterSessionMovementObserver, et as IngestTurnMessage, f as registerSessionDiscoveredHandler, fn as startLeadAgent, ft as InsertSessionEvent, g as MakaioSession, gn as LeadStartResult, gt as getSessionAncestorChain, h as registerParentResolver, hn as LeadStartRequest, ht as sessionEventsDual, i as SessionResumeIdentity, in as registerGetStatusCountsHandler, ir as MakaioSessionServiceOptions, it as SessionTurnStartedPayload, j as InsertTurn, jn as NativeResumeRecoveryPlan, jt as ownershipClaimTransactionLock, k as registerMemoryMessageStorage, kn as FRESH_WITH_HISTORY_RECOVERY_PLAN, kt as OwnershipClaimKey, l as ContextAssemblyResult, ln as SessionContextWindowState, lt as registerSessionLifecycleEventWriters, m as registerCompressLineageResolver, mn as LeadStartDispatchRequest, mt as sessionEvents, n as NativeLocalityIntent, nn as resetBuiltInActionsRegistration, nr as registerSessionOwnershipAuthority, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, ot as appendSessionLifecycleEvent, p as registerSpawningToolCallResolver, pn as LeadStartDispatch, pt as SelectSessionEvent, q as unregisterObservedSessionIngestionPolicyProvider, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, r as evaluateNativeLocality, rn as actionRegistry, rr as MakaioSessionService, rt as SessionLifecycleEventArgs, s as buildSessionContext, sn as AgentContextState, st as emitSessionTurnStarted, t as NativeLocalityInput, tn as registerBuiltInActions, tr as SessionOwnershipAuthorityDeps, tt as ingestCompletedTurn, u as kindToBranchKind, un as SelectionInstanceContext, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../../index-
|
|
2
|
-
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, S as resolveOwnedAdapterInstance, T as TurnConfig, _ as OwnedAdapterInstanceTarget, a as InFlightStartResolution, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, i as refuseTotalDeferral, k as TurnResult, l as registerForkHandler, m as SessionStartFailureCode, n as routeToAgents, o as StartResolution, p as SessionStartError, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities, y as resolveAnnouncedAdapterInstance } from "../../index-
|
|
1
|
+
import { $ as IngestCompletedTurnResult, $n as runExclusiveStart, $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, An as FreshWithHistoryRecoveryPlan, At as SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, B as importCursorsDual, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dn as buildPlannedRecoveryContext, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Fn as recoveryPlanResumeTarget, Ft as registerMemoryAgentStorage, G as ObservedSessionIngestionPolicyInput, Gn as ISessionOrchestrator, Gt as assembleForkContext, H as OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, In as StartReservationRequest, It as registerDrizzleSessionStorage, J as ObservedSessionIngestionService, Jn as assessClaimOwner, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, K as registerObservedSessionIngestionPolicyProvider, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Ln as reserveStartFor, Lt as registerMemorySessionStorage, M as SelectTurn, Mn as RecoveryPlan, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nn as planAgentRecovery, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, P as turnsDual, Pn as recoveryPlanRequiresHistory, Pt as registerDrizzleAgentStorage, Q as IngestCompletedTurnParams, Qn as peekInFlightStart, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, S as messageRoutingDual, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, U as ObservedSessionIngestionPolicyDecision, Un as TurnContextEnricher, Ut as createSessionExtensionContext, V as IObservedSessionIngestionPolicyProvider, Vn as extractTextContent, Vt as AgentStorageSubjects, W as ObservedSessionIngestionPolicyImportStatus, Wn as AdapterRegistry, Wt as SessionBridge, X as isTrackingStub, Xn as enqueueAgentSettle, Xt as SelectionRefusalContext, Y as isPolicyDiscoveredObservedSession, Yn as mintClaimToken, Yt as NamedSelectionInstance, Z as LogImportTriggerSubjects, Zn as InFlightStart, Zt as describeHalfNamedInstanceRefusal, _ as MakaioSessionConfig, _n as LeadTransition, _t as SessionPreviewMaps, a as resolveSessionResumeIdentity, an as registerResumeHandler, at as SessionUserMessageSentPayload, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, ct as emitSessionUserMessageSent, d as toSessionLineage, dn as resolveSelectionOwnedInstance, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, er as registerAdapterSessionMovementObserver, et as IngestTurnMessage, f as registerSessionDiscoveredHandler, fn as startLeadAgent, ft as InsertSessionEvent, g as MakaioSession, gn as LeadStartResult, gt as getSessionAncestorChain, h as registerParentResolver, hn as LeadStartRequest, ht as sessionEventsDual, i as SessionResumeIdentity, in as registerGetStatusCountsHandler, ir as MakaioSessionServiceOptions, it as SessionTurnStartedPayload, j as InsertTurn, jn as NativeResumeRecoveryPlan, jt as ownershipClaimTransactionLock, k as registerMemoryMessageStorage, kn as FRESH_WITH_HISTORY_RECOVERY_PLAN, kt as OwnershipClaimKey, l as ContextAssemblyResult, ln as SessionContextWindowState, lt as registerSessionLifecycleEventWriters, m as registerCompressLineageResolver, mn as LeadStartDispatchRequest, mt as sessionEvents, n as NativeLocalityIntent, nn as resetBuiltInActionsRegistration, nr as registerSessionOwnershipAuthority, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, ot as appendSessionLifecycleEvent, p as registerSpawningToolCallResolver, pn as LeadStartDispatch, pt as SelectSessionEvent, q as unregisterObservedSessionIngestionPolicyProvider, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, r as evaluateNativeLocality, rn as actionRegistry, rr as MakaioSessionService, rt as SessionLifecycleEventArgs, s as buildSessionContext, sn as AgentContextState, st as emitSessionTurnStarted, t as NativeLocalityInput, tn as registerBuiltInActions, tr as SessionOwnershipAuthorityDeps, tt as ingestCompletedTurn, u as kindToBranchKind, un as SelectionInstanceContext, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../../index-D5BLD2Pw.mjs";
|
|
2
|
+
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, S as resolveOwnedAdapterInstance, T as TurnConfig, _ as OwnedAdapterInstanceTarget, a as InFlightStartResolution, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, i as refuseTotalDeferral, k as TurnResult, l as registerForkHandler, m as SessionStartFailureCode, n as routeToAgents, o as StartResolution, p as SessionStartError, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities, y as resolveAnnouncedAdapterInstance } from "../../index-CLwnkYRD.mjs";
|
|
3
3
|
import { l as resolveRuntimeProviderContext } from "../../index-oE2q0pTG.mjs";
|
|
4
4
|
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-6O0G1s65.mjs";
|
|
5
5
|
import { _ as sessionsDual, c as adapterSessionClaims, d as agentsDual, g as sessions, l as adapterSessionClaimsDual, u as agents } from "../../schema-De6d0FWI.mjs";
|
|
6
6
|
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-Bz0ZDWhE.mjs";
|
|
7
7
|
import { t as TurnStorageNamespace } from "../../namespace-Sd6qj6w22.mjs";
|
|
8
8
|
import { n as TurnStorageSubjects } from "../../namespace-DbtfwD5Z.mjs";
|
|
9
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-
|
|
9
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-C5tKjqgb.mjs";
|
|
10
10
|
export { AdapterRegistry, AgentContextState, AgentRecoveryOutcome, AgentStorageNamespace, AgentStorageSubjects, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, EmbeddingIndexManager, EventTransform, FRESH_WITH_HISTORY_RECOVERY_PLAN, FallbackRuntimeOptions, FreshWithHistoryRecoveryPlan, IObservedSessionIngestionPolicyProvider, ISessionOrchestrator, InFlightStart, InFlightStartResolution, IngestCompletedTurnParams, IngestCompletedTurnResult, IngestTurnMessage, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, LeadStartDispatch, LeadStartDispatchRequest, LeadStartRequest, LeadStartResult, LeadTransition, LogImportTriggerSubjects, MachineScopedAdapterInstance, MakaioSession, MakaioSessionConfig, MakaioSessionService, MakaioSessionServiceOptions, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, NamedSelectionInstance, NativeLocalityInput, NativeLocalityIntent, NativeResumeRecoveryPlan, OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, ObservedSessionIngestionPolicyDecision, ObservedSessionIngestionPolicyImportStatus, ObservedSessionIngestionPolicyInput, ObservedSessionIngestionService, OwnedAdapterInstance, OwnedAdapterInstanceTarget, OwnershipClaimKey, RecoveryConfig, RecoveryPlan, SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, SearchFilters, SearchSessionRow, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SelectionInstanceContext, SelectionRefusalContext, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLifecycleEventArgs, SessionOrchestrator, SessionOwnershipAuthorityDeps, SessionPreviewMaps, SessionResumeIdentity, SessionStartError, SessionStartFailureCode, SessionStorageMemoryState, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, SessionTurnStartedPayload, SessionUserMessageSentPayload, StartReservationRequest, StartResolution, StartTurnOptions, Turn, TurnConfig, TurnContext, TurnContextEnricher, TurnPairStateChange, TurnPairTerminalOutcome, TurnResult, TurnStorageNamespace, TurnStorageSubjects, VerifiedAgents, actionRegistry, adapterSessionClaims, adapterSessionClaimsDual, admitFreshStartTargets, agents, agentsDual, appendSessionLifecycleEvent, assembleForkContext, assessClaimOwner, buildPlannedRecoveryContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createSessionExtensionContext, createSessionStorageMemoryState, describeHalfNamedInstanceRefusal, emitSessionTurnStarted, emitSessionUserMessageSent, enqueueAgentSettle, ensureAgentCwd, ensureAgentModel, evaluateNativeLocality, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, getSessionAncestorChain, importCursors, importCursorsDual, ingestCompletedTurn, isPolicyDiscoveredObservedSession, isTrackingStub, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messageRoutingDual, messages, mintClaimToken, normalizeSelectionString, normalizeToBlocks, ownershipClaimTransactionLock, parseForkTransforms, peekInFlightStart, pickFallbackRuntimeOptions, planAgentRecovery, recoverAgent, recoveryPlanRequiresHistory, recoveryPlanResumeTarget, refuseTotalDeferral, registerAbandonHandler, registerAdapterSessionMovementObserver, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionOwnershipStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionOwnershipStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerObservedSessionIngestionPolicyProvider, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSessionLifecycleEventWriters, registerSessionOwnershipAuthority, registerSpawningToolCallResolver, reserveStartFor, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveAnnouncedAdapterInstance, resolveExecutionTarget, resolveInFlightStarts, resolveModelCapabilities, resolveOwnedAdapterInstance, resolveRuntimeProviderContext, resolveSelectionOwnedInstance, resolveSessionResumeIdentity, resolveTargetAgents, routeToAgents, routeToAgentsCore, runExclusiveStart, sessionEvents, sessionEventsDual, sessions, sessionsDual, startLeadAgent, toSessionLineage, turns, turnsDual, unregisterObservedSessionIngestionPolicyProvider, verifyAndRecoverAgents };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-
|
|
1
|
+
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-C5tKjqgb.mjs";
|
|
2
2
|
export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
|
|
@@ -741,10 +741,9 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
741
741
|
request: _$zod.ZodObject<{
|
|
742
742
|
name: _$zod.ZodString;
|
|
743
743
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
744
|
-
|
|
744
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
745
745
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
746
746
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
747
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
748
747
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
749
748
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
750
749
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -752,6 +751,7 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
752
751
|
fork: "fork";
|
|
753
752
|
fresh: "fresh";
|
|
754
753
|
}>>;
|
|
754
|
+
adapterName: _$zod.ZodString;
|
|
755
755
|
}, _$zod_v4_core0.$strip>;
|
|
756
756
|
response: _$zod.ZodObject<{
|
|
757
757
|
id: _$zod.ZodString;
|
|
@@ -832,10 +832,9 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
832
832
|
request: _$zod.ZodObject<{
|
|
833
833
|
name: _$zod.ZodString;
|
|
834
834
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
835
|
-
|
|
835
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
836
836
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
837
837
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
838
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
839
838
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
840
839
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
841
840
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -843,6 +842,7 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
843
842
|
fork: "fork";
|
|
844
843
|
fresh: "fresh";
|
|
845
844
|
}>>;
|
|
845
|
+
adapterName: _$zod.ZodString;
|
|
846
846
|
}, _$zod_v4_core0.$strip>;
|
|
847
847
|
response: _$zod.ZodObject<{
|
|
848
848
|
id: _$zod.ZodString;
|
|
@@ -18,8 +18,8 @@ declare const ExtensionConfigInputSchema: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
20
|
enabled: z.ZodBoolean;
|
|
21
|
-
scope: z.ZodString;
|
|
22
21
|
extensionName: z.ZodString;
|
|
22
|
+
scope: z.ZodString;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
/** Query schema for listing extension configs. */
|
|
25
25
|
declare const ExtensionConfigListQuerySchema: z.ZodObject<{
|
|
@@ -63,8 +63,8 @@ declare const ExtensionConfigStorageNamespace: _$_makaio_storage_core0.StorageNa
|
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
65
65
|
enabled: z.ZodBoolean;
|
|
66
|
-
scope: z.ZodString;
|
|
67
66
|
extensionName: z.ZodString;
|
|
67
|
+
scope: z.ZodString;
|
|
68
68
|
}, z.core.$strip>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
response: z.ZodObject<{
|
|
@@ -131,8 +131,8 @@ declare const ExtensionConfigStorageSubjects: _$_makaio_core0.BusSubjects<_$_mak
|
|
|
131
131
|
id: z.ZodString;
|
|
132
132
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
133
|
enabled: z.ZodBoolean;
|
|
134
|
-
scope: z.ZodString;
|
|
135
134
|
extensionName: z.ZodString;
|
|
135
|
+
scope: z.ZodString;
|
|
136
136
|
}, z.core.$strip>;
|
|
137
137
|
}, z.core.$strip>;
|
|
138
138
|
response: z.ZodObject<{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-
|
|
1
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-CYjPZwlQ.mjs";
|
|
2
2
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-KomML5ti.mjs";
|
|
3
3
|
export { type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-
|
|
1
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-CYjPZwlQ.mjs";
|
|
2
2
|
export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
|
|
@@ -14,8 +14,8 @@ declare const COMPRESS_SESSION_LINEAGE_KIND: "compress";
|
|
|
14
14
|
/** Discriminates the relationship of a session to its parent. */
|
|
15
15
|
declare const SessionLineageKindSchema: z.ZodEnum<{
|
|
16
16
|
fork: "fork";
|
|
17
|
-
root: "root";
|
|
18
17
|
subagent: "subagent";
|
|
18
|
+
root: "root";
|
|
19
19
|
compress: "compress";
|
|
20
20
|
}>;
|
|
21
21
|
type SessionLineageKind = z.infer<typeof SessionLineageKindSchema>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as ArtifactRevision$1 } from "./schemas-
|
|
1
|
+
import { x as ArtifactRevision$1 } from "./schemas-rliUGyrt.mjs";
|
|
2
2
|
import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
@@ -1555,8 +1555,8 @@ type Turn$1 = z.infer<typeof TurnSchema$1>;
|
|
|
1555
1555
|
*/
|
|
1556
1556
|
declare const MessageRoutingStatusSchema: z.ZodEnum<{
|
|
1557
1557
|
completed: "completed";
|
|
1558
|
-
acknowledged: "acknowledged";
|
|
1559
1558
|
sent: "sent";
|
|
1559
|
+
acknowledged: "acknowledged";
|
|
1560
1560
|
}>;
|
|
1561
1561
|
type MessageRoutingStatus = z.infer<typeof MessageRoutingStatusSchema>;
|
|
1562
1562
|
/**
|
|
@@ -1567,8 +1567,8 @@ declare const MessageRoutingSchema$1: z.ZodObject<{
|
|
|
1567
1567
|
agentId: z.ZodString;
|
|
1568
1568
|
status: z.ZodEnum<{
|
|
1569
1569
|
completed: "completed";
|
|
1570
|
-
acknowledged: "acknowledged";
|
|
1571
1570
|
sent: "sent";
|
|
1571
|
+
acknowledged: "acknowledged";
|
|
1572
1572
|
}>;
|
|
1573
1573
|
timestamp: z.ZodNumber;
|
|
1574
1574
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -11840,8 +11840,8 @@ declare const SessionSchemas: {
|
|
|
11840
11840
|
maxTokens: _$zod.ZodNumber;
|
|
11841
11841
|
percentage: _$zod.ZodNumber;
|
|
11842
11842
|
level: _$zod.ZodEnum<{
|
|
11843
|
-
warn: "warn";
|
|
11844
11843
|
ok: "ok";
|
|
11844
|
+
warn: "warn";
|
|
11845
11845
|
critical: "critical";
|
|
11846
11846
|
}>;
|
|
11847
11847
|
lastUpdatedAt: _$zod.ZodNumber;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-
|
|
1
|
+
import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-rliUGyrt.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
4
|
|
|
@@ -71,8 +71,8 @@ declare const SurfaceBindingRegistrationSchema: z.ZodObject<{
|
|
|
71
71
|
template: z.ZodString;
|
|
72
72
|
}, z.core.$strip>], "kind">;
|
|
73
73
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
74
|
-
workpiece: "workpiece";
|
|
75
74
|
artifact: "artifact";
|
|
75
|
+
workpiece: "workpiece";
|
|
76
76
|
surface: "surface";
|
|
77
77
|
}>>;
|
|
78
78
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -110,8 +110,8 @@ declare const ProjectedFieldSchema: z.ZodObject<{
|
|
|
110
110
|
}>>;
|
|
111
111
|
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
112
112
|
link: "link";
|
|
113
|
-
full: "full";
|
|
114
113
|
summary: "summary";
|
|
114
|
+
full: "full";
|
|
115
115
|
}>>;
|
|
116
116
|
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
117
117
|
title: "title";
|
|
@@ -138,8 +138,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
|
|
|
138
138
|
comment: "comment";
|
|
139
139
|
}>;
|
|
140
140
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
141
|
-
workpiece: "workpiece";
|
|
142
141
|
artifact: "artifact";
|
|
142
|
+
workpiece: "workpiece";
|
|
143
143
|
}>>;
|
|
144
144
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
145
145
|
created: "created";
|
|
@@ -156,8 +156,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
|
|
|
156
156
|
}>>;
|
|
157
157
|
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
158
158
|
link: "link";
|
|
159
|
-
full: "full";
|
|
160
159
|
summary: "summary";
|
|
160
|
+
full: "full";
|
|
161
161
|
}>>;
|
|
162
162
|
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
163
163
|
title: "title";
|
|
@@ -171,8 +171,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
|
|
|
171
171
|
hostRelation: z.ZodString;
|
|
172
172
|
as: z.ZodOptional<z.ZodEnum<{
|
|
173
173
|
link: "link";
|
|
174
|
-
full: "full";
|
|
175
174
|
summary: "summary";
|
|
175
|
+
full: "full";
|
|
176
176
|
}>>;
|
|
177
177
|
}, z.core.$strip>, z.ZodObject<{
|
|
178
178
|
kind: z.ZodLiteral<"entry">;
|
|
@@ -197,8 +197,8 @@ declare const ArtifactMaterializationRefSchema: z.ZodObject<{
|
|
|
197
197
|
externalId: z.ZodString;
|
|
198
198
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
199
199
|
surfaceRole: z.ZodEnum<{
|
|
200
|
-
workpiece: "workpiece";
|
|
201
200
|
artifact: "artifact";
|
|
201
|
+
workpiece: "workpiece";
|
|
202
202
|
}>;
|
|
203
203
|
lastSyncedRevision: z.ZodOptional<z.ZodString>;
|
|
204
204
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -273,8 +273,8 @@ declare function defineSurfaceBinding(options: DefineSurfaceBindingOptions): Sur
|
|
|
273
273
|
*/
|
|
274
274
|
declare const ArtifactViewLevelSchema: z.ZodEnum<{
|
|
275
275
|
link: "link";
|
|
276
|
-
full: "full";
|
|
277
276
|
summary: "summary";
|
|
277
|
+
full: "full";
|
|
278
278
|
}>;
|
|
279
279
|
/** Artifact view detail level. */
|
|
280
280
|
type ArtifactViewLevel$1 = z.infer<typeof ArtifactViewLevelSchema>;
|
|
@@ -695,8 +695,8 @@ declare const ArtifactViewParamsSchema: z.ZodType<Record<string, unknown>, Recor
|
|
|
695
695
|
declare const ArtifactViewRequestSchema: z.ZodObject<{
|
|
696
696
|
level: z.ZodEnum<{
|
|
697
697
|
link: "link";
|
|
698
|
-
full: "full";
|
|
699
698
|
summary: "summary";
|
|
699
|
+
full: "full";
|
|
700
700
|
}>;
|
|
701
701
|
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
702
702
|
}, z.core.$strip>;
|
|
@@ -726,8 +726,8 @@ declare const ArtifactViewAffordanceDeclarationSchema: z.ZodDiscriminatedUnion<[
|
|
|
726
726
|
hostRelation: z.ZodString;
|
|
727
727
|
as: z.ZodOptional<z.ZodEnum<{
|
|
728
728
|
link: "link";
|
|
729
|
-
full: "full";
|
|
730
729
|
summary: "summary";
|
|
730
|
+
full: "full";
|
|
731
731
|
}>>;
|
|
732
732
|
}, z.core.$strip>, z.ZodObject<{
|
|
733
733
|
kind: z.ZodLiteral<"entry">;
|