@makaio/framework 1.0.0-dev-1781368534585 → 1.0.0-dev-1781382091626

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 (92) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/bus/index.d.mts +19 -19
  3. package/dist/contracts/adapter/index.d.mts +2 -2
  4. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  5. package/dist/contracts/artifact/index.d.mts +1 -1
  6. package/dist/contracts/client/index.d.mts +1 -1
  7. package/dist/contracts/extension/index.d.mts +2 -2
  8. package/dist/contracts/facet/index.d.mts +1 -1
  9. package/dist/contracts/harness/index.d.mts +1 -1
  10. package/dist/contracts/index.d.mts +274 -274
  11. package/dist/contracts/materialization/index.d.mts +3 -3
  12. package/dist/contracts/session/index.d.mts +2 -2
  13. package/dist/contracts/skill/index.d.mts +1 -1
  14. package/dist/contracts/variant/index.d.mts +1 -1
  15. package/dist/{definition-DqJOg6Lv.d.mts → definition-DWWzV-k0.d.mts} +1 -1
  16. package/dist/{index-ClJybiRp.d.mts → index-Abq3I8wg.d.mts} +289 -289
  17. package/dist/{index-BZPdJ-cc.d.mts → index-B1Rz7oUy.d.mts} +7 -7
  18. package/dist/{index-BCKRUuI2.d.mts → index-B2xbnMZe.d.mts} +1 -1
  19. package/dist/{index-V-TYYJbM.d.mts → index-B8tAGwHR.d.mts} +275 -275
  20. package/dist/{index-DVhdhnCz.d.mts → index-BpniJgxu.d.mts} +4 -4
  21. package/dist/{index-D--1C5cq.d.mts → index-C3zfJg6s.d.mts} +9 -9
  22. package/dist/{index-BYkOUd0x.d.mts → index-CKP_uNGT.d.mts} +15 -15
  23. package/dist/{index-BFuke0jw.d.mts → index-COwW_2Gb.d.mts} +29 -29
  24. package/dist/{index-7EPRy0nT.d.mts → index-DQppnGdC.d.mts} +2 -2
  25. package/dist/{index-DdZ9PDEE.d.mts → index-DW8EiMJ9.d.mts} +28 -28
  26. package/dist/{index-zvz6W1SY.d.mts → index-DlvMtyHK.d.mts} +16 -16
  27. package/dist/{index-BheaEhyI.d.mts → index-Dyz7dzLW.d.mts} +9 -9
  28. package/dist/{index-DfyXMHbr.d.mts → index-EsXVjKsv.d.mts} +4 -4
  29. package/dist/{index-D0KbxzzL.d.mts → index-RUN1iHYu.d.mts} +4 -4
  30. package/dist/{index-BfUq8fO52.d.mts → index-wP87FKTQ2.d.mts} +1 -1
  31. package/dist/kernel/extension/index.d.mts +1 -1
  32. package/dist/kernel/index.d.mts +2 -2
  33. package/dist/kernel/observability/index.d.mts +1 -1
  34. package/dist/mcp-http-server/index.d.mts +73 -4
  35. package/dist/mcp-http-server/index.mjs +4 -4
  36. package/dist/{namespace-Dg8SmyyE.d.mts → namespace--ROWLToE.d.mts} +7 -7
  37. package/dist/{namespace-Cq8ScJGp.d.mts → namespace-5BLWcC3Q.d.mts} +20 -20
  38. package/dist/{namespace-DC1VWMKj2.d.mts → namespace-B60mn8J-2.d.mts} +2 -2
  39. package/dist/{namespace-Do0AUzwu.d.mts → namespace-BBVtD1gu.d.mts} +6 -6
  40. package/dist/{namespace-BxxBhcV_.d.mts → namespace-BPlAuhc_.d.mts} +9 -9
  41. package/dist/{namespace-Bx40zNgT.d.mts → namespace-BSNFeJA4.d.mts} +2 -2
  42. package/dist/{namespace-CWqZfW61.d.mts → namespace-CHMszppN.d.mts} +6 -6
  43. package/dist/{namespace-BybC0T6L.d.mts → namespace-Ds6HkJEU.d.mts} +136 -136
  44. package/dist/package.json +1 -1
  45. package/dist/{schema-C-yfxlRI.d.mts → schema-cNoxaiT0.d.mts} +1 -1
  46. package/dist/{schemas-CJYNpT6v.d.mts → schemas-B5ToLwIs.d.mts} +6 -6
  47. package/dist/{schemas-BFO5Ovdp.d.mts → schemas-Chyj6HuZ.d.mts} +4 -4
  48. package/dist/{schemas-CW0h1h6l.d.mts → schemas-DUE6mc1O.d.mts} +3 -3
  49. package/dist/{schemas-CTgHFHmK.d.mts → schemas-DZUaRcYl.d.mts} +7 -7
  50. package/dist/{schemas-BFYzBjpp2.d.mts → schemas-DsyYsfVN2.d.mts} +15 -15
  51. package/dist/{schemas-t1VR6_b_.d.mts → schemas-o2Q24yOF.d.mts} +3 -3
  52. package/dist/{schemas-Dk1d5uZE.d.mts → schemas-on3_N5HP.d.mts} +136 -136
  53. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  54. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  55. package/dist/services/agent-runtime/index.d.mts +2 -2
  56. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  57. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  58. package/dist/services/context-rules/index.d.mts +11 -11
  59. package/dist/services/execution-target/index.d.mts +2 -2
  60. package/dist/services/execution-target/namespace.d.mts +1 -1
  61. package/dist/services/execution-target/schemas.d.mts +1 -1
  62. package/dist/services/index.d.mts +107 -107
  63. package/dist/services/log-import/browser.d.mts +2 -2
  64. package/dist/services/log-import/index.d.mts +2 -2
  65. package/dist/services/log-import/log-import.d.mts +1 -1
  66. package/dist/services/log-import/namespace.d.mts +2 -2
  67. package/dist/services/log-import/schemas.d.mts +1 -1
  68. package/dist/services/preferences/index.d.mts +2 -2
  69. package/dist/services/preferences/schemas.d.mts +1 -1
  70. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  71. package/dist/services/session/index.d.mts +5 -5
  72. package/dist/services/session/messages/namespace.d.mts +1 -1
  73. package/dist/services/session/session-events/namespace.d.mts +1 -1
  74. package/dist/services/session/storage/namespace.d.mts +1 -1
  75. package/dist/services/session/storage/schema.d.mts +1 -1
  76. package/dist/services/settings/namespace.d.mts +12 -12
  77. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  78. package/dist/services/subagent-template/index.d.mts +2 -2
  79. package/dist/services/subagent-template/namespace.d.mts +1 -1
  80. package/dist/services/subagent-template/schemas.d.mts +1 -1
  81. package/dist/services/tray-menu/index.d.mts +2 -2
  82. package/dist/services/tray-menu/namespace.d.mts +1 -1
  83. package/dist/services/tray-menu/schemas.d.mts +1 -1
  84. package/dist/{session-lineage-BoyuhtiV.d.mts → session-lineage-CKg6mErA.d.mts} +1 -1
  85. package/dist/{storage-namespace-n4KCNecF.d.mts → storage-namespace-BXmMUd7a.d.mts} +10 -10
  86. package/dist/{types-8pL9-Me7.d.mts → types-BtsKrzK7.d.mts} +195 -195
  87. package/dist/{types-D0fPFh-D.d.mts → types-D5IMwOkJ.d.mts} +1 -1
  88. package/dist/ui-kernel/index.d.mts +4 -4
  89. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  90. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  91. package/dist/workflow-engine/index.d.mts +69 -69
  92. package/package.json +1 -1
@@ -18,10 +18,10 @@ import { ExtensionWarningEntry, ExtensionWarningEntrySchema } from "@makaio/fram
18
18
  * detail, not an externally observable state.
19
19
  */
20
20
  declare const ComponentStateSchema: z.ZodEnum<{
21
- active: "active";
22
21
  failed: "failed";
23
- discovered: "discovered";
22
+ active: "active";
24
23
  stopped: "stopped";
24
+ discovered: "discovered";
25
25
  skipped: "skipped";
26
26
  initializing: "initializing";
27
27
  }>;
@@ -47,10 +47,10 @@ declare const ComponentInfoSchema: z.ZodObject<{
47
47
  name: z.ZodString;
48
48
  displayName: z.ZodString;
49
49
  state: z.ZodEnum<{
50
- active: "active";
51
50
  failed: "failed";
52
- discovered: "discovered";
51
+ active: "active";
53
52
  stopped: "stopped";
53
+ discovered: "discovered";
54
54
  skipped: "skipped";
55
55
  initializing: "initializing";
56
56
  }>;
@@ -68,10 +68,10 @@ declare const ServiceInfoSchema: z.ZodObject<{
68
68
  name: z.ZodString;
69
69
  displayName: z.ZodString;
70
70
  state: z.ZodEnum<{
71
- active: "active";
72
71
  failed: "failed";
73
- discovered: "discovered";
72
+ active: "active";
74
73
  stopped: "stopped";
74
+ discovered: "discovered";
75
75
  skipped: "skipped";
76
76
  initializing: "initializing";
77
77
  }>;
@@ -90,10 +90,10 @@ declare const ExtensionInfoSchema: z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  displayName: z.ZodString;
92
92
  state: z.ZodEnum<{
93
- active: "active";
94
93
  failed: "failed";
95
- discovered: "discovered";
94
+ active: "active";
96
95
  stopped: "stopped";
96
+ discovered: "discovered";
97
97
  skipped: "skipped";
98
98
  initializing: "initializing";
99
99
  }>;
@@ -138,18 +138,18 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
138
138
  name: z.ZodString;
139
139
  displayName: z.ZodString;
140
140
  from: z.ZodEnum<{
141
- active: "active";
142
141
  failed: "failed";
143
- discovered: "discovered";
142
+ active: "active";
144
143
  stopped: "stopped";
144
+ discovered: "discovered";
145
145
  skipped: "skipped";
146
146
  initializing: "initializing";
147
147
  }>;
148
148
  to: z.ZodEnum<{
149
- active: "active";
150
149
  failed: "failed";
151
- discovered: "discovered";
150
+ active: "active";
152
151
  stopped: "stopped";
152
+ discovered: "discovered";
153
153
  skipped: "skipped";
154
154
  initializing: "initializing";
155
155
  }>;
@@ -181,10 +181,10 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
181
181
  name: z.ZodString;
182
182
  displayName: z.ZodString;
183
183
  state: z.ZodEnum<{
184
- active: "active";
185
184
  failed: "failed";
186
- discovered: "discovered";
185
+ active: "active";
187
186
  stopped: "stopped";
187
+ discovered: "discovered";
188
188
  skipped: "skipped";
189
189
  initializing: "initializing";
190
190
  }>;
@@ -219,10 +219,10 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
219
219
  name: z.ZodString;
220
220
  displayName: z.ZodString;
221
221
  state: z.ZodEnum<{
222
- active: "active";
223
222
  failed: "failed";
224
- discovered: "discovered";
223
+ active: "active";
225
224
  stopped: "stopped";
225
+ discovered: "discovered";
226
226
  skipped: "skipped";
227
227
  initializing: "initializing";
228
228
  }>;
@@ -487,8 +487,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
487
487
  extensionName: z.ZodString;
488
488
  warnings: z.ZodArray<z.ZodObject<{
489
489
  severity: z.ZodEnum<{
490
- info: "info";
491
490
  degraded: "degraded";
491
+ info: "info";
492
492
  recommended: "recommended";
493
493
  }>;
494
494
  title: z.ZodString;
@@ -527,8 +527,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
527
527
  extensionName: z.ZodString;
528
528
  warnings: z.ZodArray<z.ZodObject<{
529
529
  severity: z.ZodEnum<{
530
- info: "info";
531
530
  degraded: "degraded";
531
+ info: "info";
532
532
  recommended: "recommended";
533
533
  }>;
534
534
  title: z.ZodString;
@@ -592,18 +592,18 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
592
592
  name: z.ZodString;
593
593
  displayName: z.ZodString;
594
594
  from: z.ZodEnum<{
595
- active: "active";
596
595
  failed: "failed";
597
- discovered: "discovered";
596
+ active: "active";
598
597
  stopped: "stopped";
598
+ discovered: "discovered";
599
599
  skipped: "skipped";
600
600
  initializing: "initializing";
601
601
  }>;
602
602
  to: z.ZodEnum<{
603
- active: "active";
604
603
  failed: "failed";
605
- discovered: "discovered";
604
+ active: "active";
606
605
  stopped: "stopped";
606
+ discovered: "discovered";
607
607
  skipped: "skipped";
608
608
  initializing: "initializing";
609
609
  }>;
@@ -635,10 +635,10 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
635
635
  name: z.ZodString;
636
636
  displayName: z.ZodString;
637
637
  state: z.ZodEnum<{
638
- active: "active";
639
638
  failed: "failed";
640
- discovered: "discovered";
639
+ active: "active";
641
640
  stopped: "stopped";
641
+ discovered: "discovered";
642
642
  skipped: "skipped";
643
643
  initializing: "initializing";
644
644
  }>;
@@ -673,10 +673,10 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
673
673
  name: z.ZodString;
674
674
  displayName: z.ZodString;
675
675
  state: z.ZodEnum<{
676
- active: "active";
677
676
  failed: "failed";
678
- discovered: "discovered";
677
+ active: "active";
679
678
  stopped: "stopped";
679
+ discovered: "discovered";
680
680
  skipped: "skipped";
681
681
  initializing: "initializing";
682
682
  }>;
@@ -941,8 +941,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
941
941
  extensionName: z.ZodString;
942
942
  warnings: z.ZodArray<z.ZodObject<{
943
943
  severity: z.ZodEnum<{
944
- info: "info";
945
944
  degraded: "degraded";
945
+ info: "info";
946
946
  recommended: "recommended";
947
947
  }>;
948
948
  title: z.ZodString;
@@ -981,8 +981,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
981
981
  extensionName: z.ZodString;
982
982
  warnings: z.ZodArray<z.ZodObject<{
983
983
  severity: z.ZodEnum<{
984
- info: "info";
985
984
  degraded: "degraded";
985
+ info: "info";
986
986
  recommended: "recommended";
987
987
  }>;
988
988
  title: z.ZodString;
@@ -11,8 +11,8 @@ import * as _$_makaio_core0 from "@makaio/framework/core";
11
11
  */
12
12
  declare const FacetAuthoritySchema: z.ZodEnum<{
13
13
  system: "system";
14
- human: "human";
15
14
  agent: "agent";
15
+ human: "human";
16
16
  }>;
17
17
  /**
18
18
  * Cardinality of values a facet namespace permits per target.
@@ -32,9 +32,9 @@ declare const FacetCardinalitySchema: z.ZodEnum<{
32
32
  * - `'surface'` — a UI surface or layout area
33
33
  */
34
34
  declare const FacetAppliesToSchema: z.ZodEnum<{
35
- surface: "surface";
36
35
  workpiece: "workpiece";
37
36
  artifact: "artifact";
37
+ surface: "surface";
38
38
  }>;
39
39
  /**
40
40
  * Serializable registration record for a named facet namespace.
@@ -53,13 +53,13 @@ declare const FacetNamespaceRegistrationSchema: z.ZodObject<{
53
53
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
54
54
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
55
55
  system: "system";
56
- human: "human";
57
56
  agent: "agent";
57
+ human: "human";
58
58
  }>>>;
59
59
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
60
- surface: "surface";
61
60
  workpiece: "workpiece";
62
61
  artifact: "artifact";
62
+ surface: "surface";
63
63
  }>>>;
64
64
  description: z.ZodOptional<z.ZodString>;
65
65
  }, z.core.$strip>;
@@ -157,13 +157,13 @@ declare const FacetSchemas: {
157
157
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
158
158
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
159
159
  system: "system";
160
- human: "human";
161
160
  agent: "agent";
161
+ human: "human";
162
162
  }>>>;
163
163
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
164
- surface: "surface";
165
164
  workpiece: "workpiece";
166
165
  artifact: "artifact";
166
+ surface: "surface";
167
167
  }>>>;
168
168
  description: z.ZodOptional<z.ZodString>;
169
169
  }, z.core.$strip>;
@@ -185,13 +185,13 @@ declare const FacetSchemas: {
185
185
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
186
186
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
187
187
  system: "system";
188
- human: "human";
189
188
  agent: "agent";
189
+ human: "human";
190
190
  }>>>;
191
191
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
192
- surface: "surface";
193
192
  workpiece: "workpiece";
194
193
  artifact: "artifact";
194
+ surface: "surface";
195
195
  }>>>;
196
196
  description: z.ZodOptional<z.ZodString>;
197
197
  }, z.core.$strip>>;
@@ -223,13 +223,13 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
223
223
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
224
224
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
225
225
  system: "system";
226
- human: "human";
227
226
  agent: "agent";
227
+ human: "human";
228
228
  }>>>;
229
229
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
230
- surface: "surface";
231
230
  workpiece: "workpiece";
232
231
  artifact: "artifact";
232
+ surface: "surface";
233
233
  }>>>;
234
234
  description: z.ZodOptional<z.ZodString>;
235
235
  }, z.core.$strip>;
@@ -251,13 +251,13 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
251
251
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
252
252
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
253
253
  system: "system";
254
- human: "human";
255
254
  agent: "agent";
255
+ human: "human";
256
256
  }>>>;
257
257
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
258
- surface: "surface";
259
258
  workpiece: "workpiece";
260
259
  artifact: "artifact";
260
+ surface: "surface";
261
261
  }>>>;
262
262
  description: z.ZodOptional<z.ZodString>;
263
263
  }, z.core.$strip>>;
@@ -295,13 +295,13 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
295
295
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
296
296
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
297
297
  system: "system";
298
- human: "human";
299
298
  agent: "agent";
299
+ human: "human";
300
300
  }>>>;
301
301
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
302
- surface: "surface";
303
302
  workpiece: "workpiece";
304
303
  artifact: "artifact";
304
+ surface: "surface";
305
305
  }>>>;
306
306
  description: z.ZodOptional<z.ZodString>;
307
307
  }, z.core.$strip>;
@@ -323,13 +323,13 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
323
323
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
324
324
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
325
325
  system: "system";
326
- human: "human";
327
326
  agent: "agent";
327
+ human: "human";
328
328
  }>>>;
329
329
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
330
- surface: "surface";
331
330
  workpiece: "workpiece";
332
331
  artifact: "artifact";
332
+ surface: "surface";
333
333
  }>>>;
334
334
  description: z.ZodOptional<z.ZodString>;
335
335
  }, z.core.$strip>>;
@@ -48,9 +48,9 @@ declare const MaterializationSchemas: {
48
48
  template: z.ZodString;
49
49
  }, z.core.$strip>], "kind">;
50
50
  appliesTo: z.ZodArray<z.ZodEnum<{
51
- surface: "surface";
52
51
  workpiece: "workpiece";
53
52
  artifact: "artifact";
53
+ surface: "surface";
54
54
  }>>;
55
55
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
56
56
  description: z.ZodOptional<z.ZodString>;
@@ -88,9 +88,9 @@ declare const MaterializationSchemas: {
88
88
  template: z.ZodString;
89
89
  }, z.core.$strip>], "kind">;
90
90
  appliesTo: z.ZodArray<z.ZodEnum<{
91
- surface: "surface";
92
91
  workpiece: "workpiece";
93
92
  artifact: "artifact";
93
+ surface: "surface";
94
94
  }>>;
95
95
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
96
96
  description: z.ZodOptional<z.ZodString>;
@@ -106,8 +106,8 @@ declare const MaterializationSchemas: {
106
106
  provider: z.ZodString;
107
107
  externalId: z.ZodString;
108
108
  operation: z.ZodEnum<{
109
- deleted: "deleted";
110
109
  upserted: "upserted";
110
+ deleted: "deleted";
111
111
  }>;
112
112
  }, z.core.$strip>; /** Emitted when a provider surface capability set has been resolved. */
113
113
  'capability.resolved': z.ZodObject<{
@@ -153,9 +153,9 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
153
153
  template: z.ZodString;
154
154
  }, z.core.$strip>], "kind">;
155
155
  appliesTo: z.ZodArray<z.ZodEnum<{
156
- surface: "surface";
157
156
  workpiece: "workpiece";
158
157
  artifact: "artifact";
158
+ surface: "surface";
159
159
  }>>;
160
160
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
161
161
  description: z.ZodOptional<z.ZodString>;
@@ -193,9 +193,9 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
193
193
  template: z.ZodString;
194
194
  }, z.core.$strip>], "kind">;
195
195
  appliesTo: z.ZodArray<z.ZodEnum<{
196
- surface: "surface";
197
196
  workpiece: "workpiece";
198
197
  artifact: "artifact";
198
+ surface: "surface";
199
199
  }>>;
200
200
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
201
201
  description: z.ZodOptional<z.ZodString>;
@@ -211,8 +211,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
211
211
  provider: z.ZodString;
212
212
  externalId: z.ZodString;
213
213
  operation: z.ZodEnum<{
214
- deleted: "deleted";
215
214
  upserted: "upserted";
215
+ deleted: "deleted";
216
216
  }>;
217
217
  }, z.core.$strip>; /** Emitted when a provider surface capability set has been resolved. */
218
218
  'capability.resolved': z.ZodObject<{
@@ -268,9 +268,9 @@ declare const MaterializationSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
268
268
  template: z.ZodString;
269
269
  }, z.core.$strip>], "kind">;
270
270
  appliesTo: z.ZodArray<z.ZodEnum<{
271
- surface: "surface";
272
271
  workpiece: "workpiece";
273
272
  artifact: "artifact";
273
+ surface: "surface";
274
274
  }>>;
275
275
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
276
276
  description: z.ZodOptional<z.ZodString>;
@@ -308,9 +308,9 @@ declare const MaterializationSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
308
308
  template: z.ZodString;
309
309
  }, z.core.$strip>], "kind">;
310
310
  appliesTo: z.ZodArray<z.ZodEnum<{
311
- surface: "surface";
312
311
  workpiece: "workpiece";
313
312
  artifact: "artifact";
313
+ surface: "surface";
314
314
  }>>;
315
315
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
316
316
  description: z.ZodOptional<z.ZodString>;
@@ -326,8 +326,8 @@ declare const MaterializationSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
326
326
  provider: z.ZodString;
327
327
  externalId: z.ZodString;
328
328
  operation: z.ZodEnum<{
329
- deleted: "deleted";
330
329
  upserted: "upserted";
330
+ deleted: "deleted";
331
331
  }>;
332
332
  }, z.core.$strip>; /** Emitted when a provider surface capability set has been resolved. */
333
333
  'capability.resolved': z.ZodObject<{
@@ -27,8 +27,8 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
27
27
  */
28
28
  declare const VariantUpgradeStatusSchema: z.ZodEnum<{
29
29
  error: "error";
30
- progress: "progress";
31
30
  downloading: "downloading";
31
+ progress: "progress";
32
32
  applying: "applying";
33
33
  complete: "complete";
34
34
  }>;
@@ -101,8 +101,8 @@ declare const VariantSchemas: {
101
101
  upgradeProgress: z.ZodObject<{
102
102
  status: z.ZodEnum<{
103
103
  error: "error";
104
- progress: "progress";
105
104
  downloading: "downloading";
105
+ progress: "progress";
106
106
  applying: "applying";
107
107
  complete: "complete";
108
108
  }>;
@@ -158,8 +158,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
158
158
  upgradeProgress: _$zod.ZodObject<{
159
159
  status: _$zod.ZodEnum<{
160
160
  error: "error";
161
- progress: "progress";
162
161
  downloading: "downloading";
162
+ progress: "progress";
163
163
  applying: "applying";
164
164
  complete: "complete";
165
165
  }>;
@@ -205,8 +205,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
205
205
  upgradeProgress: _$zod.ZodObject<{
206
206
  status: _$zod.ZodEnum<{
207
207
  error: "error";
208
- progress: "progress";
209
208
  downloading: "downloading";
209
+ progress: "progress";
210
210
  applying: "applying";
211
211
  complete: "complete";
212
212
  }>;
@@ -142,6 +142,7 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
142
142
  name: z.ZodString;
143
143
  adapterName: z.ZodOptional<z.ZodString>;
144
144
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
145
+ clientId: z.ZodOptional<z.ZodString>;
145
146
  nativeTools: z.ZodObject<{
146
147
  enabled: z.ZodArray<z.ZodString>;
147
148
  disabled: z.ZodArray<z.ZodString>;
@@ -150,7 +151,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
150
151
  enabled: z.ZodArray<z.ZodString>;
151
152
  disabled: z.ZodArray<z.ZodString>;
152
153
  }, z.core.$strip>;
153
- clientId: z.ZodOptional<z.ZodString>;
154
154
  skills: z.ZodOptional<z.ZodObject<{
155
155
  enabled: z.ZodArray<z.ZodString>;
156
156
  disabled: z.ZodArray<z.ZodString>;
@@ -318,6 +318,7 @@ declare const HarnessSchemas: {
318
318
  name: z.ZodString;
319
319
  adapterName: z.ZodOptional<z.ZodString>;
320
320
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
321
+ clientId: z.ZodOptional<z.ZodString>;
321
322
  nativeTools: z.ZodObject<{
322
323
  enabled: z.ZodArray<z.ZodString>;
323
324
  disabled: z.ZodArray<z.ZodString>;
@@ -326,7 +327,6 @@ declare const HarnessSchemas: {
326
327
  enabled: z.ZodArray<z.ZodString>;
327
328
  disabled: z.ZodArray<z.ZodString>;
328
329
  }, z.core.$strip>;
329
- clientId: z.ZodOptional<z.ZodString>;
330
330
  skills: z.ZodOptional<z.ZodObject<{
331
331
  enabled: z.ZodArray<z.ZodString>;
332
332
  disabled: z.ZodArray<z.ZodString>;
@@ -761,6 +761,7 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
761
761
  name: z.ZodString;
762
762
  adapterName: z.ZodOptional<z.ZodString>;
763
763
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
764
+ clientId: z.ZodOptional<z.ZodString>;
764
765
  nativeTools: z.ZodObject<{
765
766
  enabled: z.ZodArray<z.ZodString>;
766
767
  disabled: z.ZodArray<z.ZodString>;
@@ -769,7 +770,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
769
770
  enabled: z.ZodArray<z.ZodString>;
770
771
  disabled: z.ZodArray<z.ZodString>;
771
772
  }, z.core.$strip>;
772
- clientId: z.ZodOptional<z.ZodString>;
773
773
  skills: z.ZodOptional<z.ZodObject<{
774
774
  enabled: z.ZodArray<z.ZodString>;
775
775
  disabled: z.ZodArray<z.ZodString>;
@@ -1204,6 +1204,7 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1204
1204
  name: z.ZodString;
1205
1205
  adapterName: z.ZodOptional<z.ZodString>;
1206
1206
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1207
+ clientId: z.ZodOptional<z.ZodString>;
1207
1208
  nativeTools: z.ZodObject<{
1208
1209
  enabled: z.ZodArray<z.ZodString>;
1209
1210
  disabled: z.ZodArray<z.ZodString>;
@@ -1212,7 +1213,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1212
1213
  enabled: z.ZodArray<z.ZodString>;
1213
1214
  disabled: z.ZodArray<z.ZodString>;
1214
1215
  }, z.core.$strip>;
1215
- clientId: z.ZodOptional<z.ZodString>;
1216
1216
  skills: z.ZodOptional<z.ZodObject<{
1217
1217
  enabled: z.ZodArray<z.ZodString>;
1218
1218
  disabled: z.ZodArray<z.ZodString>;
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-D-bP8RRE.mjs";
2
- import { c as ExtensionInfo } from "./index-DdZ9PDEE.mjs";
2
+ import { c as ExtensionInfo } from "./index-DW8EiMJ9.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-CfEi_Ji4.mjs";
4
4
  import { IMakaioBus } from "@makaio/framework/bus";
5
5
  import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
@@ -1,2 +1,2 @@
1
- import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-BfUq8fO52.mjs";
1
+ import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-wP87FKTQ2.mjs";
2
2
  export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -1,5 +1,5 @@
1
- import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-DdZ9PDEE.mjs";
2
- import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-BfUq8fO52.mjs";
1
+ import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-DW8EiMJ9.mjs";
2
+ import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-wP87FKTQ2.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-CfEi_Ji4.mjs";
4
4
  import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-DOfq0qqv.mjs";
5
5
  import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-BbCjtc3h.mjs";
@@ -1,2 +1,2 @@
1
- import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-DdZ9PDEE.mjs";
1
+ import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-DW8EiMJ9.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -189,6 +189,10 @@ declare function resolveMcpTools(bus: IMakaioBus, options?: McpToolDiscoveryOpti
189
189
  declare function toolInfoToMcpTool(tool: ToolInfo, mcpName: string): McpToolDefinition;
190
190
  //#endregion
191
191
  //#region subsystems/mcp-http-server/src/server.d.ts
192
+ /** Query parameter name used by adapters to pass the session ID when custom headers are not available. */
193
+ declare const ADAPTER_SESSION_ID_PARAM = "adapterSessionId";
194
+ /** HTTP header name that carries the adapter session ID after query-param promotion. */
195
+ declare const ADAPTER_SESSION_ID_HEADER = "x-adapter-session-id";
192
196
  /**
193
197
  * Options for configuring MCP server startup.
194
198
  */
@@ -256,8 +260,8 @@ interface CreateMcpServerOptions {
256
260
  resolveContextOverrides?: ResolveContextOverrides;
257
261
  }
258
262
  /**
259
- * Transport-agnostic options shared by {@link createHttpMcpHandler} and
260
- * {@link startHttpMcpServer}. These fields configure the MCP server and its
263
+ * Transport-agnostic options shared by {@link createHttpMcpHandler},
264
+ * {@link createFetchMcpHandler}, and {@link startHttpMcpServer}. These fields configure the MCP server and its
261
265
  * attached transport without prescribing how the resulting handler is mounted
262
266
  * onto an HTTP stack.
263
267
  */
@@ -270,7 +274,8 @@ interface HttpMcpHandlerOptions {
270
274
  * Optional callback invoked when the underlying MCP transport closes.
271
275
  *
272
276
  * Called synchronously by the MCP SDK's transport `onclose` hook — that is,
273
- * after {@link HttpMcpHandlerHandle.close} (or {@link HttpMcpServerHandle.close})
277
+ * after {@link HttpMcpHandlerHandle.close}, {@link FetchMcpHandlerHandle.close},
278
+ * or {@link HttpMcpServerHandle.close}
274
279
  * has been called and the transport has finished tearing down. Intended for
275
280
  * best-effort resource cleanup (e.g. flushing session registries) without
276
281
  * blocking the close path.
@@ -463,6 +468,70 @@ declare function startHttpMcpServer(bus: IMakaioBus, options?: HttpMcpServerOpti
463
468
  */
464
469
  declare function startMcpServer(bus: IMakaioBus, sessionId: string, options?: McpServerOptions): Promise<HttpMcpServerHandle | StdioMcpServerHandle>;
465
470
  //#endregion
471
+ //#region subsystems/mcp-http-server/src/fetch-handler.d.ts
472
+ /**
473
+ * Result returned by {@link createFetchMcpHandler}.
474
+ *
475
+ * Provides a Web Standard fetch-compatible handler that can be mounted on any
476
+ * HTTP stack that speaks `Request` / `Response` (Hono, Bun.serve, Cloudflare
477
+ * Workers, Deno). See {@link createFetchMcpHandler} for usage and mounting
478
+ * examples.
479
+ */
480
+ interface FetchMcpHandlerHandle {
481
+ /**
482
+ * Mount this on any fetch-compatible HTTP stack.
483
+ *
484
+ * The handler delegates body parsing to the underlying MCP transport; do not
485
+ * pre-parse the body before passing the request to this function.
486
+ */
487
+ readonly handler: (request: Request) => Promise<Response>;
488
+ /** Context registry for registering and unregistering agent sessions. */
489
+ readonly contextRegistry: IMcpContextRegistry;
490
+ /**
491
+ * Gracefully close the MCP server and its transport.
492
+ *
493
+ * Idempotent: repeated calls await the same underlying close operation and
494
+ * do not trigger a second teardown.
495
+ */
496
+ close(): Promise<void>;
497
+ }
498
+ /**
499
+ * Create a fetch-compatible MCP request handler backed by the Web Standard
500
+ * {@link https://github.com/modelcontextprotocol/typescript-sdk | MCP SDK} transport.
501
+ *
502
+ * This is the fetch-style sibling of {@link createHttpMcpHandler}. Both share
503
+ * the same {@link createMcpServer} wiring, but this variant uses
504
+ * `WebStandardStreamableHTTPServerTransport` so the resulting handler accepts a
505
+ * Web Standard `Request` and returns a `Promise<Response>`. Mount it on Hono,
506
+ * Bun.serve, Cloudflare Workers, Deno, or any other fetch-compatible HTTP stack.
507
+ *
508
+ * ```ts
509
+ * import { createFetchMcpHandler } from '@makaio/framework/mcp-http-server';
510
+ *
511
+ * const { handler, close } = await createFetchMcpHandler(bus);
512
+ *
513
+ * // Hono
514
+ * app.all('/mcp', async (c) => handler(c.req.raw));
515
+ *
516
+ * // Bun.serve
517
+ * Bun.serve({
518
+ * fetch(request) {
519
+ * if (new URL(request.url).pathname === '/mcp') {
520
+ * return handler(request);
521
+ * }
522
+ * return new Response('Not found', { status: 404 });
523
+ * },
524
+ * });
525
+ * ```
526
+ *
527
+ * The handler parses request bodies internally via the transport; do not
528
+ * pre-parse or consume `request.body` before passing it in.
529
+ * @param bus - Bus instance.
530
+ * @param options - Handler options (same as {@link createHttpMcpHandler}).
531
+ * @returns Handle exposing the fetch handler, context registry, and close function.
532
+ */
533
+ declare function createFetchMcpHandler(bus: IMakaioBus, options?: HttpMcpHandlerOptions): Promise<FetchMcpHandlerHandle>;
534
+ //#endregion
466
535
  //#region subsystems/mcp-http-server/src/mcp-server-bridge-service.d.ts
467
536
  /**
468
537
  * Singleton bus service that manages the HTTP MCP server lifecycle.
@@ -671,4 +740,4 @@ interface McpClientBridgeOptions {
671
740
  */
672
741
  declare function startMcpClientBridge(options: McpClientBridgeOptions): Promise<McpClientBridgeHandle>;
673
742
  //#endregion
674
- export { APPROVE_TOOL_NAME, type CreateMcpServerOptions, type HttpMcpHandlerHandle, type HttpMcpHandlerOptions, type HttpMcpServerHandle, type HttpMcpServerOptions, type IMcpContextRegistry, type McpAgentContext, type McpBridgedTool, type McpCallToolResult, type McpClientBridgeHandle, type McpClientBridgeOptions, McpContextRegistry, type McpResolvedTools, McpServerBridgeService, type McpServerOptions, type McpToolDiscoveryIdentity, type McpToolDiscoveryOptions, type McpToolEntry, type PluginToolsetMap, type RequestToolApproval, type ResolveContextOverrides, type StdioMcpServerHandle, type ToolApproveRequestPayload, type ToolApproveResponse, createHttpMcpHandler, createMcpRequestHandler, createMcpServer, resolveMcpTools, startHttpMcpServer, startMcpClientBridge, startMcpServer, toolInfoToMcpTool };
743
+ export { ADAPTER_SESSION_ID_HEADER, ADAPTER_SESSION_ID_PARAM, APPROVE_TOOL_NAME, type CreateMcpServerOptions, type FetchMcpHandlerHandle, type HttpMcpHandlerHandle, type HttpMcpHandlerOptions, type HttpMcpServerHandle, type HttpMcpServerOptions, type IMcpContextRegistry, type McpAgentContext, type McpBridgedTool, type McpCallToolResult, type McpClientBridgeHandle, type McpClientBridgeOptions, McpContextRegistry, type McpResolvedTools, McpServerBridgeService, type McpServerOptions, type McpToolDiscoveryIdentity, type McpToolDiscoveryOptions, type McpToolEntry, type PluginToolsetMap, type RequestToolApproval, type ResolveContextOverrides, type StdioMcpServerHandle, type ToolApproveRequestPayload, type ToolApproveResponse, createFetchMcpHandler, createHttpMcpHandler, createMcpRequestHandler, createMcpServer, resolveMcpTools, startHttpMcpServer, startMcpClientBridge, startMcpServer, toolInfoToMcpTool };