@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
@@ -1,4 +1,4 @@
1
- import { mt as ArtifactRevision$1 } from "./index--diIlm1t.mjs";
1
+ import { mt as ArtifactRevision$1 } from "./index-BNT7Ys9c.mjs";
2
2
  import { i as JsonValue$1, t as JsonObjectContractSchema } from "./json-value-DtIkQN7g.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -173,10 +173,10 @@ type WorkflowSourceLocation = z.infer<typeof WorkflowSourceLocationSchema>;
173
173
  * - `sequence` — ordered list of child nodes (the structural container)
174
174
  */
175
175
  declare const WorkflowNodeTypeSchema: z.ZodEnum<{
176
- sequence: "sequence";
177
176
  station: "station";
178
177
  "delegate-agent": "delegate-agent";
179
178
  "delegate-role": "delegate-role";
179
+ sequence: "sequence";
180
180
  parallel: "parallel";
181
181
  gate: "gate";
182
182
  iterate: "iterate";
@@ -902,10 +902,10 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
902
902
  frameId: z.ZodString;
903
903
  nodeId: z.ZodString;
904
904
  nodeType: z.ZodEnum<{
905
- sequence: "sequence";
906
905
  station: "station";
907
906
  "delegate-agent": "delegate-agent";
908
907
  "delegate-role": "delegate-role";
908
+ sequence: "sequence";
909
909
  parallel: "parallel";
910
910
  gate: "gate";
911
911
  iterate: "iterate";
@@ -920,8 +920,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
920
920
  cancelled: "cancelled";
921
921
  failed: "failed";
922
922
  running: "running";
923
- waiting: "waiting";
924
923
  skipped: "skipped";
924
+ waiting: "waiting";
925
925
  }>;
926
926
  attempt: z.ZodDefault<z.ZodNumber>;
927
927
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -936,8 +936,8 @@ type WorkflowFrameState$1 = z.infer<typeof WorkflowFrameStateSchema$1>;
936
936
  declare const WorkflowGateStatusSchema: z.ZodEnum<{
937
937
  cancelled: "cancelled";
938
938
  rejected: "rejected";
939
- waiting: "waiting";
940
939
  resumed: "resumed";
940
+ waiting: "waiting";
941
941
  "timed-out": "timed-out";
942
942
  }>;
943
943
  type WorkflowGateStatus = z.infer<typeof WorkflowGateStatusSchema>;
@@ -957,8 +957,8 @@ declare const WorkflowGateInstanceSchema$1: z.ZodObject<{
957
957
  status: z.ZodEnum<{
958
958
  cancelled: "cancelled";
959
959
  rejected: "rejected";
960
- waiting: "waiting";
961
960
  resumed: "resumed";
961
+ waiting: "waiting";
962
962
  "timed-out": "timed-out";
963
963
  }>;
964
964
  autoAction: z.ZodEnum<{
@@ -1169,8 +1169,8 @@ declare const GateInstanceListQuerySchema$1: z.ZodObject<{
1169
1169
  status: z.ZodOptional<z.ZodEnum<{
1170
1170
  cancelled: "cancelled";
1171
1171
  rejected: "rejected";
1172
- waiting: "waiting";
1173
1172
  resumed: "resumed";
1173
+ waiting: "waiting";
1174
1174
  "timed-out": "timed-out";
1175
1175
  }>>;
1176
1176
  limit: z.ZodDefault<z.ZodNumber>;
@@ -2785,8 +2785,8 @@ declare const WorkflowSchemas: {
2785
2785
  status: z.ZodOptional<z.ZodEnum<{
2786
2786
  cancelled: "cancelled";
2787
2787
  rejected: "rejected";
2788
- waiting: "waiting";
2789
2788
  resumed: "resumed";
2789
+ waiting: "waiting";
2790
2790
  "timed-out": "timed-out";
2791
2791
  }>>;
2792
2792
  limit: z.ZodDefault<z.ZodNumber>;
@@ -2801,8 +2801,8 @@ declare const WorkflowSchemas: {
2801
2801
  status: z.ZodEnum<{
2802
2802
  cancelled: "cancelled";
2803
2803
  rejected: "rejected";
2804
- waiting: "waiting";
2805
2804
  resumed: "resumed";
2805
+ waiting: "waiting";
2806
2806
  "timed-out": "timed-out";
2807
2807
  }>;
2808
2808
  autoAction: z.ZodEnum<{
@@ -2881,10 +2881,10 @@ declare const WorkflowSchemas: {
2881
2881
  frameId: z.ZodString;
2882
2882
  nodeId: z.ZodString;
2883
2883
  nodeType: z.ZodEnum<{
2884
- sequence: "sequence";
2885
2884
  station: "station";
2886
2885
  "delegate-agent": "delegate-agent";
2887
2886
  "delegate-role": "delegate-role";
2887
+ sequence: "sequence";
2888
2888
  parallel: "parallel";
2889
2889
  gate: "gate";
2890
2890
  iterate: "iterate";
@@ -2899,8 +2899,8 @@ declare const WorkflowSchemas: {
2899
2899
  cancelled: "cancelled";
2900
2900
  failed: "failed";
2901
2901
  running: "running";
2902
- waiting: "waiting";
2903
2902
  skipped: "skipped";
2903
+ waiting: "waiting";
2904
2904
  }>;
2905
2905
  attempt: z.ZodDefault<z.ZodNumber>;
2906
2906
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -3473,10 +3473,10 @@ declare const WorkflowSchemas: {
3473
3473
  frameId: z.ZodString;
3474
3474
  nodeId: z.ZodString;
3475
3475
  nodeType: z.ZodEnum<{
3476
- sequence: "sequence";
3477
3476
  station: "station";
3478
3477
  "delegate-agent": "delegate-agent";
3479
3478
  "delegate-role": "delegate-role";
3479
+ sequence: "sequence";
3480
3480
  parallel: "parallel";
3481
3481
  gate: "gate";
3482
3482
  iterate: "iterate";
@@ -4703,8 +4703,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
4703
4703
  status: z.ZodOptional<z.ZodEnum<{
4704
4704
  cancelled: "cancelled";
4705
4705
  rejected: "rejected";
4706
- waiting: "waiting";
4707
4706
  resumed: "resumed";
4707
+ waiting: "waiting";
4708
4708
  "timed-out": "timed-out";
4709
4709
  }>>;
4710
4710
  limit: z.ZodDefault<z.ZodNumber>;
@@ -4719,8 +4719,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
4719
4719
  status: z.ZodEnum<{
4720
4720
  cancelled: "cancelled";
4721
4721
  rejected: "rejected";
4722
- waiting: "waiting";
4723
4722
  resumed: "resumed";
4723
+ waiting: "waiting";
4724
4724
  "timed-out": "timed-out";
4725
4725
  }>;
4726
4726
  autoAction: z.ZodEnum<{
@@ -4799,10 +4799,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
4799
4799
  frameId: z.ZodString;
4800
4800
  nodeId: z.ZodString;
4801
4801
  nodeType: z.ZodEnum<{
4802
- sequence: "sequence";
4803
4802
  station: "station";
4804
4803
  "delegate-agent": "delegate-agent";
4805
4804
  "delegate-role": "delegate-role";
4805
+ sequence: "sequence";
4806
4806
  parallel: "parallel";
4807
4807
  gate: "gate";
4808
4808
  iterate: "iterate";
@@ -4817,8 +4817,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
4817
4817
  cancelled: "cancelled";
4818
4818
  failed: "failed";
4819
4819
  running: "running";
4820
- waiting: "waiting";
4821
4820
  skipped: "skipped";
4821
+ waiting: "waiting";
4822
4822
  }>;
4823
4823
  attempt: z.ZodDefault<z.ZodNumber>;
4824
4824
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -5391,10 +5391,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
5391
5391
  frameId: z.ZodString;
5392
5392
  nodeId: z.ZodString;
5393
5393
  nodeType: z.ZodEnum<{
5394
- sequence: "sequence";
5395
5394
  station: "station";
5396
5395
  "delegate-agent": "delegate-agent";
5397
5396
  "delegate-role": "delegate-role";
5397
+ sequence: "sequence";
5398
5398
  parallel: "parallel";
5399
5399
  gate: "gate";
5400
5400
  iterate: "iterate";
@@ -6621,8 +6621,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6621
6621
  status: z.ZodOptional<z.ZodEnum<{
6622
6622
  cancelled: "cancelled";
6623
6623
  rejected: "rejected";
6624
- waiting: "waiting";
6625
6624
  resumed: "resumed";
6625
+ waiting: "waiting";
6626
6626
  "timed-out": "timed-out";
6627
6627
  }>>;
6628
6628
  limit: z.ZodDefault<z.ZodNumber>;
@@ -6637,8 +6637,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6637
6637
  status: z.ZodEnum<{
6638
6638
  cancelled: "cancelled";
6639
6639
  rejected: "rejected";
6640
- waiting: "waiting";
6641
6640
  resumed: "resumed";
6641
+ waiting: "waiting";
6642
6642
  "timed-out": "timed-out";
6643
6643
  }>;
6644
6644
  autoAction: z.ZodEnum<{
@@ -6717,10 +6717,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6717
6717
  frameId: z.ZodString;
6718
6718
  nodeId: z.ZodString;
6719
6719
  nodeType: z.ZodEnum<{
6720
- sequence: "sequence";
6721
6720
  station: "station";
6722
6721
  "delegate-agent": "delegate-agent";
6723
6722
  "delegate-role": "delegate-role";
6723
+ sequence: "sequence";
6724
6724
  parallel: "parallel";
6725
6725
  gate: "gate";
6726
6726
  iterate: "iterate";
@@ -6735,8 +6735,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6735
6735
  cancelled: "cancelled";
6736
6736
  failed: "failed";
6737
6737
  running: "running";
6738
- waiting: "waiting";
6739
6738
  skipped: "skipped";
6739
+ waiting: "waiting";
6740
6740
  }>;
6741
6741
  attempt: z.ZodDefault<z.ZodNumber>;
6742
6742
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -7309,10 +7309,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7309
7309
  frameId: z.ZodString;
7310
7310
  nodeId: z.ZodString;
7311
7311
  nodeType: z.ZodEnum<{
7312
- sequence: "sequence";
7313
7312
  station: "station";
7314
7313
  "delegate-agent": "delegate-agent";
7315
7314
  "delegate-role": "delegate-role";
7315
+ sequence: "sequence";
7316
7316
  parallel: "parallel";
7317
7317
  gate: "gate";
7318
7318
  iterate: "iterate";
@@ -8533,8 +8533,8 @@ declare const WorkLogFrameEntrySchema: z.ZodObject<{
8533
8533
  cancelled: "cancelled";
8534
8534
  failed: "failed";
8535
8535
  running: "running";
8536
- waiting: "waiting";
8537
8536
  skipped: "skipped";
8537
+ waiting: "waiting";
8538
8538
  }>;
8539
8539
  attempt: z.ZodNumber;
8540
8540
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -8587,8 +8587,8 @@ declare const WorkLogGateEventSchema: z.ZodObject<{
8587
8587
  status: z.ZodEnum<{
8588
8588
  cancelled: "cancelled";
8589
8589
  rejected: "rejected";
8590
- waiting: "waiting";
8591
8590
  resumed: "resumed";
8591
+ waiting: "waiting";
8592
8592
  "timed-out": "timed-out";
8593
8593
  }>;
8594
8594
  prompt: z.ZodOptional<z.ZodString>;
@@ -8676,8 +8676,8 @@ declare const SubagentStatusSchema: z.ZodEnum<{
8676
8676
  completed: "completed";
8677
8677
  cancelled: "cancelled";
8678
8678
  failed: "failed";
8679
- running: "running";
8680
8679
  spawning: "spawning";
8680
+ running: "running";
8681
8681
  waiting_input: "waiting_input";
8682
8682
  hung: "hung";
8683
8683
  }>;
@@ -8973,8 +8973,8 @@ declare const ListSubagentsBySessionResponseSchema: z.ZodObject<{
8973
8973
  completed: "completed";
8974
8974
  cancelled: "cancelled";
8975
8975
  failed: "failed";
8976
- running: "running";
8977
8976
  spawning: "spawning";
8977
+ running: "running";
8978
8978
  waiting_input: "waiting_input";
8979
8979
  hung: "hung";
8980
8980
  }>;
@@ -1,10 +1,10 @@
1
- import { F as ArtifactLifecycleHookRegistration$1, P as ArtifactLifecycleHookEvent, T as AnyArtifactKindDefinition } from "./index--diIlm1t.mjs";
1
+ import { F as ArtifactLifecycleHookRegistration$1, P as ArtifactLifecycleHookEvent, T as AnyArtifactKindDefinition } from "./index-BNT7Ys9c.mjs";
2
2
  import { A as VersionRange, O as VersionLiteral$1, r as ClientDefinition$1 } from "./definition-CuJvtYeG.mjs";
3
3
  import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-Cllhr9mi.mjs";
4
4
  import { t as RequiredTimeoutConfig } from "./index-CuHqL95P.mjs";
5
- import { b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1, j as SessionMessage$1 } from "./types-BXUm60GF.mjs";
6
- import { D as EntityUIConfig, I as FormFieldProps } from "./index-NkNbYFud.mjs";
7
- import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, y as WorkflowBlockCollection$1 } from "./transition-CCflZ6JS.mjs";
5
+ import { b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1, j as SessionMessage$1 } from "./types-QxCQtHQJ.mjs";
6
+ import { D as EntityUIConfig, I as FormFieldProps } from "./index-CaerrEDH.mjs";
7
+ import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, y as WorkflowBlockCollection$1 } from "./transition-DKMQs6eP.mjs";
8
8
  import { l as FacetNamespaceDefinition } from "./index-xyXYG5WO.mjs";
9
9
  import { t as SurfaceBindingDefinition } from "./definition-D_3U4OLJ.mjs";
10
10
  import { z } from "zod";
@@ -41,9 +41,9 @@ declare const StructuredOutputValidationErrorSchema: z.ZodObject<{
41
41
  * - `enforced` – A structured-output enforcement handler produced conformant output.
42
42
  */
43
43
  declare const StructuredOutputValidationStatusSchema: z.ZodEnum<{
44
- failed: "failed";
45
44
  passed: "passed";
46
45
  enforced: "enforced";
46
+ failed: "failed";
47
47
  }>;
48
48
  /**
49
49
  * Full validation result emitted after a turn completes when a
@@ -4,10 +4,13 @@ import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@ma
4
4
  import { ExtensionConfigProvider, IWorkerNodeProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, LoopGateHandler, NormalizedWorkerNodeCapabilities, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerContributionManifest, WorkerNodeCapabilities, WorkerNodeDispatch, WorkerNodeHandle, WorkerNodeProvisionRequest, WorkerNodeRequirements, WorkflowDefinition, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
5
5
  import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
6
6
  import { StorageEngine } from "@makaio/framework/storage/drizzle";
7
+ import { IAdapterConfigRepository } from "@makaio/framework/services/adapter-subsystem";
7
8
  import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
8
9
  import { PostInstallHandler, StrategyDependencies } from "@makaio/framework/clients";
9
10
  import { DatabaseClient } from "@makaio/framework/storage/drizzle/client";
11
+ import { PersistedMachineIdentity } from "@makaio/framework/node/machine-identity";
10
12
  import { Hono } from "hono";
13
+ import { ConfigProvider } from "@makaio/framework/providers";
11
14
  import { Server } from "node:http";
12
15
 
13
16
  //#region runtimes/node/src/hono-route-graph.d.ts
@@ -605,6 +608,37 @@ interface CoreBootOptions {
605
608
  * A `postgres://` / `postgresql://` URL selects the Postgres backend.
606
609
  */
607
610
  readonly database?: DatabaseBootOptions;
611
+ /**
612
+ * Host-provided runtime config provider.
613
+ *
614
+ * When omitted, boot uses the default Node runtime provider backed by
615
+ * `FileConfigStorage` under {@link CoreBootOptions.makaioHome}. Custom
616
+ * providers own effective config resolution, persisted config updates, env
617
+ * overlays, and the machine-id string returned by `getMachineId()`.
618
+ *
619
+ * The returned machine ID must match the resolved runtime machine identity:
620
+ * either {@link CoreBootOptions.machineIdentity} when supplied, or the
621
+ * default identity loaded from `{makaioHome}/keys` when omitted.
622
+ */
623
+ readonly configProvider?: ConfigProvider;
624
+ /**
625
+ * Host-provided adapter/provider config repository.
626
+ *
627
+ * When omitted, boot uses `FileAdapterConfigRepository` under
628
+ * `{makaioHome}/adapters` and `{makaioHome}/provider-configs`. Custom
629
+ * repositories must implement the full canonical adapter/provider config
630
+ * persistence contract.
631
+ */
632
+ readonly adapterConfigRepository?: IAdapterConfigRepository;
633
+ /**
634
+ * Host-provided persisted runtime machine identity.
635
+ *
636
+ * When omitted, boot loads or creates the default identity from
637
+ * `{makaioHome}/keys`. This is the crypto-bearing runtime identity used by
638
+ * `RuntimeSubjects.machineIdentity` and LAN E2E auth, not the narrower kernel
639
+ * `MachineIdentity` shape.
640
+ */
641
+ readonly machineIdentity?: PersistedMachineIdentity;
608
642
  /**
609
643
  * Host launcher command embedded into client wiring installed from warning actions.
610
644
  *
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-DCvp_swt.mjs";
2
- import { c as ExtensionInfo } from "./index-BwZpSUql.mjs";
2
+ import { c as ExtensionInfo } from "./index-Bw_CfRNZ.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-ofIUQnfo.mjs";
4
4
  import { IMakaioBus } from "@makaio/framework/bus";
5
5
  import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
@@ -67,8 +67,8 @@ declare const SkillNamespace: _$_makaio_core0.BusNamespaceDefinition<"skill", {
67
67
  database: "database";
68
68
  }>;
69
69
  scope: _$zod.ZodEnum<{
70
- global: "global";
71
70
  session: "session";
71
+ global: "global";
72
72
  project: "project";
73
73
  }>;
74
74
  location: _$zod.ZodOptional<_$zod.ZodString>;
@@ -206,8 +206,8 @@ declare const SkillSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
206
206
  database: "database";
207
207
  }>;
208
208
  scope: _$zod.ZodEnum<{
209
- global: "global";
210
209
  session: "session";
210
+ global: "global";
211
211
  project: "project";
212
212
  }>;
213
213
  location: _$zod.ZodOptional<_$zod.ZodString>;
@@ -287,8 +287,8 @@ declare const SkillSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
287
287
  //#region core/contracts/src/skill/schemas.d.ts
288
288
  /** Canonical skill scope ordering. Narrower scopes win during effective resolution. */
289
289
  declare const SkillScopeSchema: z.ZodEnum<{
290
- global: "global";
291
290
  session: "session";
291
+ global: "global";
292
292
  project: "project";
293
293
  }>;
294
294
  /** Source of a discovered skill. */
@@ -372,8 +372,8 @@ declare const SkillRecordSchema: z.ZodObject<{
372
372
  database: "database";
373
373
  }>;
374
374
  scope: z.ZodEnum<{
375
- global: "global";
376
375
  session: "session";
376
+ global: "global";
377
377
  project: "project";
378
378
  }>;
379
379
  projectId: z.ZodOptional<z.ZodString>;
@@ -401,8 +401,8 @@ declare const SkillCatalogEntrySchema: z.ZodObject<{
401
401
  database: "database";
402
402
  }>;
403
403
  scope: z.ZodEnum<{
404
- global: "global";
405
404
  session: "session";
405
+ global: "global";
406
406
  project: "project";
407
407
  }>;
408
408
  location: z.ZodOptional<z.ZodString>;
@@ -476,8 +476,8 @@ declare const SkillRecordInputSchema: z.ZodObject<{
476
476
  enabled: z.ZodDefault<z.ZodBoolean>;
477
477
  id: z.ZodString;
478
478
  scope: z.ZodEnum<{
479
- global: "global";
480
479
  session: "session";
480
+ global: "global";
481
481
  project: "project";
482
482
  }>;
483
483
  projectId: z.ZodOptional<z.ZodString>;
@@ -556,8 +556,8 @@ declare const SkillSchemas: {
556
556
  database: "database";
557
557
  }>;
558
558
  scope: z.ZodEnum<{
559
- global: "global";
560
559
  session: "session";
560
+ global: "global";
561
561
  project: "project";
562
562
  }>;
563
563
  location: z.ZodOptional<z.ZodString>;
@@ -719,8 +719,8 @@ declare const SkillStorageNamespace: ContractStorageNamespaceDefinition<"skill",
719
719
  database: "database";
720
720
  }>;
721
721
  scope: z.ZodEnum<{
722
- global: "global";
723
722
  session: "session";
723
+ global: "global";
724
724
  project: "project";
725
725
  }>;
726
726
  projectId: z.ZodOptional<z.ZodString>;
@@ -755,8 +755,8 @@ declare const SkillStorageNamespace: ContractStorageNamespaceDefinition<"skill",
755
755
  enabled: z.ZodDefault<z.ZodBoolean>;
756
756
  id: z.ZodString;
757
757
  scope: z.ZodEnum<{
758
- global: "global";
759
758
  session: "session";
759
+ global: "global";
760
760
  project: "project";
761
761
  }>;
762
762
  projectId: z.ZodOptional<z.ZodString>;
@@ -811,8 +811,8 @@ declare const SkillStorageNamespace: ContractStorageNamespaceDefinition<"skill",
811
811
  database: "database";
812
812
  }>;
813
813
  scope: z.ZodEnum<{
814
- global: "global";
815
814
  session: "session";
815
+ global: "global";
816
816
  project: "project";
817
817
  }>;
818
818
  projectId: z.ZodOptional<z.ZodString>;
@@ -859,8 +859,8 @@ declare const SkillStorageNamespace: ContractStorageNamespaceDefinition<"skill",
859
859
  database: "database";
860
860
  }>;
861
861
  scope: z.ZodEnum<{
862
- global: "global";
863
862
  session: "session";
863
+ global: "global";
864
864
  project: "project";
865
865
  }>;
866
866
  projectId: z.ZodOptional<z.ZodString>;
@@ -905,8 +905,8 @@ declare const SkillStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
905
905
  database: "database";
906
906
  }>;
907
907
  scope: z.ZodEnum<{
908
- global: "global";
909
908
  session: "session";
909
+ global: "global";
910
910
  project: "project";
911
911
  }>;
912
912
  projectId: z.ZodOptional<z.ZodString>;
@@ -941,8 +941,8 @@ declare const SkillStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
941
941
  enabled: z.ZodDefault<z.ZodBoolean>;
942
942
  id: z.ZodString;
943
943
  scope: z.ZodEnum<{
944
- global: "global";
945
944
  session: "session";
945
+ global: "global";
946
946
  project: "project";
947
947
  }>;
948
948
  projectId: z.ZodOptional<z.ZodString>;
@@ -997,8 +997,8 @@ declare const SkillStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
997
997
  database: "database";
998
998
  }>;
999
999
  scope: z.ZodEnum<{
1000
- global: "global";
1001
1000
  session: "session";
1001
+ global: "global";
1002
1002
  project: "project";
1003
1003
  }>;
1004
1004
  projectId: z.ZodOptional<z.ZodString>;
@@ -1045,8 +1045,8 @@ declare const SkillStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
1045
1045
  database: "database";
1046
1046
  }>;
1047
1047
  scope: z.ZodEnum<{
1048
- global: "global";
1049
1048
  session: "session";
1049
+ global: "global";
1050
1050
  project: "project";
1051
1051
  }>;
1052
1052
  projectId: z.ZodOptional<z.ZodString>;