@makaio/framework 1.0.0-dev-1781884053376 → 1.0.0-dev-1781899284968

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 (87) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-Deu9viD2.mjs +1 -0
  3. package/dist/adapters/config/index.d.mts +1 -1
  4. package/dist/adapters/index.d.mts +1 -1
  5. package/dist/adapters/index.mjs +1 -1
  6. package/dist/bus/index.d.mts +20 -20
  7. package/dist/bus/index.mjs +1 -1
  8. package/dist/contracts/adapter/index.d.mts +2 -2
  9. package/dist/contracts/adapter/index.mjs +1 -1
  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/config/index.d.mts +6 -6
  14. package/dist/contracts/extension/index.d.mts +3 -3
  15. package/dist/contracts/harness/index.d.mts +1 -1
  16. package/dist/contracts/index.d.mts +172 -152
  17. package/dist/contracts/index.mjs +1 -1
  18. package/dist/contracts/provider/index.d.mts +1 -1
  19. package/dist/contracts/session/index.d.mts +3 -3
  20. package/dist/contracts/session/index.mjs +1 -1
  21. package/dist/contracts/shared/index.d.mts +1 -1
  22. package/dist/contracts/skill/index.d.mts +1 -1
  23. package/dist/contracts/variant/index.d.mts +1 -1
  24. package/dist/contracts/workflow/index.d.mts +2 -2
  25. package/dist/{index-Mi_UJoUV.d.mts → index-4eP9DRL_.d.mts} +4 -4
  26. package/dist/{index-DoWQjCE-.d.mts → index-6k5ktwXY.d.mts} +399 -339
  27. package/dist/{index-BvjLe_w9.d.mts → index-B76e7m2R.d.mts} +4 -4
  28. package/dist/{index-Di84JjS0.d.mts → index-BAnDvAk4.d.mts} +1 -1
  29. package/dist/{index--diIlm1t.d.mts → index-BNT7Ys9c.d.mts} +36 -36
  30. package/dist/{index-BwZpSUql.d.mts → index-Bw_CfRNZ.d.mts} +24 -24
  31. package/dist/{index-SAGZBNB0.d.mts → index-CF8ldAwM.d.mts} +341 -324
  32. package/dist/{index-D6sjCuQA.d.mts → index-CHy2TweG.d.mts} +26 -26
  33. package/dist/{index-CBN898N1.d.mts → index-CYu8kZek.d.mts} +4 -4
  34. package/dist/{index-NkNbYFud.d.mts → index-CaerrEDH.d.mts} +1 -1
  35. package/dist/{index-DiifAKRu.d.mts → index-DFk-zky_.d.mts} +34 -0
  36. package/dist/{index-UKndP4iV.d.mts → index-DKs0sHne.d.mts} +1 -1
  37. package/dist/{index-D94cDExW2.d.mts → index-DLNRgZPo2.d.mts} +15 -15
  38. package/dist/{index-CqImyhjX.d.mts → index-WHUV7neB.d.mts} +100 -100
  39. package/dist/{index-DYcyc2rR.d.mts → index-XeFiBam-.d.mts} +1 -1
  40. package/dist/{index-BUrNl0QJ.d.mts → index-gKaw_TMU.d.mts} +16 -16
  41. package/dist/kernel/extension/index.d.mts +1 -1
  42. package/dist/kernel/index.d.mts +2 -2
  43. package/dist/kernel/observability/index.d.mts +1 -1
  44. package/dist/{namespace-BeMGmLrp.d.mts → namespace-Bv8B89uB.d.mts} +9 -9
  45. package/dist/{namespace-Bcn5EuKq.d.mts → namespace-CMN1WR_2.d.mts} +2 -2
  46. package/dist/{namespace-CGGzwaCj.d.mts → namespace-CfvtDD_U.d.mts} +152 -152
  47. package/dist/{namespace-d_0I6P7N.d.mts → namespace-Dybz75l5.d.mts} +26 -26
  48. package/dist/{namespace-qC3OUGCB.d.mts → namespace-MuyQDzjD.d.mts} +20 -20
  49. package/dist/{namespace-3yGm4WF9.d.mts → namespace-j7vFsmYL.d.mts} +2 -2
  50. package/dist/package.json +1 -1
  51. package/dist/runtime-bun/index.d.mts +2 -2
  52. package/dist/runtime-bun/index.mjs +1 -1
  53. package/dist/runtime-node/index.d.mts +3 -3
  54. package/dist/runtime-node/index.mjs +24 -24
  55. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  56. package/dist/{schema-BD0TvgFP.d.mts → schema-CzrYmB9E.d.mts} +1 -1
  57. package/dist/{schemas-CyL5UEV7.d.mts → schemas-CoFCV42v.d.mts} +152 -152
  58. package/dist/{schemas-TQPiRl642.d.mts → schemas-CwgS7KoL2.d.mts} +4 -4
  59. package/dist/schemas-bfhY9W6A.mjs +1 -0
  60. package/dist/{schemas-CscdPqCt.d.mts → schemas-lnE9YoG7.d.mts} +3 -3
  61. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  62. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  63. package/dist/services/agent-runtime/index.d.mts +2 -2
  64. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  65. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  66. package/dist/services/context-rules/index.d.mts +8 -8
  67. package/dist/services/index.d.mts +105 -105
  68. package/dist/services/session/index.d.mts +5 -5
  69. package/dist/services/session/messages/namespace.d.mts +1 -1
  70. package/dist/services/session/session-events/namespace.d.mts +1 -1
  71. package/dist/services/session/storage/namespace.d.mts +1 -1
  72. package/dist/services/session/storage/schema.d.mts +1 -1
  73. package/dist/services/settings/namespace.d.mts +4 -4
  74. package/dist/services/subagent-template/index.d.mts +1 -1
  75. package/dist/services/subagent-template/schemas.d.mts +1 -1
  76. package/dist/services/tray-menu/index.d.mts +2 -2
  77. package/dist/services/tray-menu/namespace.d.mts +1 -1
  78. package/dist/services/tray-menu/schemas.d.mts +1 -1
  79. package/dist/{session-DLTZOum3.mjs → session-CpVSzgkZ.mjs} +1 -1
  80. package/dist/{session-lineage-5-wRBzuC.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
  81. package/dist/{transition-CCflZ6JS.d.mts → transition-DKMQs6eP.d.mts} +1 -1
  82. package/dist/{types-CPmOg4X7.d.mts → types-BrTJEhR-.d.mts} +20 -2
  83. package/dist/{types-BXUm60GF.d.mts → types-QxCQtHQJ.d.mts} +257 -247
  84. package/dist/workflow-engine/index.d.mts +42 -42
  85. package/package.json +1 -1
  86. package/dist/adapter-BmdC3QwV.mjs +0 -1
  87. package/dist/schemas-yNBjlOKi.mjs +0 -1
@@ -70,8 +70,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
70
70
  name: _$zod.ZodString;
71
71
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
72
72
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
73
- visible: "visible";
74
73
  enabled: "enabled";
74
+ visible: "visible";
75
75
  disabled: "disabled";
76
76
  }>>>;
77
77
  modelFilterMode: _$zod.ZodEnum<{
@@ -97,8 +97,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
97
97
  name: _$zod.ZodString;
98
98
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
99
99
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
100
- visible: "visible";
101
100
  enabled: "enabled";
101
+ visible: "visible";
102
102
  disabled: "disabled";
103
103
  }>>>;
104
104
  modelFilterMode: _$zod.ZodEnum<{
@@ -124,8 +124,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
124
124
  name: _$zod.ZodString;
125
125
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
126
126
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
127
- visible: "visible";
128
127
  enabled: "enabled";
128
+ visible: "visible";
129
129
  disabled: "disabled";
130
130
  }>>>;
131
131
  modelFilterMode: _$zod.ZodEnum<{
@@ -188,8 +188,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
188
188
  name: _$zod.ZodString;
189
189
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
190
190
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
191
- visible: "visible";
192
191
  enabled: "enabled";
192
+ visible: "visible";
193
193
  disabled: "disabled";
194
194
  }>>>;
195
195
  modelFilterMode: _$zod.ZodEnum<{
@@ -337,8 +337,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
337
337
  openai: _$zod.ZodOptional<_$zod.ZodString>;
338
338
  }, _$zod_v4_core0.$strip>>;
339
339
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
340
- visible: "visible";
341
340
  enabled: "enabled";
341
+ visible: "visible";
342
342
  disabled: "disabled";
343
343
  }>>>;
344
344
  modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -354,8 +354,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
354
354
  name: _$zod.ZodString;
355
355
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
356
356
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
357
- visible: "visible";
358
357
  enabled: "enabled";
358
+ visible: "visible";
359
359
  disabled: "disabled";
360
360
  }>>>;
361
361
  modelFilterMode: _$zod.ZodEnum<{
@@ -380,8 +380,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
380
380
  openai: _$zod.ZodOptional<_$zod.ZodString>;
381
381
  }, _$zod_v4_core0.$strip>>>;
382
382
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
383
- visible: "visible";
384
383
  enabled: "enabled";
384
+ visible: "visible";
385
385
  disabled: "disabled";
386
386
  }>>>;
387
387
  enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -394,8 +394,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
394
394
  name: _$zod.ZodString;
395
395
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
396
396
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
397
- visible: "visible";
398
397
  enabled: "enabled";
398
+ visible: "visible";
399
399
  disabled: "disabled";
400
400
  }>>>;
401
401
  modelFilterMode: _$zod.ZodEnum<{
@@ -422,8 +422,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
422
422
  name: _$zod.ZodString;
423
423
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
424
424
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
425
- visible: "visible";
426
425
  enabled: "enabled";
426
+ visible: "visible";
427
427
  disabled: "disabled";
428
428
  }>>>;
429
429
  modelFilterMode: _$zod.ZodEnum<{
@@ -457,8 +457,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
457
457
  name: _$zod.ZodString;
458
458
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
459
459
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
460
- visible: "visible";
461
460
  enabled: "enabled";
461
+ visible: "visible";
462
462
  disabled: "disabled";
463
463
  }>>>;
464
464
  modelFilterMode: _$zod.ZodEnum<{
@@ -489,8 +489,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
489
489
  name: _$zod.ZodString;
490
490
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
491
491
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
492
- visible: "visible";
493
492
  enabled: "enabled";
493
+ visible: "visible";
494
494
  disabled: "disabled";
495
495
  }>>>;
496
496
  modelFilterMode: _$zod.ZodEnum<{
@@ -594,8 +594,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
594
594
  name: _$zod.ZodString;
595
595
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
596
596
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
597
- visible: "visible";
598
597
  enabled: "enabled";
598
+ visible: "visible";
599
599
  disabled: "disabled";
600
600
  }>>>;
601
601
  modelFilterMode: _$zod.ZodEnum<{
@@ -614,8 +614,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
614
614
  name: _$zod.ZodString;
615
615
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
616
616
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
617
- visible: "visible";
618
617
  enabled: "enabled";
618
+ visible: "visible";
619
619
  disabled: "disabled";
620
620
  }>>>;
621
621
  modelFilterMode: _$zod.ZodEnum<{
@@ -725,8 +725,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
725
725
  name: _$zod.ZodString;
726
726
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
727
727
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
728
- visible: "visible";
729
728
  enabled: "enabled";
729
+ visible: "visible";
730
730
  disabled: "disabled";
731
731
  }>>>;
732
732
  modelFilterMode: _$zod.ZodEnum<{
@@ -752,8 +752,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
752
752
  name: _$zod.ZodString;
753
753
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
754
754
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
755
- visible: "visible";
756
755
  enabled: "enabled";
756
+ visible: "visible";
757
757
  disabled: "disabled";
758
758
  }>>>;
759
759
  modelFilterMode: _$zod.ZodEnum<{
@@ -779,8 +779,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
779
779
  name: _$zod.ZodString;
780
780
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
781
781
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
782
- visible: "visible";
783
782
  enabled: "enabled";
783
+ visible: "visible";
784
784
  disabled: "disabled";
785
785
  }>>>;
786
786
  modelFilterMode: _$zod.ZodEnum<{
@@ -843,8 +843,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
843
843
  name: _$zod.ZodString;
844
844
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
845
845
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
846
- visible: "visible";
847
846
  enabled: "enabled";
847
+ visible: "visible";
848
848
  disabled: "disabled";
849
849
  }>>>;
850
850
  modelFilterMode: _$zod.ZodEnum<{
@@ -992,8 +992,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
992
992
  openai: _$zod.ZodOptional<_$zod.ZodString>;
993
993
  }, _$zod_v4_core0.$strip>>;
994
994
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
995
- visible: "visible";
996
995
  enabled: "enabled";
996
+ visible: "visible";
997
997
  disabled: "disabled";
998
998
  }>>>;
999
999
  modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1009,8 +1009,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1009
1009
  name: _$zod.ZodString;
1010
1010
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1011
1011
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1012
- visible: "visible";
1013
1012
  enabled: "enabled";
1013
+ visible: "visible";
1014
1014
  disabled: "disabled";
1015
1015
  }>>>;
1016
1016
  modelFilterMode: _$zod.ZodEnum<{
@@ -1035,8 +1035,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1035
1035
  openai: _$zod.ZodOptional<_$zod.ZodString>;
1036
1036
  }, _$zod_v4_core0.$strip>>>;
1037
1037
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1038
- visible: "visible";
1039
1038
  enabled: "enabled";
1039
+ visible: "visible";
1040
1040
  disabled: "disabled";
1041
1041
  }>>>;
1042
1042
  enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -1049,8 +1049,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1049
1049
  name: _$zod.ZodString;
1050
1050
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1051
1051
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1052
- visible: "visible";
1053
1052
  enabled: "enabled";
1053
+ visible: "visible";
1054
1054
  disabled: "disabled";
1055
1055
  }>>>;
1056
1056
  modelFilterMode: _$zod.ZodEnum<{
@@ -1077,8 +1077,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1077
1077
  name: _$zod.ZodString;
1078
1078
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1079
1079
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1080
- visible: "visible";
1081
1080
  enabled: "enabled";
1081
+ visible: "visible";
1082
1082
  disabled: "disabled";
1083
1083
  }>>>;
1084
1084
  modelFilterMode: _$zod.ZodEnum<{
@@ -1112,8 +1112,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1112
1112
  name: _$zod.ZodString;
1113
1113
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1114
1114
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1115
- visible: "visible";
1116
1115
  enabled: "enabled";
1116
+ visible: "visible";
1117
1117
  disabled: "disabled";
1118
1118
  }>>>;
1119
1119
  modelFilterMode: _$zod.ZodEnum<{
@@ -1144,8 +1144,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1144
1144
  name: _$zod.ZodString;
1145
1145
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1146
1146
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1147
- visible: "visible";
1148
1147
  enabled: "enabled";
1148
+ visible: "visible";
1149
1149
  disabled: "disabled";
1150
1150
  }>>>;
1151
1151
  modelFilterMode: _$zod.ZodEnum<{
@@ -1249,8 +1249,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1249
1249
  name: _$zod.ZodString;
1250
1250
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1251
1251
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1252
- visible: "visible";
1253
1252
  enabled: "enabled";
1253
+ visible: "visible";
1254
1254
  disabled: "disabled";
1255
1255
  }>>>;
1256
1256
  modelFilterMode: _$zod.ZodEnum<{
@@ -1269,8 +1269,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1269
1269
  name: _$zod.ZodString;
1270
1270
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1271
1271
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1272
- visible: "visible";
1273
1272
  enabled: "enabled";
1273
+ visible: "visible";
1274
1274
  disabled: "disabled";
1275
1275
  }>>>;
1276
1276
  modelFilterMode: _$zod.ZodEnum<{
@@ -202,7 +202,7 @@ declare const SessionStorageNamespace$1: {
202
202
  tableName: "sessions";
203
203
  dataType: "string";
204
204
  columnType: "SQLiteText";
205
- data: "branch" | "fork" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
205
+ data: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
206
206
  driverParam: string;
207
207
  notNull: false;
208
208
  hasDefault: false;
@@ -1035,8 +1035,8 @@ declare const SessionStorageNamespace$1: {
1035
1035
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1036
1036
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1037
1037
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1038
- branch: "branch";
1039
1038
  fork: "fork";
1039
+ branch: "branch";
1040
1040
  subagent: "subagent";
1041
1041
  compress: "compress";
1042
1042
  rewrite: "rewrite";
@@ -1155,8 +1155,8 @@ declare const SessionStorageNamespace$1: {
1155
1155
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1156
1156
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1157
1157
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1158
- branch: "branch";
1159
1158
  fork: "fork";
1159
+ branch: "branch";
1160
1160
  subagent: "subagent";
1161
1161
  compress: "compress";
1162
1162
  rewrite: "rewrite";
@@ -1300,8 +1300,8 @@ declare const SessionStorageNamespace$1: {
1300
1300
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1301
1301
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1302
1302
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1303
- branch: "branch";
1304
1303
  fork: "fork";
1304
+ branch: "branch";
1305
1305
  subagent: "subagent";
1306
1306
  compress: "compress";
1307
1307
  rewrite: "rewrite";
@@ -1381,8 +1381,8 @@ declare const SessionStorageNamespace$1: {
1381
1381
  title: _$zod.ZodNullable<_$zod.ZodString>;
1382
1382
  forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
1383
1383
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
1384
- branch: "branch";
1385
1384
  fork: "fork";
1385
+ branch: "branch";
1386
1386
  subagent: "subagent";
1387
1387
  compress: "compress";
1388
1388
  rewrite: "rewrite";
@@ -1460,8 +1460,8 @@ declare const SessionStorageNamespace$1: {
1460
1460
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1461
1461
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1462
1462
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1463
- branch: "branch";
1464
1463
  fork: "fork";
1464
+ branch: "branch";
1465
1465
  subagent: "subagent";
1466
1466
  compress: "compress";
1467
1467
  rewrite: "rewrite";
@@ -1548,8 +1548,8 @@ declare const SessionStorageNamespace$1: {
1548
1548
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1549
1549
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1550
1550
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1551
- branch: "branch";
1552
1551
  fork: "fork";
1552
+ branch: "branch";
1553
1553
  subagent: "subagent";
1554
1554
  compress: "compress";
1555
1555
  rewrite: "rewrite";
@@ -1642,8 +1642,8 @@ declare const SessionStorageNamespace$1: {
1642
1642
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1643
1643
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1644
1644
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1645
- branch: "branch";
1646
1645
  fork: "fork";
1646
+ branch: "branch";
1647
1647
  subagent: "subagent";
1648
1648
  compress: "compress";
1649
1649
  rewrite: "rewrite";
@@ -1829,8 +1829,8 @@ declare const SessionStorageNamespace$1: {
1829
1829
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1830
1830
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1831
1831
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1832
- branch: "branch";
1833
1832
  fork: "fork";
1833
+ branch: "branch";
1834
1834
  subagent: "subagent";
1835
1835
  compress: "compress";
1836
1836
  rewrite: "rewrite";
@@ -1956,8 +1956,8 @@ declare const SessionStorageNamespace$1: {
1956
1956
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1957
1957
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1958
1958
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1959
- branch: "branch";
1960
1959
  fork: "fork";
1960
+ branch: "branch";
1961
1961
  subagent: "subagent";
1962
1962
  compress: "compress";
1963
1963
  rewrite: "rewrite";
@@ -2104,8 +2104,8 @@ declare const SessionStorageNamespace$1: {
2104
2104
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2105
2105
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2106
2106
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2107
- branch: "branch";
2108
2107
  fork: "fork";
2108
+ branch: "branch";
2109
2109
  subagent: "subagent";
2110
2110
  compress: "compress";
2111
2111
  rewrite: "rewrite";
@@ -2224,8 +2224,8 @@ declare const SessionStorageNamespace$1: {
2224
2224
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2225
2225
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2226
2226
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2227
- branch: "branch";
2228
2227
  fork: "fork";
2228
+ branch: "branch";
2229
2229
  subagent: "subagent";
2230
2230
  compress: "compress";
2231
2231
  rewrite: "rewrite";
@@ -2369,8 +2369,8 @@ declare const SessionStorageNamespace$1: {
2369
2369
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2370
2370
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2371
2371
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2372
- branch: "branch";
2373
2372
  fork: "fork";
2373
+ branch: "branch";
2374
2374
  subagent: "subagent";
2375
2375
  compress: "compress";
2376
2376
  rewrite: "rewrite";
@@ -2450,8 +2450,8 @@ declare const SessionStorageNamespace$1: {
2450
2450
  title: _$zod.ZodNullable<_$zod.ZodString>;
2451
2451
  forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
2452
2452
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
2453
- branch: "branch";
2454
2453
  fork: "fork";
2454
+ branch: "branch";
2455
2455
  subagent: "subagent";
2456
2456
  compress: "compress";
2457
2457
  rewrite: "rewrite";
@@ -2529,8 +2529,8 @@ declare const SessionStorageNamespace$1: {
2529
2529
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2530
2530
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2531
2531
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2532
- branch: "branch";
2533
2532
  fork: "fork";
2533
+ branch: "branch";
2534
2534
  subagent: "subagent";
2535
2535
  compress: "compress";
2536
2536
  rewrite: "rewrite";
@@ -2617,8 +2617,8 @@ declare const SessionStorageNamespace$1: {
2617
2617
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2618
2618
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2619
2619
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2620
- branch: "branch";
2621
2620
  fork: "fork";
2621
+ branch: "branch";
2622
2622
  subagent: "subagent";
2623
2623
  compress: "compress";
2624
2624
  rewrite: "rewrite";
@@ -2711,8 +2711,8 @@ declare const SessionStorageNamespace$1: {
2711
2711
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2712
2712
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2713
2713
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2714
- branch: "branch";
2715
2714
  fork: "fork";
2715
+ branch: "branch";
2716
2716
  subagent: "subagent";
2717
2717
  compress: "compress";
2718
2718
  rewrite: "rewrite";
@@ -2898,8 +2898,8 @@ declare const SessionStorageNamespace$1: {
2898
2898
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2899
2899
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2900
2900
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2901
- branch: "branch";
2902
2901
  fork: "fork";
2902
+ branch: "branch";
2903
2903
  subagent: "subagent";
2904
2904
  compress: "compress";
2905
2905
  rewrite: "rewrite";
@@ -3025,8 +3025,8 @@ declare const SessionStorageNamespace$1: {
3025
3025
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3026
3026
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
3027
3027
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
3028
- branch: "branch";
3029
3028
  fork: "fork";
3029
+ branch: "branch";
3030
3030
  subagent: "subagent";
3031
3031
  compress: "compress";
3032
3032
  rewrite: "rewrite";
@@ -3155,7 +3155,7 @@ declare const SessionStorageNamespace$1: {
3155
3155
  contextInheritance?: "none" | "parent-history" | undefined;
3156
3156
  rootSessionId?: string | undefined;
3157
3157
  forkPointMessageId?: string | undefined;
3158
- branchKind?: "branch" | "fork" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside" | undefined;
3158
+ branchKind?: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside" | undefined;
3159
3159
  adapterName?: string | undefined;
3160
3160
  adapterSessionId?: string | undefined;
3161
3161
  adapterId?: string | undefined;
@@ -41,8 +41,8 @@ declare const TrayMenuNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:tr
41
41
  groupId: _$zod.ZodString;
42
42
  entries: _$zod.ZodArray<_$zod.ZodObject<{
43
43
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
44
- label: _$zod.ZodString;
45
44
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
45
+ label: _$zod.ZodString;
46
46
  priority: _$zod.ZodDefault<_$zod.ZodNumber>;
47
47
  entryId: _$zod.ZodString;
48
48
  }, _$zod_v4_core0.$strip>>;
@@ -132,8 +132,8 @@ declare const TrayMenuSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
132
132
  groupId: _$zod.ZodString;
133
133
  entries: _$zod.ZodArray<_$zod.ZodObject<{
134
134
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
135
- label: _$zod.ZodString;
136
135
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
136
+ label: _$zod.ZodString;
137
137
  priority: _$zod.ZodDefault<_$zod.ZodNumber>;
138
138
  entryId: _$zod.ZodString;
139
139
  }, _$zod_v4_core0.$strip>>;
package/dist/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@makaio/framework",
3
- "version": "1.0.0-dev-1781884053376",
3
+ "version": "1.0.0-dev-1781899284968",
4
4
  "type": "module"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { IMakaioBus } from "@makaio/framework/bus";
2
2
  import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
3
- import { BridgeBrowserOptions, CoreBootOptions, CoreBootOptions as CoreBootOptions$1, CredentialProvider, DescriptorSourcePackageGroup, DiscoveredExtension, ExplicitDescriptorDiscovery, ExtensionDiscovery, FileConfigStorage, FileRegistryCache, FilesystemDescriptorDiscovery, FilesystemDescriptorDiscoveryOptions, FrameworkModuleResolver, HonoRouteGraph, HonoRouteGraph as HonoRouteGraph$1, HonoRouteGraphOptions, HttpContributionPhase, HttpRouteContribution, HttpRouteGraphBuilder, LoadExtensionsOptions, MachineKeyStatus, MachineKeyValidation, MakaioRuntime, MakaioRuntime as MakaioRuntime$1, NodeCredentialProvider, PersistedMachineIdentity, ServerTransportProvider, ServerTransportProvider as ServerTransportProvider$1, StoredCredentialProvider, TransportReadyInfo, bootMakaioRuntimeCore, bridgeExtensionBrowserEntries, createHonoRouteGraph, createHttpRouteGraphBuilder, entrypointStem, isCliContributionLike, isMakaioExtensionLike, isMissingOptionalRuntimePackage, isWithinDirectory, loadExtensions, loadOrCreateMachineIdentity, machineKeysExist, registerAdapterNameResolver, resolveConventionEntrypoint, resolveStaticModelRegistryPath, runMigrations, tryImport, validateMachineKeys } from "@makaio/framework/runtime-node";
3
+ import { BridgeBrowserOptions, CoreBootOptions, CoreBootOptions as CoreBootOptions$1, CredentialProvider, DescriptorSourcePackageGroup, DiscoveredExtension, ExplicitDescriptorDiscovery, ExtensionDiscovery, FileConfigStorage, FileRegistryCache, FilesystemDescriptorDiscovery, FilesystemDescriptorDiscoveryOptions, FrameworkModuleResolver, HonoRouteGraph, HonoRouteGraph as HonoRouteGraph$1, HonoRouteGraphOptions, HttpContributionPhase, HttpRouteContribution, HttpRouteGraphBuilder, LoadExtensionsOptions, MachineKeyStatus, MachineKeyValidation, MakaioRuntime, MakaioRuntime as MakaioRuntime$1, MergedDescriptorDiscovery, NodeCredentialProvider, PersistedMachineIdentity, ServerTransportProvider, ServerTransportProvider as ServerTransportProvider$1, StoredCredentialProvider, TransportReadyInfo, bootMakaioRuntimeCore, bridgeExtensionBrowserEntries, createHonoRouteGraph, createHttpRouteGraphBuilder, entrypointStem, isCliContributionLike, isMakaioExtensionLike, isMissingOptionalRuntimePackage, isWithinDirectory, loadExtensions, loadOrCreateMachineIdentity, machineKeysExist, registerAdapterNameResolver, resolveConventionEntrypoint, resolveStaticModelRegistryPath, runMigrations, tryImport, validateMachineKeys } from "@makaio/framework/runtime-node";
4
4
 
5
5
  //#region runtimes/bun/src/bus-server-transport.d.ts
6
6
  /**
@@ -382,4 +382,4 @@ interface ReadBunServerEnvOptions {
382
382
  */
383
383
  declare function readBunServerEnv(options: ReadBunServerEnvOptions): BunServerEnvConfig;
384
384
  //#endregion
385
- export { type ActiveBunHostExtensionIterator, type BridgeBrowserOptions, type BunBootMakaioRuntimeOptions, type BunBusServerTransportOptions, BunBusServerTransportProvider, type BunGracefulShutdownOptions, type BunHostContribution, type BunHostExtensionPackage, type BunHostRouter, type BunRouteGraphFetch, type BunRouteGraphUpgradeServer, type BunServer, type BunServerAddress, type BunServerEnvConfig, type BunWebSocketHandler, type CoreBootOptions, type CredentialProvider, type DescriptorSourcePackageGroup, type DiscoveredExtension, ExplicitDescriptorDiscovery, type ExtensionDiscovery, FileConfigStorage, FileRegistryCache, FilesystemDescriptorDiscovery, type FilesystemDescriptorDiscoveryOptions, type FrameworkModuleResolver, type HonoRouteGraph, type HonoRouteGraphOptions, type HttpContributionPhase, type HttpRouteContribution, type HttpRouteGraphBuilder, type InvalidBunServerEnvPolicy, type LoadExtensionsOptions, type MachineKeyStatus, type MachineKeyValidation, type MakaioRuntime, NodeCredentialProvider, type PersistedMachineIdentity, type ReadBunServerEnvOptions, type ServerTransportProvider, StoredCredentialProvider, type TransportReadyInfo, bootMakaioRuntime, bootMakaioRuntimeCore, bridgeExtensionBrowserEntries, collectActiveBunHostPackages, composeBunHostFetch, composeBunHostWebSocket, createBunHostRouter, createBunRouteGraphFetch, createGracefulShutdown, createHonoRouteGraph, createHttpRouteGraphBuilder, entrypointStem, isCliContributionLike, isMakaioExtensionLike, isMissingOptionalRuntimePackage, isWithinDirectory, loadExtensions, loadOrCreateMachineIdentity, machineKeysExist, normalizeBunHostPackages, readBunServerEnv, registerAdapterNameResolver, resolveConventionEntrypoint, resolveListeningPort, resolveStaticModelRegistryPath, runMigrations, tryImport, validateMachineKeys };
385
+ export { type ActiveBunHostExtensionIterator, type BridgeBrowserOptions, type BunBootMakaioRuntimeOptions, type BunBusServerTransportOptions, BunBusServerTransportProvider, type BunGracefulShutdownOptions, type BunHostContribution, type BunHostExtensionPackage, type BunHostRouter, type BunRouteGraphFetch, type BunRouteGraphUpgradeServer, type BunServer, type BunServerAddress, type BunServerEnvConfig, type BunWebSocketHandler, type CoreBootOptions, type CredentialProvider, type DescriptorSourcePackageGroup, type DiscoveredExtension, ExplicitDescriptorDiscovery, type ExtensionDiscovery, FileConfigStorage, FileRegistryCache, FilesystemDescriptorDiscovery, type FilesystemDescriptorDiscoveryOptions, type FrameworkModuleResolver, type HonoRouteGraph, type HonoRouteGraphOptions, type HttpContributionPhase, type HttpRouteContribution, type HttpRouteGraphBuilder, type InvalidBunServerEnvPolicy, type LoadExtensionsOptions, type MachineKeyStatus, type MachineKeyValidation, type MakaioRuntime, MergedDescriptorDiscovery, NodeCredentialProvider, type PersistedMachineIdentity, type ReadBunServerEnvOptions, type ServerTransportProvider, StoredCredentialProvider, type TransportReadyInfo, bootMakaioRuntime, bootMakaioRuntimeCore, bridgeExtensionBrowserEntries, collectActiveBunHostPackages, composeBunHostFetch, composeBunHostWebSocket, createBunHostRouter, createBunRouteGraphFetch, createGracefulShutdown, createHonoRouteGraph, createHttpRouteGraphBuilder, entrypointStem, isCliContributionLike, isMakaioExtensionLike, isMissingOptionalRuntimePackage, isWithinDirectory, loadExtensions, loadOrCreateMachineIdentity, machineKeysExist, normalizeBunHostPackages, readBunServerEnv, registerAdapterNameResolver, resolveConventionEntrypoint, resolveListeningPort, resolveStaticModelRegistryPath, runMigrations, tryImport, validateMachineKeys };
@@ -1 +1 @@
1
- import{DispatchingAuth as e,createWebSocketCloseEvent as t}from"@makaio/framework/node/transports";import{HonoWebSocketBridge as n,startBusServer as r}from"@makaio/framework/node/bus-server";import{ExplicitDescriptorDiscovery as i,FileConfigStorage as a,FileRegistryCache as o,FilesystemDescriptorDiscovery as s,NodeCredentialProvider as c,StoredCredentialProvider as l,bootMakaioRuntimeCore as u,bootMakaioRuntimeCore as d,bridgeExtensionBrowserEntries as f,createHonoRouteGraph as p,createHttpRouteGraphBuilder as m,entrypointStem as h,isCliContributionLike as g,isMakaioExtensionLike as _,isMissingOptionalRuntimePackage as v,isWithinDirectory as y,loadExtensions as b,loadOrCreateMachineIdentity as x,machineKeysExist as S,registerAdapterNameResolver as C,resolveConventionEntrypoint as w,resolveStaticModelRegistryPath as T,runMigrations as E,tryImport as D,validateMachineKeys as O}from"@makaio/framework/runtime-node";import{isIP as k}from"node:net";var A=class{raw;eventListeners={message:new Set,close:new Set,error:new Set,open:new Set};constructor(e){this.raw=e}get readyState(){return this.raw.readyState}send(e){if(typeof e==`string`){this.raw.send(e);return}if(e instanceof Blob){e.arrayBuffer().then(e=>{this.raw.readyState===1&&this.raw.send(new Uint8Array(e))}).catch(()=>{this.dispatchError()});return}if(e instanceof ArrayBuffer){this.raw.send(new Uint8Array(e));return}ArrayBuffer.isView(e)&&this.raw.send(e)}close(e,t){this.raw.close(e,t)}addEventListener(e,t){this.eventListeners[e]?.add(t)}removeEventListener(e,t){this.eventListeners[e]?.delete(t)}dispatchMessage(e){let t=new MessageEvent(`message`,{data:e});for(let e of this.eventListeners.message)e(t)}dispatchClose(e,n){let r=t(e,n);for(let e of this.eventListeners.close)e(r)}dispatchError(){let e=new Event(`error`);for(let t of this.eventListeners.error)t(e)}},j=class{options;bridge;busServer=null;busReady=!1;connecting=!1;constructor(e){this.options=e,this.bridge=new n}get dispatchingAuth(){return this.options.auth instanceof e?this.options.auth:void 0}createWebSocketHandler(){let e=this.bridge,t=()=>this.busReady,n=new WeakMap;return{binaryType:`arraybuffer`,open(r){if(!t()){r.close(1013,`Bus server not ready`);return}let i=new A(r);n.set(r,i),e.accept(i)},message(e,t){n.get(e)?.dispatchMessage(t)},close(e,t,r){n.get(e)?.dispatchClose(t,r),n.delete(e)}}}async connect(e,t){if(this.connecting||this.busServer)throw Error(`[BunBusServerTransport] connect() called while transport is already connected or connecting`);this.connecting=!0;try{this.busServer=await r({websocket:this.bridge,bus:e,auth:this.options.auth,loopbackName:this.options.loopbackName??`bun`}),this.busReady=!0}catch(e){throw await this.stopBusServer(`startup error`),e}finally{this.connecting=!1}}async disconnect(){await this.stopBusServer(`shutdown`),this.bridge.close()}async stopBusServer(e){this.busReady=!1,this.busServer&&=(await this.busServer.stop().catch(t=>{console.error(`[BunBusServerTransport] Failed to stop bus server during ${e}:`,t)}),null)}};function M(e){if(e.headers.get(`upgrade`)?.toLowerCase()!==`websocket`)return!1;let{pathname:t}=new URL(e.url);return t===`/bus`?!0:t===`/`&&e.headers.get(`origin`)===null}function N(e){return(t,n)=>M(t)?n.upgrade(t)?void 0:new Response(`WebSocket upgrade failed`,{status:426,headers:{Upgrade:`websocket`}}):e.fetch(t)}function ee(e){return e.port}async function P(e){let{port:t,hostname:n}=e.bunServer,r=e.createMount??(await import(`../create-static-mount-DkK28kKW.mjs`)).defaultCreateMount;return d(e.transport,t,n,{...e,createMount:r})}function F(e,t){let n=e,r=t;return{fetch(e,t){return n(e,t)},websocket:{binaryType:t.binaryType,open(e){r.open(e)},message(e,t){r.message(e,t)},close(e,t,n){r.close(e,t,n)}},activate(i){n=R(e,i),r=z(t,i)}}}function I(e){let t=[];return e.forEachActiveExtension((e,n)=>{B(n)&&t.push(n)}),t}function L(e){return Array.isArray(e)?e.flatMap(e=>L(e)):B(e)?[e]:[]}function R(e,t){return t.reduce((e,t)=>t.bun.createFetch?.(e)??e,e)}function z(e,t){return t.reduce((e,t)=>t.bun.createWebSocketHandler?.(e)??e,e)}function B(e){if(!H(e))return!1;let t=e.bun;return typeof e.name==`string`&&typeof e.displayName==`string`&&V(t)}function V(e){if(!H(e))return!1;let t=e.createFetch,n=e.createWebSocketHandler;return(t===void 0||typeof t==`function`)&&(n===void 0||typeof n==`function`)}function H(e){return typeof e==`object`&&!!e}function U(e){let t=e.timeoutMs??1e4,n=e.exit??(e=>process.exit(e)),r=!1;return async i=>{if(r)return;r=!0,console.info(`[${e.label}] ${i} received, shutting down...`);let a=setTimeout(()=>{console.error(`[${e.label}] Graceful shutdown timed out, forcing exit`),n(1)},t);try{process.env.MAKAIO_DEBUG&&console.info(`[${e.label}] Shutting down runtime...`),await e.runtime.shutdown(),process.env.MAKAIO_DEBUG&&console.info(`[${e.label}] Stopping Bun server...`),W(e.bunServer,e.label),process.env.MAKAIO_DEBUG&&console.info(`[${e.label}] Shutdown complete`),clearTimeout(a),n(0)}catch(t){W(e.bunServer,e.label),clearTimeout(a),console.error(`[${e.label}] Shutdown error:`,t),n(1)}}}function W(e,t){let n=e.stop?.(!0);G(n)&&n.catch(e=>{console.warn(`[${t}] Bun server stop failed during shutdown:`,e)})}function G(e){return typeof e==`object`&&!!e&&typeof e.catch==`function`}const K=/^(?=.{1,253}$)(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$/;function q(e){let t=e.env??process.env,n=e.defaultPort??3e3,r=e.defaultHost??`0.0.0.0`;return{port:J(t.PORT,n,e),host:Y(t.HOST,r,e)}}function J(e,t,n){let r=e?.trim(),i=r&&/^\d+$/.test(r)?Number.parseInt(r,10):NaN;return Number.isInteger(i)&&i>=1&&i<=65535?i:e===void 0?t:Z(`Invalid PORT: ${e}`,t,n)}function Y(e,t,n){let r=e?.trim();return r&&X(r)?r:e===void 0?t:Q(`Invalid HOST: ${e}`,t,n)}function X(e){return k(e)!==0||e===`localhost`||K.test(e)}function Z(e,t,n){return $(e,String(t),n),t}function Q(e,t,n){return $(e,t,n),t}function $(e,t,n){if((n.invalid??`throw`)===`throw`)throw Error(e);console.warn(`[${n.appName}] ${e}, falling back to ${t}`)}export{j as BunBusServerTransportProvider,i as ExplicitDescriptorDiscovery,a as FileConfigStorage,o as FileRegistryCache,s as FilesystemDescriptorDiscovery,c as NodeCredentialProvider,l as StoredCredentialProvider,P as bootMakaioRuntime,u as bootMakaioRuntimeCore,f as bridgeExtensionBrowserEntries,I as collectActiveBunHostPackages,R as composeBunHostFetch,z as composeBunHostWebSocket,F as createBunHostRouter,N as createBunRouteGraphFetch,U as createGracefulShutdown,p as createHonoRouteGraph,m as createHttpRouteGraphBuilder,h as entrypointStem,g as isCliContributionLike,_ as isMakaioExtensionLike,v as isMissingOptionalRuntimePackage,y as isWithinDirectory,b as loadExtensions,x as loadOrCreateMachineIdentity,S as machineKeysExist,L as normalizeBunHostPackages,q as readBunServerEnv,C as registerAdapterNameResolver,w as resolveConventionEntrypoint,ee as resolveListeningPort,T as resolveStaticModelRegistryPath,E as runMigrations,D as tryImport,O as validateMachineKeys};
1
+ import{DispatchingAuth as e,createWebSocketCloseEvent as t}from"@makaio/framework/node/transports";import{HonoWebSocketBridge as n,startBusServer as r}from"@makaio/framework/node/bus-server";import{ExplicitDescriptorDiscovery as i,FileConfigStorage as a,FileRegistryCache as o,FilesystemDescriptorDiscovery as s,MergedDescriptorDiscovery as c,NodeCredentialProvider as l,StoredCredentialProvider as u,bootMakaioRuntimeCore as d,bootMakaioRuntimeCore as f,bridgeExtensionBrowserEntries as ee,createHonoRouteGraph as p,createHttpRouteGraphBuilder as m,entrypointStem as h,isCliContributionLike as g,isMakaioExtensionLike as _,isMissingOptionalRuntimePackage as v,isWithinDirectory as y,loadExtensions as b,loadOrCreateMachineIdentity as x,machineKeysExist as S,registerAdapterNameResolver as C,resolveConventionEntrypoint as w,resolveStaticModelRegistryPath as T,runMigrations as E,tryImport as D,validateMachineKeys as O}from"@makaio/framework/runtime-node";import{isIP as k}from"node:net";var A=class{raw;eventListeners={message:new Set,close:new Set,error:new Set,open:new Set};constructor(e){this.raw=e}get readyState(){return this.raw.readyState}send(e){if(typeof e==`string`){this.raw.send(e);return}if(e instanceof Blob){e.arrayBuffer().then(e=>{this.raw.readyState===1&&this.raw.send(new Uint8Array(e))}).catch(()=>{this.dispatchError()});return}if(e instanceof ArrayBuffer){this.raw.send(new Uint8Array(e));return}ArrayBuffer.isView(e)&&this.raw.send(e)}close(e,t){this.raw.close(e,t)}addEventListener(e,t){this.eventListeners[e]?.add(t)}removeEventListener(e,t){this.eventListeners[e]?.delete(t)}dispatchMessage(e){let t=new MessageEvent(`message`,{data:e});for(let e of this.eventListeners.message)e(t)}dispatchClose(e,n){let r=t(e,n);for(let e of this.eventListeners.close)e(r)}dispatchError(){let e=new Event(`error`);for(let t of this.eventListeners.error)t(e)}},j=class{options;bridge;busServer=null;busReady=!1;connecting=!1;constructor(e){this.options=e,this.bridge=new n}get dispatchingAuth(){return this.options.auth instanceof e?this.options.auth:void 0}createWebSocketHandler(){let e=this.bridge,t=()=>this.busReady,n=new WeakMap;return{binaryType:`arraybuffer`,open(r){if(!t()){r.close(1013,`Bus server not ready`);return}let i=new A(r);n.set(r,i),e.accept(i)},message(e,t){n.get(e)?.dispatchMessage(t)},close(e,t,r){n.get(e)?.dispatchClose(t,r),n.delete(e)}}}async connect(e,t){if(this.connecting||this.busServer)throw Error(`[BunBusServerTransport] connect() called while transport is already connected or connecting`);this.connecting=!0;try{this.busServer=await r({websocket:this.bridge,bus:e,auth:this.options.auth,loopbackName:this.options.loopbackName??`bun`}),this.busReady=!0}catch(e){throw await this.stopBusServer(`startup error`),e}finally{this.connecting=!1}}async disconnect(){await this.stopBusServer(`shutdown`),this.bridge.close()}async stopBusServer(e){this.busReady=!1,this.busServer&&=(await this.busServer.stop().catch(t=>{console.error(`[BunBusServerTransport] Failed to stop bus server during ${e}:`,t)}),null)}};function M(e){if(e.headers.get(`upgrade`)?.toLowerCase()!==`websocket`)return!1;let{pathname:t}=new URL(e.url);return t===`/bus`?!0:t===`/`&&e.headers.get(`origin`)===null}function te(e){return(t,n)=>M(t)?n.upgrade(t)?void 0:new Response(`WebSocket upgrade failed`,{status:426,headers:{Upgrade:`websocket`}}):e.fetch(t)}function N(e){return e.port}async function P(e){let{port:t,hostname:n}=e.bunServer,r=e.createMount??(await import(`../create-static-mount-DkK28kKW.mjs`)).defaultCreateMount;return f(e.transport,t,n,{...e,createMount:r})}function F(e,t){let n=e,r=t;return{fetch(e,t){return n(e,t)},websocket:{binaryType:t.binaryType,open(e){r.open(e)},message(e,t){r.message(e,t)},close(e,t,n){r.close(e,t,n)}},activate(i){n=R(e,i),r=z(t,i)}}}function I(e){let t=[];return e.forEachActiveExtension((e,n)=>{B(n)&&t.push(n)}),t}function L(e){return Array.isArray(e)?e.flatMap(e=>L(e)):B(e)?[e]:[]}function R(e,t){return t.reduce((e,t)=>t.bun.createFetch?.(e)??e,e)}function z(e,t){return t.reduce((e,t)=>t.bun.createWebSocketHandler?.(e)??e,e)}function B(e){if(!H(e))return!1;let t=e.bun;return typeof e.name==`string`&&typeof e.displayName==`string`&&V(t)}function V(e){if(!H(e))return!1;let t=e.createFetch,n=e.createWebSocketHandler;return(t===void 0||typeof t==`function`)&&(n===void 0||typeof n==`function`)}function H(e){return typeof e==`object`&&!!e}function U(e){let t=e.timeoutMs??1e4,n=e.exit??(e=>process.exit(e)),r=!1;return async i=>{if(r)return;r=!0,console.info(`[${e.label}] ${i} received, shutting down...`);let a=setTimeout(()=>{console.error(`[${e.label}] Graceful shutdown timed out, forcing exit`),n(1)},t);try{process.env.MAKAIO_DEBUG&&console.info(`[${e.label}] Shutting down runtime...`),await e.runtime.shutdown(),process.env.MAKAIO_DEBUG&&console.info(`[${e.label}] Stopping Bun server...`),W(e.bunServer,e.label),process.env.MAKAIO_DEBUG&&console.info(`[${e.label}] Shutdown complete`),clearTimeout(a),n(0)}catch(t){W(e.bunServer,e.label),clearTimeout(a),console.error(`[${e.label}] Shutdown error:`,t),n(1)}}}function W(e,t){let n=e.stop?.(!0);G(n)&&n.catch(e=>{console.warn(`[${t}] Bun server stop failed during shutdown:`,e)})}function G(e){return typeof e==`object`&&!!e&&typeof e.catch==`function`}const K=/^(?=.{1,253}$)(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$/;function q(e){let t=e.env??process.env,n=e.defaultPort??3e3,r=e.defaultHost??`0.0.0.0`;return{port:J(t.PORT,n,e),host:Y(t.HOST,r,e)}}function J(e,t,n){let r=e?.trim(),i=r&&/^\d+$/.test(r)?Number.parseInt(r,10):NaN;return Number.isInteger(i)&&i>=1&&i<=65535?i:e===void 0?t:Z(`Invalid PORT: ${e}`,t,n)}function Y(e,t,n){let r=e?.trim();return r&&X(r)?r:e===void 0?t:Q(`Invalid HOST: ${e}`,t,n)}function X(e){return k(e)!==0||e===`localhost`||K.test(e)}function Z(e,t,n){return $(e,String(t),n),t}function Q(e,t,n){return $(e,t,n),t}function $(e,t,n){if((n.invalid??`throw`)===`throw`)throw Error(e);console.warn(`[${n.appName}] ${e}, falling back to ${t}`)}export{j as BunBusServerTransportProvider,i as ExplicitDescriptorDiscovery,a as FileConfigStorage,o as FileRegistryCache,s as FilesystemDescriptorDiscovery,c as MergedDescriptorDiscovery,l as NodeCredentialProvider,u as StoredCredentialProvider,P as bootMakaioRuntime,d as bootMakaioRuntimeCore,ee as bridgeExtensionBrowserEntries,I as collectActiveBunHostPackages,R as composeBunHostFetch,z as composeBunHostWebSocket,F as createBunHostRouter,te as createBunRouteGraphFetch,U as createGracefulShutdown,p as createHonoRouteGraph,m as createHttpRouteGraphBuilder,h as entrypointStem,g as isCliContributionLike,_ as isMakaioExtensionLike,v as isMissingOptionalRuntimePackage,y as isWithinDirectory,b as loadExtensions,x as loadOrCreateMachineIdentity,S as machineKeysExist,L as normalizeBunHostPackages,q as readBunServerEnv,C as registerAdapterNameResolver,w as resolveConventionEntrypoint,N as resolveListeningPort,T as resolveStaticModelRegistryPath,E as runMigrations,D as tryImport,O as validateMachineKeys};
@@ -1,7 +1,7 @@
1
1
  import { RuntimeSubjects } from "./bus/runtime/namespace.mjs";
2
- import { a as FilesystemDescriptorDiscovery, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscoveryOptions, r as ExtensionDiscovery, t as DiscoveredExtension } from "../extension-discovery-CIZn5bkq.mjs";
2
+ import { a as FilesystemDescriptorDiscovery, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscoveryOptions, r as ExtensionDiscovery, s as MergedDescriptorDiscovery, t as DiscoveredExtension } from "../extension-discovery-CIZn5bkq.mjs";
3
3
  import { a as isMakaioExtensionLike, c as resolveConventionEntrypoint, i as isCliContributionLike, n as LoadExtensionsOptions, o as isWithinDirectory, r as entrypointStem, s as loadExtensions, t as DescriptorSourcePackageGroup } from "../load-extensions-DNRIy4zC.mjs";
4
- import { A as DatabaseBootOptions, B as NodeFrameworkModuleResolver, C as ServerTransportProvider, D as WorkflowWorkerEntryMode, E as WorkflowRunnerBootOptions, F as normalizeNodeHostCapabilities, G as HttpContributionPhase, H as resolveFrameworkSpecifier, I as selectFrameworkCorePackages, J as HonoRouteGraphOptions, K as HttpRouteContribution, L as ShutdownStep, M as InitializeNodeDatabaseResult, N as initializeNodeDatabase, O as WorkflowWorkerEntryResolverOptions, P as HostCapabilityDeclaration, R as BridgeBrowserOptions, S as MakaioRuntime, T as UpstreamTelemetryBootOptions, U as HttpRouteGraphBuilder, V as NoopFrameworkModuleResolver, W as createHttpRouteGraphBuilder, Y as createHonoRouteGraph, _ as ThinWorkflowPiscinaRunnerOptions, a as InProcessWorkflowRunnerOptions, b as BootMakaioRuntimeOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, j as InitializeNodeDatabaseOptions, k as resolveWorkflowWorkerEntry, m as ThinWorkflowPiscinaRunner, q as HonoRouteGraph, v as WorkflowRunResult, w as TransportReadyInfo, x as CoreBootOptions, y as BootCoordinatorSetupContext, z as FrameworkModuleResolver } from "../index-DiifAKRu.mjs";
4
+ import { A as DatabaseBootOptions, B as NodeFrameworkModuleResolver, C as ServerTransportProvider, D as WorkflowWorkerEntryMode, E as WorkflowRunnerBootOptions, F as normalizeNodeHostCapabilities, G as HttpContributionPhase, H as resolveFrameworkSpecifier, I as selectFrameworkCorePackages, J as HonoRouteGraphOptions, K as HttpRouteContribution, L as ShutdownStep, M as InitializeNodeDatabaseResult, N as initializeNodeDatabase, O as WorkflowWorkerEntryResolverOptions, P as HostCapabilityDeclaration, R as BridgeBrowserOptions, S as MakaioRuntime, T as UpstreamTelemetryBootOptions, U as HttpRouteGraphBuilder, V as NoopFrameworkModuleResolver, W as createHttpRouteGraphBuilder, Y as createHonoRouteGraph, _ as ThinWorkflowPiscinaRunnerOptions, a as InProcessWorkflowRunnerOptions, b as BootMakaioRuntimeOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, j as InitializeNodeDatabaseOptions, k as resolveWorkflowWorkerEntry, m as ThinWorkflowPiscinaRunner, q as HonoRouteGraph, v as WorkflowRunResult, w as TransportReadyInfo, x as CoreBootOptions, y as BootCoordinatorSetupContext, z as FrameworkModuleResolver } from "../index-DFk-zky_.mjs";
5
5
  import { ConfiguredRuntimeOptions, LoadMakaioConfigOptions, LoadedMakaioConfig, MAKAIO_CONFIG_FILE_ENV, MAKAIO_HOME_ENV, MakaioConfig, ParseMakaioConfigOptions, ParsedMakaioConfig, WorkflowRunnerConfig, buildConfiguredRuntimeOptions, createMakaioConfigDiscovery, defineMakaioConfig, loadMakaioConfig, parseMakaioConfig, resolveMakaioConfigPath, resolveMakaioHome, shouldIncludeExtension } from "./makaio-config.mjs";
6
6
  import { IConfigStorage } from "@makaio/framework/core";
7
7
  import { BusTransport, IMakaioBus } from "@makaio/framework/bus";
@@ -730,4 +730,4 @@ declare function findWorkspaceRoot(startDir: string): string;
730
730
  */
731
731
  declare function findWorkspaceRootInfo(startDir: string): WorkspaceRootInfo;
732
732
  //#endregion
733
- export { type ActivateAdapterRuntimeIdentityInput, type ActivatedAdapterRuntimeIdentity, type AttachedUpstreamTelemetry, type BootCoordinatorSetupContext, type BootMakaioRuntimeOptions, type BridgeBrowserOptions, type BundledMigrationsProbes, type BusServerTransportOptions, BusServerTransportProvider, type ConfiguredRuntimeOptions, type CoreBootOptions, type CredentialProvider, type DatabaseBootOptions, type DescriptorSourcePackageGroup, type DiscoveredExtension, ExplicitDescriptorDiscovery, type ExtensionDiscovery, FileConfigStorage, FileRegistryCache, FilesystemDescriptorDiscovery, type FilesystemDescriptorDiscoveryOptions, type FrameworkModuleResolver, type HonoRouteGraph, type HonoRouteGraphOptions, type HttpContributionPhase, type HttpRouteContribution, type HttpRouteGraphBuilder, type IWorkflowRunner, InProcessWorkflowRunner, type InProcessWorkflowRunnerOptions, type InitializeNodeDatabaseOptions, type InitializeNodeDatabaseResult, type LoadExtensionsOptions, type LoadMakaioConfigOptions, type LoadedMakaioConfig, MAKAIO_CONFIG_FILE_ENV, MAKAIO_HOME_ENV, MAKAIO_UPSTREAM_SECRET_ENV, MAKAIO_UPSTREAM_URL_ENV, type MachineKeyStatus, type MachineKeyValidation, type MakaioConfig, type MakaioRuntime, NodeCredentialProvider, NodeFrameworkModuleResolver, type NodeRuntimeOptions, NoopFrameworkModuleResolver, type ParseMakaioConfigOptions, type ParsedMakaioConfig, type PersistedMachineIdentity, type PrepareAdapterRuntimeInput, type PreparedAdapterRuntime, type ResolveUpstreamTelemetryBootOptionsFromEnvOptions, RuntimeSubjects, type ServerTransportProvider, StoredCredentialProvider, ThinWorkflowPiscinaRunner, type ThinWorkflowPiscinaRunnerOptions, type TransportReadyInfo, type UpstreamTelemetryBootOptions, type UpstreamTelemetryEnv, type UpstreamTelemetryTransportConfig, type WorkflowRunResult, type WorkflowRunnerBootOptions, type WorkflowRunnerConfig, type WorkflowWorkerEntryMode, type WorkflowWorkerEntryResolverOptions, type WorkspaceRootInfo, WorkspaceRootNotFoundError, activateAdapterRuntimeIdentity, attachUpstreamTelemetry, bootMakaioRuntime, bootMakaioRuntimeCore, bridgeExtensionBrowserEntries, buildConfiguredRuntimeOptions, buildExtensionBrowserRollupInputName, buildExtensionBrowserRuntimeEntrypoint, buildNodeRuntimeOptions, createHonoRouteGraph, createHttpRouteGraphBuilder, createMakaioConfigDiscovery, createUpstreamTelemetryTransport, defineMakaioConfig, entrypointStem, findWorkspaceRoot, findWorkspaceRootInfo, getRuntimeDatabase, initializeNodeDatabase, isCliContributionLike, isMakaioExtensionLike, isMissingOptionalRuntimePackage, isWithinDirectory, loadExtensions, loadMakaioConfig, loadOrCreateMachineIdentity, machineKeysExist, normalizeNodeHostCapabilities, parseMakaioConfig, prepareAdapterRuntime, readFrameworkVersion, registerAdapterNameResolver, resolveBundledMigrationsDir, resolveConventionEntrypoint, resolveFrameworkSpecifier, resolveListeningPort, resolveMakaioConfigPath, resolveMakaioHome, resolveStaticModelRegistryPath, resolveUpstreamTelemetryBootOptionsFromEnv, resolveWorkflowWorkerEntry, runMigrations, selectFrameworkCorePackages, shouldIncludeExtension, tryImport, validateMachineKeys, waitForServerListening };
733
+ export { type ActivateAdapterRuntimeIdentityInput, type ActivatedAdapterRuntimeIdentity, type AttachedUpstreamTelemetry, type BootCoordinatorSetupContext, type BootMakaioRuntimeOptions, type BridgeBrowserOptions, type BundledMigrationsProbes, type BusServerTransportOptions, BusServerTransportProvider, type ConfiguredRuntimeOptions, type CoreBootOptions, type CredentialProvider, type DatabaseBootOptions, type DescriptorSourcePackageGroup, type DiscoveredExtension, ExplicitDescriptorDiscovery, type ExtensionDiscovery, FileConfigStorage, FileRegistryCache, FilesystemDescriptorDiscovery, type FilesystemDescriptorDiscoveryOptions, type FrameworkModuleResolver, type HonoRouteGraph, type HonoRouteGraphOptions, type HttpContributionPhase, type HttpRouteContribution, type HttpRouteGraphBuilder, type IWorkflowRunner, InProcessWorkflowRunner, type InProcessWorkflowRunnerOptions, type InitializeNodeDatabaseOptions, type InitializeNodeDatabaseResult, type LoadExtensionsOptions, type LoadMakaioConfigOptions, type LoadedMakaioConfig, MAKAIO_CONFIG_FILE_ENV, MAKAIO_HOME_ENV, MAKAIO_UPSTREAM_SECRET_ENV, MAKAIO_UPSTREAM_URL_ENV, type MachineKeyStatus, type MachineKeyValidation, type MakaioConfig, type MakaioRuntime, MergedDescriptorDiscovery, NodeCredentialProvider, NodeFrameworkModuleResolver, type NodeRuntimeOptions, NoopFrameworkModuleResolver, type ParseMakaioConfigOptions, type ParsedMakaioConfig, type PersistedMachineIdentity, type PrepareAdapterRuntimeInput, type PreparedAdapterRuntime, type ResolveUpstreamTelemetryBootOptionsFromEnvOptions, RuntimeSubjects, type ServerTransportProvider, StoredCredentialProvider, ThinWorkflowPiscinaRunner, type ThinWorkflowPiscinaRunnerOptions, type TransportReadyInfo, type UpstreamTelemetryBootOptions, type UpstreamTelemetryEnv, type UpstreamTelemetryTransportConfig, type WorkflowRunResult, type WorkflowRunnerBootOptions, type WorkflowRunnerConfig, type WorkflowWorkerEntryMode, type WorkflowWorkerEntryResolverOptions, type WorkspaceRootInfo, WorkspaceRootNotFoundError, activateAdapterRuntimeIdentity, attachUpstreamTelemetry, bootMakaioRuntime, bootMakaioRuntimeCore, bridgeExtensionBrowserEntries, buildConfiguredRuntimeOptions, buildExtensionBrowserRollupInputName, buildExtensionBrowserRuntimeEntrypoint, buildNodeRuntimeOptions, createHonoRouteGraph, createHttpRouteGraphBuilder, createMakaioConfigDiscovery, createUpstreamTelemetryTransport, defineMakaioConfig, entrypointStem, findWorkspaceRoot, findWorkspaceRootInfo, getRuntimeDatabase, initializeNodeDatabase, isCliContributionLike, isMakaioExtensionLike, isMissingOptionalRuntimePackage, isWithinDirectory, loadExtensions, loadMakaioConfig, loadOrCreateMachineIdentity, machineKeysExist, normalizeNodeHostCapabilities, parseMakaioConfig, prepareAdapterRuntime, readFrameworkVersion, registerAdapterNameResolver, resolveBundledMigrationsDir, resolveConventionEntrypoint, resolveFrameworkSpecifier, resolveListeningPort, resolveMakaioConfigPath, resolveMakaioHome, resolveStaticModelRegistryPath, resolveUpstreamTelemetryBootOptionsFromEnv, resolveWorkflowWorkerEntry, runMigrations, selectFrameworkCorePackages, shouldIncludeExtension, tryImport, validateMachineKeys, waitForServerListening };