@makaio/framework 1.0.0-dev-1781454904823 → 1.0.0-dev-1781472900225

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 (109) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/{adapter-BH1X0THX.mjs → adapter-ux2xaQ6H.mjs} +1 -1
  4. package/dist/bus/index.d.mts +4 -4
  5. package/dist/bus/index.mjs +1 -1
  6. package/dist/{bus-Hb-LGzgb.mjs → bus-EZNBPRYi.mjs} +1 -1
  7. package/dist/bus-TDrZtNyc.mjs +1 -0
  8. package/dist/{canonical-model-BNb0IFWC.mjs → canonical-model-BE7t86yt.mjs} +1 -1
  9. package/dist/{compression-vRUOO-28.mjs → compression-Cy9DIqyr.mjs} +1 -1
  10. package/dist/contracts/adapter/index.d.mts +2 -2
  11. package/dist/contracts/adapter/index.mjs +1 -1
  12. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  13. package/dist/contracts/artifact/index.d.mts +1 -1
  14. package/dist/contracts/canonical-model/index.mjs +1 -1
  15. package/dist/contracts/client/index.d.mts +1 -1
  16. package/dist/contracts/config/index.d.mts +6 -6
  17. package/dist/contracts/extension/index.d.mts +3 -3
  18. package/dist/contracts/extension/index.mjs +1 -1
  19. package/dist/contracts/facet/index.d.mts +1 -1
  20. package/dist/contracts/harness/index.d.mts +1 -1
  21. package/dist/contracts/index.d.mts +135 -119
  22. package/dist/contracts/index.mjs +1 -1
  23. package/dist/contracts/materialization/index.d.mts +3 -3
  24. package/dist/contracts/provider/index.d.mts +2 -2
  25. package/dist/contracts/provider/index.mjs +1 -1
  26. package/dist/contracts/session/index.d.mts +2 -2
  27. package/dist/contracts/session/index.mjs +1 -1
  28. package/dist/contracts/shared/index.d.mts +1 -1
  29. package/dist/contracts/variant/index.d.mts +1 -1
  30. package/dist/{definition-BwLJnqEo.d.mts → definition-B2FH_eOh.d.mts} +1 -0
  31. package/dist/{definition-DZMXOnjX.mjs → definition-Bija4lGr.mjs} +1 -1
  32. package/dist/{definition-DSq5ErZD.d.mts → definition-CZcVOhXZ.d.mts} +1 -1
  33. package/dist/{extension-DEUfzXcg.mjs → extension-DNrcv3V7.mjs} +1 -1
  34. package/dist/{index-iXawmtSH2.d.mts → index-9vCtepE32.d.mts} +6 -6
  35. package/dist/{index-B3mq3Qjf.d.mts → index-BZuF4I8O.d.mts} +1 -1
  36. package/dist/{index-BSFmBEDL.d.mts → index-BaajomEP.d.mts} +20 -20
  37. package/dist/{index-BVMF3kRv.d.mts → index-BafN3wmA.d.mts} +18 -16
  38. package/dist/{index-GuspCNLR.d.mts → index-C2XLjebs.d.mts} +8 -8
  39. package/dist/{index-Cs009Dqh.d.mts → index-CKaFWH2Q.d.mts} +2 -2
  40. package/dist/{index-BVf5D_xQ.d.mts → index-CciZTbYG.d.mts} +4 -4
  41. package/dist/{index-BkKWL_tI.d.mts → index-DBd4CgV5.d.mts} +22 -6
  42. package/dist/{index-BKbzDEv4.d.mts → index-DDAviCTa.d.mts} +104 -102
  43. package/dist/{index-CgJf67BC.d.mts → index-DGbTPRLw.d.mts} +29 -29
  44. package/dist/{index-BDnI2oqX.d.mts → index-DKR_B-Oa.d.mts} +1 -1
  45. package/dist/{index-Cs1JVq0D.d.mts → index-DUI1W-zN.d.mts} +8 -8
  46. package/dist/{index-CK_hi7fg.d.mts → index-XzH0OovV.d.mts} +30 -28
  47. package/dist/{index-DN0GXDlw.d.mts → index-ldkFQKNM.d.mts} +9 -9
  48. package/dist/{index-D8nNK-pF.d.mts → index-nEJX7pZ7.d.mts} +1 -1
  49. package/dist/kernel/extension/index.d.mts +1 -1
  50. package/dist/kernel/index.d.mts +2 -2
  51. package/dist/kernel/observability/index.d.mts +1 -1
  52. package/dist/{namespace-Dr1wDUZA2.d.mts → namespace-6u1Uf-iw2.d.mts} +2 -2
  53. package/dist/{namespace-Dy0pcIqF.d.mts → namespace-B1Bldc48.d.mts} +9 -9
  54. package/dist/{namespace-1tHmgGQV.d.mts → namespace-BQgZChZl.d.mts} +2 -2
  55. package/dist/{namespace-CN2TfSCY.d.mts → namespace-Ba1gUpUu.d.mts} +4 -4
  56. package/dist/{namespace-CWgNi8Gv.d.mts → namespace-D8fZyqIh.d.mts} +30 -26
  57. package/dist/{namespace-DphMg7CF.d.mts → namespace-Q-z7Lr2f.d.mts} +4 -4
  58. package/dist/{namespace-Dyj2m6DT.d.mts → namespace-vf2H23bo.d.mts} +42 -42
  59. package/dist/{package-CBjoefAW.mjs → package-lxB0vpby.mjs} +1 -1
  60. package/dist/package.json +1 -1
  61. package/dist/{primitive-runtime-BHSEOIH6.mjs → primitive-runtime-BSg8J7VX.mjs} +1 -1
  62. package/dist/{providers-namespace-DMUyEbmp.d.mts → providers-namespace-C0C-Sb4N.d.mts} +7 -0
  63. package/dist/runtime-node/index.mjs +1 -1
  64. package/dist/{schema-D2B2V6r6.d.mts → schema-zLCdL-0u.d.mts} +2 -2
  65. package/dist/{schemas-ByBtBmoL.d.mts → schemas-BbFAwUpf.d.mts} +3 -3
  66. package/dist/{schemas-D0gBYOoc2.d.mts → schemas-C5iazMbM2.d.mts} +15 -15
  67. package/dist/{schemas-CzvG8xq7.mjs → schemas-Dvm_0GDr.mjs} +1 -1
  68. package/dist/{schemas-CN9hprME.d.mts → schemas-IDGAJ_zv.d.mts} +6 -6
  69. package/dist/{schemas-za4KzhEe.d.mts → schemas-fEoe6H0K.d.mts} +2 -2
  70. package/dist/scoped-bus-CRC3ba_l.mjs +1 -0
  71. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  72. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  73. package/dist/services/agent-runtime/index.d.mts +2 -2
  74. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  75. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  76. package/dist/services/context-rules/index.d.mts +6 -6
  77. package/dist/services/filesystem/namespace.d.mts +12 -12
  78. package/dist/services/filesystem/schemas.d.mts +6 -6
  79. package/dist/services/git/namespace.d.mts +2 -2
  80. package/dist/services/git/schemas.d.mts +1 -1
  81. package/dist/services/harness/index.d.mts +3 -3
  82. package/dist/services/index.d.mts +48 -43
  83. package/dist/services/session/index.d.mts +5 -5
  84. package/dist/services/session/messages/namespace.d.mts +1 -1
  85. package/dist/services/session/session-events/namespace.d.mts +1 -1
  86. package/dist/services/session/storage/namespace.d.mts +1 -1
  87. package/dist/services/session/storage/schema.d.mts +1 -1
  88. package/dist/services/settings/index.d.mts +1 -1
  89. package/dist/services/settings/namespace.d.mts +12 -12
  90. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  91. package/dist/services/settings/storage/index.d.mts +1 -1
  92. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  93. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  94. package/dist/services/subagent-template/index.d.mts +2 -2
  95. package/dist/services/subagent-template/namespace.d.mts +1 -1
  96. package/dist/services/subagent-template/schemas.d.mts +1 -1
  97. package/dist/services/tray-menu/index.d.mts +2 -2
  98. package/dist/services/tray-menu/namespace.d.mts +1 -1
  99. package/dist/services/tray-menu/schemas.d.mts +1 -1
  100. package/dist/{session-owtKCoUX.mjs → session-Is5VSP2V.mjs} +1 -1
  101. package/dist/{session-lineage-DFkJgYt5.d.mts → session-lineage-D_8W1MI0.d.mts} +1 -1
  102. package/dist/{types-Co-MJvHY.d.mts → types-DaznHkuE.d.mts} +38 -36
  103. package/dist/workflow-engine/index.d.mts +63 -63
  104. package/dist/workflow-engine/index.mjs +1 -1
  105. package/dist/workflow-engine/package.mjs +1 -1
  106. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  107. package/package.json +1 -1
  108. package/dist/bus-Caz3Jpbc.mjs +0 -1
  109. package/dist/scoped-bus-04pwo1uM.mjs +0 -1
@@ -10,18 +10,18 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
10
10
  changed: _$zod.ZodObject<{
11
11
  path: _$zod.ZodString;
12
12
  kind: _$zod.ZodEnum<{
13
- change: "change";
14
- create: "create";
15
13
  delete: "delete";
14
+ create: "create";
15
+ change: "change";
16
16
  }>;
17
17
  }, _$zod_v4_core0.$strip>;
18
18
  batch: _$zod.ZodObject<{
19
19
  changes: _$zod.ZodArray<_$zod.ZodObject<{
20
20
  path: _$zod.ZodString;
21
21
  kind: _$zod.ZodEnum<{
22
- change: "change";
23
- create: "create";
24
22
  delete: "delete";
23
+ create: "create";
24
+ change: "change";
25
25
  }>;
26
26
  }, _$zod_v4_core0.$strip>>;
27
27
  }, _$zod_v4_core0.$strip>;
@@ -153,18 +153,18 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
153
153
  changed: _$zod.ZodObject<{
154
154
  path: _$zod.ZodString;
155
155
  kind: _$zod.ZodEnum<{
156
- change: "change";
157
- create: "create";
158
156
  delete: "delete";
157
+ create: "create";
158
+ change: "change";
159
159
  }>;
160
160
  }, _$zod_v4_core0.$strip>;
161
161
  batch: _$zod.ZodObject<{
162
162
  changes: _$zod.ZodArray<_$zod.ZodObject<{
163
163
  path: _$zod.ZodString;
164
164
  kind: _$zod.ZodEnum<{
165
- change: "change";
166
- create: "create";
167
165
  delete: "delete";
166
+ create: "create";
167
+ change: "change";
168
168
  }>;
169
169
  }, _$zod_v4_core0.$strip>>;
170
170
  }, _$zod_v4_core0.$strip>;
@@ -294,18 +294,18 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
294
294
  changed: _$zod.ZodObject<{
295
295
  path: _$zod.ZodString;
296
296
  kind: _$zod.ZodEnum<{
297
- change: "change";
298
- create: "create";
299
297
  delete: "delete";
298
+ create: "create";
299
+ change: "change";
300
300
  }>;
301
301
  }, _$zod_v4_core0.$strip>;
302
302
  batch: _$zod.ZodObject<{
303
303
  changes: _$zod.ZodArray<_$zod.ZodObject<{
304
304
  path: _$zod.ZodString;
305
305
  kind: _$zod.ZodEnum<{
306
- change: "change";
307
- create: "create";
308
306
  delete: "delete";
307
+ create: "create";
308
+ change: "change";
309
309
  }>;
310
310
  }, _$zod_v4_core0.$strip>>;
311
311
  }, _$zod_v4_core0.$strip>;
@@ -5,9 +5,9 @@ import { z } from "zod";
5
5
  * File change kind.
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
- change: "change";
9
- create: "create";
10
8
  delete: "delete";
9
+ create: "create";
10
+ change: "change";
11
11
  }>;
12
12
  type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
13
13
  /**
@@ -16,9 +16,9 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
16
16
  declare const FsChangedSchema: z.ZodObject<{
17
17
  path: z.ZodString;
18
18
  kind: z.ZodEnum<{
19
- change: "change";
20
- create: "create";
21
19
  delete: "delete";
20
+ create: "create";
21
+ change: "change";
22
22
  }>;
23
23
  }, z.core.$strip>;
24
24
  type FsChanged = z.infer<typeof FsChangedSchema>;
@@ -29,9 +29,9 @@ declare const FsBatchSchema: z.ZodObject<{
29
29
  changes: z.ZodArray<z.ZodObject<{
30
30
  path: z.ZodString;
31
31
  kind: z.ZodEnum<{
32
- change: "change";
33
- create: "create";
34
32
  delete: "delete";
33
+ create: "create";
34
+ change: "change";
35
35
  }>;
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;
@@ -321,8 +321,8 @@ declare const GitNamespace: _$_makaio_core0.BusNamespaceDefinition<"git", {
321
321
  path: _$zod.ZodString;
322
322
  branch: _$zod.ZodString;
323
323
  event: _$zod.ZodEnum<{
324
- added: "added";
325
324
  removed: "removed";
325
+ added: "added";
326
326
  }>;
327
327
  timestamp: _$zod.ZodString;
328
328
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -899,8 +899,8 @@ declare const GitSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
899
899
  path: _$zod.ZodString;
900
900
  branch: _$zod.ZodString;
901
901
  event: _$zod.ZodEnum<{
902
- added: "added";
903
902
  removed: "removed";
903
+ added: "added";
904
904
  }>;
905
905
  timestamp: _$zod.ZodString;
906
906
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -420,8 +420,8 @@ declare const GitWorktreeEventSchema: z.ZodObject<{
420
420
  path: z.ZodString;
421
421
  branch: z.ZodString;
422
422
  event: z.ZodEnum<{
423
- added: "added";
424
423
  removed: "removed";
424
+ added: "added";
425
425
  }>;
426
426
  timestamp: z.ZodString;
427
427
  }, z.core.$strip>;
@@ -13,6 +13,7 @@ declare const HarnessInputSchema: z.ZodObject<{
13
13
  cwd: z.ZodOptional<z.ZodString>;
14
14
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
15
15
  name: z.ZodString;
16
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
16
17
  adapterName: z.ZodOptional<z.ZodString>;
17
18
  clientId: z.ZodOptional<z.ZodString>;
18
19
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
@@ -36,7 +37,6 @@ declare const HarnessInputSchema: z.ZodObject<{
36
37
  "always-ask": "always-ask";
37
38
  "full-access": "full-access";
38
39
  }>>>;
39
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
40
40
  approvalPolicy: z.ZodEnum<{
41
41
  reject: "reject";
42
42
  "always-ask": "always-ask";
@@ -130,6 +130,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
130
130
  cwd: z.ZodOptional<z.ZodString>;
131
131
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
132
132
  name: z.ZodString;
133
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
133
134
  adapterName: z.ZodOptional<z.ZodString>;
134
135
  clientId: z.ZodOptional<z.ZodString>;
135
136
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
@@ -153,7 +154,6 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
153
154
  "always-ask": "always-ask";
154
155
  "full-access": "full-access";
155
156
  }>>>;
156
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
157
157
  approvalPolicy: z.ZodEnum<{
158
158
  reject: "reject";
159
159
  "always-ask": "always-ask";
@@ -737,6 +737,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
737
737
  cwd: z.ZodOptional<z.ZodString>;
738
738
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
739
739
  name: z.ZodString;
740
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
740
741
  adapterName: z.ZodOptional<z.ZodString>;
741
742
  clientId: z.ZodOptional<z.ZodString>;
742
743
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
@@ -760,7 +761,6 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
760
761
  "always-ask": "always-ask";
761
762
  "full-access": "full-access";
762
763
  }>>>;
763
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
764
764
  approvalPolicy: z.ZodEnum<{
765
765
  reject: "reject";
766
766
  "always-ask": "always-ask";
@@ -1,9 +1,9 @@
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-BxI5Yq8d.mjs";
2
2
  import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-q5dD3acO.mjs";
3
3
  import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-6QvT0ljq.mjs";
4
- import { _ as BindingRecord } from "../index-BVMF3kRv.mjs";
5
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-za4KzhEe.mjs";
6
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-1tHmgGQV.mjs";
4
+ import { _ as BindingRecord } from "../index-BafN3wmA.mjs";
5
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-fEoe6H0K.mjs";
6
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-BQgZChZl.mjs";
7
7
  import { t as CapabilityService } from "../index-kOSSuOcK.mjs";
8
8
  import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-DMhz3yvr.mjs";
9
9
  import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-9Ifo5zSf.mjs";
@@ -13,26 +13,26 @@ import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from
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-Cae5dubB.mjs";
14
14
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-CEqkI6Zu.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-DNmENr9M.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-Cs009Dqh.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-CKaFWH2Q.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-BtL_9HBk.mjs";
18
18
  import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-BplsE3qw.mjs";
19
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-Dyj2m6DT.mjs";
20
- import { a as agents, s as sessions } from "../schema-D2B2V6r6.mjs";
21
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-Dy0pcIqF.mjs";
19
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-vf2H23bo.mjs";
20
+ import { a as agents, s as sessions } from "../schema-zLCdL-0u.mjs";
21
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-B1Bldc48.mjs";
22
22
  import { t as TurnStorageNamespace } from "../namespace-DKnJL0Ja.mjs";
23
23
  import { n as TurnStorageSubjects } from "../namespace-2G7A4Sza.mjs";
24
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-DphMg7CF.mjs";
24
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-Q-z7Lr2f.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-CkPIPbx9.mjs";
26
26
  import { t as ToolApprovalService } from "../index-BeNVLvtk2.mjs";
27
27
  import { t as TrayMenuService } from "../index-CYZqADXY2.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-CN9hprME.mjs";
29
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-CN2TfSCY.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-IDGAJ_zv.mjs";
29
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-Ba1gUpUu.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-DVgKfgh1.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-DJSffYTW2.mjs";
32
32
  import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DZfBym73.mjs";
33
33
  import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-gey7EUhM.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-D0gBYOoc2.mjs";
35
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-Dr1wDUZA2.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-C5iazMbM2.mjs";
35
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-6u1Uf-iw2.mjs";
36
36
  import * as _$zod from "zod";
37
37
  import { z } from "zod";
38
38
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1342,8 +1342,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1342
1342
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1343
1343
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1344
1344
  enabled: "enabled";
1345
- disabled: "disabled";
1346
1345
  visible: "visible";
1346
+ disabled: "disabled";
1347
1347
  }>>>;
1348
1348
  modelFilterMode: _$zod.ZodEnum<{
1349
1349
  allowlist: "allowlist";
@@ -1369,8 +1369,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1369
1369
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1370
1370
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1371
1371
  enabled: "enabled";
1372
- disabled: "disabled";
1373
1372
  visible: "visible";
1373
+ disabled: "disabled";
1374
1374
  }>>>;
1375
1375
  modelFilterMode: _$zod.ZodEnum<{
1376
1376
  allowlist: "allowlist";
@@ -1396,8 +1396,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1396
1396
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1397
1397
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1398
1398
  enabled: "enabled";
1399
- disabled: "disabled";
1400
1399
  visible: "visible";
1400
+ disabled: "disabled";
1401
1401
  }>>>;
1402
1402
  modelFilterMode: _$zod.ZodEnum<{
1403
1403
  allowlist: "allowlist";
@@ -1460,8 +1460,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1460
1460
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1461
1461
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1462
1462
  enabled: "enabled";
1463
- disabled: "disabled";
1464
1463
  visible: "visible";
1464
+ disabled: "disabled";
1465
1465
  }>>>;
1466
1466
  modelFilterMode: _$zod.ZodEnum<{
1467
1467
  allowlist: "allowlist";
@@ -1490,6 +1490,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1490
1490
  credentialRefs: _$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>;
1491
1491
  credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1492
1492
  ambientCredentialEnvVars: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
1493
+ capabilities: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
1493
1494
  }, _$zod_v4_core0.$strip>>;
1494
1495
  }, _$zod_v4_core0.$strict>;
1495
1496
  };
@@ -1593,6 +1594,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1593
1594
  "show-all": "show-all";
1594
1595
  }>>;
1595
1596
  credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1597
+ capabilities: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
1596
1598
  }, _$zod_v4_core0.$strip>>;
1597
1599
  }, _$zod_v4_core0.$strict>;
1598
1600
  };
@@ -1607,8 +1609,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1607
1609
  }, _$zod_v4_core0.$strip>>;
1608
1610
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1609
1611
  enabled: "enabled";
1610
- disabled: "disabled";
1611
1612
  visible: "visible";
1613
+ disabled: "disabled";
1612
1614
  }>>>;
1613
1615
  modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
1614
1616
  allowlist: "allowlist";
@@ -1624,8 +1626,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1624
1626
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1625
1627
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1626
1628
  enabled: "enabled";
1627
- disabled: "disabled";
1628
1629
  visible: "visible";
1630
+ disabled: "disabled";
1629
1631
  }>>>;
1630
1632
  modelFilterMode: _$zod.ZodEnum<{
1631
1633
  allowlist: "allowlist";
@@ -1650,8 +1652,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1650
1652
  }, _$zod_v4_core0.$strip>>>;
1651
1653
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1652
1654
  enabled: "enabled";
1653
- disabled: "disabled";
1654
1655
  visible: "visible";
1656
+ disabled: "disabled";
1655
1657
  }>>>;
1656
1658
  enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
1657
1659
  }, _$zod_v4_core0.$strict>;
@@ -1664,8 +1666,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1664
1666
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1665
1667
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1666
1668
  enabled: "enabled";
1667
- disabled: "disabled";
1668
1669
  visible: "visible";
1670
+ disabled: "disabled";
1669
1671
  }>>>;
1670
1672
  modelFilterMode: _$zod.ZodEnum<{
1671
1673
  allowlist: "allowlist";
@@ -1692,8 +1694,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1692
1694
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1693
1695
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1694
1696
  enabled: "enabled";
1695
- disabled: "disabled";
1696
1697
  visible: "visible";
1698
+ disabled: "disabled";
1697
1699
  }>>>;
1698
1700
  modelFilterMode: _$zod.ZodEnum<{
1699
1701
  allowlist: "allowlist";
@@ -1727,8 +1729,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1727
1729
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1728
1730
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1729
1731
  enabled: "enabled";
1730
- disabled: "disabled";
1731
1732
  visible: "visible";
1733
+ disabled: "disabled";
1732
1734
  }>>>;
1733
1735
  modelFilterMode: _$zod.ZodEnum<{
1734
1736
  allowlist: "allowlist";
@@ -1759,8 +1761,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1759
1761
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1760
1762
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1761
1763
  enabled: "enabled";
1762
- disabled: "disabled";
1763
1764
  visible: "visible";
1765
+ disabled: "disabled";
1764
1766
  }>>>;
1765
1767
  modelFilterMode: _$zod.ZodEnum<{
1766
1768
  allowlist: "allowlist";
@@ -1864,8 +1866,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1864
1866
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1865
1867
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1866
1868
  enabled: "enabled";
1867
- disabled: "disabled";
1868
1869
  visible: "visible";
1870
+ disabled: "disabled";
1869
1871
  }>>>;
1870
1872
  modelFilterMode: _$zod.ZodEnum<{
1871
1873
  allowlist: "allowlist";
@@ -1884,8 +1886,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1884
1886
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1885
1887
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1886
1888
  enabled: "enabled";
1887
- disabled: "disabled";
1888
1889
  visible: "visible";
1890
+ disabled: "disabled";
1889
1891
  }>>>;
1890
1892
  modelFilterMode: _$zod.ZodEnum<{
1891
1893
  allowlist: "allowlist";
@@ -2344,9 +2346,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2344
2346
  status: _$zod.ZodEnum<{
2345
2347
  completed: "completed";
2346
2348
  cancelled: "cancelled";
2347
- failed: "failed";
2348
2349
  running: "running";
2349
2350
  waiting_input: "waiting_input";
2351
+ failed: "failed";
2350
2352
  }>;
2351
2353
  result: _$zod.ZodOptional<_$zod.ZodString>;
2352
2354
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3211,9 +3213,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3211
3213
  changed: _$zod.ZodObject<{
3212
3214
  ruleId: _$zod.ZodString;
3213
3215
  changeType: _$zod.ZodEnum<{
3214
- updated: "updated";
3215
- created: "created";
3216
3216
  deleted: "deleted";
3217
+ created: "created";
3218
+ updated: "updated";
3217
3219
  }>;
3218
3220
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
3219
3221
  scope: _$zod.ZodEnum<{
@@ -3762,9 +3764,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3762
3764
  extensionConfig: _$zod.ZodObject<{
3763
3765
  id: _$zod.ZodString;
3764
3766
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
3767
+ extensionName: _$zod.ZodString;
3765
3768
  enabled: _$zod.ZodBoolean;
3766
3769
  scope: _$zod.ZodString;
3767
- extensionName: _$zod.ZodString;
3768
3770
  }, _$zod_v4_core0.$strip>;
3769
3771
  }, _$zod_v4_core0.$strip>;
3770
3772
  response: _$zod.ZodObject<{
@@ -3811,18 +3813,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3811
3813
  changed: _$zod.ZodObject<{
3812
3814
  path: _$zod.ZodString;
3813
3815
  kind: _$zod.ZodEnum<{
3814
- change: "change";
3815
- create: "create";
3816
3816
  delete: "delete";
3817
+ create: "create";
3818
+ change: "change";
3817
3819
  }>;
3818
3820
  }, _$zod_v4_core0.$strip>;
3819
3821
  batch: _$zod.ZodObject<{
3820
3822
  changes: _$zod.ZodArray<_$zod.ZodObject<{
3821
3823
  path: _$zod.ZodString;
3822
3824
  kind: _$zod.ZodEnum<{
3823
- change: "change";
3824
- create: "create";
3825
3825
  delete: "delete";
3826
+ create: "create";
3827
+ change: "change";
3826
3828
  }>;
3827
3829
  }, _$zod_v4_core0.$strip>>;
3828
3830
  }, _$zod_v4_core0.$strip>;
@@ -4012,6 +4014,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4012
4014
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
4013
4015
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4014
4016
  name: _$zod.ZodString;
4017
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4015
4018
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4016
4019
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
4017
4020
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
@@ -4035,7 +4038,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4035
4038
  "always-ask": "always-ask";
4036
4039
  "full-access": "full-access";
4037
4040
  }>>>;
4038
- credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4039
4041
  approvalPolicy: _$zod.ZodEnum<{
4040
4042
  reject: "reject";
4041
4043
  "always-ask": "always-ask";
@@ -5298,6 +5300,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5298
5300
  "show-all": "show-all";
5299
5301
  }>;
5300
5302
  credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5303
+ capabilities: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5301
5304
  enabled: _$zod.ZodBoolean;
5302
5305
  createdAt: _$zod.ZodNumber;
5303
5306
  updatedAt: _$zod.ZodNumber;
@@ -5376,6 +5379,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5376
5379
  "show-all": "show-all";
5377
5380
  }>;
5378
5381
  credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5382
+ capabilities: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5379
5383
  enabled: _$zod.ZodBoolean;
5380
5384
  createdAt: _$zod.ZodNumber;
5381
5385
  updatedAt: _$zod.ZodNumber;
@@ -5459,6 +5463,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5459
5463
  "show-all": "show-all";
5460
5464
  }>;
5461
5465
  credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5466
+ capabilities: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5462
5467
  enabled: _$zod.ZodBoolean;
5463
5468
  createdAt: _$zod.ZodNumber;
5464
5469
  updatedAt: _$zod.ZodNumber;
@@ -5729,9 +5734,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5729
5734
  groupId: _$zod.ZodString;
5730
5735
  entries: _$zod.ZodArray<_$zod.ZodObject<{
5731
5736
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5732
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
5733
- priority: _$zod.ZodDefault<_$zod.ZodNumber>;
5734
5737
  label: _$zod.ZodString;
5738
+ priority: _$zod.ZodDefault<_$zod.ZodNumber>;
5739
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
5735
5740
  entryId: _$zod.ZodString;
5736
5741
  }, _$zod_v4_core0.$strip>>;
5737
5742
  section: _$zod.ZodEnum<{
@@ -6157,9 +6162,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6157
6162
  status: _$zod.ZodEnum<{
6158
6163
  completed: "completed";
6159
6164
  cancelled: "cancelled";
6160
- failed: "failed";
6161
6165
  running: "running";
6162
6166
  waiting_input: "waiting_input";
6167
+ failed: "failed";
6163
6168
  }>;
6164
6169
  result: _$zod.ZodOptional<_$zod.ZodString>;
6165
6170
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6235,17 +6240,17 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6235
6240
  request: _$zod.ZodObject<{
6236
6241
  name: _$zod.ZodString;
6237
6242
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6243
+ adapterName: _$zod.ZodString;
6238
6244
  model: _$zod.ZodOptional<_$zod.ZodString>;
6239
- systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6240
- allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6241
- disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6242
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6243
- allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6244
6245
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
6245
6246
  fork: "fork";
6246
6247
  fresh: "fresh";
6247
6248
  }>>;
6248
- adapterName: _$zod.ZodString;
6249
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6250
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6251
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6252
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6253
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6249
6254
  }, _$zod_v4_core0.$strip>;
6250
6255
  response: _$zod.ZodObject<{
6251
6256
  id: _$zod.ZodString;
@@ -1,10 +1,10 @@
1
- import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-Cs009Dqh.mjs";
1
+ import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-CKaFWH2Q.mjs";
2
2
  import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../../index-BtL_9HBk.mjs";
3
3
  import { r as buildProviderContext } from "../../index-BplsE3qw.mjs";
4
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-Dyj2m6DT.mjs";
5
- import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-D2B2V6r6.mjs";
6
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-Dy0pcIqF.mjs";
4
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-vf2H23bo.mjs";
5
+ import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-zLCdL-0u.mjs";
6
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-B1Bldc48.mjs";
7
7
  import { t as TurnStorageNamespace } from "../../namespace-DKnJL0Ja.mjs";
8
8
  import { n as TurnStorageSubjects } from "../../namespace-2G7A4Sza.mjs";
9
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-DphMg7CF.mjs";
9
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-Q-z7Lr2f.mjs";
10
10
  export { AdapterRegistry, AgentContextState, AgentStorageNamespace, AgentStorageSubjects, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, EmbeddingIndexManager, EventTransform, FallbackRuntimeOptions, ISessionOrchestrator, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, MakaioSession, MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, RecoveryConfig, SearchFilters, SearchSessionRow, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLogger, SessionLoggerOptions, SessionOrchestrator, SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, StartTurnOptions, Turn, TurnCompleteCallback, TurnCompletionResult, TurnConfig, TurnContext, TurnContextEnricher, TurnResult, TurnStateChange, TurnStorageNamespace, TurnStorageSubjects, actionRegistry, agents, agentsDual, assembleForkContext, buildProviderContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createSessionExtensionContext, ensureAgentCwd, ensureAgentModel, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, getSessionAncestorChain, importCursors, importCursorsDual, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveExecutionTarget, resolveModelCapabilities, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionEvents, sessionEventsDual, sessions, sessionsDual, toSessionLineage, turns, turnsDual, verifyAndRecoverAgents };
@@ -1,2 +1,2 @@
1
- import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-DphMg7CF.mjs";
1
+ import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-Q-z7Lr2f.mjs";
2
2
  export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
@@ -1,2 +1,2 @@
1
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-Dy0pcIqF.mjs";
1
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-B1Bldc48.mjs";
2
2
  export { SessionEventStorageNamespace, SessionEventStorageSubjects };
@@ -1,2 +1,2 @@
1
- import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-Dyj2m6DT.mjs";
1
+ import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-vf2H23bo.mjs";
2
2
  export { SessionPreviewData, SessionPreviewDataSchema, SessionStorageNamespace, SessionStorageSubjects, SessionWithPreview, SessionWithPreviewSchema };
@@ -1,2 +1,2 @@
1
- import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-D2B2V6r6.mjs";
1
+ import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-zLCdL-0u.mjs";
2
2
  export { InsertAgent, InsertSession, SelectAgent, SelectSession, agents, agentsDual, sessions, sessionsDual };
@@ -1,5 +1,5 @@
1
1
  import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../clients-namespace-CeAB0t06.mjs";
2
- import { i as ProviderStorageSubjects, n as ProviderRecordSchema, r as ProviderStorageNamespace, t as ProviderRecord } from "../../providers-namespace-DMUyEbmp.mjs";
2
+ import { i as ProviderStorageSubjects, n as ProviderRecordSchema, r as ProviderStorageNamespace, t as ProviderRecord } from "../../providers-namespace-C0C-Sb4N.mjs";
3
3
  import { t as StorageIdRequestSchema } from "../../index-BVhnqzDC2.mjs";
4
4
  import { ProtocolId } from "@makaio/framework/contracts/provider";
5
5