@makaio/framework 1.0.0-dev-1788258714339 → 1.0.0-dev-1788721567504

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.
Files changed (115) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/attempt-record-codec-BORASgzn.mjs +1 -0
  3. package/dist/authority-state-bootstrap-eitx6Ukn.mjs +1 -0
  4. package/dist/bus/index.d.mts +19 -19
  5. package/dist/bus/index.mjs +1 -1
  6. package/dist/capabilities-DEvmD9VJ.mjs +1 -0
  7. package/dist/{context-resolution-CW4OtPrS.d.mts → context-resolution-CoKFKIqz.d.mts} +5 -5
  8. package/dist/contracts/adapter/index.d.mts +1 -1
  9. package/dist/contracts/artifact/index.d.mts +2 -2
  10. package/dist/contracts/canonical-model/index.d.mts +1 -1
  11. package/dist/contracts/capabilities/index.d.mts +2 -2
  12. package/dist/contracts/capabilities/index.mjs +1 -1
  13. package/dist/contracts/client/index.d.mts +1 -1
  14. package/dist/contracts/extension/index.d.mts +3 -3
  15. package/dist/contracts/harness/index.d.mts +1 -1
  16. package/dist/contracts/index.d.mts +618 -124
  17. package/dist/contracts/index.mjs +1 -1
  18. package/dist/contracts/materialization/index.d.mts +3 -3
  19. package/dist/contracts/session/index.d.mts +2 -2
  20. package/dist/contracts/shared/index.d.mts +1 -1
  21. package/dist/contracts/variant/index.d.mts +1 -1
  22. package/dist/contracts/worker/index.d.mts +2 -0
  23. package/dist/contracts/worker/index.mjs +1 -0
  24. package/dist/contracts/workflow/index.d.mts +2 -2
  25. package/dist/contracts/workflow/index.mjs +1 -1
  26. package/dist/{execution-attempt-repository-BJ2W6wwx.d.mts → execution-attempt-repository-CRdrgou3.d.mts} +869 -58
  27. package/dist/{index-jxPncqWZ2.d.mts → index--Ws52sWV2.d.mts} +4 -4
  28. package/dist/{index-OG402CBI.d.mts → index-37_b--BH.d.mts} +85 -85
  29. package/dist/{index-B-3I98nw.d.mts → index-AdcDBUnc.d.mts} +95 -95
  30. package/dist/{index-CMekqu_D.d.mts → index-BJdkVFX9.d.mts} +327 -63
  31. package/dist/{index-4KJ6IDE7.d.mts → index-BKIxdzIw.d.mts} +5 -5
  32. package/dist/{index-CPi0UpRh.d.mts → index-B_8bA2JW.d.mts} +1 -1
  33. package/dist/{index-CmwAJ8-5.d.mts → index-CFI6FxC7.d.mts} +1 -1
  34. package/dist/{index-BqlCDBfc.d.mts → index-CVcG4Q3X.d.mts} +5 -5
  35. package/dist/{index-DXqG0r3o.d.mts → index-CxwqnZpT.d.mts} +62 -62
  36. package/dist/{index-BkbnC65b.d.mts → index-CyWGSxrs.d.mts} +291 -291
  37. package/dist/{index-B9V3T4EQ.d.mts → index-D037TVsm.d.mts} +4 -4
  38. package/dist/{index-C146Eq_J.d.mts → index-D1wTWSLR.d.mts} +327 -327
  39. package/dist/{index-DWkFkvRn2.d.mts → index-D8D-yibS2.d.mts} +3 -3
  40. package/dist/{index-Bqk0pJBQ2.d.mts → index-DBD_oFEt2.d.mts} +1 -1
  41. package/dist/{index-DJ2KgJDJ2.d.mts → index-DV38-klA2.d.mts} +59 -83
  42. package/dist/{index-C3lu_fy5.d.mts → index-I5a37JCm.d.mts} +76 -76
  43. package/dist/{namespace-l-HG1rLF.d.mts → namespace-Bo94cenp.d.mts} +136 -136
  44. package/dist/{namespace-DknCutQZ.d.mts → namespace-CPm9dhi2.d.mts} +2 -2
  45. package/dist/{namespace-BNp7n_gu.d.mts → namespace-CsnrP8AD.d.mts} +3 -3
  46. package/dist/{namespace-BGRHcrmp.d.mts → namespace-CstawJgN.d.mts} +2 -2
  47. package/dist/{namespace-C06lJSuj.d.mts → namespace-K23m4b0n.d.mts} +6 -6
  48. package/dist/{package-BNFTUFLB.d.mts → package-DkZmsdCd.d.mts} +107 -30
  49. package/dist/package-UemD2NWn.mjs +7 -0
  50. package/dist/package.json +1 -1
  51. package/dist/runtime-node/index.d.mts +2 -2
  52. package/dist/runtime-node/index.mjs +24 -24
  53. package/dist/runtime-node/makaio-config.d.mts +2 -2
  54. package/dist/runtime-node/makaio-config.mjs +1 -1
  55. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  56. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  57. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  58. package/dist/runtime-node/workflow-worker/worker-entry.d.mts +49 -9
  59. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  60. package/dist/runtime-registration-client-BTtFpt_k.mjs +1 -0
  61. package/dist/{schemas-OWvBn7AH.d.mts → schemas-BCXvEWyF.d.mts} +4 -4
  62. package/dist/{schemas-Dd0po67F.d.mts → schemas-CJKHYluy.d.mts} +16 -16
  63. package/dist/{schemas-C1mxTfd7.d.mts → schemas-CenET9Cq.d.mts} +1 -1
  64. package/dist/{schemas-D7ScxLrf.d.mts → schemas-DTJtS14K.d.mts} +136 -136
  65. package/dist/services/adapter-runtime/index.d.mts +3 -3
  66. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  67. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  68. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  69. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  70. package/dist/services/agent-runtime/index.d.mts +2 -2
  71. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  72. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  73. package/dist/services/filesystem/namespace.d.mts +6 -6
  74. package/dist/services/filesystem/schemas.d.mts +3 -3
  75. package/dist/services/harness/index.d.mts +3 -3
  76. package/dist/services/index.d.mts +93 -93
  77. package/dist/services/provider-context/index.d.mts +1 -1
  78. package/dist/services/session/index.d.mts +2 -2
  79. package/dist/services/session/messages/namespace.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +12 -12
  81. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  82. package/dist/services/subagent-template/index.d.mts +2 -2
  83. package/dist/services/subagent-template/namespace.d.mts +1 -1
  84. package/dist/services/subagent-template/schemas.d.mts +1 -1
  85. package/dist/{transition-DXmCUq6w.d.mts → transition-DxsrTsn4.d.mts} +1 -1
  86. package/dist/{types-DcxBYlPA.d.mts → types-Czdm5op1.d.mts} +306 -306
  87. package/dist/ui-components/index.d.mts +4 -4
  88. package/dist/{view-builder-k82f5KFd.d.mts → view-builder-D-Wz_l_B.d.mts} +1 -1
  89. package/dist/worker-CLsRbzpk.mjs +1 -0
  90. package/dist/worker-DlRdLf2d.mjs +1 -0
  91. package/dist/workflow-BomH9DBB.mjs +1 -0
  92. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  93. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  94. package/dist/workflow-engine/index.d.mts +352 -62
  95. package/dist/workflow-engine/index.mjs +1 -1
  96. package/dist/workflow-engine/package.d.mts +1 -1
  97. package/dist/workflow-engine/package.mjs +1 -1
  98. package/dist/workflow-engine/testing/index.d.mts +83 -10
  99. package/dist/workflow-engine/testing/index.mjs +1 -1
  100. package/dist/workflow-engine/testing/sqlite.d.mts +3 -2
  101. package/dist/workflow-engine/testing/sqlite.mjs +107 -39
  102. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  103. package/dist/workflow-worker-DjUfKshi.mjs +1 -0
  104. package/package.json +4 -4
  105. package/dist/attempt-record-codec-BYfYkj4M.mjs +0 -1
  106. package/dist/authority-state-bootstrap-CLYus369.mjs +0 -1
  107. package/dist/await-trigger-Bkg2BQfg.mjs +0 -1
  108. package/dist/capabilities-BUwuA7XX.mjs +0 -1
  109. package/dist/contracts/worker-node/index.d.mts +0 -2
  110. package/dist/contracts/worker-node/index.mjs +0 -1
  111. package/dist/package-B01gmu75.mjs +0 -7
  112. package/dist/worker-node-CjuQb9hl.mjs +0 -1
  113. package/dist/worker-node-Dtf9ilsR.mjs +0 -1
  114. package/dist/workflow-C4mck_NW.mjs +0 -1
  115. package/dist/workflow-worker-aNbdgqml.mjs +0 -1
@@ -1,9 +1,9 @@
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-C1mxTfd7.mjs";
2
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-DknCutQZ.mjs";
3
- import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-Bqk0pJBQ2.mjs";
4
- import { p as BindingRecord } from "../schemas-OWvBn7AH.mjs";
5
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-D7ScxLrf.mjs";
6
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-l-HG1rLF.mjs";
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-CenET9Cq.mjs";
2
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-CPm9dhi2.mjs";
3
+ import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-DBD_oFEt2.mjs";
4
+ import { p as BindingRecord } from "../schemas-BCXvEWyF.mjs";
5
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-DTJtS14K.mjs";
6
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-Bo94cenp.mjs";
7
7
  import { t as CapabilityService } from "../capability-service-BW1-teFU.mjs";
8
8
  import { n as capabilityPackage, t as CapabilityToken } from "../index-DWBkiiXH.mjs";
9
9
  import { a as selectCodeExecutionProvider, c as createEffectiveExecutionSignal, d as CodeExecutionService, i as CodeExecutionSelectionFailureCode, l as CodeExecutionServiceToken, n as CodeExecutionProviderSelected, o as EffectiveExecutionSignal, r as CodeExecutionProviderSelection, s as EffectiveExecutionSignalOptions, t as CodeExecutionProviderRejected, u as codeExecutionPackage } from "../index-DHnSLGP4.mjs";
@@ -17,13 +17,13 @@ import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../
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-CPRQ4dWX.mjs";
18
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-BNzUyVwV.mjs";
19
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-B0yMCJW8.mjs";
20
- import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-CPi0UpRh.mjs";
20
+ import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-B_8bA2JW.mjs";
21
21
  import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-BRuHzhPo.mjs";
22
22
  import { g as sessions, u as agents } from "../schema-B3Pf7JP7.mjs";
23
23
  import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-DOezqDti.mjs";
24
24
  import { t as TurnStorageNamespace } from "../namespace-B0ftHlK3.mjs";
25
25
  import { n as TurnStorageSubjects } from "../namespace-CVFaZv8x.mjs";
26
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-BNp7n_gu.mjs";
26
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-CsnrP8AD.mjs";
27
27
  import { y as ArtifactSchemaRegistry } from "../packages-CxPMEg8D.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-BTEJfzjE.mjs";
29
29
  import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-BfV8U4XX.mjs";
@@ -35,8 +35,8 @@ 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-VzLAV0Yt.mjs";
36
36
  import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-Pe892GgN.mjs";
37
37
  import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-YmE8XCCL.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-Dd0po67F.mjs";
39
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-BGRHcrmp.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-CJKHYluy.mjs";
39
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-CstawJgN.mjs";
40
40
  import * as _$zod from "zod";
41
41
  import * as _$_makaio_core0 from "@makaio/framework/core";
42
42
  import { MakaioError } from "@makaio/framework/core";
@@ -1078,8 +1078,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1078
1078
  teardownCompleted: _$zod.ZodObject<{
1079
1079
  evidence: _$zod.ZodEnum<{
1080
1080
  unknown: "unknown";
1081
- exited: "exited";
1082
1081
  closed: "closed";
1082
+ exited: "exited";
1083
1083
  released: "released";
1084
1084
  detached: "detached";
1085
1085
  }>;
@@ -1095,8 +1095,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1095
1095
  config: _$zod.ZodNullable<_$zod.ZodObject<{
1096
1096
  description: _$zod.ZodOptional<_$zod.ZodString>;
1097
1097
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1098
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
1099
1098
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1099
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
1100
1100
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1101
1101
  label: _$zod.ZodString;
1102
1102
  url: _$zod.ZodString;
@@ -1120,8 +1120,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1120
1120
  configs: _$zod.ZodArray<_$zod.ZodObject<{
1121
1121
  description: _$zod.ZodOptional<_$zod.ZodString>;
1122
1122
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1123
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
1124
1123
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1124
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
1125
1125
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1126
1126
  label: _$zod.ZodString;
1127
1127
  url: _$zod.ZodString;
@@ -2731,8 +2731,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2731
2731
  config: _$zod.ZodObject<{
2732
2732
  description: _$zod.ZodOptional<_$zod.ZodString>;
2733
2733
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
2734
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
2735
2734
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
2735
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
2736
2736
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
2737
2737
  label: _$zod.ZodString;
2738
2738
  url: _$zod.ZodString;
@@ -2967,6 +2967,25 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2967
2967
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
2968
2968
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
2969
2969
  sessionId: _$zod.ZodString;
2970
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
2971
+ fullName: _$zod.ZodString;
2972
+ originalName: _$zod.ZodString;
2973
+ serverName: _$zod.ZodString;
2974
+ description: _$zod.ZodOptional<_$zod.ZodString>;
2975
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2976
+ exposureMode: _$zod.ZodEnum<{
2977
+ direct: "direct";
2978
+ discovery: "discovery";
2979
+ hidden: "hidden";
2980
+ }>;
2981
+ enabled: _$zod.ZodBoolean;
2982
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2983
+ discovery: "discovery";
2984
+ toolset: "toolset";
2985
+ }>>;
2986
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2987
+ exposed: _$zod.ZodBoolean;
2988
+ }, _$zod_v4_core0.$strip>>;
2970
2989
  servers: _$zod.ZodArray<_$zod.ZodObject<{
2971
2990
  name: _$zod.ZodString;
2972
2991
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -3007,25 +3026,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3007
3026
  discovery: "discovery";
3008
3027
  }>;
3009
3028
  }, _$zod_v4_core0.$strip>>;
3010
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
3011
- fullName: _$zod.ZodString;
3012
- originalName: _$zod.ZodString;
3013
- serverName: _$zod.ZodString;
3014
- description: _$zod.ZodOptional<_$zod.ZodString>;
3015
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3016
- exposureMode: _$zod.ZodEnum<{
3017
- direct: "direct";
3018
- discovery: "discovery";
3019
- hidden: "hidden";
3020
- }>;
3021
- enabled: _$zod.ZodBoolean;
3022
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3023
- discovery: "discovery";
3024
- toolset: "toolset";
3025
- }>>;
3026
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3027
- exposed: _$zod.ZodBoolean;
3028
- }, _$zod_v4_core0.$strip>>;
3029
3029
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
3030
3030
  fullName: _$zod.ZodString;
3031
3031
  originalName: _$zod.ZodString;
@@ -3064,6 +3064,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3064
3064
  env?: Record<string, string> | undefined;
3065
3065
  mcpSessionContext?: {
3066
3066
  sessionId: string;
3067
+ directTools: {
3068
+ fullName: string;
3069
+ originalName: string;
3070
+ serverName: string;
3071
+ inputSchema: Record<string, unknown>;
3072
+ exposureMode: "direct" | "discovery" | "hidden";
3073
+ enabled: boolean;
3074
+ exposed: boolean;
3075
+ description?: string | undefined;
3076
+ enabledBy?: "discovery" | "toolset" | undefined;
3077
+ enabledAt?: number | undefined;
3078
+ }[];
3067
3079
  servers: {
3068
3080
  name: string;
3069
3081
  transport: {
@@ -3093,18 +3105,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3093
3105
  };
3094
3106
  exposureMode: "direct" | "discovery";
3095
3107
  }[];
3096
- directTools: {
3097
- fullName: string;
3098
- originalName: string;
3099
- serverName: string;
3100
- inputSchema: Record<string, unknown>;
3101
- exposureMode: "direct" | "discovery" | "hidden";
3102
- enabled: boolean;
3103
- exposed: boolean;
3104
- description?: string | undefined;
3105
- enabledBy?: "discovery" | "toolset" | undefined;
3106
- enabledAt?: number | undefined;
3107
- }[];
3108
3108
  discoverableTools: {
3109
3109
  fullName: string;
3110
3110
  originalName: string;
@@ -3139,6 +3139,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3139
3139
  env?: Record<string, string> | undefined;
3140
3140
  mcpSessionContext?: {
3141
3141
  sessionId: string;
3142
+ directTools: {
3143
+ fullName: string;
3144
+ originalName: string;
3145
+ serverName: string;
3146
+ inputSchema: Record<string, unknown>;
3147
+ exposureMode: "direct" | "discovery" | "hidden";
3148
+ enabled: boolean;
3149
+ exposed: boolean;
3150
+ description?: string | undefined;
3151
+ enabledBy?: "discovery" | "toolset" | undefined;
3152
+ enabledAt?: number | undefined;
3153
+ }[];
3142
3154
  servers: {
3143
3155
  name: string;
3144
3156
  transport: {
@@ -3168,18 +3180,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3168
3180
  };
3169
3181
  exposureMode: "direct" | "discovery";
3170
3182
  }[];
3171
- directTools: {
3172
- fullName: string;
3173
- originalName: string;
3174
- serverName: string;
3175
- inputSchema: Record<string, unknown>;
3176
- exposureMode: "direct" | "discovery" | "hidden";
3177
- enabled: boolean;
3178
- exposed: boolean;
3179
- description?: string | undefined;
3180
- enabledBy?: "discovery" | "toolset" | undefined;
3181
- enabledAt?: number | undefined;
3182
- }[];
3183
3183
  discoverableTools: {
3184
3184
  fullName: string;
3185
3185
  originalName: string;
@@ -3211,6 +3211,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3211
3211
  env?: Record<string, string> | undefined;
3212
3212
  mcpSessionContext?: {
3213
3213
  sessionId: string;
3214
+ directTools: {
3215
+ fullName: string;
3216
+ originalName: string;
3217
+ serverName: string;
3218
+ inputSchema: Record<string, unknown>;
3219
+ exposureMode: "direct" | "discovery" | "hidden";
3220
+ enabled: boolean;
3221
+ exposed: boolean;
3222
+ description?: string | undefined;
3223
+ enabledBy?: "discovery" | "toolset" | undefined;
3224
+ enabledAt?: number | undefined;
3225
+ }[];
3214
3226
  servers: {
3215
3227
  name: string;
3216
3228
  transport: {
@@ -3240,18 +3252,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3240
3252
  };
3241
3253
  exposureMode: "direct" | "discovery";
3242
3254
  }[];
3243
- directTools: {
3244
- fullName: string;
3245
- originalName: string;
3246
- serverName: string;
3247
- inputSchema: Record<string, unknown>;
3248
- exposureMode: "direct" | "discovery" | "hidden";
3249
- enabled: boolean;
3250
- exposed: boolean;
3251
- description?: string | undefined;
3252
- enabledBy?: "discovery" | "toolset" | undefined;
3253
- enabledAt?: number | undefined;
3254
- }[];
3255
3255
  discoverableTools: {
3256
3256
  fullName: string;
3257
3257
  originalName: string;
@@ -3286,6 +3286,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3286
3286
  env?: Record<string, string> | undefined;
3287
3287
  mcpSessionContext?: {
3288
3288
  sessionId: string;
3289
+ directTools: {
3290
+ fullName: string;
3291
+ originalName: string;
3292
+ serverName: string;
3293
+ inputSchema: Record<string, unknown>;
3294
+ exposureMode: "direct" | "discovery" | "hidden";
3295
+ enabled: boolean;
3296
+ exposed: boolean;
3297
+ description?: string | undefined;
3298
+ enabledBy?: "discovery" | "toolset" | undefined;
3299
+ enabledAt?: number | undefined;
3300
+ }[];
3289
3301
  servers: {
3290
3302
  name: string;
3291
3303
  transport: {
@@ -3315,18 +3327,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3315
3327
  };
3316
3328
  exposureMode: "direct" | "discovery";
3317
3329
  }[];
3318
- directTools: {
3319
- fullName: string;
3320
- originalName: string;
3321
- serverName: string;
3322
- inputSchema: Record<string, unknown>;
3323
- exposureMode: "direct" | "discovery" | "hidden";
3324
- enabled: boolean;
3325
- exposed: boolean;
3326
- description?: string | undefined;
3327
- enabledBy?: "discovery" | "toolset" | undefined;
3328
- enabledAt?: number | undefined;
3329
- }[];
3330
3330
  discoverableTools: {
3331
3331
  fullName: string;
3332
3332
  originalName: string;
@@ -3363,9 +3363,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3363
3363
  status: _$zod.ZodEnum<{
3364
3364
  completed: "completed";
3365
3365
  cancelled: "cancelled";
3366
- failed: "failed";
3367
3366
  running: "running";
3368
3367
  waiting_input: "waiting_input";
3368
+ failed: "failed";
3369
3369
  }>;
3370
3370
  result: _$zod.ZodOptional<_$zod.ZodString>;
3371
3371
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5096,8 +5096,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5096
5096
  id: _$zod.ZodString;
5097
5097
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5098
5098
  enabled: _$zod.ZodBoolean;
5099
- extensionName: _$zod.ZodString;
5100
5099
  scope: _$zod.ZodString;
5100
+ extensionName: _$zod.ZodString;
5101
5101
  }, _$zod_v4_core0.$strip>;
5102
5102
  }, _$zod_v4_core0.$strip>;
5103
5103
  response: _$zod.ZodObject<{
@@ -5145,8 +5145,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5145
5145
  path: _$zod.ZodString;
5146
5146
  kind: _$zod.ZodEnum<{
5147
5147
  create: "create";
5148
- change: "change";
5149
5148
  delete: "delete";
5149
+ change: "change";
5150
5150
  }>;
5151
5151
  }, _$zod_v4_core0.$strip>;
5152
5152
  batch: _$zod.ZodObject<{
@@ -5154,8 +5154,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5154
5154
  path: _$zod.ZodString;
5155
5155
  kind: _$zod.ZodEnum<{
5156
5156
  create: "create";
5157
- change: "change";
5158
5157
  delete: "delete";
5158
+ change: "change";
5159
5159
  }>;
5160
5160
  }, _$zod_v4_core0.$strip>>;
5161
5161
  }, _$zod_v4_core0.$strip>;
@@ -5347,7 +5347,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5347
5347
  name: _$zod.ZodString;
5348
5348
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
5349
5349
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
5350
- credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5351
5350
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
5352
5351
  "file.read": "file.read";
5353
5352
  "file.write": "file.write";
@@ -5369,6 +5368,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5369
5368
  "always-ask": "always-ask";
5370
5369
  "full-access": "full-access";
5371
5370
  }>>>;
5371
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5372
5372
  approvalPolicy: _$zod.ZodEnum<{
5373
5373
  reject: "reject";
5374
5374
  "always-ask": "always-ask";
@@ -7653,9 +7653,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7653
7653
  status: _$zod.ZodEnum<{
7654
7654
  completed: "completed";
7655
7655
  cancelled: "cancelled";
7656
- failed: "failed";
7657
7656
  running: "running";
7658
7657
  waiting_input: "waiting_input";
7658
+ failed: "failed";
7659
7659
  }>;
7660
7660
  result: _$zod.ZodOptional<_$zod.ZodString>;
7661
7661
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -7731,17 +7731,17 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7731
7731
  request: _$zod.ZodObject<{
7732
7732
  name: _$zod.ZodString;
7733
7733
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
7734
- model: _$zod.ZodOptional<_$zod.ZodString>;
7734
+ contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
7735
+ fork: "fork";
7736
+ fresh: "fresh";
7737
+ }>>;
7738
+ adapterName: _$zod.ZodString;
7735
7739
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
7740
+ model: _$zod.ZodOptional<_$zod.ZodString>;
7736
7741
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
7737
7742
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7738
7743
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7739
7744
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7740
- adapterName: _$zod.ZodString;
7741
- contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
7742
- fork: "fork";
7743
- fresh: "fresh";
7744
- }>>;
7745
7745
  }, _$zod_v4_core0.$strip>;
7746
7746
  response: _$zod.ZodObject<{
7747
7747
  id: _$zod.ZodString;
@@ -1,2 +1,2 @@
1
- import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, i as ProviderContextActivationTransaction, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, o as prepareProviderContextActivation, r as ProviderContextActivationRollbackError, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../../index-CPi0UpRh.mjs";
1
+ import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, i as ProviderContextActivationTransaction, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, o as prepareProviderContextActivation, r as ProviderContextActivationRollbackError, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../../index-B_8bA2JW.mjs";
2
2
  export { ProviderContextActivationError, ProviderContextActivationErrorCode, ProviderContextActivationRollbackError, ProviderContextActivationTransaction, RuntimeProviderContextResolutionError, RuntimeProviderContextResolutionErrorCode, activateProviderContext, prepareProviderContextActivation, resolveRuntimeProviderContext };
@@ -1,10 +1,10 @@
1
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-BNzUyVwV.mjs";
2
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-B0yMCJW8.mjs";
3
- import { l as resolveRuntimeProviderContext } from "../../index-CPi0UpRh.mjs";
3
+ import { l as resolveRuntimeProviderContext } from "../../index-B_8bA2JW.mjs";
4
4
  import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-BRuHzhPo.mjs";
5
5
  import { _ as sessionsDual, c as adapterSessionClaims, d as agentsDual, g as sessions, l as adapterSessionClaimsDual, u as agents } from "../../schema-B3Pf7JP7.mjs";
6
6
  import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-DOezqDti.mjs";
7
7
  import { t as TurnStorageNamespace } from "../../namespace-B0ftHlK3.mjs";
8
8
  import { n as TurnStorageSubjects } from "../../namespace-CVFaZv8x.mjs";
9
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-BNp7n_gu.mjs";
9
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-CsnrP8AD.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-BNp7n_gu.mjs";
1
+ import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-CsnrP8AD.mjs";
2
2
  export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
@@ -512,17 +512,17 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
512
512
  request: _$zod.ZodObject<{
513
513
  name: _$zod.ZodString;
514
514
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
515
- model: _$zod.ZodOptional<_$zod.ZodString>;
515
+ contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
516
+ fork: "fork";
517
+ fresh: "fresh";
518
+ }>>;
519
+ adapterName: _$zod.ZodString;
516
520
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
521
+ model: _$zod.ZodOptional<_$zod.ZodString>;
517
522
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
518
523
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
519
524
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
520
525
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
521
- adapterName: _$zod.ZodString;
522
- contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
523
- fork: "fork";
524
- fresh: "fresh";
525
- }>>;
526
526
  }, _$zod_v4_core0.$strip>;
527
527
  response: _$zod.ZodObject<{
528
528
  id: _$zod.ZodString;
@@ -603,17 +603,17 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
603
603
  request: _$zod.ZodObject<{
604
604
  name: _$zod.ZodString;
605
605
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
606
- model: _$zod.ZodOptional<_$zod.ZodString>;
606
+ contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
607
+ fork: "fork";
608
+ fresh: "fresh";
609
+ }>>;
610
+ adapterName: _$zod.ZodString;
607
611
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
612
+ model: _$zod.ZodOptional<_$zod.ZodString>;
608
613
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
609
614
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
610
615
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
611
616
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
612
- adapterName: _$zod.ZodString;
613
- contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
614
- fork: "fork";
615
- fresh: "fresh";
616
- }>>;
617
617
  }, _$zod_v4_core0.$strip>;
618
618
  response: _$zod.ZodObject<{
619
619
  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
- extensionName: z.ZodString;
22
21
  scope: z.ZodString;
22
+ extensionName: 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
- extensionName: z.ZodString;
67
66
  scope: z.ZodString;
67
+ extensionName: 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
- extensionName: z.ZodString;
135
134
  scope: z.ZodString;
135
+ extensionName: 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-Dd0po67F.mjs";
2
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-BGRHcrmp.mjs";
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-CJKHYluy.mjs";
2
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-CstawJgN.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 { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-BGRHcrmp.mjs";
1
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-CstawJgN.mjs";
2
2
  export { SubagentTemplateKernelNamespace, SubagentTemplateSubjects };
@@ -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-Dd0po67F.mjs";
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-CJKHYluy.mjs";
2
2
  export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -1,4 +1,4 @@
1
- import { q as ArtifactRevision$1 } from "./context-resolution-CW4OtPrS.mjs";
1
+ import { q as ArtifactRevision$1 } from "./context-resolution-CoKFKIqz.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value-DPqb-SJ8.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";