@makaio/framework 1.0.0-dev-1783355411417 → 1.0.0-dev-1783477169057

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 (153) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-Lx6K7yQS.mjs +1 -0
  3. package/dist/adapter-subsystem/index.mjs +1 -1
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/index.d.mts +219 -40
  6. package/dist/adapters/index.mjs +6 -6
  7. package/dist/adapters/node.d.mts +1 -1
  8. package/dist/adapters/node.mjs +4 -4
  9. package/dist/{base-orchestrator-BNysGvaM.d.mts → base-orchestrator-J1WKAUkF.d.mts} +32 -3
  10. package/dist/bus/index.d.mts +22 -22
  11. package/dist/bus/index.mjs +1 -1
  12. package/dist/client-l1Rq5p6X.mjs +1 -0
  13. package/dist/clients/index.d.mts +30 -0
  14. package/dist/clients/index.mjs +2 -2
  15. package/dist/contracts/adapter/index.d.mts +2 -2
  16. package/dist/contracts/adapter/index.mjs +1 -1
  17. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  18. package/dist/contracts/adapter/schemas/session-lineage.mjs +1 -1
  19. package/dist/contracts/artifact/index.d.mts +1 -1
  20. package/dist/contracts/canonical-model/index.d.mts +1 -1
  21. package/dist/contracts/client/index.d.mts +2 -2
  22. package/dist/contracts/client/index.mjs +1 -1
  23. package/dist/contracts/config/index.d.mts +12 -12
  24. package/dist/contracts/extension/index.d.mts +3 -3
  25. package/dist/contracts/facet/index.d.mts +1 -1
  26. package/dist/contracts/harness/index.d.mts +1 -1
  27. package/dist/contracts/index.d.mts +454 -276
  28. package/dist/contracts/index.mjs +1 -1
  29. package/dist/contracts/materialization/index.d.mts +3 -3
  30. package/dist/contracts/provider/index.d.mts +1 -1
  31. package/dist/contracts/session/index.d.mts +3 -3
  32. package/dist/contracts/session/index.mjs +1 -1
  33. package/dist/contracts/shared/index.d.mts +1 -1
  34. package/dist/contracts/skill/index.d.mts +1 -1
  35. package/dist/contracts/variant/index.d.mts +1 -1
  36. package/dist/contracts/workflow/index.d.mts +2 -2
  37. package/dist/{definition-b9jyJqPD.d.mts → definition-DePb3ke-.d.mts} +1 -1
  38. package/dist/drizzle/0023_m_mr9gc37m.sql +1 -0
  39. package/dist/drizzle/meta/_journal.json +7 -0
  40. package/dist/handlers-B74FvKlA.mjs +57 -0
  41. package/dist/hooks/index.d.mts +19 -2
  42. package/dist/{identity-BarL3JYI.mjs → identity-DC3Pk0ps.mjs} +1 -1
  43. package/dist/{index-BwGfdbI0.d.mts → index-2fK9iSHI.d.mts} +9 -9
  44. package/dist/{index-D7rWAEY0.d.mts → index-B-6DtLLz.d.mts} +1 -1
  45. package/dist/{index-4eP9DRL_.d.mts → index-B3fjN5HX.d.mts} +7 -7
  46. package/dist/{index-O08Q2ikz.d.mts → index-BMbmoarE.d.mts} +8 -8
  47. package/dist/{index-DV4nRk0h.d.mts → index-BX1MxwFr.d.mts} +28 -28
  48. package/dist/{index-CqCe7Phc.d.mts → index-BcwOnvUh.d.mts} +6 -6
  49. package/dist/{index-D6aAzr32.d.mts → index-BeouVICp.d.mts} +36 -36
  50. package/dist/{index-DQYj8-53.d.mts → index-BjO4Zkap.d.mts} +1 -1
  51. package/dist/{index-B5w-0Gg9.d.mts → index-Bl42SCEI.d.mts} +8 -8
  52. package/dist/{index-BYfSAJRC.d.mts → index-BvTd61i5.d.mts} +151 -29
  53. package/dist/{index-3X0368CL.d.mts → index-CA-AJbq6.d.mts} +4 -4
  54. package/dist/{index-C5C1tk9f.d.mts → index-CQQcnpev.d.mts} +41 -41
  55. package/dist/{index-BKZhnb2B.d.mts → index-C_xQM96Y.d.mts} +802 -422
  56. package/dist/{index-31vR1sxk.d.mts → index-CwFSL4xI.d.mts} +144 -21
  57. package/dist/{index-WHUV7neB.d.mts → index-DMz-2ACU.d.mts} +105 -105
  58. package/dist/{index-3J0HZlPH.d.mts → index-DScUb-hF.d.mts} +334 -13
  59. package/dist/{index-DEzdNQum.d.mts → index-Di84JjS0.d.mts} +2 -2
  60. package/dist/{index-DvHYpi-J.d.mts → index-Dv4oGVZK.d.mts} +1246 -397
  61. package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
  62. package/dist/{index-D9-vOJvZ.d.mts → index-h5go5Dtd.d.mts} +1 -1
  63. package/dist/{index-DLNRgZPo2.d.mts → index-j_X5xefv2.d.mts} +26 -26
  64. package/dist/{index-C6Ys8pxt.d.mts → index-uM4KZopE.d.mts} +9 -9
  65. package/dist/kernel/extension/index.d.mts +1 -1
  66. package/dist/kernel/index.d.mts +2 -2
  67. package/dist/kernel/observability/index.d.mts +1 -1
  68. package/dist/{namespace-j7vFsmYL.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
  69. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-6sIu5nBI2.d.mts} +2 -2
  70. package/dist/{namespace-B3ol3pc-.d.mts → namespace-BigVYQyx.d.mts} +12 -0
  71. package/dist/{namespace-DmqoDDRD.d.mts → namespace-Boh42UoL.d.mts} +66 -22
  72. package/dist/{namespace-CfvtDD_U.d.mts → namespace-COEUMuHL.d.mts} +156 -156
  73. package/dist/{namespace-B4cV_pk3.d.mts → namespace-D94HrTtq.d.mts} +58 -58
  74. package/dist/{namespace-DhDY0juT.d.mts → namespace-OLAh9wHU.d.mts} +375 -27
  75. package/dist/{namespace-Bm77p82L.d.mts → namespace-TPbegIMi.d.mts} +27 -27
  76. package/dist/{package-MmQvNJ3u.d.mts → package-B6mEMD8r.d.mts} +5 -0
  77. package/dist/{package-BmRhhi-3.mjs → package-BQn_RTo7.mjs} +1 -1
  78. package/dist/package.json +1 -1
  79. package/dist/{schema-DLNBajAV.d.mts → schema-B5vHi7Uu.d.mts} +28 -1
  80. package/dist/{schemas-CoFCV42v.d.mts → schemas-CDBn9MTz.d.mts} +156 -156
  81. package/dist/schemas-CkOigLAT.mjs +1 -0
  82. package/dist/{schemas-lnE9YoG7.d.mts → schemas-CscdPqCt.d.mts} +3 -3
  83. package/dist/{schemas-DMMWmWjq.d.mts → schemas-D512XweP.d.mts} +4 -4
  84. package/dist/{schemas-DuuVuhHX2.d.mts → schemas-DOV4UouN2.d.mts} +13 -13
  85. package/dist/{schemas-DmGRSeIq.d.mts → schemas-t6h9oSct.d.mts} +28 -1
  86. package/dist/services/adapter-runtime/index.d.mts +4 -4
  87. package/dist/services/adapter-runtime/index.mjs +1 -1
  88. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  89. package/dist/services/adapter-runtime/schemas.d.mts +2 -2
  90. package/dist/services/adapter-runtime/schemas.mjs +1 -1
  91. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  92. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  93. package/dist/services/agent-runtime/index.d.mts +2 -2
  94. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  95. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  96. package/dist/services/context-rules/index.d.mts +8 -8
  97. package/dist/services/execution-target/index.d.mts +1 -1
  98. package/dist/services/filesystem/namespace.d.mts +12 -12
  99. package/dist/services/filesystem/schemas.d.mts +6 -6
  100. package/dist/services/git/namespace.d.mts +2 -2
  101. package/dist/services/git/schemas.d.mts +1 -1
  102. package/dist/services/harness/index.d.mts +3 -3
  103. package/dist/services/index.d.mts +147 -140
  104. package/dist/services/index.mjs +1 -1
  105. package/dist/services/log-import/browser.d.mts +2 -2
  106. package/dist/services/log-import/index.d.mts +15 -2
  107. package/dist/services/log-import/index.mjs +2 -2
  108. package/dist/services/log-import/log-import.d.mts +1 -1
  109. package/dist/services/log-import/namespace.d.mts +2 -2
  110. package/dist/services/log-import/schemas.d.mts +1 -1
  111. package/dist/services/session/handlers/index.d.mts +1 -1
  112. package/dist/services/session/handlers/index.mjs +1 -1
  113. package/dist/services/session/index.d.mts +7 -7
  114. package/dist/services/session/index.mjs +1 -1
  115. package/dist/services/session/messages/namespace.d.mts +1 -1
  116. package/dist/services/session/session-events/namespace.d.mts +1 -1
  117. package/dist/services/session/storage/namespace.d.mts +1 -1
  118. package/dist/services/session/storage/schema.d.mts +1 -1
  119. package/dist/services/session/storage/schema.mjs +1 -1
  120. package/dist/services/session/testing/index.mjs +3 -2
  121. package/dist/services/session-editor/index.d.mts +1 -1
  122. package/dist/services/settings/namespace.d.mts +10 -10
  123. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  124. package/dist/services/subagent-template/index.d.mts +2 -2
  125. package/dist/services/subagent-template/namespace.d.mts +1 -1
  126. package/dist/services/subagent-template/schemas.d.mts +1 -1
  127. package/dist/services/tool-approval/index.mjs +1 -1
  128. package/dist/services/tools/index.mjs +1 -1
  129. package/dist/services/tray-menu/index.d.mts +2 -2
  130. package/dist/services/tray-menu/namespace.d.mts +1 -1
  131. package/dist/services/tray-menu/schemas.d.mts +1 -1
  132. package/dist/session-CoGaTin6.mjs +69 -0
  133. package/dist/session-Dp7z5N1d.mjs +1 -0
  134. package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-C1M7-O3C.d.mts} +3 -3
  135. package/dist/{tool-approval-service-MU_DmJsf.mjs → tool-approval-service-BNXgr-az.mjs} +1 -1
  136. package/dist/tools-BaO4GYj0.mjs +1 -0
  137. package/dist/{transition-Dq41YCkc.d.mts → transition-Bbjlwv5K.d.mts} +1 -1
  138. package/dist/{types-BMS6yfLS.d.mts → types-BNW5n6qm.d.mts} +1 -1
  139. package/dist/{types-BMlzmWp6.d.mts → types-CNkx2awa.d.mts} +12 -1
  140. package/dist/{types-Cse8s_cD.d.mts → types-D7W0ntGr.d.mts} +45 -18
  141. package/dist/{types-C76EP81O.d.mts → types-jruUn6oW.d.mts} +694 -282
  142. package/dist/workflow-engine/index.d.mts +41 -41
  143. package/dist/workflow-engine/index.mjs +1 -1
  144. package/dist/workflow-engine/package.d.mts +1 -1
  145. package/dist/workflow-engine/package.mjs +1 -1
  146. package/package.json +1 -1
  147. package/dist/adapter-BRxCc72E.mjs +0 -1
  148. package/dist/client-BgUjVbXX.mjs +0 -1
  149. package/dist/handlers-v47Gbsr1.mjs +0 -57
  150. package/dist/schemas-ftgVeWIG.mjs +0 -1
  151. package/dist/session-CKWfn3oc.mjs +0 -1
  152. package/dist/session-DCbJwYEU.mjs +0 -69
  153. package/dist/tools-BrNm-een.mjs +0 -1
@@ -1,9 +1,9 @@
1
- import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../schemas-DmGRSeIq.mjs";
2
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-B3ol3pc-.mjs";
3
- import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-D9-vOJvZ.mjs";
4
- import { _ as BindingRecord } from "../index-D6aAzr32.mjs";
5
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CoFCV42v.mjs";
6
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-CfvtDD_U.mjs";
1
+ import { c as ResolveIdResponse, d as ResolveNameRequestSchema, f as ResolveNameResponse, l as ResolveIdResponseSchema, o as ResolveIdRequest, p as ResolveNameResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveNameRequest } from "../schemas-t6h9oSct.mjs";
2
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-BigVYQyx.mjs";
3
+ import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-h5go5Dtd.mjs";
4
+ import { _ as BindingRecord } from "../index-BeouVICp.mjs";
5
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CDBn9MTz.mjs";
6
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-COEUMuHL.mjs";
7
7
  import { t as CapabilityService } from "../index-C4nStEdA.mjs";
8
8
  import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-CQ8uza7o.mjs";
9
9
  import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-DKncXGnb.mjs";
@@ -12,27 +12,27 @@ import { n as CompressionSubjects, t as CompressionNamespace } from "../namespac
12
12
  import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-Bo78h9e3.mjs";
13
13
  import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-D4zaFE2p.mjs";
14
14
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-65uwTpbg.mjs";
15
- import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-CqCe7Phc.mjs";
16
- import { $t as resolveAdapterId, A as registerMemoryTurnStorage, At as FallbackRuntimeOptions, Bt as registerResumeHandler, C as messages, Ct as registerMemorySessionStorage, D as SelectTurn, Dt as createSessionExtensionContext, E as InsertTurn, Et as SessionExtensionContextImpl, F as importCursorsDual, Ft as registerListActionsHandler, Gt as buildTurnInitiator, Ht as AgentContextState, It as registerBuiltInActions, Jt as ensureAgentCwd, Kt as RecoveryConfig, Lt as resetBuiltInActionsRegistration, M as EmbeddingIndexManager, Mt as CONNECTOR_SWAP_DEFAULT_PIPELINE, N as registerDrizzleImportCursorStorage, Nt as normalizeSelectionString, O as turns, Ot as SessionBridge, P as importCursors, Pt as resolveAdapterNameById, Qt as buildRecoveryContext, Rt as actionRegistry, S as SelectMessage, St as registerDrizzleSessionStorage, T as registerDrizzleMessageStorage, Tt as AgentStorageSubjects, Ut as ContextWindowTrackerConfig, Vt as ContextWindowTracker, Wt as SessionContextWindowState, Xt as recoverAgent, Y as EventTransform, Yt as ensureAgentModel, Zt as verifyAndRecoverAgents, _ as messageRoutingDual, _t as mapRowToSession, a as kindToBranchKind, an as extractTextContent, at as sessionEvents, b as MessageRoutingSubjects, bt as registerDrizzleAgentStorage, c as registerSpawningToolCallResolver, cn as AdapterRegistry, ct as SessionPreviewMaps, d as MakaioSession, dn as registerCoreSessionServiceHandlers, dt as mapToSession, en as resolveExecutionTarget, f as MakaioSessionConfig, fn as MakaioSessionService, ft as SearchFilters, g as messageRouting, gt as fetchPreviewBySession, h as SelectMessageRouting, ht as fetchMessageCountsBySession, i as ContextAssemblyResult, in as resolveTargetAgents, it as SelectSessionEvent, j as registerDrizzleTurnStorage, jt as pickFallbackRuntimeOptions, k as turnsDual, kt as assembleForkContext, l as registerCompressLineageResolver, ln as ISessionOrchestrator, lt as fetchSessionPreviewMaps, m as InsertMessageRouting, mt as fetchAgentsBySession, n as buildSessionContext, nn as findTurnByAgent, nt as registerMemorySessionEventStorage, on as normalizeToBlocks, ot as sessionEventsDual, p as StartTurnOptions, pt as SearchSessionRow, qt as buildRecoveryContextWithPipeline, r as BuildContextOptions, rn as getOrCreateSession, rt as InsertSessionEvent, sn as TurnContextEnricher, t as getFullConversation, tn as resolveModelCapabilities, tt as registerDrizzleSessionEventStorage, u as registerParentResolver, un as SessionOrchestrator, ut as mapAgentsBySession, v as registerDrizzleMessageRoutingStorage, vt as parseForkTransforms, w as registerMemoryMessageStorage, wt as AgentStorageNamespace, x as InsertMessage, xt as registerMemoryAgentStorage, y as MessageRoutingNamespace, yt as registerFtsSearchHandler, zt as registerGetStatusCountsHandler } from "../index-3J0HZlPH.mjs";
17
- import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../index-BYfSAJRC.mjs";
15
+ import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-BcwOnvUh.mjs";
16
+ import { $t as ensureAgentCwd, A as SelectTurn, At as AgentStorageSubjects, Bt as registerListActionsHandler, C as MessageRoutingSubjects, Ct as parseForkTransforms, D as registerMemoryMessageStorage, Dt as registerDrizzleSessionStorage, E as messages, Et as registerMemoryAgentStorage, F as EmbeddingIndexManager, Ft as FallbackRuntimeOptions, Gt as registerResumeHandler, Ht as resetBuiltInActionsRegistration, I as registerDrizzleImportCursorStorage, It as pickFallbackRuntimeOptions, Jt as ContextWindowTrackerConfig, Kt as ContextWindowTracker, L as importCursors, Lt as CONNECTOR_SWAP_DEFAULT_PIPELINE, M as turnsDual, Mt as createSessionExtensionContext, N as registerMemoryTurnStorage, Nt as SessionBridge, O as registerDrizzleMessageStorage, Ot as registerMemorySessionStorage, P as registerDrizzleTurnStorage, Pt as assembleForkContext, Qt as buildRecoveryContextWithPipeline, R as importCursorsDual, Rt as normalizeSelectionString, S as MessageRoutingNamespace, St as mapRowToSession, T as SelectMessage, Tt as registerDrizzleAgentStorage, Ut as actionRegistry, Vt as registerBuiltInActions, Wt as registerGetStatusCountsHandler, Xt as buildTurnInitiator, Yt as SessionContextWindowState, Zt as RecoveryConfig, _ as InsertMessageRouting, _n as MakaioSessionService, _t as SearchFilters, a as buildSessionContext, an as resolveExecutionTarget, b as messageRoutingDual, bt as fetchMessageCountsBySession, c as kindToBranchKind, cn as getOrCreateSession, ct as InsertSessionEvent, d as registerSpawningToolCallResolver, dn as normalizeToBlocks, dt as sessionEventsDual, en as ensureAgentModel, et as EventTransform, f as registerCompressLineageResolver, fn as TurnContextEnricher, g as StartTurnOptions, gn as registerCoreSessionServiceHandlers, gt as mapToSession, h as MakaioSessionConfig, hn as SessionOrchestrator, ht as mapAgentsBySession, i as getFullConversation, in as resolveAdapterId, j as turns, jt as SessionExtensionContextImpl, k as InsertTurn, kt as AgentStorageNamespace, ln as resolveTargetAgents, lt as SelectSessionEvent, m as MakaioSession, mn as ISessionOrchestrator, mt as fetchSessionPreviewMaps, nn as verifyAndRecoverAgents, o as BuildContextOptions, on as resolveModelCapabilities, ot as registerDrizzleSessionEventStorage, p as registerParentResolver, pn as AdapterRegistry, pt as SessionPreviewMaps, qt as AgentContextState, rn as buildRecoveryContext, s as ContextAssemblyResult, sn as findTurnByAgent, st as registerMemorySessionEventStorage, tn as recoverAgent, un as extractTextContent, ut as sessionEvents, v as SelectMessageRouting, vt as SearchSessionRow, w as InsertMessage, wt as registerFtsSearchHandler, x as registerDrizzleMessageRoutingStorage, xt as fetchPreviewBySession, y as messageRouting, yt as fetchAgentsBySession, zt as resolveAdapterNameById } from "../index-DScUb-hF.mjs";
17
+ import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../index-BvTd61i5.mjs";
18
18
  import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-DtwGhFFQ.mjs";
19
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-DmqoDDRD.mjs";
20
- import { a as agents, s as sessions } from "../schema-DLNBajAV.mjs";
21
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-DhDY0juT.mjs";
19
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-Boh42UoL.mjs";
20
+ import { a as agents, s as sessions } from "../schema-B5vHi7Uu.mjs";
21
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-OLAh9wHU.mjs";
22
22
  import { t as TurnStorageNamespace } from "../namespace-D1_9WVCo.mjs";
23
23
  import { n as TurnStorageSubjects } from "../namespace-DAj_riOn.mjs";
24
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-Bm77p82L.mjs";
24
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-TPbegIMi.mjs";
25
25
  import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-Cr9lh21j.mjs";
26
26
  import { t as ToolApprovalService } from "../index-BvLXySoB2.mjs";
27
27
  import { t as TrayMenuService } from "../index-DUD7wikz2.mjs";
28
- import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-lnE9YoG7.mjs";
29
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-j7vFsmYL.mjs";
28
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-CscdPqCt.mjs";
29
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-3yGm4WF9.mjs";
30
30
  import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-OGIC4puQ.mjs";
31
31
  import { a as InternalPendingRequest, c as SubagentServiceToken, i as InputResolver, l as subagentServicePackage, n as TrackOptions, o as SpawnOptions, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as SubagentService } from "../index-C23g_M_J2.mjs";
32
32
  import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DWfo0wp4.mjs";
33
33
  import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-Di1A3DMm.mjs";
34
- import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-DuuVuhHX2.mjs";
35
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-D8P8Sxce2.mjs";
34
+ import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-DOV4UouN2.mjs";
35
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-6sIu5nBI2.mjs";
36
36
  import * as _$zod from "zod";
37
37
  import { z } from "zod";
38
38
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1320,6 +1320,12 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1320
1320
  adapterName: _$zod.ZodString;
1321
1321
  }, _$zod_v4_core0.$strict>;
1322
1322
  };
1323
+ getMachineId: {
1324
+ request: _$zod.ZodObject<{}, _$zod_v4_core0.$strict>;
1325
+ response: _$zod.ZodObject<{
1326
+ machineId: _$zod.ZodOptional<_$zod.ZodString>;
1327
+ }, _$zod_v4_core0.$strict>;
1328
+ };
1323
1329
  }>, _$_makaio_core0.BusNamespaceDefinition<"adapterSubsystem", {
1324
1330
  getAdapterConfig: {
1325
1331
  request: _$zod.ZodObject<{
@@ -1328,8 +1334,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1328
1334
  response: _$zod.ZodObject<{
1329
1335
  config: _$zod.ZodNullable<_$zod.ZodObject<{
1330
1336
  description: _$zod.ZodOptional<_$zod.ZodString>;
1331
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
1332
1337
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1338
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1333
1339
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1334
1340
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1335
1341
  label: _$zod.ZodString;
@@ -1353,8 +1359,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1353
1359
  response: _$zod.ZodObject<{
1354
1360
  configs: _$zod.ZodArray<_$zod.ZodObject<{
1355
1361
  description: _$zod.ZodOptional<_$zod.ZodString>;
1356
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
1357
1362
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1363
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1358
1364
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1359
1365
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1360
1366
  label: _$zod.ZodString;
@@ -1384,9 +1390,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1384
1390
  name: _$zod.ZodString;
1385
1391
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1386
1392
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1387
- disabled: "disabled";
1388
- enabled: "enabled";
1389
1393
  visible: "visible";
1394
+ enabled: "enabled";
1395
+ disabled: "disabled";
1390
1396
  }>>>;
1391
1397
  modelFilterMode: _$zod.ZodEnum<{
1392
1398
  allowlist: "allowlist";
@@ -1411,9 +1417,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1411
1417
  name: _$zod.ZodString;
1412
1418
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1413
1419
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1414
- disabled: "disabled";
1415
- enabled: "enabled";
1416
1420
  visible: "visible";
1421
+ enabled: "enabled";
1422
+ disabled: "disabled";
1417
1423
  }>>>;
1418
1424
  modelFilterMode: _$zod.ZodEnum<{
1419
1425
  allowlist: "allowlist";
@@ -1438,9 +1444,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1438
1444
  name: _$zod.ZodString;
1439
1445
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1440
1446
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1441
- disabled: "disabled";
1442
- enabled: "enabled";
1443
1447
  visible: "visible";
1448
+ enabled: "enabled";
1449
+ disabled: "disabled";
1444
1450
  }>>>;
1445
1451
  modelFilterMode: _$zod.ZodEnum<{
1446
1452
  allowlist: "allowlist";
@@ -1502,9 +1508,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1502
1508
  name: _$zod.ZodString;
1503
1509
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1504
1510
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1505
- disabled: "disabled";
1506
- enabled: "enabled";
1507
1511
  visible: "visible";
1512
+ enabled: "enabled";
1513
+ disabled: "disabled";
1508
1514
  }>>>;
1509
1515
  modelFilterMode: _$zod.ZodEnum<{
1510
1516
  allowlist: "allowlist";
@@ -1651,9 +1657,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1651
1657
  openai: _$zod.ZodOptional<_$zod.ZodString>;
1652
1658
  }, _$zod_v4_core0.$strip>>;
1653
1659
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1654
- disabled: "disabled";
1655
- enabled: "enabled";
1656
1660
  visible: "visible";
1661
+ enabled: "enabled";
1662
+ disabled: "disabled";
1657
1663
  }>>>;
1658
1664
  modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
1659
1665
  allowlist: "allowlist";
@@ -1668,9 +1674,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1668
1674
  name: _$zod.ZodString;
1669
1675
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1670
1676
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1671
- disabled: "disabled";
1672
- enabled: "enabled";
1673
1677
  visible: "visible";
1678
+ enabled: "enabled";
1679
+ disabled: "disabled";
1674
1680
  }>>>;
1675
1681
  modelFilterMode: _$zod.ZodEnum<{
1676
1682
  allowlist: "allowlist";
@@ -1694,9 +1700,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1694
1700
  openai: _$zod.ZodOptional<_$zod.ZodString>;
1695
1701
  }, _$zod_v4_core0.$strip>>>;
1696
1702
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1697
- disabled: "disabled";
1698
- enabled: "enabled";
1699
1703
  visible: "visible";
1704
+ enabled: "enabled";
1705
+ disabled: "disabled";
1700
1706
  }>>>;
1701
1707
  enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
1702
1708
  }, _$zod_v4_core0.$strict>;
@@ -1708,9 +1714,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1708
1714
  name: _$zod.ZodString;
1709
1715
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1710
1716
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1711
- disabled: "disabled";
1712
- enabled: "enabled";
1713
1717
  visible: "visible";
1718
+ enabled: "enabled";
1719
+ disabled: "disabled";
1714
1720
  }>>>;
1715
1721
  modelFilterMode: _$zod.ZodEnum<{
1716
1722
  allowlist: "allowlist";
@@ -1736,9 +1742,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1736
1742
  name: _$zod.ZodString;
1737
1743
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1738
1744
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1739
- disabled: "disabled";
1740
- enabled: "enabled";
1741
1745
  visible: "visible";
1746
+ enabled: "enabled";
1747
+ disabled: "disabled";
1742
1748
  }>>>;
1743
1749
  modelFilterMode: _$zod.ZodEnum<{
1744
1750
  allowlist: "allowlist";
@@ -1771,9 +1777,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1771
1777
  name: _$zod.ZodString;
1772
1778
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1773
1779
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1774
- disabled: "disabled";
1775
- enabled: "enabled";
1776
1780
  visible: "visible";
1781
+ enabled: "enabled";
1782
+ disabled: "disabled";
1777
1783
  }>>>;
1778
1784
  modelFilterMode: _$zod.ZodEnum<{
1779
1785
  allowlist: "allowlist";
@@ -1803,9 +1809,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1803
1809
  name: _$zod.ZodString;
1804
1810
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1805
1811
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1806
- disabled: "disabled";
1807
- enabled: "enabled";
1808
1812
  visible: "visible";
1813
+ enabled: "enabled";
1814
+ disabled: "disabled";
1809
1815
  }>>>;
1810
1816
  modelFilterMode: _$zod.ZodEnum<{
1811
1817
  allowlist: "allowlist";
@@ -1840,8 +1846,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1840
1846
  response: _$zod.ZodObject<{
1841
1847
  config: _$zod.ZodObject<{
1842
1848
  description: _$zod.ZodOptional<_$zod.ZodString>;
1843
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
1844
1849
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1850
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1845
1851
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1846
1852
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1847
1853
  label: _$zod.ZodString;
@@ -1908,9 +1914,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1908
1914
  name: _$zod.ZodString;
1909
1915
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1910
1916
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1911
- disabled: "disabled";
1912
- enabled: "enabled";
1913
1917
  visible: "visible";
1918
+ enabled: "enabled";
1919
+ disabled: "disabled";
1914
1920
  }>>>;
1915
1921
  modelFilterMode: _$zod.ZodEnum<{
1916
1922
  allowlist: "allowlist";
@@ -1928,9 +1934,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1928
1934
  name: _$zod.ZodString;
1929
1935
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1930
1936
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1931
- disabled: "disabled";
1932
- enabled: "enabled";
1933
1937
  visible: "visible";
1938
+ enabled: "enabled";
1939
+ disabled: "disabled";
1934
1940
  }>>>;
1935
1941
  modelFilterMode: _$zod.ZodEnum<{
1936
1942
  allowlist: "allowlist";
@@ -1995,6 +2001,25 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1995
2001
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1996
2002
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
1997
2003
  sessionId: _$zod.ZodString;
2004
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
2005
+ fullName: _$zod.ZodString;
2006
+ originalName: _$zod.ZodString;
2007
+ serverName: _$zod.ZodString;
2008
+ description: _$zod.ZodOptional<_$zod.ZodString>;
2009
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2010
+ exposureMode: _$zod.ZodEnum<{
2011
+ hidden: "hidden";
2012
+ discovery: "discovery";
2013
+ direct: "direct";
2014
+ }>;
2015
+ enabled: _$zod.ZodBoolean;
2016
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2017
+ discovery: "discovery";
2018
+ toolset: "toolset";
2019
+ }>>;
2020
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2021
+ exposed: _$zod.ZodBoolean;
2022
+ }, _$zod_v4_core0.$strip>>;
1998
2023
  servers: _$zod.ZodArray<_$zod.ZodObject<{
1999
2024
  name: _$zod.ZodString;
2000
2025
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -2031,28 +2056,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2031
2056
  type: _$zod.ZodLiteral<"http">;
2032
2057
  }, _$zod_v4_core0.$strip>], "type">;
2033
2058
  exposureMode: _$zod.ZodEnum<{
2034
- direct: "direct";
2035
2059
  discovery: "discovery";
2036
- }>;
2037
- }, _$zod_v4_core0.$strip>>;
2038
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
2039
- fullName: _$zod.ZodString;
2040
- originalName: _$zod.ZodString;
2041
- serverName: _$zod.ZodString;
2042
- description: _$zod.ZodOptional<_$zod.ZodString>;
2043
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2044
- exposureMode: _$zod.ZodEnum<{
2045
2060
  direct: "direct";
2046
- discovery: "discovery";
2047
- hidden: "hidden";
2048
2061
  }>;
2049
- enabled: _$zod.ZodBoolean;
2050
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2051
- discovery: "discovery";
2052
- toolset: "toolset";
2053
- }>>;
2054
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2055
- exposed: _$zod.ZodBoolean;
2056
2062
  }, _$zod_v4_core0.$strip>>;
2057
2063
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
2058
2064
  fullName: _$zod.ZodString;
@@ -2061,9 +2067,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2061
2067
  description: _$zod.ZodOptional<_$zod.ZodString>;
2062
2068
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2063
2069
  exposureMode: _$zod.ZodEnum<{
2064
- direct: "direct";
2065
- discovery: "discovery";
2066
2070
  hidden: "hidden";
2071
+ discovery: "discovery";
2072
+ direct: "direct";
2067
2073
  }>;
2068
2074
  enabled: _$zod.ZodBoolean;
2069
2075
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2092,6 +2098,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2092
2098
  env?: Record<string, string> | undefined;
2093
2099
  mcpSessionContext?: {
2094
2100
  sessionId: string;
2101
+ directTools: {
2102
+ fullName: string;
2103
+ originalName: string;
2104
+ serverName: string;
2105
+ inputSchema: Record<string, unknown>;
2106
+ exposureMode: "hidden" | "discovery" | "direct";
2107
+ enabled: boolean;
2108
+ exposed: boolean;
2109
+ description?: string | undefined;
2110
+ enabledBy?: "discovery" | "toolset" | undefined;
2111
+ enabledAt?: number | undefined;
2112
+ }[];
2095
2113
  servers: {
2096
2114
  name: string;
2097
2115
  transport: {
@@ -2119,26 +2137,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2119
2137
  }[] | undefined;
2120
2138
  alwaysLoad?: boolean | undefined;
2121
2139
  };
2122
- exposureMode: "direct" | "discovery";
2123
- }[];
2124
- directTools: {
2125
- fullName: string;
2126
- originalName: string;
2127
- serverName: string;
2128
- inputSchema: Record<string, unknown>;
2129
- exposureMode: "direct" | "discovery" | "hidden";
2130
- enabled: boolean;
2131
- exposed: boolean;
2132
- description?: string | undefined;
2133
- enabledBy?: "discovery" | "toolset" | undefined;
2134
- enabledAt?: number | undefined;
2140
+ exposureMode: "discovery" | "direct";
2135
2141
  }[];
2136
2142
  discoverableTools: {
2137
2143
  fullName: string;
2138
2144
  originalName: string;
2139
2145
  serverName: string;
2140
2146
  inputSchema: Record<string, unknown>;
2141
- exposureMode: "direct" | "discovery" | "hidden";
2147
+ exposureMode: "hidden" | "discovery" | "direct";
2142
2148
  enabled: boolean;
2143
2149
  exposed: boolean;
2144
2150
  description?: string | undefined;
@@ -2166,6 +2172,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2166
2172
  env?: Record<string, string> | undefined;
2167
2173
  mcpSessionContext?: {
2168
2174
  sessionId: string;
2175
+ directTools: {
2176
+ fullName: string;
2177
+ originalName: string;
2178
+ serverName: string;
2179
+ inputSchema: Record<string, unknown>;
2180
+ exposureMode: "hidden" | "discovery" | "direct";
2181
+ enabled: boolean;
2182
+ exposed: boolean;
2183
+ description?: string | undefined;
2184
+ enabledBy?: "discovery" | "toolset" | undefined;
2185
+ enabledAt?: number | undefined;
2186
+ }[];
2169
2187
  servers: {
2170
2188
  name: string;
2171
2189
  transport: {
@@ -2193,26 +2211,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2193
2211
  }[] | undefined;
2194
2212
  alwaysLoad?: boolean | undefined;
2195
2213
  };
2196
- exposureMode: "direct" | "discovery";
2197
- }[];
2198
- directTools: {
2199
- fullName: string;
2200
- originalName: string;
2201
- serverName: string;
2202
- inputSchema: Record<string, unknown>;
2203
- exposureMode: "direct" | "discovery" | "hidden";
2204
- enabled: boolean;
2205
- exposed: boolean;
2206
- description?: string | undefined;
2207
- enabledBy?: "discovery" | "toolset" | undefined;
2208
- enabledAt?: number | undefined;
2214
+ exposureMode: "discovery" | "direct";
2209
2215
  }[];
2210
2216
  discoverableTools: {
2211
2217
  fullName: string;
2212
2218
  originalName: string;
2213
2219
  serverName: string;
2214
2220
  inputSchema: Record<string, unknown>;
2215
- exposureMode: "direct" | "discovery" | "hidden";
2221
+ exposureMode: "hidden" | "discovery" | "direct";
2216
2222
  enabled: boolean;
2217
2223
  exposed: boolean;
2218
2224
  description?: string | undefined;
@@ -2238,6 +2244,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2238
2244
  env?: Record<string, string> | undefined;
2239
2245
  mcpSessionContext?: {
2240
2246
  sessionId: string;
2247
+ directTools: {
2248
+ fullName: string;
2249
+ originalName: string;
2250
+ serverName: string;
2251
+ inputSchema: Record<string, unknown>;
2252
+ exposureMode: "hidden" | "discovery" | "direct";
2253
+ enabled: boolean;
2254
+ exposed: boolean;
2255
+ description?: string | undefined;
2256
+ enabledBy?: "discovery" | "toolset" | undefined;
2257
+ enabledAt?: number | undefined;
2258
+ }[];
2241
2259
  servers: {
2242
2260
  name: string;
2243
2261
  transport: {
@@ -2265,26 +2283,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2265
2283
  }[] | undefined;
2266
2284
  alwaysLoad?: boolean | undefined;
2267
2285
  };
2268
- exposureMode: "direct" | "discovery";
2269
- }[];
2270
- directTools: {
2271
- fullName: string;
2272
- originalName: string;
2273
- serverName: string;
2274
- inputSchema: Record<string, unknown>;
2275
- exposureMode: "direct" | "discovery" | "hidden";
2276
- enabled: boolean;
2277
- exposed: boolean;
2278
- description?: string | undefined;
2279
- enabledBy?: "discovery" | "toolset" | undefined;
2280
- enabledAt?: number | undefined;
2286
+ exposureMode: "discovery" | "direct";
2281
2287
  }[];
2282
2288
  discoverableTools: {
2283
2289
  fullName: string;
2284
2290
  originalName: string;
2285
2291
  serverName: string;
2286
2292
  inputSchema: Record<string, unknown>;
2287
- exposureMode: "direct" | "discovery" | "hidden";
2293
+ exposureMode: "hidden" | "discovery" | "direct";
2288
2294
  enabled: boolean;
2289
2295
  exposed: boolean;
2290
2296
  description?: string | undefined;
@@ -2312,6 +2318,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2312
2318
  env?: Record<string, string> | undefined;
2313
2319
  mcpSessionContext?: {
2314
2320
  sessionId: string;
2321
+ directTools: {
2322
+ fullName: string;
2323
+ originalName: string;
2324
+ serverName: string;
2325
+ inputSchema: Record<string, unknown>;
2326
+ exposureMode: "hidden" | "discovery" | "direct";
2327
+ enabled: boolean;
2328
+ exposed: boolean;
2329
+ description?: string | undefined;
2330
+ enabledBy?: "discovery" | "toolset" | undefined;
2331
+ enabledAt?: number | undefined;
2332
+ }[];
2315
2333
  servers: {
2316
2334
  name: string;
2317
2335
  transport: {
@@ -2339,26 +2357,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2339
2357
  }[] | undefined;
2340
2358
  alwaysLoad?: boolean | undefined;
2341
2359
  };
2342
- exposureMode: "direct" | "discovery";
2343
- }[];
2344
- directTools: {
2345
- fullName: string;
2346
- originalName: string;
2347
- serverName: string;
2348
- inputSchema: Record<string, unknown>;
2349
- exposureMode: "direct" | "discovery" | "hidden";
2350
- enabled: boolean;
2351
- exposed: boolean;
2352
- description?: string | undefined;
2353
- enabledBy?: "discovery" | "toolset" | undefined;
2354
- enabledAt?: number | undefined;
2360
+ exposureMode: "discovery" | "direct";
2355
2361
  }[];
2356
2362
  discoverableTools: {
2357
2363
  fullName: string;
2358
2364
  originalName: string;
2359
2365
  serverName: string;
2360
2366
  inputSchema: Record<string, unknown>;
2361
- exposureMode: "direct" | "discovery" | "hidden";
2367
+ exposureMode: "hidden" | "discovery" | "direct";
2362
2368
  enabled: boolean;
2363
2369
  exposed: boolean;
2364
2370
  description?: string | undefined;
@@ -2389,9 +2395,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2389
2395
  status: _$zod.ZodEnum<{
2390
2396
  completed: "completed";
2391
2397
  cancelled: "cancelled";
2392
- failed: "failed";
2393
2398
  running: "running";
2394
2399
  waiting_input: "waiting_input";
2400
+ failed: "failed";
2395
2401
  }>;
2396
2402
  result: _$zod.ZodOptional<_$zod.ZodString>;
2397
2403
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2626,6 +2632,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2626
2632
  request: _$zod.ZodObject<{
2627
2633
  agentId: _$zod.ZodString;
2628
2634
  adapterId: _$zod.ZodOptional<_$zod.ZodString>;
2635
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2629
2636
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2630
2637
  model: _$zod.ZodOptional<_$zod.ZodString>;
2631
2638
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -3262,8 +3269,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3262
3269
  }>;
3263
3270
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
3264
3271
  scope: _$zod.ZodEnum<{
3265
- session: "session";
3266
3272
  global: "global";
3273
+ session: "session";
3267
3274
  project: "project";
3268
3275
  }>;
3269
3276
  projectId: _$zod.ZodNullable<_$zod.ZodString>;
@@ -3271,8 +3278,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3271
3278
  }, _$zod_v4_core0.$strict>>;
3272
3279
  current: _$zod.ZodNullable<_$zod.ZodObject<{
3273
3280
  scope: _$zod.ZodEnum<{
3274
- session: "session";
3275
3281
  global: "global";
3282
+ session: "session";
3276
3283
  project: "project";
3277
3284
  }>;
3278
3285
  projectId: _$zod.ZodNullable<_$zod.ZodString>;
@@ -3460,8 +3467,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3460
3467
  }, _$zod_v4_core0.$strip>;
3461
3468
  response: _$zod.ZodObject<{
3462
3469
  state: _$zod.ZodEnum<{
3463
- created: "created";
3464
3470
  running: "running";
3471
+ created: "created";
3465
3472
  stopped: "stopped";
3466
3473
  destroyed: "destroyed";
3467
3474
  }>;
@@ -3807,8 +3814,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3807
3814
  extensionConfig: _$zod.ZodObject<{
3808
3815
  id: _$zod.ZodString;
3809
3816
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
3810
- enabled: _$zod.ZodBoolean;
3811
3817
  extensionName: _$zod.ZodString;
3818
+ enabled: _$zod.ZodBoolean;
3812
3819
  scope: _$zod.ZodString;
3813
3820
  }, _$zod_v4_core0.$strip>;
3814
3821
  }, _$zod_v4_core0.$strip>;
@@ -3856,18 +3863,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3856
3863
  changed: _$zod.ZodObject<{
3857
3864
  path: _$zod.ZodString;
3858
3865
  kind: _$zod.ZodEnum<{
3859
- change: "change";
3860
- delete: "delete";
3861
3866
  create: "create";
3867
+ delete: "delete";
3868
+ change: "change";
3862
3869
  }>;
3863
3870
  }, _$zod_v4_core0.$strip>;
3864
3871
  batch: _$zod.ZodObject<{
3865
3872
  changes: _$zod.ZodArray<_$zod.ZodObject<{
3866
3873
  path: _$zod.ZodString;
3867
3874
  kind: _$zod.ZodEnum<{
3868
- change: "change";
3869
- delete: "delete";
3870
3875
  create: "create";
3876
+ delete: "delete";
3877
+ change: "change";
3871
3878
  }>;
3872
3879
  }, _$zod_v4_core0.$strip>>;
3873
3880
  }, _$zod_v4_core0.$strip>;
@@ -4058,8 +4065,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4058
4065
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4059
4066
  name: _$zod.ZodString;
4060
4067
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4061
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
4062
4068
  credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4069
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
4063
4070
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
4064
4071
  "file.read": "file.read";
4065
4072
  "file.write": "file.write";
@@ -5777,8 +5784,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5777
5784
  groupId: _$zod.ZodString;
5778
5785
  entries: _$zod.ZodArray<_$zod.ZodObject<{
5779
5786
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5780
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
5781
5787
  label: _$zod.ZodString;
5788
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
5782
5789
  priority: _$zod.ZodDefault<_$zod.ZodNumber>;
5783
5790
  entryId: _$zod.ZodString;
5784
5791
  }, _$zod_v4_core0.$strip>>;
@@ -6274,9 +6281,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6274
6281
  status: _$zod.ZodEnum<{
6275
6282
  completed: "completed";
6276
6283
  cancelled: "cancelled";
6277
- failed: "failed";
6278
6284
  running: "running";
6279
6285
  waiting_input: "waiting_input";
6286
+ failed: "failed";
6280
6287
  }>;
6281
6288
  result: _$zod.ZodOptional<_$zod.ZodString>;
6282
6289
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6351,18 +6358,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6351
6358
  create: {
6352
6359
  request: _$zod.ZodObject<{
6353
6360
  name: _$zod.ZodString;
6354
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6355
6361
  adapterName: _$zod.ZodString;
6356
6362
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6357
6363
  model: _$zod.ZodOptional<_$zod.ZodString>;
6358
- systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6359
- allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6360
- disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6361
- allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6362
6364
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
6363
6365
  fork: "fork";
6364
6366
  fresh: "fresh";
6365
6367
  }>>;
6368
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6369
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6370
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6371
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6372
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6366
6373
  }, _$zod_v4_core0.$strip>;
6367
6374
  response: _$zod.ZodObject<{
6368
6375
  id: _$zod.ZodString;