@makaio/framework 1.0.0-dev-1781260968078 → 1.0.0-dev-1781367632837

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 (181) hide show
  1. package/README.md +1 -1
  2. package/dist/.makaio-build.json +2 -2
  3. package/dist/adapter-UpcpZDOv.mjs +1 -0
  4. package/dist/adapter-subsystem/index.d.mts +493 -0
  5. package/dist/adapter-subsystem/index.mjs +1 -0
  6. package/dist/adapters/config/index.d.mts +1 -1
  7. package/dist/adapters/index.d.mts +12 -4
  8. package/dist/adapters/index.mjs +1 -1
  9. package/dist/bus/index.mjs +1 -1
  10. package/dist/clients/index.d.mts +4 -7
  11. package/dist/clients/index.mjs +1 -1
  12. package/dist/contracts/adapter/index.d.mts +2 -2
  13. package/dist/contracts/adapter/index.mjs +1 -1
  14. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  15. package/dist/contracts/artifact/index.d.mts +1 -1
  16. package/dist/contracts/client/index.d.mts +1 -1
  17. package/dist/contracts/config/index.d.mts +6 -6
  18. package/dist/contracts/extension/index.d.mts +2 -2
  19. package/dist/contracts/facet/index.d.mts +1 -1
  20. package/dist/contracts/index.d.mts +203 -38
  21. package/dist/contracts/index.mjs +1 -1
  22. package/dist/contracts/materialization/index.d.mts +3 -3
  23. package/dist/contracts/provider/index.d.mts +1 -1
  24. package/dist/contracts/session/index.d.mts +3 -3
  25. package/dist/contracts/session/index.mjs +1 -1
  26. package/dist/{definition-SiimP25_.d.mts → definition-DqJOg6Lv.d.mts} +1 -1
  27. package/dist/drizzle/0015_m_mqbh8q5b.sql +1 -0
  28. package/dist/drizzle/0016_m_mqbmq8h7.sql +1 -0
  29. package/dist/drizzle/0017_m_mqbnf924.sql +1 -0
  30. package/dist/drizzle/meta/_journal.json +21 -0
  31. package/dist/{handler-DSfSAlxx.mjs → handler-DqpiV9eA.mjs} +1 -1
  32. package/dist/handlers-BAB4fQNH.mjs +41 -0
  33. package/dist/inbound-hooks/index.d.mts +174 -0
  34. package/dist/inbound-hooks/index.mjs +1 -0
  35. package/dist/{index-BvSyOgTY.d.mts → index-7EPRy0nT.d.mts} +113 -44
  36. package/dist/{index-Cb64d5c5.d.mts → index-B7uYo0C6.d.mts} +20 -3
  37. package/dist/{index-B2xbnMZe.d.mts → index-BCKRUuI2.d.mts} +1 -1
  38. package/dist/{index-CARxIllg.d.mts → index-BFuke0jw.d.mts} +28 -28
  39. package/dist/{index-DTdqGAfH2.d.mts → index-BfUq8fO52.d.mts} +1 -1
  40. package/dist/{index-BtztOqaF.d.mts → index-BheaEhyI.d.mts} +6 -6
  41. package/dist/{index-CZ_TcT6J.d.mts → index-Bibt5jAX.d.mts} +8 -8
  42. package/dist/{index-D5CI1V5d.d.mts → index-C3zfJg6s.d.mts} +16 -16
  43. package/dist/{index-Buo9H8RK.d.mts → index-COPhs8Ay.d.mts} +1 -1
  44. package/dist/{index-CgjslA5-.d.mts → index-CcBAFO-1.d.mts} +4 -4
  45. package/dist/{index-BpniJgxu.d.mts → index-CncH-7wf.d.mts} +16 -16
  46. package/dist/{index-BQiHs8EF.d.mts → index-DdZ9PDEE.d.mts} +24 -24
  47. package/dist/{index-BDRKAxIV.d.mts → index-dAjtejnc.d.mts} +2 -2
  48. package/dist/{index-DDQkhhRo.d.mts → index-qGJoNJon.d.mts} +397 -157
  49. package/dist/{index-BKKNWqkP2.d.mts → index-zgm2j9V92.d.mts} +44 -2
  50. package/dist/kernel/extension/index.d.mts +1 -1
  51. package/dist/kernel/index.d.mts +2 -2
  52. package/dist/kernel/observability/index.d.mts +1 -1
  53. package/dist/mcp-http-server/index.d.mts +132 -19
  54. package/dist/mcp-http-server/index.mjs +1 -1
  55. package/dist/{namespace-D1Iw_d1P.d.mts → namespace--s0d86h-.d.mts} +144 -0
  56. package/dist/{namespace-CHMszppN.d.mts → namespace-6OzA9SwY.d.mts} +26 -26
  57. package/dist/{namespace-CqUGzG53.d.mts → namespace-Bx40zNgT.d.mts} +2 -2
  58. package/dist/{namespace-Ba4bxtHQ.d.mts → namespace-BxxBhcV_.d.mts} +9 -9
  59. package/dist/{namespace-7tsuJhQ9.d.mts → namespace-Cq8ScJGp.d.mts} +94 -58
  60. package/dist/{namespace-B73Sxj5L.d.mts → namespace-DI9_OYOU.d.mts} +6 -6
  61. package/dist/{namespace-DwE2g8Wm.mjs → namespace-Dfq6MDN9.mjs} +1 -1
  62. package/dist/{namespace-BBVtD1gu.d.mts → namespace-Do0AUzwu.d.mts} +6 -6
  63. package/dist/{namespace-DDCjoQUj.d.mts → namespace-aJJfBJU5.d.mts} +170 -0
  64. package/dist/{orchestrator-shared-Dt4WDse7.mjs → orchestrator-shared-BKFXaKPL.mjs} +1 -1
  65. package/dist/{package-BSnp1zOR.d.mts → package--RZnpN2J.d.mts} +2 -3
  66. package/dist/package-BzJvtM5O.mjs +1 -0
  67. package/dist/package-DzN_jdqd.mjs +1 -0
  68. package/dist/package.json +1 -1
  69. package/dist/primitive-runtime-CNC_bSac.mjs +1 -0
  70. package/dist/runtime-node/bus/runtime/namespace.d.mts +8 -8
  71. package/dist/runtime-node/bus/runtime/schemas.d.mts +11 -4
  72. package/dist/runtime-node/bus/runtime/schemas.mjs +1 -1
  73. package/dist/runtime-node/index.d.mts +27 -60
  74. package/dist/runtime-node/index.mjs +26 -26
  75. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  76. package/dist/{schema-BNrM9LWb.d.mts → schema-C-yfxlRI.d.mts} +24 -4
  77. package/dist/{schema-BerZmr2q.mjs → schema-C3TgjrsV.mjs} +1 -1
  78. package/dist/{schema-BrnYlDwZ.mjs → schema-CzhOc7TV.mjs} +1 -1
  79. package/dist/{schemas-B5ToLwIs.d.mts → schemas-CJYNpT6v.d.mts} +6 -6
  80. package/dist/{schemas-lqvZ6UpK.d.mts → schemas-CW0h1h6l.d.mts} +3 -3
  81. package/dist/schemas-CuKayWhA.mjs +1 -0
  82. package/dist/{schemas-DAFYpgHk2.d.mts → schemas-DtJWNKZ_2.d.mts} +14 -14
  83. package/dist/{schemas-CkOSG2eJ.d.mts → schemas-t1VR6_b_.d.mts} +3 -3
  84. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  85. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  86. package/dist/services/context-rules/index.d.mts +3 -3
  87. package/dist/services/execution-target/index.d.mts +2 -2
  88. package/dist/services/execution-target/namespace.d.mts +1 -1
  89. package/dist/services/execution-target/schemas.d.mts +1 -1
  90. package/dist/services/filesystem/namespace.d.mts +6 -6
  91. package/dist/services/filesystem/schemas.d.mts +3 -3
  92. package/dist/services/git/namespace.d.mts +2 -2
  93. package/dist/services/git/schemas.d.mts +2 -2
  94. package/dist/services/harness/index.d.mts +3 -4
  95. package/dist/services/harness/index.mjs +1 -1
  96. package/dist/services/index.d.mts +147 -50
  97. package/dist/services/index.mjs +1 -1
  98. package/dist/services/log-import/browser.d.mts +2 -2
  99. package/dist/services/log-import/index.d.mts +4 -5
  100. package/dist/services/log-import/index.mjs +1 -1
  101. package/dist/services/log-import/log-import.d.mts +1 -1
  102. package/dist/services/log-import/namespace.d.mts +2 -2
  103. package/dist/services/log-import/schemas.d.mts +1 -1
  104. package/dist/services/provider-context/index.mjs +1 -1
  105. package/dist/services/session/handlers/index.mjs +1 -1
  106. package/dist/services/session/index.d.mts +7 -7
  107. package/dist/services/session/index.mjs +1 -1
  108. package/dist/services/session/messages/namespace.d.mts +1 -1
  109. package/dist/services/session/messages/namespace.mjs +1 -1
  110. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  111. package/dist/services/session/session-events/namespace.d.mts +1 -1
  112. package/dist/services/session/session-events/namespace.mjs +1 -1
  113. package/dist/services/session/storage/namespace.d.mts +1 -1
  114. package/dist/services/session/storage/schema.d.mts +1 -1
  115. package/dist/services/session/storage/schema.mjs +1 -1
  116. package/dist/services/session/testing/index.mjs +5 -3
  117. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  118. package/dist/services/session/turns/namespace.d.mts +1 -1
  119. package/dist/services/session/turns/namespace.mjs +1 -1
  120. package/dist/services/settings/index.mjs +1 -1
  121. package/dist/services/settings/namespace.d.mts +14 -14
  122. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  123. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  124. package/dist/services/settings/storage/index.mjs +1 -1
  125. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  126. package/dist/services/subagent/index.d.mts +1 -1
  127. package/dist/services/subagent/index.mjs +1 -1
  128. package/dist/services/subagent-template/index.d.mts +1 -1
  129. package/dist/services/subagent-template/schemas.d.mts +1 -1
  130. package/dist/services/tool-approval/index.mjs +1 -1
  131. package/dist/services/tools/index.mjs +1 -1
  132. package/dist/services/tray-menu/index.d.mts +2 -2
  133. package/dist/services/tray-menu/namespace.d.mts +1 -1
  134. package/dist/services/tray-menu/schemas.d.mts +1 -1
  135. package/dist/services/turn/index.d.mts +1 -1
  136. package/dist/services/turn/namespace.d.mts +1 -1
  137. package/dist/services/turn/schemas.d.mts +72 -0
  138. package/dist/services/turn/schemas.mjs +1 -1
  139. package/dist/{session-C1Cami7U.mjs → session-BwX5_k47.mjs} +1 -1
  140. package/dist/session-P4nX60Xx.mjs +39 -0
  141. package/dist/{session-lineage-CXzV_hAP.d.mts → session-lineage-CKg6mErA.d.mts} +1 -1
  142. package/dist/storage/drizzle/index.d.mts +1 -1
  143. package/dist/storage/drizzle/index.mjs +1 -1
  144. package/dist/{tool-approval-service-Cb2F1yT6.mjs → tool-approval-service-DNHV5x0M.mjs} +1 -1
  145. package/dist/{tools-D5DVHC-R.mjs → tools-CQImrHAp.mjs} +1 -1
  146. package/dist/{types-DLVitCZP.d.mts → types-BOuU-0Vs.d.mts} +901 -718
  147. package/dist/{types-D5IMwOkJ.d.mts → types-D0fPFh-D.d.mts} +1 -1
  148. package/dist/{types-BMpIa4fx.d.mts → types-D6jnDjP2.d.mts} +18 -5
  149. package/dist/ui-components/index.d.mts +36 -37
  150. package/dist/ui-views/index.d.mts +2 -2
  151. package/dist/workflow-engine/index.d.mts +49 -16
  152. package/dist/workflow-engine/index.mjs +1 -1
  153. package/dist/workflow-engine/package.d.mts +1 -1
  154. package/dist/workflow-engine/package.mjs +1 -1
  155. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  156. package/package.json +18 -1
  157. package/dist/adapter-Dt2FDMs4.mjs +0 -1
  158. package/dist/drizzle/0001_messages_content_tsv.na.md +0 -18
  159. package/dist/drizzle/meta/0000_snapshot.json +0 -2813
  160. package/dist/drizzle/meta/0001_snapshot.json +0 -2820
  161. package/dist/drizzle/meta/0002_snapshot.json +0 -2827
  162. package/dist/drizzle/meta/0003_snapshot.json +0 -2834
  163. package/dist/drizzle/meta/0004_snapshot.json +0 -2842
  164. package/dist/drizzle/meta/0005_snapshot.json +0 -2849
  165. package/dist/drizzle/meta/0006_snapshot.json +0 -2865
  166. package/dist/drizzle/meta/0007_snapshot.json +0 -2879
  167. package/dist/drizzle/meta/0008_snapshot.json +0 -2886
  168. package/dist/drizzle/meta/0009_snapshot.json +0 -2901
  169. package/dist/drizzle/meta/0010_snapshot.json +0 -2908
  170. package/dist/drizzle/meta/0011_snapshot.json +0 -2915
  171. package/dist/drizzle/meta/0012_snapshot.json +0 -2934
  172. package/dist/drizzle/meta/0013_snapshot.json +0 -2954
  173. package/dist/drizzle/meta/0014_snapshot.json +0 -2959
  174. package/dist/handlers-C8EtpSqK.mjs +0 -41
  175. package/dist/package-Be2Ez4vv.mjs +0 -1
  176. package/dist/package-OE9dMQsq.mjs +0 -1
  177. package/dist/primitive-runtime-Xrc9xh6p.mjs +0 -1
  178. package/dist/schemas-CSUwpaNm.mjs +0 -1
  179. package/dist/session-KnewDVxt.mjs +0 -39
  180. /package/dist/{provider-context-lfG0BpqX.mjs → provider-context-wp4VSJFI.mjs} +0 -0
  181. /package/dist/{shared-schemas-CKe2uN4-.mjs → shared-schemas-DYL7a-No.mjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../schemas-Kq33MTPY.mjs";
2
2
  import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-nlsvvMtD.mjs";
3
3
  import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-Bw_zL7Rs.mjs";
4
- import { _ as BindingRecord } from "../index-BpniJgxu.mjs";
4
+ import { _ as BindingRecord } from "../index-CncH-7wf.mjs";
5
5
  import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-Dv5FxHDT.mjs";
6
6
  import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-DRFJN-_z.mjs";
7
7
  import { t as CapabilityService } from "../index-BnQSPC6c.mjs";
@@ -10,28 +10,28 @@ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseCha
10
10
  import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-Dyk7JuVl.mjs";
11
11
  import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-uuR0Fg5r.mjs";
12
12
  import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-B0BtvVAq.mjs";
13
- import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-B5ToLwIs.mjs";
14
- import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-BBVtD1gu.mjs";
13
+ import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-CJYNpT6v.mjs";
14
+ import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-Do0AUzwu.mjs";
15
15
  import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-BpXX9WZJ.mjs";
16
- import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-BvSyOgTY.mjs";
16
+ import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-7EPRy0nT.mjs";
17
17
  import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../index-C6BhKRnH.mjs";
18
18
  import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-D0SUjZmU.mjs";
19
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-7tsuJhQ9.mjs";
20
- import { a as agents, s as sessions } from "../schema-BNrM9LWb.mjs";
21
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-Ba4bxtHQ.mjs";
22
- import { t as TurnStorageNamespace } from "../namespace-DDCjoQUj.mjs";
23
- import { n as TurnStorageSubjects } from "../namespace-D1Iw_d1P.mjs";
24
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-B73Sxj5L.mjs";
19
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-Cq8ScJGp.mjs";
20
+ import { a as agents, s as sessions } from "../schema-C-yfxlRI.mjs";
21
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BxxBhcV_.mjs";
22
+ import { t as TurnStorageNamespace } from "../namespace-aJJfBJU5.mjs";
23
+ import { n as TurnStorageSubjects } from "../namespace--s0d86h-.mjs";
24
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-DI9_OYOU.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-BxFA1XcP.mjs";
26
26
  import { t as ToolApprovalService } from "../index-Cz9JMjZK.mjs";
27
27
  import { t as TrayMenuService } from "../index-BMpRB6iE.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-lqvZ6UpK.mjs";
29
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-CqUGzG53.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-CW0h1h6l.mjs";
29
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-Bx40zNgT.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-9IDJUJ4X.mjs";
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-BKKNWqkP2.mjs";
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-zgm2j9V92.mjs";
32
32
  import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DZUaRcYl.mjs";
33
33
  import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-BXmMUd7a.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-DAFYpgHk2.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-DtJWNKZ_2.mjs";
35
35
  import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-B60mn8J-2.mjs";
36
36
  import * as _$zod from "zod";
37
37
  import { z } from "zod";
@@ -41,8 +41,8 @@ import { IMakaioBus } from "@makaio/framework/bus";
41
41
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
42
42
  import { AgentResolutionContext, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, RegisteredStepBlock, RegisteredTriggerBlock, RelationTypeRegistration, ResolvableCanonicalModel, TransitionActionFactory, TransitionActionInvocation, TransitionEvaluationContext, TransitionEventType, TransitionRuleDefinition, TransitionRuleDefinitionSchema, WorkflowBlockCollection } from "@makaio/framework/contracts";
43
43
  import { BaseService } from "@makaio/framework/service-base";
44
- import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
45
44
  import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
45
+ import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
46
46
  import * as _$_makaio_ai_adapters_core0 from "@makaio/framework/adapters";
47
47
  import { FacetNamespaceRegistration } from "@makaio/framework/contracts/facet";
48
48
  import { SurfaceBindingRegistration } from "@makaio/framework/contracts/materialization";
@@ -1341,8 +1341,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1341
1341
  name: _$zod.ZodString;
1342
1342
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1343
1343
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1344
- enabled: "enabled";
1345
1344
  disabled: "disabled";
1345
+ enabled: "enabled";
1346
1346
  visible: "visible";
1347
1347
  }>>>;
1348
1348
  modelFilterMode: _$zod.ZodEnum<{
@@ -1368,8 +1368,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1368
1368
  name: _$zod.ZodString;
1369
1369
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1370
1370
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1371
- enabled: "enabled";
1372
1371
  disabled: "disabled";
1372
+ enabled: "enabled";
1373
1373
  visible: "visible";
1374
1374
  }>>>;
1375
1375
  modelFilterMode: _$zod.ZodEnum<{
@@ -1395,8 +1395,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1395
1395
  name: _$zod.ZodString;
1396
1396
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1397
1397
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1398
- enabled: "enabled";
1399
1398
  disabled: "disabled";
1399
+ enabled: "enabled";
1400
1400
  visible: "visible";
1401
1401
  }>>>;
1402
1402
  modelFilterMode: _$zod.ZodEnum<{
@@ -1459,8 +1459,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1459
1459
  name: _$zod.ZodString;
1460
1460
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1461
1461
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1462
- enabled: "enabled";
1463
1462
  disabled: "disabled";
1463
+ enabled: "enabled";
1464
1464
  visible: "visible";
1465
1465
  }>>>;
1466
1466
  modelFilterMode: _$zod.ZodEnum<{
@@ -1606,8 +1606,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1606
1606
  openai: _$zod.ZodOptional<_$zod.ZodString>;
1607
1607
  }, _$zod_v4_core0.$strip>>;
1608
1608
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1609
- enabled: "enabled";
1610
1609
  disabled: "disabled";
1610
+ enabled: "enabled";
1611
1611
  visible: "visible";
1612
1612
  }>>>;
1613
1613
  modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1623,8 +1623,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1623
1623
  name: _$zod.ZodString;
1624
1624
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1625
1625
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1626
- enabled: "enabled";
1627
1626
  disabled: "disabled";
1627
+ enabled: "enabled";
1628
1628
  visible: "visible";
1629
1629
  }>>>;
1630
1630
  modelFilterMode: _$zod.ZodEnum<{
@@ -1649,8 +1649,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1649
1649
  openai: _$zod.ZodOptional<_$zod.ZodString>;
1650
1650
  }, _$zod_v4_core0.$strip>>>;
1651
1651
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1652
- enabled: "enabled";
1653
1652
  disabled: "disabled";
1653
+ enabled: "enabled";
1654
1654
  visible: "visible";
1655
1655
  }>>>;
1656
1656
  enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -1663,8 +1663,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1663
1663
  name: _$zod.ZodString;
1664
1664
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1665
1665
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1666
- enabled: "enabled";
1667
1666
  disabled: "disabled";
1667
+ enabled: "enabled";
1668
1668
  visible: "visible";
1669
1669
  }>>>;
1670
1670
  modelFilterMode: _$zod.ZodEnum<{
@@ -1691,8 +1691,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1691
1691
  name: _$zod.ZodString;
1692
1692
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1693
1693
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1694
- enabled: "enabled";
1695
1694
  disabled: "disabled";
1695
+ enabled: "enabled";
1696
1696
  visible: "visible";
1697
1697
  }>>>;
1698
1698
  modelFilterMode: _$zod.ZodEnum<{
@@ -1726,8 +1726,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1726
1726
  name: _$zod.ZodString;
1727
1727
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1728
1728
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1729
- enabled: "enabled";
1730
1729
  disabled: "disabled";
1730
+ enabled: "enabled";
1731
1731
  visible: "visible";
1732
1732
  }>>>;
1733
1733
  modelFilterMode: _$zod.ZodEnum<{
@@ -1758,8 +1758,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1758
1758
  name: _$zod.ZodString;
1759
1759
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1760
1760
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1761
- enabled: "enabled";
1762
1761
  disabled: "disabled";
1762
+ enabled: "enabled";
1763
1763
  visible: "visible";
1764
1764
  }>>>;
1765
1765
  modelFilterMode: _$zod.ZodEnum<{
@@ -1863,8 +1863,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1863
1863
  name: _$zod.ZodString;
1864
1864
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1865
1865
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1866
- enabled: "enabled";
1867
1866
  disabled: "disabled";
1867
+ enabled: "enabled";
1868
1868
  visible: "visible";
1869
1869
  }>>>;
1870
1870
  modelFilterMode: _$zod.ZodEnum<{
@@ -1883,8 +1883,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1883
1883
  name: _$zod.ZodString;
1884
1884
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1885
1885
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1886
- enabled: "enabled";
1887
1886
  disabled: "disabled";
1887
+ enabled: "enabled";
1888
1888
  visible: "visible";
1889
1889
  }>>>;
1890
1890
  modelFilterMode: _$zod.ZodEnum<{
@@ -2390,6 +2390,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2390
2390
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2391
2391
  model: _$zod.ZodOptional<_$zod.ZodString>;
2392
2392
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2393
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2393
2394
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
2394
2395
  personaId: _$zod.ZodOptional<_$zod.ZodString>;
2395
2396
  profileId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2405,8 +2406,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2405
2406
  member: "member";
2406
2407
  }>;
2407
2408
  status: _$zod.ZodEnum<{
2408
- idle: "idle";
2409
2409
  active: "active";
2410
+ idle: "idle";
2410
2411
  dead: "dead";
2411
2412
  disposed: "disposed";
2412
2413
  }>;
@@ -2426,6 +2427,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2426
2427
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2427
2428
  model: _$zod.ZodOptional<_$zod.ZodString>;
2428
2429
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2430
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2429
2431
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
2430
2432
  personaId: _$zod.ZodOptional<_$zod.ZodString>;
2431
2433
  profileId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2441,8 +2443,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2441
2443
  member: "member";
2442
2444
  }>;
2443
2445
  status: _$zod.ZodEnum<{
2444
- idle: "idle";
2445
2446
  active: "active";
2447
+ idle: "idle";
2446
2448
  dead: "dead";
2447
2449
  disposed: "disposed";
2448
2450
  }>;
@@ -2467,8 +2469,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2467
2469
  adapterName: _$zod.ZodString;
2468
2470
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2469
2471
  all: "all";
2470
- idle: "idle";
2471
2472
  active: "active";
2473
+ idle: "idle";
2472
2474
  dead: "dead";
2473
2475
  disposed: "disposed";
2474
2476
  }>>;
@@ -2482,6 +2484,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2482
2484
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2483
2485
  model: _$zod.ZodOptional<_$zod.ZodString>;
2484
2486
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2487
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2485
2488
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
2486
2489
  personaId: _$zod.ZodOptional<_$zod.ZodString>;
2487
2490
  profileId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2497,8 +2500,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2497
2500
  member: "member";
2498
2501
  }>;
2499
2502
  status: _$zod.ZodEnum<{
2500
- idle: "idle";
2501
2503
  active: "active";
2504
+ idle: "idle";
2502
2505
  dead: "dead";
2503
2506
  disposed: "disposed";
2504
2507
  }>;
@@ -2520,6 +2523,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2520
2523
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2521
2524
  model: _$zod.ZodOptional<_$zod.ZodString>;
2522
2525
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2526
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2523
2527
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
2524
2528
  personaId: _$zod.ZodOptional<_$zod.ZodString>;
2525
2529
  profileId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2535,8 +2539,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2535
2539
  member: "member";
2536
2540
  }>;
2537
2541
  status: _$zod.ZodEnum<{
2538
- idle: "idle";
2539
2542
  active: "active";
2543
+ idle: "idle";
2540
2544
  dead: "dead";
2541
2545
  disposed: "disposed";
2542
2546
  }>;
@@ -2549,8 +2553,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2549
2553
  request: _$zod.ZodObject<{
2550
2554
  agentId: _$zod.ZodString;
2551
2555
  status: _$zod.ZodEnum<{
2552
- idle: "idle";
2553
2556
  active: "active";
2557
+ idle: "idle";
2554
2558
  dead: "dead";
2555
2559
  disposed: "disposed";
2556
2560
  }>;
@@ -2571,8 +2575,10 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2571
2575
  updateRuntime: {
2572
2576
  request: _$zod.ZodObject<{
2573
2577
  agentId: _$zod.ZodString;
2578
+ adapterId: _$zod.ZodOptional<_$zod.ZodString>;
2574
2579
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2575
2580
  model: _$zod.ZodOptional<_$zod.ZodString>;
2581
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2576
2582
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
2577
2583
  }, _$zod_v4_core0.$strip>;
2578
2584
  response: _$zod.ZodObject<{
@@ -2718,6 +2724,25 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2718
2724
  }, {}, {
2719
2725
  length: number | undefined;
2720
2726
  }>;
2727
+ allowedDirectories: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2728
+ name: string;
2729
+ tableName: "agents";
2730
+ dataType: "json";
2731
+ columnType: "SQLiteTextJson";
2732
+ data: string[];
2733
+ driverParam: string;
2734
+ notNull: false;
2735
+ hasDefault: false;
2736
+ isPrimaryKey: false;
2737
+ isAutoincrement: false;
2738
+ hasRuntimeDefault: false;
2739
+ enumValues: undefined;
2740
+ baseColumn: never;
2741
+ identity: undefined;
2742
+ generated: undefined;
2743
+ }, {}, {
2744
+ $type: string[];
2745
+ }>;
2721
2746
  providerConfigId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2722
2747
  name: "provider_config_id";
2723
2748
  tableName: "agents";
@@ -2856,7 +2881,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2856
2881
  tableName: "agents";
2857
2882
  dataType: "string";
2858
2883
  columnType: "SQLiteText";
2859
- data: "idle" | "active" | "dead" | "disposed";
2884
+ data: "active" | "idle" | "dead" | "disposed";
2860
2885
  driverParam: string;
2861
2886
  notNull: true;
2862
2887
  hasDefault: false;
@@ -3181,8 +3206,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3181
3206
  changed: _$zod.ZodObject<{
3182
3207
  ruleId: _$zod.ZodString;
3183
3208
  changeType: _$zod.ZodEnum<{
3184
- updated: "updated";
3185
3209
  created: "created";
3210
+ updated: "updated";
3186
3211
  deleted: "deleted";
3187
3212
  }>;
3188
3213
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -3471,8 +3496,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3471
3496
  id: _$zod.ZodString;
3472
3497
  description: _$zod.ZodOptional<_$zod.ZodString>;
3473
3498
  name: _$zod.ZodString;
3474
- enabled: _$zod.ZodBoolean;
3475
3499
  scope: _$zod.ZodString;
3500
+ enabled: _$zod.ZodBoolean;
3476
3501
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3477
3502
  type: _$zod.ZodLiteral<"container-local">;
3478
3503
  id: _$zod.ZodString;
@@ -3480,8 +3505,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3480
3505
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3481
3506
  name: _$zod.ZodString;
3482
3507
  image: _$zod.ZodOptional<_$zod.ZodString>;
3483
- enabled: _$zod.ZodBoolean;
3484
3508
  scope: _$zod.ZodString;
3509
+ enabled: _$zod.ZodBoolean;
3485
3510
  busUrl: _$zod.ZodOptional<_$zod.ZodString>;
3486
3511
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3487
3512
  type: _$zod.ZodLiteral<"container-isolated">;
@@ -3490,8 +3515,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3490
3515
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3491
3516
  name: _$zod.ZodString;
3492
3517
  image: _$zod.ZodOptional<_$zod.ZodString>;
3493
- enabled: _$zod.ZodBoolean;
3494
3518
  scope: _$zod.ZodString;
3519
+ enabled: _$zod.ZodBoolean;
3495
3520
  busMode: _$zod.ZodEnum<{
3496
3521
  relay: "relay";
3497
3522
  host: "host";
@@ -3732,9 +3757,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3732
3757
  extensionConfig: _$zod.ZodObject<{
3733
3758
  id: _$zod.ZodString;
3734
3759
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
3760
+ scope: _$zod.ZodString;
3735
3761
  enabled: _$zod.ZodBoolean;
3736
3762
  extensionName: _$zod.ZodString;
3737
- scope: _$zod.ZodString;
3738
3763
  }, _$zod_v4_core0.$strip>;
3739
3764
  }, _$zod_v4_core0.$strip>;
3740
3765
  response: _$zod.ZodObject<{
@@ -3781,18 +3806,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3781
3806
  changed: _$zod.ZodObject<{
3782
3807
  path: _$zod.ZodString;
3783
3808
  kind: _$zod.ZodEnum<{
3809
+ create: "create";
3784
3810
  change: "change";
3785
3811
  delete: "delete";
3786
- create: "create";
3787
3812
  }>;
3788
3813
  }, _$zod_v4_core0.$strip>;
3789
3814
  batch: _$zod.ZodObject<{
3790
3815
  changes: _$zod.ZodArray<_$zod.ZodObject<{
3791
3816
  path: _$zod.ZodString;
3792
3817
  kind: _$zod.ZodEnum<{
3818
+ create: "create";
3793
3819
  change: "change";
3794
3820
  delete: "delete";
3795
- create: "create";
3796
3821
  }>;
3797
3822
  }, _$zod_v4_core0.$strip>>;
3798
3823
  }, _$zod_v4_core0.$strip>;
@@ -5699,9 +5724,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5699
5724
  groupId: _$zod.ZodString;
5700
5725
  entries: _$zod.ZodArray<_$zod.ZodObject<{
5701
5726
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5727
+ priority: _$zod.ZodDefault<_$zod.ZodNumber>;
5702
5728
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
5703
5729
  label: _$zod.ZodString;
5704
- priority: _$zod.ZodDefault<_$zod.ZodNumber>;
5705
5730
  entryId: _$zod.ZodString;
5706
5731
  }, _$zod_v4_core0.$strip>>;
5707
5732
  section: _$zod.ZodEnum<{
@@ -5756,6 +5781,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5756
5781
  request: _$zod.ZodObject<{
5757
5782
  sessionId: _$zod.ZodString;
5758
5783
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
5784
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5785
+ source: _$zod.ZodEnum<{
5786
+ user: "user";
5787
+ system: "system";
5788
+ extension: "extension";
5789
+ }>;
5790
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5791
+ }, _$zod_v4_core0.$strip>>;
5759
5792
  }, _$zod_v4_core0.$strip>;
5760
5793
  response: _$zod.ZodObject<{
5761
5794
  turn: _$zod.ZodObject<{
@@ -5782,6 +5815,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5782
5815
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5783
5816
  }, _$zod_v4_core0.$strip>>>;
5784
5817
  }, _$zod_v4_core0.$strip>>;
5818
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5819
+ source: _$zod.ZodEnum<{
5820
+ user: "user";
5821
+ system: "system";
5822
+ extension: "extension";
5823
+ }>;
5824
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5825
+ }, _$zod_v4_core0.$strip>>;
5785
5826
  }, _$zod_v4_core0.$strip>;
5786
5827
  }, _$zod_v4_core0.$strip>;
5787
5828
  };
@@ -5836,6 +5877,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5836
5877
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5837
5878
  }, _$zod_v4_core0.$strip>>>;
5838
5879
  }, _$zod_v4_core0.$strip>>;
5880
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5881
+ source: _$zod.ZodEnum<{
5882
+ user: "user";
5883
+ system: "system";
5884
+ extension: "extension";
5885
+ }>;
5886
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5887
+ }, _$zod_v4_core0.$strip>>;
5839
5888
  }, _$zod_v4_core0.$strip>;
5840
5889
  transitioned: _$zod.ZodBoolean;
5841
5890
  }, _$zod_v4_core0.$strip>;
@@ -5866,6 +5915,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5866
5915
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5867
5916
  }, _$zod_v4_core0.$strip>>>;
5868
5917
  }, _$zod_v4_core0.$strip>>;
5918
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5919
+ source: _$zod.ZodEnum<{
5920
+ user: "user";
5921
+ system: "system";
5922
+ extension: "extension";
5923
+ }>;
5924
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5925
+ }, _$zod_v4_core0.$strip>>;
5869
5926
  }, _$zod_v4_core0.$strip>;
5870
5927
  }, _$zod_v4_core0.$strip>;
5871
5928
  response: _$zod.ZodObject<{
@@ -5893,6 +5950,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5893
5950
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5894
5951
  }, _$zod_v4_core0.$strip>>>;
5895
5952
  }, _$zod_v4_core0.$strip>>;
5953
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5954
+ source: _$zod.ZodEnum<{
5955
+ user: "user";
5956
+ system: "system";
5957
+ extension: "extension";
5958
+ }>;
5959
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5960
+ }, _$zod_v4_core0.$strip>>;
5896
5961
  }, _$zod_v4_core0.$strip>;
5897
5962
  }, _$zod_v4_core0.$strip>;
5898
5963
  };
@@ -5925,6 +5990,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5925
5990
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5926
5991
  }, _$zod_v4_core0.$strip>>>;
5927
5992
  }, _$zod_v4_core0.$strip>>;
5993
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5994
+ source: _$zod.ZodEnum<{
5995
+ user: "user";
5996
+ system: "system";
5997
+ extension: "extension";
5998
+ }>;
5999
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
6000
+ }, _$zod_v4_core0.$strip>>;
5928
6001
  }, _$zod_v4_core0.$strip>>;
5929
6002
  }, _$zod_v4_core0.$strip>;
5930
6003
  };
@@ -5963,6 +6036,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5963
6036
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5964
6037
  }, _$zod_v4_core0.$strip>>>;
5965
6038
  }, _$zod_v4_core0.$strip>>;
6039
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
6040
+ source: _$zod.ZodEnum<{
6041
+ user: "user";
6042
+ system: "system";
6043
+ extension: "extension";
6044
+ }>;
6045
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
6046
+ }, _$zod_v4_core0.$strip>>;
5966
6047
  }, _$zod_v4_core0.$strip>>;
5967
6048
  }, _$zod_v4_core0.$strip>;
5968
6049
  };
@@ -5995,6 +6076,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5995
6076
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5996
6077
  }, _$zod_v4_core0.$strip>>>;
5997
6078
  }, _$zod_v4_core0.$strip>>;
6079
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
6080
+ source: _$zod.ZodEnum<{
6081
+ user: "user";
6082
+ system: "system";
6083
+ extension: "extension";
6084
+ }>;
6085
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
6086
+ }, _$zod_v4_core0.$strip>>;
5998
6087
  }, _$zod_v4_core0.$strip>>;
5999
6088
  }, _$zod_v4_core0.$strip>;
6000
6089
  };
@@ -6025,6 +6114,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6025
6114
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
6026
6115
  }, _$zod_v4_core0.$strip>>>;
6027
6116
  }, _$zod_v4_core0.$strip>>;
6117
+ initiator: _$zod.ZodOptional<_$zod.ZodObject<{
6118
+ source: _$zod.ZodEnum<{
6119
+ user: "user";
6120
+ system: "system";
6121
+ extension: "extension";
6122
+ }>;
6123
+ sourceId: _$zod.ZodOptional<_$zod.ZodString>;
6124
+ }, _$zod_v4_core0.$strip>>;
6028
6125
  }, _$zod_v4_core0.$strip>>;
6029
6126
  }, _$zod_v4_core0.$strip>;
6030
6127
  };
@@ -6132,18 +6229,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6132
6229
  create: {
6133
6230
  request: _$zod.ZodObject<{
6134
6231
  name: _$zod.ZodString;
6135
- adapterName: _$zod.ZodString;
6136
- providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6137
- model: _$zod.ZodOptional<_$zod.ZodString>;
6138
6232
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6233
+ model: _$zod.ZodOptional<_$zod.ZodString>;
6234
+ providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6235
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6236
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6237
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6238
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6239
+ adapterName: _$zod.ZodString;
6139
6240
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
6140
6241
  fork: "fork";
6141
6242
  fresh: "fresh";
6142
6243
  }>>;
6143
- disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6144
- allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6145
- systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6146
- allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6147
6244
  }, _$zod_v4_core0.$strip>;
6148
6245
  response: _$zod.ZodObject<{
6149
6246
  id: _$zod.ZodString;