@makaio/framework 1.0.0-dev-1781994277521 → 1.0.0-dev-1781999985054

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 (82) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/adapters/config/index.d.mts +1 -1
  4. package/dist/adapters/index.d.mts +3 -3
  5. package/dist/adapters/index.mjs +1 -1
  6. package/dist/adapters/stream-session/index.d.mts +15 -5
  7. package/dist/adapters/stream-session/index.mjs +1 -1
  8. package/dist/bus/index.d.mts +20 -20
  9. package/dist/contracts/adapter/index.d.mts +2 -2
  10. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  11. package/dist/contracts/artifact/index.d.mts +1 -1
  12. package/dist/contracts/canonical-model/index.d.mts +1 -1
  13. package/dist/contracts/client/index.d.mts +1 -1
  14. package/dist/contracts/config/index.d.mts +12 -12
  15. package/dist/contracts/extension/index.d.mts +2 -2
  16. package/dist/contracts/facet/index.d.mts +1 -1
  17. package/dist/contracts/harness/index.d.mts +1 -1
  18. package/dist/contracts/index.d.mts +168 -168
  19. package/dist/contracts/materialization/index.d.mts +3 -3
  20. package/dist/contracts/provider/index.d.mts +1 -1
  21. package/dist/contracts/session/index.d.mts +2 -2
  22. package/dist/contracts/variant/index.d.mts +1 -1
  23. package/dist/contracts/workflow/index.d.mts +2 -2
  24. package/dist/{definition-0EXM1tyu.d.mts → definition-D_3U4OLJ.d.mts} +1 -1
  25. package/dist/{index-BfTHRjZa.d.mts → index-BWnf3pYm.d.mts} +5 -5
  26. package/dist/{index-CUgqdVBB.d.mts → index-B_FtZ3Gn.d.mts} +28 -28
  27. package/dist/{index-B4ZdZi50.d.mts → index-C096hXsS.d.mts} +390 -390
  28. package/dist/{index-DcKU6lPk.d.mts → index-C2K2Tdo9.d.mts} +12 -12
  29. package/dist/{index-BHol4LQf.d.mts → index-CRmApyqn.d.mts} +8 -8
  30. package/dist/{index-BAQ6QBcU.d.mts → index-CXZ1a_DD.d.mts} +32 -32
  31. package/dist/{index-WOoVeAEf.d.mts → index-D2WJ0Zpt.d.mts} +9 -9
  32. package/dist/{index-BmvbMMIk.d.mts → index-DM8PTbfm.d.mts} +1 -1
  33. package/dist/{index-Bb6a9c_k.d.mts → index-DdBRlm7m.d.mts} +339 -339
  34. package/dist/{index-CszcIqMC.d.mts → index-DnZJ4j-7.d.mts} +24 -24
  35. package/dist/{index-CmHdpW0E.d.mts → index-Mi_UJoUV.d.mts} +4 -4
  36. package/dist/{index-CqImyhjX.d.mts → index-WHUV7neB.d.mts} +100 -100
  37. package/dist/{index-CqCe7Phc.d.mts → index-mU2lnU7O.d.mts} +6 -6
  38. package/dist/{index-DnLf0YKC.d.mts → index-q8nLr74m.d.mts} +6 -6
  39. package/dist/{index-DDrS0Axp.d.mts → index-vUhaDyDa.d.mts} +15 -15
  40. package/dist/{index-CYHWOXUm.d.mts → index-vs_GRZcb.d.mts} +2 -2
  41. package/dist/{index-CuILCdip.d.mts → index-xyXYG5WO.d.mts} +8 -8
  42. package/dist/kernel/extension/index.d.mts +1 -1
  43. package/dist/kernel/index.d.mts +2 -2
  44. package/dist/kernel/observability/index.d.mts +1 -1
  45. package/dist/{namespace-Do_rmLFb.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
  46. package/dist/{namespace-CmUh_lVP.d.mts → namespace-BLOld9Wa.d.mts} +154 -154
  47. package/dist/{namespace-B95uYmZB.d.mts → namespace-C6iVTunW.d.mts} +52 -52
  48. package/dist/{namespace-Bz0ORDns.d.mts → namespace-CJkAriut.d.mts} +58 -58
  49. package/dist/{namespace-4xHw59K8.d.mts → namespace-DSsdxeKi.d.mts} +9 -9
  50. package/dist/{namespace-6sIu5nBI2.d.mts → namespace-DXWpFdQH2.d.mts} +2 -2
  51. package/dist/package.json +1 -1
  52. package/dist/{schema-Dky4zu9D.d.mts → schema-B3sB8_cB.d.mts} +2 -2
  53. package/dist/{schemas-DRYXani5.d.mts → schemas-CgX7mPkv.d.mts} +154 -154
  54. package/dist/{schemas-CDGld_OC.d.mts → schemas-CscdPqCt.d.mts} +3 -3
  55. package/dist/{schemas-DDaP5WkH.d.mts → schemas-DXjyGVpx.d.mts} +3 -3
  56. package/dist/{schemas-Do7Js2ao2.d.mts → schemas-DhSdafzl2.d.mts} +13 -13
  57. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  58. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  59. package/dist/services/agent-runtime/index.d.mts +2 -2
  60. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  61. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  62. package/dist/services/context-rules/index.d.mts +3 -3
  63. package/dist/services/execution-target/index.d.mts +1 -1
  64. package/dist/services/harness/index.d.mts +6 -6
  65. package/dist/services/index.d.mts +133 -133
  66. package/dist/services/session/index.d.mts +4 -4
  67. package/dist/services/session/messages/namespace.d.mts +1 -1
  68. package/dist/services/session/storage/namespace.d.mts +1 -1
  69. package/dist/services/session/storage/schema.d.mts +1 -1
  70. package/dist/services/settings/namespace.d.mts +10 -10
  71. package/dist/services/subagent-template/index.d.mts +2 -2
  72. package/dist/services/subagent-template/namespace.d.mts +1 -1
  73. package/dist/services/subagent-template/schemas.d.mts +1 -1
  74. package/dist/services/tray-menu/index.d.mts +2 -2
  75. package/dist/services/tray-menu/namespace.d.mts +1 -1
  76. package/dist/services/tray-menu/schemas.d.mts +1 -1
  77. package/dist/{session-lineage-Cht4jbvV.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
  78. package/dist/{transition-BUKCl8gP.d.mts → transition-ByWf06n-.d.mts} +1 -1
  79. package/dist/{types-CFbvKZRj.d.mts → types-BNgCREUh.d.mts} +257 -257
  80. package/dist/{types-BrTJEhR-.d.mts → types-BXCLseKt.d.mts} +7 -0
  81. package/dist/workflow-engine/index.d.mts +11 -11
  82. package/package.json +1 -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<{
96
87
  direct: "direct";
88
+ discovery: "discovery";
89
+ hidden: "hidden";
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,8 +103,8 @@ 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
106
  direct: "direct";
107
+ discovery: "discovery";
108
108
  hidden: "hidden";
109
109
  }>;
110
110
  enabled: z.ZodBoolean;
@@ -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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
404
404
  enabled: boolean;
405
405
  exposed: boolean;
406
406
  description?: string | undefined;
@@ -426,8 +426,8 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
426
426
  completed: "completed";
427
427
  cancelled: "cancelled";
428
428
  running: "running";
429
- waiting_input: "waiting_input";
430
429
  failed: "failed";
430
+ waiting_input: "waiting_input";
431
431
  }>;
432
432
  result: z.ZodOptional<z.ZodString>;
433
433
  error: z.ZodOptional<z.ZodString>;
@@ -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<{
547
538
  direct: "direct";
539
+ discovery: "discovery";
540
+ hidden: "hidden";
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,8 +554,8 @@ 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
557
  direct: "direct";
558
+ discovery: "discovery";
559
559
  hidden: "hidden";
560
560
  }>;
561
561
  enabled: z.ZodBoolean;
@@ -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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
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: "direct" | "discovery" | "hidden";
855
855
  enabled: boolean;
856
856
  exposed: boolean;
857
857
  description?: string | undefined;
@@ -889,8 +889,8 @@ declare const AgentRuntimeSchemas: {
889
889
  completed: "completed";
890
890
  cancelled: "cancelled";
891
891
  running: "running";
892
- waiting_input: "waiting_input";
893
892
  failed: "failed";
893
+ waiting_input: "waiting_input";
894
894
  }>;
895
895
  result: z.ZodOptional<z.ZodString>;
896
896
  error: z.ZodOptional<z.ZodString>;
@@ -26,9 +26,9 @@ declare const TrayMenuEntrySchema: z.ZodObject<{
26
26
  /** A group entry inherits its owning package and section from the group. */
27
27
  declare const TrayMenuGroupEntrySchema: z.ZodObject<{
28
28
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29
+ label: z.ZodString;
29
30
  enabled: z.ZodDefault<z.ZodBoolean>;
30
31
  priority: z.ZodDefault<z.ZodNumber>;
31
- label: z.ZodString;
32
32
  entryId: z.ZodString;
33
33
  }, z.core.$strip>;
34
34
  /** Ordered group of tray entries contributed by one package. */
@@ -37,9 +37,9 @@ declare const TrayMenuGroupSchema: z.ZodObject<{
37
37
  groupId: z.ZodString;
38
38
  entries: z.ZodArray<z.ZodObject<{
39
39
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40
+ label: z.ZodString;
40
41
  enabled: z.ZodDefault<z.ZodBoolean>;
41
42
  priority: z.ZodDefault<z.ZodNumber>;
42
- label: z.ZodString;
43
43
  entryId: z.ZodString;
44
44
  }, z.core.$strip>>;
45
45
  section: z.ZodEnum<{
@@ -109,9 +109,9 @@ declare const TrayMenuSchemas: {
109
109
  groupId: z.ZodString;
110
110
  entries: z.ZodArray<z.ZodObject<{
111
111
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
112
+ label: z.ZodString;
112
113
  enabled: z.ZodDefault<z.ZodBoolean>;
113
114
  priority: z.ZodDefault<z.ZodNumber>;
114
- label: z.ZodString;
115
115
  entryId: z.ZodString;
116
116
  }, z.core.$strip>>;
117
117
  section: z.ZodEnum<{
@@ -64,9 +64,9 @@ declare const SurfaceBindingRegistrationSchema: z.ZodObject<{
64
64
  template: z.ZodString;
65
65
  }, z.core.$strip>], "kind">;
66
66
  appliesTo: z.ZodArray<z.ZodEnum<{
67
+ artifact: "artifact";
67
68
  surface: "surface";
68
69
  workpiece: "workpiece";
69
- artifact: "artifact";
70
70
  }>>;
71
71
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
72
72
  description: z.ZodOptional<z.ZodString>;
@@ -108,8 +108,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
108
108
  comment: "comment";
109
109
  }>;
110
110
  defaultRole: z.ZodOptional<z.ZodEnum<{
111
- workpiece: "workpiece";
112
111
  artifact: "artifact";
112
+ workpiece: "workpiece";
113
113
  }>>;
114
114
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
115
115
  created: "created";
@@ -141,8 +141,8 @@ declare const ArtifactMaterializationRefSchema: z.ZodObject<{
141
141
  externalId: z.ZodString;
142
142
  externalUrl: z.ZodOptional<z.ZodString>;
143
143
  surfaceRole: z.ZodEnum<{
144
- workpiece: "workpiece";
145
144
  artifact: "artifact";
145
+ workpiece: "workpiece";
146
146
  }>;
147
147
  lastSyncedRevision: z.ZodOptional<z.ZodString>;
148
148
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -46,16 +46,16 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
46
46
  name: z.ZodString;
47
47
  enabled: z.ZodDefault<z.ZodBoolean>;
48
48
  adapterName: z.ZodString;
49
- providerConfigId: z.ZodOptional<z.ZodString>;
50
49
  model: z.ZodOptional<z.ZodString>;
50
+ systemPrompt: z.ZodOptional<z.ZodString>;
51
+ providerConfigId: z.ZodOptional<z.ZodString>;
52
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
55
  contextMode: z.ZodDefault<z.ZodEnum<{
52
56
  fork: "fork";
53
57
  fresh: "fresh";
54
58
  }>>;
55
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
56
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
- systemPrompt: z.ZodOptional<z.ZodString>;
58
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
61
61
  /**
@@ -131,16 +131,16 @@ declare const SubagentTemplateSettingsSchemas: {
131
131
  name: z.ZodString;
132
132
  enabled: z.ZodDefault<z.ZodBoolean>;
133
133
  adapterName: z.ZodString;
134
- providerConfigId: z.ZodOptional<z.ZodString>;
135
134
  model: z.ZodOptional<z.ZodString>;
135
+ systemPrompt: z.ZodOptional<z.ZodString>;
136
+ providerConfigId: z.ZodOptional<z.ZodString>;
137
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
140
  contextMode: z.ZodDefault<z.ZodEnum<{
137
141
  fork: "fork";
138
142
  fresh: "fresh";
139
143
  }>>;
140
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
- systemPrompt: z.ZodOptional<z.ZodString>;
143
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
146
146
  id: z.ZodString;
@@ -192,8 +192,8 @@ declare const SubagentTemplateInstanceSchema: z.ZodObject<{
192
192
  completed: "completed";
193
193
  cancelled: "cancelled";
194
194
  running: "running";
195
- waiting_input: "waiting_input";
196
195
  failed: "failed";
196
+ waiting_input: "waiting_input";
197
197
  }>;
198
198
  createdAt: z.ZodString;
199
199
  }, z.core.$strip>;
@@ -223,8 +223,8 @@ declare const SubagentTemplateInstanceStatusSchema: z.ZodObject<{
223
223
  completed: "completed";
224
224
  cancelled: "cancelled";
225
225
  running: "running";
226
- waiting_input: "waiting_input";
227
226
  failed: "failed";
227
+ waiting_input: "waiting_input";
228
228
  }>;
229
229
  result: z.ZodOptional<z.ZodString>;
230
230
  error: z.ZodOptional<z.ZodString>;
@@ -275,8 +275,8 @@ declare const SubagentTemplateKernelSchemas: {
275
275
  completed: "completed";
276
276
  cancelled: "cancelled";
277
277
  running: "running";
278
- waiting_input: "waiting_input";
279
278
  failed: "failed";
279
+ waiting_input: "waiting_input";
280
280
  }>;
281
281
  result: z.ZodOptional<z.ZodString>;
282
282
  error: z.ZodOptional<z.ZodString>;
@@ -1,3 +1,3 @@
1
- import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-BAQ6QBcU.mjs";
2
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-B95uYmZB.mjs";
1
+ import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-CXZ1a_DD.mjs";
2
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-C6iVTunW.mjs";
3
3
  export { AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigCredentialRefs, CanonicalProviderConfigCredentialRefsPayload, CanonicalProviderConfigCredentialRefsSchema, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet };
@@ -1,2 +1,2 @@
1
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-B95uYmZB.mjs";
1
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-C6iVTunW.mjs";
2
2
  export { AdapterSubsystemNamespace, AdapterSubsystemSubjects };
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-DRYXani5.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CmUh_lVP.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CgX7mPkv.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BLOld9Wa.mjs";
3
3
  export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };