@makaio/framework 1.0.0-dev-1790248497521 → 1.0.0-dev-1790348008233
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/artifact-eleyznpA.mjs +1 -0
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/index.d.mts +31 -31
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- 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/{contribution-DTb65rRN.d.mts → contribution-kpR61mnG.d.mts} +1 -1
- package/dist/{extension-context-DH84KOm9.d.mts → extension-context-CmhBCbbq.d.mts} +3 -3
- package/dist/{hook-responses-OETFKaAL.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
- package/dist/{index-BRXETFym.d.mts → index-BMGkU3IM.d.mts} +1 -1
- package/dist/{index-2YW8DTb62.d.mts → index-C9Dz8UoK2.d.mts} +6 -6
- package/dist/{index-LCumcYK12.d.mts → index-CCTrhWEB2.d.mts} +33 -33
- package/dist/{index-QgSmUedN.d.mts → index-CRk46fit.d.mts} +8 -8
- package/dist/{index-CEX9qfLa.d.mts → index-Cuz4nfUz.d.mts} +1 -1
- package/dist/{index-Bon00c4i.d.mts → index-D5ihXDAA.d.mts} +1 -1
- package/dist/{index-DJLRXASA.d.mts → index-DMBxHEQ_.d.mts} +16 -16
- package/dist/{index-C4VB63lu.d.mts → index-DYnahvOm.d.mts} +24 -24
- package/dist/{index-BrMihjbI.d.mts → index-DifOjlJ5.d.mts} +40 -40
- package/dist/{index-rkN_9bde.d.mts → index-HN4m0hiI.d.mts} +4 -4
- package/dist/{index-BZQ3OviE.d.mts → index-oE2q0pTG.d.mts} +1 -1
- package/dist/{index-Dcwee5Cl.d.mts → index-wiATEDG_.d.mts} +288 -266
- 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/{namespace-BEi98VfQ.d.mts → namespace-Bz0ZDWhE.d.mts} +18 -18
- package/dist/{namespace-D8oTiLLo.d.mts → namespace-C1-ZAKEG.d.mts} +6 -6
- package/dist/package.json +1 -1
- package/dist/{schemas-CrOeGZHg.d.mts → schemas-CYjPZwlQ.d.mts} +10 -10
- package/dist/{schemas-__oTCzF6.d.mts → schemas-Dyp3rHZ7.d.mts} +4 -4
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +4 -4
- package/dist/services/git/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +16 -16
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +2 -2
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- 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/{session-lineage-BQ9NWlt6.d.mts → session-lineage-CmP7L5g2.d.mts} +1 -1
- package/dist/{transition-CSN6QoMp.d.mts → transition-B0qsutdE.d.mts} +1 -1
- package/dist/{types-BP_P1izV.d.mts → types-DfbdwLQ6.d.mts} +12 -12
- package/dist/{view-builder-2cR7vI7R.d.mts → view-builder-Zw-TCgSp.d.mts} +2 -2
- package/dist/{worker-YKEWHrx5.mjs → worker-DyyO9DCO.mjs} +1 -1
- package/dist/{workflow-01evBylF.mjs → workflow-B0ZGun4r.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +15 -15
- package/package.json +1 -1
- package/dist/artifact-DF2UJsjP.mjs +0 -1
- package/dist/{schemas-CU2NE5Lg.d.mts → schemas-rliUGyrt.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-
|
|
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-rliUGyrt.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";
|
|
@@ -1233,8 +1233,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1233
1233
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1234
1234
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1235
1235
|
local: "local";
|
|
1236
|
-
evidence: "evidence";
|
|
1237
1236
|
artifact: "artifact";
|
|
1237
|
+
evidence: "evidence";
|
|
1238
1238
|
entity: "entity";
|
|
1239
1239
|
}>>>;
|
|
1240
1240
|
}, z.core.$strip>;
|
|
@@ -1258,8 +1258,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1258
1258
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1259
1259
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1260
1260
|
local: "local";
|
|
1261
|
-
evidence: "evidence";
|
|
1262
1261
|
artifact: "artifact";
|
|
1262
|
+
evidence: "evidence";
|
|
1263
1263
|
entity: "entity";
|
|
1264
1264
|
}>>>;
|
|
1265
1265
|
}, z.core.$strip>>;
|
|
@@ -1270,6 +1270,45 @@ declare const ArtifactSchemas$1: {
|
|
|
1270
1270
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1271
1271
|
kind: z.ZodString;
|
|
1272
1272
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1273
|
+
schemaVersion: z.ZodNumber;
|
|
1274
|
+
scope: z.ZodObject<{
|
|
1275
|
+
level: z.ZodString;
|
|
1276
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1277
|
+
}, z.core.$strip>;
|
|
1278
|
+
actor: z.ZodObject<{
|
|
1279
|
+
kind: z.ZodString;
|
|
1280
|
+
id: z.ZodString;
|
|
1281
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
}, z.core.$strip>;
|
|
1283
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1284
|
+
type: z.ZodString;
|
|
1285
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1287
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1288
|
+
kind: z.ZodString;
|
|
1289
|
+
id: z.ZodString;
|
|
1290
|
+
revision: z.ZodString;
|
|
1291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1292
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1293
|
+
artifact: z.ZodObject<{
|
|
1294
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1295
|
+
kind: z.ZodString;
|
|
1296
|
+
id: z.ZodString;
|
|
1297
|
+
revision: z.ZodString;
|
|
1298
|
+
}, z.core.$strict>;
|
|
1299
|
+
localId: z.ZodString;
|
|
1300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1301
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1302
|
+
kind: z.ZodString;
|
|
1303
|
+
id: z.ZodString;
|
|
1304
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1307
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1308
|
+
entityType: z.ZodString;
|
|
1309
|
+
id: z.ZodString;
|
|
1310
|
+
}, z.core.$strict>], "refClass">>;
|
|
1311
|
+
}, z.core.$strip>>;
|
|
1273
1312
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1274
1313
|
source: z.ZodObject<{
|
|
1275
1314
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1317,45 +1356,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1317
1356
|
}, z.core.$strict>]>;
|
|
1318
1357
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1319
1358
|
}, z.core.$strict>]>>>;
|
|
1320
|
-
schemaVersion: z.ZodNumber;
|
|
1321
|
-
scope: z.ZodObject<{
|
|
1322
|
-
level: z.ZodString;
|
|
1323
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1324
|
-
}, z.core.$strip>;
|
|
1325
|
-
actor: z.ZodObject<{
|
|
1326
|
-
kind: z.ZodString;
|
|
1327
|
-
id: z.ZodString;
|
|
1328
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1329
|
-
}, z.core.$strip>;
|
|
1330
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1331
|
-
type: z.ZodString;
|
|
1332
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1333
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1334
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1335
|
-
kind: z.ZodString;
|
|
1336
|
-
id: z.ZodString;
|
|
1337
|
-
revision: z.ZodString;
|
|
1338
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1339
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1340
|
-
artifact: z.ZodObject<{
|
|
1341
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1342
|
-
kind: z.ZodString;
|
|
1343
|
-
id: z.ZodString;
|
|
1344
|
-
revision: z.ZodString;
|
|
1345
|
-
}, z.core.$strict>;
|
|
1346
|
-
localId: z.ZodString;
|
|
1347
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1348
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1349
|
-
kind: z.ZodString;
|
|
1350
|
-
id: z.ZodString;
|
|
1351
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1352
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1353
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1354
|
-
refClass: z.ZodLiteral<"entity">;
|
|
1355
|
-
entityType: z.ZodString;
|
|
1356
|
-
id: z.ZodString;
|
|
1357
|
-
}, z.core.$strict>], "refClass">>;
|
|
1358
|
-
}, z.core.$strip>>;
|
|
1359
1359
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1360
1360
|
level: z.ZodEnum<{
|
|
1361
1361
|
inferred: "inferred";
|
|
@@ -1566,6 +1566,45 @@ declare const ArtifactSchemas$1: {
|
|
|
1566
1566
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1567
1567
|
kind: z.ZodString;
|
|
1568
1568
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1569
|
+
schemaVersion: z.ZodNumber;
|
|
1570
|
+
scope: z.ZodObject<{
|
|
1571
|
+
level: z.ZodString;
|
|
1572
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1573
|
+
}, z.core.$strip>;
|
|
1574
|
+
actor: z.ZodObject<{
|
|
1575
|
+
kind: z.ZodString;
|
|
1576
|
+
id: z.ZodString;
|
|
1577
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
}, z.core.$strip>;
|
|
1579
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1580
|
+
type: z.ZodString;
|
|
1581
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1583
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1584
|
+
kind: z.ZodString;
|
|
1585
|
+
id: z.ZodString;
|
|
1586
|
+
revision: z.ZodString;
|
|
1587
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1588
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1589
|
+
artifact: z.ZodObject<{
|
|
1590
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1591
|
+
kind: z.ZodString;
|
|
1592
|
+
id: z.ZodString;
|
|
1593
|
+
revision: z.ZodString;
|
|
1594
|
+
}, z.core.$strict>;
|
|
1595
|
+
localId: z.ZodString;
|
|
1596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1597
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1598
|
+
kind: z.ZodString;
|
|
1599
|
+
id: z.ZodString;
|
|
1600
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1601
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1602
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1603
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1604
|
+
entityType: z.ZodString;
|
|
1605
|
+
id: z.ZodString;
|
|
1606
|
+
}, z.core.$strict>], "refClass">>;
|
|
1607
|
+
}, z.core.$strip>>;
|
|
1569
1608
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1570
1609
|
source: z.ZodObject<{
|
|
1571
1610
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1613,45 +1652,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1613
1652
|
}, z.core.$strict>]>;
|
|
1614
1653
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1615
1654
|
}, z.core.$strict>]>>>;
|
|
1616
|
-
schemaVersion: z.ZodNumber;
|
|
1617
|
-
scope: z.ZodObject<{
|
|
1618
|
-
level: z.ZodString;
|
|
1619
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1620
|
-
}, z.core.$strip>;
|
|
1621
|
-
actor: z.ZodObject<{
|
|
1622
|
-
kind: z.ZodString;
|
|
1623
|
-
id: z.ZodString;
|
|
1624
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1625
|
-
}, z.core.$strip>;
|
|
1626
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1627
|
-
type: z.ZodString;
|
|
1628
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1629
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1630
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1631
|
-
kind: z.ZodString;
|
|
1632
|
-
id: z.ZodString;
|
|
1633
|
-
revision: z.ZodString;
|
|
1634
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1635
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1636
|
-
artifact: z.ZodObject<{
|
|
1637
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1638
|
-
kind: z.ZodString;
|
|
1639
|
-
id: z.ZodString;
|
|
1640
|
-
revision: z.ZodString;
|
|
1641
|
-
}, z.core.$strict>;
|
|
1642
|
-
localId: z.ZodString;
|
|
1643
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1644
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1645
|
-
kind: z.ZodString;
|
|
1646
|
-
id: z.ZodString;
|
|
1647
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1648
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1649
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1650
|
-
refClass: z.ZodLiteral<"entity">;
|
|
1651
|
-
entityType: z.ZodString;
|
|
1652
|
-
id: z.ZodString;
|
|
1653
|
-
}, z.core.$strict>], "refClass">>;
|
|
1654
|
-
}, z.core.$strip>>;
|
|
1655
1655
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1656
1656
|
level: z.ZodEnum<{
|
|
1657
1657
|
inferred: "inferred";
|
|
@@ -4025,8 +4025,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4025
4025
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4026
4026
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4027
4027
|
local: "local";
|
|
4028
|
-
evidence: "evidence";
|
|
4029
4028
|
artifact: "artifact";
|
|
4029
|
+
evidence: "evidence";
|
|
4030
4030
|
entity: "entity";
|
|
4031
4031
|
}>>>;
|
|
4032
4032
|
}, z.core.$strip>;
|
|
@@ -4050,8 +4050,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4050
4050
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4051
4051
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4052
4052
|
local: "local";
|
|
4053
|
-
evidence: "evidence";
|
|
4054
4053
|
artifact: "artifact";
|
|
4054
|
+
evidence: "evidence";
|
|
4055
4055
|
entity: "entity";
|
|
4056
4056
|
}>>>;
|
|
4057
4057
|
}, z.core.$strip>>;
|
|
@@ -4062,6 +4062,45 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4062
4062
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4063
4063
|
kind: z.ZodString;
|
|
4064
4064
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4065
|
+
schemaVersion: z.ZodNumber;
|
|
4066
|
+
scope: z.ZodObject<{
|
|
4067
|
+
level: z.ZodString;
|
|
4068
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4069
|
+
}, z.core.$strip>;
|
|
4070
|
+
actor: z.ZodObject<{
|
|
4071
|
+
kind: z.ZodString;
|
|
4072
|
+
id: z.ZodString;
|
|
4073
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4074
|
+
}, z.core.$strip>;
|
|
4075
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
4076
|
+
type: z.ZodString;
|
|
4077
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4078
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4079
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4080
|
+
kind: z.ZodString;
|
|
4081
|
+
id: z.ZodString;
|
|
4082
|
+
revision: z.ZodString;
|
|
4083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4084
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4085
|
+
artifact: z.ZodObject<{
|
|
4086
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4087
|
+
kind: z.ZodString;
|
|
4088
|
+
id: z.ZodString;
|
|
4089
|
+
revision: z.ZodString;
|
|
4090
|
+
}, z.core.$strict>;
|
|
4091
|
+
localId: z.ZodString;
|
|
4092
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4093
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4094
|
+
kind: z.ZodString;
|
|
4095
|
+
id: z.ZodString;
|
|
4096
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4097
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4098
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4099
|
+
refClass: z.ZodLiteral<"entity">;
|
|
4100
|
+
entityType: z.ZodString;
|
|
4101
|
+
id: z.ZodString;
|
|
4102
|
+
}, z.core.$strict>], "refClass">>;
|
|
4103
|
+
}, z.core.$strip>>;
|
|
4065
4104
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4066
4105
|
source: z.ZodObject<{
|
|
4067
4106
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4109,45 +4148,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4109
4148
|
}, z.core.$strict>]>;
|
|
4110
4149
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4111
4150
|
}, z.core.$strict>]>>>;
|
|
4112
|
-
schemaVersion: z.ZodNumber;
|
|
4113
|
-
scope: z.ZodObject<{
|
|
4114
|
-
level: z.ZodString;
|
|
4115
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4116
|
-
}, z.core.$strip>;
|
|
4117
|
-
actor: z.ZodObject<{
|
|
4118
|
-
kind: z.ZodString;
|
|
4119
|
-
id: z.ZodString;
|
|
4120
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4121
|
-
}, z.core.$strip>;
|
|
4122
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
4123
|
-
type: z.ZodString;
|
|
4124
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4125
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4126
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4127
|
-
kind: z.ZodString;
|
|
4128
|
-
id: z.ZodString;
|
|
4129
|
-
revision: z.ZodString;
|
|
4130
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4131
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4132
|
-
artifact: z.ZodObject<{
|
|
4133
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4134
|
-
kind: z.ZodString;
|
|
4135
|
-
id: z.ZodString;
|
|
4136
|
-
revision: z.ZodString;
|
|
4137
|
-
}, z.core.$strict>;
|
|
4138
|
-
localId: z.ZodString;
|
|
4139
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4140
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4141
|
-
kind: z.ZodString;
|
|
4142
|
-
id: z.ZodString;
|
|
4143
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
4144
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
4145
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4146
|
-
refClass: z.ZodLiteral<"entity">;
|
|
4147
|
-
entityType: z.ZodString;
|
|
4148
|
-
id: z.ZodString;
|
|
4149
|
-
}, z.core.$strict>], "refClass">>;
|
|
4150
|
-
}, z.core.$strip>>;
|
|
4151
4151
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
4152
4152
|
level: z.ZodEnum<{
|
|
4153
4153
|
inferred: "inferred";
|
|
@@ -4358,6 +4358,45 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4358
4358
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4359
4359
|
kind: z.ZodString;
|
|
4360
4360
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4361
|
+
schemaVersion: z.ZodNumber;
|
|
4362
|
+
scope: z.ZodObject<{
|
|
4363
|
+
level: z.ZodString;
|
|
4364
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4365
|
+
}, z.core.$strip>;
|
|
4366
|
+
actor: z.ZodObject<{
|
|
4367
|
+
kind: z.ZodString;
|
|
4368
|
+
id: z.ZodString;
|
|
4369
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4370
|
+
}, z.core.$strip>;
|
|
4371
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
4372
|
+
type: z.ZodString;
|
|
4373
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4374
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4375
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4376
|
+
kind: z.ZodString;
|
|
4377
|
+
id: z.ZodString;
|
|
4378
|
+
revision: z.ZodString;
|
|
4379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4380
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4381
|
+
artifact: z.ZodObject<{
|
|
4382
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4383
|
+
kind: z.ZodString;
|
|
4384
|
+
id: z.ZodString;
|
|
4385
|
+
revision: z.ZodString;
|
|
4386
|
+
}, z.core.$strict>;
|
|
4387
|
+
localId: z.ZodString;
|
|
4388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4389
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4390
|
+
kind: z.ZodString;
|
|
4391
|
+
id: z.ZodString;
|
|
4392
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4393
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4394
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4395
|
+
refClass: z.ZodLiteral<"entity">;
|
|
4396
|
+
entityType: z.ZodString;
|
|
4397
|
+
id: z.ZodString;
|
|
4398
|
+
}, z.core.$strict>], "refClass">>;
|
|
4399
|
+
}, z.core.$strip>>;
|
|
4361
4400
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4362
4401
|
source: z.ZodObject<{
|
|
4363
4402
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4405,45 +4444,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4405
4444
|
}, z.core.$strict>]>;
|
|
4406
4445
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4407
4446
|
}, z.core.$strict>]>>>;
|
|
4408
|
-
schemaVersion: z.ZodNumber;
|
|
4409
|
-
scope: z.ZodObject<{
|
|
4410
|
-
level: z.ZodString;
|
|
4411
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4412
|
-
}, z.core.$strip>;
|
|
4413
|
-
actor: z.ZodObject<{
|
|
4414
|
-
kind: z.ZodString;
|
|
4415
|
-
id: z.ZodString;
|
|
4416
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4417
|
-
}, z.core.$strip>;
|
|
4418
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
4419
|
-
type: z.ZodString;
|
|
4420
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4421
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4422
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4423
|
-
kind: z.ZodString;
|
|
4424
|
-
id: z.ZodString;
|
|
4425
|
-
revision: z.ZodString;
|
|
4426
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4427
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4428
|
-
artifact: z.ZodObject<{
|
|
4429
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4430
|
-
kind: z.ZodString;
|
|
4431
|
-
id: z.ZodString;
|
|
4432
|
-
revision: z.ZodString;
|
|
4433
|
-
}, z.core.$strict>;
|
|
4434
|
-
localId: z.ZodString;
|
|
4435
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4436
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4437
|
-
kind: z.ZodString;
|
|
4438
|
-
id: z.ZodString;
|
|
4439
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
4440
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
4441
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4442
|
-
refClass: z.ZodLiteral<"entity">;
|
|
4443
|
-
entityType: z.ZodString;
|
|
4444
|
-
id: z.ZodString;
|
|
4445
|
-
}, z.core.$strict>], "refClass">>;
|
|
4446
|
-
}, z.core.$strip>>;
|
|
4447
4447
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
4448
4448
|
level: z.ZodEnum<{
|
|
4449
4449
|
inferred: "inferred";
|
|
@@ -6839,8 +6839,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6839
6839
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6840
6840
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6841
6841
|
local: "local";
|
|
6842
|
-
evidence: "evidence";
|
|
6843
6842
|
artifact: "artifact";
|
|
6843
|
+
evidence: "evidence";
|
|
6844
6844
|
entity: "entity";
|
|
6845
6845
|
}>>>;
|
|
6846
6846
|
}, z.core.$strip>;
|
|
@@ -6864,8 +6864,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6864
6864
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6865
6865
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6866
6866
|
local: "local";
|
|
6867
|
-
evidence: "evidence";
|
|
6868
6867
|
artifact: "artifact";
|
|
6868
|
+
evidence: "evidence";
|
|
6869
6869
|
entity: "entity";
|
|
6870
6870
|
}>>>;
|
|
6871
6871
|
}, z.core.$strip>>;
|
|
@@ -6876,6 +6876,45 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6876
6876
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
6877
6877
|
kind: z.ZodString;
|
|
6878
6878
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
6879
|
+
schemaVersion: z.ZodNumber;
|
|
6880
|
+
scope: z.ZodObject<{
|
|
6881
|
+
level: z.ZodString;
|
|
6882
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6883
|
+
}, z.core.$strip>;
|
|
6884
|
+
actor: z.ZodObject<{
|
|
6885
|
+
kind: z.ZodString;
|
|
6886
|
+
id: z.ZodString;
|
|
6887
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
6888
|
+
}, z.core.$strip>;
|
|
6889
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
6890
|
+
type: z.ZodString;
|
|
6891
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
6892
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6893
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
6894
|
+
kind: z.ZodString;
|
|
6895
|
+
id: z.ZodString;
|
|
6896
|
+
revision: z.ZodString;
|
|
6897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6898
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
6899
|
+
artifact: z.ZodObject<{
|
|
6900
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
6901
|
+
kind: z.ZodString;
|
|
6902
|
+
id: z.ZodString;
|
|
6903
|
+
revision: z.ZodString;
|
|
6904
|
+
}, z.core.$strict>;
|
|
6905
|
+
localId: z.ZodString;
|
|
6906
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6907
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
6908
|
+
kind: z.ZodString;
|
|
6909
|
+
id: z.ZodString;
|
|
6910
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
6911
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
6912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6913
|
+
refClass: z.ZodLiteral<"entity">;
|
|
6914
|
+
entityType: z.ZodString;
|
|
6915
|
+
id: z.ZodString;
|
|
6916
|
+
}, z.core.$strict>], "refClass">>;
|
|
6917
|
+
}, z.core.$strip>>;
|
|
6879
6918
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
6880
6919
|
source: z.ZodObject<{
|
|
6881
6920
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -6923,45 +6962,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6923
6962
|
}, z.core.$strict>]>;
|
|
6924
6963
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
6925
6964
|
}, z.core.$strict>]>>>;
|
|
6926
|
-
schemaVersion: z.ZodNumber;
|
|
6927
|
-
scope: z.ZodObject<{
|
|
6928
|
-
level: z.ZodString;
|
|
6929
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6930
|
-
}, z.core.$strip>;
|
|
6931
|
-
actor: z.ZodObject<{
|
|
6932
|
-
kind: z.ZodString;
|
|
6933
|
-
id: z.ZodString;
|
|
6934
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
6935
|
-
}, z.core.$strip>;
|
|
6936
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
6937
|
-
type: z.ZodString;
|
|
6938
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
6939
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6940
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
6941
|
-
kind: z.ZodString;
|
|
6942
|
-
id: z.ZodString;
|
|
6943
|
-
revision: z.ZodString;
|
|
6944
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
6945
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
6946
|
-
artifact: z.ZodObject<{
|
|
6947
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
6948
|
-
kind: z.ZodString;
|
|
6949
|
-
id: z.ZodString;
|
|
6950
|
-
revision: z.ZodString;
|
|
6951
|
-
}, z.core.$strict>;
|
|
6952
|
-
localId: z.ZodString;
|
|
6953
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6954
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
6955
|
-
kind: z.ZodString;
|
|
6956
|
-
id: z.ZodString;
|
|
6957
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
6958
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
6959
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6960
|
-
refClass: z.ZodLiteral<"entity">;
|
|
6961
|
-
entityType: z.ZodString;
|
|
6962
|
-
id: z.ZodString;
|
|
6963
|
-
}, z.core.$strict>], "refClass">>;
|
|
6964
|
-
}, z.core.$strip>>;
|
|
6965
6965
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
6966
6966
|
level: z.ZodEnum<{
|
|
6967
6967
|
inferred: "inferred";
|
|
@@ -7172,6 +7172,45 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7172
7172
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
7173
7173
|
kind: z.ZodString;
|
|
7174
7174
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7175
|
+
schemaVersion: z.ZodNumber;
|
|
7176
|
+
scope: z.ZodObject<{
|
|
7177
|
+
level: z.ZodString;
|
|
7178
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7179
|
+
}, z.core.$strip>;
|
|
7180
|
+
actor: z.ZodObject<{
|
|
7181
|
+
kind: z.ZodString;
|
|
7182
|
+
id: z.ZodString;
|
|
7183
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
7184
|
+
}, z.core.$strip>;
|
|
7185
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
7186
|
+
type: z.ZodString;
|
|
7187
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
7188
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7189
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7190
|
+
kind: z.ZodString;
|
|
7191
|
+
id: z.ZodString;
|
|
7192
|
+
revision: z.ZodString;
|
|
7193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7194
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
7195
|
+
artifact: z.ZodObject<{
|
|
7196
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7197
|
+
kind: z.ZodString;
|
|
7198
|
+
id: z.ZodString;
|
|
7199
|
+
revision: z.ZodString;
|
|
7200
|
+
}, z.core.$strict>;
|
|
7201
|
+
localId: z.ZodString;
|
|
7202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7203
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
7204
|
+
kind: z.ZodString;
|
|
7205
|
+
id: z.ZodString;
|
|
7206
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
7207
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
7208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7209
|
+
refClass: z.ZodLiteral<"entity">;
|
|
7210
|
+
entityType: z.ZodString;
|
|
7211
|
+
id: z.ZodString;
|
|
7212
|
+
}, z.core.$strict>], "refClass">>;
|
|
7213
|
+
}, z.core.$strip>>;
|
|
7175
7214
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7176
7215
|
source: z.ZodObject<{
|
|
7177
7216
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -7219,45 +7258,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7219
7258
|
}, z.core.$strict>]>;
|
|
7220
7259
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
7221
7260
|
}, z.core.$strict>]>>>;
|
|
7222
|
-
schemaVersion: z.ZodNumber;
|
|
7223
|
-
scope: z.ZodObject<{
|
|
7224
|
-
level: z.ZodString;
|
|
7225
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7226
|
-
}, z.core.$strip>;
|
|
7227
|
-
actor: z.ZodObject<{
|
|
7228
|
-
kind: z.ZodString;
|
|
7229
|
-
id: z.ZodString;
|
|
7230
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
7231
|
-
}, z.core.$strip>;
|
|
7232
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
7233
|
-
type: z.ZodString;
|
|
7234
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
7235
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7236
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
7237
|
-
kind: z.ZodString;
|
|
7238
|
-
id: z.ZodString;
|
|
7239
|
-
revision: z.ZodString;
|
|
7240
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7241
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
7242
|
-
artifact: z.ZodObject<{
|
|
7243
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
7244
|
-
kind: z.ZodString;
|
|
7245
|
-
id: z.ZodString;
|
|
7246
|
-
revision: z.ZodString;
|
|
7247
|
-
}, z.core.$strict>;
|
|
7248
|
-
localId: z.ZodString;
|
|
7249
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7250
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
7251
|
-
kind: z.ZodString;
|
|
7252
|
-
id: z.ZodString;
|
|
7253
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
7254
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
7255
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7256
|
-
refClass: z.ZodLiteral<"entity">;
|
|
7257
|
-
entityType: z.ZodString;
|
|
7258
|
-
id: z.ZodString;
|
|
7259
|
-
}, z.core.$strict>], "refClass">>;
|
|
7260
|
-
}, z.core.$strip>>;
|
|
7261
7261
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
7262
7262
|
level: z.ZodEnum<{
|
|
7263
7263
|
inferred: "inferred";
|
|
@@ -11979,7 +11979,7 @@ declare function describeArtifactRelationTargetIdentity(identity: ArtifactRelati
|
|
|
11979
11979
|
* What a store can derive and enforce; declared rules outside this set are
|
|
11980
11980
|
* reported as issues rather than silently dropped.
|
|
11981
11981
|
*/
|
|
11982
|
-
type UniquenessSelectorCapability = 'relation-target' | 'lifecycle-states';
|
|
11982
|
+
type UniquenessSelectorCapability = 'relation-target' | 'data' | 'lifecycle-states';
|
|
11983
11983
|
/** Per-rule or per-selector issue surfaced when a capability is missing. */
|
|
11984
11984
|
interface UniquenessSupportIssue {
|
|
11985
11985
|
/** Zero-based index of the rule in the declared uniqueness array. */
|
|
@@ -11989,12 +11989,7 @@ interface UniquenessSupportIssue {
|
|
|
11989
11989
|
* Absent when the issue concerns `lifecycleStates` rather than a selector.
|
|
11990
11990
|
*/
|
|
11991
11991
|
selectorIndex?: number;
|
|
11992
|
-
/**
|
|
11993
|
-
* The missing capability.
|
|
11994
|
-
* May be `'data'` even though it is not in {@link UniquenessSelectorCapability},
|
|
11995
|
-
* because a data-path selector is always undeivable regardless of what the
|
|
11996
|
-
* store declares.
|
|
11997
|
-
*/
|
|
11992
|
+
/** The missing capability. */
|
|
11998
11993
|
capability: ArtifactUniquenessRule['by'][number]['kind'] | 'lifecycle-states';
|
|
11999
11994
|
/** Human-readable explanation. */
|
|
12000
11995
|
message: string;
|
|
@@ -12018,33 +12013,56 @@ declare function assessUniquenessSupport(rules: readonly ArtifactUniquenessRule[
|
|
|
12018
12013
|
issues: UniquenessSupportIssue[];
|
|
12019
12014
|
};
|
|
12020
12015
|
/**
|
|
12021
|
-
*
|
|
12022
|
-
*
|
|
12023
|
-
*
|
|
12024
|
-
* `relations_json @> '[{"type":"...","target":{...}}]'::jsonb`.
|
|
12016
|
+
* A `relation-target` selector's contribution to a uniqueness key.
|
|
12017
|
+
* Structurally a `Partial<ArtifactRelation>` and can be used directly as a
|
|
12018
|
+
* jsonb containment probe against the `relations_json` column:
|
|
12019
|
+
* `relations_json @> '[{"type":"...","target":{...}}]'::jsonb`. Carries no
|
|
12020
|
+
* discriminant field so this probe shape stays stable.
|
|
12025
12021
|
*/
|
|
12026
|
-
interface
|
|
12022
|
+
interface UniquenessRelationTargetKeyPart {
|
|
12027
12023
|
/** Relation type matching the selector's `relationType`. */
|
|
12028
12024
|
type: string;
|
|
12029
12025
|
/** Pin-less comparable identity of the resolved target. */
|
|
12030
12026
|
target: ArtifactRelationTargetIdentity;
|
|
12031
12027
|
}
|
|
12032
|
-
/**
|
|
12028
|
+
/**
|
|
12029
|
+
* A `data` selector's contribution to a uniqueness key (FACT-141): the exact
|
|
12030
|
+
* scalar value read from the artifact data at the selector's declared path.
|
|
12031
|
+
* No normalization or case folding is applied; comparison is exact equality.
|
|
12032
|
+
*/
|
|
12033
|
+
interface UniquenessDataKeyPart {
|
|
12034
|
+
/** Data-relative object-property path matching the selector's `path`. */
|
|
12035
|
+
path: string;
|
|
12036
|
+
/** Exact scalar value read at `path`. */
|
|
12037
|
+
value: string | number | boolean;
|
|
12038
|
+
}
|
|
12039
|
+
/**
|
|
12040
|
+
* One selector's contribution to a uniqueness key, discriminated by shape:
|
|
12041
|
+
* a `target` property marks a {@link UniquenessRelationTargetKeyPart}, a
|
|
12042
|
+
* `value` property marks a {@link UniquenessDataKeyPart}.
|
|
12043
|
+
*/
|
|
12044
|
+
type UniquenessKeyPart = UniquenessRelationTargetKeyPart | UniquenessDataKeyPart;
|
|
12045
|
+
/** A fully resolved uniqueness key derived from an artifact's relations and data. */
|
|
12033
12046
|
interface UniquenessKey {
|
|
12034
12047
|
/** The rule this key was derived from, in its original declared form. */
|
|
12035
12048
|
rule: ArtifactUniquenessRule;
|
|
12036
12049
|
/** Zero-based index of the rule in the declared uniqueness array. */
|
|
12037
12050
|
ruleIndex: number;
|
|
12038
12051
|
/**
|
|
12039
|
-
* One part per selector, in declaration order
|
|
12040
|
-
*
|
|
12052
|
+
* One part per selector, in declaration order. Parts are heterogeneous by
|
|
12053
|
+
* selector kind: a {@link UniquenessRelationTargetKeyPart} is the
|
|
12054
|
+
* containment probe a store runs against a stored relations array, a
|
|
12055
|
+
* {@link UniquenessDataKeyPart} is the exact value to compare against a
|
|
12056
|
+
* stored data field. A store enforcing a mixed rule (FACT-141) runs both
|
|
12057
|
+
* kinds of comparison per part and combines them — there is no single
|
|
12058
|
+
* probe shape that covers all parts.
|
|
12041
12059
|
*/
|
|
12042
12060
|
parts: UniquenessKeyPart[];
|
|
12043
12061
|
/** Injective string form for equality and logging (stable key order). */
|
|
12044
12062
|
serialized: string;
|
|
12045
12063
|
}
|
|
12046
12064
|
/** Reason a key could not be derived for a selector. */
|
|
12047
|
-
type UniquenessKeyIssueReason = 'missing-target' | 'ambiguous-target' | 'unsupported-target' | 'unsupported-selector';
|
|
12065
|
+
type UniquenessKeyIssueReason = 'missing-target' | 'ambiguous-target' | 'unsupported-target' | 'unsupported-selector' | 'missing-value' | 'unsupported-value-type';
|
|
12048
12066
|
/** Diagnostic for a single selector within a rule that blocked key derivation. */
|
|
12049
12067
|
interface UniquenessKeyIssue {
|
|
12050
12068
|
/** Zero-based index of the rule in the declared uniqueness array. */
|
|
@@ -12053,11 +12071,10 @@ interface UniquenessKeyIssue {
|
|
|
12053
12071
|
selectorIndex: number;
|
|
12054
12072
|
/** Why derivation failed. */
|
|
12055
12073
|
reason: UniquenessKeyIssueReason;
|
|
12056
|
-
/**
|
|
12057
|
-
* Relation type string for `relation-target` selectors.
|
|
12058
|
-
* Absent for `unsupported-selector` issues on `data` selectors.
|
|
12059
|
-
*/
|
|
12074
|
+
/** Relation type string for `relation-target` selectors; absent otherwise. */
|
|
12060
12075
|
relationType?: string;
|
|
12076
|
+
/** Data-relative object-property path for `data` selectors; absent otherwise. */
|
|
12077
|
+
dataPath?: string;
|
|
12061
12078
|
/** Human-readable explanation. */
|
|
12062
12079
|
message: string;
|
|
12063
12080
|
}
|
|
@@ -12069,20 +12086,25 @@ interface BuildUniquenessKeysResult {
|
|
|
12069
12086
|
issues: UniquenessKeyIssue[];
|
|
12070
12087
|
}
|
|
12071
12088
|
/**
|
|
12072
|
-
* Derive one key per rule from an artifact's relations
|
|
12073
|
-
* Rules with any issue produce no key; keys and issues
|
|
12089
|
+
* Derive one key per rule from an artifact's relations and, for `data`
|
|
12090
|
+
* selectors, its data. Rules with any issue produce no key; keys and issues
|
|
12091
|
+
* are returned together.
|
|
12074
12092
|
* @param rules - Declared uniqueness rules to derive keys for.
|
|
12075
12093
|
* @param relations - Full relation list of the artifact being written.
|
|
12094
|
+
* @param data - Data of the artifact being written; only needed when a rule
|
|
12095
|
+
* declares a `data` selector (FACT-141). Omitting it while such a selector
|
|
12096
|
+
* is present surfaces a `missing-value` issue rather than throwing.
|
|
12076
12097
|
* @returns Combined set of derived keys and selector-level issues.
|
|
12077
12098
|
*/
|
|
12078
|
-
declare function buildUniquenessKeys(rules: readonly ArtifactUniquenessRule[], relations: readonly ArtifactRelation[]): BuildUniquenessKeysResult;
|
|
12099
|
+
declare function buildUniquenessKeys(rules: readonly ArtifactUniquenessRule[], relations: readonly ArtifactRelation[], data?: Record<string, unknown>): BuildUniquenessKeysResult;
|
|
12079
12100
|
/**
|
|
12080
12101
|
* Human-readable one-liner for a key.
|
|
12081
12102
|
* @example `about → artifact:concept/abc`
|
|
12082
12103
|
* @example `owned-by → entity:workpiece/W-1; about → artifact:concept/abc`
|
|
12104
|
+
* @example `slug → "my-slug"`
|
|
12083
12105
|
* @param key - A fully resolved uniqueness key.
|
|
12084
|
-
* @returns A string describing each part in `
|
|
12106
|
+
* @returns A string describing each part in `selector → value` form, joined by `'; '`.
|
|
12085
12107
|
*/
|
|
12086
12108
|
declare function describeUniquenessKey(key: UniquenessKey): string;
|
|
12087
12109
|
//#endregion
|
|
12088
|
-
export {
|
|
12110
|
+
export { ArtifactLifecycleTransitionIntent as $, ArtifactContextRelationDirection as $n, ArtifactSchemaFragment as $t, ArtifactLifecycleRejectedPayload as A, ArtifactSchemas$1 as An, EvidenceOccurrence as Ar, ArtifactPatchResponse as At, ArtifactLifecycleHistoryEntry as B, ArtifactContextTree as Bn, EvidenceValueSchema$1 as Br, artifactPatchSegment as Bt, ArtifactLifecycleGetRequestSchema as C, ArtifactResolveContextRequest as Cn, ArtifactLifecycleHookDefinition as Cr, ArtifactPatchOperationResult as Ct, ArtifactLifecycleHistoryRequestSchema as D, ArtifactReviseRequest as Dn, BeforeArtifactHookContext as Dr, ArtifactPatchPersistedSchema as Dt, ArtifactLifecycleHistoryRequest as E, ArtifactResolveResponse as En, ArtifactLifecycleSemanticEvent as Er, ArtifactPatchPathSchema as Et, toArtifactLifecycleFailure as F, ArtifactResolvePartResponse as Fn, EvidenceResolveResponse as Fr, ArtifactPatchTarget as Ft, ArtifactLifecycleRejection as G, ArtifactContextUnresolvedReason as Gn, ArtifactResolvePartError as Gt, ArtifactLifecycleIdentitySchema as H, UnresolvedArtifactContextNode as Hn, ARTIFACT_RESOLVE_PART_ERROR_CODES as Ht, ARTIFACT_LIFECYCLE_REJECTED_CODE as I, ArtifactResolvePartResponseSchema as In, EvidenceResolveResponseSchema as Ir, ArtifactPatchTargetSchema as It, ArtifactLifecycleSituationSchema as J, ResolvedArtifactContextWireSchema as Jn, checkArtifactPartIds as Jt, ArtifactLifecycleRejectionSchema as K, ArtifactContextUnresolvedReasonSchema as Kn, ArtifactResolvePartErrorCode as Kt, ArtifactLifecycleCurrent as L, hydrateArtifactContextTree as Ln, ARTIFACT_VALUE_TYPE_KEYWORD as Lr, artifactPatchFilterName as Lt, ArtifactLifecycleSchemas as M, ArtifactSubjects$1 as Mn, extractEvidenceOccurrences as Mr, ArtifactPatchSegment as Mt, ArtifactLifecycleTransitionResponse as N, ArtifactResolvePartRequest as Nn, EvidenceResolveRequest as Nr, ArtifactPatchSuccess as Nt, ArtifactLifecycleHistoryResponse as O, ArtifactReviseResponse as On, BeforeArtifactHookRegistration as Or, ArtifactPatchRequest as Ot, ArtifactLifecycleTransitionResponseSchema as P, ArtifactResolvePartRequestSchema as Pn, EvidenceResolveRequestSchema as Pr, ArtifactPatchSuccessSchema as Pt, ArtifactLifecycleTransitionCommandSchema as Q, ArtifactContextKnownRenderHint as Qn, ARTIFACT_COLLECTION_ELEMENT_SEGMENT as Qt, ArtifactLifecycleCurrentSchema as R, ArtifactContextNode as Rn, EVIDENCE_VALUE_TYPE as Rr, artifactPatchInstructions as Rt, ArtifactLifecycleGetRequest as S, ArtifactRelationTypeRegisterResponse as Sn, ArtifactHookFilter as Sr, ArtifactPatchMigrationSchema as St, ArtifactLifecycleGetResponseSchema as T, ArtifactResolveRequest as Tn, ArtifactLifecycleHookRegistration$1 as Tr, ArtifactPatchOperator as Tt, ArtifactLifecycleInitializedEntry as U, ArtifactContextRefEntry as Un, ArtifactPartResolution as Ut, ArtifactLifecycleHistoryEntrySchema as V, ResolvedArtifactContextNode as Vn, artifactPatchSegments as Vt, ArtifactLifecycleInitializedEntrySchema as W, ArtifactContextRefEntrySchema as Wn, ArtifactRelationSourceIssue as Wt, ArtifactLifecycleSnapshotSchema as X, ARTIFACT_CONTEXT_RELATION_DIRECTIONS as Xn, resolveArtifactPart as Xt, ArtifactLifecycleSnapshot as Y, artifactRevisionKey as Yn, checkArtifactRelationSourceParts as Yt, ArtifactLifecycleTransitionCommand as Z, ARTIFACT_CONTEXT_RENDER_HINTS as Zn, validateArtifactPartAreas as Zt, serializeArtifactRelationTargetIdentity as _, ArtifactQueryResponse as _n, defineArtifactKind as _r, ArtifactPatchFailureSchema as _t, UniquenessKeyIssueReason as a, ArtifactCreatedPayload as an, ArtifactContextSelector$1 as ar, initialArtifactLifecycle as at, ArtifactLifecycleFailure as b, ArtifactRelationTypeListResponse as bn, ArtifactDraft as br, ArtifactPatchIssueSchema as bt, UniquenessSelectorCapability as c, ArtifactKindChangedPayload as cn, ArtifactDataChecker as cr, ARTIFACT_PATCH_OPERATORS as ct, buildUniquenessKeys as d, ArtifactKindRegisterRequest as dn, compileArtifactDataChecker as dr, ArtifactPatchDocument as dt, inspectArtifactDataLocation as en, ArtifactContextRelationDirectionSchema as er, ArtifactLifecycleTransitionIntentSchema as et, describeUniquenessKey as f, ArtifactKindRegisterResponse as fn, compileArtifactDataSchema as fr, ArtifactPatchDocumentSchema as ft, describeArtifactRelationTargetIdentity as g, ArtifactPatchSubjectResponse as gn, ArtifactOf as gr, ArtifactPatchErrorSchema as gt, artifactRelationTargetIdentity as h, ArtifactPatchSubjectRequest as hn, ArtifactKindDefinition as hr, ArtifactPatchErrorCode as ht, UniquenessKeyIssue as i, ArtifactCreateResponse as in, ArtifactContextRenderHintSchema as ir, advanceArtifactLifecycle as it, ArtifactLifecycleRejectedPayloadSchema as j, ArtifactStatusChangedPayload as jn, EvidenceOccurrenceExtractionOptions as jr, ArtifactPatchResponseSchema as jt, ArtifactLifecycleHistoryResponseSchema as k, ArtifactRevisedPayload as kn, defineArtifactLifecycleHooks as kr, ArtifactPatchRequestSchema as kt, UniquenessSupportIssue as l, ArtifactKindListRequest as ln, ArtifactDataIssue as lr, ArtifactPatchArrayFilter as lt, ArtifactRelationTargetIdentitySchema as m, ArtifactObservationAddedPayload as mn, ArtifactDataOf as mr, ArtifactPatchError as mt, UniquenessDataKeyPart as n, readArtifactTitle as nn, ArtifactContextRelationSelectorSchema as nr, ArtifactLifecycleTransitionedEntrySchema as nt, UniquenessKeyPart as o, ArtifactEvidenceResolveRequest as on, ArtifactContextSelectorSchema as or, isArtifactLifecycleTransitionAllowed as ot, ArtifactRelationTargetIdentity as p, ArtifactNamespace as pn, AnyArtifactKindDefinition as pr, ArtifactPatchDryRunSchema as pt, ArtifactLifecycleSituation as q, ResolvedArtifactContextWire$1 as qn, ArtifactResolvePartErrorSchema as qt, UniquenessKey as r, ArtifactCreateRequest as rn, ArtifactContextRenderHint as rr, ArtifactLifecycleVersionSchema as rt, UniquenessRelationTargetKeyPart as s, ArtifactEvidenceResolveResponse$1 as sn, ArtifactDataCheck as sr, ARTIFACT_PATCH_ERROR_CODES as st, BuildUniquenessKeysResult as t, isArtifactDataPathDeclared as tn, ArtifactContextRelationSelector as tr, ArtifactLifecycleTransitionedEntry as tt, assessUniquenessSupport as u, ArtifactKindListResponse as un, ArtifactDataValidator as ur, ArtifactPatchArrayFilterSchema as ut, ArtifactLifecycleCommittedPayload as v, ArtifactRelationAddedPayload as vn, AfterArtifactHookContext as vr, ArtifactPatchInstruction as vt, ArtifactLifecycleGetResponse as w, ArtifactResolveContextResponse as wn, ArtifactLifecycleHookEvent as wr, ArtifactPatchOperationResultSchema as wt, ArtifactLifecycleFailureSchema as x, ArtifactRelationTypeRegisterRequest as xn, ArtifactDraftPatch as xr, ArtifactPatchMigration as xt, ArtifactLifecycleCommittedPayloadSchema as y, ArtifactRelationTypeListRequest as yn, AfterArtifactHookRegistration as yr, ArtifactPatchIssue as yt, ArtifactLifecycleError as z, ArtifactContextRootNode as zn, EvidenceValue$1 as zr, artifactPatchPathFilterNames as zt };
|