@makaio/framework 1.0.0-dev-1790783144258 → 1.0.0-dev-1791471149180

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 (115) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +20 -20
  3. package/dist/artifact-D3VD0bDr.mjs +1 -0
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/bus-CzD5SUBY.mjs +9 -0
  6. package/dist/contracts/adapter/index.d.mts +2 -2
  7. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +3 -3
  9. package/dist/contracts/artifact/index.mjs +1 -1
  10. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  11. package/dist/contracts/capabilities/index.d.mts +1 -1
  12. package/dist/contracts/client/index.d.mts +2 -2
  13. package/dist/contracts/extension/index.d.mts +4 -4
  14. package/dist/contracts/harness/index.d.mts +1 -1
  15. package/dist/contracts/index.d.mts +77 -77
  16. package/dist/contracts/index.mjs +1 -1
  17. package/dist/contracts/materialization/index.d.mts +2 -2
  18. package/dist/contracts/materialization/index.mjs +1 -1
  19. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  20. package/dist/contracts/reaction/index.d.mts +1 -1
  21. package/dist/contracts/session/index.d.mts +2 -2
  22. package/dist/contracts/variant/index.d.mts +1 -1
  23. package/dist/contracts/worker/index.d.mts +1 -1
  24. package/dist/contracts/worker/index.mjs +1 -1
  25. package/dist/contracts/workflow/index.d.mts +2 -2
  26. package/dist/contracts/workflow/index.mjs +1 -1
  27. package/dist/{contribution-CsDOPiDo.d.mts → contribution-CCVRsaNB.d.mts} +1 -1
  28. package/dist/{extension-context-BY9o1ITm.d.mts → extension-context-BWrjVPXR.d.mts} +3 -3
  29. package/dist/{framework-packages-blqho6Nk.mjs → framework-packages-CdpSqDeo.mjs} +1 -1
  30. package/dist/{hook-responses-Xxq6QAL2.d.mts → hook-responses-v6EA_7WC.d.mts} +1 -1
  31. package/dist/{index-CDezXPm9.d.mts → index-5NiMVtgh.d.mts} +425 -289
  32. package/dist/{index-BrnOW7-5.d.mts → index-B4IxvgmZ.d.mts} +17 -17
  33. package/dist/{index-VG-C-ZHN.d.mts → index-BKA5-NKn.d.mts} +16 -16
  34. package/dist/{index-Fmdwbgei.d.mts → index-BYFxcF58.d.mts} +7 -7
  35. package/dist/{index-DWWP2cUb.d.mts → index-Bt6KIvVk.d.mts} +1 -1
  36. package/dist/{index-CnVhfLrY.d.mts → index-C3C0hYHu.d.mts} +53 -53
  37. package/dist/{index-PymaxRkQ2.d.mts → index-CFet5T7v2.d.mts} +6 -6
  38. package/dist/{index-Di2-G_3M.d.mts → index-CQQsIg1Z.d.mts} +1 -1
  39. package/dist/{index-D_fMdJbU.d.mts → index-CTScKg_6.d.mts} +8 -8
  40. package/dist/{index-Dnc0PaTv2.d.mts → index-ChwEMUbc2.d.mts} +12 -12
  41. package/dist/{index-DMFFSC7x.d.mts → index-Cxx1aoPR.d.mts} +1 -1
  42. package/dist/{index-Fo4ALycy.d.mts → index-D9rIwIZ_.d.mts} +19 -19
  43. package/dist/{index-D_Zdnh0U.d.mts → index-DHKBs9sY.d.mts} +8 -8
  44. package/dist/{index-OA1A-NWE.d.mts → index-DVorNME3.d.mts} +1 -1
  45. package/dist/{index-chwNKVMu2.d.mts → index-D_1N051p2.d.mts} +37 -37
  46. package/dist/{index-CP7iuxhd2.d.mts → index-DbTxrhan2.d.mts} +4 -4
  47. package/dist/{index-C9X6ei7S.d.mts → index-DneUbrTU.d.mts} +4 -4
  48. package/dist/{index-BBrLhtLK.d.mts → index-MzTQNTb8.d.mts} +1 -1
  49. package/dist/{index-D9Ome4qp.d.mts → index-bYrlVerZ.d.mts} +1 -1
  50. package/dist/kernel/extension/index.d.mts +2 -2
  51. package/dist/kernel/index.d.mts +2 -2
  52. package/dist/kernel/observability/index.d.mts +1 -1
  53. package/dist/{materialization-BzSgnv2R.mjs → materialization-Cqx2hTZU.mjs} +1 -1
  54. package/dist/{namespace-BG35KNtw.d.mts → namespace-C1AVqxHR.d.mts} +4 -4
  55. package/dist/{namespace-BH9U2C1O.d.mts → namespace-ChJ-C9m_.d.mts} +2 -2
  56. package/dist/{namespace-D74MefGI.d.mts → namespace-D89Ih67f.d.mts} +2 -2
  57. package/dist/{namespace-DK5qZpST.d.mts → namespace-D_NJoYyN.d.mts} +6 -6
  58. package/dist/{namespace-DZooy1DW.d.mts → namespace-u4eoUCLp.d.mts} +18 -18
  59. package/dist/package.json +1 -1
  60. package/dist/packages-BOM7wECe.mjs +1 -0
  61. package/dist/{packages-Fy4a6vQy.d.mts → packages-g6BtlUF9.d.mts} +9 -6
  62. package/dist/{schemas-JPaSXxNr.d.mts → schemas-BBMHnFq8.d.mts} +4 -4
  63. package/dist/{schemas-CiJpGURT.d.mts → schemas-C81JlArF.d.mts} +8 -8
  64. package/dist/{schemas-DyTbvDp-.d.mts → schemas-CY2niCMn.d.mts} +54 -11
  65. package/dist/{schemas-CEc_v3dl.d.mts → schemas-DKaUrczB.d.mts} +2 -2
  66. package/dist/{schemas-BvDsO8Is.mjs → schemas-DmP_43fe.mjs} +1 -1
  67. package/dist/{schemas-DnwAE1ao.d.mts → schemas-DrTW-Clp.d.mts} +1 -1
  68. package/dist/{schemas-BYEgjPst2.d.mts → schemas-DrrpHMbF2.d.mts} +7 -7
  69. package/dist/{schemas-CtL2su-K.d.mts → schemas-yyNP39HU.d.mts} +4 -4
  70. package/dist/services/adapter-runtime/index.d.mts +3 -3
  71. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  72. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  73. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  74. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  75. package/dist/services/execution-target/index.d.mts +2 -2
  76. package/dist/services/execution-target/namespace.d.mts +1 -1
  77. package/dist/services/execution-target/schemas.d.mts +1 -1
  78. package/dist/services/filesystem/namespace.d.mts +12 -12
  79. package/dist/services/filesystem/schemas.d.mts +6 -6
  80. package/dist/services/git/namespace.d.mts +2 -2
  81. package/dist/services/git/schemas.d.mts +2 -2
  82. package/dist/services/index.d.mts +36 -36
  83. package/dist/services/index.mjs +1 -1
  84. package/dist/services/materialization/index.d.mts +1 -1
  85. package/dist/services/materialization/index.mjs +1 -1
  86. package/dist/services/preferences/index.d.mts +2 -2
  87. package/dist/services/preferences/schemas.d.mts +1 -1
  88. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  89. package/dist/services/provider-context/index.d.mts +1 -1
  90. package/dist/services/session/handlers/index.d.mts +1 -1
  91. package/dist/services/session/index.d.mts +5 -5
  92. package/dist/services/session/messages/namespace.d.mts +1 -1
  93. package/dist/services/session/session-events/namespace.d.mts +1 -1
  94. package/dist/services/settings/namespace.d.mts +8 -8
  95. package/dist/services/subagent-template/index.d.mts +1 -1
  96. package/dist/services/subagent-template/schemas.d.mts +1 -1
  97. package/dist/services/tools/index.mjs +1 -1
  98. package/dist/services/workflow-transitions/index.mjs +1 -1
  99. package/dist/{session-lineage-DZr5w2-z.d.mts → session-lineage-Bjh0Ccu7.d.mts} +1 -1
  100. package/dist/{storage-namespace-Cl8qtHDu.d.mts → storage-namespace-DoxNJ9Cg.d.mts} +10 -10
  101. package/dist/{tools-Cbuj-ClQ.mjs → tools-EK2HiPee.mjs} +1 -1
  102. package/dist/{transition-CzxHvafT.d.mts → transition-BEbgeCGa.d.mts} +1 -1
  103. package/dist/{types-CRKyrt5_.d.mts → types-C4-76ief.d.mts} +15 -15
  104. package/dist/ui-kernel/index.d.mts +4 -4
  105. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  106. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  107. package/dist/{view-builder-BLdSezFD.d.mts → view-builder-Cw9R3hvK.d.mts} +1 -1
  108. package/dist/{worker-toBnRJ0A.mjs → worker-DAWXguML.mjs} +1 -1
  109. package/dist/{workflow-BDDB6EJi.mjs → workflow-CS_pwwXn.mjs} +1 -1
  110. package/dist/workflow-engine/index.d.mts +9 -9
  111. package/dist/{workflow-transitions-CvT6P03B.mjs → workflow-transitions-ztq90FUj.mjs} +1 -1
  112. package/package.json +1 -1
  113. package/dist/artifact-XE82Q2bH.mjs +0 -1
  114. package/dist/bus-B-ksy7YX.mjs +0 -9
  115. package/dist/packages-CZ2x-Ver.mjs +0 -1
@@ -1,4 +1,4 @@
1
- import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget, at as ArtifactUniquenessRule, ct as ArtifactRef$1, et as ArtifactRelationRequirement, p as ArtifactRelation, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-DyTbvDp-.mjs";
1
+ import { $ as ArtifactLifecycleState, B as RelationTargetRefClass, C as ArtifactScope, V as RelationTypeRegistration, W as ArtifactCategory, Y as ArtifactKindRegistration$1, _ as ArtifactRelationTarget, ct as ArtifactUniquenessRule, dt as ArtifactRef$1, p as ArtifactRelation, rt as ArtifactRelationRequirement, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-CY2niCMn.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value-B2gMynW3.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1300,20 +1300,32 @@ declare const ArtifactSchemas$1: {
1300
1300
  }; /** Register a new relation type with the artifact service (RPC). */
1301
1301
  'relation-type.register': {
1302
1302
  request: z.ZodObject<{
1303
- type: z.ZodString;
1304
- symmetry: z.ZodEnum<{
1305
- asymmetric: "asymmetric";
1306
- symmetric: "symmetric";
1307
- }>;
1308
- implication: z.ZodOptional<z.ZodString>;
1303
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1304
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1305
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1306
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1307
+ local: "local";
1308
+ evidence: "evidence";
1309
+ artifact: "artifact";
1310
+ entity: "entity";
1311
+ }>>>;
1312
+ description: z.ZodOptional<z.ZodString>;
1313
+ }, z.core.$strip>>>;
1309
1314
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1310
1315
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1311
1316
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1312
1317
  local: "local";
1313
- artifact: "artifact";
1314
1318
  evidence: "evidence";
1319
+ artifact: "artifact";
1315
1320
  entity: "entity";
1316
1321
  }>>>;
1322
+ type: z.ZodString;
1323
+ symmetry: z.ZodEnum<{
1324
+ asymmetric: "asymmetric";
1325
+ symmetric: "symmetric";
1326
+ }>;
1327
+ implication: z.ZodOptional<z.ZodString>;
1328
+ description: z.ZodOptional<z.ZodString>;
1317
1329
  }, z.core.$strip>;
1318
1330
  response: z.ZodObject<{
1319
1331
  registered: z.ZodBoolean;
@@ -1325,20 +1337,32 @@ declare const ArtifactSchemas$1: {
1325
1337
  }, z.core.$strip>;
1326
1338
  response: z.ZodObject<{
1327
1339
  relationTypes: z.ZodArray<z.ZodObject<{
1328
- type: z.ZodString;
1329
- symmetry: z.ZodEnum<{
1330
- asymmetric: "asymmetric";
1331
- symmetric: "symmetric";
1332
- }>;
1333
- implication: z.ZodOptional<z.ZodString>;
1340
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1341
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1342
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1343
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1344
+ local: "local";
1345
+ evidence: "evidence";
1346
+ artifact: "artifact";
1347
+ entity: "entity";
1348
+ }>>>;
1349
+ description: z.ZodOptional<z.ZodString>;
1350
+ }, z.core.$strip>>>;
1334
1351
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1335
1352
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1336
1353
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1337
1354
  local: "local";
1338
- artifact: "artifact";
1339
1355
  evidence: "evidence";
1356
+ artifact: "artifact";
1340
1357
  entity: "entity";
1341
1358
  }>>>;
1359
+ type: z.ZodString;
1360
+ symmetry: z.ZodEnum<{
1361
+ asymmetric: "asymmetric";
1362
+ symmetric: "symmetric";
1363
+ }>;
1364
+ implication: z.ZodOptional<z.ZodString>;
1365
+ description: z.ZodOptional<z.ZodString>;
1342
1366
  }, z.core.$strip>>;
1343
1367
  }, z.core.$strip>;
1344
1368
  }; /** Create a new artifact and its first revision (RPC). */
@@ -1346,46 +1370,6 @@ declare const ArtifactSchemas$1: {
1346
1370
  request: z.ZodObject<{
1347
1371
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1348
1372
  kind: z.ZodString;
1349
- createdAt: z.ZodOptional<z.ZodNumber>;
1350
- schemaVersion: z.ZodNumber;
1351
- scope: z.ZodObject<{
1352
- level: z.ZodString;
1353
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1354
- }, z.core.$strip>;
1355
- actor: z.ZodObject<{
1356
- kind: z.ZodString;
1357
- id: z.ZodString;
1358
- displayName: z.ZodOptional<z.ZodString>;
1359
- }, z.core.$strip>;
1360
- relations: z.ZodArray<z.ZodObject<{
1361
- type: z.ZodString;
1362
- sourceLocalId: z.ZodOptional<z.ZodString>;
1363
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1364
- refClass: z.ZodLiteral<"artifact">;
1365
- kind: z.ZodString;
1366
- id: z.ZodString;
1367
- revision: z.ZodString;
1368
- }, z.core.$strict>, z.ZodObject<{
1369
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1370
- artifact: z.ZodObject<{
1371
- refClass: z.ZodLiteral<"artifact">;
1372
- kind: z.ZodString;
1373
- id: z.ZodString;
1374
- revision: z.ZodString;
1375
- }, z.core.$strict>;
1376
- localId: z.ZodString;
1377
- }, z.core.$strip>, z.ZodObject<{
1378
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1379
- kind: z.ZodString;
1380
- id: z.ZodString;
1381
- revision: z.ZodOptional<z.ZodString>;
1382
- locator: z.ZodOptional<z.ZodString>;
1383
- }, z.core.$strip>, z.ZodObject<{
1384
- refClass: z.ZodLiteral<"entity">;
1385
- entityType: z.ZodString;
1386
- id: z.ZodString;
1387
- }, z.core.$strict>], "refClass">>;
1388
- }, z.core.$strip>>;
1389
1373
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1390
1374
  source: z.ZodObject<{
1391
1375
  kind: z.ZodLiteral<"git-file">;
@@ -1433,6 +1417,46 @@ declare const ArtifactSchemas$1: {
1433
1417
  }, z.core.$strict>]>;
1434
1418
  excerpt: z.ZodOptional<z.ZodString>;
1435
1419
  }, z.core.$strict>]>>>;
1420
+ createdAt: z.ZodOptional<z.ZodNumber>;
1421
+ schemaVersion: z.ZodNumber;
1422
+ scope: z.ZodObject<{
1423
+ level: z.ZodString;
1424
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1425
+ }, z.core.$strip>;
1426
+ actor: z.ZodObject<{
1427
+ kind: z.ZodString;
1428
+ id: z.ZodString;
1429
+ displayName: z.ZodOptional<z.ZodString>;
1430
+ }, z.core.$strip>;
1431
+ relations: z.ZodArray<z.ZodObject<{
1432
+ type: z.ZodString;
1433
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1434
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1435
+ refClass: z.ZodLiteral<"artifact">;
1436
+ kind: z.ZodString;
1437
+ id: z.ZodString;
1438
+ revision: z.ZodString;
1439
+ }, z.core.$strict>, z.ZodObject<{
1440
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1441
+ artifact: z.ZodObject<{
1442
+ refClass: z.ZodLiteral<"artifact">;
1443
+ kind: z.ZodString;
1444
+ id: z.ZodString;
1445
+ revision: z.ZodString;
1446
+ }, z.core.$strict>;
1447
+ localId: z.ZodString;
1448
+ }, z.core.$strip>, z.ZodObject<{
1449
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1450
+ kind: z.ZodString;
1451
+ id: z.ZodString;
1452
+ revision: z.ZodOptional<z.ZodString>;
1453
+ locator: z.ZodOptional<z.ZodString>;
1454
+ }, z.core.$strip>, z.ZodObject<{
1455
+ refClass: z.ZodLiteral<"entity">;
1456
+ entityType: z.ZodString;
1457
+ id: z.ZodString;
1458
+ }, z.core.$strict>], "refClass">>;
1459
+ }, z.core.$strip>>;
1436
1460
  confidence: z.ZodOptional<z.ZodObject<{
1437
1461
  level: z.ZodEnum<{
1438
1462
  inferred: "inferred";
@@ -1644,46 +1668,6 @@ declare const ArtifactSchemas$1: {
1644
1668
  revision: z.ZodObject<{
1645
1669
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1646
1670
  kind: z.ZodString;
1647
- createdAt: z.ZodOptional<z.ZodNumber>;
1648
- schemaVersion: z.ZodNumber;
1649
- scope: z.ZodObject<{
1650
- level: z.ZodString;
1651
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1652
- }, z.core.$strip>;
1653
- actor: z.ZodObject<{
1654
- kind: z.ZodString;
1655
- id: z.ZodString;
1656
- displayName: z.ZodOptional<z.ZodString>;
1657
- }, z.core.$strip>;
1658
- relations: z.ZodArray<z.ZodObject<{
1659
- type: z.ZodString;
1660
- sourceLocalId: z.ZodOptional<z.ZodString>;
1661
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1662
- refClass: z.ZodLiteral<"artifact">;
1663
- kind: z.ZodString;
1664
- id: z.ZodString;
1665
- revision: z.ZodString;
1666
- }, z.core.$strict>, z.ZodObject<{
1667
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1668
- artifact: z.ZodObject<{
1669
- refClass: z.ZodLiteral<"artifact">;
1670
- kind: z.ZodString;
1671
- id: z.ZodString;
1672
- revision: z.ZodString;
1673
- }, z.core.$strict>;
1674
- localId: z.ZodString;
1675
- }, z.core.$strip>, z.ZodObject<{
1676
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1677
- kind: z.ZodString;
1678
- id: z.ZodString;
1679
- revision: z.ZodOptional<z.ZodString>;
1680
- locator: z.ZodOptional<z.ZodString>;
1681
- }, z.core.$strip>, z.ZodObject<{
1682
- refClass: z.ZodLiteral<"entity">;
1683
- entityType: z.ZodString;
1684
- id: z.ZodString;
1685
- }, z.core.$strict>], "refClass">>;
1686
- }, z.core.$strip>>;
1687
1671
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1688
1672
  source: z.ZodObject<{
1689
1673
  kind: z.ZodLiteral<"git-file">;
@@ -1731,6 +1715,46 @@ declare const ArtifactSchemas$1: {
1731
1715
  }, z.core.$strict>]>;
1732
1716
  excerpt: z.ZodOptional<z.ZodString>;
1733
1717
  }, z.core.$strict>]>>>;
1718
+ createdAt: z.ZodOptional<z.ZodNumber>;
1719
+ schemaVersion: z.ZodNumber;
1720
+ scope: z.ZodObject<{
1721
+ level: z.ZodString;
1722
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1723
+ }, z.core.$strip>;
1724
+ actor: z.ZodObject<{
1725
+ kind: z.ZodString;
1726
+ id: z.ZodString;
1727
+ displayName: z.ZodOptional<z.ZodString>;
1728
+ }, z.core.$strip>;
1729
+ relations: z.ZodArray<z.ZodObject<{
1730
+ type: z.ZodString;
1731
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1732
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1733
+ refClass: z.ZodLiteral<"artifact">;
1734
+ kind: z.ZodString;
1735
+ id: z.ZodString;
1736
+ revision: z.ZodString;
1737
+ }, z.core.$strict>, z.ZodObject<{
1738
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1739
+ artifact: z.ZodObject<{
1740
+ refClass: z.ZodLiteral<"artifact">;
1741
+ kind: z.ZodString;
1742
+ id: z.ZodString;
1743
+ revision: z.ZodString;
1744
+ }, z.core.$strict>;
1745
+ localId: z.ZodString;
1746
+ }, z.core.$strip>, z.ZodObject<{
1747
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1748
+ kind: z.ZodString;
1749
+ id: z.ZodString;
1750
+ revision: z.ZodOptional<z.ZodString>;
1751
+ locator: z.ZodOptional<z.ZodString>;
1752
+ }, z.core.$strip>, z.ZodObject<{
1753
+ refClass: z.ZodLiteral<"entity">;
1754
+ entityType: z.ZodString;
1755
+ id: z.ZodString;
1756
+ }, z.core.$strict>], "refClass">>;
1757
+ }, z.core.$strip>>;
1734
1758
  confidence: z.ZodOptional<z.ZodObject<{
1735
1759
  level: z.ZodEnum<{
1736
1760
  inferred: "inferred";
@@ -4111,20 +4135,32 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4111
4135
  }; /** Register a new relation type with the artifact service (RPC). */
4112
4136
  'relation-type.register': {
4113
4137
  request: z.ZodObject<{
4114
- type: z.ZodString;
4115
- symmetry: z.ZodEnum<{
4116
- asymmetric: "asymmetric";
4117
- symmetric: "symmetric";
4118
- }>;
4119
- implication: z.ZodOptional<z.ZodString>;
4138
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
4139
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4140
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4141
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4142
+ local: "local";
4143
+ evidence: "evidence";
4144
+ artifact: "artifact";
4145
+ entity: "entity";
4146
+ }>>>;
4147
+ description: z.ZodOptional<z.ZodString>;
4148
+ }, z.core.$strip>>>;
4120
4149
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4121
4150
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4122
4151
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4123
4152
  local: "local";
4124
- artifact: "artifact";
4125
4153
  evidence: "evidence";
4154
+ artifact: "artifact";
4126
4155
  entity: "entity";
4127
4156
  }>>>;
4157
+ type: z.ZodString;
4158
+ symmetry: z.ZodEnum<{
4159
+ asymmetric: "asymmetric";
4160
+ symmetric: "symmetric";
4161
+ }>;
4162
+ implication: z.ZodOptional<z.ZodString>;
4163
+ description: z.ZodOptional<z.ZodString>;
4128
4164
  }, z.core.$strip>;
4129
4165
  response: z.ZodObject<{
4130
4166
  registered: z.ZodBoolean;
@@ -4136,20 +4172,32 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4136
4172
  }, z.core.$strip>;
4137
4173
  response: z.ZodObject<{
4138
4174
  relationTypes: z.ZodArray<z.ZodObject<{
4139
- type: z.ZodString;
4140
- symmetry: z.ZodEnum<{
4141
- asymmetric: "asymmetric";
4142
- symmetric: "symmetric";
4143
- }>;
4144
- implication: z.ZodOptional<z.ZodString>;
4175
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
4176
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4177
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4178
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4179
+ local: "local";
4180
+ evidence: "evidence";
4181
+ artifact: "artifact";
4182
+ entity: "entity";
4183
+ }>>>;
4184
+ description: z.ZodOptional<z.ZodString>;
4185
+ }, z.core.$strip>>>;
4145
4186
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4146
4187
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4147
4188
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4148
4189
  local: "local";
4149
- artifact: "artifact";
4150
4190
  evidence: "evidence";
4191
+ artifact: "artifact";
4151
4192
  entity: "entity";
4152
4193
  }>>>;
4194
+ type: z.ZodString;
4195
+ symmetry: z.ZodEnum<{
4196
+ asymmetric: "asymmetric";
4197
+ symmetric: "symmetric";
4198
+ }>;
4199
+ implication: z.ZodOptional<z.ZodString>;
4200
+ description: z.ZodOptional<z.ZodString>;
4153
4201
  }, z.core.$strip>>;
4154
4202
  }, z.core.$strip>;
4155
4203
  }; /** Create a new artifact and its first revision (RPC). */
@@ -4157,46 +4205,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4157
4205
  request: z.ZodObject<{
4158
4206
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4159
4207
  kind: z.ZodString;
4160
- createdAt: z.ZodOptional<z.ZodNumber>;
4161
- schemaVersion: z.ZodNumber;
4162
- scope: z.ZodObject<{
4163
- level: z.ZodString;
4164
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4165
- }, z.core.$strip>;
4166
- actor: z.ZodObject<{
4167
- kind: z.ZodString;
4168
- id: z.ZodString;
4169
- displayName: z.ZodOptional<z.ZodString>;
4170
- }, z.core.$strip>;
4171
- relations: z.ZodArray<z.ZodObject<{
4172
- type: z.ZodString;
4173
- sourceLocalId: z.ZodOptional<z.ZodString>;
4174
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4175
- refClass: z.ZodLiteral<"artifact">;
4176
- kind: z.ZodString;
4177
- id: z.ZodString;
4178
- revision: z.ZodString;
4179
- }, z.core.$strict>, z.ZodObject<{
4180
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4181
- artifact: z.ZodObject<{
4182
- refClass: z.ZodLiteral<"artifact">;
4183
- kind: z.ZodString;
4184
- id: z.ZodString;
4185
- revision: z.ZodString;
4186
- }, z.core.$strict>;
4187
- localId: z.ZodString;
4188
- }, z.core.$strip>, z.ZodObject<{
4189
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4190
- kind: z.ZodString;
4191
- id: z.ZodString;
4192
- revision: z.ZodOptional<z.ZodString>;
4193
- locator: z.ZodOptional<z.ZodString>;
4194
- }, z.core.$strip>, z.ZodObject<{
4195
- refClass: z.ZodLiteral<"entity">;
4196
- entityType: z.ZodString;
4197
- id: z.ZodString;
4198
- }, z.core.$strict>], "refClass">>;
4199
- }, z.core.$strip>>;
4200
4208
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4201
4209
  source: z.ZodObject<{
4202
4210
  kind: z.ZodLiteral<"git-file">;
@@ -4244,6 +4252,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4244
4252
  }, z.core.$strict>]>;
4245
4253
  excerpt: z.ZodOptional<z.ZodString>;
4246
4254
  }, z.core.$strict>]>>>;
4255
+ createdAt: z.ZodOptional<z.ZodNumber>;
4256
+ schemaVersion: z.ZodNumber;
4257
+ scope: z.ZodObject<{
4258
+ level: z.ZodString;
4259
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4260
+ }, z.core.$strip>;
4261
+ actor: z.ZodObject<{
4262
+ kind: z.ZodString;
4263
+ id: z.ZodString;
4264
+ displayName: z.ZodOptional<z.ZodString>;
4265
+ }, z.core.$strip>;
4266
+ relations: z.ZodArray<z.ZodObject<{
4267
+ type: z.ZodString;
4268
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4269
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4270
+ refClass: z.ZodLiteral<"artifact">;
4271
+ kind: z.ZodString;
4272
+ id: z.ZodString;
4273
+ revision: z.ZodString;
4274
+ }, z.core.$strict>, z.ZodObject<{
4275
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4276
+ artifact: z.ZodObject<{
4277
+ refClass: z.ZodLiteral<"artifact">;
4278
+ kind: z.ZodString;
4279
+ id: z.ZodString;
4280
+ revision: z.ZodString;
4281
+ }, z.core.$strict>;
4282
+ localId: z.ZodString;
4283
+ }, z.core.$strip>, z.ZodObject<{
4284
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4285
+ kind: z.ZodString;
4286
+ id: z.ZodString;
4287
+ revision: z.ZodOptional<z.ZodString>;
4288
+ locator: z.ZodOptional<z.ZodString>;
4289
+ }, z.core.$strip>, z.ZodObject<{
4290
+ refClass: z.ZodLiteral<"entity">;
4291
+ entityType: z.ZodString;
4292
+ id: z.ZodString;
4293
+ }, z.core.$strict>], "refClass">>;
4294
+ }, z.core.$strip>>;
4247
4295
  confidence: z.ZodOptional<z.ZodObject<{
4248
4296
  level: z.ZodEnum<{
4249
4297
  inferred: "inferred";
@@ -4450,51 +4498,11 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4450
4498
  kind: z.ZodString;
4451
4499
  id: z.ZodString;
4452
4500
  revision: z.ZodString;
4453
- }, z.core.$strict>;
4454
- statusPath: z.ZodOptional<z.ZodString>;
4455
- revision: z.ZodObject<{
4456
- data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4457
- kind: z.ZodString;
4458
- createdAt: z.ZodOptional<z.ZodNumber>;
4459
- schemaVersion: z.ZodNumber;
4460
- scope: z.ZodObject<{
4461
- level: z.ZodString;
4462
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4463
- }, z.core.$strip>;
4464
- actor: z.ZodObject<{
4465
- kind: z.ZodString;
4466
- id: z.ZodString;
4467
- displayName: z.ZodOptional<z.ZodString>;
4468
- }, z.core.$strip>;
4469
- relations: z.ZodArray<z.ZodObject<{
4470
- type: z.ZodString;
4471
- sourceLocalId: z.ZodOptional<z.ZodString>;
4472
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4473
- refClass: z.ZodLiteral<"artifact">;
4474
- kind: z.ZodString;
4475
- id: z.ZodString;
4476
- revision: z.ZodString;
4477
- }, z.core.$strict>, z.ZodObject<{
4478
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4479
- artifact: z.ZodObject<{
4480
- refClass: z.ZodLiteral<"artifact">;
4481
- kind: z.ZodString;
4482
- id: z.ZodString;
4483
- revision: z.ZodString;
4484
- }, z.core.$strict>;
4485
- localId: z.ZodString;
4486
- }, z.core.$strip>, z.ZodObject<{
4487
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4488
- kind: z.ZodString;
4489
- id: z.ZodString;
4490
- revision: z.ZodOptional<z.ZodString>;
4491
- locator: z.ZodOptional<z.ZodString>;
4492
- }, z.core.$strip>, z.ZodObject<{
4493
- refClass: z.ZodLiteral<"entity">;
4494
- entityType: z.ZodString;
4495
- id: z.ZodString;
4496
- }, z.core.$strict>], "refClass">>;
4497
- }, z.core.$strip>>;
4501
+ }, z.core.$strict>;
4502
+ statusPath: z.ZodOptional<z.ZodString>;
4503
+ revision: z.ZodObject<{
4504
+ data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4505
+ kind: z.ZodString;
4498
4506
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4499
4507
  source: z.ZodObject<{
4500
4508
  kind: z.ZodLiteral<"git-file">;
@@ -4542,6 +4550,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4542
4550
  }, z.core.$strict>]>;
4543
4551
  excerpt: z.ZodOptional<z.ZodString>;
4544
4552
  }, z.core.$strict>]>>>;
4553
+ createdAt: z.ZodOptional<z.ZodNumber>;
4554
+ schemaVersion: z.ZodNumber;
4555
+ scope: z.ZodObject<{
4556
+ level: z.ZodString;
4557
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4558
+ }, z.core.$strip>;
4559
+ actor: z.ZodObject<{
4560
+ kind: z.ZodString;
4561
+ id: z.ZodString;
4562
+ displayName: z.ZodOptional<z.ZodString>;
4563
+ }, z.core.$strip>;
4564
+ relations: z.ZodArray<z.ZodObject<{
4565
+ type: z.ZodString;
4566
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4567
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4568
+ refClass: z.ZodLiteral<"artifact">;
4569
+ kind: z.ZodString;
4570
+ id: z.ZodString;
4571
+ revision: z.ZodString;
4572
+ }, z.core.$strict>, z.ZodObject<{
4573
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4574
+ artifact: z.ZodObject<{
4575
+ refClass: z.ZodLiteral<"artifact">;
4576
+ kind: z.ZodString;
4577
+ id: z.ZodString;
4578
+ revision: z.ZodString;
4579
+ }, z.core.$strict>;
4580
+ localId: z.ZodString;
4581
+ }, z.core.$strip>, z.ZodObject<{
4582
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4583
+ kind: z.ZodString;
4584
+ id: z.ZodString;
4585
+ revision: z.ZodOptional<z.ZodString>;
4586
+ locator: z.ZodOptional<z.ZodString>;
4587
+ }, z.core.$strip>, z.ZodObject<{
4588
+ refClass: z.ZodLiteral<"entity">;
4589
+ entityType: z.ZodString;
4590
+ id: z.ZodString;
4591
+ }, z.core.$strict>], "refClass">>;
4592
+ }, z.core.$strip>>;
4545
4593
  confidence: z.ZodOptional<z.ZodObject<{
4546
4594
  level: z.ZodEnum<{
4547
4595
  inferred: "inferred";
@@ -6944,20 +6992,32 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6944
6992
  }; /** Register a new relation type with the artifact service (RPC). */
6945
6993
  'relation-type.register': {
6946
6994
  request: z.ZodObject<{
6947
- type: z.ZodString;
6948
- symmetry: z.ZodEnum<{
6949
- asymmetric: "asymmetric";
6950
- symmetric: "symmetric";
6951
- }>;
6952
- implication: z.ZodOptional<z.ZodString>;
6995
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
6996
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6997
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6998
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6999
+ local: "local";
7000
+ evidence: "evidence";
7001
+ artifact: "artifact";
7002
+ entity: "entity";
7003
+ }>>>;
7004
+ description: z.ZodOptional<z.ZodString>;
7005
+ }, z.core.$strip>>>;
6953
7006
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6954
7007
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6955
7008
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6956
7009
  local: "local";
6957
- artifact: "artifact";
6958
7010
  evidence: "evidence";
7011
+ artifact: "artifact";
6959
7012
  entity: "entity";
6960
7013
  }>>>;
7014
+ type: z.ZodString;
7015
+ symmetry: z.ZodEnum<{
7016
+ asymmetric: "asymmetric";
7017
+ symmetric: "symmetric";
7018
+ }>;
7019
+ implication: z.ZodOptional<z.ZodString>;
7020
+ description: z.ZodOptional<z.ZodString>;
6961
7021
  }, z.core.$strip>;
6962
7022
  response: z.ZodObject<{
6963
7023
  registered: z.ZodBoolean;
@@ -6969,20 +7029,32 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6969
7029
  }, z.core.$strip>;
6970
7030
  response: z.ZodObject<{
6971
7031
  relationTypes: z.ZodArray<z.ZodObject<{
6972
- type: z.ZodString;
6973
- symmetry: z.ZodEnum<{
6974
- asymmetric: "asymmetric";
6975
- symmetric: "symmetric";
6976
- }>;
6977
- implication: z.ZodOptional<z.ZodString>;
7032
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7033
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
7034
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
7035
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7036
+ local: "local";
7037
+ evidence: "evidence";
7038
+ artifact: "artifact";
7039
+ entity: "entity";
7040
+ }>>>;
7041
+ description: z.ZodOptional<z.ZodString>;
7042
+ }, z.core.$strip>>>;
6978
7043
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6979
7044
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6980
7045
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6981
7046
  local: "local";
6982
- artifact: "artifact";
6983
7047
  evidence: "evidence";
7048
+ artifact: "artifact";
6984
7049
  entity: "entity";
6985
7050
  }>>>;
7051
+ type: z.ZodString;
7052
+ symmetry: z.ZodEnum<{
7053
+ asymmetric: "asymmetric";
7054
+ symmetric: "symmetric";
7055
+ }>;
7056
+ implication: z.ZodOptional<z.ZodString>;
7057
+ description: z.ZodOptional<z.ZodString>;
6986
7058
  }, z.core.$strip>>;
6987
7059
  }, z.core.$strip>;
6988
7060
  }; /** Create a new artifact and its first revision (RPC). */
@@ -6990,46 +7062,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6990
7062
  request: z.ZodObject<{
6991
7063
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6992
7064
  kind: z.ZodString;
6993
- createdAt: z.ZodOptional<z.ZodNumber>;
6994
- schemaVersion: z.ZodNumber;
6995
- scope: z.ZodObject<{
6996
- level: z.ZodString;
6997
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6998
- }, z.core.$strip>;
6999
- actor: z.ZodObject<{
7000
- kind: z.ZodString;
7001
- id: z.ZodString;
7002
- displayName: z.ZodOptional<z.ZodString>;
7003
- }, z.core.$strip>;
7004
- relations: z.ZodArray<z.ZodObject<{
7005
- type: z.ZodString;
7006
- sourceLocalId: z.ZodOptional<z.ZodString>;
7007
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7008
- refClass: z.ZodLiteral<"artifact">;
7009
- kind: z.ZodString;
7010
- id: z.ZodString;
7011
- revision: z.ZodString;
7012
- }, z.core.$strict>, z.ZodObject<{
7013
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7014
- artifact: z.ZodObject<{
7015
- refClass: z.ZodLiteral<"artifact">;
7016
- kind: z.ZodString;
7017
- id: z.ZodString;
7018
- revision: z.ZodString;
7019
- }, z.core.$strict>;
7020
- localId: z.ZodString;
7021
- }, z.core.$strip>, z.ZodObject<{
7022
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7023
- kind: z.ZodString;
7024
- id: z.ZodString;
7025
- revision: z.ZodOptional<z.ZodString>;
7026
- locator: z.ZodOptional<z.ZodString>;
7027
- }, z.core.$strip>, z.ZodObject<{
7028
- refClass: z.ZodLiteral<"entity">;
7029
- entityType: z.ZodString;
7030
- id: z.ZodString;
7031
- }, z.core.$strict>], "refClass">>;
7032
- }, z.core.$strip>>;
7033
7065
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
7034
7066
  source: z.ZodObject<{
7035
7067
  kind: z.ZodLiteral<"git-file">;
@@ -7077,6 +7109,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7077
7109
  }, z.core.$strict>]>;
7078
7110
  excerpt: z.ZodOptional<z.ZodString>;
7079
7111
  }, z.core.$strict>]>>>;
7112
+ createdAt: z.ZodOptional<z.ZodNumber>;
7113
+ schemaVersion: z.ZodNumber;
7114
+ scope: z.ZodObject<{
7115
+ level: z.ZodString;
7116
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7117
+ }, z.core.$strip>;
7118
+ actor: z.ZodObject<{
7119
+ kind: z.ZodString;
7120
+ id: z.ZodString;
7121
+ displayName: z.ZodOptional<z.ZodString>;
7122
+ }, z.core.$strip>;
7123
+ relations: z.ZodArray<z.ZodObject<{
7124
+ type: z.ZodString;
7125
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7126
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7127
+ refClass: z.ZodLiteral<"artifact">;
7128
+ kind: z.ZodString;
7129
+ id: z.ZodString;
7130
+ revision: z.ZodString;
7131
+ }, z.core.$strict>, z.ZodObject<{
7132
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7133
+ artifact: z.ZodObject<{
7134
+ refClass: z.ZodLiteral<"artifact">;
7135
+ kind: z.ZodString;
7136
+ id: z.ZodString;
7137
+ revision: z.ZodString;
7138
+ }, z.core.$strict>;
7139
+ localId: z.ZodString;
7140
+ }, z.core.$strip>, z.ZodObject<{
7141
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7142
+ kind: z.ZodString;
7143
+ id: z.ZodString;
7144
+ revision: z.ZodOptional<z.ZodString>;
7145
+ locator: z.ZodOptional<z.ZodString>;
7146
+ }, z.core.$strip>, z.ZodObject<{
7147
+ refClass: z.ZodLiteral<"entity">;
7148
+ entityType: z.ZodString;
7149
+ id: z.ZodString;
7150
+ }, z.core.$strict>], "refClass">>;
7151
+ }, z.core.$strip>>;
7080
7152
  confidence: z.ZodOptional<z.ZodObject<{
7081
7153
  level: z.ZodEnum<{
7082
7154
  inferred: "inferred";
@@ -7288,46 +7360,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7288
7360
  revision: z.ZodObject<{
7289
7361
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7290
7362
  kind: z.ZodString;
7291
- createdAt: z.ZodOptional<z.ZodNumber>;
7292
- schemaVersion: z.ZodNumber;
7293
- scope: z.ZodObject<{
7294
- level: z.ZodString;
7295
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7296
- }, z.core.$strip>;
7297
- actor: z.ZodObject<{
7298
- kind: z.ZodString;
7299
- id: z.ZodString;
7300
- displayName: z.ZodOptional<z.ZodString>;
7301
- }, z.core.$strip>;
7302
- relations: z.ZodArray<z.ZodObject<{
7303
- type: z.ZodString;
7304
- sourceLocalId: z.ZodOptional<z.ZodString>;
7305
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7306
- refClass: z.ZodLiteral<"artifact">;
7307
- kind: z.ZodString;
7308
- id: z.ZodString;
7309
- revision: z.ZodString;
7310
- }, z.core.$strict>, z.ZodObject<{
7311
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7312
- artifact: z.ZodObject<{
7313
- refClass: z.ZodLiteral<"artifact">;
7314
- kind: z.ZodString;
7315
- id: z.ZodString;
7316
- revision: z.ZodString;
7317
- }, z.core.$strict>;
7318
- localId: z.ZodString;
7319
- }, z.core.$strip>, z.ZodObject<{
7320
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7321
- kind: z.ZodString;
7322
- id: z.ZodString;
7323
- revision: z.ZodOptional<z.ZodString>;
7324
- locator: z.ZodOptional<z.ZodString>;
7325
- }, z.core.$strip>, z.ZodObject<{
7326
- refClass: z.ZodLiteral<"entity">;
7327
- entityType: z.ZodString;
7328
- id: z.ZodString;
7329
- }, z.core.$strict>], "refClass">>;
7330
- }, z.core.$strip>>;
7331
7363
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
7332
7364
  source: z.ZodObject<{
7333
7365
  kind: z.ZodLiteral<"git-file">;
@@ -7375,6 +7407,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7375
7407
  }, z.core.$strict>]>;
7376
7408
  excerpt: z.ZodOptional<z.ZodString>;
7377
7409
  }, z.core.$strict>]>>>;
7410
+ createdAt: z.ZodOptional<z.ZodNumber>;
7411
+ schemaVersion: z.ZodNumber;
7412
+ scope: z.ZodObject<{
7413
+ level: z.ZodString;
7414
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7415
+ }, z.core.$strip>;
7416
+ actor: z.ZodObject<{
7417
+ kind: z.ZodString;
7418
+ id: z.ZodString;
7419
+ displayName: z.ZodOptional<z.ZodString>;
7420
+ }, z.core.$strip>;
7421
+ relations: z.ZodArray<z.ZodObject<{
7422
+ type: z.ZodString;
7423
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7424
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7425
+ refClass: z.ZodLiteral<"artifact">;
7426
+ kind: z.ZodString;
7427
+ id: z.ZodString;
7428
+ revision: z.ZodString;
7429
+ }, z.core.$strict>, z.ZodObject<{
7430
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7431
+ artifact: z.ZodObject<{
7432
+ refClass: z.ZodLiteral<"artifact">;
7433
+ kind: z.ZodString;
7434
+ id: z.ZodString;
7435
+ revision: z.ZodString;
7436
+ }, z.core.$strict>;
7437
+ localId: z.ZodString;
7438
+ }, z.core.$strip>, z.ZodObject<{
7439
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7440
+ kind: z.ZodString;
7441
+ id: z.ZodString;
7442
+ revision: z.ZodOptional<z.ZodString>;
7443
+ locator: z.ZodOptional<z.ZodString>;
7444
+ }, z.core.$strip>, z.ZodObject<{
7445
+ refClass: z.ZodLiteral<"entity">;
7446
+ entityType: z.ZodString;
7447
+ id: z.ZodString;
7448
+ }, z.core.$strict>], "refClass">>;
7449
+ }, z.core.$strip>>;
7378
7450
  confidence: z.ZodOptional<z.ZodObject<{
7379
7451
  level: z.ZodEnum<{
7380
7452
  inferred: "inferred";
@@ -12268,4 +12340,68 @@ interface RelationRequirementIssue {
12268
12340
  */
12269
12341
  declare function evaluateRelationRequirements(requirements: readonly ArtifactRelationRequirement[] | undefined, relations: readonly ArtifactRelation[], data: Record<string, unknown> | undefined): RelationRequirementIssue[];
12270
12342
  //#endregion
12271
- export { ArtifactLifecycleSnapshotSchema as $, ARTIFACT_CONTEXT_RELATION_DIRECTIONS as $n, resolveArtifactPart as $t, ArtifactLifecycleHistoryRequestSchema as A, ArtifactReviseRequest as An, BeforeArtifactHookContext as Ar, ArtifactPatchPersistedSchema as At, ArtifactLifecycleCurrent as B, hydrateArtifactContextTree as Bn, mayArtifactDataCarryProperty as Br, artifactPatchFilterName as Bt, ArtifactLifecycleFailure as C, ArtifactRelationTypeListResponse as Cn, ArtifactDraft as Cr, ArtifactPatchIssueSchema as Ct, ArtifactLifecycleGetResponse as D, ArtifactResolveContextResponse as Dn, ArtifactLifecycleHookEvent as Dr, ArtifactPatchOperationResultSchema as Dt, ArtifactLifecycleGetRequestSchema as E, ArtifactResolveContextRequest as En, ArtifactLifecycleHookDefinition as Er, ArtifactPatchOperationResult as Et, ArtifactLifecycleSchemas as F, ArtifactSubjects$1 as Fn, extractEvidenceOccurrences as Fr, ArtifactPatchSegment as Ft, ArtifactLifecycleIdentitySchema as G, UnresolvedArtifactContextNode as Gn, ArtifactSlugSchema as Gr, ARTIFACT_RESOLVE_PART_ERROR_CODES as Gt, ArtifactLifecycleError as H, ArtifactContextRootNode as Hn, ARTIFACT_SLUG_FIELD as Hr, artifactPatchPathFilterNames as Ht, ArtifactLifecycleTransitionResponse as I, ArtifactResolvePartRequest as In, EvidenceResolveRequest as Ir, ArtifactPatchSuccess as It, ArtifactLifecycleRejection as J, ArtifactContextUnresolvedReason as Jn, ARTIFACT_VALUE_TYPE_KEYWORD as Jr, ArtifactResolvePartError as Jt, ArtifactLifecycleInitializedEntry as K, ArtifactContextRefEntry as Kn, deriveArtifactSlug as Kr, ArtifactPartResolution as Kt, ArtifactLifecycleTransitionResponseSchema as L, ArtifactResolvePartRequestSchema as Ln, EvidenceResolveRequestSchema as Lr, ArtifactPatchSuccessSchema as Lt, ArtifactLifecycleHistoryResponseSchema as M, ArtifactRevisedPayload as Mn, defineArtifactLifecycleHooks as Mr, ArtifactPatchRequestSchema as Mt, ArtifactLifecycleRejectedPayload as N, ArtifactSchemas$1 as Nn, EvidenceOccurrence as Nr, ArtifactPatchResponse as Nt, ArtifactLifecycleGetResponseSchema as O, ArtifactResolveRequest as On, ArtifactLifecycleHookRegistration$1 as Or, ArtifactPatchOperator as Ot, ArtifactLifecycleRejectedPayloadSchema as P, ArtifactStatusChangedPayload as Pn, EvidenceOccurrenceExtractionOptions as Pr, ArtifactPatchResponseSchema as Pt, ArtifactLifecycleSnapshot as Q, artifactRevisionKey as Qn, checkArtifactRelationSourceParts as Qt, toArtifactLifecycleFailure as R, ArtifactResolvePartResponse as Rn, EvidenceResolveResponse as Rr, ArtifactPatchTarget as Rt, ArtifactLifecycleCommittedPayloadSchema as S, ArtifactRelationTypeListRequest as Sn, AfterArtifactHookRegistration as Sr, ArtifactPatchIssue as St, ArtifactLifecycleGetRequest as T, ArtifactRelationTypeRegisterResponse as Tn, ArtifactHookFilter as Tr, ArtifactPatchMigrationSchema as Tt, ArtifactLifecycleHistoryEntry as U, ArtifactContextTree as Un, ARTIFACT_SLUG_PATTERN as Ur, artifactPatchSegment as Ut, ArtifactLifecycleCurrentSchema as V, ArtifactContextNode as Vn, ARTIFACT_DERIVED_SLUG_MAX_LENGTH as Vr, artifactPatchInstructions as Vt, ArtifactLifecycleHistoryEntrySchema as W, ResolvedArtifactContextNode as Wn, ArtifactSlug as Wr, artifactPatchSegments as Wt, ArtifactLifecycleSituation as X, ResolvedArtifactContextWire$1 as Xn, EvidenceValue$1 as Xr, ArtifactResolvePartErrorSchema as Xt, ArtifactLifecycleRejectionSchema as Y, ArtifactContextUnresolvedReasonSchema as Yn, EVIDENCE_VALUE_TYPE as Yr, ArtifactResolvePartErrorCode as Yt, ArtifactLifecycleSituationSchema as Z, ResolvedArtifactContextWireSchema as Zn, EvidenceValueSchema$1 as Zr, checkArtifactPartIds as Zt, ArtifactRelationTargetIdentitySchema as _, ArtifactObservationAddedPayload as _n, ArtifactDataOf as _r, ArtifactPatchError as _t, UniquenessDataKeyPart as a, readArtifactTitle as an, ArtifactContextRelationSelectorSchema as ar, ArtifactLifecycleTransitionedEntrySchema as at, serializeArtifactRelationTargetIdentity as b, ArtifactQueryResponse as bn, defineArtifactKind as br, ArtifactPatchFailureSchema as bt, UniquenessKeyIssueReason as c, ArtifactCreatedPayload as cn, ArtifactContextSelector$1 as cr, initialArtifactLifecycle as ct, UniquenessSelectorCapability as d, ArtifactKindChangedPayload as dn, ArtifactDataChecker as dr, ARTIFACT_PATCH_OPERATORS as dt, validateArtifactPartAreas as en, ARTIFACT_CONTEXT_RENDER_HINTS as er, ArtifactLifecycleTransitionCommand as et, UniquenessSupportIssue as f, ArtifactKindListRequest as fn, ArtifactDataIssue as fr, ArtifactPatchArrayFilter as ft, ArtifactRelationTargetIdentity as g, ArtifactNamespace as gn, AnyArtifactKindDefinition as gr, ArtifactPatchDryRunSchema as gt, describeUniquenessKey as h, ArtifactKindRegisterResponse as hn, compileArtifactDataSchema as hr, ArtifactPatchDocumentSchema as ht, BuildUniquenessKeysResult as i, isArtifactDataPathDeclared as in, ArtifactContextRelationSelector as ir, ArtifactLifecycleTransitionedEntry as it, ArtifactLifecycleHistoryResponse as j, ArtifactReviseResponse as jn, BeforeArtifactHookRegistration as jr, ArtifactPatchRequest as jt, ArtifactLifecycleHistoryRequest as k, ArtifactResolveResponse as kn, ArtifactLifecycleSemanticEvent as kr, ArtifactPatchPathSchema as kt, UniquenessKeyPart as l, ArtifactEvidenceResolveRequest as ln, ArtifactContextSelectorSchema as lr, isArtifactLifecycleTransitionAllowed as lt, buildUniquenessKeys as m, ArtifactKindRegisterRequest as mn, compileArtifactDataChecker as mr, ArtifactPatchDocument as mt, RelationRequirementIssueReason as n, ArtifactSchemaFragment as nn, ArtifactContextRelationDirection as nr, ArtifactLifecycleTransitionIntent as nt, UniquenessKey as o, ArtifactCreateRequest as on, ArtifactContextRenderHint as or, ArtifactLifecycleVersionSchema as ot, assessUniquenessSupport as p, ArtifactKindListResponse as pn, ArtifactDataValidator as pr, ArtifactPatchArrayFilterSchema as pt, ArtifactLifecycleInitializedEntrySchema as q, ArtifactContextRefEntrySchema as qn, slugify as qr, ArtifactRelationSourceIssue as qt, evaluateRelationRequirements as r, inspectArtifactDataLocation as rn, ArtifactContextRelationDirectionSchema as rr, ArtifactLifecycleTransitionIntentSchema as rt, UniquenessKeyIssue as s, ArtifactCreateResponse as sn, ArtifactContextRenderHintSchema as sr, advanceArtifactLifecycle as st, RelationRequirementIssue as t, ARTIFACT_COLLECTION_ELEMENT_SEGMENT as tn, ArtifactContextKnownRenderHint as tr, ArtifactLifecycleTransitionCommandSchema as tt, UniquenessRelationTargetKeyPart as u, ArtifactEvidenceResolveResponse$1 as un, ArtifactDataCheck as ur, ARTIFACT_PATCH_ERROR_CODES as ut, artifactRelationTargetIdentity as v, ArtifactPatchSubjectRequest as vn, ArtifactKindDefinition as vr, ArtifactPatchErrorCode as vt, ArtifactLifecycleFailureSchema as w, ArtifactRelationTypeRegisterRequest as wn, ArtifactDraftPatch as wr, ArtifactPatchMigration as wt, ArtifactLifecycleCommittedPayload as x, ArtifactRelationAddedPayload as xn, AfterArtifactHookContext as xr, ArtifactPatchInstruction as xt, describeArtifactRelationTargetIdentity as y, ArtifactPatchSubjectResponse as yn, ArtifactOf as yr, ArtifactPatchErrorSchema as yt, ARTIFACT_LIFECYCLE_REJECTED_CODE as z, ArtifactResolvePartResponseSchema as zn, EvidenceResolveResponseSchema as zr, ArtifactPatchTargetSchema as zt };
12343
+ //#region core/contracts/src/artifact/relation-endpoints.d.ts
12344
+ /** The source kind, target reference class and optional target kind of one concrete relation. */
12345
+ interface RelationEndpointCandidate {
12346
+ /** Kind of the source artifact. */
12347
+ readonly sourceKind: string;
12348
+ /** Reference class of the relation target. */
12349
+ readonly targetRefClass: RelationTargetRefClass;
12350
+ /** Kind of the target, when the target carries one. */
12351
+ readonly targetKind?: string;
12352
+ }
12353
+ /** Per-type properties on which two registrations of the same relation type can conflict. */
12354
+ type RelationTypeConflictField = 'symmetry' | 'implication' | 'description';
12355
+ /** Thrown when two registrations of the same relation type disagree on a per-type property. */
12356
+ declare class RelationTypeConflictError extends Error {
12357
+ /** The relation type the conflict concerns. */
12358
+ readonly type: string;
12359
+ /** The per-type property the registrations disagree on. */
12360
+ readonly field: RelationTypeConflictField;
12361
+ /**
12362
+ * @param type - Relation type of the existing registration.
12363
+ * @param field - Property the registrations disagree on.
12364
+ * @param existing - Value on the existing registration.
12365
+ * @param next - Conflicting value on the further registration.
12366
+ */
12367
+ constructor(type: string, field: RelationTypeConflictField, existing: string, next: string);
12368
+ }
12369
+ /**
12370
+ * Normal form of a registration: shorthand folded into `endpoints`; an open
12371
+ * type carries no endpoints.
12372
+ */
12373
+ type NormalizedRelationTypeRegistration$1 = Omit<RelationTypeRegistration, 'sourceKinds' | 'targetKinds' | 'targetRefClasses'>;
12374
+ /**
12375
+ * Whether at least one endpoint of the registration permits the candidate.
12376
+ * A self-inverse symmetric registration also permits the reversed candidate
12377
+ * (see {@link reversedCandidate}). Each entry is checked whole, forward or
12378
+ * reversed, so kinds from different entries never mix.
12379
+ * @param registration - The registration to test.
12380
+ * @param candidate - The concrete relation to test.
12381
+ * @returns True when any endpoint entry permits the candidate, or its reversal where one applies.
12382
+ */
12383
+ declare function relationTypePermits(registration: RelationTypeRegistration, candidate: RelationEndpointCandidate): boolean;
12384
+ /**
12385
+ * Normal form of a registration: shorthand folded into `endpoints`; lists
12386
+ * sorted and deduplicated; structurally equal entries deduplicated. An entry
12387
+ * without any constraint makes the type open, in which case `endpoints` is
12388
+ * omitted. The result never carries the shorthand fields.
12389
+ * @param registration - The registration to normalise.
12390
+ * @returns A new normalised registration.
12391
+ */
12392
+ declare function normalizeRelationTypeRegistration$1(registration: RelationTypeRegistration): NormalizedRelationTypeRegistration$1;
12393
+ /**
12394
+ * Merges a further contribution into an existing registration of the same type.
12395
+ * `implication` and `description` are taken from whichever side has them. Endpoints are the
12396
+ * normalised union of both entry lists. An unconstrained side makes the merged
12397
+ * type open (its `endpoints` are omitted), because an open entry permits every
12398
+ * pair. Mutates neither input.
12399
+ * @param existing - The existing registration.
12400
+ * @param next - The further contribution.
12401
+ * @returns A new normalised registration.
12402
+ * @throws Error when `type` differs.
12403
+ * @throws RelationTypeConflictError when `symmetry` differs, or when both carry a differing `implication` or `description`.
12404
+ */
12405
+ declare function mergeRelationTypeRegistrations$1(existing: RelationTypeRegistration, next: RelationTypeRegistration): NormalizedRelationTypeRegistration$1;
12406
+ //#endregion
12407
+ export { ArtifactLifecycleInitializedEntrySchema as $, ArtifactContextRefEntrySchema as $n, slugify as $r, ArtifactRelationSourceIssue as $t, ArtifactLifecycleFailureSchema as A, ArtifactRelationTypeRegisterRequest as An, ArtifactDraftPatch as Ar, ArtifactPatchMigration as At, ArtifactLifecycleRejectedPayloadSchema as B, ArtifactStatusChangedPayload as Bn, EvidenceOccurrenceExtractionOptions as Br, ArtifactPatchResponseSchema as Bt, ArtifactRelationTargetIdentitySchema as C, ArtifactObservationAddedPayload as Cn, ArtifactDataOf as Cr, ArtifactPatchError as Ct, ArtifactLifecycleCommittedPayload as D, ArtifactRelationAddedPayload as Dn, AfterArtifactHookContext as Dr, ArtifactPatchInstruction as Dt, serializeArtifactRelationTargetIdentity as E, ArtifactQueryResponse as En, defineArtifactKind as Er, ArtifactPatchFailureSchema as Et, ArtifactLifecycleHistoryRequest as F, ArtifactResolveResponse as Fn, ArtifactLifecycleSemanticEvent as Fr, ArtifactPatchPathSchema as Ft, ARTIFACT_LIFECYCLE_REJECTED_CODE as G, ArtifactResolvePartResponseSchema as Gn, EvidenceResolveResponseSchema as Gr, ArtifactPatchTargetSchema as Gt, ArtifactLifecycleTransitionResponse as H, ArtifactResolvePartRequest as Hn, EvidenceResolveRequest as Hr, ArtifactPatchSuccess as Ht, ArtifactLifecycleHistoryRequestSchema as I, ArtifactReviseRequest as In, BeforeArtifactHookContext as Ir, ArtifactPatchPersistedSchema as It, ArtifactLifecycleError as J, ArtifactContextRootNode as Jn, ARTIFACT_SLUG_FIELD as Jr, artifactPatchPathFilterNames as Jt, ArtifactLifecycleCurrent as K, hydrateArtifactContextTree as Kn, mayArtifactDataCarryProperty as Kr, artifactPatchFilterName as Kt, ArtifactLifecycleHistoryResponse as L, ArtifactReviseResponse as Ln, BeforeArtifactHookRegistration as Lr, ArtifactPatchRequest as Lt, ArtifactLifecycleGetRequestSchema as M, ArtifactResolveContextRequest as Mn, ArtifactLifecycleHookDefinition as Mr, ArtifactPatchOperationResult as Mt, ArtifactLifecycleGetResponse as N, ArtifactResolveContextResponse as Nn, ArtifactLifecycleHookEvent as Nr, ArtifactPatchOperationResultSchema as Nt, ArtifactLifecycleCommittedPayloadSchema as O, ArtifactRelationTypeListRequest as On, AfterArtifactHookRegistration as Or, ArtifactPatchIssue as Ot, ArtifactLifecycleGetResponseSchema as P, ArtifactResolveRequest as Pn, ArtifactLifecycleHookRegistration$1 as Pr, ArtifactPatchOperator as Pt, ArtifactLifecycleInitializedEntry as Q, ArtifactContextRefEntry as Qn, deriveArtifactSlug as Qr, ArtifactPartResolution as Qt, ArtifactLifecycleHistoryResponseSchema as R, ArtifactRevisedPayload as Rn, defineArtifactLifecycleHooks as Rr, ArtifactPatchRequestSchema as Rt, ArtifactRelationTargetIdentity as S, ArtifactNamespace as Sn, AnyArtifactKindDefinition as Sr, ArtifactPatchDryRunSchema as St, describeArtifactRelationTargetIdentity as T, ArtifactPatchSubjectResponse as Tn, ArtifactOf as Tr, ArtifactPatchErrorSchema as Tt, ArtifactLifecycleTransitionResponseSchema as U, ArtifactResolvePartRequestSchema as Un, EvidenceResolveRequestSchema as Ur, ArtifactPatchSuccessSchema as Ut, ArtifactLifecycleSchemas as V, ArtifactSubjects$1 as Vn, extractEvidenceOccurrences as Vr, ArtifactPatchSegment as Vt, toArtifactLifecycleFailure as W, ArtifactResolvePartResponse as Wn, EvidenceResolveResponse as Wr, ArtifactPatchTarget as Wt, ArtifactLifecycleHistoryEntrySchema as X, ResolvedArtifactContextNode as Xn, ArtifactSlug as Xr, artifactPatchSegments as Xt, ArtifactLifecycleHistoryEntry as Y, ArtifactContextTree as Yn, ARTIFACT_SLUG_PATTERN as Yr, artifactPatchSegment as Yt, ArtifactLifecycleIdentitySchema as Z, UnresolvedArtifactContextNode as Zn, ArtifactSlugSchema as Zr, ARTIFACT_RESOLVE_PART_ERROR_CODES as Zt, UniquenessSelectorCapability as _, ArtifactKindChangedPayload as _n, ArtifactDataChecker as _r, ARTIFACT_PATCH_OPERATORS as _t, normalizeRelationTypeRegistration$1 as a, resolveArtifactPart as an, ARTIFACT_CONTEXT_RELATION_DIRECTIONS as ar, ArtifactLifecycleSnapshotSchema as at, buildUniquenessKeys as b, ArtifactKindRegisterRequest as bn, compileArtifactDataChecker as br, ArtifactPatchDocument as bt, RelationRequirementIssueReason as c, ArtifactSchemaFragment as cn, ArtifactContextRelationDirection as cr, ArtifactLifecycleTransitionIntent as ct, UniquenessDataKeyPart as d, readArtifactTitle as dn, ArtifactContextRelationSelectorSchema as dr, ArtifactLifecycleTransitionedEntrySchema as dt, ARTIFACT_VALUE_TYPE_KEYWORD as ei, ArtifactResolvePartError as en, ArtifactContextUnresolvedReason as er, ArtifactLifecycleRejection as et, UniquenessKey as f, ArtifactCreateRequest as fn, ArtifactContextRenderHint as fr, ArtifactLifecycleVersionSchema as ft, UniquenessRelationTargetKeyPart as g, ArtifactEvidenceResolveResponse$1 as gn, ArtifactDataCheck as gr, ARTIFACT_PATCH_ERROR_CODES as gt, UniquenessKeyPart as h, ArtifactEvidenceResolveRequest as hn, ArtifactContextSelectorSchema as hr, isArtifactLifecycleTransitionAllowed as ht, mergeRelationTypeRegistrations$1 as i, checkArtifactRelationSourceParts as in, artifactRevisionKey as ir, ArtifactLifecycleSnapshot as it, ArtifactLifecycleGetRequest as j, ArtifactRelationTypeRegisterResponse as jn, ArtifactHookFilter as jr, ArtifactPatchMigrationSchema as jt, ArtifactLifecycleFailure as k, ArtifactRelationTypeListResponse as kn, ArtifactDraft as kr, ArtifactPatchIssueSchema as kt, evaluateRelationRequirements as l, inspectArtifactDataLocation as ln, ArtifactContextRelationDirectionSchema as lr, ArtifactLifecycleTransitionIntentSchema as lt, UniquenessKeyIssueReason as m, ArtifactCreatedPayload as mn, ArtifactContextSelector$1 as mr, initialArtifactLifecycle as mt, RelationEndpointCandidate as n, EvidenceValue$1 as ni, ArtifactResolvePartErrorSchema as nn, ResolvedArtifactContextWire$1 as nr, ArtifactLifecycleSituation as nt, relationTypePermits as o, validateArtifactPartAreas as on, ARTIFACT_CONTEXT_RENDER_HINTS as or, ArtifactLifecycleTransitionCommand as ot, UniquenessKeyIssue as p, ArtifactCreateResponse as pn, ArtifactContextRenderHintSchema as pr, advanceArtifactLifecycle as pt, ArtifactLifecycleCurrentSchema as q, ArtifactContextNode as qn, ARTIFACT_DERIVED_SLUG_MAX_LENGTH as qr, artifactPatchInstructions as qt, RelationTypeConflictError as r, EvidenceValueSchema$1 as ri, checkArtifactPartIds as rn, ResolvedArtifactContextWireSchema as rr, ArtifactLifecycleSituationSchema as rt, RelationRequirementIssue as s, ARTIFACT_COLLECTION_ELEMENT_SEGMENT as sn, ArtifactContextKnownRenderHint as sr, ArtifactLifecycleTransitionCommandSchema as st, NormalizedRelationTypeRegistration$1 as t, EVIDENCE_VALUE_TYPE as ti, ArtifactResolvePartErrorCode as tn, ArtifactContextUnresolvedReasonSchema as tr, ArtifactLifecycleRejectionSchema as tt, BuildUniquenessKeysResult as u, isArtifactDataPathDeclared as un, ArtifactContextRelationSelector as ur, ArtifactLifecycleTransitionedEntry as ut, UniquenessSupportIssue as v, ArtifactKindListRequest as vn, ArtifactDataIssue as vr, ArtifactPatchArrayFilter as vt, artifactRelationTargetIdentity as w, ArtifactPatchSubjectRequest as wn, ArtifactKindDefinition as wr, ArtifactPatchErrorCode as wt, describeUniquenessKey as x, ArtifactKindRegisterResponse as xn, compileArtifactDataSchema as xr, ArtifactPatchDocumentSchema as xt, assessUniquenessSupport as y, ArtifactKindListResponse as yn, ArtifactDataValidator as yr, ArtifactPatchArrayFilterSchema as yt, ArtifactLifecycleRejectedPayload as z, ArtifactSchemas$1 as zn, EvidenceOccurrence as zr, ArtifactPatchResponse as zt };