@makaio/framework 1.0.0-dev-1790175294701 → 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/bus/index.mjs +1 -1
- package/dist/bus-DgpPEPoM.mjs +9 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- 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/facet/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +70 -70
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- 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/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/{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-9O8N514B2.d.mts → index-6UlianLY2.d.mts} +4 -4
- package/dist/{index-CVRQS5jk.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-BRXETFym.d.mts → index-BMGkU3IM.d.mts} +1 -1
- package/dist/{index-Csua5M_M2.d.mts → index-Bmb7jPIe2.d.mts} +8 -8
- package/dist/{index-2YW8DTb62.d.mts → index-C9Dz8UoK2.d.mts} +6 -6
- package/dist/{index-DIEnLLhi2.d.mts → index-CCTrhWEB2.d.mts} +5 -5
- package/dist/{index-DxtUM-qd.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-Mk478DlF.d.mts → index-CRk46fit.d.mts} +9 -9
- package/dist/{index-Bgz81LHZ.d.mts → index-Cuz4nfUz.d.mts} +1 -1
- package/dist/{index-BMr77str2.d.mts → index-CydQ1dLS2.d.mts} +12 -12
- package/dist/{index-BgkQiruC.d.mts → index-D5BLD2Pw.d.mts} +7 -7
- package/dist/{index-B1iXL1pW.d.mts → index-D5Lw1UsO.d.mts} +8 -8
- package/dist/{index-BusmMFMN.d.mts → index-D5ihXDAA.d.mts} +48 -11
- package/dist/{index-Cu8k2ZGe.d.mts → index-DMBxHEQ_.d.mts} +30 -30
- package/dist/{index-DWKSiTxX.d.mts → index-DYnahvOm.d.mts} +20 -20
- package/dist/{index-7pt_bh4z.d.mts → index-DifOjlJ5.d.mts} +37 -37
- package/dist/{index-BVN64wQx.d.mts → index-HN4m0hiI.d.mts} +28 -28
- package/dist/{index-D8V1DhrY.d.mts → index-wiATEDG_.d.mts} +377 -279
- 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/{materialization-iFhpbs1s.mjs → materialization-CIrHHspa.mjs} +4 -1
- package/dist/{namespace-B9iQN3FQ.d.mts → namespace-C5tKjqgb.d.mts} +4 -4
- package/dist/{namespace-h7gq_v5U.d.mts → namespace-CHSwZhH7.d.mts} +2 -2
- package/dist/{namespace-DAzOxaux.d.mts → namespace-D6W4Erwp.d.mts} +2 -2
- package/dist/package.json +1 -1
- package/dist/{schemas-BTJvvq9Y.d.mts → schemas-BXkSHQaF.d.mts} +2 -2
- package/dist/{schemas-Dec5VtBU.d.mts → schemas-CYjPZwlQ.d.mts} +4 -4
- package/dist/{schemas-CBDNnyz4.d.mts → schemas-Cb9OJ9va.d.mts} +1 -1
- 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/execution-target/index.d.mts +2 -2
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.d.mts +4 -4
- package/dist/services/git/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +27 -23
- package/dist/services/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +3 -3
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- 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-DTpwvvY9.d.mts → types-DfbdwLQ6.d.mts} +3 -3
- package/dist/{view-builder-cjQZJmTY.d.mts → view-builder-Zw-TCgSp.d.mts} +10 -10
- package/dist/{worker-B72n8bse.mjs → worker-DyyO9DCO.mjs} +1 -1
- package/dist/{workflow-D-X3rPsl.mjs → workflow-B0ZGun4r.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +24 -24
- package/package.json +1 -1
- package/dist/artifact-CKz9YQPu.mjs +0 -1
- package/dist/bus-30AlabEz.mjs +0 -9
- 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";
|
|
@@ -596,15 +596,31 @@ type ArtifactContextKnownRenderHint = (typeof ARTIFACT_CONTEXT_RENDER_HINTS)[num
|
|
|
596
596
|
* a contract change.
|
|
597
597
|
*/
|
|
598
598
|
type ArtifactContextRenderHint = ArtifactContextKnownRenderHint | (string & {});
|
|
599
|
+
/** Traversal direction of a relation selector. */
|
|
600
|
+
declare const ARTIFACT_CONTEXT_RELATION_DIRECTIONS: readonly ["outbound", "inbound"];
|
|
599
601
|
/**
|
|
600
|
-
*
|
|
601
|
-
*
|
|
602
|
+
* Direction in which a relation selector follows relations of the given type.
|
|
603
|
+
*
|
|
604
|
+
* - `outbound` (default) follows relations stored on the walked artifact.
|
|
605
|
+
* - `inbound` selects the current revisions of artifacts whose relations of
|
|
606
|
+
* this type point at the walked artifact's identity (kind + id).
|
|
607
|
+
*/
|
|
608
|
+
type ArtifactContextRelationDirection = (typeof ARTIFACT_CONTEXT_RELATION_DIRECTIONS)[number];
|
|
609
|
+
/**
|
|
610
|
+
* Per-relation selector controlling which relations to follow and how to
|
|
611
|
+
* render the resolved context.
|
|
602
612
|
*/
|
|
603
613
|
interface ArtifactContextRelationSelector {
|
|
614
|
+
/** Restrict to these kinds of the artifact on the far side of the relation. */
|
|
604
615
|
readonly kinds?: readonly string[];
|
|
616
|
+
/** Render hint for the resolved entries. */
|
|
605
617
|
readonly hint?: ArtifactContextRenderHint;
|
|
618
|
+
/** Traversal depth along this relation type (defaults to 1). */
|
|
606
619
|
readonly depth?: number;
|
|
620
|
+
/** Selectors applied to the artifacts reached through this relation. */
|
|
607
621
|
readonly nested?: ArtifactContextSelector$1;
|
|
622
|
+
/** Direction to follow; defaults to `outbound`. */
|
|
623
|
+
readonly direction?: ArtifactContextRelationDirection;
|
|
608
624
|
}
|
|
609
625
|
/**
|
|
610
626
|
* Map from relation type to per-relation selector.
|
|
@@ -615,12 +631,37 @@ interface ArtifactContextRelationSelector {
|
|
|
615
631
|
type ArtifactContextSelector$1 = Readonly<Record<string, ArtifactContextRelationSelector>>;
|
|
616
632
|
/** Runtime schema for render hint strings. Accepts any non-empty string. */
|
|
617
633
|
declare const ArtifactContextRenderHintSchema: z.ZodString;
|
|
634
|
+
/** Runtime schema for relation traversal directions. */
|
|
635
|
+
declare const ArtifactContextRelationDirectionSchema: z.ZodEnum<{
|
|
636
|
+
outbound: "outbound";
|
|
637
|
+
inbound: "inbound";
|
|
638
|
+
}>;
|
|
618
639
|
/** Runtime schema for per-relation selectors. */
|
|
619
640
|
declare const ArtifactContextRelationSelectorSchema: z.ZodType<ArtifactContextRelationSelector, ArtifactContextRelationSelector>;
|
|
620
641
|
/** Runtime schema for selector maps keyed by relation type. */
|
|
621
642
|
declare const ArtifactContextSelectorSchema: z.ZodType<ArtifactContextSelector$1, ArtifactContextSelector$1>;
|
|
622
643
|
//#endregion
|
|
623
644
|
//#region core/contracts/src/artifact/context-resolution.d.ts
|
|
645
|
+
interface ArtifactRevisionKeyFields {
|
|
646
|
+
/** Artifact kind discriminator. */
|
|
647
|
+
kind: string;
|
|
648
|
+
/** Stable artifact identity. */
|
|
649
|
+
id: string;
|
|
650
|
+
/** Artifact revision identity. */
|
|
651
|
+
revision: string;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Creates a collision-safe key identifying one artifact revision.
|
|
655
|
+
*
|
|
656
|
+
* The key is the JSON encoding of the `[kind, id, revision]` tuple, so field
|
|
657
|
+
* values containing separator characters cannot collide. Use it wherever
|
|
658
|
+
* artifact refs must be matched against revision payloads (for example the
|
|
659
|
+
* `resolved` pool of a {@link ResolvedArtifactContextWire}) so producers and
|
|
660
|
+
* readers of the context wire format agree on revision identity.
|
|
661
|
+
* @param ref - Artifact reference or revision fields to identify; only `kind`, `id`, and `revision` are read.
|
|
662
|
+
* @returns Stable key for the artifact revision identity.
|
|
663
|
+
*/
|
|
664
|
+
declare function artifactRevisionKey(ref: ArtifactRevisionKeyFields): string;
|
|
624
665
|
/**
|
|
625
666
|
* Reasons why a relation target was not resolved during context resolution.
|
|
626
667
|
*
|
|
@@ -638,8 +679,11 @@ type ArtifactContextUnresolvedReason = z.infer<typeof ArtifactContextUnresolvedR
|
|
|
638
679
|
/**
|
|
639
680
|
* A single entry in the normalized artifact context wire format.
|
|
640
681
|
*
|
|
641
|
-
* Each entry records one
|
|
642
|
-
* target
|
|
682
|
+
* Each entry records one traversal edge from the walked artifact
|
|
683
|
+
* (`sourceRef`) to a `target`, along with resolution status and the render
|
|
684
|
+
* hint used. For the default outbound direction the edge is the stored
|
|
685
|
+
* relation itself. For an inbound edge the stored relation lives on the
|
|
686
|
+
* target and points back at `sourceRef`'s identity; `direction` marks this.
|
|
643
687
|
*/
|
|
644
688
|
declare const ArtifactContextRefEntrySchema: z.ZodObject<{
|
|
645
689
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -675,6 +719,10 @@ declare const ArtifactContextRefEntrySchema: z.ZodObject<{
|
|
|
675
719
|
}, z.core.$strict>;
|
|
676
720
|
relationType: z.ZodString;
|
|
677
721
|
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
722
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
723
|
+
outbound: "outbound";
|
|
724
|
+
inbound: "inbound";
|
|
725
|
+
}>>;
|
|
678
726
|
hint: z.ZodString;
|
|
679
727
|
status: z.ZodEnum<{
|
|
680
728
|
resolved: "resolved";
|
|
@@ -738,6 +786,10 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
|
738
786
|
}, z.core.$strict>;
|
|
739
787
|
relationType: z.ZodString;
|
|
740
788
|
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
789
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
790
|
+
outbound: "outbound";
|
|
791
|
+
inbound: "inbound";
|
|
792
|
+
}>>;
|
|
741
793
|
hint: z.ZodString;
|
|
742
794
|
status: z.ZodEnum<{
|
|
743
795
|
resolved: "resolved";
|
|
@@ -925,7 +977,7 @@ interface ResolvedArtifactContextNodeBase {
|
|
|
925
977
|
readonly artifact: ArtifactRevision$1;
|
|
926
978
|
/** Render hint applied to this node. */
|
|
927
979
|
readonly hint: ArtifactContextRenderHint;
|
|
928
|
-
/** Child nodes
|
|
980
|
+
/** Child nodes reached through this artifact's selected relations. */
|
|
929
981
|
readonly children: readonly ArtifactContextNode[];
|
|
930
982
|
}
|
|
931
983
|
/** The resolved root node; it has no parent relation. */
|
|
@@ -934,8 +986,14 @@ type ArtifactContextRootNode = ResolvedArtifactContextNodeBase;
|
|
|
934
986
|
interface ResolvedArtifactContextNode extends ResolvedArtifactContextNodeBase {
|
|
935
987
|
/** Relation type that led to this node from its parent. */
|
|
936
988
|
readonly relation: string;
|
|
937
|
-
/** Optional local identifier of the
|
|
989
|
+
/** Optional local identifier of the part that owns the stored relation. */
|
|
938
990
|
readonly sourceLocalId?: string;
|
|
991
|
+
/**
|
|
992
|
+
* Direction of the stored relation relative to the parent; absent means outbound.
|
|
993
|
+
* Producers omit the field for outbound edges; readers must treat an absent
|
|
994
|
+
* value and `'outbound'` alike.
|
|
995
|
+
*/
|
|
996
|
+
readonly direction?: ArtifactContextRelationDirection;
|
|
939
997
|
}
|
|
940
998
|
/** An unresolved node representing a relation that could not be followed. */
|
|
941
999
|
interface UnresolvedArtifactContextNode {
|
|
@@ -944,8 +1002,14 @@ interface UnresolvedArtifactContextNode {
|
|
|
944
1002
|
readonly target: ArtifactRelationTarget;
|
|
945
1003
|
/** Relation type that led to this node from its parent. */
|
|
946
1004
|
readonly relation: string;
|
|
947
|
-
/** Optional local identifier of the
|
|
1005
|
+
/** Optional local identifier of the part that owns the stored relation. */
|
|
948
1006
|
readonly sourceLocalId?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Direction of the stored relation relative to the parent; absent means outbound.
|
|
1009
|
+
* Producers omit the field for outbound edges; readers must treat an absent
|
|
1010
|
+
* value and `'outbound'` alike.
|
|
1011
|
+
*/
|
|
1012
|
+
readonly direction?: ArtifactContextRelationDirection;
|
|
949
1013
|
/** Render hint applied to this node. */
|
|
950
1014
|
readonly hint: ArtifactContextRenderHint;
|
|
951
1015
|
/** Reason the target was not resolved. */
|
|
@@ -1169,8 +1233,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1169
1233
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1170
1234
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1171
1235
|
local: "local";
|
|
1172
|
-
evidence: "evidence";
|
|
1173
1236
|
artifact: "artifact";
|
|
1237
|
+
evidence: "evidence";
|
|
1174
1238
|
entity: "entity";
|
|
1175
1239
|
}>>>;
|
|
1176
1240
|
}, z.core.$strip>;
|
|
@@ -1194,8 +1258,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1194
1258
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1195
1259
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1196
1260
|
local: "local";
|
|
1197
|
-
evidence: "evidence";
|
|
1198
1261
|
artifact: "artifact";
|
|
1262
|
+
evidence: "evidence";
|
|
1199
1263
|
entity: "entity";
|
|
1200
1264
|
}>>>;
|
|
1201
1265
|
}, z.core.$strip>>;
|
|
@@ -1205,6 +1269,46 @@ declare const ArtifactSchemas$1: {
|
|
|
1205
1269
|
request: z.ZodObject<{
|
|
1206
1270
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1207
1271
|
kind: z.ZodString;
|
|
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>>;
|
|
1208
1312
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1209
1313
|
source: z.ZodObject<{
|
|
1210
1314
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1252,46 +1356,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1252
1356
|
}, z.core.$strict>]>;
|
|
1253
1357
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1254
1358
|
}, z.core.$strict>]>>>;
|
|
1255
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1256
|
-
schemaVersion: z.ZodNumber;
|
|
1257
|
-
scope: z.ZodObject<{
|
|
1258
|
-
level: z.ZodString;
|
|
1259
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1260
|
-
}, z.core.$strip>;
|
|
1261
|
-
actor: z.ZodObject<{
|
|
1262
|
-
kind: z.ZodString;
|
|
1263
|
-
id: z.ZodString;
|
|
1264
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1265
|
-
}, z.core.$strip>;
|
|
1266
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1267
|
-
type: z.ZodString;
|
|
1268
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1269
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1270
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1271
|
-
kind: z.ZodString;
|
|
1272
|
-
id: z.ZodString;
|
|
1273
|
-
revision: z.ZodString;
|
|
1274
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1275
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1276
|
-
artifact: z.ZodObject<{
|
|
1277
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1278
|
-
kind: z.ZodString;
|
|
1279
|
-
id: z.ZodString;
|
|
1280
|
-
revision: z.ZodString;
|
|
1281
|
-
}, z.core.$strict>;
|
|
1282
|
-
localId: z.ZodString;
|
|
1283
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1284
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1285
|
-
kind: z.ZodString;
|
|
1286
|
-
id: z.ZodString;
|
|
1287
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1288
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1289
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1290
|
-
refClass: z.ZodLiteral<"entity">;
|
|
1291
|
-
entityType: z.ZodString;
|
|
1292
|
-
id: z.ZodString;
|
|
1293
|
-
}, z.core.$strict>], "refClass">>;
|
|
1294
|
-
}, z.core.$strip>>;
|
|
1295
1359
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1296
1360
|
level: z.ZodEnum<{
|
|
1297
1361
|
inferred: "inferred";
|
|
@@ -1501,6 +1565,46 @@ declare const ArtifactSchemas$1: {
|
|
|
1501
1565
|
revision: z.ZodObject<{
|
|
1502
1566
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1503
1567
|
kind: z.ZodString;
|
|
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>>;
|
|
1504
1608
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1505
1609
|
source: z.ZodObject<{
|
|
1506
1610
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1548,46 +1652,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1548
1652
|
}, z.core.$strict>]>;
|
|
1549
1653
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1550
1654
|
}, z.core.$strict>]>>>;
|
|
1551
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1552
|
-
schemaVersion: z.ZodNumber;
|
|
1553
|
-
scope: z.ZodObject<{
|
|
1554
|
-
level: z.ZodString;
|
|
1555
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1556
|
-
}, z.core.$strip>;
|
|
1557
|
-
actor: z.ZodObject<{
|
|
1558
|
-
kind: z.ZodString;
|
|
1559
|
-
id: z.ZodString;
|
|
1560
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1561
|
-
}, z.core.$strip>;
|
|
1562
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1563
|
-
type: z.ZodString;
|
|
1564
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1565
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1566
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1567
|
-
kind: z.ZodString;
|
|
1568
|
-
id: z.ZodString;
|
|
1569
|
-
revision: z.ZodString;
|
|
1570
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1571
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1572
|
-
artifact: z.ZodObject<{
|
|
1573
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
1574
|
-
kind: z.ZodString;
|
|
1575
|
-
id: z.ZodString;
|
|
1576
|
-
revision: z.ZodString;
|
|
1577
|
-
}, z.core.$strict>;
|
|
1578
|
-
localId: z.ZodString;
|
|
1579
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1580
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1581
|
-
kind: z.ZodString;
|
|
1582
|
-
id: z.ZodString;
|
|
1583
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1584
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1585
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1586
|
-
refClass: z.ZodLiteral<"entity">;
|
|
1587
|
-
entityType: z.ZodString;
|
|
1588
|
-
id: z.ZodString;
|
|
1589
|
-
}, z.core.$strict>], "refClass">>;
|
|
1590
|
-
}, z.core.$strip>>;
|
|
1591
1655
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1592
1656
|
level: z.ZodEnum<{
|
|
1593
1657
|
inferred: "inferred";
|
|
@@ -2779,6 +2843,10 @@ declare const ArtifactSchemas$1: {
|
|
|
2779
2843
|
}, z.core.$strict>;
|
|
2780
2844
|
relationType: z.ZodString;
|
|
2781
2845
|
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
2846
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2847
|
+
outbound: "outbound";
|
|
2848
|
+
inbound: "inbound";
|
|
2849
|
+
}>>;
|
|
2782
2850
|
hint: z.ZodString;
|
|
2783
2851
|
status: z.ZodEnum<{
|
|
2784
2852
|
resolved: "resolved";
|
|
@@ -3957,8 +4025,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3957
4025
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3958
4026
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3959
4027
|
local: "local";
|
|
3960
|
-
evidence: "evidence";
|
|
3961
4028
|
artifact: "artifact";
|
|
4029
|
+
evidence: "evidence";
|
|
3962
4030
|
entity: "entity";
|
|
3963
4031
|
}>>>;
|
|
3964
4032
|
}, z.core.$strip>;
|
|
@@ -3982,8 +4050,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3982
4050
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3983
4051
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3984
4052
|
local: "local";
|
|
3985
|
-
evidence: "evidence";
|
|
3986
4053
|
artifact: "artifact";
|
|
4054
|
+
evidence: "evidence";
|
|
3987
4055
|
entity: "entity";
|
|
3988
4056
|
}>>>;
|
|
3989
4057
|
}, z.core.$strip>>;
|
|
@@ -3993,6 +4061,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3993
4061
|
request: z.ZodObject<{
|
|
3994
4062
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3995
4063
|
kind: z.ZodString;
|
|
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>>;
|
|
3996
4104
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3997
4105
|
source: z.ZodObject<{
|
|
3998
4106
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4040,46 +4148,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4040
4148
|
}, z.core.$strict>]>;
|
|
4041
4149
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4042
4150
|
}, z.core.$strict>]>>>;
|
|
4043
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4044
|
-
schemaVersion: z.ZodNumber;
|
|
4045
|
-
scope: z.ZodObject<{
|
|
4046
|
-
level: z.ZodString;
|
|
4047
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4048
|
-
}, z.core.$strip>;
|
|
4049
|
-
actor: z.ZodObject<{
|
|
4050
|
-
kind: z.ZodString;
|
|
4051
|
-
id: z.ZodString;
|
|
4052
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4053
|
-
}, z.core.$strip>;
|
|
4054
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
4055
|
-
type: z.ZodString;
|
|
4056
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4057
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4058
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4059
|
-
kind: z.ZodString;
|
|
4060
|
-
id: z.ZodString;
|
|
4061
|
-
revision: z.ZodString;
|
|
4062
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4063
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4064
|
-
artifact: z.ZodObject<{
|
|
4065
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4066
|
-
kind: z.ZodString;
|
|
4067
|
-
id: z.ZodString;
|
|
4068
|
-
revision: z.ZodString;
|
|
4069
|
-
}, z.core.$strict>;
|
|
4070
|
-
localId: z.ZodString;
|
|
4071
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4072
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4073
|
-
kind: z.ZodString;
|
|
4074
|
-
id: z.ZodString;
|
|
4075
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
4076
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
4077
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4078
|
-
refClass: z.ZodLiteral<"entity">;
|
|
4079
|
-
entityType: z.ZodString;
|
|
4080
|
-
id: z.ZodString;
|
|
4081
|
-
}, z.core.$strict>], "refClass">>;
|
|
4082
|
-
}, z.core.$strip>>;
|
|
4083
4151
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
4084
4152
|
level: z.ZodEnum<{
|
|
4085
4153
|
inferred: "inferred";
|
|
@@ -4289,6 +4357,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4289
4357
|
revision: z.ZodObject<{
|
|
4290
4358
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4291
4359
|
kind: z.ZodString;
|
|
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>>;
|
|
4292
4400
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4293
4401
|
source: z.ZodObject<{
|
|
4294
4402
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4336,46 +4444,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4336
4444
|
}, z.core.$strict>]>;
|
|
4337
4445
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4338
4446
|
}, z.core.$strict>]>>>;
|
|
4339
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4340
|
-
schemaVersion: z.ZodNumber;
|
|
4341
|
-
scope: z.ZodObject<{
|
|
4342
|
-
level: z.ZodString;
|
|
4343
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4344
|
-
}, z.core.$strip>;
|
|
4345
|
-
actor: z.ZodObject<{
|
|
4346
|
-
kind: z.ZodString;
|
|
4347
|
-
id: z.ZodString;
|
|
4348
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4349
|
-
}, z.core.$strip>;
|
|
4350
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
4351
|
-
type: z.ZodString;
|
|
4352
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4353
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4354
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4355
|
-
kind: z.ZodString;
|
|
4356
|
-
id: z.ZodString;
|
|
4357
|
-
revision: z.ZodString;
|
|
4358
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4359
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4360
|
-
artifact: z.ZodObject<{
|
|
4361
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
4362
|
-
kind: z.ZodString;
|
|
4363
|
-
id: z.ZodString;
|
|
4364
|
-
revision: z.ZodString;
|
|
4365
|
-
}, z.core.$strict>;
|
|
4366
|
-
localId: z.ZodString;
|
|
4367
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4368
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4369
|
-
kind: z.ZodString;
|
|
4370
|
-
id: z.ZodString;
|
|
4371
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
4372
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
4373
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4374
|
-
refClass: z.ZodLiteral<"entity">;
|
|
4375
|
-
entityType: z.ZodString;
|
|
4376
|
-
id: z.ZodString;
|
|
4377
|
-
}, z.core.$strict>], "refClass">>;
|
|
4378
|
-
}, z.core.$strip>>;
|
|
4379
4447
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
4380
4448
|
level: z.ZodEnum<{
|
|
4381
4449
|
inferred: "inferred";
|
|
@@ -5567,6 +5635,10 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
5567
5635
|
}, z.core.$strict>;
|
|
5568
5636
|
relationType: z.ZodString;
|
|
5569
5637
|
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
5638
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
5639
|
+
outbound: "outbound";
|
|
5640
|
+
inbound: "inbound";
|
|
5641
|
+
}>>;
|
|
5570
5642
|
hint: z.ZodString;
|
|
5571
5643
|
status: z.ZodEnum<{
|
|
5572
5644
|
resolved: "resolved";
|
|
@@ -6767,8 +6839,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6767
6839
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6768
6840
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6769
6841
|
local: "local";
|
|
6770
|
-
evidence: "evidence";
|
|
6771
6842
|
artifact: "artifact";
|
|
6843
|
+
evidence: "evidence";
|
|
6772
6844
|
entity: "entity";
|
|
6773
6845
|
}>>>;
|
|
6774
6846
|
}, z.core.$strip>;
|
|
@@ -6792,8 +6864,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6792
6864
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6793
6865
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6794
6866
|
local: "local";
|
|
6795
|
-
evidence: "evidence";
|
|
6796
6867
|
artifact: "artifact";
|
|
6868
|
+
evidence: "evidence";
|
|
6797
6869
|
entity: "entity";
|
|
6798
6870
|
}>>>;
|
|
6799
6871
|
}, z.core.$strip>>;
|
|
@@ -6803,6 +6875,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6803
6875
|
request: z.ZodObject<{
|
|
6804
6876
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
6805
6877
|
kind: z.ZodString;
|
|
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>>;
|
|
6806
6918
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
6807
6919
|
source: z.ZodObject<{
|
|
6808
6920
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -6850,46 +6962,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6850
6962
|
}, z.core.$strict>]>;
|
|
6851
6963
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
6852
6964
|
}, z.core.$strict>]>>>;
|
|
6853
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
6854
|
-
schemaVersion: z.ZodNumber;
|
|
6855
|
-
scope: z.ZodObject<{
|
|
6856
|
-
level: z.ZodString;
|
|
6857
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6858
|
-
}, z.core.$strip>;
|
|
6859
|
-
actor: z.ZodObject<{
|
|
6860
|
-
kind: z.ZodString;
|
|
6861
|
-
id: z.ZodString;
|
|
6862
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
6863
|
-
}, z.core.$strip>;
|
|
6864
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
6865
|
-
type: z.ZodString;
|
|
6866
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
6867
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6868
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
6869
|
-
kind: z.ZodString;
|
|
6870
|
-
id: z.ZodString;
|
|
6871
|
-
revision: z.ZodString;
|
|
6872
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
6873
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
6874
|
-
artifact: z.ZodObject<{
|
|
6875
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
6876
|
-
kind: z.ZodString;
|
|
6877
|
-
id: z.ZodString;
|
|
6878
|
-
revision: z.ZodString;
|
|
6879
|
-
}, z.core.$strict>;
|
|
6880
|
-
localId: z.ZodString;
|
|
6881
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6882
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
6883
|
-
kind: z.ZodString;
|
|
6884
|
-
id: z.ZodString;
|
|
6885
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
6886
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
6887
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6888
|
-
refClass: z.ZodLiteral<"entity">;
|
|
6889
|
-
entityType: z.ZodString;
|
|
6890
|
-
id: z.ZodString;
|
|
6891
|
-
}, z.core.$strict>], "refClass">>;
|
|
6892
|
-
}, z.core.$strip>>;
|
|
6893
6965
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
6894
6966
|
level: z.ZodEnum<{
|
|
6895
6967
|
inferred: "inferred";
|
|
@@ -7099,6 +7171,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7099
7171
|
revision: z.ZodObject<{
|
|
7100
7172
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
7101
7173
|
kind: z.ZodString;
|
|
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>>;
|
|
7102
7214
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7103
7215
|
source: z.ZodObject<{
|
|
7104
7216
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -7146,46 +7258,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7146
7258
|
}, z.core.$strict>]>;
|
|
7147
7259
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
7148
7260
|
}, z.core.$strict>]>>>;
|
|
7149
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7150
|
-
schemaVersion: z.ZodNumber;
|
|
7151
|
-
scope: z.ZodObject<{
|
|
7152
|
-
level: z.ZodString;
|
|
7153
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7154
|
-
}, z.core.$strip>;
|
|
7155
|
-
actor: z.ZodObject<{
|
|
7156
|
-
kind: z.ZodString;
|
|
7157
|
-
id: z.ZodString;
|
|
7158
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
7159
|
-
}, z.core.$strip>;
|
|
7160
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
7161
|
-
type: z.ZodString;
|
|
7162
|
-
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
7163
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7164
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
7165
|
-
kind: z.ZodString;
|
|
7166
|
-
id: z.ZodString;
|
|
7167
|
-
revision: z.ZodString;
|
|
7168
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7169
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
7170
|
-
artifact: z.ZodObject<{
|
|
7171
|
-
refClass: z.ZodLiteral<"artifact">;
|
|
7172
|
-
kind: z.ZodString;
|
|
7173
|
-
id: z.ZodString;
|
|
7174
|
-
revision: z.ZodString;
|
|
7175
|
-
}, z.core.$strict>;
|
|
7176
|
-
localId: z.ZodString;
|
|
7177
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7178
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
7179
|
-
kind: z.ZodString;
|
|
7180
|
-
id: z.ZodString;
|
|
7181
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
7182
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
7183
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7184
|
-
refClass: z.ZodLiteral<"entity">;
|
|
7185
|
-
entityType: z.ZodString;
|
|
7186
|
-
id: z.ZodString;
|
|
7187
|
-
}, z.core.$strict>], "refClass">>;
|
|
7188
|
-
}, z.core.$strip>>;
|
|
7189
7261
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
7190
7262
|
level: z.ZodEnum<{
|
|
7191
7263
|
inferred: "inferred";
|
|
@@ -8377,6 +8449,10 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8377
8449
|
}, z.core.$strict>;
|
|
8378
8450
|
relationType: z.ZodString;
|
|
8379
8451
|
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
8452
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
8453
|
+
outbound: "outbound";
|
|
8454
|
+
inbound: "inbound";
|
|
8455
|
+
}>>;
|
|
8380
8456
|
hint: z.ZodString;
|
|
8381
8457
|
status: z.ZodEnum<{
|
|
8382
8458
|
resolved: "resolved";
|
|
@@ -11903,7 +11979,7 @@ declare function describeArtifactRelationTargetIdentity(identity: ArtifactRelati
|
|
|
11903
11979
|
* What a store can derive and enforce; declared rules outside this set are
|
|
11904
11980
|
* reported as issues rather than silently dropped.
|
|
11905
11981
|
*/
|
|
11906
|
-
type UniquenessSelectorCapability = 'relation-target' | 'lifecycle-states';
|
|
11982
|
+
type UniquenessSelectorCapability = 'relation-target' | 'data' | 'lifecycle-states';
|
|
11907
11983
|
/** Per-rule or per-selector issue surfaced when a capability is missing. */
|
|
11908
11984
|
interface UniquenessSupportIssue {
|
|
11909
11985
|
/** Zero-based index of the rule in the declared uniqueness array. */
|
|
@@ -11913,12 +11989,7 @@ interface UniquenessSupportIssue {
|
|
|
11913
11989
|
* Absent when the issue concerns `lifecycleStates` rather than a selector.
|
|
11914
11990
|
*/
|
|
11915
11991
|
selectorIndex?: number;
|
|
11916
|
-
/**
|
|
11917
|
-
* The missing capability.
|
|
11918
|
-
* May be `'data'` even though it is not in {@link UniquenessSelectorCapability},
|
|
11919
|
-
* because a data-path selector is always undeivable regardless of what the
|
|
11920
|
-
* store declares.
|
|
11921
|
-
*/
|
|
11992
|
+
/** The missing capability. */
|
|
11922
11993
|
capability: ArtifactUniquenessRule['by'][number]['kind'] | 'lifecycle-states';
|
|
11923
11994
|
/** Human-readable explanation. */
|
|
11924
11995
|
message: string;
|
|
@@ -11942,33 +12013,56 @@ declare function assessUniquenessSupport(rules: readonly ArtifactUniquenessRule[
|
|
|
11942
12013
|
issues: UniquenessSupportIssue[];
|
|
11943
12014
|
};
|
|
11944
12015
|
/**
|
|
11945
|
-
*
|
|
11946
|
-
*
|
|
11947
|
-
*
|
|
11948
|
-
* `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.
|
|
11949
12021
|
*/
|
|
11950
|
-
interface
|
|
12022
|
+
interface UniquenessRelationTargetKeyPart {
|
|
11951
12023
|
/** Relation type matching the selector's `relationType`. */
|
|
11952
12024
|
type: string;
|
|
11953
12025
|
/** Pin-less comparable identity of the resolved target. */
|
|
11954
12026
|
target: ArtifactRelationTargetIdentity;
|
|
11955
12027
|
}
|
|
11956
|
-
/**
|
|
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. */
|
|
11957
12046
|
interface UniquenessKey {
|
|
11958
12047
|
/** The rule this key was derived from, in its original declared form. */
|
|
11959
12048
|
rule: ArtifactUniquenessRule;
|
|
11960
12049
|
/** Zero-based index of the rule in the declared uniqueness array. */
|
|
11961
12050
|
ruleIndex: number;
|
|
11962
12051
|
/**
|
|
11963
|
-
* One part per selector, in declaration order
|
|
11964
|
-
*
|
|
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.
|
|
11965
12059
|
*/
|
|
11966
12060
|
parts: UniquenessKeyPart[];
|
|
11967
12061
|
/** Injective string form for equality and logging (stable key order). */
|
|
11968
12062
|
serialized: string;
|
|
11969
12063
|
}
|
|
11970
12064
|
/** Reason a key could not be derived for a selector. */
|
|
11971
|
-
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';
|
|
11972
12066
|
/** Diagnostic for a single selector within a rule that blocked key derivation. */
|
|
11973
12067
|
interface UniquenessKeyIssue {
|
|
11974
12068
|
/** Zero-based index of the rule in the declared uniqueness array. */
|
|
@@ -11977,11 +12071,10 @@ interface UniquenessKeyIssue {
|
|
|
11977
12071
|
selectorIndex: number;
|
|
11978
12072
|
/** Why derivation failed. */
|
|
11979
12073
|
reason: UniquenessKeyIssueReason;
|
|
11980
|
-
/**
|
|
11981
|
-
* Relation type string for `relation-target` selectors.
|
|
11982
|
-
* Absent for `unsupported-selector` issues on `data` selectors.
|
|
11983
|
-
*/
|
|
12074
|
+
/** Relation type string for `relation-target` selectors; absent otherwise. */
|
|
11984
12075
|
relationType?: string;
|
|
12076
|
+
/** Data-relative object-property path for `data` selectors; absent otherwise. */
|
|
12077
|
+
dataPath?: string;
|
|
11985
12078
|
/** Human-readable explanation. */
|
|
11986
12079
|
message: string;
|
|
11987
12080
|
}
|
|
@@ -11993,20 +12086,25 @@ interface BuildUniquenessKeysResult {
|
|
|
11993
12086
|
issues: UniquenessKeyIssue[];
|
|
11994
12087
|
}
|
|
11995
12088
|
/**
|
|
11996
|
-
* Derive one key per rule from an artifact's relations
|
|
11997
|
-
* 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.
|
|
11998
12092
|
* @param rules - Declared uniqueness rules to derive keys for.
|
|
11999
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.
|
|
12000
12097
|
* @returns Combined set of derived keys and selector-level issues.
|
|
12001
12098
|
*/
|
|
12002
|
-
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;
|
|
12003
12100
|
/**
|
|
12004
12101
|
* Human-readable one-liner for a key.
|
|
12005
12102
|
* @example `about → artifact:concept/abc`
|
|
12006
12103
|
* @example `owned-by → entity:workpiece/W-1; about → artifact:concept/abc`
|
|
12104
|
+
* @example `slug → "my-slug"`
|
|
12007
12105
|
* @param key - A fully resolved uniqueness key.
|
|
12008
|
-
* @returns A string describing each part in `
|
|
12106
|
+
* @returns A string describing each part in `selector → value` form, joined by `'; '`.
|
|
12009
12107
|
*/
|
|
12010
12108
|
declare function describeUniquenessKey(key: UniquenessKey): string;
|
|
12011
12109
|
//#endregion
|
|
12012
|
-
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 };
|