@makaio/framework 1.0.0-dev-1785347612784 → 1.0.0-dev-1785407933303

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 (70) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +44 -44
  3. package/dist/bus/index.d.mts +20 -20
  4. package/dist/clients/index.d.mts +5 -5
  5. package/dist/{context-resolution-DmlreWPC.d.mts → context-resolution-DNRkyQto.d.mts} +4 -4
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +2 -2
  8. package/dist/contracts/canonical-model/index.d.mts +1 -1
  9. package/dist/contracts/capabilities/index.d.mts +1 -1
  10. package/dist/contracts/client/index.d.mts +2 -2
  11. package/dist/contracts/extension/index.d.mts +4 -4
  12. package/dist/contracts/facet/index.d.mts +1 -1
  13. package/dist/contracts/index.d.mts +158 -158
  14. package/dist/contracts/materialization/index.d.mts +3 -3
  15. package/dist/contracts/session/index.d.mts +2 -2
  16. package/dist/contracts/shared/index.d.mts +1 -1
  17. package/dist/contracts/variant/index.d.mts +1 -1
  18. package/dist/contracts/workflow/index.d.mts +2 -2
  19. package/dist/git/index.d.mts +1 -1
  20. package/dist/{hook-responses-aQrArNz9.d.mts → hook-responses-Dh1PWXqJ.d.mts} +3 -3
  21. package/dist/{index-DGc25kcM.d.mts → index-B-xrJCwa.d.mts} +67 -67
  22. package/dist/{index-DIy9rArB.d.mts → index-BbF2gRwd.d.mts} +32 -32
  23. package/dist/{index-Dtrd2wRg2.d.mts → index-BfLulUMy2.d.mts} +2 -2
  24. package/dist/{index-BHw_bB_8.d.mts → index-BskPjMet.d.mts} +8 -8
  25. package/dist/{index-Da7WJLiz.d.mts → index-CMJZ2Z8m.d.mts} +100 -100
  26. package/dist/{index-F1KbFchC.d.mts → index-CMgLxw14.d.mts} +40 -40
  27. package/dist/{index-DnG-QFpG.d.mts → index-CUvNKYkV.d.mts} +1 -1
  28. package/dist/{index-DRrF9k9-.d.mts → index-CmFbzuiW.d.mts} +1 -1
  29. package/dist/{index-DvlFDSVv.d.mts → index-DF9ffhVe.d.mts} +12 -12
  30. package/dist/{index-CVLeQeHw.d.mts → index-DSBT83c0.d.mts} +1 -1
  31. package/dist/{index-Bc_JPASG.d.mts → index-DqkjRTr7.d.mts} +7 -7
  32. package/dist/{index-Bl_Zcd3Q.d.mts → index-Hk9mpC3o.d.mts} +7 -7
  33. package/dist/{index-SwA1lwRe.d.mts → index-HsTxm-R3.d.mts} +339 -339
  34. package/dist/{index-wuOy_w7v.d.mts → index-brqfk9JQ.d.mts} +9 -9
  35. package/dist/{index-BTRknOXo.d.mts → index-sFsAqeK1.d.mts} +395 -395
  36. package/dist/kernel/extension/index.d.mts +1 -1
  37. package/dist/kernel/index.d.mts +2 -2
  38. package/dist/kernel/observability/index.d.mts +1 -1
  39. package/dist/{namespace-CKOzDbvJ.d.mts → namespace-BXvD9t0I.d.mts} +27 -27
  40. package/dist/{namespace-oz76ijOO2.d.mts → namespace-D-WH2uYV2.d.mts} +8 -8
  41. package/dist/{namespace-ZwLlJNOH.d.mts → namespace-Dkod-w11.d.mts} +152 -152
  42. package/dist/{namespace-BlHURT7i.d.mts → namespace-g_mbIZq_.d.mts} +42 -42
  43. package/dist/node/transports/index.mjs +2 -2
  44. package/dist/package.json +1 -1
  45. package/dist/runtime-node/workflow-execution-bus-access.d.mts +118 -0
  46. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -0
  47. package/dist/{schema-dz2TC5TT.d.mts → schema-DKUb4rkr.d.mts} +2 -2
  48. package/dist/{schemas-BQS3txU4.d.mts → schemas-B5eUUi6u.d.mts} +8 -8
  49. package/dist/{schemas-Cf68SmbJ.d.mts → schemas-DuIlOWR3.d.mts} +152 -152
  50. package/dist/services/agent-runtime/index.d.mts +2 -2
  51. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  52. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  53. package/dist/services/context-rules/index.d.mts +3 -3
  54. package/dist/services/filesystem/namespace.d.mts +6 -6
  55. package/dist/services/filesystem/schemas.d.mts +3 -3
  56. package/dist/services/git/namespace.d.mts +2 -2
  57. package/dist/services/git/schemas.d.mts +1 -1
  58. package/dist/services/index.d.mts +91 -91
  59. package/dist/services/session/index.d.mts +5 -5
  60. package/dist/services/session/messages/namespace.d.mts +1 -1
  61. package/dist/services/session/session-events/namespace.d.mts +1 -1
  62. package/dist/services/session/storage/namespace.d.mts +1 -1
  63. package/dist/services/session/storage/schema.d.mts +1 -1
  64. package/dist/services/settings/namespace.d.mts +8 -8
  65. package/dist/services/subagent-template/index.d.mts +1 -1
  66. package/dist/services/subagent-template/schemas.d.mts +1 -1
  67. package/dist/{transition-cjK90Dyn.d.mts → transition-DwqL8W9V.d.mts} +1 -1
  68. package/dist/{types-BVHxx-H0.d.mts → types-DR60yv6W.d.mts} +302 -302
  69. package/dist/{view-builder-DHwbHGY6.d.mts → view-builder-qp51cMWh.d.mts} +1 -1
  70. package/package.json +5 -1
@@ -1,4 +1,4 @@
1
- import { H as ClientDefinition, U as ClientDefinitionInput } from "./hook-responses-aQrArNz9.mjs";
1
+ import { H as ClientDefinition, U as ClientDefinitionInput } from "./hook-responses-Dh1PWXqJ.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -89,9 +89,9 @@ declare const ClientSchemas: {
89
89
  baseConfigDir: z.ZodOptional<z.ZodString>;
90
90
  projectDir: z.ZodOptional<z.ZodString>;
91
91
  configInheritance: z.ZodOptional<z.ZodEnum<{
92
- empty: "empty";
93
- full: "full";
94
92
  "auth-only": "auth-only";
93
+ full: "full";
94
+ empty: "empty";
95
95
  }>>;
96
96
  }, z.core.$strip>;
97
97
  response: z.ZodObject<{
@@ -258,8 +258,8 @@ declare const ClientSchemas: {
258
258
  clientRuntimeId: z.ZodString;
259
259
  clientId: z.ZodString;
260
260
  status: z.ZodEnum<{
261
- started: "started";
262
261
  observed: "observed";
262
+ started: "started";
263
263
  }>;
264
264
  source: z.ZodObject<{
265
265
  layer: z.ZodEnum<{
@@ -506,9 +506,9 @@ declare const ClientSchemas: {
506
506
  cwd: z.ZodOptional<z.ZodString>;
507
507
  machineId: z.ZodOptional<z.ZodString>;
508
508
  startMode: z.ZodOptional<z.ZodEnum<{
509
- fresh: "fresh";
510
- resume: "resume";
511
509
  fork: "fork";
510
+ resume: "resume";
511
+ fresh: "fresh";
512
512
  clear: "clear";
513
513
  compact: "compact";
514
514
  }>>;
@@ -648,8 +648,8 @@ declare const ClientSchemas: {
648
648
  "signed-binary-bucket": "signed-binary-bucket";
649
649
  }>;
650
650
  stage: z.ZodEnum<{
651
- downloading: "downloading";
652
651
  resolving: "resolving";
652
+ downloading: "downloading";
653
653
  verifying: "verifying";
654
654
  extracting: "extracting";
655
655
  installing: "installing";
@@ -1159,8 +1159,8 @@ type ClientSetActiveResponse = z.infer<typeof ClientSetActiveSchema.response>;
1159
1159
  * - `'activating'` — marking the installed version as active.
1160
1160
  */
1161
1161
  declare const InstallStageSchema: z.ZodEnum<{
1162
- downloading: "downloading";
1163
1162
  resolving: "resolving";
1163
+ downloading: "downloading";
1164
1164
  verifying: "verifying";
1165
1165
  extracting: "extracting";
1166
1166
  installing: "installing";
@@ -1183,8 +1183,8 @@ declare const ClientInstallProgressSchema: z.ZodObject<{
1183
1183
  "signed-binary-bucket": "signed-binary-bucket";
1184
1184
  }>;
1185
1185
  stage: z.ZodEnum<{
1186
- downloading: "downloading";
1187
1186
  resolving: "resolving";
1187
+ downloading: "downloading";
1188
1188
  verifying: "verifying";
1189
1189
  extracting: "extracting";
1190
1190
  installing: "installing";
@@ -1382,8 +1382,8 @@ declare const ClientRuntimeStartedSchema: z.ZodObject<{
1382
1382
  clientRuntimeId: z.ZodString;
1383
1383
  clientId: z.ZodString;
1384
1384
  status: z.ZodEnum<{
1385
- started: "started";
1386
1385
  observed: "observed";
1386
+ started: "started";
1387
1387
  }>;
1388
1388
  source: z.ZodObject<{
1389
1389
  layer: z.ZodEnum<{
@@ -1486,9 +1486,9 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1486
1486
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1487
1487
  /** Zod schema for the client-reported session start mode. */
1488
1488
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1489
- fresh: "fresh";
1490
- resume: "resume";
1491
1489
  fork: "fork";
1490
+ resume: "resume";
1491
+ fresh: "fresh";
1492
1492
  clear: "clear";
1493
1493
  compact: "compact";
1494
1494
  }>;
@@ -1505,9 +1505,9 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1505
1505
  cwd: z.ZodOptional<z.ZodString>;
1506
1506
  machineId: z.ZodOptional<z.ZodString>;
1507
1507
  startMode: z.ZodOptional<z.ZodEnum<{
1508
- fresh: "fresh";
1509
- resume: "resume";
1510
1508
  fork: "fork";
1509
+ resume: "resume";
1510
+ fresh: "fresh";
1511
1511
  clear: "clear";
1512
1512
  compact: "compact";
1513
1513
  }>>;
@@ -1675,9 +1675,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1675
1675
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
1676
1676
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
1677
1677
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
1678
- empty: "empty";
1679
- full: "full";
1680
1678
  "auth-only": "auth-only";
1679
+ full: "full";
1680
+ empty: "empty";
1681
1681
  }>>;
1682
1682
  }, _$zod_v4_core0.$strip>;
1683
1683
  response: _$zod.ZodObject<{
@@ -1844,8 +1844,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1844
1844
  clientRuntimeId: _$zod.ZodString;
1845
1845
  clientId: _$zod.ZodString;
1846
1846
  status: _$zod.ZodEnum<{
1847
- started: "started";
1848
1847
  observed: "observed";
1848
+ started: "started";
1849
1849
  }>;
1850
1850
  source: _$zod.ZodObject<{
1851
1851
  layer: _$zod.ZodEnum<{
@@ -2076,9 +2076,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2076
2076
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2077
2077
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2078
2078
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2079
- fresh: "fresh";
2080
- resume: "resume";
2081
2079
  fork: "fork";
2080
+ resume: "resume";
2081
+ fresh: "fresh";
2082
2082
  clear: "clear";
2083
2083
  compact: "compact";
2084
2084
  }>>;
@@ -2218,8 +2218,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2218
2218
  "signed-binary-bucket": "signed-binary-bucket";
2219
2219
  }>;
2220
2220
  stage: _$zod.ZodEnum<{
2221
- downloading: "downloading";
2222
2221
  resolving: "resolving";
2222
+ downloading: "downloading";
2223
2223
  verifying: "verifying";
2224
2224
  extracting: "extracting";
2225
2225
  installing: "installing";
@@ -2315,9 +2315,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2315
2315
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
2316
2316
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2317
2317
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
2318
- empty: "empty";
2319
- full: "full";
2320
2318
  "auth-only": "auth-only";
2319
+ full: "full";
2320
+ empty: "empty";
2321
2321
  }>>;
2322
2322
  }, _$zod_v4_core0.$strip>;
2323
2323
  response: _$zod.ZodObject<{
@@ -2484,8 +2484,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2484
2484
  clientRuntimeId: _$zod.ZodString;
2485
2485
  clientId: _$zod.ZodString;
2486
2486
  status: _$zod.ZodEnum<{
2487
- started: "started";
2488
2487
  observed: "observed";
2488
+ started: "started";
2489
2489
  }>;
2490
2490
  source: _$zod.ZodObject<{
2491
2491
  layer: _$zod.ZodEnum<{
@@ -2716,9 +2716,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2716
2716
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2717
2717
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2718
2718
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2719
- fresh: "fresh";
2720
- resume: "resume";
2721
2719
  fork: "fork";
2720
+ resume: "resume";
2721
+ fresh: "fresh";
2722
2722
  clear: "clear";
2723
2723
  compact: "compact";
2724
2724
  }>>;
@@ -2858,8 +2858,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2858
2858
  "signed-binary-bucket": "signed-binary-bucket";
2859
2859
  }>;
2860
2860
  stage: _$zod.ZodEnum<{
2861
- downloading: "downloading";
2862
2861
  resolving: "resolving";
2862
+ downloading: "downloading";
2863
2863
  verifying: "verifying";
2864
2864
  extracting: "extracting";
2865
2865
  installing: "installing";
@@ -2978,9 +2978,9 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
2978
2978
  * Policy for materializing a session config directory from a base client config.
2979
2979
  */
2980
2980
  declare const SessionConfigInheritanceSchema: z.ZodEnum<{
2981
- empty: "empty";
2982
- full: "full";
2983
2981
  "auth-only": "auth-only";
2982
+ full: "full";
2983
+ empty: "empty";
2984
2984
  }>;
2985
2985
  type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
2986
2986
  /**
@@ -3136,9 +3136,9 @@ declare const ClientSessionConfigSchemas: {
3136
3136
  baseConfigDir: z.ZodOptional<z.ZodString>;
3137
3137
  projectDir: z.ZodOptional<z.ZodString>;
3138
3138
  configInheritance: z.ZodOptional<z.ZodEnum<{
3139
- empty: "empty";
3140
- full: "full";
3141
3139
  "auth-only": "auth-only";
3140
+ full: "full";
3141
+ empty: "empty";
3142
3142
  }>>;
3143
3143
  }, z.core.$strip>;
3144
3144
  response: z.ZodObject<{
@@ -3192,9 +3192,9 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
3192
3192
  win32: "win32";
3193
3193
  }>;
3194
3194
  configInheritance: z.ZodEnum<{
3195
- empty: "empty";
3196
- full: "full";
3197
3195
  "auth-only": "auth-only";
3196
+ full: "full";
3197
+ empty: "empty";
3198
3198
  }>;
3199
3199
  }, z.core.$strip>;
3200
3200
  type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
@@ -1957,7 +1957,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
1957
1957
  tableName: "sessions";
1958
1958
  dataType: "string";
1959
1959
  columnType: "SQLiteText";
1960
- data: "closed" | "discovered" | "active" | "archived";
1960
+ data: "discovered" | "closed" | "active" | "archived";
1961
1961
  driverParam: string;
1962
1962
  notNull: true;
1963
1963
  hasDefault: false;
@@ -2071,7 +2071,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
2071
2071
  tableName: "sessions";
2072
2072
  dataType: "string";
2073
2073
  columnType: "SQLiteText";
2074
- data: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
2074
+ data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
2075
2075
  driverParam: string;
2076
2076
  notNull: false;
2077
2077
  hasDefault: false;
@@ -32,8 +32,8 @@ declare const FacetCardinalitySchema: z.ZodEnum<{
32
32
  * - `'surface'` — a UI surface or layout area
33
33
  */
34
34
  declare const FacetAppliesToSchema: z.ZodEnum<{
35
- workpiece: "workpiece";
36
35
  artifact: "artifact";
36
+ workpiece: "workpiece";
37
37
  surface: "surface";
38
38
  }>;
39
39
  /**
@@ -57,8 +57,8 @@ declare const FacetNamespaceRegistrationSchema: z.ZodObject<{
57
57
  human: "human";
58
58
  }>>>;
59
59
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
60
- workpiece: "workpiece";
61
60
  artifact: "artifact";
61
+ workpiece: "workpiece";
62
62
  surface: "surface";
63
63
  }>>>;
64
64
  description: z.ZodOptional<z.ZodString>;
@@ -161,8 +161,8 @@ declare const FacetSchemas: {
161
161
  human: "human";
162
162
  }>>>;
163
163
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
164
- workpiece: "workpiece";
165
164
  artifact: "artifact";
165
+ workpiece: "workpiece";
166
166
  surface: "surface";
167
167
  }>>>;
168
168
  description: z.ZodOptional<z.ZodString>;
@@ -189,8 +189,8 @@ declare const FacetSchemas: {
189
189
  human: "human";
190
190
  }>>>;
191
191
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
192
- workpiece: "workpiece";
193
192
  artifact: "artifact";
193
+ workpiece: "workpiece";
194
194
  surface: "surface";
195
195
  }>>>;
196
196
  description: z.ZodOptional<z.ZodString>;
@@ -227,8 +227,8 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
227
227
  human: "human";
228
228
  }>>>;
229
229
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
230
- workpiece: "workpiece";
231
230
  artifact: "artifact";
231
+ workpiece: "workpiece";
232
232
  surface: "surface";
233
233
  }>>>;
234
234
  description: z.ZodOptional<z.ZodString>;
@@ -255,8 +255,8 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
255
255
  human: "human";
256
256
  }>>>;
257
257
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
258
- workpiece: "workpiece";
259
258
  artifact: "artifact";
259
+ workpiece: "workpiece";
260
260
  surface: "surface";
261
261
  }>>>;
262
262
  description: z.ZodOptional<z.ZodString>;
@@ -299,8 +299,8 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
299
299
  human: "human";
300
300
  }>>>;
301
301
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
302
- workpiece: "workpiece";
303
302
  artifact: "artifact";
303
+ workpiece: "workpiece";
304
304
  surface: "surface";
305
305
  }>>>;
306
306
  description: z.ZodOptional<z.ZodString>;
@@ -327,8 +327,8 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
327
327
  human: "human";
328
328
  }>>>;
329
329
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
330
- workpiece: "workpiece";
331
330
  artifact: "artifact";
331
+ workpiece: "workpiece";
332
332
  surface: "surface";
333
333
  }>>>;
334
334
  description: z.ZodOptional<z.ZodString>;
@@ -263,25 +263,6 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
263
263
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
264
264
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
265
265
  sessionId: z.ZodString;
266
- directTools: z.ZodArray<z.ZodObject<{
267
- fullName: z.ZodString;
268
- originalName: z.ZodString;
269
- serverName: z.ZodString;
270
- description: z.ZodOptional<z.ZodString>;
271
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
272
- exposureMode: z.ZodEnum<{
273
- discovery: "discovery";
274
- direct: "direct";
275
- hidden: "hidden";
276
- }>;
277
- enabled: z.ZodBoolean;
278
- enabledBy: z.ZodOptional<z.ZodEnum<{
279
- discovery: "discovery";
280
- toolset: "toolset";
281
- }>>;
282
- enabledAt: z.ZodOptional<z.ZodNumber>;
283
- exposed: z.ZodBoolean;
284
- }, z.core.$strip>>;
285
266
  servers: z.ZodArray<z.ZodObject<{
286
267
  name: z.ZodString;
287
268
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -318,9 +299,28 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
318
299
  type: z.ZodLiteral<"http">;
319
300
  }, z.core.$strip>], "type">;
320
301
  exposureMode: z.ZodEnum<{
302
+ direct: "direct";
321
303
  discovery: "discovery";
304
+ }>;
305
+ }, z.core.$strip>>;
306
+ directTools: z.ZodArray<z.ZodObject<{
307
+ fullName: z.ZodString;
308
+ originalName: z.ZodString;
309
+ serverName: z.ZodString;
310
+ description: z.ZodOptional<z.ZodString>;
311
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
312
+ exposureMode: z.ZodEnum<{
322
313
  direct: "direct";
314
+ discovery: "discovery";
315
+ hidden: "hidden";
323
316
  }>;
317
+ enabled: z.ZodBoolean;
318
+ enabledBy: z.ZodOptional<z.ZodEnum<{
319
+ discovery: "discovery";
320
+ toolset: "toolset";
321
+ }>>;
322
+ enabledAt: z.ZodOptional<z.ZodNumber>;
323
+ exposed: z.ZodBoolean;
324
324
  }, z.core.$strip>>;
325
325
  discoverableTools: z.ZodArray<z.ZodObject<{
326
326
  fullName: z.ZodString;
@@ -329,8 +329,8 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
329
329
  description: z.ZodOptional<z.ZodString>;
330
330
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
331
331
  exposureMode: z.ZodEnum<{
332
- discovery: "discovery";
333
332
  direct: "direct";
333
+ discovery: "discovery";
334
334
  hidden: "hidden";
335
335
  }>;
336
336
  enabled: z.ZodBoolean;
@@ -380,25 +380,6 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
380
380
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
381
381
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
382
382
  sessionId: z.ZodString;
383
- directTools: z.ZodArray<z.ZodObject<{
384
- fullName: z.ZodString;
385
- originalName: z.ZodString;
386
- serverName: z.ZodString;
387
- description: z.ZodOptional<z.ZodString>;
388
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
389
- exposureMode: z.ZodEnum<{
390
- discovery: "discovery";
391
- direct: "direct";
392
- hidden: "hidden";
393
- }>;
394
- enabled: z.ZodBoolean;
395
- enabledBy: z.ZodOptional<z.ZodEnum<{
396
- discovery: "discovery";
397
- toolset: "toolset";
398
- }>>;
399
- enabledAt: z.ZodOptional<z.ZodNumber>;
400
- exposed: z.ZodBoolean;
401
- }, z.core.$strip>>;
402
383
  servers: z.ZodArray<z.ZodObject<{
403
384
  name: z.ZodString;
404
385
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -435,9 +416,28 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
435
416
  type: z.ZodLiteral<"http">;
436
417
  }, z.core.$strip>], "type">;
437
418
  exposureMode: z.ZodEnum<{
419
+ direct: "direct";
438
420
  discovery: "discovery";
421
+ }>;
422
+ }, z.core.$strip>>;
423
+ directTools: z.ZodArray<z.ZodObject<{
424
+ fullName: z.ZodString;
425
+ originalName: z.ZodString;
426
+ serverName: z.ZodString;
427
+ description: z.ZodOptional<z.ZodString>;
428
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
429
+ exposureMode: z.ZodEnum<{
439
430
  direct: "direct";
431
+ discovery: "discovery";
432
+ hidden: "hidden";
440
433
  }>;
434
+ enabled: z.ZodBoolean;
435
+ enabledBy: z.ZodOptional<z.ZodEnum<{
436
+ discovery: "discovery";
437
+ toolset: "toolset";
438
+ }>>;
439
+ enabledAt: z.ZodOptional<z.ZodNumber>;
440
+ exposed: z.ZodBoolean;
441
441
  }, z.core.$strip>>;
442
442
  discoverableTools: z.ZodArray<z.ZodObject<{
443
443
  fullName: z.ZodString;
@@ -446,8 +446,8 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
446
446
  description: z.ZodOptional<z.ZodString>;
447
447
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
448
448
  exposureMode: z.ZodEnum<{
449
- discovery: "discovery";
450
449
  direct: "direct";
450
+ discovery: "discovery";
451
451
  hidden: "hidden";
452
452
  }>;
453
453
  enabled: z.ZodBoolean;
@@ -510,25 +510,6 @@ declare const CanonicalModelSchemas: {
510
510
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
511
511
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
512
512
  sessionId: z.ZodString;
513
- directTools: z.ZodArray<z.ZodObject<{
514
- fullName: z.ZodString;
515
- originalName: z.ZodString;
516
- serverName: z.ZodString;
517
- description: z.ZodOptional<z.ZodString>;
518
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
519
- exposureMode: z.ZodEnum<{
520
- discovery: "discovery";
521
- direct: "direct";
522
- hidden: "hidden";
523
- }>;
524
- enabled: z.ZodBoolean;
525
- enabledBy: z.ZodOptional<z.ZodEnum<{
526
- discovery: "discovery";
527
- toolset: "toolset";
528
- }>>;
529
- enabledAt: z.ZodOptional<z.ZodNumber>;
530
- exposed: z.ZodBoolean;
531
- }, z.core.$strip>>;
532
513
  servers: z.ZodArray<z.ZodObject<{
533
514
  name: z.ZodString;
534
515
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -565,9 +546,28 @@ declare const CanonicalModelSchemas: {
565
546
  type: z.ZodLiteral<"http">;
566
547
  }, z.core.$strip>], "type">;
567
548
  exposureMode: z.ZodEnum<{
549
+ direct: "direct";
568
550
  discovery: "discovery";
551
+ }>;
552
+ }, z.core.$strip>>;
553
+ directTools: z.ZodArray<z.ZodObject<{
554
+ fullName: z.ZodString;
555
+ originalName: z.ZodString;
556
+ serverName: z.ZodString;
557
+ description: z.ZodOptional<z.ZodString>;
558
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
559
+ exposureMode: z.ZodEnum<{
569
560
  direct: "direct";
561
+ discovery: "discovery";
562
+ hidden: "hidden";
570
563
  }>;
564
+ enabled: z.ZodBoolean;
565
+ enabledBy: z.ZodOptional<z.ZodEnum<{
566
+ discovery: "discovery";
567
+ toolset: "toolset";
568
+ }>>;
569
+ enabledAt: z.ZodOptional<z.ZodNumber>;
570
+ exposed: z.ZodBoolean;
571
571
  }, z.core.$strip>>;
572
572
  discoverableTools: z.ZodArray<z.ZodObject<{
573
573
  fullName: z.ZodString;
@@ -576,8 +576,8 @@ declare const CanonicalModelSchemas: {
576
576
  description: z.ZodOptional<z.ZodString>;
577
577
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
578
578
  exposureMode: z.ZodEnum<{
579
- discovery: "discovery";
580
579
  direct: "direct";
580
+ discovery: "discovery";
581
581
  hidden: "hidden";
582
582
  }>;
583
583
  enabled: z.ZodBoolean;
@@ -639,25 +639,6 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
639
639
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
640
640
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
641
641
  sessionId: _$zod.ZodString;
642
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
643
- fullName: _$zod.ZodString;
644
- originalName: _$zod.ZodString;
645
- serverName: _$zod.ZodString;
646
- description: _$zod.ZodOptional<_$zod.ZodString>;
647
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
648
- exposureMode: _$zod.ZodEnum<{
649
- discovery: "discovery";
650
- direct: "direct";
651
- hidden: "hidden";
652
- }>;
653
- enabled: _$zod.ZodBoolean;
654
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
655
- discovery: "discovery";
656
- toolset: "toolset";
657
- }>>;
658
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
659
- exposed: _$zod.ZodBoolean;
660
- }, _$zod_v4_core0.$strip>>;
661
642
  servers: _$zod.ZodArray<_$zod.ZodObject<{
662
643
  name: _$zod.ZodString;
663
644
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -694,9 +675,28 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
694
675
  type: _$zod.ZodLiteral<"http">;
695
676
  }, _$zod_v4_core0.$strip>], "type">;
696
677
  exposureMode: _$zod.ZodEnum<{
678
+ direct: "direct";
697
679
  discovery: "discovery";
680
+ }>;
681
+ }, _$zod_v4_core0.$strip>>;
682
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
683
+ fullName: _$zod.ZodString;
684
+ originalName: _$zod.ZodString;
685
+ serverName: _$zod.ZodString;
686
+ description: _$zod.ZodOptional<_$zod.ZodString>;
687
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
688
+ exposureMode: _$zod.ZodEnum<{
698
689
  direct: "direct";
690
+ discovery: "discovery";
691
+ hidden: "hidden";
699
692
  }>;
693
+ enabled: _$zod.ZodBoolean;
694
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
695
+ discovery: "discovery";
696
+ toolset: "toolset";
697
+ }>>;
698
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
699
+ exposed: _$zod.ZodBoolean;
700
700
  }, _$zod_v4_core0.$strip>>;
701
701
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
702
702
  fullName: _$zod.ZodString;
@@ -705,8 +705,8 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
705
705
  description: _$zod.ZodOptional<_$zod.ZodString>;
706
706
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
707
707
  exposureMode: _$zod.ZodEnum<{
708
- discovery: "discovery";
709
708
  direct: "direct";
709
+ discovery: "discovery";
710
710
  hidden: "hidden";
711
711
  }>;
712
712
  enabled: _$zod.ZodBoolean;
@@ -766,25 +766,6 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
766
766
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
767
767
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
768
768
  sessionId: _$zod.ZodString;
769
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
770
- fullName: _$zod.ZodString;
771
- originalName: _$zod.ZodString;
772
- serverName: _$zod.ZodString;
773
- description: _$zod.ZodOptional<_$zod.ZodString>;
774
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
775
- exposureMode: _$zod.ZodEnum<{
776
- discovery: "discovery";
777
- direct: "direct";
778
- hidden: "hidden";
779
- }>;
780
- enabled: _$zod.ZodBoolean;
781
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
782
- discovery: "discovery";
783
- toolset: "toolset";
784
- }>>;
785
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
786
- exposed: _$zod.ZodBoolean;
787
- }, _$zod_v4_core0.$strip>>;
788
769
  servers: _$zod.ZodArray<_$zod.ZodObject<{
789
770
  name: _$zod.ZodString;
790
771
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -821,9 +802,28 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
821
802
  type: _$zod.ZodLiteral<"http">;
822
803
  }, _$zod_v4_core0.$strip>], "type">;
823
804
  exposureMode: _$zod.ZodEnum<{
805
+ direct: "direct";
824
806
  discovery: "discovery";
807
+ }>;
808
+ }, _$zod_v4_core0.$strip>>;
809
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
810
+ fullName: _$zod.ZodString;
811
+ originalName: _$zod.ZodString;
812
+ serverName: _$zod.ZodString;
813
+ description: _$zod.ZodOptional<_$zod.ZodString>;
814
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
815
+ exposureMode: _$zod.ZodEnum<{
825
816
  direct: "direct";
817
+ discovery: "discovery";
818
+ hidden: "hidden";
826
819
  }>;
820
+ enabled: _$zod.ZodBoolean;
821
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
822
+ discovery: "discovery";
823
+ toolset: "toolset";
824
+ }>>;
825
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
826
+ exposed: _$zod.ZodBoolean;
827
827
  }, _$zod_v4_core0.$strip>>;
828
828
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
829
829
  fullName: _$zod.ZodString;
@@ -832,8 +832,8 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
832
832
  description: _$zod.ZodOptional<_$zod.ZodString>;
833
833
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
834
834
  exposureMode: _$zod.ZodEnum<{
835
- discovery: "discovery";
836
835
  direct: "direct";
836
+ discovery: "discovery";
837
837
  hidden: "hidden";
838
838
  }>;
839
839
  enabled: _$zod.ZodBoolean;