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

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 (74) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +20 -20
  3. package/dist/adapters/index.d.mts +18 -12
  4. package/dist/adapters/index.mjs +1 -1
  5. package/dist/bus/index.d.mts +21 -21
  6. package/dist/{context-resolution-DmlreWPC.d.mts → context-resolution-DdyhpH4L.d.mts} +7 -7
  7. package/dist/contracts/adapter/index.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +2 -2
  9. package/dist/contracts/canonical-model/index.d.mts +1 -1
  10. package/dist/contracts/capabilities/index.d.mts +1 -1
  11. package/dist/contracts/client/index.d.mts +2 -2
  12. package/dist/contracts/extension/index.d.mts +3 -3
  13. package/dist/contracts/facet/index.d.mts +1 -1
  14. package/dist/contracts/harness/index.d.mts +1 -1
  15. package/dist/contracts/index.d.mts +174 -174
  16. package/dist/contracts/materialization/index.d.mts +3 -3
  17. package/dist/contracts/session/index.d.mts +2 -2
  18. package/dist/contracts/variant/index.d.mts +1 -1
  19. package/dist/contracts/worker-node/index.d.mts +1 -1
  20. package/dist/contracts/workflow/index.d.mts +2 -2
  21. package/dist/git/index.d.mts +1 -1
  22. package/dist/{hook-responses-aQrArNz9.d.mts → hook-responses-Dh1PWXqJ.d.mts} +3 -3
  23. package/dist/{index-DRrF9k9-.d.mts → index-4VfqCjl2.d.mts} +48 -48
  24. package/dist/{index-BTRknOXo.d.mts → index-B9UW_vPM.d.mts} +455 -455
  25. package/dist/{index-DvlFDSVv.d.mts → index-BNMnIe-j.d.mts} +63 -63
  26. package/dist/{index-Da7WJLiz.d.mts → index-BVlXneHH.d.mts} +105 -105
  27. package/dist/{index-BHw_bB_8.d.mts → index-BskPjMet.d.mts} +8 -8
  28. package/dist/{index-Dtrd2wRg2.d.mts → index-CLvQsL6s2.d.mts} +4 -4
  29. package/dist/{index-F1KbFchC.d.mts → index-CMgLxw14.d.mts} +40 -40
  30. package/dist/{index-fmR2JNgJ.d.mts → index-CnMu8BQl.d.mts} +4 -4
  31. package/dist/{index-Bc_JPASG.d.mts → index-D5Nb7IEP.d.mts} +6 -6
  32. package/dist/{index-SwA1lwRe.d.mts → index-DCZ8BX9S.d.mts} +389 -389
  33. package/dist/{index-CVLeQeHw.d.mts → index-DSBT83c0.d.mts} +1 -1
  34. package/dist/{index-Bl_Zcd3Q.d.mts → index-DXN_L5D6.d.mts} +11 -11
  35. package/dist/{index-XZyMxxnU.d.mts → index-D_ODXsBv.d.mts} +4 -4
  36. package/dist/{index-DIy9rArB.d.mts → index-DlsHL9Jg.d.mts} +16 -16
  37. package/dist/{index-wuOy_w7v.d.mts → index-brqfk9JQ.d.mts} +9 -9
  38. package/dist/{index-DGc25kcM.d.mts → index-cqLS1eFV.d.mts} +25 -25
  39. package/dist/kernel/extension/index.d.mts +1 -1
  40. package/dist/kernel/index.d.mts +2 -2
  41. package/dist/kernel/observability/index.d.mts +1 -1
  42. package/dist/{namespace-oz76ijOO2.d.mts → namespace-CjjFvrIA2.d.mts} +29 -29
  43. package/dist/{namespace-ZwLlJNOH.d.mts → namespace-CupOzbRv.d.mts} +154 -154
  44. package/dist/{namespace-CKOzDbvJ.d.mts → namespace-TseEI3Pu.d.mts} +36 -36
  45. package/dist/{namespace-BlHURT7i.d.mts → namespace-g_mbIZq_.d.mts} +42 -42
  46. package/dist/node/transports/index.mjs +2 -2
  47. package/dist/package.json +1 -1
  48. package/dist/runtime-node/workflow-execution-bus-access.d.mts +118 -0
  49. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -0
  50. package/dist/{schema-dz2TC5TT.d.mts → schema-DKUb4rkr.d.mts} +2 -2
  51. package/dist/{schemas-Cf68SmbJ.d.mts → schemas-DnYiAvfz.d.mts} +154 -154
  52. package/dist/{schemas-BQS3txU4.d.mts → schemas-DrVg4aQQ.d.mts} +8 -8
  53. package/dist/services/agent-runtime/index.d.mts +2 -2
  54. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  55. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  56. package/dist/services/context-rules/index.d.mts +3 -3
  57. package/dist/services/harness/index.d.mts +3 -3
  58. package/dist/services/index.d.mts +92 -92
  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/session-editor/index.d.mts +1 -1
  65. package/dist/services/settings/namespace.d.mts +8 -8
  66. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  67. package/dist/services/subagent-template/index.d.mts +1 -1
  68. package/dist/services/subagent-template/schemas.d.mts +1 -1
  69. package/dist/{transition-cjK90Dyn.d.mts → transition-Du3MQzJV.d.mts} +1 -1
  70. package/dist/{types-DHmPneIO.d.mts → types-D7_kevBK.d.mts} +1 -1
  71. package/dist/{types-BVHxx-H0.d.mts → types-Dzrwa1GY.d.mts} +313 -313
  72. package/dist/{view-builder-DHwbHGY6.d.mts → view-builder-DeFd-k7C.d.mts} +1 -1
  73. package/dist/workflow-engine/index.d.mts +47 -47
  74. package/package.json +5 -1
@@ -37,25 +37,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
37
37
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
38
38
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
39
39
  sessionId: z.ZodString;
40
- directTools: z.ZodArray<z.ZodObject<{
41
- fullName: z.ZodString;
42
- originalName: z.ZodString;
43
- serverName: z.ZodString;
44
- description: z.ZodOptional<z.ZodString>;
45
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
46
- exposureMode: z.ZodEnum<{
47
- discovery: "discovery";
48
- direct: "direct";
49
- hidden: "hidden";
50
- }>;
51
- enabled: z.ZodBoolean;
52
- enabledBy: z.ZodOptional<z.ZodEnum<{
53
- discovery: "discovery";
54
- toolset: "toolset";
55
- }>>;
56
- enabledAt: z.ZodOptional<z.ZodNumber>;
57
- exposed: z.ZodBoolean;
58
- }, z.core.$strip>>;
59
40
  servers: z.ZodArray<z.ZodObject<{
60
41
  name: z.ZodString;
61
42
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -92,9 +73,28 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
92
73
  type: z.ZodLiteral<"http">;
93
74
  }, z.core.$strip>], "type">;
94
75
  exposureMode: z.ZodEnum<{
76
+ direct: "direct";
95
77
  discovery: "discovery";
78
+ }>;
79
+ }, z.core.$strip>>;
80
+ directTools: z.ZodArray<z.ZodObject<{
81
+ fullName: z.ZodString;
82
+ originalName: z.ZodString;
83
+ serverName: z.ZodString;
84
+ description: z.ZodOptional<z.ZodString>;
85
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
86
+ exposureMode: z.ZodEnum<{
87
+ hidden: "hidden";
96
88
  direct: "direct";
89
+ discovery: "discovery";
97
90
  }>;
91
+ enabled: z.ZodBoolean;
92
+ enabledBy: z.ZodOptional<z.ZodEnum<{
93
+ discovery: "discovery";
94
+ toolset: "toolset";
95
+ }>>;
96
+ enabledAt: z.ZodOptional<z.ZodNumber>;
97
+ exposed: z.ZodBoolean;
98
98
  }, z.core.$strip>>;
99
99
  discoverableTools: z.ZodArray<z.ZodObject<{
100
100
  fullName: z.ZodString;
@@ -103,9 +103,9 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
103
103
  description: z.ZodOptional<z.ZodString>;
104
104
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
105
105
  exposureMode: z.ZodEnum<{
106
- discovery: "discovery";
107
- direct: "direct";
108
106
  hidden: "hidden";
107
+ direct: "direct";
108
+ discovery: "discovery";
109
109
  }>;
110
110
  enabled: z.ZodBoolean;
111
111
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -134,18 +134,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
134
134
  env?: Record<string, string> | undefined;
135
135
  mcpSessionContext?: {
136
136
  sessionId: string;
137
- directTools: {
138
- fullName: string;
139
- originalName: string;
140
- serverName: string;
141
- inputSchema: Record<string, unknown>;
142
- exposureMode: "discovery" | "direct" | "hidden";
143
- enabled: boolean;
144
- exposed: boolean;
145
- description?: string | undefined;
146
- enabledBy?: "discovery" | "toolset" | undefined;
147
- enabledAt?: number | undefined;
148
- }[];
149
137
  servers: {
150
138
  name: string;
151
139
  transport: {
@@ -173,14 +161,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
173
161
  }[] | undefined;
174
162
  alwaysLoad?: boolean | undefined;
175
163
  };
176
- exposureMode: "discovery" | "direct";
164
+ exposureMode: "direct" | "discovery";
165
+ }[];
166
+ directTools: {
167
+ fullName: string;
168
+ originalName: string;
169
+ serverName: string;
170
+ inputSchema: Record<string, unknown>;
171
+ exposureMode: "hidden" | "direct" | "discovery";
172
+ enabled: boolean;
173
+ exposed: boolean;
174
+ description?: string | undefined;
175
+ enabledBy?: "discovery" | "toolset" | undefined;
176
+ enabledAt?: number | undefined;
177
177
  }[];
178
178
  discoverableTools: {
179
179
  fullName: string;
180
180
  originalName: string;
181
181
  serverName: string;
182
182
  inputSchema: Record<string, unknown>;
183
- exposureMode: "discovery" | "direct" | "hidden";
183
+ exposureMode: "hidden" | "direct" | "discovery";
184
184
  enabled: boolean;
185
185
  exposed: boolean;
186
186
  description?: string | undefined;
@@ -208,18 +208,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
208
208
  env?: Record<string, string> | undefined;
209
209
  mcpSessionContext?: {
210
210
  sessionId: string;
211
- directTools: {
212
- fullName: string;
213
- originalName: string;
214
- serverName: string;
215
- inputSchema: Record<string, unknown>;
216
- exposureMode: "discovery" | "direct" | "hidden";
217
- enabled: boolean;
218
- exposed: boolean;
219
- description?: string | undefined;
220
- enabledBy?: "discovery" | "toolset" | undefined;
221
- enabledAt?: number | undefined;
222
- }[];
223
211
  servers: {
224
212
  name: string;
225
213
  transport: {
@@ -247,14 +235,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
247
235
  }[] | undefined;
248
236
  alwaysLoad?: boolean | undefined;
249
237
  };
250
- exposureMode: "discovery" | "direct";
238
+ exposureMode: "direct" | "discovery";
239
+ }[];
240
+ directTools: {
241
+ fullName: string;
242
+ originalName: string;
243
+ serverName: string;
244
+ inputSchema: Record<string, unknown>;
245
+ exposureMode: "hidden" | "direct" | "discovery";
246
+ enabled: boolean;
247
+ exposed: boolean;
248
+ description?: string | undefined;
249
+ enabledBy?: "discovery" | "toolset" | undefined;
250
+ enabledAt?: number | undefined;
251
251
  }[];
252
252
  discoverableTools: {
253
253
  fullName: string;
254
254
  originalName: string;
255
255
  serverName: string;
256
256
  inputSchema: Record<string, unknown>;
257
- exposureMode: "discovery" | "direct" | "hidden";
257
+ exposureMode: "hidden" | "direct" | "discovery";
258
258
  enabled: boolean;
259
259
  exposed: boolean;
260
260
  description?: string | undefined;
@@ -280,18 +280,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
280
280
  env?: Record<string, string> | undefined;
281
281
  mcpSessionContext?: {
282
282
  sessionId: string;
283
- directTools: {
284
- fullName: string;
285
- originalName: string;
286
- serverName: string;
287
- inputSchema: Record<string, unknown>;
288
- exposureMode: "discovery" | "direct" | "hidden";
289
- enabled: boolean;
290
- exposed: boolean;
291
- description?: string | undefined;
292
- enabledBy?: "discovery" | "toolset" | undefined;
293
- enabledAt?: number | undefined;
294
- }[];
295
283
  servers: {
296
284
  name: string;
297
285
  transport: {
@@ -319,14 +307,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
319
307
  }[] | undefined;
320
308
  alwaysLoad?: boolean | undefined;
321
309
  };
322
- exposureMode: "discovery" | "direct";
310
+ exposureMode: "direct" | "discovery";
311
+ }[];
312
+ directTools: {
313
+ fullName: string;
314
+ originalName: string;
315
+ serverName: string;
316
+ inputSchema: Record<string, unknown>;
317
+ exposureMode: "hidden" | "direct" | "discovery";
318
+ enabled: boolean;
319
+ exposed: boolean;
320
+ description?: string | undefined;
321
+ enabledBy?: "discovery" | "toolset" | undefined;
322
+ enabledAt?: number | undefined;
323
323
  }[];
324
324
  discoverableTools: {
325
325
  fullName: string;
326
326
  originalName: string;
327
327
  serverName: string;
328
328
  inputSchema: Record<string, unknown>;
329
- exposureMode: "discovery" | "direct" | "hidden";
329
+ exposureMode: "hidden" | "direct" | "discovery";
330
330
  enabled: boolean;
331
331
  exposed: boolean;
332
332
  description?: string | undefined;
@@ -354,18 +354,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
354
354
  env?: Record<string, string> | undefined;
355
355
  mcpSessionContext?: {
356
356
  sessionId: string;
357
- directTools: {
358
- fullName: string;
359
- originalName: string;
360
- serverName: string;
361
- inputSchema: Record<string, unknown>;
362
- exposureMode: "discovery" | "direct" | "hidden";
363
- enabled: boolean;
364
- exposed: boolean;
365
- description?: string | undefined;
366
- enabledBy?: "discovery" | "toolset" | undefined;
367
- enabledAt?: number | undefined;
368
- }[];
369
357
  servers: {
370
358
  name: string;
371
359
  transport: {
@@ -393,14 +381,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
393
381
  }[] | undefined;
394
382
  alwaysLoad?: boolean | undefined;
395
383
  };
396
- exposureMode: "discovery" | "direct";
384
+ exposureMode: "direct" | "discovery";
385
+ }[];
386
+ directTools: {
387
+ fullName: string;
388
+ originalName: string;
389
+ serverName: string;
390
+ inputSchema: Record<string, unknown>;
391
+ exposureMode: "hidden" | "direct" | "discovery";
392
+ enabled: boolean;
393
+ exposed: boolean;
394
+ description?: string | undefined;
395
+ enabledBy?: "discovery" | "toolset" | undefined;
396
+ enabledAt?: number | undefined;
397
397
  }[];
398
398
  discoverableTools: {
399
399
  fullName: string;
400
400
  originalName: string;
401
401
  serverName: string;
402
402
  inputSchema: Record<string, unknown>;
403
- exposureMode: "discovery" | "direct" | "hidden";
403
+ exposureMode: "hidden" | "direct" | "discovery";
404
404
  enabled: boolean;
405
405
  exposed: boolean;
406
406
  description?: string | undefined;
@@ -488,25 +488,6 @@ declare const AgentRuntimeSchemas: {
488
488
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
489
489
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
490
490
  sessionId: z.ZodString;
491
- directTools: z.ZodArray<z.ZodObject<{
492
- fullName: z.ZodString;
493
- originalName: z.ZodString;
494
- serverName: z.ZodString;
495
- description: z.ZodOptional<z.ZodString>;
496
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
497
- exposureMode: z.ZodEnum<{
498
- discovery: "discovery";
499
- direct: "direct";
500
- hidden: "hidden";
501
- }>;
502
- enabled: z.ZodBoolean;
503
- enabledBy: z.ZodOptional<z.ZodEnum<{
504
- discovery: "discovery";
505
- toolset: "toolset";
506
- }>>;
507
- enabledAt: z.ZodOptional<z.ZodNumber>;
508
- exposed: z.ZodBoolean;
509
- }, z.core.$strip>>;
510
491
  servers: z.ZodArray<z.ZodObject<{
511
492
  name: z.ZodString;
512
493
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -543,9 +524,28 @@ declare const AgentRuntimeSchemas: {
543
524
  type: z.ZodLiteral<"http">;
544
525
  }, z.core.$strip>], "type">;
545
526
  exposureMode: z.ZodEnum<{
527
+ direct: "direct";
546
528
  discovery: "discovery";
529
+ }>;
530
+ }, z.core.$strip>>;
531
+ directTools: z.ZodArray<z.ZodObject<{
532
+ fullName: z.ZodString;
533
+ originalName: z.ZodString;
534
+ serverName: z.ZodString;
535
+ description: z.ZodOptional<z.ZodString>;
536
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
537
+ exposureMode: z.ZodEnum<{
538
+ hidden: "hidden";
547
539
  direct: "direct";
540
+ discovery: "discovery";
548
541
  }>;
542
+ enabled: z.ZodBoolean;
543
+ enabledBy: z.ZodOptional<z.ZodEnum<{
544
+ discovery: "discovery";
545
+ toolset: "toolset";
546
+ }>>;
547
+ enabledAt: z.ZodOptional<z.ZodNumber>;
548
+ exposed: z.ZodBoolean;
549
549
  }, z.core.$strip>>;
550
550
  discoverableTools: z.ZodArray<z.ZodObject<{
551
551
  fullName: z.ZodString;
@@ -554,9 +554,9 @@ declare const AgentRuntimeSchemas: {
554
554
  description: z.ZodOptional<z.ZodString>;
555
555
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
556
556
  exposureMode: z.ZodEnum<{
557
- discovery: "discovery";
558
- direct: "direct";
559
557
  hidden: "hidden";
558
+ direct: "direct";
559
+ discovery: "discovery";
560
560
  }>;
561
561
  enabled: z.ZodBoolean;
562
562
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -585,18 +585,6 @@ declare const AgentRuntimeSchemas: {
585
585
  env?: Record<string, string> | undefined;
586
586
  mcpSessionContext?: {
587
587
  sessionId: string;
588
- directTools: {
589
- fullName: string;
590
- originalName: string;
591
- serverName: string;
592
- inputSchema: Record<string, unknown>;
593
- exposureMode: "discovery" | "direct" | "hidden";
594
- enabled: boolean;
595
- exposed: boolean;
596
- description?: string | undefined;
597
- enabledBy?: "discovery" | "toolset" | undefined;
598
- enabledAt?: number | undefined;
599
- }[];
600
588
  servers: {
601
589
  name: string;
602
590
  transport: {
@@ -624,14 +612,26 @@ declare const AgentRuntimeSchemas: {
624
612
  }[] | undefined;
625
613
  alwaysLoad?: boolean | undefined;
626
614
  };
627
- exposureMode: "discovery" | "direct";
615
+ exposureMode: "direct" | "discovery";
616
+ }[];
617
+ directTools: {
618
+ fullName: string;
619
+ originalName: string;
620
+ serverName: string;
621
+ inputSchema: Record<string, unknown>;
622
+ exposureMode: "hidden" | "direct" | "discovery";
623
+ enabled: boolean;
624
+ exposed: boolean;
625
+ description?: string | undefined;
626
+ enabledBy?: "discovery" | "toolset" | undefined;
627
+ enabledAt?: number | undefined;
628
628
  }[];
629
629
  discoverableTools: {
630
630
  fullName: string;
631
631
  originalName: string;
632
632
  serverName: string;
633
633
  inputSchema: Record<string, unknown>;
634
- exposureMode: "discovery" | "direct" | "hidden";
634
+ exposureMode: "hidden" | "direct" | "discovery";
635
635
  enabled: boolean;
636
636
  exposed: boolean;
637
637
  description?: string | undefined;
@@ -659,18 +659,6 @@ declare const AgentRuntimeSchemas: {
659
659
  env?: Record<string, string> | undefined;
660
660
  mcpSessionContext?: {
661
661
  sessionId: string;
662
- directTools: {
663
- fullName: string;
664
- originalName: string;
665
- serverName: string;
666
- inputSchema: Record<string, unknown>;
667
- exposureMode: "discovery" | "direct" | "hidden";
668
- enabled: boolean;
669
- exposed: boolean;
670
- description?: string | undefined;
671
- enabledBy?: "discovery" | "toolset" | undefined;
672
- enabledAt?: number | undefined;
673
- }[];
674
662
  servers: {
675
663
  name: string;
676
664
  transport: {
@@ -698,14 +686,26 @@ declare const AgentRuntimeSchemas: {
698
686
  }[] | undefined;
699
687
  alwaysLoad?: boolean | undefined;
700
688
  };
701
- exposureMode: "discovery" | "direct";
689
+ exposureMode: "direct" | "discovery";
690
+ }[];
691
+ directTools: {
692
+ fullName: string;
693
+ originalName: string;
694
+ serverName: string;
695
+ inputSchema: Record<string, unknown>;
696
+ exposureMode: "hidden" | "direct" | "discovery";
697
+ enabled: boolean;
698
+ exposed: boolean;
699
+ description?: string | undefined;
700
+ enabledBy?: "discovery" | "toolset" | undefined;
701
+ enabledAt?: number | undefined;
702
702
  }[];
703
703
  discoverableTools: {
704
704
  fullName: string;
705
705
  originalName: string;
706
706
  serverName: string;
707
707
  inputSchema: Record<string, unknown>;
708
- exposureMode: "discovery" | "direct" | "hidden";
708
+ exposureMode: "hidden" | "direct" | "discovery";
709
709
  enabled: boolean;
710
710
  exposed: boolean;
711
711
  description?: string | undefined;
@@ -731,18 +731,6 @@ declare const AgentRuntimeSchemas: {
731
731
  env?: Record<string, string> | undefined;
732
732
  mcpSessionContext?: {
733
733
  sessionId: string;
734
- directTools: {
735
- fullName: string;
736
- originalName: string;
737
- serverName: string;
738
- inputSchema: Record<string, unknown>;
739
- exposureMode: "discovery" | "direct" | "hidden";
740
- enabled: boolean;
741
- exposed: boolean;
742
- description?: string | undefined;
743
- enabledBy?: "discovery" | "toolset" | undefined;
744
- enabledAt?: number | undefined;
745
- }[];
746
734
  servers: {
747
735
  name: string;
748
736
  transport: {
@@ -770,14 +758,26 @@ declare const AgentRuntimeSchemas: {
770
758
  }[] | undefined;
771
759
  alwaysLoad?: boolean | undefined;
772
760
  };
773
- exposureMode: "discovery" | "direct";
761
+ exposureMode: "direct" | "discovery";
762
+ }[];
763
+ directTools: {
764
+ fullName: string;
765
+ originalName: string;
766
+ serverName: string;
767
+ inputSchema: Record<string, unknown>;
768
+ exposureMode: "hidden" | "direct" | "discovery";
769
+ enabled: boolean;
770
+ exposed: boolean;
771
+ description?: string | undefined;
772
+ enabledBy?: "discovery" | "toolset" | undefined;
773
+ enabledAt?: number | undefined;
774
774
  }[];
775
775
  discoverableTools: {
776
776
  fullName: string;
777
777
  originalName: string;
778
778
  serverName: string;
779
779
  inputSchema: Record<string, unknown>;
780
- exposureMode: "discovery" | "direct" | "hidden";
780
+ exposureMode: "hidden" | "direct" | "discovery";
781
781
  enabled: boolean;
782
782
  exposed: boolean;
783
783
  description?: string | undefined;
@@ -805,18 +805,6 @@ declare const AgentRuntimeSchemas: {
805
805
  env?: Record<string, string> | undefined;
806
806
  mcpSessionContext?: {
807
807
  sessionId: string;
808
- directTools: {
809
- fullName: string;
810
- originalName: string;
811
- serverName: string;
812
- inputSchema: Record<string, unknown>;
813
- exposureMode: "discovery" | "direct" | "hidden";
814
- enabled: boolean;
815
- exposed: boolean;
816
- description?: string | undefined;
817
- enabledBy?: "discovery" | "toolset" | undefined;
818
- enabledAt?: number | undefined;
819
- }[];
820
808
  servers: {
821
809
  name: string;
822
810
  transport: {
@@ -844,14 +832,26 @@ declare const AgentRuntimeSchemas: {
844
832
  }[] | undefined;
845
833
  alwaysLoad?: boolean | undefined;
846
834
  };
847
- exposureMode: "discovery" | "direct";
835
+ exposureMode: "direct" | "discovery";
836
+ }[];
837
+ directTools: {
838
+ fullName: string;
839
+ originalName: string;
840
+ serverName: string;
841
+ inputSchema: Record<string, unknown>;
842
+ exposureMode: "hidden" | "direct" | "discovery";
843
+ enabled: boolean;
844
+ exposed: boolean;
845
+ description?: string | undefined;
846
+ enabledBy?: "discovery" | "toolset" | undefined;
847
+ enabledAt?: number | undefined;
848
848
  }[];
849
849
  discoverableTools: {
850
850
  fullName: string;
851
851
  originalName: string;
852
852
  serverName: string;
853
853
  inputSchema: Record<string, unknown>;
854
- exposureMode: "discovery" | "direct" | "hidden";
854
+ exposureMode: "hidden" | "direct" | "discovery";
855
855
  enabled: boolean;
856
856
  exposed: boolean;
857
857
  description?: string | undefined;
@@ -15,8 +15,8 @@ declare const SubagentTemplateSchema: z.ZodObject<{
15
15
  model: z.ZodOptional<z.ZodString>;
16
16
  systemPrompt: z.ZodOptional<z.ZodString>;
17
17
  contextMode: z.ZodDefault<z.ZodEnum<{
18
- fresh: "fresh";
19
18
  fork: "fork";
19
+ fresh: "fresh";
20
20
  }>>;
21
21
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
22
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -47,14 +47,14 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
47
47
  enabled: z.ZodDefault<z.ZodBoolean>;
48
48
  adapterName: z.ZodString;
49
49
  model: z.ZodOptional<z.ZodString>;
50
- providerConfigId: z.ZodOptional<z.ZodString>;
51
50
  systemPrompt: z.ZodOptional<z.ZodString>;
51
+ providerConfigId: z.ZodOptional<z.ZodString>;
52
52
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
53
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
54
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
55
  contextMode: z.ZodDefault<z.ZodEnum<{
56
- fresh: "fresh";
57
56
  fork: "fork";
57
+ fresh: "fresh";
58
58
  }>>;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
@@ -69,8 +69,8 @@ declare const SubagentTemplateUpdateSchema: z.ZodObject<{
69
69
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
70
70
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
71
71
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
72
- fresh: "fresh";
73
72
  fork: "fork";
73
+ fresh: "fresh";
74
74
  }>>>;
75
75
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
76
76
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -114,8 +114,8 @@ declare const SubagentTemplateSettingsSchemas: {
114
114
  model: z.ZodOptional<z.ZodString>;
115
115
  systemPrompt: z.ZodOptional<z.ZodString>;
116
116
  contextMode: z.ZodDefault<z.ZodEnum<{
117
- fresh: "fresh";
118
117
  fork: "fork";
118
+ fresh: "fresh";
119
119
  }>>;
120
120
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
121
121
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -132,14 +132,14 @@ declare const SubagentTemplateSettingsSchemas: {
132
132
  enabled: z.ZodDefault<z.ZodBoolean>;
133
133
  adapterName: z.ZodString;
134
134
  model: z.ZodOptional<z.ZodString>;
135
- providerConfigId: z.ZodOptional<z.ZodString>;
136
135
  systemPrompt: z.ZodOptional<z.ZodString>;
136
+ providerConfigId: z.ZodOptional<z.ZodString>;
137
137
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
138
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
139
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
140
  contextMode: z.ZodDefault<z.ZodEnum<{
141
- fresh: "fresh";
142
141
  fork: "fork";
142
+ fresh: "fresh";
143
143
  }>>;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
@@ -155,8 +155,8 @@ declare const SubagentTemplateSettingsSchemas: {
155
155
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
156
156
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
157
157
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
158
- fresh: "fresh";
159
158
  fork: "fork";
159
+ fresh: "fresh";
160
160
  }>>>;
161
161
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
162
162
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<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-Cf68SmbJ.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-ZwLlJNOH.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-DnYiAvfz.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CupOzbRv.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-ZwLlJNOH.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CupOzbRv.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-Cf68SmbJ.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-DnYiAvfz.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<{
@@ -15,7 +15,6 @@ declare const HarnessInputSchema: z.ZodObject<{
15
15
  name: z.ZodString;
16
16
  clientId: z.ZodOptional<z.ZodString>;
17
17
  adapterName: z.ZodOptional<z.ZodString>;
18
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19
18
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
20
19
  "file.read": "file.read";
21
20
  "file.write": "file.write";
@@ -37,6 +36,7 @@ declare const HarnessInputSchema: z.ZodObject<{
37
36
  "always-ask": "always-ask";
38
37
  "full-access": "full-access";
39
38
  }>>>;
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,7 +132,6 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
132
132
  name: z.ZodString;
133
133
  clientId: z.ZodOptional<z.ZodString>;
134
134
  adapterName: z.ZodOptional<z.ZodString>;
135
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
136
135
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
137
136
  "file.read": "file.read";
138
137
  "file.write": "file.write";
@@ -154,6 +153,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
154
153
  "always-ask": "always-ask";
155
154
  "full-access": "full-access";
156
155
  }>>>;
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,7 +739,6 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
739
739
  name: z.ZodString;
740
740
  clientId: z.ZodOptional<z.ZodString>;
741
741
  adapterName: z.ZodOptional<z.ZodString>;
742
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
742
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
744
743
  "file.read": "file.read";
745
744
  "file.write": "file.write";
@@ -761,6 +760,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
761
760
  "always-ask": "always-ask";
762
761
  "full-access": "full-access";
763
762
  }>>>;
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";