@makaio/framework 1.0.0-dev-1790589224264 → 1.0.0-dev-1790599449321
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.
- package/dist/.makaio-build.json +2 -2
- package/dist/adapters/claude/index.mjs +1 -1
- package/dist/artifact-XE82Q2bH.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/bus--m38BS3i.mjs +9 -0
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +33 -33
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{extension-CeZwB88e.mjs → extension-DeTvdQIB.mjs} +1 -1
- package/dist/{index-6UlianLY2.d.mts → index-9O8N514B2.d.mts} +4 -4
- package/dist/{index-CUZUtXEu.d.mts → index-BSYu8AXG.d.mts} +307 -248
- package/dist/{index-BZipIIQy.d.mts → index-BstMoG8p.d.mts} +1 -1
- package/dist/{index-BYMgvz_a2.d.mts → index-CPOJqxrf2.d.mts} +3 -3
- package/dist/{index-BM53WQaQ.d.mts → index-CVRQS5jk.d.mts} +1 -1
- package/dist/{index-M3Iec3eE.d.mts → index-CcTlPuIg.d.mts} +41 -41
- package/dist/{index-Bc71KrgF.d.mts → index-CpaWzUE5.d.mts} +1 -1
- package/dist/{index-CV0vG3bg.d.mts → index-CtwkMknv.d.mts} +6 -6
- package/dist/{index-CIO_96nw2.d.mts → index-DHTLIeW62.d.mts} +5 -5
- package/dist/{index-BGkVbgfn.d.mts → index-DrfwkH1x.d.mts} +8 -8
- package/dist/{index-BZ-N1rRo.d.mts → index-GlDcAkrf.d.mts} +4 -4
- package/dist/{index-vkVZKcUh.d.mts → index-UbOsrzp6.d.mts} +24 -24
- package/dist/{index-BNmm-M0P.d.mts → index-_CsKmUOy.d.mts} +15 -10
- package/dist/{index-gXC1ACAT.d.mts → index-uusIGFLo.d.mts} +4 -4
- package/dist/{index-n-eY7pCU.d.mts → index-wQB90bP1.d.mts} +4 -4
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kind-registration-CdjmVxY_.mjs +1 -0
- package/dist/{materialization-6Whrkf5D.mjs → materialization-BzSgnv2R.mjs} +1 -1
- package/dist/{namespace-C5tKjqgb.d.mts → namespace-B9iQN3FQ.d.mts} +4 -4
- package/dist/{namespace-D6W4Erwp.d.mts → namespace-DAzOxaux.d.mts} +2 -2
- package/dist/package.json +1 -1
- package/dist/{schemas-Cpr1Z-U8.d.mts → schemas-BNQtL3Ln.d.mts} +23 -3
- package/dist/{schemas-D6ZdMKo3.mjs → schemas-BvDsO8Is.mjs} +1 -1
- package/dist/{schemas-Cb9OJ9va.d.mts → schemas-CBDNnyz4.d.mts} +1 -1
- package/dist/{schemas-CYjPZwlQ.d.mts → schemas-DnyXA-9o.d.mts} +2 -2
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +14 -14
- package/dist/services/session/index.d.mts +2 -2
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +2 -2
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{transition-rAXkw6VL.d.mts → transition-DK43U3QJ.d.mts} +1 -1
- package/dist/{types-Dsfqmc2x.d.mts → types-jmH0Yad4.d.mts} +3 -3
- package/dist/{view-builder-K641GC8j.d.mts → view-builder-Nffvg8MI.d.mts} +1 -1
- package/dist/{worker-CIhuGZx1.mjs → worker-toBnRJ0A.mjs} +1 -1
- package/dist/{workflow-Co4YAyPP.mjs → workflow-BDDB6EJi.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +32 -32
- package/package.json +1 -1
- package/dist/artifact-z-GlRNax.mjs +0 -1
- package/dist/bus-_RyFr-xv.mjs +0 -9
- package/dist/kind-registration-XiS6z3mC.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget,
|
|
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-BNQtL3Ln.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";
|
|
@@ -1194,6 +1194,10 @@ declare const ArtifactSchemas$1: {
|
|
|
1194
1194
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1195
1195
|
minItems: z.ZodNumber;
|
|
1196
1196
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1197
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
1198
|
+
path: z.ZodString;
|
|
1199
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1200
|
+
}, z.core.$strict>>;
|
|
1197
1201
|
}, z.core.$strict>>>;
|
|
1198
1202
|
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1199
1203
|
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1254,6 +1258,10 @@ declare const ArtifactSchemas$1: {
|
|
|
1254
1258
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1255
1259
|
minItems: z.ZodNumber;
|
|
1256
1260
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
1262
|
+
path: z.ZodString;
|
|
1263
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1264
|
+
}, z.core.$strict>>;
|
|
1257
1265
|
}, z.core.$strict>>>;
|
|
1258
1266
|
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1259
1267
|
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1302,8 +1310,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1302
1310
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1303
1311
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1304
1312
|
local: "local";
|
|
1305
|
-
artifact: "artifact";
|
|
1306
1313
|
evidence: "evidence";
|
|
1314
|
+
artifact: "artifact";
|
|
1307
1315
|
entity: "entity";
|
|
1308
1316
|
}>>>;
|
|
1309
1317
|
}, z.core.$strip>;
|
|
@@ -1327,8 +1335,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1327
1335
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1328
1336
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1329
1337
|
local: "local";
|
|
1330
|
-
artifact: "artifact";
|
|
1331
1338
|
evidence: "evidence";
|
|
1339
|
+
artifact: "artifact";
|
|
1332
1340
|
entity: "entity";
|
|
1333
1341
|
}>>>;
|
|
1334
1342
|
}, z.core.$strip>>;
|
|
@@ -1338,45 +1346,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1338
1346
|
request: z.ZodObject<{
|
|
1339
1347
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1340
1348
|
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>>;
|
|
1380
1349
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1381
1350
|
source: z.ZodObject<{
|
|
1382
1351
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1424,6 +1393,46 @@ declare const ArtifactSchemas$1: {
|
|
|
1424
1393
|
}, z.core.$strict>]>;
|
|
1425
1394
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1426
1395
|
}, z.core.$strict>]>>>;
|
|
1396
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1397
|
+
schemaVersion: z.ZodNumber;
|
|
1398
|
+
scope: z.ZodObject<{
|
|
1399
|
+
level: z.ZodString;
|
|
1400
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1401
|
+
}, z.core.$strip>;
|
|
1402
|
+
actor: z.ZodObject<{
|
|
1403
|
+
kind: z.ZodString;
|
|
1404
|
+
id: z.ZodString;
|
|
1405
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
}, z.core.$strip>;
|
|
1407
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1408
|
+
type: z.ZodString;
|
|
1409
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1411
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1412
|
+
kind: z.ZodString;
|
|
1413
|
+
id: z.ZodString;
|
|
1414
|
+
revision: z.ZodString;
|
|
1415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1416
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1417
|
+
artifact: z.ZodObject<{
|
|
1418
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1419
|
+
kind: z.ZodString;
|
|
1420
|
+
id: z.ZodString;
|
|
1421
|
+
revision: z.ZodString;
|
|
1422
|
+
}, z.core.$strict>;
|
|
1423
|
+
localId: z.ZodString;
|
|
1424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1425
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1426
|
+
kind: z.ZodString;
|
|
1427
|
+
id: z.ZodString;
|
|
1428
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1430
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1431
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1432
|
+
entityType: z.ZodString;
|
|
1433
|
+
id: z.ZodString;
|
|
1434
|
+
}, z.core.$strict>], "refClass">>;
|
|
1435
|
+
}, z.core.$strip>>;
|
|
1427
1436
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1428
1437
|
level: z.ZodEnum<{
|
|
1429
1438
|
inferred: "inferred";
|
|
@@ -1473,7 +1482,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1473
1482
|
summary: z.ZodOptional<z.ZodString>;
|
|
1474
1483
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1475
1484
|
}, z.core.$strip>>;
|
|
1476
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1477
1485
|
id: z.ZodOptional<z.ZodString>;
|
|
1478
1486
|
slug: z.ZodOptional<z.ZodString>;
|
|
1479
1487
|
}, z.core.$strip>;
|
|
@@ -1636,45 +1644,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1636
1644
|
revision: z.ZodObject<{
|
|
1637
1645
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1638
1646
|
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>>;
|
|
1678
1647
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1679
1648
|
source: z.ZodObject<{
|
|
1680
1649
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1722,6 +1691,46 @@ declare const ArtifactSchemas$1: {
|
|
|
1722
1691
|
}, z.core.$strict>]>;
|
|
1723
1692
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1724
1693
|
}, z.core.$strict>]>>>;
|
|
1694
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1695
|
+
schemaVersion: z.ZodNumber;
|
|
1696
|
+
scope: z.ZodObject<{
|
|
1697
|
+
level: z.ZodString;
|
|
1698
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1699
|
+
}, z.core.$strip>;
|
|
1700
|
+
actor: z.ZodObject<{
|
|
1701
|
+
kind: z.ZodString;
|
|
1702
|
+
id: z.ZodString;
|
|
1703
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
}, z.core.$strip>;
|
|
1705
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1706
|
+
type: z.ZodString;
|
|
1707
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1709
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1710
|
+
kind: z.ZodString;
|
|
1711
|
+
id: z.ZodString;
|
|
1712
|
+
revision: z.ZodString;
|
|
1713
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1714
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1715
|
+
artifact: z.ZodObject<{
|
|
1716
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1717
|
+
kind: z.ZodString;
|
|
1718
|
+
id: z.ZodString;
|
|
1719
|
+
revision: z.ZodString;
|
|
1720
|
+
}, z.core.$strict>;
|
|
1721
|
+
localId: z.ZodString;
|
|
1722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1723
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1724
|
+
kind: z.ZodString;
|
|
1725
|
+
id: z.ZodString;
|
|
1726
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1729
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1730
|
+
entityType: z.ZodString;
|
|
1731
|
+
id: z.ZodString;
|
|
1732
|
+
}, z.core.$strict>], "refClass">>;
|
|
1733
|
+
}, z.core.$strip>>;
|
|
1725
1734
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1726
1735
|
level: z.ZodEnum<{
|
|
1727
1736
|
inferred: "inferred";
|
|
@@ -1771,7 +1780,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1771
1780
|
summary: z.ZodOptional<z.ZodString>;
|
|
1772
1781
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1773
1782
|
}, z.core.$strip>>;
|
|
1774
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1775
1783
|
}, z.core.$strip>;
|
|
1776
1784
|
}, z.core.$strip>;
|
|
1777
1785
|
response: z.ZodObject<{
|
|
@@ -3997,6 +4005,10 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3997
4005
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3998
4006
|
minItems: z.ZodNumber;
|
|
3999
4007
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
4008
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4009
|
+
path: z.ZodString;
|
|
4010
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4011
|
+
}, z.core.$strict>>;
|
|
4000
4012
|
}, z.core.$strict>>>;
|
|
4001
4013
|
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4002
4014
|
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4057,6 +4069,10 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4057
4069
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4058
4070
|
minItems: z.ZodNumber;
|
|
4059
4071
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
4072
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
4073
|
+
path: z.ZodString;
|
|
4074
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4075
|
+
}, z.core.$strict>>;
|
|
4060
4076
|
}, z.core.$strict>>>;
|
|
4061
4077
|
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4062
4078
|
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4105,8 +4121,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4105
4121
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4106
4122
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4107
4123
|
local: "local";
|
|
4108
|
-
artifact: "artifact";
|
|
4109
4124
|
evidence: "evidence";
|
|
4125
|
+
artifact: "artifact";
|
|
4110
4126
|
entity: "entity";
|
|
4111
4127
|
}>>>;
|
|
4112
4128
|
}, z.core.$strip>;
|
|
@@ -4130,8 +4146,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4130
4146
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4131
4147
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4132
4148
|
local: "local";
|
|
4133
|
-
artifact: "artifact";
|
|
4134
4149
|
evidence: "evidence";
|
|
4150
|
+
artifact: "artifact";
|
|
4135
4151
|
entity: "entity";
|
|
4136
4152
|
}>>>;
|
|
4137
4153
|
}, z.core.$strip>>;
|
|
@@ -4141,45 +4157,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4141
4157
|
request: z.ZodObject<{
|
|
4142
4158
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4143
4159
|
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>>;
|
|
4183
4160
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4184
4161
|
source: z.ZodObject<{
|
|
4185
4162
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4227,6 +4204,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4227
4204
|
}, z.core.$strict>]>;
|
|
4228
4205
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4229
4206
|
}, z.core.$strict>]>>>;
|
|
4207
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4208
|
+
schemaVersion: z.ZodNumber;
|
|
4209
|
+
scope: z.ZodObject<{
|
|
4210
|
+
level: z.ZodString;
|
|
4211
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4212
|
+
}, z.core.$strip>;
|
|
4213
|
+
actor: z.ZodObject<{
|
|
4214
|
+
kind: z.ZodString;
|
|
4215
|
+
id: z.ZodString;
|
|
4216
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4217
|
+
}, z.core.$strip>;
|
|
4218
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
4219
|
+
type: z.ZodString;
|
|
4220
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4221
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4222
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4223
|
+
kind: z.ZodString;
|
|
4224
|
+
id: z.ZodString;
|
|
4225
|
+
revision: z.ZodString;
|
|
4226
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4227
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4228
|
+
artifact: z.ZodObject<{
|
|
4229
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4230
|
+
kind: z.ZodString;
|
|
4231
|
+
id: z.ZodString;
|
|
4232
|
+
revision: z.ZodString;
|
|
4233
|
+
}, z.core.$strict>;
|
|
4234
|
+
localId: z.ZodString;
|
|
4235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4236
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4237
|
+
kind: z.ZodString;
|
|
4238
|
+
id: z.ZodString;
|
|
4239
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4240
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4242
|
+
refClass: z.ZodLiteral<"entity">;
|
|
4243
|
+
entityType: z.ZodString;
|
|
4244
|
+
id: z.ZodString;
|
|
4245
|
+
}, z.core.$strict>], "refClass">>;
|
|
4246
|
+
}, z.core.$strip>>;
|
|
4230
4247
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
4231
4248
|
level: z.ZodEnum<{
|
|
4232
4249
|
inferred: "inferred";
|
|
@@ -4276,7 +4293,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4276
4293
|
summary: z.ZodOptional<z.ZodString>;
|
|
4277
4294
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4278
4295
|
}, z.core.$strip>>;
|
|
4279
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4280
4296
|
id: z.ZodOptional<z.ZodString>;
|
|
4281
4297
|
slug: z.ZodOptional<z.ZodString>;
|
|
4282
4298
|
}, z.core.$strip>;
|
|
@@ -4439,45 +4455,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4439
4455
|
revision: z.ZodObject<{
|
|
4440
4456
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4441
4457
|
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>>;
|
|
4481
4458
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4482
4459
|
source: z.ZodObject<{
|
|
4483
4460
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4525,6 +4502,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4525
4502
|
}, z.core.$strict>]>;
|
|
4526
4503
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4527
4504
|
}, z.core.$strict>]>>>;
|
|
4505
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4506
|
+
schemaVersion: z.ZodNumber;
|
|
4507
|
+
scope: z.ZodObject<{
|
|
4508
|
+
level: z.ZodString;
|
|
4509
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4510
|
+
}, z.core.$strip>;
|
|
4511
|
+
actor: z.ZodObject<{
|
|
4512
|
+
kind: z.ZodString;
|
|
4513
|
+
id: z.ZodString;
|
|
4514
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4515
|
+
}, z.core.$strip>;
|
|
4516
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
4517
|
+
type: z.ZodString;
|
|
4518
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4519
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4520
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4521
|
+
kind: z.ZodString;
|
|
4522
|
+
id: z.ZodString;
|
|
4523
|
+
revision: z.ZodString;
|
|
4524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4525
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4526
|
+
artifact: z.ZodObject<{
|
|
4527
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4528
|
+
kind: z.ZodString;
|
|
4529
|
+
id: z.ZodString;
|
|
4530
|
+
revision: z.ZodString;
|
|
4531
|
+
}, z.core.$strict>;
|
|
4532
|
+
localId: z.ZodString;
|
|
4533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4534
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4535
|
+
kind: z.ZodString;
|
|
4536
|
+
id: z.ZodString;
|
|
4537
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4538
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4539
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4540
|
+
refClass: z.ZodLiteral<"entity">;
|
|
4541
|
+
entityType: z.ZodString;
|
|
4542
|
+
id: z.ZodString;
|
|
4543
|
+
}, z.core.$strict>], "refClass">>;
|
|
4544
|
+
}, z.core.$strip>>;
|
|
4528
4545
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
4529
4546
|
level: z.ZodEnum<{
|
|
4530
4547
|
inferred: "inferred";
|
|
@@ -4574,7 +4591,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4574
4591
|
summary: z.ZodOptional<z.ZodString>;
|
|
4575
4592
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4576
4593
|
}, z.core.$strip>>;
|
|
4577
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4578
4594
|
}, z.core.$strip>;
|
|
4579
4595
|
}, z.core.$strip>;
|
|
4580
4596
|
response: z.ZodObject<{
|
|
@@ -6822,6 +6838,10 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6822
6838
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6823
6839
|
minItems: z.ZodNumber;
|
|
6824
6840
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
6841
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
6842
|
+
path: z.ZodString;
|
|
6843
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
6844
|
+
}, z.core.$strict>>;
|
|
6825
6845
|
}, z.core.$strict>>>;
|
|
6826
6846
|
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6827
6847
|
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6882,6 +6902,10 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6882
6902
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6883
6903
|
minItems: z.ZodNumber;
|
|
6884
6904
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
6905
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
6906
|
+
path: z.ZodString;
|
|
6907
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
6908
|
+
}, z.core.$strict>>;
|
|
6885
6909
|
}, z.core.$strict>>>;
|
|
6886
6910
|
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6887
6911
|
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6930,8 +6954,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6930
6954
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6931
6955
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6932
6956
|
local: "local";
|
|
6933
|
-
artifact: "artifact";
|
|
6934
6957
|
evidence: "evidence";
|
|
6958
|
+
artifact: "artifact";
|
|
6935
6959
|
entity: "entity";
|
|
6936
6960
|
}>>>;
|
|
6937
6961
|
}, z.core.$strip>;
|
|
@@ -6955,8 +6979,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6955
6979
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6956
6980
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6957
6981
|
local: "local";
|
|
6958
|
-
artifact: "artifact";
|
|
6959
6982
|
evidence: "evidence";
|
|
6983
|
+
artifact: "artifact";
|
|
6960
6984
|
entity: "entity";
|
|
6961
6985
|
}>>>;
|
|
6962
6986
|
}, z.core.$strip>>;
|
|
@@ -6966,45 +6990,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6966
6990
|
request: z.ZodObject<{
|
|
6967
6991
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
6968
6992
|
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>>;
|
|
7008
6993
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7009
6994
|
source: z.ZodObject<{
|
|
7010
6995
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -7052,6 +7037,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7052
7037
|
}, z.core.$strict>]>;
|
|
7053
7038
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
7054
7039
|
}, z.core.$strict>]>>>;
|
|
7040
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7041
|
+
schemaVersion: z.ZodNumber;
|
|
7042
|
+
scope: z.ZodObject<{
|
|
7043
|
+
level: z.ZodString;
|
|
7044
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7045
|
+
}, z.core.$strip>;
|
|
7046
|
+
actor: z.ZodObject<{
|
|
7047
|
+
kind: z.ZodString;
|
|
7048
|
+
id: z.ZodString;
|
|
7049
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
7050
|
+
}, z.core.$strip>;
|
|
7051
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
7052
|
+
type: z.ZodString;
|
|
7053
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
7054
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7055
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7056
|
+
kind: z.ZodString;
|
|
7057
|
+
id: z.ZodString;
|
|
7058
|
+
revision: z.ZodString;
|
|
7059
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7060
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
7061
|
+
artifact: z.ZodObject<{
|
|
7062
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7063
|
+
kind: z.ZodString;
|
|
7064
|
+
id: z.ZodString;
|
|
7065
|
+
revision: z.ZodString;
|
|
7066
|
+
}, z.core.$strict>;
|
|
7067
|
+
localId: z.ZodString;
|
|
7068
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7069
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
7070
|
+
kind: z.ZodString;
|
|
7071
|
+
id: z.ZodString;
|
|
7072
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
7073
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
7074
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7075
|
+
refClass: z.ZodLiteral<"entity">;
|
|
7076
|
+
entityType: z.ZodString;
|
|
7077
|
+
id: z.ZodString;
|
|
7078
|
+
}, z.core.$strict>], "refClass">>;
|
|
7079
|
+
}, z.core.$strip>>;
|
|
7055
7080
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
7056
7081
|
level: z.ZodEnum<{
|
|
7057
7082
|
inferred: "inferred";
|
|
@@ -7101,7 +7126,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7101
7126
|
summary: z.ZodOptional<z.ZodString>;
|
|
7102
7127
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
7103
7128
|
}, z.core.$strip>>;
|
|
7104
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7105
7129
|
id: z.ZodOptional<z.ZodString>;
|
|
7106
7130
|
slug: z.ZodOptional<z.ZodString>;
|
|
7107
7131
|
}, z.core.$strip>;
|
|
@@ -7264,45 +7288,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7264
7288
|
revision: z.ZodObject<{
|
|
7265
7289
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
7266
7290
|
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>>;
|
|
7306
7291
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7307
7292
|
source: z.ZodObject<{
|
|
7308
7293
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -7350,6 +7335,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7350
7335
|
}, z.core.$strict>]>;
|
|
7351
7336
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
7352
7337
|
}, z.core.$strict>]>>>;
|
|
7338
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7339
|
+
schemaVersion: z.ZodNumber;
|
|
7340
|
+
scope: z.ZodObject<{
|
|
7341
|
+
level: z.ZodString;
|
|
7342
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7343
|
+
}, z.core.$strip>;
|
|
7344
|
+
actor: z.ZodObject<{
|
|
7345
|
+
kind: z.ZodString;
|
|
7346
|
+
id: z.ZodString;
|
|
7347
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
7348
|
+
}, z.core.$strip>;
|
|
7349
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
7350
|
+
type: z.ZodString;
|
|
7351
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
7352
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7353
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7354
|
+
kind: z.ZodString;
|
|
7355
|
+
id: z.ZodString;
|
|
7356
|
+
revision: z.ZodString;
|
|
7357
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7358
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
7359
|
+
artifact: z.ZodObject<{
|
|
7360
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7361
|
+
kind: z.ZodString;
|
|
7362
|
+
id: z.ZodString;
|
|
7363
|
+
revision: z.ZodString;
|
|
7364
|
+
}, z.core.$strict>;
|
|
7365
|
+
localId: z.ZodString;
|
|
7366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7367
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
7368
|
+
kind: z.ZodString;
|
|
7369
|
+
id: z.ZodString;
|
|
7370
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
7371
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
7372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7373
|
+
refClass: z.ZodLiteral<"entity">;
|
|
7374
|
+
entityType: z.ZodString;
|
|
7375
|
+
id: z.ZodString;
|
|
7376
|
+
}, z.core.$strict>], "refClass">>;
|
|
7377
|
+
}, z.core.$strip>>;
|
|
7353
7378
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
7354
7379
|
level: z.ZodEnum<{
|
|
7355
7380
|
inferred: "inferred";
|
|
@@ -7399,7 +7424,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7399
7424
|
summary: z.ZodOptional<z.ZodString>;
|
|
7400
7425
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
7401
7426
|
}, z.core.$strip>>;
|
|
7402
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7403
7427
|
}, z.core.$strip>;
|
|
7404
7428
|
}, z.core.$strip>;
|
|
7405
7429
|
response: z.ZodObject<{
|
|
@@ -12209,4 +12233,39 @@ declare function buildUniquenessKeys(rules: readonly ArtifactUniquenessRule[], r
|
|
|
12209
12233
|
*/
|
|
12210
12234
|
declare function describeUniquenessKey(key: UniquenessKey): string;
|
|
12211
12235
|
//#endregion
|
|
12212
|
-
|
|
12236
|
+
//#region core/contracts/src/artifact/relation-requirements.d.ts
|
|
12237
|
+
/** Why an applicable relation requirement is not met by a write. */
|
|
12238
|
+
type RelationRequirementIssueReason = 'below-min-items' | 'above-max-items';
|
|
12239
|
+
/** One unmet relation requirement, as reported by {@link evaluateRelationRequirements}. */
|
|
12240
|
+
interface RelationRequirementIssue {
|
|
12241
|
+
/** Zero-based index of the requirement in the declared requirements array. */
|
|
12242
|
+
readonly index: number;
|
|
12243
|
+
/** The requirement that is not met. */
|
|
12244
|
+
readonly requirement: ArtifactRelationRequirement;
|
|
12245
|
+
/** Whether the count falls below `minItems` or exceeds `maxItems`. */
|
|
12246
|
+
readonly reason: RelationRequirementIssueReason;
|
|
12247
|
+
/** Number of distinct target artifacts that matched the requirement. */
|
|
12248
|
+
readonly count: number;
|
|
12249
|
+
}
|
|
12250
|
+
/**
|
|
12251
|
+
* Evaluates registration relation requirements against one write; pure.
|
|
12252
|
+
*
|
|
12253
|
+
* A requirement counts the distinct target artifacts (by kind and id, revision
|
|
12254
|
+
* pins ignored) among relations of its `relationType` that start at the
|
|
12255
|
+
* artifact itself (no `sourceLocalId`) and, when `targetKinds` is non-empty,
|
|
12256
|
+
* target one of those kinds. Non-artifact targets never count.
|
|
12257
|
+
*
|
|
12258
|
+
* A requirement with `when` applies only when the value at `when.path` in
|
|
12259
|
+
* `data` is a scalar strictly equal to `when.equals`; a missing, null,
|
|
12260
|
+
* non-scalar, or unequal value skips the requirement without an issue.
|
|
12261
|
+
*
|
|
12262
|
+
* The caller decides which relations to pass, e.g. only the relations its
|
|
12263
|
+
* relation-type registry permits; this function does not filter them further.
|
|
12264
|
+
* @param requirements - Declared `registration.relations` of the written kind.
|
|
12265
|
+
* @param relations - Relations of the write that may count toward requirements.
|
|
12266
|
+
* @param data - Data of the artifact being written; only read for `when` conditions.
|
|
12267
|
+
* @returns One issue per violated bound of each applicable requirement, in declaration order.
|
|
12268
|
+
*/
|
|
12269
|
+
declare function evaluateRelationRequirements(requirements: readonly ArtifactRelationRequirement[] | undefined, relations: readonly ArtifactRelation[], data: Record<string, unknown> | undefined): RelationRequirementIssue[];
|
|
12270
|
+
//#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 };
|