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

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 (94) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +20 -20
  3. package/dist/artifact-BbNQHNDL.mjs +1 -0
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/bus-CtT6XeB_.mjs +9 -0
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  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 +58 -58
  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/worker/index.d.mts +1 -1
  22. package/dist/contracts/worker/index.mjs +1 -1
  23. package/dist/contracts/workflow/index.d.mts +2 -2
  24. package/dist/contracts/workflow/index.mjs +1 -1
  25. package/dist/{contribution-CsDOPiDo.d.mts → contribution-CCVRsaNB.d.mts} +1 -1
  26. package/dist/{extension-context-BY9o1ITm.d.mts → extension-context-BWrjVPXR.d.mts} +3 -3
  27. package/dist/{framework-packages-blqho6Nk.mjs → framework-packages-CdpSqDeo.mjs} +1 -1
  28. package/dist/{hook-responses-Xxq6QAL2.d.mts → hook-responses-v6EA_7WC.d.mts} +1 -1
  29. package/dist/{index-D9Ome4qp.d.mts → index-BXaNt9GP.d.mts} +1 -1
  30. package/dist/{index-DWWP2cUb.d.mts → index-Bt6KIvVk.d.mts} +1 -1
  31. package/dist/{index-PymaxRkQ2.d.mts → index-CFet5T7v2.d.mts} +6 -6
  32. package/dist/{index-VG-C-ZHN.d.mts → index-CgcMrxhm.d.mts} +16 -16
  33. package/dist/{index-Dnc0PaTv2.d.mts → index-ChwEMUbc2.d.mts} +12 -12
  34. package/dist/{index-OA1A-NWE.d.mts → index-CjM6Fi-N.d.mts} +1 -1
  35. package/dist/{index-DMFFSC7x.d.mts → index-Cxx1aoPR.d.mts} +1 -1
  36. package/dist/{index-D_Zdnh0U.d.mts → index-D5eIy_qx.d.mts} +7 -7
  37. package/dist/{index-CDezXPm9.d.mts → index-DBkmFhrn.d.mts} +411 -289
  38. package/dist/{index-C9X6ei7S.d.mts → index-DneUbrTU.d.mts} +4 -4
  39. package/dist/{index-CnVhfLrY.d.mts → index-DnsMV2xK.d.mts} +57 -57
  40. package/dist/{index-Fmdwbgei.d.mts → index-HsD17NLG.d.mts} +1 -1
  41. package/dist/{index-BrnOW7-5.d.mts → index-Rd9Teoza.d.mts} +1 -1
  42. package/dist/{index-Fo4ALycy.d.mts → index-y6zuCdvH.d.mts} +26 -26
  43. package/dist/kernel/extension/index.d.mts +2 -2
  44. package/dist/kernel/index.d.mts +2 -2
  45. package/dist/kernel/observability/index.d.mts +1 -1
  46. package/dist/{materialization-BzSgnv2R.mjs → materialization-C1qlFBV2.mjs} +1 -1
  47. package/dist/{namespace-BH9U2C1O.d.mts → namespace-ChJ-C9m_.d.mts} +2 -2
  48. package/dist/package.json +1 -1
  49. package/dist/packages-BOM7wECe.mjs +1 -0
  50. package/dist/{packages-Fy4a6vQy.d.mts → packages-g6BtlUF9.d.mts} +9 -6
  51. package/dist/{schemas-JPaSXxNr.d.mts → schemas-BBMHnFq8.d.mts} +4 -4
  52. package/dist/{schemas-CEc_v3dl.d.mts → schemas-DKaUrczB.d.mts} +2 -2
  53. package/dist/{schemas-DyTbvDp-.d.mts → schemas-DnrIc9g7.d.mts} +50 -11
  54. package/dist/{schemas-BYEgjPst2.d.mts → schemas-DrrpHMbF2.d.mts} +7 -7
  55. package/dist/{schemas-CiJpGURT.d.mts → schemas-Y3EJu698.d.mts} +2 -2
  56. package/dist/{schemas-BvDsO8Is.mjs → schemas-uNzmiLso.mjs} +1 -1
  57. package/dist/services/context-rules/index.d.mts +3 -3
  58. package/dist/services/execution-target/index.d.mts +2 -2
  59. package/dist/services/execution-target/namespace.d.mts +1 -1
  60. package/dist/services/execution-target/schemas.d.mts +1 -1
  61. package/dist/services/filesystem/namespace.d.mts +6 -6
  62. package/dist/services/filesystem/schemas.d.mts +3 -3
  63. package/dist/services/git/namespace.d.mts +2 -2
  64. package/dist/services/git/schemas.d.mts +2 -2
  65. package/dist/services/index.d.mts +18 -18
  66. package/dist/services/index.mjs +1 -1
  67. package/dist/services/materialization/index.d.mts +1 -1
  68. package/dist/services/materialization/index.mjs +1 -1
  69. package/dist/services/preferences/index.d.mts +2 -2
  70. package/dist/services/preferences/schemas.d.mts +1 -1
  71. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  72. package/dist/services/session/handlers/index.d.mts +1 -1
  73. package/dist/services/session/index.d.mts +2 -2
  74. package/dist/services/settings/namespace.d.mts +2 -2
  75. package/dist/services/subagent-template/index.d.mts +1 -1
  76. package/dist/services/subagent-template/schemas.d.mts +1 -1
  77. package/dist/services/tools/index.mjs +1 -1
  78. package/dist/services/workflow-transitions/index.mjs +1 -1
  79. package/dist/{session-lineage-DZr5w2-z.d.mts → session-lineage-Bjh0Ccu7.d.mts} +1 -1
  80. package/dist/{storage-namespace-Cl8qtHDu.d.mts → storage-namespace-DoxNJ9Cg.d.mts} +10 -10
  81. package/dist/{tools-Cbuj-ClQ.mjs → tools-EK2HiPee.mjs} +1 -1
  82. package/dist/{transition-CzxHvafT.d.mts → transition-yohyGRmc.d.mts} +1 -1
  83. package/dist/ui-kernel/index.d.mts +4 -4
  84. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  85. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  86. package/dist/{view-builder-BLdSezFD.d.mts → view-builder-BjVjGZAI.d.mts} +2 -2
  87. package/dist/{worker-toBnRJ0A.mjs → worker-DulBFC0P.mjs} +1 -1
  88. package/dist/{workflow-BDDB6EJi.mjs → workflow-Dvv_8Xu6.mjs} +1 -1
  89. package/dist/workflow-engine/index.d.mts +31 -31
  90. package/dist/{workflow-transitions-CvT6P03B.mjs → workflow-transitions-ztq90FUj.mjs} +1 -1
  91. package/package.json +1 -1
  92. package/dist/artifact-XE82Q2bH.mjs +0 -1
  93. package/dist/bus-B-ksy7YX.mjs +0 -9
  94. 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-DnrIc9g7.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,30 @@ 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
+ }, z.core.$strip>>>;
1309
1313
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1310
1314
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1311
1315
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1312
1316
  local: "local";
1313
- artifact: "artifact";
1314
1317
  evidence: "evidence";
1318
+ artifact: "artifact";
1315
1319
  entity: "entity";
1316
1320
  }>>>;
1321
+ type: z.ZodString;
1322
+ symmetry: z.ZodEnum<{
1323
+ asymmetric: "asymmetric";
1324
+ symmetric: "symmetric";
1325
+ }>;
1326
+ implication: z.ZodOptional<z.ZodString>;
1317
1327
  }, z.core.$strip>;
1318
1328
  response: z.ZodObject<{
1319
1329
  registered: z.ZodBoolean;
@@ -1325,20 +1335,30 @@ declare const ArtifactSchemas$1: {
1325
1335
  }, z.core.$strip>;
1326
1336
  response: z.ZodObject<{
1327
1337
  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>;
1338
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1339
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1340
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1341
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1342
+ local: "local";
1343
+ evidence: "evidence";
1344
+ artifact: "artifact";
1345
+ entity: "entity";
1346
+ }>>>;
1347
+ }, z.core.$strip>>>;
1334
1348
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1335
1349
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1336
1350
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1337
1351
  local: "local";
1338
- artifact: "artifact";
1339
1352
  evidence: "evidence";
1353
+ artifact: "artifact";
1340
1354
  entity: "entity";
1341
1355
  }>>>;
1356
+ type: z.ZodString;
1357
+ symmetry: z.ZodEnum<{
1358
+ asymmetric: "asymmetric";
1359
+ symmetric: "symmetric";
1360
+ }>;
1361
+ implication: z.ZodOptional<z.ZodString>;
1342
1362
  }, z.core.$strip>>;
1343
1363
  }, z.core.$strip>;
1344
1364
  }; /** Create a new artifact and its first revision (RPC). */
@@ -1346,46 +1366,6 @@ declare const ArtifactSchemas$1: {
1346
1366
  request: z.ZodObject<{
1347
1367
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1348
1368
  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
1369
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1390
1370
  source: z.ZodObject<{
1391
1371
  kind: z.ZodLiteral<"git-file">;
@@ -1433,6 +1413,46 @@ declare const ArtifactSchemas$1: {
1433
1413
  }, z.core.$strict>]>;
1434
1414
  excerpt: z.ZodOptional<z.ZodString>;
1435
1415
  }, z.core.$strict>]>>>;
1416
+ createdAt: z.ZodOptional<z.ZodNumber>;
1417
+ schemaVersion: z.ZodNumber;
1418
+ scope: z.ZodObject<{
1419
+ level: z.ZodString;
1420
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1421
+ }, z.core.$strip>;
1422
+ actor: z.ZodObject<{
1423
+ kind: z.ZodString;
1424
+ id: z.ZodString;
1425
+ displayName: z.ZodOptional<z.ZodString>;
1426
+ }, z.core.$strip>;
1427
+ relations: z.ZodArray<z.ZodObject<{
1428
+ type: z.ZodString;
1429
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1430
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1431
+ refClass: z.ZodLiteral<"artifact">;
1432
+ kind: z.ZodString;
1433
+ id: z.ZodString;
1434
+ revision: z.ZodString;
1435
+ }, z.core.$strict>, z.ZodObject<{
1436
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1437
+ artifact: z.ZodObject<{
1438
+ refClass: z.ZodLiteral<"artifact">;
1439
+ kind: z.ZodString;
1440
+ id: z.ZodString;
1441
+ revision: z.ZodString;
1442
+ }, z.core.$strict>;
1443
+ localId: z.ZodString;
1444
+ }, z.core.$strip>, z.ZodObject<{
1445
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1446
+ kind: z.ZodString;
1447
+ id: z.ZodString;
1448
+ revision: z.ZodOptional<z.ZodString>;
1449
+ locator: z.ZodOptional<z.ZodString>;
1450
+ }, z.core.$strip>, z.ZodObject<{
1451
+ refClass: z.ZodLiteral<"entity">;
1452
+ entityType: z.ZodString;
1453
+ id: z.ZodString;
1454
+ }, z.core.$strict>], "refClass">>;
1455
+ }, z.core.$strip>>;
1436
1456
  confidence: z.ZodOptional<z.ZodObject<{
1437
1457
  level: z.ZodEnum<{
1438
1458
  inferred: "inferred";
@@ -1644,46 +1664,6 @@ declare const ArtifactSchemas$1: {
1644
1664
  revision: z.ZodObject<{
1645
1665
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1646
1666
  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
1667
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1688
1668
  source: z.ZodObject<{
1689
1669
  kind: z.ZodLiteral<"git-file">;
@@ -1731,6 +1711,46 @@ declare const ArtifactSchemas$1: {
1731
1711
  }, z.core.$strict>]>;
1732
1712
  excerpt: z.ZodOptional<z.ZodString>;
1733
1713
  }, z.core.$strict>]>>>;
1714
+ createdAt: z.ZodOptional<z.ZodNumber>;
1715
+ schemaVersion: z.ZodNumber;
1716
+ scope: z.ZodObject<{
1717
+ level: z.ZodString;
1718
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1719
+ }, z.core.$strip>;
1720
+ actor: z.ZodObject<{
1721
+ kind: z.ZodString;
1722
+ id: z.ZodString;
1723
+ displayName: z.ZodOptional<z.ZodString>;
1724
+ }, z.core.$strip>;
1725
+ relations: z.ZodArray<z.ZodObject<{
1726
+ type: z.ZodString;
1727
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1728
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1729
+ refClass: z.ZodLiteral<"artifact">;
1730
+ kind: z.ZodString;
1731
+ id: z.ZodString;
1732
+ revision: z.ZodString;
1733
+ }, z.core.$strict>, z.ZodObject<{
1734
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1735
+ artifact: z.ZodObject<{
1736
+ refClass: z.ZodLiteral<"artifact">;
1737
+ kind: z.ZodString;
1738
+ id: z.ZodString;
1739
+ revision: z.ZodString;
1740
+ }, z.core.$strict>;
1741
+ localId: z.ZodString;
1742
+ }, z.core.$strip>, z.ZodObject<{
1743
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1744
+ kind: z.ZodString;
1745
+ id: z.ZodString;
1746
+ revision: z.ZodOptional<z.ZodString>;
1747
+ locator: z.ZodOptional<z.ZodString>;
1748
+ }, z.core.$strip>, z.ZodObject<{
1749
+ refClass: z.ZodLiteral<"entity">;
1750
+ entityType: z.ZodString;
1751
+ id: z.ZodString;
1752
+ }, z.core.$strict>], "refClass">>;
1753
+ }, z.core.$strip>>;
1734
1754
  confidence: z.ZodOptional<z.ZodObject<{
1735
1755
  level: z.ZodEnum<{
1736
1756
  inferred: "inferred";
@@ -4111,20 +4131,30 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4111
4131
  }; /** Register a new relation type with the artifact service (RPC). */
4112
4132
  'relation-type.register': {
4113
4133
  request: z.ZodObject<{
4114
- type: z.ZodString;
4115
- symmetry: z.ZodEnum<{
4116
- asymmetric: "asymmetric";
4117
- symmetric: "symmetric";
4118
- }>;
4119
- implication: z.ZodOptional<z.ZodString>;
4134
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
4135
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4136
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4137
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4138
+ local: "local";
4139
+ evidence: "evidence";
4140
+ artifact: "artifact";
4141
+ entity: "entity";
4142
+ }>>>;
4143
+ }, z.core.$strip>>>;
4120
4144
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4121
4145
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4122
4146
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4123
4147
  local: "local";
4124
- artifact: "artifact";
4125
4148
  evidence: "evidence";
4149
+ artifact: "artifact";
4126
4150
  entity: "entity";
4127
4151
  }>>>;
4152
+ type: z.ZodString;
4153
+ symmetry: z.ZodEnum<{
4154
+ asymmetric: "asymmetric";
4155
+ symmetric: "symmetric";
4156
+ }>;
4157
+ implication: z.ZodOptional<z.ZodString>;
4128
4158
  }, z.core.$strip>;
4129
4159
  response: z.ZodObject<{
4130
4160
  registered: z.ZodBoolean;
@@ -4136,20 +4166,30 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4136
4166
  }, z.core.$strip>;
4137
4167
  response: z.ZodObject<{
4138
4168
  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>;
4169
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
4170
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4171
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4172
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4173
+ local: "local";
4174
+ evidence: "evidence";
4175
+ artifact: "artifact";
4176
+ entity: "entity";
4177
+ }>>>;
4178
+ }, z.core.$strip>>>;
4145
4179
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4146
4180
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4147
4181
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4148
4182
  local: "local";
4149
- artifact: "artifact";
4150
4183
  evidence: "evidence";
4184
+ artifact: "artifact";
4151
4185
  entity: "entity";
4152
4186
  }>>>;
4187
+ type: z.ZodString;
4188
+ symmetry: z.ZodEnum<{
4189
+ asymmetric: "asymmetric";
4190
+ symmetric: "symmetric";
4191
+ }>;
4192
+ implication: z.ZodOptional<z.ZodString>;
4153
4193
  }, z.core.$strip>>;
4154
4194
  }, z.core.$strip>;
4155
4195
  }; /** Create a new artifact and its first revision (RPC). */
@@ -4157,46 +4197,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4157
4197
  request: z.ZodObject<{
4158
4198
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4159
4199
  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
4200
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4201
4201
  source: z.ZodObject<{
4202
4202
  kind: z.ZodLiteral<"git-file">;
@@ -4244,6 +4244,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4244
4244
  }, z.core.$strict>]>;
4245
4245
  excerpt: z.ZodOptional<z.ZodString>;
4246
4246
  }, z.core.$strict>]>>>;
4247
+ createdAt: z.ZodOptional<z.ZodNumber>;
4248
+ schemaVersion: z.ZodNumber;
4249
+ scope: z.ZodObject<{
4250
+ level: z.ZodString;
4251
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4252
+ }, z.core.$strip>;
4253
+ actor: z.ZodObject<{
4254
+ kind: z.ZodString;
4255
+ id: z.ZodString;
4256
+ displayName: z.ZodOptional<z.ZodString>;
4257
+ }, z.core.$strip>;
4258
+ relations: z.ZodArray<z.ZodObject<{
4259
+ type: z.ZodString;
4260
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4261
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4262
+ refClass: z.ZodLiteral<"artifact">;
4263
+ kind: z.ZodString;
4264
+ id: z.ZodString;
4265
+ revision: z.ZodString;
4266
+ }, z.core.$strict>, z.ZodObject<{
4267
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4268
+ artifact: z.ZodObject<{
4269
+ refClass: z.ZodLiteral<"artifact">;
4270
+ kind: z.ZodString;
4271
+ id: z.ZodString;
4272
+ revision: z.ZodString;
4273
+ }, z.core.$strict>;
4274
+ localId: z.ZodString;
4275
+ }, z.core.$strip>, z.ZodObject<{
4276
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4277
+ kind: z.ZodString;
4278
+ id: z.ZodString;
4279
+ revision: z.ZodOptional<z.ZodString>;
4280
+ locator: z.ZodOptional<z.ZodString>;
4281
+ }, z.core.$strip>, z.ZodObject<{
4282
+ refClass: z.ZodLiteral<"entity">;
4283
+ entityType: z.ZodString;
4284
+ id: z.ZodString;
4285
+ }, z.core.$strict>], "refClass">>;
4286
+ }, z.core.$strip>>;
4247
4287
  confidence: z.ZodOptional<z.ZodObject<{
4248
4288
  level: z.ZodEnum<{
4249
4289
  inferred: "inferred";
@@ -4450,51 +4490,11 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4450
4490
  kind: z.ZodString;
4451
4491
  id: z.ZodString;
4452
4492
  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>>;
4493
+ }, z.core.$strict>;
4494
+ statusPath: z.ZodOptional<z.ZodString>;
4495
+ revision: z.ZodObject<{
4496
+ data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4497
+ kind: z.ZodString;
4498
4498
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4499
4499
  source: z.ZodObject<{
4500
4500
  kind: z.ZodLiteral<"git-file">;
@@ -4542,6 +4542,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4542
4542
  }, z.core.$strict>]>;
4543
4543
  excerpt: z.ZodOptional<z.ZodString>;
4544
4544
  }, z.core.$strict>]>>>;
4545
+ createdAt: z.ZodOptional<z.ZodNumber>;
4546
+ schemaVersion: z.ZodNumber;
4547
+ scope: z.ZodObject<{
4548
+ level: z.ZodString;
4549
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4550
+ }, z.core.$strip>;
4551
+ actor: z.ZodObject<{
4552
+ kind: z.ZodString;
4553
+ id: z.ZodString;
4554
+ displayName: z.ZodOptional<z.ZodString>;
4555
+ }, z.core.$strip>;
4556
+ relations: z.ZodArray<z.ZodObject<{
4557
+ type: z.ZodString;
4558
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4559
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4560
+ refClass: z.ZodLiteral<"artifact">;
4561
+ kind: z.ZodString;
4562
+ id: z.ZodString;
4563
+ revision: z.ZodString;
4564
+ }, z.core.$strict>, z.ZodObject<{
4565
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4566
+ artifact: z.ZodObject<{
4567
+ refClass: z.ZodLiteral<"artifact">;
4568
+ kind: z.ZodString;
4569
+ id: z.ZodString;
4570
+ revision: z.ZodString;
4571
+ }, z.core.$strict>;
4572
+ localId: z.ZodString;
4573
+ }, z.core.$strip>, z.ZodObject<{
4574
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4575
+ kind: z.ZodString;
4576
+ id: z.ZodString;
4577
+ revision: z.ZodOptional<z.ZodString>;
4578
+ locator: z.ZodOptional<z.ZodString>;
4579
+ }, z.core.$strip>, z.ZodObject<{
4580
+ refClass: z.ZodLiteral<"entity">;
4581
+ entityType: z.ZodString;
4582
+ id: z.ZodString;
4583
+ }, z.core.$strict>], "refClass">>;
4584
+ }, z.core.$strip>>;
4545
4585
  confidence: z.ZodOptional<z.ZodObject<{
4546
4586
  level: z.ZodEnum<{
4547
4587
  inferred: "inferred";
@@ -6944,20 +6984,30 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6944
6984
  }; /** Register a new relation type with the artifact service (RPC). */
6945
6985
  'relation-type.register': {
6946
6986
  request: z.ZodObject<{
6947
- type: z.ZodString;
6948
- symmetry: z.ZodEnum<{
6949
- asymmetric: "asymmetric";
6950
- symmetric: "symmetric";
6951
- }>;
6952
- implication: z.ZodOptional<z.ZodString>;
6987
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
6988
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6989
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6990
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6991
+ local: "local";
6992
+ evidence: "evidence";
6993
+ artifact: "artifact";
6994
+ entity: "entity";
6995
+ }>>>;
6996
+ }, z.core.$strip>>>;
6953
6997
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6954
6998
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6955
6999
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6956
7000
  local: "local";
6957
- artifact: "artifact";
6958
7001
  evidence: "evidence";
7002
+ artifact: "artifact";
6959
7003
  entity: "entity";
6960
7004
  }>>>;
7005
+ type: z.ZodString;
7006
+ symmetry: z.ZodEnum<{
7007
+ asymmetric: "asymmetric";
7008
+ symmetric: "symmetric";
7009
+ }>;
7010
+ implication: z.ZodOptional<z.ZodString>;
6961
7011
  }, z.core.$strip>;
6962
7012
  response: z.ZodObject<{
6963
7013
  registered: z.ZodBoolean;
@@ -6969,20 +7019,30 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6969
7019
  }, z.core.$strip>;
6970
7020
  response: z.ZodObject<{
6971
7021
  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>;
7022
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7023
+ sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
7024
+ targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
7025
+ targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7026
+ local: "local";
7027
+ evidence: "evidence";
7028
+ artifact: "artifact";
7029
+ entity: "entity";
7030
+ }>>>;
7031
+ }, z.core.$strip>>>;
6978
7032
  sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6979
7033
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6980
7034
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6981
7035
  local: "local";
6982
- artifact: "artifact";
6983
7036
  evidence: "evidence";
7037
+ artifact: "artifact";
6984
7038
  entity: "entity";
6985
7039
  }>>>;
7040
+ type: z.ZodString;
7041
+ symmetry: z.ZodEnum<{
7042
+ asymmetric: "asymmetric";
7043
+ symmetric: "symmetric";
7044
+ }>;
7045
+ implication: z.ZodOptional<z.ZodString>;
6986
7046
  }, z.core.$strip>>;
6987
7047
  }, z.core.$strip>;
6988
7048
  }; /** Create a new artifact and its first revision (RPC). */
@@ -6990,46 +7050,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6990
7050
  request: z.ZodObject<{
6991
7051
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6992
7052
  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
7053
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
7034
7054
  source: z.ZodObject<{
7035
7055
  kind: z.ZodLiteral<"git-file">;
@@ -7077,6 +7097,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7077
7097
  }, z.core.$strict>]>;
7078
7098
  excerpt: z.ZodOptional<z.ZodString>;
7079
7099
  }, z.core.$strict>]>>>;
7100
+ createdAt: z.ZodOptional<z.ZodNumber>;
7101
+ schemaVersion: z.ZodNumber;
7102
+ scope: z.ZodObject<{
7103
+ level: z.ZodString;
7104
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7105
+ }, z.core.$strip>;
7106
+ actor: z.ZodObject<{
7107
+ kind: z.ZodString;
7108
+ id: z.ZodString;
7109
+ displayName: z.ZodOptional<z.ZodString>;
7110
+ }, z.core.$strip>;
7111
+ relations: z.ZodArray<z.ZodObject<{
7112
+ type: z.ZodString;
7113
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7114
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7115
+ refClass: z.ZodLiteral<"artifact">;
7116
+ kind: z.ZodString;
7117
+ id: z.ZodString;
7118
+ revision: z.ZodString;
7119
+ }, z.core.$strict>, z.ZodObject<{
7120
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7121
+ artifact: z.ZodObject<{
7122
+ refClass: z.ZodLiteral<"artifact">;
7123
+ kind: z.ZodString;
7124
+ id: z.ZodString;
7125
+ revision: z.ZodString;
7126
+ }, z.core.$strict>;
7127
+ localId: z.ZodString;
7128
+ }, z.core.$strip>, z.ZodObject<{
7129
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7130
+ kind: z.ZodString;
7131
+ id: z.ZodString;
7132
+ revision: z.ZodOptional<z.ZodString>;
7133
+ locator: z.ZodOptional<z.ZodString>;
7134
+ }, z.core.$strip>, z.ZodObject<{
7135
+ refClass: z.ZodLiteral<"entity">;
7136
+ entityType: z.ZodString;
7137
+ id: z.ZodString;
7138
+ }, z.core.$strict>], "refClass">>;
7139
+ }, z.core.$strip>>;
7080
7140
  confidence: z.ZodOptional<z.ZodObject<{
7081
7141
  level: z.ZodEnum<{
7082
7142
  inferred: "inferred";
@@ -7288,46 +7348,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7288
7348
  revision: z.ZodObject<{
7289
7349
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7290
7350
  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
7351
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
7332
7352
  source: z.ZodObject<{
7333
7353
  kind: z.ZodLiteral<"git-file">;
@@ -7375,6 +7395,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7375
7395
  }, z.core.$strict>]>;
7376
7396
  excerpt: z.ZodOptional<z.ZodString>;
7377
7397
  }, z.core.$strict>]>>>;
7398
+ createdAt: z.ZodOptional<z.ZodNumber>;
7399
+ schemaVersion: z.ZodNumber;
7400
+ scope: z.ZodObject<{
7401
+ level: z.ZodString;
7402
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7403
+ }, z.core.$strip>;
7404
+ actor: z.ZodObject<{
7405
+ kind: z.ZodString;
7406
+ id: z.ZodString;
7407
+ displayName: z.ZodOptional<z.ZodString>;
7408
+ }, z.core.$strip>;
7409
+ relations: z.ZodArray<z.ZodObject<{
7410
+ type: z.ZodString;
7411
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7412
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7413
+ refClass: z.ZodLiteral<"artifact">;
7414
+ kind: z.ZodString;
7415
+ id: z.ZodString;
7416
+ revision: z.ZodString;
7417
+ }, z.core.$strict>, z.ZodObject<{
7418
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7419
+ artifact: z.ZodObject<{
7420
+ refClass: z.ZodLiteral<"artifact">;
7421
+ kind: z.ZodString;
7422
+ id: z.ZodString;
7423
+ revision: z.ZodString;
7424
+ }, z.core.$strict>;
7425
+ localId: z.ZodString;
7426
+ }, z.core.$strip>, z.ZodObject<{
7427
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7428
+ kind: z.ZodString;
7429
+ id: z.ZodString;
7430
+ revision: z.ZodOptional<z.ZodString>;
7431
+ locator: z.ZodOptional<z.ZodString>;
7432
+ }, z.core.$strip>, z.ZodObject<{
7433
+ refClass: z.ZodLiteral<"entity">;
7434
+ entityType: z.ZodString;
7435
+ id: z.ZodString;
7436
+ }, z.core.$strict>], "refClass">>;
7437
+ }, z.core.$strip>>;
7378
7438
  confidence: z.ZodOptional<z.ZodObject<{
7379
7439
  level: z.ZodEnum<{
7380
7440
  inferred: "inferred";
@@ -12268,4 +12328,66 @@ interface RelationRequirementIssue {
12268
12328
  */
12269
12329
  declare function evaluateRelationRequirements(requirements: readonly ArtifactRelationRequirement[] | undefined, relations: readonly ArtifactRelation[], data: Record<string, unknown> | undefined): RelationRequirementIssue[];
12270
12330
  //#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 };
12331
+ //#region core/contracts/src/artifact/relation-endpoints.d.ts
12332
+ /** The source kind, target reference class and optional target kind of one concrete relation. */
12333
+ interface RelationEndpointCandidate {
12334
+ /** Kind of the source artifact. */
12335
+ readonly sourceKind: string;
12336
+ /** Reference class of the relation target. */
12337
+ readonly targetRefClass: RelationTargetRefClass;
12338
+ /** Kind of the target, when the target carries one. */
12339
+ readonly targetKind?: string;
12340
+ }
12341
+ /** Thrown when two registrations of the same relation type disagree on a per-type property. */
12342
+ declare class RelationTypeConflictError extends Error {
12343
+ /** The relation type the conflict concerns. */
12344
+ readonly type: string;
12345
+ /** The per-type property the registrations disagree on. */
12346
+ readonly field: 'symmetry' | 'implication';
12347
+ /**
12348
+ * @param type - Relation type of the existing registration.
12349
+ * @param field - Property the registrations disagree on.
12350
+ * @param existing - Value on the existing registration.
12351
+ * @param next - Conflicting value on the further registration.
12352
+ */
12353
+ constructor(type: string, field: 'symmetry' | 'implication', existing: string, next: string);
12354
+ }
12355
+ /**
12356
+ * Normal form of a registration: shorthand folded into `endpoints`; an open
12357
+ * type carries no endpoints.
12358
+ */
12359
+ type NormalizedRelationTypeRegistration$1 = Omit<RelationTypeRegistration, 'sourceKinds' | 'targetKinds' | 'targetRefClasses'>;
12360
+ /**
12361
+ * Whether at least one endpoint of the registration permits the candidate.
12362
+ * A self-inverse symmetric registration also permits the reversed candidate
12363
+ * (see {@link reversedCandidate}). Each entry is checked whole, forward or
12364
+ * reversed, so kinds from different entries never mix.
12365
+ * @param registration - The registration to test.
12366
+ * @param candidate - The concrete relation to test.
12367
+ * @returns True when any endpoint entry permits the candidate, or its reversal where one applies.
12368
+ */
12369
+ declare function relationTypePermits(registration: RelationTypeRegistration, candidate: RelationEndpointCandidate): boolean;
12370
+ /**
12371
+ * Normal form of a registration: shorthand folded into `endpoints`; lists
12372
+ * sorted and deduplicated; structurally equal entries deduplicated. An entry
12373
+ * without any constraint makes the type open, in which case `endpoints` is
12374
+ * omitted. The result never carries the shorthand fields.
12375
+ * @param registration - The registration to normalise.
12376
+ * @returns A new normalised registration.
12377
+ */
12378
+ declare function normalizeRelationTypeRegistration$1(registration: RelationTypeRegistration): NormalizedRelationTypeRegistration$1;
12379
+ /**
12380
+ * Merges a further contribution into an existing registration of the same type.
12381
+ * `implication` is taken from whichever side has it. Endpoints are the
12382
+ * normalised union of both entry lists. An unconstrained side makes the merged
12383
+ * type open (its `endpoints` are omitted), because an open entry permits every
12384
+ * pair. Mutates neither input.
12385
+ * @param existing - The existing registration.
12386
+ * @param next - The further contribution.
12387
+ * @returns A new normalised registration.
12388
+ * @throws Error when `type` differs.
12389
+ * @throws RelationTypeConflictError when `symmetry` differs, or when both carry a differing `implication`.
12390
+ */
12391
+ declare function mergeRelationTypeRegistrations$1(existing: RelationTypeRegistration, next: RelationTypeRegistration): NormalizedRelationTypeRegistration$1;
12392
+ //#endregion
12393
+ 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 };