@makaio/framework 1.0.0-dev-1790585290134 → 1.0.0-dev-1790589224264

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 (52) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/contracts/adapter/index.d.mts +1 -1
  3. package/dist/contracts/artifact/index.d.mts +2 -2
  4. package/dist/contracts/capabilities/index.d.mts +1 -1
  5. package/dist/contracts/client/index.d.mts +1 -1
  6. package/dist/contracts/extension/index.d.mts +2 -2
  7. package/dist/contracts/harness/index.d.mts +1 -1
  8. package/dist/contracts/index.d.mts +57 -57
  9. package/dist/contracts/materialization/index.d.mts +2 -2
  10. package/dist/contracts/session/index.d.mts +2 -2
  11. package/dist/contracts/worker/index.d.mts +1 -1
  12. package/dist/contracts/workflow/index.d.mts +2 -2
  13. package/dist/{index-CfELOEbZ.d.mts → index-BGkVbgfn.d.mts} +3 -3
  14. package/dist/{index-CJDZBc-p.d.mts → index-BNmm-M0P.d.mts} +5 -5
  15. package/dist/{index-DdA7SmMH2.d.mts → index-BYMgvz_a2.d.mts} +8 -8
  16. package/dist/{index-DvdBCT0Z.d.mts → index-BZ-N1rRo.d.mts} +2 -2
  17. package/dist/{index-CU0AgN84.d.mts → index-BZipIIQy.d.mts} +1 -1
  18. package/dist/{index-CoD7P-IS.d.mts → index-Bc71KrgF.d.mts} +1 -1
  19. package/dist/{index-DHTLIeW62.d.mts → index-CIO_96nw2.d.mts} +5 -5
  20. package/dist/{index-DxtUM-qd.d.mts → index-CLwnkYRD.d.mts} +1 -1
  21. package/dist/{index-H_oth7rJ.d.mts → index-CUZUtXEu.d.mts} +253 -253
  22. package/dist/{index-DyequYaC.d.mts → index-CV0vG3bg.d.mts} +7 -7
  23. package/dist/{index-v9Tsvlnu.d.mts → index-M3Iec3eE.d.mts} +21 -21
  24. package/dist/{index-DFa6C6wt.d.mts → index-gXC1ACAT.d.mts} +4 -4
  25. package/dist/{index-wQB90bP1.d.mts → index-n-eY7pCU.d.mts} +4 -4
  26. package/dist/{index-BM8oUon_.d.mts → index-vkVZKcUh.d.mts} +24 -24
  27. package/dist/kernel/extension/index.d.mts +2 -2
  28. package/dist/kernel/index.d.mts +2 -2
  29. package/dist/kernel/observability/index.d.mts +1 -1
  30. package/dist/{namespace-ybTsfz1t.d.mts → namespace-C5tKjqgb.d.mts} +6 -6
  31. package/dist/{namespace-h7gq_v5U.d.mts → namespace-CHSwZhH7.d.mts} +2 -2
  32. package/dist/package.json +1 -1
  33. package/dist/{schemas-BTJvvq9Y.d.mts → schemas-BXkSHQaF.d.mts} +2 -2
  34. package/dist/services/context-rules/index.d.mts +3 -3
  35. package/dist/services/execution-target/index.d.mts +2 -2
  36. package/dist/services/execution-target/namespace.d.mts +1 -1
  37. package/dist/services/execution-target/schemas.d.mts +1 -1
  38. package/dist/services/filesystem/namespace.d.mts +6 -6
  39. package/dist/services/filesystem/schemas.d.mts +3 -3
  40. package/dist/services/git/namespace.d.mts +2 -2
  41. package/dist/services/git/schemas.d.mts +1 -1
  42. package/dist/services/harness/index.d.mts +3 -3
  43. package/dist/services/index.d.mts +13 -13
  44. package/dist/services/session/handlers/index.d.mts +1 -1
  45. package/dist/services/session/index.d.mts +3 -3
  46. package/dist/services/session/messages/namespace.d.mts +1 -1
  47. package/dist/{transition-ClMo_PUJ.d.mts → transition-rAXkw6VL.d.mts} +1 -1
  48. package/dist/{types-jmH0Yad4.d.mts → types-Dsfqmc2x.d.mts} +3 -3
  49. package/dist/{view-builder-B8WSU6WT.d.mts → view-builder-K641GC8j.d.mts} +1 -1
  50. package/dist/workflow-engine/index.d.mts +24 -24
  51. package/package.json +1 -1
  52. package/dist/{schemas-B2fs9-uF.d.mts → schemas-Cpr1Z-U8.d.mts} +1 -1
@@ -1,4 +1,4 @@
1
- import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget, ot as ArtifactRef$1, p as ArtifactRelation, rt as ArtifactUniquenessRule, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-B2fs9-uF.mjs";
1
+ import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget, ot as ArtifactRef$1, p as ArtifactRelation, rt as ArtifactUniquenessRule, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-Cpr1Z-U8.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1302,8 +1302,8 @@ declare const ArtifactSchemas$1: {
1302
1302
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1303
1303
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1304
1304
  local: "local";
1305
- evidence: "evidence";
1306
1305
  artifact: "artifact";
1306
+ evidence: "evidence";
1307
1307
  entity: "entity";
1308
1308
  }>>>;
1309
1309
  }, z.core.$strip>;
@@ -1327,8 +1327,8 @@ declare const ArtifactSchemas$1: {
1327
1327
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1328
1328
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1329
1329
  local: "local";
1330
- evidence: "evidence";
1331
1330
  artifact: "artifact";
1331
+ evidence: "evidence";
1332
1332
  entity: "entity";
1333
1333
  }>>>;
1334
1334
  }, z.core.$strip>>;
@@ -1338,6 +1338,45 @@ declare const ArtifactSchemas$1: {
1338
1338
  request: z.ZodObject<{
1339
1339
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1340
1340
  kind: z.ZodString;
1341
+ schemaVersion: z.ZodNumber;
1342
+ scope: z.ZodObject<{
1343
+ level: z.ZodString;
1344
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1345
+ }, z.core.$strip>;
1346
+ actor: z.ZodObject<{
1347
+ kind: z.ZodString;
1348
+ id: z.ZodString;
1349
+ displayName: z.ZodOptional<z.ZodString>;
1350
+ }, z.core.$strip>;
1351
+ relations: z.ZodArray<z.ZodObject<{
1352
+ type: z.ZodString;
1353
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1354
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1355
+ refClass: z.ZodLiteral<"artifact">;
1356
+ kind: z.ZodString;
1357
+ id: z.ZodString;
1358
+ revision: z.ZodString;
1359
+ }, z.core.$strict>, z.ZodObject<{
1360
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1361
+ artifact: z.ZodObject<{
1362
+ refClass: z.ZodLiteral<"artifact">;
1363
+ kind: z.ZodString;
1364
+ id: z.ZodString;
1365
+ revision: z.ZodString;
1366
+ }, z.core.$strict>;
1367
+ localId: z.ZodString;
1368
+ }, z.core.$strip>, z.ZodObject<{
1369
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1370
+ kind: z.ZodString;
1371
+ id: z.ZodString;
1372
+ revision: z.ZodOptional<z.ZodString>;
1373
+ locator: z.ZodOptional<z.ZodString>;
1374
+ }, z.core.$strip>, z.ZodObject<{
1375
+ refClass: z.ZodLiteral<"entity">;
1376
+ entityType: z.ZodString;
1377
+ id: z.ZodString;
1378
+ }, z.core.$strict>], "refClass">>;
1379
+ }, z.core.$strip>>;
1341
1380
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1342
1381
  source: z.ZodObject<{
1343
1382
  kind: z.ZodLiteral<"git-file">;
@@ -1385,46 +1424,6 @@ declare const ArtifactSchemas$1: {
1385
1424
  }, z.core.$strict>]>;
1386
1425
  excerpt: z.ZodOptional<z.ZodString>;
1387
1426
  }, z.core.$strict>]>>>;
1388
- createdAt: z.ZodOptional<z.ZodNumber>;
1389
- schemaVersion: z.ZodNumber;
1390
- scope: z.ZodObject<{
1391
- level: z.ZodString;
1392
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1393
- }, z.core.$strip>;
1394
- actor: z.ZodObject<{
1395
- kind: z.ZodString;
1396
- id: z.ZodString;
1397
- displayName: z.ZodOptional<z.ZodString>;
1398
- }, z.core.$strip>;
1399
- relations: z.ZodArray<z.ZodObject<{
1400
- type: z.ZodString;
1401
- sourceLocalId: z.ZodOptional<z.ZodString>;
1402
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1403
- refClass: z.ZodLiteral<"artifact">;
1404
- kind: z.ZodString;
1405
- id: z.ZodString;
1406
- revision: z.ZodString;
1407
- }, z.core.$strict>, z.ZodObject<{
1408
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1409
- artifact: z.ZodObject<{
1410
- refClass: z.ZodLiteral<"artifact">;
1411
- kind: z.ZodString;
1412
- id: z.ZodString;
1413
- revision: z.ZodString;
1414
- }, z.core.$strict>;
1415
- localId: z.ZodString;
1416
- }, z.core.$strip>, z.ZodObject<{
1417
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1418
- kind: z.ZodString;
1419
- id: z.ZodString;
1420
- revision: z.ZodOptional<z.ZodString>;
1421
- locator: z.ZodOptional<z.ZodString>;
1422
- }, z.core.$strip>, z.ZodObject<{
1423
- refClass: z.ZodLiteral<"entity">;
1424
- entityType: z.ZodString;
1425
- id: z.ZodString;
1426
- }, z.core.$strict>], "refClass">>;
1427
- }, z.core.$strip>>;
1428
1427
  confidence: z.ZodOptional<z.ZodObject<{
1429
1428
  level: z.ZodEnum<{
1430
1429
  inferred: "inferred";
@@ -1474,6 +1473,7 @@ declare const ArtifactSchemas$1: {
1474
1473
  summary: z.ZodOptional<z.ZodString>;
1475
1474
  plaintext: z.ZodOptional<z.ZodString>;
1476
1475
  }, z.core.$strip>>;
1476
+ createdAt: z.ZodOptional<z.ZodNumber>;
1477
1477
  id: z.ZodOptional<z.ZodString>;
1478
1478
  slug: z.ZodOptional<z.ZodString>;
1479
1479
  }, z.core.$strip>;
@@ -1636,6 +1636,45 @@ declare const ArtifactSchemas$1: {
1636
1636
  revision: z.ZodObject<{
1637
1637
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1638
1638
  kind: z.ZodString;
1639
+ schemaVersion: z.ZodNumber;
1640
+ scope: z.ZodObject<{
1641
+ level: z.ZodString;
1642
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1643
+ }, z.core.$strip>;
1644
+ actor: z.ZodObject<{
1645
+ kind: z.ZodString;
1646
+ id: z.ZodString;
1647
+ displayName: z.ZodOptional<z.ZodString>;
1648
+ }, z.core.$strip>;
1649
+ relations: z.ZodArray<z.ZodObject<{
1650
+ type: z.ZodString;
1651
+ sourceLocalId: z.ZodOptional<z.ZodString>;
1652
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1653
+ refClass: z.ZodLiteral<"artifact">;
1654
+ kind: z.ZodString;
1655
+ id: z.ZodString;
1656
+ revision: z.ZodString;
1657
+ }, z.core.$strict>, z.ZodObject<{
1658
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1659
+ artifact: z.ZodObject<{
1660
+ refClass: z.ZodLiteral<"artifact">;
1661
+ kind: z.ZodString;
1662
+ id: z.ZodString;
1663
+ revision: z.ZodString;
1664
+ }, z.core.$strict>;
1665
+ localId: z.ZodString;
1666
+ }, z.core.$strip>, z.ZodObject<{
1667
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1668
+ kind: z.ZodString;
1669
+ id: z.ZodString;
1670
+ revision: z.ZodOptional<z.ZodString>;
1671
+ locator: z.ZodOptional<z.ZodString>;
1672
+ }, z.core.$strip>, z.ZodObject<{
1673
+ refClass: z.ZodLiteral<"entity">;
1674
+ entityType: z.ZodString;
1675
+ id: z.ZodString;
1676
+ }, z.core.$strict>], "refClass">>;
1677
+ }, z.core.$strip>>;
1639
1678
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1640
1679
  source: z.ZodObject<{
1641
1680
  kind: z.ZodLiteral<"git-file">;
@@ -1683,46 +1722,6 @@ declare const ArtifactSchemas$1: {
1683
1722
  }, z.core.$strict>]>;
1684
1723
  excerpt: z.ZodOptional<z.ZodString>;
1685
1724
  }, z.core.$strict>]>>>;
1686
- createdAt: z.ZodOptional<z.ZodNumber>;
1687
- schemaVersion: z.ZodNumber;
1688
- scope: z.ZodObject<{
1689
- level: z.ZodString;
1690
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1691
- }, z.core.$strip>;
1692
- actor: z.ZodObject<{
1693
- kind: z.ZodString;
1694
- id: z.ZodString;
1695
- displayName: z.ZodOptional<z.ZodString>;
1696
- }, z.core.$strip>;
1697
- relations: z.ZodArray<z.ZodObject<{
1698
- type: z.ZodString;
1699
- sourceLocalId: z.ZodOptional<z.ZodString>;
1700
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1701
- refClass: z.ZodLiteral<"artifact">;
1702
- kind: z.ZodString;
1703
- id: z.ZodString;
1704
- revision: z.ZodString;
1705
- }, z.core.$strict>, z.ZodObject<{
1706
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
1707
- artifact: z.ZodObject<{
1708
- refClass: z.ZodLiteral<"artifact">;
1709
- kind: z.ZodString;
1710
- id: z.ZodString;
1711
- revision: z.ZodString;
1712
- }, z.core.$strict>;
1713
- localId: z.ZodString;
1714
- }, z.core.$strip>, z.ZodObject<{
1715
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
1716
- kind: z.ZodString;
1717
- id: z.ZodString;
1718
- revision: z.ZodOptional<z.ZodString>;
1719
- locator: z.ZodOptional<z.ZodString>;
1720
- }, z.core.$strip>, z.ZodObject<{
1721
- refClass: z.ZodLiteral<"entity">;
1722
- entityType: z.ZodString;
1723
- id: z.ZodString;
1724
- }, z.core.$strict>], "refClass">>;
1725
- }, z.core.$strip>>;
1726
1725
  confidence: z.ZodOptional<z.ZodObject<{
1727
1726
  level: z.ZodEnum<{
1728
1727
  inferred: "inferred";
@@ -1772,6 +1771,7 @@ declare const ArtifactSchemas$1: {
1772
1771
  summary: z.ZodOptional<z.ZodString>;
1773
1772
  plaintext: z.ZodOptional<z.ZodString>;
1774
1773
  }, z.core.$strip>>;
1774
+ createdAt: z.ZodOptional<z.ZodNumber>;
1775
1775
  }, z.core.$strip>;
1776
1776
  }, z.core.$strip>;
1777
1777
  response: z.ZodObject<{
@@ -2010,8 +2010,8 @@ declare const ArtifactSchemas$1: {
2010
2010
  error: z.ZodObject<{
2011
2011
  code: z.ZodEnum<{
2012
2012
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
2013
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
2014
2013
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
2014
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
2015
2015
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
2016
2016
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
2017
2017
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -4105,8 +4105,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4105
4105
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4106
4106
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4107
4107
  local: "local";
4108
- evidence: "evidence";
4109
4108
  artifact: "artifact";
4109
+ evidence: "evidence";
4110
4110
  entity: "entity";
4111
4111
  }>>>;
4112
4112
  }, z.core.$strip>;
@@ -4130,8 +4130,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4130
4130
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4131
4131
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4132
4132
  local: "local";
4133
- evidence: "evidence";
4134
4133
  artifact: "artifact";
4134
+ evidence: "evidence";
4135
4135
  entity: "entity";
4136
4136
  }>>>;
4137
4137
  }, z.core.$strip>>;
@@ -4141,6 +4141,45 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4141
4141
  request: z.ZodObject<{
4142
4142
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4143
4143
  kind: z.ZodString;
4144
+ schemaVersion: z.ZodNumber;
4145
+ scope: z.ZodObject<{
4146
+ level: z.ZodString;
4147
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4148
+ }, z.core.$strip>;
4149
+ actor: z.ZodObject<{
4150
+ kind: z.ZodString;
4151
+ id: z.ZodString;
4152
+ displayName: z.ZodOptional<z.ZodString>;
4153
+ }, z.core.$strip>;
4154
+ relations: z.ZodArray<z.ZodObject<{
4155
+ type: z.ZodString;
4156
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4157
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4158
+ refClass: z.ZodLiteral<"artifact">;
4159
+ kind: z.ZodString;
4160
+ id: z.ZodString;
4161
+ revision: z.ZodString;
4162
+ }, z.core.$strict>, z.ZodObject<{
4163
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4164
+ artifact: z.ZodObject<{
4165
+ refClass: z.ZodLiteral<"artifact">;
4166
+ kind: z.ZodString;
4167
+ id: z.ZodString;
4168
+ revision: z.ZodString;
4169
+ }, z.core.$strict>;
4170
+ localId: z.ZodString;
4171
+ }, z.core.$strip>, z.ZodObject<{
4172
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4173
+ kind: z.ZodString;
4174
+ id: z.ZodString;
4175
+ revision: z.ZodOptional<z.ZodString>;
4176
+ locator: z.ZodOptional<z.ZodString>;
4177
+ }, z.core.$strip>, z.ZodObject<{
4178
+ refClass: z.ZodLiteral<"entity">;
4179
+ entityType: z.ZodString;
4180
+ id: z.ZodString;
4181
+ }, z.core.$strict>], "refClass">>;
4182
+ }, z.core.$strip>>;
4144
4183
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4145
4184
  source: z.ZodObject<{
4146
4185
  kind: z.ZodLiteral<"git-file">;
@@ -4188,46 +4227,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4188
4227
  }, z.core.$strict>]>;
4189
4228
  excerpt: z.ZodOptional<z.ZodString>;
4190
4229
  }, z.core.$strict>]>>>;
4191
- createdAt: z.ZodOptional<z.ZodNumber>;
4192
- schemaVersion: z.ZodNumber;
4193
- scope: z.ZodObject<{
4194
- level: z.ZodString;
4195
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4196
- }, z.core.$strip>;
4197
- actor: z.ZodObject<{
4198
- kind: z.ZodString;
4199
- id: z.ZodString;
4200
- displayName: z.ZodOptional<z.ZodString>;
4201
- }, z.core.$strip>;
4202
- relations: z.ZodArray<z.ZodObject<{
4203
- type: z.ZodString;
4204
- sourceLocalId: z.ZodOptional<z.ZodString>;
4205
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4206
- refClass: z.ZodLiteral<"artifact">;
4207
- kind: z.ZodString;
4208
- id: z.ZodString;
4209
- revision: z.ZodString;
4210
- }, z.core.$strict>, z.ZodObject<{
4211
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4212
- artifact: z.ZodObject<{
4213
- refClass: z.ZodLiteral<"artifact">;
4214
- kind: z.ZodString;
4215
- id: z.ZodString;
4216
- revision: z.ZodString;
4217
- }, z.core.$strict>;
4218
- localId: z.ZodString;
4219
- }, z.core.$strip>, z.ZodObject<{
4220
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4221
- kind: z.ZodString;
4222
- id: z.ZodString;
4223
- revision: z.ZodOptional<z.ZodString>;
4224
- locator: z.ZodOptional<z.ZodString>;
4225
- }, z.core.$strip>, z.ZodObject<{
4226
- refClass: z.ZodLiteral<"entity">;
4227
- entityType: z.ZodString;
4228
- id: z.ZodString;
4229
- }, z.core.$strict>], "refClass">>;
4230
- }, z.core.$strip>>;
4231
4230
  confidence: z.ZodOptional<z.ZodObject<{
4232
4231
  level: z.ZodEnum<{
4233
4232
  inferred: "inferred";
@@ -4277,6 +4276,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4277
4276
  summary: z.ZodOptional<z.ZodString>;
4278
4277
  plaintext: z.ZodOptional<z.ZodString>;
4279
4278
  }, z.core.$strip>>;
4279
+ createdAt: z.ZodOptional<z.ZodNumber>;
4280
4280
  id: z.ZodOptional<z.ZodString>;
4281
4281
  slug: z.ZodOptional<z.ZodString>;
4282
4282
  }, z.core.$strip>;
@@ -4439,6 +4439,45 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4439
4439
  revision: z.ZodObject<{
4440
4440
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4441
4441
  kind: z.ZodString;
4442
+ schemaVersion: z.ZodNumber;
4443
+ scope: z.ZodObject<{
4444
+ level: z.ZodString;
4445
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4446
+ }, z.core.$strip>;
4447
+ actor: z.ZodObject<{
4448
+ kind: z.ZodString;
4449
+ id: z.ZodString;
4450
+ displayName: z.ZodOptional<z.ZodString>;
4451
+ }, z.core.$strip>;
4452
+ relations: z.ZodArray<z.ZodObject<{
4453
+ type: z.ZodString;
4454
+ sourceLocalId: z.ZodOptional<z.ZodString>;
4455
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4456
+ refClass: z.ZodLiteral<"artifact">;
4457
+ kind: z.ZodString;
4458
+ id: z.ZodString;
4459
+ revision: z.ZodString;
4460
+ }, z.core.$strict>, z.ZodObject<{
4461
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4462
+ artifact: z.ZodObject<{
4463
+ refClass: z.ZodLiteral<"artifact">;
4464
+ kind: z.ZodString;
4465
+ id: z.ZodString;
4466
+ revision: z.ZodString;
4467
+ }, z.core.$strict>;
4468
+ localId: z.ZodString;
4469
+ }, z.core.$strip>, z.ZodObject<{
4470
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4471
+ kind: z.ZodString;
4472
+ id: z.ZodString;
4473
+ revision: z.ZodOptional<z.ZodString>;
4474
+ locator: z.ZodOptional<z.ZodString>;
4475
+ }, z.core.$strip>, z.ZodObject<{
4476
+ refClass: z.ZodLiteral<"entity">;
4477
+ entityType: z.ZodString;
4478
+ id: z.ZodString;
4479
+ }, z.core.$strict>], "refClass">>;
4480
+ }, z.core.$strip>>;
4442
4481
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4443
4482
  source: z.ZodObject<{
4444
4483
  kind: z.ZodLiteral<"git-file">;
@@ -4486,46 +4525,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4486
4525
  }, z.core.$strict>]>;
4487
4526
  excerpt: z.ZodOptional<z.ZodString>;
4488
4527
  }, z.core.$strict>]>>>;
4489
- createdAt: z.ZodOptional<z.ZodNumber>;
4490
- schemaVersion: z.ZodNumber;
4491
- scope: z.ZodObject<{
4492
- level: z.ZodString;
4493
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4494
- }, z.core.$strip>;
4495
- actor: z.ZodObject<{
4496
- kind: z.ZodString;
4497
- id: z.ZodString;
4498
- displayName: z.ZodOptional<z.ZodString>;
4499
- }, z.core.$strip>;
4500
- relations: z.ZodArray<z.ZodObject<{
4501
- type: z.ZodString;
4502
- sourceLocalId: z.ZodOptional<z.ZodString>;
4503
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
4504
- refClass: z.ZodLiteral<"artifact">;
4505
- kind: z.ZodString;
4506
- id: z.ZodString;
4507
- revision: z.ZodString;
4508
- }, z.core.$strict>, z.ZodObject<{
4509
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
4510
- artifact: z.ZodObject<{
4511
- refClass: z.ZodLiteral<"artifact">;
4512
- kind: z.ZodString;
4513
- id: z.ZodString;
4514
- revision: z.ZodString;
4515
- }, z.core.$strict>;
4516
- localId: z.ZodString;
4517
- }, z.core.$strip>, z.ZodObject<{
4518
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
4519
- kind: z.ZodString;
4520
- id: z.ZodString;
4521
- revision: z.ZodOptional<z.ZodString>;
4522
- locator: z.ZodOptional<z.ZodString>;
4523
- }, z.core.$strip>, z.ZodObject<{
4524
- refClass: z.ZodLiteral<"entity">;
4525
- entityType: z.ZodString;
4526
- id: z.ZodString;
4527
- }, z.core.$strict>], "refClass">>;
4528
- }, z.core.$strip>>;
4529
4528
  confidence: z.ZodOptional<z.ZodObject<{
4530
4529
  level: z.ZodEnum<{
4531
4530
  inferred: "inferred";
@@ -4575,6 +4574,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4575
4574
  summary: z.ZodOptional<z.ZodString>;
4576
4575
  plaintext: z.ZodOptional<z.ZodString>;
4577
4576
  }, z.core.$strip>>;
4577
+ createdAt: z.ZodOptional<z.ZodNumber>;
4578
4578
  }, z.core.$strip>;
4579
4579
  }, z.core.$strip>;
4580
4580
  response: z.ZodObject<{
@@ -4813,8 +4813,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4813
4813
  error: z.ZodObject<{
4814
4814
  code: z.ZodEnum<{
4815
4815
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
4816
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
4817
4816
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
4817
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
4818
4818
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
4819
4819
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
4820
4820
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -6930,8 +6930,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6930
6930
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6931
6931
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6932
6932
  local: "local";
6933
- evidence: "evidence";
6934
6933
  artifact: "artifact";
6934
+ evidence: "evidence";
6935
6935
  entity: "entity";
6936
6936
  }>>>;
6937
6937
  }, z.core.$strip>;
@@ -6955,8 +6955,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6955
6955
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6956
6956
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6957
6957
  local: "local";
6958
- evidence: "evidence";
6959
6958
  artifact: "artifact";
6959
+ evidence: "evidence";
6960
6960
  entity: "entity";
6961
6961
  }>>>;
6962
6962
  }, z.core.$strip>>;
@@ -6966,6 +6966,45 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6966
6966
  request: z.ZodObject<{
6967
6967
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6968
6968
  kind: z.ZodString;
6969
+ schemaVersion: z.ZodNumber;
6970
+ scope: z.ZodObject<{
6971
+ level: z.ZodString;
6972
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6973
+ }, z.core.$strip>;
6974
+ actor: z.ZodObject<{
6975
+ kind: z.ZodString;
6976
+ id: z.ZodString;
6977
+ displayName: z.ZodOptional<z.ZodString>;
6978
+ }, z.core.$strip>;
6979
+ relations: z.ZodArray<z.ZodObject<{
6980
+ type: z.ZodString;
6981
+ sourceLocalId: z.ZodOptional<z.ZodString>;
6982
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
6983
+ refClass: z.ZodLiteral<"artifact">;
6984
+ kind: z.ZodString;
6985
+ id: z.ZodString;
6986
+ revision: z.ZodString;
6987
+ }, z.core.$strict>, z.ZodObject<{
6988
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
6989
+ artifact: z.ZodObject<{
6990
+ refClass: z.ZodLiteral<"artifact">;
6991
+ kind: z.ZodString;
6992
+ id: z.ZodString;
6993
+ revision: z.ZodString;
6994
+ }, z.core.$strict>;
6995
+ localId: z.ZodString;
6996
+ }, z.core.$strip>, z.ZodObject<{
6997
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
6998
+ kind: z.ZodString;
6999
+ id: z.ZodString;
7000
+ revision: z.ZodOptional<z.ZodString>;
7001
+ locator: z.ZodOptional<z.ZodString>;
7002
+ }, z.core.$strip>, z.ZodObject<{
7003
+ refClass: z.ZodLiteral<"entity">;
7004
+ entityType: z.ZodString;
7005
+ id: z.ZodString;
7006
+ }, z.core.$strict>], "refClass">>;
7007
+ }, z.core.$strip>>;
6969
7008
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6970
7009
  source: z.ZodObject<{
6971
7010
  kind: z.ZodLiteral<"git-file">;
@@ -7013,46 +7052,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7013
7052
  }, z.core.$strict>]>;
7014
7053
  excerpt: z.ZodOptional<z.ZodString>;
7015
7054
  }, z.core.$strict>]>>>;
7016
- createdAt: z.ZodOptional<z.ZodNumber>;
7017
- schemaVersion: z.ZodNumber;
7018
- scope: z.ZodObject<{
7019
- level: z.ZodString;
7020
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7021
- }, z.core.$strip>;
7022
- actor: z.ZodObject<{
7023
- kind: z.ZodString;
7024
- id: z.ZodString;
7025
- displayName: z.ZodOptional<z.ZodString>;
7026
- }, z.core.$strip>;
7027
- relations: z.ZodArray<z.ZodObject<{
7028
- type: z.ZodString;
7029
- sourceLocalId: z.ZodOptional<z.ZodString>;
7030
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7031
- refClass: z.ZodLiteral<"artifact">;
7032
- kind: z.ZodString;
7033
- id: z.ZodString;
7034
- revision: z.ZodString;
7035
- }, z.core.$strict>, z.ZodObject<{
7036
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7037
- artifact: z.ZodObject<{
7038
- refClass: z.ZodLiteral<"artifact">;
7039
- kind: z.ZodString;
7040
- id: z.ZodString;
7041
- revision: z.ZodString;
7042
- }, z.core.$strict>;
7043
- localId: z.ZodString;
7044
- }, z.core.$strip>, z.ZodObject<{
7045
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7046
- kind: z.ZodString;
7047
- id: z.ZodString;
7048
- revision: z.ZodOptional<z.ZodString>;
7049
- locator: z.ZodOptional<z.ZodString>;
7050
- }, z.core.$strip>, z.ZodObject<{
7051
- refClass: z.ZodLiteral<"entity">;
7052
- entityType: z.ZodString;
7053
- id: z.ZodString;
7054
- }, z.core.$strict>], "refClass">>;
7055
- }, z.core.$strip>>;
7056
7055
  confidence: z.ZodOptional<z.ZodObject<{
7057
7056
  level: z.ZodEnum<{
7058
7057
  inferred: "inferred";
@@ -7102,6 +7101,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7102
7101
  summary: z.ZodOptional<z.ZodString>;
7103
7102
  plaintext: z.ZodOptional<z.ZodString>;
7104
7103
  }, z.core.$strip>>;
7104
+ createdAt: z.ZodOptional<z.ZodNumber>;
7105
7105
  id: z.ZodOptional<z.ZodString>;
7106
7106
  slug: z.ZodOptional<z.ZodString>;
7107
7107
  }, z.core.$strip>;
@@ -7264,6 +7264,45 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7264
7264
  revision: z.ZodObject<{
7265
7265
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
7266
7266
  kind: z.ZodString;
7267
+ schemaVersion: z.ZodNumber;
7268
+ scope: z.ZodObject<{
7269
+ level: z.ZodString;
7270
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7271
+ }, z.core.$strip>;
7272
+ actor: z.ZodObject<{
7273
+ kind: z.ZodString;
7274
+ id: z.ZodString;
7275
+ displayName: z.ZodOptional<z.ZodString>;
7276
+ }, z.core.$strip>;
7277
+ relations: z.ZodArray<z.ZodObject<{
7278
+ type: z.ZodString;
7279
+ sourceLocalId: z.ZodOptional<z.ZodString>;
7280
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7281
+ refClass: z.ZodLiteral<"artifact">;
7282
+ kind: z.ZodString;
7283
+ id: z.ZodString;
7284
+ revision: z.ZodString;
7285
+ }, z.core.$strict>, z.ZodObject<{
7286
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7287
+ artifact: z.ZodObject<{
7288
+ refClass: z.ZodLiteral<"artifact">;
7289
+ kind: z.ZodString;
7290
+ id: z.ZodString;
7291
+ revision: z.ZodString;
7292
+ }, z.core.$strict>;
7293
+ localId: z.ZodString;
7294
+ }, z.core.$strip>, z.ZodObject<{
7295
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7296
+ kind: z.ZodString;
7297
+ id: z.ZodString;
7298
+ revision: z.ZodOptional<z.ZodString>;
7299
+ locator: z.ZodOptional<z.ZodString>;
7300
+ }, z.core.$strip>, z.ZodObject<{
7301
+ refClass: z.ZodLiteral<"entity">;
7302
+ entityType: z.ZodString;
7303
+ id: z.ZodString;
7304
+ }, z.core.$strict>], "refClass">>;
7305
+ }, z.core.$strip>>;
7267
7306
  evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
7268
7307
  source: z.ZodObject<{
7269
7308
  kind: z.ZodLiteral<"git-file">;
@@ -7311,46 +7350,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7311
7350
  }, z.core.$strict>]>;
7312
7351
  excerpt: z.ZodOptional<z.ZodString>;
7313
7352
  }, z.core.$strict>]>>>;
7314
- createdAt: z.ZodOptional<z.ZodNumber>;
7315
- schemaVersion: z.ZodNumber;
7316
- scope: z.ZodObject<{
7317
- level: z.ZodString;
7318
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7319
- }, z.core.$strip>;
7320
- actor: z.ZodObject<{
7321
- kind: z.ZodString;
7322
- id: z.ZodString;
7323
- displayName: z.ZodOptional<z.ZodString>;
7324
- }, z.core.$strip>;
7325
- relations: z.ZodArray<z.ZodObject<{
7326
- type: z.ZodString;
7327
- sourceLocalId: z.ZodOptional<z.ZodString>;
7328
- target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
7329
- refClass: z.ZodLiteral<"artifact">;
7330
- kind: z.ZodString;
7331
- id: z.ZodString;
7332
- revision: z.ZodString;
7333
- }, z.core.$strict>, z.ZodObject<{
7334
- refClass: z.ZodDefault<z.ZodLiteral<"local">>;
7335
- artifact: z.ZodObject<{
7336
- refClass: z.ZodLiteral<"artifact">;
7337
- kind: z.ZodString;
7338
- id: z.ZodString;
7339
- revision: z.ZodString;
7340
- }, z.core.$strict>;
7341
- localId: z.ZodString;
7342
- }, z.core.$strip>, z.ZodObject<{
7343
- refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
7344
- kind: z.ZodString;
7345
- id: z.ZodString;
7346
- revision: z.ZodOptional<z.ZodString>;
7347
- locator: z.ZodOptional<z.ZodString>;
7348
- }, z.core.$strip>, z.ZodObject<{
7349
- refClass: z.ZodLiteral<"entity">;
7350
- entityType: z.ZodString;
7351
- id: z.ZodString;
7352
- }, z.core.$strict>], "refClass">>;
7353
- }, z.core.$strip>>;
7354
7353
  confidence: z.ZodOptional<z.ZodObject<{
7355
7354
  level: z.ZodEnum<{
7356
7355
  inferred: "inferred";
@@ -7400,6 +7399,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7400
7399
  summary: z.ZodOptional<z.ZodString>;
7401
7400
  plaintext: z.ZodOptional<z.ZodString>;
7402
7401
  }, z.core.$strip>>;
7402
+ createdAt: z.ZodOptional<z.ZodNumber>;
7403
7403
  }, z.core.$strip>;
7404
7404
  }, z.core.$strip>;
7405
7405
  response: z.ZodObject<{
@@ -7638,8 +7638,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7638
7638
  error: z.ZodObject<{
7639
7639
  code: z.ZodEnum<{
7640
7640
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
7641
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
7642
7641
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
7642
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
7643
7643
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
7644
7644
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
7645
7645
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -10020,8 +10020,8 @@ declare const ArtifactPatchIssueSchema: z.ZodObject<{
10020
10020
  declare const ArtifactPatchErrorSchema: z.ZodObject<{
10021
10021
  code: z.ZodEnum<{
10022
10022
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
10023
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10024
10023
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
10024
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10025
10025
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
10026
10026
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
10027
10027
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -10207,8 +10207,8 @@ declare const ArtifactPatchFailureSchema: z.ZodObject<{
10207
10207
  error: z.ZodObject<{
10208
10208
  code: z.ZodEnum<{
10209
10209
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
10210
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10211
10210
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
10211
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10212
10212
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
10213
10213
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
10214
10214
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -10303,8 +10303,8 @@ declare const ArtifactPatchResponseSchema: z.ZodUnion<readonly [z.ZodDiscriminat
10303
10303
  error: z.ZodObject<{
10304
10304
  code: z.ZodEnum<{
10305
10305
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
10306
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10307
10306
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
10307
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10308
10308
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
10309
10309
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
10310
10310
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";