@makaio/framework 1.0.0-dev-1782135086866 → 1.0.0-dev-1782480236258

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 (95) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{account-identity-D5TUafYg.mjs → account-identity-C7Kx_ieU.mjs} +1 -1
  3. package/dist/{adapter-Deu9viD2.mjs → adapter-DaQqmKOJ.mjs} +1 -1
  4. package/dist/adapter-subsystem/index.mjs +1 -1
  5. package/dist/artifact-CGjnoyCC.mjs +1 -0
  6. package/dist/bus/index.mjs +1 -1
  7. package/dist/{canonical-model-BM5WAnQW.mjs → canonical-model-DV-Z8gsb.mjs} +1 -1
  8. package/dist/{client-BO-0jTSV.mjs → client-BcfR-LJC.mjs} +1 -1
  9. package/dist/{compression-CXEHx0rS.mjs → compression-C5JAWdgZ.mjs} +1 -1
  10. package/dist/contracts/adapter/index.d.mts +2 -2
  11. package/dist/contracts/adapter/index.mjs +1 -1
  12. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  13. package/dist/contracts/artifact/index.d.mts +2 -2
  14. package/dist/contracts/artifact/index.mjs +1 -1
  15. package/dist/contracts/canonical-model/index.mjs +1 -1
  16. package/dist/contracts/client/index.d.mts +1 -1
  17. package/dist/contracts/client/index.mjs +1 -1
  18. package/dist/contracts/config/index.mjs +1 -1
  19. package/dist/contracts/extension/index.d.mts +2 -2
  20. package/dist/contracts/extension/index.mjs +1 -1
  21. package/dist/contracts/harness/index.d.mts +1 -1
  22. package/dist/contracts/index.d.mts +38 -38
  23. package/dist/contracts/index.mjs +1 -1
  24. package/dist/contracts/materialization/index.d.mts +1 -1
  25. package/dist/contracts/materialization/index.mjs +1 -1
  26. package/dist/contracts/provider/index.mjs +1 -1
  27. package/dist/contracts/session/index.d.mts +2 -2
  28. package/dist/contracts/session/index.mjs +1 -1
  29. package/dist/contracts/shared/index.mjs +1 -1
  30. package/dist/contracts/workflow/index.d.mts +2 -2
  31. package/dist/contracts/workflow/index.mjs +1 -1
  32. package/dist/{definition-BJ_975aA.mjs → definition-C-GVz7uw.mjs} +1 -1
  33. package/dist/{extension-CfL70C5n.mjs → extension-BS_4BOeO.mjs} +1 -1
  34. package/dist/{extension-DZqYHmhK.mjs → extension-CJClssfp.mjs} +1 -1
  35. package/dist/{index-CcAggMuC.d.mts → index-0WhPbKnH.d.mts} +792 -16
  36. package/dist/{index-2fK9iSHI.d.mts → index-B1XsbrAr.d.mts} +3 -3
  37. package/dist/{index-BvjLe_w9.d.mts → index-B5w-0Gg9.d.mts} +12 -12
  38. package/dist/{index-CUSOL0X_.d.mts → index-BKZhnb2B.d.mts} +3 -3
  39. package/dist/{index-D2WJ0Zpt.d.mts → index-BhOLtp0B.d.mts} +21 -21
  40. package/dist/{index-bRLjj6L4.d.mts → index-C6SLILCZ.d.mts} +99 -99
  41. package/dist/{index-5v0jVUGD.d.mts → index-Clqt7Nm3.d.mts} +2 -2
  42. package/dist/{index-pUYIAV_M.d.mts → index-Cvjnj7Zh.d.mts} +6 -6
  43. package/dist/{index-BAQ6QBcU.d.mts → index-Cyi7y_aG.d.mts} +4 -4
  44. package/dist/{index-DvLCzle5.d.mts → index-D4gn93gL.d.mts} +16 -16
  45. package/dist/{index-BvFjmhZj.d.mts → index-D8ScOpus.d.mts} +19 -19
  46. package/dist/{index-DIKiA3Sr.d.mts → index-DsLpP5ek.d.mts} +9 -9
  47. package/dist/{index-CqCe7Phc.d.mts → index-mU2lnU7O.d.mts} +6 -6
  48. package/dist/kernel/extension/index.d.mts +1 -1
  49. package/dist/kernel/extension/index.mjs +1 -1
  50. package/dist/kernel/index.d.mts +2 -2
  51. package/dist/kernel/index.mjs +1 -1
  52. package/dist/kernel/observability/index.d.mts +1 -1
  53. package/dist/{materialization-DBXjSiBn.mjs → materialization-CUYxZCfk.mjs} +1 -1
  54. package/dist/{namespace-Bv8B89uB.d.mts → namespace-BeMGmLrp.d.mts} +9 -9
  55. package/dist/{namespace-BMglTf9p.d.mts → namespace-Bmi5bjm4.d.mts} +42 -42
  56. package/dist/{namespace-B95uYmZB.d.mts → namespace-CGxFYDlK.d.mts} +6 -6
  57. package/dist/package.json +1 -1
  58. package/dist/{provider-context-DjSUpHSM.mjs → provider-context-CqMgPOWF.mjs} +1 -1
  59. package/dist/runtime-node/index.mjs +1 -1
  60. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  61. package/dist/{schema-GFRQiPk0.d.mts → schema-Bf_ZNjif.d.mts} +2 -2
  62. package/dist/{schemas-TQPiRl642.d.mts → schemas-C6TVJ80V2.d.mts} +2 -2
  63. package/dist/{schemas-CE1gbhxu.mjs → schemas-CuG17U3L.mjs} +1 -1
  64. package/dist/{schemas-bfhY9W6A.mjs → schemas-uID59wR8.mjs} +1 -1
  65. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  66. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  67. package/dist/services/context-rules/index.d.mts +3 -3
  68. package/dist/services/execution-target/index.d.mts +1 -1
  69. package/dist/services/filesystem/namespace.d.mts +6 -6
  70. package/dist/services/filesystem/schemas.d.mts +3 -3
  71. package/dist/services/git/namespace.d.mts +2 -2
  72. package/dist/services/git/schemas.d.mts +1 -1
  73. package/dist/services/harness/index.d.mts +3 -3
  74. package/dist/services/index.d.mts +62 -19
  75. package/dist/services/index.mjs +1 -1
  76. package/dist/services/session/index.d.mts +4 -4
  77. package/dist/services/session/session-events/namespace.d.mts +1 -1
  78. package/dist/services/session/storage/namespace.d.mts +1 -1
  79. package/dist/services/session/storage/schema.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +5 -5
  81. package/dist/services/subagent-template/index.d.mts +1 -1
  82. package/dist/services/subagent-template/schemas.d.mts +1 -1
  83. package/dist/{session-CpVSzgkZ.mjs → session-DH-ja8Ka.mjs} +1 -1
  84. package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-5-wRBzuC.d.mts} +1 -1
  85. package/dist/{shared-DpOEfD8F.mjs → shared-BVW-3Dhy.mjs} +1 -1
  86. package/dist/{transition-Cufc_u3_.d.mts → transition-CBjccCMw.d.mts} +1 -1
  87. package/dist/{types-CNIsRx86.d.mts → types-8rhArs_K.d.mts} +36 -36
  88. package/dist/{workflow-BCKOJ4UC.mjs → workflow-BqH6ar-D.mjs} +1 -1
  89. package/dist/workflow-engine/index.d.mts +23 -23
  90. package/dist/workflow-worker-dH70EbjE.mjs +1 -0
  91. package/package.json +2 -2
  92. package/dist/artifact-B3npq1cy.mjs +0 -1
  93. package/dist/workflow-worker-BIpYi6o7.mjs +0 -1
  94. /package/dist/{json-value-CmhSGMLv.mjs → json-value-DmU8ibo_.mjs} +0 -0
  95. /package/dist/{schemas-CR1Rripy.mjs → schemas-DlrQ0227.mjs} +0 -0
@@ -1905,7 +1905,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
1905
1905
  tableName: "sessions";
1906
1906
  dataType: "string";
1907
1907
  columnType: "SQLiteText";
1908
- data: "closed" | "active" | "archived" | "discovered";
1908
+ data: "closed" | "discovered" | "active" | "archived";
1909
1909
  driverParam: string;
1910
1910
  notNull: true;
1911
1911
  hasDefault: false;
@@ -2019,7 +2019,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
2019
2019
  tableName: "sessions";
2020
2020
  dataType: "string";
2021
2021
  columnType: "SQLiteText";
2022
- data: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
2022
+ data: "branch" | "fork" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
2023
2023
  driverParam: string;
2024
2024
  notNull: false;
2025
2025
  hasDefault: false;
@@ -1,10 +1,10 @@
1
- import { F as ArtifactLifecycleHookRegistration$1, P as ArtifactLifecycleHookEvent, T as AnyArtifactKindDefinition } from "./index-CcAggMuC.mjs";
1
+ import { J as ArtifactLifecycleHookEvent, Y as ArtifactLifecycleHookRegistration$1, z as AnyArtifactKindDefinition } from "./index-0WhPbKnH.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-CNIsRx86.mjs";
5
+ import { b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1, j as SessionMessage$1 } from "./types-8rhArs_K.mjs";
6
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-Cufc_u3_.mjs";
7
+ import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, y as WorkflowBlockCollection$1 } from "./transition-CBjccCMw.mjs";
8
8
  import { l as FacetNamespaceDefinition } from "./index-BMbmoarE.mjs";
9
9
  import { t as SurfaceBindingDefinition } from "./definition-DePb3ke-.mjs";
10
10
  import { z } from "zod";
@@ -1615,8 +1615,8 @@ declare const ExtensionWarningActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject
1615
1615
  * - `'degraded'` — the extension is operating in a degraded fallback mode.
1616
1616
  */
1617
1617
  declare const ExtensionWarningSeveritySchema: z.ZodEnum<{
1618
- info: "info";
1619
1618
  degraded: "degraded";
1619
+ info: "info";
1620
1620
  recommended: "recommended";
1621
1621
  }>;
1622
1622
  /**
@@ -1627,8 +1627,8 @@ declare const ExtensionWarningSeveritySchema: z.ZodEnum<{
1627
1627
  */
1628
1628
  declare const ExtensionWarningSchema: z.ZodObject<{
1629
1629
  severity: z.ZodEnum<{
1630
- info: "info";
1631
1630
  degraded: "degraded";
1631
+ info: "info";
1632
1632
  recommended: "recommended";
1633
1633
  }>;
1634
1634
  title: z.ZodString;
@@ -1674,8 +1674,8 @@ declare const ExtensionWarningEntrySchema: z.ZodObject<{
1674
1674
  extensionName: z.ZodString;
1675
1675
  warnings: z.ZodArray<z.ZodObject<{
1676
1676
  severity: z.ZodEnum<{
1677
- info: "info";
1678
1677
  degraded: "degraded";
1678
+ info: "info";
1679
1679
  recommended: "recommended";
1680
1680
  }>;
1681
1681
  title: z.ZodString;
@@ -52,13 +52,13 @@ declare const AdapterFileConfigSchema: z.ZodObject<{
52
52
  displayName: z.ZodOptional<z.ZodString>;
53
53
  protocol: z.ZodOptional<z.ZodString>;
54
54
  clientId: z.ZodOptional<z.ZodString>;
55
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
55
56
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
57
  label: z.ZodString;
57
58
  url: z.ZodString;
58
59
  }, z.core.$strict>>>;
59
60
  instructions: z.ZodOptional<z.ZodString>;
60
61
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
62
62
  name: z.ZodString;
63
63
  enabled: z.ZodBoolean;
64
64
  bindings: z.ZodArray<z.ZodObject<{
@@ -128,13 +128,13 @@ declare const AdapterSubsystemSchemas: {
128
128
  displayName: z.ZodOptional<z.ZodString>;
129
129
  protocol: z.ZodOptional<z.ZodString>;
130
130
  clientId: z.ZodOptional<z.ZodString>;
131
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
131
132
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
133
  label: z.ZodString;
133
134
  url: z.ZodString;
134
135
  }, z.core.$strict>>>;
135
136
  instructions: z.ZodOptional<z.ZodString>;
136
137
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
138
138
  name: z.ZodString;
139
139
  enabled: z.ZodBoolean;
140
140
  bindings: z.ZodArray<z.ZodObject<{
@@ -156,13 +156,13 @@ declare const AdapterSubsystemSchemas: {
156
156
  displayName: z.ZodOptional<z.ZodString>;
157
157
  protocol: z.ZodOptional<z.ZodString>;
158
158
  clientId: z.ZodOptional<z.ZodString>;
159
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
159
160
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
160
161
  label: z.ZodString;
161
162
  url: z.ZodString;
162
163
  }, z.core.$strict>>>;
163
164
  instructions: z.ZodOptional<z.ZodString>;
164
165
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
166
166
  name: z.ZodString;
167
167
  enabled: z.ZodBoolean;
168
168
  bindings: z.ZodArray<z.ZodObject<{
@@ -697,13 +697,13 @@ declare const AdapterSubsystemSchemas: {
697
697
  displayName: z.ZodOptional<z.ZodString>;
698
698
  protocol: z.ZodOptional<z.ZodString>;
699
699
  clientId: z.ZodOptional<z.ZodString>;
700
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
700
701
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
701
702
  label: z.ZodString;
702
703
  url: z.ZodString;
703
704
  }, z.core.$strict>>>;
704
705
  instructions: z.ZodOptional<z.ZodString>;
705
706
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
706
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
707
707
  name: z.ZodString;
708
708
  enabled: z.ZodBoolean;
709
709
  bindings: z.ZodArray<z.ZodObject<{
@@ -19,9 +19,9 @@ import { ExtensionWarningEntry, ExtensionWarningEntrySchema } from "@makaio/fram
19
19
  */
20
20
  declare const ComponentStateSchema: z.ZodEnum<{
21
21
  failed: "failed";
22
- active: "active";
23
22
  stopped: "stopped";
24
23
  discovered: "discovered";
24
+ active: "active";
25
25
  skipped: "skipped";
26
26
  initializing: "initializing";
27
27
  }>;
@@ -48,9 +48,9 @@ declare const ComponentInfoSchema: z.ZodObject<{
48
48
  displayName: z.ZodString;
49
49
  state: z.ZodEnum<{
50
50
  failed: "failed";
51
- active: "active";
52
51
  stopped: "stopped";
53
52
  discovered: "discovered";
53
+ active: "active";
54
54
  skipped: "skipped";
55
55
  initializing: "initializing";
56
56
  }>;
@@ -69,9 +69,9 @@ declare const ServiceInfoSchema: z.ZodObject<{
69
69
  displayName: z.ZodString;
70
70
  state: z.ZodEnum<{
71
71
  failed: "failed";
72
- active: "active";
73
72
  stopped: "stopped";
74
73
  discovered: "discovered";
74
+ active: "active";
75
75
  skipped: "skipped";
76
76
  initializing: "initializing";
77
77
  }>;
@@ -91,9 +91,9 @@ declare const ExtensionInfoSchema: z.ZodObject<{
91
91
  displayName: z.ZodString;
92
92
  state: z.ZodEnum<{
93
93
  failed: "failed";
94
- active: "active";
95
94
  stopped: "stopped";
96
95
  discovered: "discovered";
96
+ active: "active";
97
97
  skipped: "skipped";
98
98
  initializing: "initializing";
99
99
  }>;
@@ -139,17 +139,17 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
139
139
  displayName: z.ZodString;
140
140
  from: z.ZodEnum<{
141
141
  failed: "failed";
142
- active: "active";
143
142
  stopped: "stopped";
144
143
  discovered: "discovered";
144
+ active: "active";
145
145
  skipped: "skipped";
146
146
  initializing: "initializing";
147
147
  }>;
148
148
  to: z.ZodEnum<{
149
149
  failed: "failed";
150
- active: "active";
151
150
  stopped: "stopped";
152
151
  discovered: "discovered";
152
+ active: "active";
153
153
  skipped: "skipped";
154
154
  initializing: "initializing";
155
155
  }>;
@@ -182,9 +182,9 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
182
182
  displayName: z.ZodString;
183
183
  state: z.ZodEnum<{
184
184
  failed: "failed";
185
- active: "active";
186
185
  stopped: "stopped";
187
186
  discovered: "discovered";
187
+ active: "active";
188
188
  skipped: "skipped";
189
189
  initializing: "initializing";
190
190
  }>;
@@ -220,9 +220,9 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
220
220
  displayName: z.ZodString;
221
221
  state: z.ZodEnum<{
222
222
  failed: "failed";
223
- active: "active";
224
223
  stopped: "stopped";
225
224
  discovered: "discovered";
225
+ active: "active";
226
226
  skipped: "skipped";
227
227
  initializing: "initializing";
228
228
  }>;
@@ -488,8 +488,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
488
488
  extensionName: z.ZodString;
489
489
  warnings: z.ZodArray<z.ZodObject<{
490
490
  severity: z.ZodEnum<{
491
- info: "info";
492
491
  degraded: "degraded";
492
+ info: "info";
493
493
  recommended: "recommended";
494
494
  }>;
495
495
  title: z.ZodString;
@@ -528,8 +528,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
528
528
  extensionName: z.ZodString;
529
529
  warnings: z.ZodArray<z.ZodObject<{
530
530
  severity: z.ZodEnum<{
531
- info: "info";
532
531
  degraded: "degraded";
532
+ info: "info";
533
533
  recommended: "recommended";
534
534
  }>;
535
535
  title: z.ZodString;
@@ -594,17 +594,17 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
594
594
  displayName: z.ZodString;
595
595
  from: z.ZodEnum<{
596
596
  failed: "failed";
597
- active: "active";
598
597
  stopped: "stopped";
599
598
  discovered: "discovered";
599
+ active: "active";
600
600
  skipped: "skipped";
601
601
  initializing: "initializing";
602
602
  }>;
603
603
  to: z.ZodEnum<{
604
604
  failed: "failed";
605
- active: "active";
606
605
  stopped: "stopped";
607
606
  discovered: "discovered";
607
+ active: "active";
608
608
  skipped: "skipped";
609
609
  initializing: "initializing";
610
610
  }>;
@@ -637,9 +637,9 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
637
637
  displayName: z.ZodString;
638
638
  state: z.ZodEnum<{
639
639
  failed: "failed";
640
- active: "active";
641
640
  stopped: "stopped";
642
641
  discovered: "discovered";
642
+ active: "active";
643
643
  skipped: "skipped";
644
644
  initializing: "initializing";
645
645
  }>;
@@ -675,9 +675,9 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
675
675
  displayName: z.ZodString;
676
676
  state: z.ZodEnum<{
677
677
  failed: "failed";
678
- active: "active";
679
678
  stopped: "stopped";
680
679
  discovered: "discovered";
680
+ active: "active";
681
681
  skipped: "skipped";
682
682
  initializing: "initializing";
683
683
  }>;
@@ -943,8 +943,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
943
943
  extensionName: z.ZodString;
944
944
  warnings: z.ZodArray<z.ZodObject<{
945
945
  severity: z.ZodEnum<{
946
- info: "info";
947
946
  degraded: "degraded";
947
+ info: "info";
948
948
  recommended: "recommended";
949
949
  }>;
950
950
  title: z.ZodString;
@@ -983,8 +983,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
983
983
  extensionName: z.ZodString;
984
984
  warnings: z.ZodArray<z.ZodObject<{
985
985
  severity: z.ZodEnum<{
986
- info: "info";
987
986
  degraded: "degraded";
987
+ info: "info";
988
988
  recommended: "recommended";
989
989
  }>;
990
990
  title: z.ZodString;
@@ -1,4 +1,4 @@
1
- import { mt as ArtifactRevision$1 } from "./index-CcAggMuC.mjs";
1
+ import { It as ArtifactRevision$1 } from "./index-0WhPbKnH.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";
@@ -920,8 +920,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
920
920
  cancelled: "cancelled";
921
921
  failed: "failed";
922
922
  running: "running";
923
- skipped: "skipped";
924
923
  waiting: "waiting";
924
+ skipped: "skipped";
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
- resumed: "resumed";
940
939
  waiting: "waiting";
940
+ resumed: "resumed";
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
- resumed: "resumed";
961
960
  waiting: "waiting";
961
+ resumed: "resumed";
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
- resumed: "resumed";
1173
1172
  waiting: "waiting";
1173
+ resumed: "resumed";
1174
1174
  "timed-out": "timed-out";
1175
1175
  }>>;
1176
1176
  limit: z.ZodDefault<z.ZodNumber>;
@@ -2493,8 +2493,8 @@ declare const WorkflowSchemas: {
2493
2493
  request: z.ZodObject<{
2494
2494
  executionId: z.ZodString;
2495
2495
  mode: z.ZodEnum<{
2496
- current: "current";
2497
2496
  snapshot: "snapshot";
2497
+ current: "current";
2498
2498
  }>;
2499
2499
  input: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
2500
2500
  config: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
@@ -2785,8 +2785,8 @@ declare const WorkflowSchemas: {
2785
2785
  status: z.ZodOptional<z.ZodEnum<{
2786
2786
  cancelled: "cancelled";
2787
2787
  rejected: "rejected";
2788
- resumed: "resumed";
2789
2788
  waiting: "waiting";
2789
+ resumed: "resumed";
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
- resumed: "resumed";
2805
2804
  waiting: "waiting";
2805
+ resumed: "resumed";
2806
2806
  "timed-out": "timed-out";
2807
2807
  }>;
2808
2808
  autoAction: z.ZodEnum<{
@@ -2899,8 +2899,8 @@ declare const WorkflowSchemas: {
2899
2899
  cancelled: "cancelled";
2900
2900
  failed: "failed";
2901
2901
  running: "running";
2902
- skipped: "skipped";
2903
2902
  waiting: "waiting";
2903
+ skipped: "skipped";
2904
2904
  }>;
2905
2905
  attempt: z.ZodDefault<z.ZodNumber>;
2906
2906
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -4411,8 +4411,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
4411
4411
  request: z.ZodObject<{
4412
4412
  executionId: z.ZodString;
4413
4413
  mode: z.ZodEnum<{
4414
- current: "current";
4415
4414
  snapshot: "snapshot";
4415
+ current: "current";
4416
4416
  }>;
4417
4417
  input: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
4418
4418
  config: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
@@ -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
- resumed: "resumed";
4707
4706
  waiting: "waiting";
4707
+ resumed: "resumed";
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
- resumed: "resumed";
4723
4722
  waiting: "waiting";
4723
+ resumed: "resumed";
4724
4724
  "timed-out": "timed-out";
4725
4725
  }>;
4726
4726
  autoAction: z.ZodEnum<{
@@ -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
- skipped: "skipped";
4821
4820
  waiting: "waiting";
4821
+ skipped: "skipped";
4822
4822
  }>;
4823
4823
  attempt: z.ZodDefault<z.ZodNumber>;
4824
4824
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -6329,8 +6329,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6329
6329
  request: z.ZodObject<{
6330
6330
  executionId: z.ZodString;
6331
6331
  mode: z.ZodEnum<{
6332
- current: "current";
6333
6332
  snapshot: "snapshot";
6333
+ current: "current";
6334
6334
  }>;
6335
6335
  input: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
6336
6336
  config: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
@@ -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
- resumed: "resumed";
6625
6624
  waiting: "waiting";
6625
+ resumed: "resumed";
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
- resumed: "resumed";
6641
6640
  waiting: "waiting";
6641
+ resumed: "resumed";
6642
6642
  "timed-out": "timed-out";
6643
6643
  }>;
6644
6644
  autoAction: z.ZodEnum<{
@@ -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
- skipped: "skipped";
6739
6738
  waiting: "waiting";
6739
+ skipped: "skipped";
6740
6740
  }>;
6741
6741
  attempt: z.ZodDefault<z.ZodNumber>;
6742
6742
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -8533,8 +8533,8 @@ declare const WorkLogFrameEntrySchema: z.ZodObject<{
8533
8533
  cancelled: "cancelled";
8534
8534
  failed: "failed";
8535
8535
  running: "running";
8536
- skipped: "skipped";
8537
8536
  waiting: "waiting";
8537
+ skipped: "skipped";
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
- resumed: "resumed";
8591
8590
  waiting: "waiting";
8591
+ resumed: "resumed";
8592
8592
  "timed-out": "timed-out";
8593
8593
  }>;
8594
8594
  prompt: z.ZodOptional<z.ZodString>;
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-DCvp_swt.mjs";
2
- import { c as ExtensionInfo } from "./index-DvLCzle5.mjs";
2
+ import { c as ExtensionInfo } from "./index-D4gn93gL.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";
@@ -313,15 +313,15 @@ declare class ExtensionCoordinator {
313
313
  */
314
314
  getExtension(name: string): KernelMakaioExtension | undefined;
315
315
  /**
316
- * Collect all provider definition IDs declared by loaded extensions.
316
+ * Collect provider definition IDs from extensions that can still provide them.
317
317
  *
318
- * Iterates every loaded extension regardless of lifecycle state and extracts
319
- * provider definition IDs from their {@link KernelMakaioExtension.providers}
320
- * arrays. The returned set represents the universe of provider definitions
321
- * that may eventually become active. Consumers use this to distinguish
322
- * providers whose extension is loaded but not yet active (present in the
323
- * set) from providers whose extension is not installed at all (absent).
324
- * @returns Set of provider definition IDs from all loaded extensions.
318
+ * Active entries are already visible through the contribution catalog.
319
+ * Enabled `discovered` and `initializing` entries are still eligible to
320
+ * activate later in the same boot or enablement pass, so adapters should
321
+ * defer for their providers. Disabled and terminal inactive entries are
322
+ * excluded so optional-provider adapters do not wait on providers that
323
+ * cannot become catalog-visible.
324
+ * @returns Set of provider definition IDs from active or activation-eligible extensions.
325
325
  */
326
326
  getLoadedProviderDefinitionIds(): ReadonlySet<string>;
327
327
  /**
@@ -44,9 +44,9 @@ type ContainerRuntime = z.infer<typeof ContainerRuntimeSchema>;
44
44
  * Container state.
45
45
  */
46
46
  declare const ContainerStateSchema: z.ZodEnum<{
47
- created: "created";
48
47
  running: "running";
49
48
  stopped: "stopped";
49
+ created: "created";
50
50
  destroyed: "destroyed";
51
51
  }>;
52
52
  type ContainerState = z.infer<typeof ContainerStateSchema>;
@@ -225,9 +225,9 @@ type StatusRequest = z.infer<typeof StatusRequestSchema>;
225
225
  */
226
226
  declare const StatusResponseSchema: z.ZodObject<{
227
227
  state: z.ZodEnum<{
228
- created: "created";
229
228
  running: "running";
230
229
  stopped: "stopped";
230
+ created: "created";
231
231
  destroyed: "destroyed";
232
232
  }>;
233
233
  sessionId: z.ZodString;
@@ -360,9 +360,9 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
360
360
  }, _$zod_v4_core0.$strip>;
361
361
  response: _$zod.ZodObject<{
362
362
  state: _$zod.ZodEnum<{
363
- created: "created";
364
363
  running: "running";
365
364
  stopped: "stopped";
365
+ created: "created";
366
366
  destroyed: "destroyed";
367
367
  }>;
368
368
  sessionId: _$zod.ZodString;
@@ -478,9 +478,9 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
478
478
  }, _$zod_v4_core0.$strip>;
479
479
  response: _$zod.ZodObject<{
480
480
  state: _$zod.ZodEnum<{
481
- created: "created";
482
481
  running: "running";
483
482
  stopped: "stopped";
483
+ created: "created";
484
484
  destroyed: "destroyed";
485
485
  }>;
486
486
  sessionId: _$zod.ZodString;
@@ -598,9 +598,9 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
598
598
  }, _$zod_v4_core0.$strip>;
599
599
  response: _$zod.ZodObject<{
600
600
  state: _$zod.ZodEnum<{
601
- created: "created";
602
601
  running: "running";
603
602
  stopped: "stopped";
603
+ created: "created";
604
604
  destroyed: "destroyed";
605
605
  }>;
606
606
  sessionId: _$zod.ZodString;
@@ -716,9 +716,9 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
716
716
  }, _$zod_v4_core0.$strip>;
717
717
  response: _$zod.ZodObject<{
718
718
  state: _$zod.ZodEnum<{
719
- created: "created";
720
719
  running: "running";
721
720
  stopped: "stopped";
721
+ created: "created";
722
722
  destroyed: "destroyed";
723
723
  }>;
724
724
  sessionId: _$zod.ZodString;
@@ -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-DIKiA3Sr.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-DsLpP5ek.mjs";
2
2
  export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../../extension-DZqYHmhK.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
1
+ import{n as e,r as t,t as n}from"../../extension-CJClssfp.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as 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-DvLCzle5.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-DIKiA3Sr.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-D4gn93gL.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-DsLpP5ek.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-ofIUQnfo.mjs";
4
4
  import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-Y8rMeYYX.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-CpKikwK4.mjs";
@@ -1 +1 @@
1
- import{a as e,i as t,n,r,t as i}from"../namespace-BdO4e1Fm.mjs";import{n as a,t as o}from"../window-registry-PkrFIwX2.mjs";import"./window/index.mjs";import{n as s,r as c,t as l}from"../providers-Bd7BOZs0.mjs";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../extension-DZqYHmhK.mjs";import{a as g,c as _,n as v,o as y,t as b}from"../extension-namespace-v3K0qVry.mjs";import"./observability/index.mjs";function x(e){let t=null;return()=>t||(t=(async()=>{for(let t of e)try{await t()}catch(e){console.warn(`[shutdown]`,e)}})(),t)}export{u as BootNamespace,p as BootSubjects,g as ComponentStateSchema,l as EphemeralIdentityProvider,h as ExtensionCoordinator,y as ExtensionInfoSchema,b as ExtensionNamespace,v as ExtensionSubjects,i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,c as MemoryStorageProvider,s as NoTransportProvider,o as STYLE_DEFAULTS,_ as ServiceInfoSchema,d as ServiceSkipError,a as WindowRegistry,f as coalesceExtensionOverrides,x as createShutdownSequence,m as filterEligibleExtensions,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
1
+ import{a as e,i as t,n,r,t as i}from"../namespace-BdO4e1Fm.mjs";import{n as a,t as o}from"../window-registry-PkrFIwX2.mjs";import"./window/index.mjs";import{n as s,r as c,t as l}from"../providers-Bd7BOZs0.mjs";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../extension-CJClssfp.mjs";import{a as g,c as _,n as v,o as y,t as b}from"../extension-namespace-v3K0qVry.mjs";import"./observability/index.mjs";function x(e){let t=null;return()=>t||(t=(async()=>{for(let t of e)try{await t()}catch(e){console.warn(`[shutdown]`,e)}})(),t)}export{u as BootNamespace,p as BootSubjects,g as ComponentStateSchema,l as EphemeralIdentityProvider,h as ExtensionCoordinator,y as ExtensionInfoSchema,b as ExtensionNamespace,v as ExtensionSubjects,i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,c as MemoryStorageProvider,s as NoTransportProvider,o as STYLE_DEFAULTS,_ as ServiceInfoSchema,d as ServiceSkipError,a as WindowRegistry,f as coalesceExtensionOverrides,x as createShutdownSequence,m as filterEligibleExtensions,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
@@ -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-DvLCzle5.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-D4gn93gL.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -1 +1 @@
1
- import{a as e}from"./schemas-CR1Rripy.mjs";import{z as t}from"zod";import{createBusNamespace as n}from"@makaio/framework/core";const r={"surfaceBinding.register":{request:e,response:t.object({registered:t.boolean()})},"surfaceBinding.list":{request:t.object({provider:t.string().min(1).optional(),namespace:t.string().min(1).optional()}),response:t.object({bindings:t.array(e)})},"surfaceBinding.changed":t.object({id:t.string().min(1),provider:t.string().min(1)}),"ref.changed":t.object({artifactId:t.string().min(1),provider:t.string().min(1),externalId:t.string().min(1),operation:t.enum([`upserted`,`deleted`])}),"capability.resolved":t.object({provider:t.string().min(1),surface:t.string().min(1),capabilities:t.record(t.string().min(1),t.boolean()),degraded:t.boolean()})},i=n(`materialization`,r),a=i.subjects;function o(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description}})}}export{a as i,i as n,r,o as t};
1
+ import{a as e}from"./schemas-DlrQ0227.mjs";import{z as t}from"zod";import{createBusNamespace as n}from"@makaio/framework/core";const r={"surfaceBinding.register":{request:e,response:t.object({registered:t.boolean()})},"surfaceBinding.list":{request:t.object({provider:t.string().min(1).optional(),namespace:t.string().min(1).optional()}),response:t.object({bindings:t.array(e)})},"surfaceBinding.changed":t.object({id:t.string().min(1),provider:t.string().min(1)}),"ref.changed":t.object({artifactId:t.string().min(1),provider:t.string().min(1),externalId:t.string().min(1),operation:t.enum([`upserted`,`deleted`])}),"capability.resolved":t.object({provider:t.string().min(1),surface:t.string().min(1),capabilities:t.record(t.string().min(1),t.boolean()),degraded:t.boolean()})},i=n(`materialization`,r),a=i.subjects;function o(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description}})}}export{a as i,i as n,r,o as t};