@makaio/framework 1.0.0-dev-1781354548379 → 1.0.0-dev-1781368205459

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 (83) hide show
  1. package/README.md +1 -1
  2. package/dist/.makaio-build.json +2 -2
  3. package/dist/adapter-subsystem/index.d.mts +493 -0
  4. package/dist/adapter-subsystem/index.mjs +1 -0
  5. package/dist/clients/index.d.mts +5 -5
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  7. package/dist/contracts/client/index.d.mts +1 -1
  8. package/dist/contracts/extension/index.d.mts +1 -1
  9. package/dist/contracts/harness/index.d.mts +1 -1
  10. package/dist/contracts/index.d.mts +62 -62
  11. package/dist/contracts/session/index.d.mts +2 -2
  12. package/dist/contracts/variant/index.d.mts +1 -1
  13. package/dist/inbound-hooks/index.d.mts +174 -0
  14. package/dist/inbound-hooks/index.mjs +1 -0
  15. package/dist/{index-CH5U3zSA2.d.mts → index-B4vJi_iM2.d.mts} +1 -1
  16. package/dist/{index-C3zfJg6s.d.mts → index-B6VdcJ5l.d.mts} +34 -34
  17. package/dist/{index-Da4ABgRq.d.mts → index-Cb0zGPMV.d.mts} +24 -24
  18. package/dist/{index-DPIdX6kb.d.mts → index-ChrHbhJV.d.mts} +99 -99
  19. package/dist/{index-BpXX9WZJ.d.mts → index-Ckm-R1Cr.d.mts} +6 -6
  20. package/dist/{index-BHzgDuRE.d.mts → index-D0Fupmhd.d.mts} +3 -3
  21. package/dist/{index-CTn_Xi-p.d.mts → index-DC6F_m3G.d.mts} +1 -1
  22. package/dist/{index-IekAD8Gp.d.mts → index-DhpOh71Z.d.mts} +4 -4
  23. package/dist/{index-DrGLAuZc.d.mts → index-Dtj6N2sx.d.mts} +2 -2
  24. package/dist/{index-BAhJKQLX.d.mts → index-EsXVjKsv.d.mts} +4 -4
  25. package/dist/{index-BDRKAxIV.d.mts → index-dAjtejnc.d.mts} +2 -2
  26. package/dist/kernel/extension/index.d.mts +1 -1
  27. package/dist/kernel/index.d.mts +2 -2
  28. package/dist/kernel/observability/index.d.mts +1 -1
  29. package/dist/{namespace-B73Sxj5L.d.mts → namespace-B03JE_ec.d.mts} +4 -4
  30. package/dist/{namespace-DRFJN-_z.d.mts → namespace-BGmNI3O1.d.mts} +2 -2
  31. package/dist/{namespace-BxxBhcV_.d.mts → namespace-BPlAuhc_.d.mts} +9 -9
  32. package/dist/{namespace-B60mn8J-2.d.mts → namespace-CtK3nKKj2.d.mts} +2 -2
  33. package/dist/{namespace-Boe6l5n9.d.mts → namespace-_Ii2qs15.d.mts} +42 -42
  34. package/dist/package.json +1 -1
  35. package/dist/runtime-node/index.d.mts +8 -59
  36. package/dist/runtime-node/index.mjs +26 -26
  37. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  38. package/dist/{schema-DGMLvVoQ.d.mts → schema-BJS05p13.d.mts} +2 -2
  39. package/dist/{schemas-Dv5FxHDT.d.mts → schemas-C2c64X6h.d.mts} +2 -2
  40. package/dist/{schemas-kVcJMjjn2.d.mts → schemas-CwF2K9N52.d.mts} +7 -7
  41. package/dist/services/agent-runtime/index.d.mts +2 -2
  42. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  43. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  44. package/dist/services/context-rules/index.d.mts +3 -3
  45. package/dist/services/execution-target/index.d.mts +1 -1
  46. package/dist/services/filesystem/namespace.d.mts +6 -6
  47. package/dist/services/filesystem/schemas.d.mts +3 -3
  48. package/dist/services/git/namespace.d.mts +2 -2
  49. package/dist/services/git/schemas.d.mts +1 -1
  50. package/dist/services/harness/index.d.mts +3 -3
  51. package/dist/services/index.d.mts +20 -20
  52. package/dist/services/session/index.d.mts +5 -5
  53. package/dist/services/session/messages/namespace.d.mts +1 -1
  54. package/dist/services/session/session-events/namespace.d.mts +1 -1
  55. package/dist/services/session/storage/namespace.d.mts +1 -1
  56. package/dist/services/session/storage/schema.d.mts +1 -1
  57. package/dist/services/settings/namespace.d.mts +4 -4
  58. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  59. package/dist/services/subagent-template/index.d.mts +2 -2
  60. package/dist/services/subagent-template/namespace.d.mts +1 -1
  61. package/dist/services/subagent-template/schemas.d.mts +1 -1
  62. package/dist/{types-BpuLMR2m.d.mts → types-CjrDiL2H.d.mts} +34 -34
  63. package/dist/workflow-engine/index.d.mts +30 -30
  64. package/package.json +9 -1
  65. package/dist/drizzle/0001_messages_content_tsv.na.md +0 -18
  66. package/dist/drizzle/meta/0000_snapshot.json +0 -2813
  67. package/dist/drizzle/meta/0001_snapshot.json +0 -2820
  68. package/dist/drizzle/meta/0002_snapshot.json +0 -2827
  69. package/dist/drizzle/meta/0003_snapshot.json +0 -2834
  70. package/dist/drizzle/meta/0004_snapshot.json +0 -2842
  71. package/dist/drizzle/meta/0005_snapshot.json +0 -2849
  72. package/dist/drizzle/meta/0006_snapshot.json +0 -2865
  73. package/dist/drizzle/meta/0007_snapshot.json +0 -2879
  74. package/dist/drizzle/meta/0008_snapshot.json +0 -2886
  75. package/dist/drizzle/meta/0009_snapshot.json +0 -2901
  76. package/dist/drizzle/meta/0010_snapshot.json +0 -2908
  77. package/dist/drizzle/meta/0011_snapshot.json +0 -2915
  78. package/dist/drizzle/meta/0012_snapshot.json +0 -2934
  79. package/dist/drizzle/meta/0013_snapshot.json +0 -2954
  80. package/dist/drizzle/meta/0014_snapshot.json +0 -2959
  81. package/dist/drizzle/meta/0015_snapshot.json +0 -2966
  82. package/dist/drizzle/meta/0016_snapshot.json +0 -2973
  83. package/dist/drizzle/meta/0017_snapshot.json +0 -2980
@@ -1,2 +1,2 @@
1
- import { D as WorkflowWorkerEntryResolverOptions, E as WorkflowWorkerEntryMode, O as resolveWorkflowWorkerEntry, _ as WorkflowRunResult, a as InProcessWorkflowRunnerOptions, c as WorkerNodeRunner, d as NodeWorkflowRunnerPackageOptions, f as createNodeWorkflowRunner, g as ThinWorkflowPiscinaRunnerOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, l as WorkerNodeRunnerOptions, m as ThinWorkflowPiscinaRunner, n as loadWorkflowModules, o as PiscinaThinWorkflowProvider, p as createNodeWorkflowRunnerPackageOptions, r as loadWorkflowFromConfig, s as PiscinaThinWorkflowProviderOptions, t as loadWorkflowModule, u as CreateNodeWorkflowRunnerPackageOptionsParams } from "../../index-BDRKAxIV.mjs";
1
+ import { D as WorkflowWorkerEntryResolverOptions, E as WorkflowWorkerEntryMode, O as resolveWorkflowWorkerEntry, _ as WorkflowRunResult, a as InProcessWorkflowRunnerOptions, c as WorkerNodeRunner, d as NodeWorkflowRunnerPackageOptions, f as createNodeWorkflowRunner, g as ThinWorkflowPiscinaRunnerOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, l as WorkerNodeRunnerOptions, m as ThinWorkflowPiscinaRunner, n as loadWorkflowModules, o as PiscinaThinWorkflowProvider, p as createNodeWorkflowRunnerPackageOptions, r as loadWorkflowFromConfig, s as PiscinaThinWorkflowProviderOptions, t as loadWorkflowModule, u as CreateNodeWorkflowRunnerPackageOptionsParams } from "../../index-dAjtejnc.mjs";
2
2
  export { CreateNodeWorkflowRunnerPackageOptionsParams, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, NodeWorkflowRunnerPackageOptions, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerNodeRunner, WorkerNodeRunnerOptions, WorkflowRunResult, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, resolveWorkflowWorkerEntry };
@@ -251,7 +251,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
251
251
  tableName: "sessions";
252
252
  dataType: "string";
253
253
  columnType: "SQLiteText";
254
- data: "closed" | "discovered" | "active" | "archived";
254
+ data: "closed" | "active" | "archived" | "discovered";
255
255
  driverParam: string;
256
256
  notNull: true;
257
257
  hasDefault: false;
@@ -365,7 +365,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
365
365
  tableName: "sessions";
366
366
  dataType: "string";
367
367
  columnType: "SQLiteText";
368
- data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
368
+ data: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
369
369
  driverParam: string;
370
370
  notNull: false;
371
371
  hasDefault: false;
@@ -420,8 +420,8 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
420
420
  status: z.ZodEnum<{
421
421
  completed: "completed";
422
422
  cancelled: "cancelled";
423
- failed: "failed";
424
423
  running: "running";
424
+ failed: "failed";
425
425
  waiting_input: "waiting_input";
426
426
  }>;
427
427
  result: z.ZodOptional<z.ZodString>;
@@ -878,8 +878,8 @@ declare const AgentRuntimeSchemas: {
878
878
  status: z.ZodEnum<{
879
879
  completed: "completed";
880
880
  cancelled: "cancelled";
881
- failed: "failed";
882
881
  running: "running";
882
+ failed: "failed";
883
883
  waiting_input: "waiting_input";
884
884
  }>;
885
885
  result: z.ZodOptional<z.ZodString>;
@@ -44,18 +44,18 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
44
44
  */
45
45
  declare const SubagentTemplateCreateSchema: z.ZodObject<{
46
46
  name: z.ZodString;
47
- adapterName: z.ZodString;
48
47
  providerConfigId: z.ZodOptional<z.ZodString>;
49
48
  model: z.ZodOptional<z.ZodString>;
50
- enabled: z.ZodDefault<z.ZodBoolean>;
51
49
  systemPrompt: z.ZodOptional<z.ZodString>;
52
50
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
51
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
+ enabled: z.ZodDefault<z.ZodBoolean>;
54
53
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
54
  contextMode: z.ZodDefault<z.ZodEnum<{
56
55
  fork: "fork";
57
56
  fresh: "fresh";
58
57
  }>>;
58
+ adapterName: z.ZodString;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
61
61
  /**
@@ -129,18 +129,18 @@ declare const SubagentTemplateSettingsSchemas: {
129
129
  create: {
130
130
  request: z.ZodObject<{
131
131
  name: z.ZodString;
132
- adapterName: z.ZodString;
133
132
  providerConfigId: z.ZodOptional<z.ZodString>;
134
133
  model: z.ZodOptional<z.ZodString>;
135
- enabled: z.ZodDefault<z.ZodBoolean>;
136
134
  systemPrompt: z.ZodOptional<z.ZodString>;
137
135
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
136
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
+ enabled: z.ZodDefault<z.ZodBoolean>;
139
138
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
139
  contextMode: z.ZodDefault<z.ZodEnum<{
141
140
  fork: "fork";
142
141
  fresh: "fresh";
143
142
  }>>;
143
+ adapterName: z.ZodString;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
146
146
  id: z.ZodString;
@@ -191,8 +191,8 @@ declare const SubagentTemplateInstanceSchema: z.ZodObject<{
191
191
  status: z.ZodEnum<{
192
192
  completed: "completed";
193
193
  cancelled: "cancelled";
194
- failed: "failed";
195
194
  running: "running";
195
+ failed: "failed";
196
196
  waiting_input: "waiting_input";
197
197
  }>;
198
198
  createdAt: z.ZodString;
@@ -222,8 +222,8 @@ declare const SubagentTemplateInstanceStatusSchema: z.ZodObject<{
222
222
  status: z.ZodEnum<{
223
223
  completed: "completed";
224
224
  cancelled: "cancelled";
225
- failed: "failed";
226
225
  running: "running";
226
+ failed: "failed";
227
227
  waiting_input: "waiting_input";
228
228
  }>;
229
229
  result: z.ZodOptional<z.ZodString>;
@@ -274,8 +274,8 @@ declare const SubagentTemplateKernelSchemas: {
274
274
  status: z.ZodEnum<{
275
275
  completed: "completed";
276
276
  cancelled: "cancelled";
277
- failed: "failed";
278
277
  running: "running";
278
+ failed: "failed";
279
279
  waiting_input: "waiting_input";
280
280
  }>;
281
281
  result: z.ZodOptional<z.ZodString>;
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-Dv5FxHDT.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-DRFJN-_z.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-C2c64X6h.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BGmNI3O1.mjs";
3
3
  export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-DRFJN-_z.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BGmNI3O1.mjs";
2
2
  export { AgentRuntimeNamespace, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-Dv5FxHDT.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-C2c64X6h.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
@@ -160,8 +160,8 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
160
160
  declare const ContextRuleChangedEventSchema: z.ZodObject<{
161
161
  ruleId: z.ZodString;
162
162
  changeType: z.ZodEnum<{
163
- updated: "updated";
164
163
  created: "created";
164
+ updated: "updated";
165
165
  deleted: "deleted";
166
166
  }>;
167
167
  previous: z.ZodNullable<z.ZodObject<{
@@ -313,8 +313,8 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
313
313
  changed: _$zod.ZodObject<{
314
314
  ruleId: _$zod.ZodString;
315
315
  changeType: _$zod.ZodEnum<{
316
- updated: "updated";
317
316
  created: "created";
317
+ updated: "updated";
318
318
  deleted: "deleted";
319
319
  }>;
320
320
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -383,8 +383,8 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
383
383
  changed: _$zod.ZodObject<{
384
384
  ruleId: _$zod.ZodString;
385
385
  changeType: _$zod.ZodEnum<{
386
- updated: "updated";
387
386
  created: "created";
387
+ updated: "updated";
388
388
  deleted: "deleted";
389
389
  }>;
390
390
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -1,4 +1,4 @@
1
1
  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";
2
2
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-BBVtD1gu.mjs";
3
- 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, a as ContainerBootstrapConfig, 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, o as ContainerBootstrapConfigSchema, 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";
3
+ 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, a as ContainerBootstrapConfig, 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, o as ContainerBootstrapConfigSchema, 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-Ckm-R1Cr.mjs";
4
4
  export { ContainerBootstrapConfig, ContainerBootstrapConfigSchema, ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
@@ -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
13
  create: "create";
15
14
  delete: "delete";
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
22
  create: "create";
24
23
  delete: "delete";
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
156
  create: "create";
158
157
  delete: "delete";
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
165
  create: "create";
167
166
  delete: "delete";
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
297
  create: "create";
299
298
  delete: "delete";
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
306
  create: "create";
308
307
  delete: "delete";
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
8
  create: "create";
10
9
  delete: "delete";
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
19
  create: "create";
21
20
  delete: "delete";
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
32
  create: "create";
34
33
  delete: "delete";
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>;
@@ -15,6 +15,7 @@ declare const HarnessInputSchema: z.ZodObject<{
15
15
  name: z.ZodString;
16
16
  adapterName: z.ZodOptional<z.ZodString>;
17
17
  clientId: z.ZodOptional<z.ZodString>;
18
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18
19
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
19
20
  "file.read": "file.read";
20
21
  "file.write": "file.write";
@@ -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";
@@ -132,6 +132,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
132
132
  name: z.ZodString;
133
133
  adapterName: z.ZodOptional<z.ZodString>;
134
134
  clientId: z.ZodOptional<z.ZodString>;
135
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
135
136
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
136
137
  "file.read": "file.read";
137
138
  "file.write": "file.write";
@@ -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";
@@ -739,6 +739,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
739
739
  name: z.ZodString;
740
740
  adapterName: z.ZodOptional<z.ZodString>;
741
741
  clientId: z.ZodOptional<z.ZodString>;
742
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
742
743
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
743
744
  "file.read": "file.read";
744
745
  "file.write": "file.write";
@@ -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";
@@ -2,8 +2,8 @@ import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdR
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
4
  import { _ as BindingRecord } from "../index-BpniJgxu.mjs";
5
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-Dv5FxHDT.mjs";
6
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-DRFJN-_z.mjs";
5
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-C2c64X6h.mjs";
6
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-BGmNI3O1.mjs";
7
7
  import { t as CapabilityService } from "../index-BnQSPC6c.mjs";
8
8
  import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-XTGCaSXj.mjs";
9
9
  import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-B77Gi8Xr.mjs";
@@ -12,16 +12,16 @@ import { n as CompressionSubjects, t as CompressionNamespace } from "../namespac
12
12
  import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-B0BtvVAq.mjs";
13
13
  import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-B5ToLwIs.mjs";
14
14
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-BBVtD1gu.mjs";
15
- import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-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-DrGLAuZc.mjs";
15
+ import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-Ckm-R1Cr.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-Dtj6N2sx.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-Boe6l5n9.mjs";
20
- import { a as agents, s as sessions } from "../schema-DGMLvVoQ.mjs";
21
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BxxBhcV_.mjs";
19
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-_Ii2qs15.mjs";
20
+ import { a as agents, s as sessions } from "../schema-BJS05p13.mjs";
21
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BPlAuhc_.mjs";
22
22
  import { t as TurnStorageNamespace } from "../namespace-aJJfBJU5.mjs";
23
23
  import { n as TurnStorageSubjects } from "../namespace--s0d86h-.mjs";
24
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-B73Sxj5L.mjs";
24
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-B03JE_ec.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";
@@ -31,8 +31,8 @@ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModel
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-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-kVcJMjjn2.mjs";
35
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-B60mn8J-2.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-CwF2K9N52.mjs";
35
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-CtK3nKKj2.mjs";
36
36
  import * as _$zod from "zod";
37
37
  import { z } from "zod";
38
38
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -2339,8 +2339,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2339
2339
  status: _$zod.ZodEnum<{
2340
2340
  completed: "completed";
2341
2341
  cancelled: "cancelled";
2342
- failed: "failed";
2343
2342
  running: "running";
2343
+ failed: "failed";
2344
2344
  waiting_input: "waiting_input";
2345
2345
  }>;
2346
2346
  result: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3206,8 +3206,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3206
3206
  changed: _$zod.ZodObject<{
3207
3207
  ruleId: _$zod.ZodString;
3208
3208
  changeType: _$zod.ZodEnum<{
3209
- updated: "updated";
3210
3209
  created: "created";
3210
+ updated: "updated";
3211
3211
  deleted: "deleted";
3212
3212
  }>;
3213
3213
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -3410,9 +3410,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3410
3410
  }, _$zod_v4_core0.$strip>;
3411
3411
  response: _$zod.ZodObject<{
3412
3412
  state: _$zod.ZodEnum<{
3413
- created: "created";
3414
3413
  running: "running";
3415
3414
  stopped: "stopped";
3415
+ created: "created";
3416
3416
  destroyed: "destroyed";
3417
3417
  }>;
3418
3418
  sessionId: _$zod.ZodString;
@@ -3758,8 +3758,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3758
3758
  id: _$zod.ZodString;
3759
3759
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
3760
3760
  enabled: _$zod.ZodBoolean;
3761
- extensionName: _$zod.ZodString;
3762
3761
  scope: _$zod.ZodString;
3762
+ extensionName: _$zod.ZodString;
3763
3763
  }, _$zod_v4_core0.$strip>;
3764
3764
  }, _$zod_v4_core0.$strip>;
3765
3765
  response: _$zod.ZodObject<{
@@ -3806,18 +3806,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3806
3806
  changed: _$zod.ZodObject<{
3807
3807
  path: _$zod.ZodString;
3808
3808
  kind: _$zod.ZodEnum<{
3809
- change: "change";
3810
3809
  create: "create";
3811
3810
  delete: "delete";
3811
+ change: "change";
3812
3812
  }>;
3813
3813
  }, _$zod_v4_core0.$strip>;
3814
3814
  batch: _$zod.ZodObject<{
3815
3815
  changes: _$zod.ZodArray<_$zod.ZodObject<{
3816
3816
  path: _$zod.ZodString;
3817
3817
  kind: _$zod.ZodEnum<{
3818
- change: "change";
3819
3818
  create: "create";
3820
3819
  delete: "delete";
3820
+ change: "change";
3821
3821
  }>;
3822
3822
  }, _$zod_v4_core0.$strip>>;
3823
3823
  }, _$zod_v4_core0.$strip>;
@@ -4009,6 +4009,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4009
4009
  name: _$zod.ZodString;
4010
4010
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4011
4011
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
4012
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4012
4013
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
4013
4014
  "file.read": "file.read";
4014
4015
  "file.write": "file.write";
@@ -4030,7 +4031,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4030
4031
  "always-ask": "always-ask";
4031
4032
  "full-access": "full-access";
4032
4033
  }>>>;
4033
- credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4034
4034
  approvalPolicy: _$zod.ZodEnum<{
4035
4035
  reject: "reject";
4036
4036
  "always-ask": "always-ask";
@@ -6152,8 +6152,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6152
6152
  status: _$zod.ZodEnum<{
6153
6153
  completed: "completed";
6154
6154
  cancelled: "cancelled";
6155
- failed: "failed";
6156
6155
  running: "running";
6156
+ failed: "failed";
6157
6157
  waiting_input: "waiting_input";
6158
6158
  }>;
6159
6159
  result: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6229,18 +6229,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6229
6229
  create: {
6230
6230
  request: _$zod.ZodObject<{
6231
6231
  name: _$zod.ZodString;
6232
- adapterName: _$zod.ZodString;
6233
6232
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6234
6233
  model: _$zod.ZodOptional<_$zod.ZodString>;
6235
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6236
6234
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6237
6235
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6238
6236
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6237
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6239
6238
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6240
6239
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
6241
6240
  fork: "fork";
6242
6241
  fresh: "fresh";
6243
6242
  }>>;
6243
+ adapterName: _$zod.ZodString;
6244
6244
  }, _$zod_v4_core0.$strip>;
6245
6245
  response: _$zod.ZodObject<{
6246
6246
  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-DrGLAuZc.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-Dtj6N2sx.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-C6BhKRnH.mjs";
3
3
  import { r as buildProviderContext } from "../../index-D0SUjZmU.mjs";
4
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-Boe6l5n9.mjs";
5
- import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-DGMLvVoQ.mjs";
6
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-BxxBhcV_.mjs";
4
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-_Ii2qs15.mjs";
5
+ import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-BJS05p13.mjs";
6
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-BPlAuhc_.mjs";
7
7
  import { t as TurnStorageNamespace } from "../../namespace-aJJfBJU5.mjs";
8
8
  import { n as TurnStorageSubjects } from "../../namespace--s0d86h-.mjs";
9
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-B73Sxj5L.mjs";
9
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-B03JE_ec.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-B73Sxj5L.mjs";
1
+ import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-B03JE_ec.mjs";
2
2
  export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
@@ -1,2 +1,2 @@
1
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-BxxBhcV_.mjs";
1
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-BPlAuhc_.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-Boe6l5n9.mjs";
1
+ import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-_Ii2qs15.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-DGMLvVoQ.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-BJS05p13.mjs";
2
2
  export { InsertAgent, InsertSession, SelectAgent, SelectSession, agents, agentsDual, sessions, sessionsDual };
@@ -518,18 +518,18 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
518
518
  create: {
519
519
  request: _$zod.ZodObject<{
520
520
  name: _$zod.ZodString;
521
- adapterName: _$zod.ZodString;
522
521
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
523
522
  model: _$zod.ZodOptional<_$zod.ZodString>;
524
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
525
523
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
526
524
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
527
525
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
526
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
528
527
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
529
528
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
530
529
  fork: "fork";
531
530
  fresh: "fresh";
532
531
  }>>;
532
+ adapterName: _$zod.ZodString;
533
533
  }, _$zod_v4_core0.$strip>;
534
534
  response: _$zod.ZodObject<{
535
535
  id: _$zod.ZodString;
@@ -609,18 +609,18 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
609
609
  create: {
610
610
  request: _$zod.ZodObject<{
611
611
  name: _$zod.ZodString;
612
- adapterName: _$zod.ZodString;
613
612
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
614
613
  model: _$zod.ZodOptional<_$zod.ZodString>;
615
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
616
614
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
617
615
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
618
616
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
617
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
619
618
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
620
619
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
621
620
  fork: "fork";
622
621
  fresh: "fresh";
623
622
  }>>;
623
+ adapterName: _$zod.ZodString;
624
624
  }, _$zod_v4_core0.$strip>;
625
625
  response: _$zod.ZodObject<{
626
626
  id: _$zod.ZodString;