@makaio/framework 1.0.0-dev-1789178369476 → 1.0.0-dev-1789234461336

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 (107) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/artifact-CKz9YQPu.mjs +1 -0
  3. package/dist/authority-state-bootstrap-BkI-zYRx.mjs +1 -0
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/{bus-CyrTcF8F.mjs → bus-BZB7jNes.mjs} +2 -2
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +3 -3
  8. package/dist/contracts/artifact/index.mjs +1 -1
  9. package/dist/contracts/capabilities/index.d.mts +1 -1
  10. package/dist/contracts/client/index.d.mts +1 -1
  11. package/dist/contracts/extension/index.d.mts +2 -2
  12. package/dist/contracts/extension/index.mjs +1 -1
  13. package/dist/contracts/index.d.mts +75 -75
  14. package/dist/contracts/index.mjs +1 -1
  15. package/dist/contracts/materialization/index.d.mts +2 -2
  16. package/dist/contracts/materialization/index.mjs +1 -1
  17. package/dist/contracts/session/index.d.mts +2 -2
  18. package/dist/contracts/worker/index.d.mts +1 -1
  19. package/dist/contracts/worker/index.mjs +1 -1
  20. package/dist/contracts/workflow/index.d.mts +2 -2
  21. package/dist/contracts/workflow/index.mjs +1 -1
  22. package/dist/drizzle/0038_execution-attempt-repository.sql +73 -0
  23. package/dist/drizzle/meta/_journal.json +7 -0
  24. package/dist/{extension-D8uLQSDc.mjs → extension-CfrTp3rC.mjs} +1 -1
  25. package/dist/{framework-packages-CCIReKIe.mjs → framework-packages-Bg4edkkM.mjs} +1 -1
  26. package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
  27. package/dist/{index-B3fuld9X.d.mts → index-Bg3WVL8n.d.mts} +4 -4
  28. package/dist/{index-CdgRoaey.d.mts → index-BmCm9R8_.d.mts} +2 -2
  29. package/dist/{index-U--ajOHy.d.mts → index-BpQX136X.d.mts} +1 -1
  30. package/dist/{index-D0xS-mYt.d.mts → index-CA3Uzki8.d.mts} +10 -10
  31. package/dist/{index-BFS-2kcS.d.mts → index-C_kOkO3E.d.mts} +16 -0
  32. package/dist/{index-a_peDAyG.d.mts → index-ClKwF6LE.d.mts} +84 -3
  33. package/dist/{index-BqtdO-uk.d.mts → index-Cplq28EL.d.mts} +30 -14
  34. package/dist/{index-DtCVHx8-.d.mts → index-CzUUoexw.d.mts} +17 -9
  35. package/dist/{index-Du4wUv9q.d.mts → index-DMkzJCjS.d.mts} +7 -7
  36. package/dist/{index-DyVXhEBC2.d.mts → index-DXZImst_2.d.mts} +11 -8
  37. package/dist/{index-gu4mzfTr.d.mts → index-D_j_T3nS.d.mts} +1 -1
  38. package/dist/{index-GFf4oKBg2.d.mts → index-iVisrVdC2.d.mts} +37 -37
  39. package/dist/{index-HMb0RcTG2.d.mts → index-mTaFX2HH2.d.mts} +12 -12
  40. package/dist/{index-T-aAKybB.d.mts → index-xsaaa85T.d.mts} +8 -8
  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/kind-registration-Dzfo6kyb.mjs +1 -0
  45. package/dist/materialization-iFhpbs1s.mjs +1 -0
  46. package/dist/{namespace-DM5vykb7.d.mts → namespace-BsQPRiMd.d.mts} +2 -2
  47. package/dist/{namespace-C_tttgJ8.d.mts → namespace-DlOQmhgX.d.mts} +18 -18
  48. package/dist/{namespace-CPGTaFqO.d.mts → namespace-Phxf0Lep.d.mts} +2 -2
  49. package/dist/{namespace-LSHmxtMn.d.mts → namespace-uCaKZm89.d.mts} +4 -4
  50. package/dist/node/transports/index.d.mts +32 -11
  51. package/dist/node/transports/index.mjs +2 -2
  52. package/dist/{package-DdymauE9.d.mts → package-CDj3F-L3.d.mts} +1 -0
  53. package/dist/package-D2Erka-E.mjs +7 -0
  54. package/dist/package.json +1 -1
  55. package/dist/packages-vF9F4M41.mjs +1 -0
  56. package/dist/runtime-node/index.d.mts +1 -1
  57. package/dist/runtime-node/index.mjs +1 -1
  58. package/dist/runtime-node/workflow-execution-bus-access.d.mts +37 -20
  59. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  60. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  61. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  62. package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
  63. package/dist/{schemas-rlb0IQ-G.mjs → schemas-CHM0wMq4.mjs} +1 -1
  64. package/dist/{schemas-CPNdGMLf.d.mts → schemas-COiUhOce.d.mts} +8 -8
  65. package/dist/{schemas-CEJe8O6P.d.mts → schemas-CaBRbfhU.d.mts} +2 -2
  66. package/dist/{schemas-CKVm28Oy.d.mts → schemas-JjyFxrC0.d.mts} +4 -0
  67. package/dist/services/adapter-runtime/index.d.mts +3 -3
  68. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  69. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  70. package/dist/services/context-rules/index.d.mts +3 -3
  71. package/dist/services/execution-target/index.d.mts +2 -2
  72. package/dist/services/execution-target/namespace.d.mts +1 -1
  73. package/dist/services/execution-target/schemas.d.mts +1 -1
  74. package/dist/services/filesystem/namespace.d.mts +6 -6
  75. package/dist/services/filesystem/schemas.d.mts +3 -3
  76. package/dist/services/index.d.mts +22 -22
  77. package/dist/services/index.mjs +1 -1
  78. package/dist/services/materialization/index.mjs +1 -1
  79. package/dist/services/session/handlers/index.d.mts +1 -1
  80. package/dist/services/session/index.d.mts +4 -4
  81. package/dist/services/session/messages/namespace.d.mts +1 -1
  82. package/dist/services/session/session-events/namespace.d.mts +1 -1
  83. package/dist/services/settings/namespace.d.mts +8 -8
  84. package/dist/services/subagent-template/index.d.mts +1 -1
  85. package/dist/services/subagent-template/schemas.d.mts +1 -1
  86. package/dist/services/tools/index.mjs +1 -1
  87. package/dist/services/workflow-transitions/index.mjs +1 -1
  88. package/dist/{tools-Dj_ImUQ8.mjs → tools-C5Gy0IQG.mjs} +1 -1
  89. package/dist/{transition-B-YmSK-s.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
  90. package/dist/{types-7QB81mzR.d.mts → types-DhbllltK.d.mts} +15 -15
  91. package/dist/{view-builder-BUZoNyEQ.d.mts → view-builder-CHUTXJDl.d.mts} +14 -1
  92. package/dist/{worker-DWEma08Q.mjs → worker-4pqm147Q.mjs} +1 -1
  93. package/dist/{workflow-DA2yJJK-.mjs → workflow-C5cS1mgK.mjs} +1 -1
  94. package/dist/workflow-engine/index.d.mts +81 -4
  95. package/dist/workflow-engine/index.mjs +1 -1
  96. package/dist/workflow-engine/package.d.mts +1 -1
  97. package/dist/workflow-engine/package.mjs +1 -1
  98. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  99. package/dist/{workflow-transitions-t6jn_pR_.mjs → workflow-transitions-C0sg3kar.mjs} +1 -1
  100. package/dist/{workflow-worker-C3ZbuhyA.mjs → workflow-worker-l-wflI6V.mjs} +2 -2
  101. package/package.json +1 -1
  102. package/dist/artifact-DGxKwbHE.mjs +0 -1
  103. package/dist/authority-state-bootstrap-CV7HpB4v.mjs +0 -1
  104. package/dist/kind-registration-BcNuwXPC.mjs +0 -1
  105. package/dist/materialization-kP_vEXV3.mjs +0 -1
  106. package/dist/package-Bn4iwDm3.mjs +0 -7
  107. package/dist/packages-G3bMStlV.mjs +0 -1
@@ -1,4 +1,4 @@
1
- import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget, ot as ArtifactRef$1, p as ArtifactRelation, rt as ArtifactUniquenessRule, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-CKVm28Oy.mjs";
1
+ import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget, ot as ArtifactRef$1, p as ArtifactRelation, rt as ArtifactUniquenessRule, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-JjyFxrC0.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value-Ymw2f8i_.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -674,6 +674,7 @@ declare const ArtifactContextRefEntrySchema: z.ZodObject<{
674
674
  revision: z.ZodString;
675
675
  }, z.core.$strict>;
676
676
  relationType: z.ZodString;
677
+ sourceLocalId: z.ZodOptional<z.ZodString>;
677
678
  hint: z.ZodString;
678
679
  status: z.ZodEnum<{
679
680
  resolved: "resolved";
@@ -736,6 +737,7 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
736
737
  revision: z.ZodString;
737
738
  }, z.core.$strict>;
738
739
  relationType: z.ZodString;
740
+ sourceLocalId: z.ZodOptional<z.ZodString>;
739
741
  hint: z.ZodString;
740
742
  status: z.ZodEnum<{
741
743
  resolved: "resolved";
@@ -761,6 +763,7 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
761
763
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
762
764
  relations: z.ZodArray<z.ZodObject<{
763
765
  type: z.ZodString;
766
+ sourceLocalId: z.ZodOptional<z.ZodString>;
764
767
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
765
768
  refClass: z.ZodLiteral<"artifact">;
766
769
  kind: z.ZodString;
@@ -931,6 +934,8 @@ type ArtifactContextRootNode = ResolvedArtifactContextNodeBase;
931
934
  interface ResolvedArtifactContextNode extends ResolvedArtifactContextNodeBase {
932
935
  /** Relation type that led to this node from its parent. */
933
936
  readonly relation: string;
937
+ /** Optional local identifier of the parent part that owns this relation. */
938
+ readonly sourceLocalId?: string;
934
939
  }
935
940
  /** An unresolved node representing a relation that could not be followed. */
936
941
  interface UnresolvedArtifactContextNode {
@@ -939,6 +944,8 @@ interface UnresolvedArtifactContextNode {
939
944
  readonly target: ArtifactRelationTarget;
940
945
  /** Relation type that led to this node from its parent. */
941
946
  readonly relation: string;
947
+ /** Optional local identifier of the parent part that owns this relation. */
948
+ readonly sourceLocalId?: string;
942
949
  /** Render hint applied to this node. */
943
950
  readonly hint: ArtifactContextRenderHint;
944
951
  /** Reason the target was not resolved. */
@@ -1258,6 +1265,7 @@ declare const ArtifactSchemas$1: {
1258
1265
  }, z.core.$strip>;
1259
1266
  relations: z.ZodArray<z.ZodObject<{
1260
1267
  type: z.ZodString;
1268
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1261
1269
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1262
1270
  refClass: z.ZodLiteral<"artifact">;
1263
1271
  kind: z.ZodString;
@@ -1348,6 +1356,7 @@ declare const ArtifactSchemas$1: {
1348
1356
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1349
1357
  relations: z.ZodArray<z.ZodObject<{
1350
1358
  type: z.ZodString;
1359
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1351
1360
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1352
1361
  refClass: z.ZodLiteral<"artifact">;
1353
1362
  kind: z.ZodString;
@@ -1552,6 +1561,7 @@ declare const ArtifactSchemas$1: {
1552
1561
  }, z.core.$strip>;
1553
1562
  relations: z.ZodArray<z.ZodObject<{
1554
1563
  type: z.ZodString;
1564
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1555
1565
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1556
1566
  refClass: z.ZodLiteral<"artifact">;
1557
1567
  kind: z.ZodString;
@@ -1642,6 +1652,7 @@ declare const ArtifactSchemas$1: {
1642
1652
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1643
1653
  relations: z.ZodArray<z.ZodObject<{
1644
1654
  type: z.ZodString;
1655
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1645
1656
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1646
1657
  refClass: z.ZodLiteral<"artifact">;
1647
1658
  kind: z.ZodString;
@@ -1872,6 +1883,7 @@ declare const ArtifactSchemas$1: {
1872
1883
  UNSUPPORTED_TARGET: "UNSUPPORTED_TARGET";
1873
1884
  NO_MATCH: "NO_MATCH";
1874
1885
  SCHEMA_VALIDATION_FAILED: "SCHEMA_VALIDATION_FAILED";
1886
+ PAYLOAD_INVARIANT_FAILED: "PAYLOAD_INVARIANT_FAILED";
1875
1887
  NO_CHANGE: "NO_CHANGE";
1876
1888
  STORE_REJECTED: "STORE_REJECTED";
1877
1889
  HOST_FAILED: "HOST_FAILED";
@@ -1917,6 +1929,7 @@ declare const ArtifactSchemas$1: {
1917
1929
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1918
1930
  relations: z.ZodArray<z.ZodObject<{
1919
1931
  type: z.ZodString;
1932
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1920
1933
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1921
1934
  refClass: z.ZodLiteral<"artifact">;
1922
1935
  kind: z.ZodString;
@@ -2168,6 +2181,7 @@ declare const ArtifactSchemas$1: {
2168
2181
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2169
2182
  relations: z.ZodArray<z.ZodObject<{
2170
2183
  type: z.ZodString;
2184
+ sourceLocalId: z.ZodOptional<z.ZodString>;
2171
2185
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2172
2186
  refClass: z.ZodLiteral<"artifact">;
2173
2187
  kind: z.ZodString;
@@ -2328,6 +2342,7 @@ declare const ArtifactSchemas$1: {
2328
2342
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2329
2343
  relations: z.ZodArray<z.ZodObject<{
2330
2344
  type: z.ZodString;
2345
+ sourceLocalId: z.ZodOptional<z.ZodString>;
2331
2346
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2332
2347
  refClass: z.ZodLiteral<"artifact">;
2333
2348
  kind: z.ZodString;
@@ -2470,6 +2485,7 @@ declare const ArtifactSchemas$1: {
2470
2485
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2471
2486
  relations: z.ZodArray<z.ZodObject<{
2472
2487
  type: z.ZodString;
2488
+ sourceLocalId: z.ZodOptional<z.ZodString>;
2473
2489
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2474
2490
  refClass: z.ZodLiteral<"artifact">;
2475
2491
  kind: z.ZodString;
@@ -2762,6 +2778,7 @@ declare const ArtifactSchemas$1: {
2762
2778
  revision: z.ZodString;
2763
2779
  }, z.core.$strict>;
2764
2780
  relationType: z.ZodString;
2781
+ sourceLocalId: z.ZodOptional<z.ZodString>;
2765
2782
  hint: z.ZodString;
2766
2783
  status: z.ZodEnum<{
2767
2784
  resolved: "resolved";
@@ -2787,6 +2804,7 @@ declare const ArtifactSchemas$1: {
2787
2804
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2788
2805
  relations: z.ZodArray<z.ZodObject<{
2789
2806
  type: z.ZodString;
2807
+ sourceLocalId: z.ZodOptional<z.ZodString>;
2790
2808
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2791
2809
  refClass: z.ZodLiteral<"artifact">;
2792
2810
  kind: z.ZodString;
@@ -2933,6 +2951,7 @@ declare const ArtifactSchemas$1: {
2933
2951
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2934
2952
  relations: z.ZodArray<z.ZodObject<{
2935
2953
  type: z.ZodString;
2954
+ sourceLocalId: z.ZodOptional<z.ZodString>;
2936
2955
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2937
2956
  refClass: z.ZodLiteral<"artifact">;
2938
2957
  kind: z.ZodString;
@@ -3083,6 +3102,7 @@ declare const ArtifactSchemas$1: {
3083
3102
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3084
3103
  relations: z.ZodArray<z.ZodObject<{
3085
3104
  type: z.ZodString;
3105
+ sourceLocalId: z.ZodOptional<z.ZodString>;
3086
3106
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
3087
3107
  refClass: z.ZodLiteral<"artifact">;
3088
3108
  kind: z.ZodString;
@@ -3223,6 +3243,7 @@ declare const ArtifactSchemas$1: {
3223
3243
  }, z.core.$strict>;
3224
3244
  relation: z.ZodObject<{
3225
3245
  type: z.ZodString;
3246
+ sourceLocalId: z.ZodOptional<z.ZodString>;
3226
3247
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
3227
3248
  refClass: z.ZodLiteral<"artifact">;
3228
3249
  kind: z.ZodString;
@@ -4032,6 +4053,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4032
4053
  }, z.core.$strip>;
4033
4054
  relations: z.ZodArray<z.ZodObject<{
4034
4055
  type: z.ZodString;
4056
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4035
4057
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4036
4058
  refClass: z.ZodLiteral<"artifact">;
4037
4059
  kind: z.ZodString;
@@ -4122,6 +4144,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4122
4144
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4123
4145
  relations: z.ZodArray<z.ZodObject<{
4124
4146
  type: z.ZodString;
4147
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4125
4148
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4126
4149
  refClass: z.ZodLiteral<"artifact">;
4127
4150
  kind: z.ZodString;
@@ -4326,6 +4349,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4326
4349
  }, z.core.$strip>;
4327
4350
  relations: z.ZodArray<z.ZodObject<{
4328
4351
  type: z.ZodString;
4352
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4329
4353
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4330
4354
  refClass: z.ZodLiteral<"artifact">;
4331
4355
  kind: z.ZodString;
@@ -4416,6 +4440,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4416
4440
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4417
4441
  relations: z.ZodArray<z.ZodObject<{
4418
4442
  type: z.ZodString;
4443
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4419
4444
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4420
4445
  refClass: z.ZodLiteral<"artifact">;
4421
4446
  kind: z.ZodString;
@@ -4646,6 +4671,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4646
4671
  UNSUPPORTED_TARGET: "UNSUPPORTED_TARGET";
4647
4672
  NO_MATCH: "NO_MATCH";
4648
4673
  SCHEMA_VALIDATION_FAILED: "SCHEMA_VALIDATION_FAILED";
4674
+ PAYLOAD_INVARIANT_FAILED: "PAYLOAD_INVARIANT_FAILED";
4649
4675
  NO_CHANGE: "NO_CHANGE";
4650
4676
  STORE_REJECTED: "STORE_REJECTED";
4651
4677
  HOST_FAILED: "HOST_FAILED";
@@ -4691,6 +4717,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4691
4717
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4692
4718
  relations: z.ZodArray<z.ZodObject<{
4693
4719
  type: z.ZodString;
4720
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4694
4721
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4695
4722
  refClass: z.ZodLiteral<"artifact">;
4696
4723
  kind: z.ZodString;
@@ -4942,6 +4969,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4942
4969
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4943
4970
  relations: z.ZodArray<z.ZodObject<{
4944
4971
  type: z.ZodString;
4972
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4945
4973
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4946
4974
  refClass: z.ZodLiteral<"artifact">;
4947
4975
  kind: z.ZodString;
@@ -5102,6 +5130,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
5102
5130
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
5103
5131
  relations: z.ZodArray<z.ZodObject<{
5104
5132
  type: z.ZodString;
5133
+ sourceLocalId: z.ZodOptional<z.ZodString>;
5105
5134
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
5106
5135
  refClass: z.ZodLiteral<"artifact">;
5107
5136
  kind: z.ZodString;
@@ -5244,6 +5273,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
5244
5273
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
5245
5274
  relations: z.ZodArray<z.ZodObject<{
5246
5275
  type: z.ZodString;
5276
+ sourceLocalId: z.ZodOptional<z.ZodString>;
5247
5277
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
5248
5278
  refClass: z.ZodLiteral<"artifact">;
5249
5279
  kind: z.ZodString;
@@ -5536,6 +5566,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
5536
5566
  revision: z.ZodString;
5537
5567
  }, z.core.$strict>;
5538
5568
  relationType: z.ZodString;
5569
+ sourceLocalId: z.ZodOptional<z.ZodString>;
5539
5570
  hint: z.ZodString;
5540
5571
  status: z.ZodEnum<{
5541
5572
  resolved: "resolved";
@@ -5561,6 +5592,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
5561
5592
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
5562
5593
  relations: z.ZodArray<z.ZodObject<{
5563
5594
  type: z.ZodString;
5595
+ sourceLocalId: z.ZodOptional<z.ZodString>;
5564
5596
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
5565
5597
  refClass: z.ZodLiteral<"artifact">;
5566
5598
  kind: z.ZodString;
@@ -5707,6 +5739,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
5707
5739
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
5708
5740
  relations: z.ZodArray<z.ZodObject<{
5709
5741
  type: z.ZodString;
5742
+ sourceLocalId: z.ZodOptional<z.ZodString>;
5710
5743
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
5711
5744
  refClass: z.ZodLiteral<"artifact">;
5712
5745
  kind: z.ZodString;
@@ -5857,6 +5890,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
5857
5890
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
5858
5891
  relations: z.ZodArray<z.ZodObject<{
5859
5892
  type: z.ZodString;
5893
+ sourceLocalId: z.ZodOptional<z.ZodString>;
5860
5894
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
5861
5895
  refClass: z.ZodLiteral<"artifact">;
5862
5896
  kind: z.ZodString;
@@ -5997,6 +6031,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
5997
6031
  }, z.core.$strict>;
5998
6032
  relation: z.ZodObject<{
5999
6033
  type: z.ZodString;
6034
+ sourceLocalId: z.ZodOptional<z.ZodString>;
6000
6035
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
6001
6036
  refClass: z.ZodLiteral<"artifact">;
6002
6037
  kind: z.ZodString;
@@ -6828,6 +6863,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6828
6863
  }, z.core.$strip>;
6829
6864
  relations: z.ZodArray<z.ZodObject<{
6830
6865
  type: z.ZodString;
6866
+ sourceLocalId: z.ZodOptional<z.ZodString>;
6831
6867
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
6832
6868
  refClass: z.ZodLiteral<"artifact">;
6833
6869
  kind: z.ZodString;
@@ -6918,6 +6954,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6918
6954
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6919
6955
  relations: z.ZodArray<z.ZodObject<{
6920
6956
  type: z.ZodString;
6957
+ sourceLocalId: z.ZodOptional<z.ZodString>;
6921
6958
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
6922
6959
  refClass: z.ZodLiteral<"artifact">;
6923
6960
  kind: z.ZodString;
@@ -7122,6 +7159,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7122
7159
  }, z.core.$strip>;
7123
7160
  relations: z.ZodArray<z.ZodObject<{
7124
7161
  type: z.ZodString;
7162
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7125
7163
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7126
7164
  refClass: z.ZodLiteral<"artifact">;
7127
7165
  kind: z.ZodString;
@@ -7212,6 +7250,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7212
7250
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7213
7251
  relations: z.ZodArray<z.ZodObject<{
7214
7252
  type: z.ZodString;
7253
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7215
7254
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7216
7255
  refClass: z.ZodLiteral<"artifact">;
7217
7256
  kind: z.ZodString;
@@ -7442,6 +7481,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7442
7481
  UNSUPPORTED_TARGET: "UNSUPPORTED_TARGET";
7443
7482
  NO_MATCH: "NO_MATCH";
7444
7483
  SCHEMA_VALIDATION_FAILED: "SCHEMA_VALIDATION_FAILED";
7484
+ PAYLOAD_INVARIANT_FAILED: "PAYLOAD_INVARIANT_FAILED";
7445
7485
  NO_CHANGE: "NO_CHANGE";
7446
7486
  STORE_REJECTED: "STORE_REJECTED";
7447
7487
  HOST_FAILED: "HOST_FAILED";
@@ -7487,6 +7527,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7487
7527
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7488
7528
  relations: z.ZodArray<z.ZodObject<{
7489
7529
  type: z.ZodString;
7530
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7490
7531
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7491
7532
  refClass: z.ZodLiteral<"artifact">;
7492
7533
  kind: z.ZodString;
@@ -7738,6 +7779,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7738
7779
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7739
7780
  relations: z.ZodArray<z.ZodObject<{
7740
7781
  type: z.ZodString;
7782
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7741
7783
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7742
7784
  refClass: z.ZodLiteral<"artifact">;
7743
7785
  kind: z.ZodString;
@@ -7898,6 +7940,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7898
7940
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7899
7941
  relations: z.ZodArray<z.ZodObject<{
7900
7942
  type: z.ZodString;
7943
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7901
7944
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7902
7945
  refClass: z.ZodLiteral<"artifact">;
7903
7946
  kind: z.ZodString;
@@ -8040,6 +8083,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8040
8083
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
8041
8084
  relations: z.ZodArray<z.ZodObject<{
8042
8085
  type: z.ZodString;
8086
+ sourceLocalId: z.ZodOptional<z.ZodString>;
8043
8087
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8044
8088
  refClass: z.ZodLiteral<"artifact">;
8045
8089
  kind: z.ZodString;
@@ -8332,6 +8376,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8332
8376
  revision: z.ZodString;
8333
8377
  }, z.core.$strict>;
8334
8378
  relationType: z.ZodString;
8379
+ sourceLocalId: z.ZodOptional<z.ZodString>;
8335
8380
  hint: z.ZodString;
8336
8381
  status: z.ZodEnum<{
8337
8382
  resolved: "resolved";
@@ -8357,6 +8402,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8357
8402
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
8358
8403
  relations: z.ZodArray<z.ZodObject<{
8359
8404
  type: z.ZodString;
8405
+ sourceLocalId: z.ZodOptional<z.ZodString>;
8360
8406
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8361
8407
  refClass: z.ZodLiteral<"artifact">;
8362
8408
  kind: z.ZodString;
@@ -8503,6 +8549,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8503
8549
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
8504
8550
  relations: z.ZodArray<z.ZodObject<{
8505
8551
  type: z.ZodString;
8552
+ sourceLocalId: z.ZodOptional<z.ZodString>;
8506
8553
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8507
8554
  refClass: z.ZodLiteral<"artifact">;
8508
8555
  kind: z.ZodString;
@@ -8653,6 +8700,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8653
8700
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
8654
8701
  relations: z.ZodArray<z.ZodObject<{
8655
8702
  type: z.ZodString;
8703
+ sourceLocalId: z.ZodOptional<z.ZodString>;
8656
8704
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8657
8705
  refClass: z.ZodLiteral<"artifact">;
8658
8706
  kind: z.ZodString;
@@ -8793,6 +8841,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
8793
8841
  }, z.core.$strict>;
8794
8842
  relation: z.ZodObject<{
8795
8843
  type: z.ZodString;
8844
+ sourceLocalId: z.ZodOptional<z.ZodString>;
8796
8845
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
8797
8846
  refClass: z.ZodLiteral<"artifact">;
8798
8847
  kind: z.ZodString;
@@ -9530,6 +9579,35 @@ declare function checkArtifactPartIds(areas: readonly {
9530
9579
  path: string;
9531
9580
  idPath: string;
9532
9581
  }[], data: Record<string, unknown>): ArtifactDataIssue[];
9582
+ /**
9583
+ * One relation source that does not identify exactly one declared part.
9584
+ *
9585
+ * `relationIndex` addresses the relation collection rather than artifact data:
9586
+ * callers own the wire path used to present this issue.
9587
+ */
9588
+ interface ArtifactRelationSourceIssue {
9589
+ /** Zero-based index of the rejected relation. */
9590
+ readonly relationIndex: number;
9591
+ /** Why the local source identifier did not resolve uniquely. */
9592
+ readonly reason: string;
9593
+ }
9594
+ /**
9595
+ * Check that every locally sourced relation resolves uniquely in one revision.
9596
+ *
9597
+ * Relations without `sourceLocalId` belong to the whole artifact and need no
9598
+ * part lookup. The supplied `data` is the containing revision's payload, so
9599
+ * this helper intentionally accepts no independent source revision pin.
9600
+ * @param areas - Declared part areas for the artifact kind.
9601
+ * @param data - Payload of the revision that stores the relations.
9602
+ * @param relations - Relations of that same revision, structurally typed to avoid import cycles.
9603
+ * @returns One issue for each local source that does not resolve uniquely.
9604
+ */
9605
+ declare function checkArtifactRelationSourceParts(areas: readonly {
9606
+ path: string;
9607
+ idPath: string;
9608
+ }[], data: Record<string, unknown>, relations: readonly {
9609
+ readonly sourceLocalId?: string;
9610
+ }[]): ArtifactRelationSourceIssue[];
9533
9611
  /**
9534
9612
  * Stable failure classifications for a part-resolution rejection.
9535
9613
  *
@@ -9740,7 +9818,7 @@ declare const ArtifactPatchRequestSchema: z.ZodObject<{
9740
9818
  }, z.core.$strict>>>;
9741
9819
  }, z.core.$strict>;
9742
9820
  /** Stable failure classifications for a patch request. */
9743
- declare const ARTIFACT_PATCH_ERROR_CODES: readonly ["ARTIFACT_NOT_FOUND", "BASE_REVISION_CONFLICT", "KIND_NOT_REGISTERED", "SCHEMA_VERSION_MISMATCH", "PATH_NOT_DECLARED", "PATH_NOT_RESOLVABLE", "TARGET_NOT_A_COLLECTION", "UNSUPPORTED_TARGET", "NO_MATCH", "SCHEMA_VALIDATION_FAILED", "NO_CHANGE", "STORE_REJECTED", "HOST_FAILED"];
9821
+ declare const ARTIFACT_PATCH_ERROR_CODES: readonly ["ARTIFACT_NOT_FOUND", "BASE_REVISION_CONFLICT", "KIND_NOT_REGISTERED", "SCHEMA_VERSION_MISMATCH", "PATH_NOT_DECLARED", "PATH_NOT_RESOLVABLE", "TARGET_NOT_A_COLLECTION", "UNSUPPORTED_TARGET", "NO_MATCH", "SCHEMA_VALIDATION_FAILED", "PAYLOAD_INVARIANT_FAILED", "NO_CHANGE", "STORE_REJECTED", "HOST_FAILED"];
9744
9822
  /** One reason the patched result was rejected, addressed within `data`. */
9745
9823
  declare const ArtifactPatchIssueSchema: z.ZodObject<{
9746
9824
  path: z.ZodString;
@@ -9773,6 +9851,7 @@ declare const ArtifactPatchErrorSchema: z.ZodObject<{
9773
9851
  UNSUPPORTED_TARGET: "UNSUPPORTED_TARGET";
9774
9852
  NO_MATCH: "NO_MATCH";
9775
9853
  SCHEMA_VALIDATION_FAILED: "SCHEMA_VALIDATION_FAILED";
9854
+ PAYLOAD_INVARIANT_FAILED: "PAYLOAD_INVARIANT_FAILED";
9776
9855
  NO_CHANGE: "NO_CHANGE";
9777
9856
  STORE_REJECTED: "STORE_REJECTED";
9778
9857
  HOST_FAILED: "HOST_FAILED";
@@ -9959,6 +10038,7 @@ declare const ArtifactPatchFailureSchema: z.ZodObject<{
9959
10038
  UNSUPPORTED_TARGET: "UNSUPPORTED_TARGET";
9960
10039
  NO_MATCH: "NO_MATCH";
9961
10040
  SCHEMA_VALIDATION_FAILED: "SCHEMA_VALIDATION_FAILED";
10041
+ PAYLOAD_INVARIANT_FAILED: "PAYLOAD_INVARIANT_FAILED";
9962
10042
  NO_CHANGE: "NO_CHANGE";
9963
10043
  STORE_REJECTED: "STORE_REJECTED";
9964
10044
  HOST_FAILED: "HOST_FAILED";
@@ -10054,6 +10134,7 @@ declare const ArtifactPatchResponseSchema: z.ZodUnion<readonly [z.ZodDiscriminat
10054
10134
  UNSUPPORTED_TARGET: "UNSUPPORTED_TARGET";
10055
10135
  NO_MATCH: "NO_MATCH";
10056
10136
  SCHEMA_VALIDATION_FAILED: "SCHEMA_VALIDATION_FAILED";
10137
+ PAYLOAD_INVARIANT_FAILED: "PAYLOAD_INVARIANT_FAILED";
10057
10138
  NO_CHANGE: "NO_CHANGE";
10058
10139
  STORE_REJECTED: "STORE_REJECTED";
10059
10140
  HOST_FAILED: "HOST_FAILED";
@@ -11928,4 +12009,4 @@ declare function buildUniquenessKeys(rules: readonly ArtifactUniquenessRule[], r
11928
12009
  */
11929
12010
  declare function describeUniquenessKey(key: UniquenessKey): string;
11930
12011
  //#endregion
11931
- export { ArtifactLifecycleTransitionedEntry as $, ArtifactDataCheck as $n, ArtifactCreateRequest as $t, ArtifactLifecycleSchemas as A, ArtifactResolvePartRequestSchema as An, EVIDENCE_VALUE_TYPE as Ar, ArtifactPatchSegment as At, ArtifactLifecycleIdentitySchema as B, ArtifactContextRefEntrySchema as Bn, ARTIFACT_RESOLVE_PART_ERROR_CODES as Bt, ArtifactLifecycleGetResponseSchema as C, ArtifactReviseRequest as Cn, EvidenceOccurrenceExtractionOptions as Cr, ArtifactPatchOperator as Ct, ArtifactLifecycleHistoryResponseSchema as D, ArtifactStatusChangedPayload as Dn, EvidenceResolveResponse as Dr, ArtifactPatchRequestSchema as Dt, ArtifactLifecycleHistoryResponse as E, ArtifactSchemas$1 as En, EvidenceResolveRequestSchema as Er, ArtifactPatchRequest as Et, ArtifactLifecycleCurrent as F, ArtifactContextRootNode as Fn, artifactPatchFilterName as Ft, ArtifactLifecycleSituation as G, ARTIFACT_CONTEXT_RENDER_HINTS as Gn, checkArtifactPartIds as Gt, ArtifactLifecycleInitializedEntrySchema as H, ArtifactContextUnresolvedReasonSchema as Hn, ArtifactResolvePartError as Ht, ArtifactLifecycleCurrentSchema as I, ArtifactContextTree as In, artifactPatchInstructions as It, ArtifactLifecycleSnapshotSchema as J, ArtifactContextRelationSelectorSchema as Jn, ARTIFACT_COLLECTION_ELEMENT_SEGMENT as Jt, ArtifactLifecycleSituationSchema as K, ArtifactContextKnownRenderHint as Kn, resolveArtifactPart as Kt, ArtifactLifecycleError as L, ResolvedArtifactContextNode as Ln, artifactPatchPathFilterNames as Lt, ArtifactLifecycleTransitionResponseSchema as M, ArtifactResolvePartResponseSchema as Mn, EvidenceValueSchema$1 as Mr, ArtifactPatchSuccessSchema as Mt, toArtifactLifecycleFailure as N, hydrateArtifactContextTree as Nn, ArtifactPatchTarget as Nt, ArtifactLifecycleRejectedPayload as O, ArtifactSubjects$1 as On, EvidenceResolveResponseSchema as Or, ArtifactPatchResponse as Ot, ARTIFACT_LIFECYCLE_REJECTED_CODE as P, ArtifactContextNode as Pn, ArtifactPatchTargetSchema as Pt, ArtifactLifecycleTransitionIntentSchema as Q, ArtifactContextSelectorSchema as Qn, readArtifactTitle as Qt, ArtifactLifecycleHistoryEntry as R, UnresolvedArtifactContextNode as Rn, artifactPatchSegment as Rt, ArtifactLifecycleGetResponse as S, ArtifactResolveResponse as Sn, EvidenceOccurrence as Sr, ArtifactPatchOperationResultSchema as St, ArtifactLifecycleHistoryRequestSchema as T, ArtifactRevisedPayload as Tn, EvidenceResolveRequest as Tr, ArtifactPatchPersistedSchema as Tt, ArtifactLifecycleRejection as U, ResolvedArtifactContextWire$1 as Un, ArtifactResolvePartErrorCode as Ut, ArtifactLifecycleInitializedEntry as V, ArtifactContextUnresolvedReason as Vn, ArtifactPartResolution as Vt, ArtifactLifecycleRejectionSchema as W, ResolvedArtifactContextWireSchema as Wn, ArtifactResolvePartErrorSchema as Wt, ArtifactLifecycleTransitionCommandSchema as X, ArtifactContextRenderHintSchema as Xn, inspectArtifactDataLocation as Xt, ArtifactLifecycleTransitionCommand as Y, ArtifactContextRenderHint as Yn, ArtifactSchemaFragment as Yt, ArtifactLifecycleTransitionIntent as Z, ArtifactContextSelector$1 as Zn, isArtifactDataPathDeclared as Zt, ArtifactLifecycleCommittedPayloadSchema as _, ArtifactRelationTypeRegisterRequest as _n, ArtifactLifecycleHookRegistration$1 as _r, ArtifactPatchIssue as _t, UniquenessKeyPart as a, ArtifactKindListRequest as an, AnyArtifactKindDefinition as ar, ARTIFACT_PATCH_ERROR_CODES as at, ArtifactLifecycleGetRequest as b, ArtifactResolveContextResponse as bn, BeforeArtifactHookRegistration as br, ArtifactPatchMigrationSchema as bt, assessUniquenessSupport as c, ArtifactKindRegisterResponse as cn, ArtifactOf as cr, ArtifactPatchArrayFilterSchema as ct, ArtifactRelationTargetIdentity as d, ArtifactPatchSubjectRequest as dn, AfterArtifactHookRegistration as dr, ArtifactPatchDryRunSchema as dt, ArtifactCreateResponse as en, ArtifactDataChecker as er, ArtifactLifecycleTransitionedEntrySchema as et, ArtifactRelationTargetIdentitySchema as f, ArtifactPatchSubjectResponse as fn, ArtifactDraft as fr, ArtifactPatchError as ft, ArtifactLifecycleCommittedPayload as g, ArtifactRelationTypeListResponse as gn, ArtifactLifecycleHookEvent as gr, ArtifactPatchInstruction as gt, serializeArtifactRelationTargetIdentity as h, ArtifactRelationTypeListRequest as hn, ArtifactLifecycleHookDefinition as hr, ArtifactPatchFailureSchema as ht, UniquenessKeyIssueReason as i, ArtifactKindChangedPayload as in, compileArtifactDataSchema as ir, isArtifactLifecycleTransitionAllowed as it, ArtifactLifecycleTransitionResponse as j, ArtifactResolvePartResponse as jn, EvidenceValue$1 as jr, ArtifactPatchSuccess as jt, ArtifactLifecycleRejectedPayloadSchema as k, ArtifactResolvePartRequest as kn, ARTIFACT_VALUE_TYPE_KEYWORD as kr, ArtifactPatchResponseSchema as kt, buildUniquenessKeys as l, ArtifactNamespace as ln, defineArtifactKind as lr, ArtifactPatchDocument as lt, describeArtifactRelationTargetIdentity as m, ArtifactRelationAddedPayload as mn, ArtifactHookFilter as mr, ArtifactPatchErrorSchema as mt, UniquenessKey as n, ArtifactEvidenceResolveRequest as nn, ArtifactDataValidator as nr, advanceArtifactLifecycle as nt, UniquenessSelectorCapability as o, ArtifactKindListResponse as on, ArtifactDataOf as or, ARTIFACT_PATCH_OPERATORS as ot, artifactRelationTargetIdentity as p, ArtifactQueryResponse as pn, ArtifactDraftPatch as pr, ArtifactPatchErrorCode as pt, ArtifactLifecycleSnapshot as q, ArtifactContextRelationSelector as qn, validateArtifactPartAreas as qt, UniquenessKeyIssue as r, ArtifactEvidenceResolveResponse$1 as rn, compileArtifactDataChecker as rr, initialArtifactLifecycle as rt, UniquenessSupportIssue as s, ArtifactKindRegisterRequest as sn, ArtifactKindDefinition as sr, ArtifactPatchArrayFilter as st, BuildUniquenessKeysResult as t, ArtifactCreatedPayload as tn, ArtifactDataIssue as tr, ArtifactLifecycleVersionSchema as tt, describeUniquenessKey as u, ArtifactObservationAddedPayload as un, AfterArtifactHookContext as ur, ArtifactPatchDocumentSchema as ut, ArtifactLifecycleFailure as v, ArtifactRelationTypeRegisterResponse as vn, ArtifactLifecycleSemanticEvent as vr, ArtifactPatchIssueSchema as vt, ArtifactLifecycleHistoryRequest as w, ArtifactReviseResponse as wn, extractEvidenceOccurrences as wr, ArtifactPatchPathSchema as wt, ArtifactLifecycleGetRequestSchema as x, ArtifactResolveRequest as xn, defineArtifactLifecycleHooks as xr, ArtifactPatchOperationResult as xt, ArtifactLifecycleFailureSchema as y, ArtifactResolveContextRequest as yn, BeforeArtifactHookContext as yr, ArtifactPatchMigration as yt, ArtifactLifecycleHistoryEntrySchema as z, ArtifactContextRefEntry as zn, artifactPatchSegments as zt };
12012
+ export { ArtifactLifecycleTransitionedEntry as $, ArtifactContextSelector$1 as $n, isArtifactDataPathDeclared as $t, ArtifactLifecycleSchemas as A, ArtifactSubjects$1 as An, EvidenceResolveResponseSchema as Ar, ArtifactPatchSegment as At, ArtifactLifecycleIdentitySchema as B, UnresolvedArtifactContextNode as Bn, ARTIFACT_RESOLVE_PART_ERROR_CODES as Bt, ArtifactLifecycleGetResponseSchema as C, ArtifactResolveRequest as Cn, defineArtifactLifecycleHooks as Cr, ArtifactPatchOperator as Ct, ArtifactLifecycleHistoryResponseSchema as D, ArtifactRevisedPayload as Dn, EvidenceResolveRequest as Dr, ArtifactPatchRequestSchema as Dt, ArtifactLifecycleHistoryResponse as E, ArtifactReviseResponse as En, extractEvidenceOccurrences as Er, ArtifactPatchRequest as Et, ArtifactLifecycleCurrent as F, hydrateArtifactContextTree as Fn, artifactPatchFilterName as Ft, ArtifactLifecycleSituation as G, ResolvedArtifactContextWire$1 as Gn, ArtifactResolvePartErrorSchema as Gt, ArtifactLifecycleInitializedEntrySchema as H, ArtifactContextRefEntrySchema as Hn, ArtifactRelationSourceIssue as Ht, ArtifactLifecycleCurrentSchema as I, ArtifactContextNode as In, artifactPatchInstructions as It, ArtifactLifecycleSnapshotSchema as J, ArtifactContextKnownRenderHint as Jn, resolveArtifactPart as Jt, ArtifactLifecycleSituationSchema as K, ResolvedArtifactContextWireSchema as Kn, checkArtifactPartIds as Kt, ArtifactLifecycleError as L, ArtifactContextRootNode as Ln, artifactPatchPathFilterNames as Lt, ArtifactLifecycleTransitionResponseSchema as M, ArtifactResolvePartRequestSchema as Mn, EVIDENCE_VALUE_TYPE as Mr, ArtifactPatchSuccessSchema as Mt, toArtifactLifecycleFailure as N, ArtifactResolvePartResponse as Nn, EvidenceValue$1 as Nr, ArtifactPatchTarget as Nt, ArtifactLifecycleRejectedPayload as O, ArtifactSchemas$1 as On, EvidenceResolveRequestSchema as Or, ArtifactPatchResponse as Ot, ARTIFACT_LIFECYCLE_REJECTED_CODE as P, ArtifactResolvePartResponseSchema as Pn, EvidenceValueSchema$1 as Pr, ArtifactPatchTargetSchema as Pt, ArtifactLifecycleTransitionIntentSchema as Q, ArtifactContextRenderHintSchema as Qn, inspectArtifactDataLocation as Qt, ArtifactLifecycleHistoryEntry as R, ArtifactContextTree as Rn, artifactPatchSegment as Rt, ArtifactLifecycleGetResponse as S, ArtifactResolveContextResponse as Sn, BeforeArtifactHookRegistration as Sr, ArtifactPatchOperationResultSchema as St, ArtifactLifecycleHistoryRequestSchema as T, ArtifactReviseRequest as Tn, EvidenceOccurrenceExtractionOptions as Tr, ArtifactPatchPersistedSchema as Tt, ArtifactLifecycleRejection as U, ArtifactContextUnresolvedReason as Un, ArtifactResolvePartError as Ut, ArtifactLifecycleInitializedEntry as V, ArtifactContextRefEntry as Vn, ArtifactPartResolution as Vt, ArtifactLifecycleRejectionSchema as W, ArtifactContextUnresolvedReasonSchema as Wn, ArtifactResolvePartErrorCode as Wt, ArtifactLifecycleTransitionCommandSchema as X, ArtifactContextRelationSelectorSchema as Xn, ARTIFACT_COLLECTION_ELEMENT_SEGMENT as Xt, ArtifactLifecycleTransitionCommand as Y, ArtifactContextRelationSelector as Yn, validateArtifactPartAreas as Yt, ArtifactLifecycleTransitionIntent as Z, ArtifactContextRenderHint as Zn, ArtifactSchemaFragment as Zt, ArtifactLifecycleCommittedPayloadSchema as _, ArtifactRelationTypeListRequest as _n, ArtifactLifecycleHookDefinition as _r, ArtifactPatchIssue as _t, UniquenessKeyPart as a, ArtifactEvidenceResolveResponse$1 as an, compileArtifactDataChecker as ar, ARTIFACT_PATCH_ERROR_CODES as at, ArtifactLifecycleGetRequest as b, ArtifactRelationTypeRegisterResponse as bn, ArtifactLifecycleSemanticEvent as br, ArtifactPatchMigrationSchema as bt, assessUniquenessSupport as c, ArtifactKindListResponse as cn, ArtifactDataOf as cr, ArtifactPatchArrayFilterSchema as ct, ArtifactRelationTargetIdentity as d, ArtifactNamespace as dn, defineArtifactKind as dr, ArtifactPatchDryRunSchema as dt, readArtifactTitle as en, ArtifactContextSelectorSchema as er, ArtifactLifecycleTransitionedEntrySchema as et, ArtifactRelationTargetIdentitySchema as f, ArtifactObservationAddedPayload as fn, AfterArtifactHookContext as fr, ArtifactPatchError as ft, ArtifactLifecycleCommittedPayload as g, ArtifactRelationAddedPayload as gn, ArtifactHookFilter as gr, ArtifactPatchInstruction as gt, serializeArtifactRelationTargetIdentity as h, ArtifactQueryResponse as hn, ArtifactDraftPatch as hr, ArtifactPatchFailureSchema as ht, UniquenessKeyIssueReason as i, ArtifactEvidenceResolveRequest as in, ArtifactDataValidator as ir, isArtifactLifecycleTransitionAllowed as it, ArtifactLifecycleTransitionResponse as j, ArtifactResolvePartRequest as jn, ARTIFACT_VALUE_TYPE_KEYWORD as jr, ArtifactPatchSuccess as jt, ArtifactLifecycleRejectedPayloadSchema as k, ArtifactStatusChangedPayload as kn, EvidenceResolveResponse as kr, ArtifactPatchResponseSchema as kt, buildUniquenessKeys as l, ArtifactKindRegisterRequest as ln, ArtifactKindDefinition as lr, ArtifactPatchDocument as lt, describeArtifactRelationTargetIdentity as m, ArtifactPatchSubjectResponse as mn, ArtifactDraft as mr, ArtifactPatchErrorSchema as mt, UniquenessKey as n, ArtifactCreateResponse as nn, ArtifactDataChecker as nr, advanceArtifactLifecycle as nt, UniquenessSelectorCapability as o, ArtifactKindChangedPayload as on, compileArtifactDataSchema as or, ARTIFACT_PATCH_OPERATORS as ot, artifactRelationTargetIdentity as p, ArtifactPatchSubjectRequest as pn, AfterArtifactHookRegistration as pr, ArtifactPatchErrorCode as pt, ArtifactLifecycleSnapshot as q, ARTIFACT_CONTEXT_RENDER_HINTS as qn, checkArtifactRelationSourceParts as qt, UniquenessKeyIssue as r, ArtifactCreatedPayload as rn, ArtifactDataIssue as rr, initialArtifactLifecycle as rt, UniquenessSupportIssue as s, ArtifactKindListRequest as sn, AnyArtifactKindDefinition as sr, ArtifactPatchArrayFilter as st, BuildUniquenessKeysResult as t, ArtifactCreateRequest as tn, ArtifactDataCheck as tr, ArtifactLifecycleVersionSchema as tt, describeUniquenessKey as u, ArtifactKindRegisterResponse as un, ArtifactOf as ur, ArtifactPatchDocumentSchema as ut, ArtifactLifecycleFailure as v, ArtifactRelationTypeListResponse as vn, ArtifactLifecycleHookEvent as vr, ArtifactPatchIssueSchema as vt, ArtifactLifecycleHistoryRequest as w, ArtifactResolveResponse as wn, EvidenceOccurrence as wr, ArtifactPatchPathSchema as wt, ArtifactLifecycleGetRequestSchema as x, ArtifactResolveContextRequest as xn, BeforeArtifactHookContext as xr, ArtifactPatchOperationResult as xt, ArtifactLifecycleFailureSchema as y, ArtifactRelationTypeRegisterRequest as yn, ArtifactLifecycleHookRegistration$1 as yr, ArtifactPatchMigration as yt, ArtifactLifecycleHistoryEntrySchema as z, ResolvedArtifactContextNode as zn, artifactPatchSegments as zt };