@makaio/framework 1.0.0-dev-1790348008233 → 1.0.0-dev-1790538920793
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/README.md +2 -2
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-subsystem/index.d.mts +1 -1
- package/dist/adapters/config/index.d.mts +7 -7
- package/dist/adapters/index.d.mts +16 -19
- package/dist/adapters/node.d.mts +1 -1
- package/dist/artifact-C4J_FDq8.mjs +1 -0
- package/dist/{base-orchestrator-FNFJ6Cwf.d.mts → base-orchestrator-DH6W4NQg.d.mts} +2 -4
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-CgswamdO.mjs +9 -0
- package/dist/{config-namespace-CeTODseW.d.mts → config-namespace-Ctia-VDG.d.mts} +1 -1
- 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/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +2 -2
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/index.d.mts +30 -30
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- 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-kpR61mnG.d.mts → contribution-DTb65rRN.d.mts} +1 -1
- package/dist/{definition-D2SO1tX-.d.mts → definition-Cx175qXh.d.mts} +1 -1
- package/dist/{extension-C6ANjR33.mjs → extension-BOMfXdko.mjs} +1 -1
- package/dist/{extension-context-CmhBCbbq.d.mts → extension-context-DH84KOm9.d.mts} +3 -3
- package/dist/{harness-DBxywOGi.mjs → harness-DMlk3uEj.mjs} +1 -1
- package/dist/{hook-responses-C3nUIm-6.d.mts → hook-responses-OETFKaAL.d.mts} +1 -1
- package/dist/{index-C9Dz8UoK2.d.mts → index-2YW8DTb62.d.mts} +6 -6
- package/dist/{index-D5Lw1UsO.d.mts → index-9NQQkY0Z.d.mts} +3 -3
- package/dist/{index-CRk46fit.d.mts → index-AMzzMjhN.d.mts} +9 -9
- package/dist/{index-oE2q0pTG.d.mts → index-B1uHTa1l.d.mts} +1 -1
- package/dist/{index-HN4m0hiI.d.mts → index-BM8oUon_.d.mts} +16 -16
- package/dist/{index-BMGkU3IM.d.mts → index-BRXETFym.d.mts} +1 -1
- package/dist/{index-DYnahvOm.d.mts → index-BZw3MR6v.d.mts} +19 -1
- package/dist/{index-Ce6-SiB3.d.mts → index-C9vF42jh.d.mts} +1 -1
- package/dist/{index-CydQ1dLS2.d.mts → index-CPOJqxrf2.d.mts} +3 -0
- package/dist/{index-Cuz4nfUz.d.mts → index-CU0AgN84.d.mts} +1 -1
- package/dist/{index-DMBxHEQ_.d.mts → index-CeAkK4Oq.d.mts} +7 -7
- package/dist/{index-D5ihXDAA.d.mts → index-CoD7P-IS.d.mts} +1 -1
- package/dist/{index-CCTrhWEB2.d.mts → index-DIEnLLhi2.d.mts} +5 -5
- package/dist/{index-DifOjlJ5.d.mts → index-DUpW-4X8.d.mts} +5 -5
- package/dist/{index-D5BLD2Pw.d.mts → index-DqN1u0Y2.d.mts} +6 -6
- package/dist/{index-wGlFWRXg.d.mts → index-wQB90bP1.d.mts} +1 -3
- package/dist/{index-wiATEDG_.d.mts → index-xPzwlPjm.d.mts} +374 -290
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kind-registration-DdbhhvaT.mjs +1 -0
- package/dist/{materialization-CIrHHspa.mjs → materialization-CxV6fpuB.mjs} +1 -1
- package/dist/{namespace-C5tKjqgb.d.mts → namespace-B9iQN3FQ.d.mts} +4 -4
- package/dist/{namespace-C1-ZAKEG.d.mts → namespace-CNX4llM5.d.mts} +6 -6
- package/dist/{package-BswWlFSn.d.mts → package-BjtsXnaA.d.mts} +1 -0
- package/dist/package.json +1 -1
- package/dist/runtime-node/static/model-registry.yaml +0 -29
- package/dist/{schema-De6d0FWI.d.mts → schema-MdntS6Eu.d.mts} +1 -1
- package/dist/{schemas-rliUGyrt.d.mts → schemas-B2fs9-uF.d.mts} +5 -1
- package/dist/{schemas-CjFPsYeV.d.mts → schemas-BjhhkGN_.d.mts} +4 -4
- package/dist/{schemas-Dyp3rHZ7.d.mts → schemas-D9pXu76T.d.mts} +4 -4
- package/dist/{schemas-DPtj1sPC2.d.mts → schemas-RwAlAMbq2.d.mts} +7 -7
- package/dist/schemas-W3nT06vH.mjs +1 -0
- 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 +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/harness/storage/schema.d.mts +1 -1
- package/dist/services/index.d.mts +23 -23
- package/dist/services/log-import/browser.d.mts +1 -1
- package/dist/services/log-import/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/{session-lineage-CmP7L5g2.d.mts → session-lineage-BQ9NWlt6.d.mts} +1 -1
- package/dist/{storage-namespace-CwwiV3kt.d.mts → storage-namespace-NHTWAjaX.d.mts} +10 -10
- package/dist/{transition-B0qsutdE.d.mts → transition-ClMo_PUJ.d.mts} +1 -1
- package/dist/{types-BrsmFcWl.d.mts → types-CG3PWgMt.d.mts} +21 -23
- package/dist/{types-DyBD5MdV2.d.mts → types-CW-4Y0k_2.d.mts} +2 -2
- package/dist/{types-DfbdwLQ6.d.mts → types-DTpwvvY9.d.mts} +3 -3
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-Zw-TCgSp.d.mts → view-builder-B8WSU6WT.d.mts} +1 -1
- package/dist/{worker-DyyO9DCO.mjs → worker-zHq43Iyk.mjs} +1 -1
- package/dist/{workflow-B0ZGun4r.mjs → workflow-BFAraH3Y.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +2 -2
- package/dist/workflow-engine/package.d.mts +1 -1
- package/package.json +1 -1
- package/dist/artifact-eleyznpA.mjs +0 -1
- package/dist/bus-DgpPEPoM.mjs +0 -9
- package/dist/kind-registration-Dzfo6kyb.mjs +0 -1
- package/dist/schemas-CHM0wMq4.mjs +0 -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-B2fs9-uF.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";
|
|
@@ -67,6 +67,72 @@ declare const EvidenceValueSchema$1: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
67
67
|
/** Direct, immutable evidence pointer attached to an artifact revision. */
|
|
68
68
|
type EvidenceValue$1 = z.infer<typeof EvidenceValueSchema$1>;
|
|
69
69
|
//#endregion
|
|
70
|
+
//#region core/contracts/src/artifact/slug.d.ts
|
|
71
|
+
/**
|
|
72
|
+
* Lowercase alphanumeric segments joined by single or double hyphens
|
|
73
|
+
* (`my-slug`, `my--slug`); no leading or trailing hyphen, no uppercase, no
|
|
74
|
+
* other characters. Comparison is exact — the store never normalizes a slug.
|
|
75
|
+
*
|
|
76
|
+
* Public on purpose: a consumer store validates backfilled slugs and builds
|
|
77
|
+
* its column check against this pattern, and {@link ARTIFACT_SLUG_FIELD} names
|
|
78
|
+
* the legacy `data.slug` key a migration strips. Both are contract, not
|
|
79
|
+
* implementation detail.
|
|
80
|
+
*/
|
|
81
|
+
declare const ARTIFACT_SLUG_PATTERN: RegExp;
|
|
82
|
+
/**
|
|
83
|
+
* Human-readable envelope address of an artifact, unique per kind and scope.
|
|
84
|
+
*
|
|
85
|
+
* The slug is part of the envelope next to `kind` and `id`: every artifact has
|
|
86
|
+
* one, it is assigned at creation, and it never changes across revisions. A
|
|
87
|
+
* kind must not declare a data field named `slug` — the envelope owns it.
|
|
88
|
+
*
|
|
89
|
+
* Uniqueness per kind and scope is a store invariant, not a declared
|
|
90
|
+
* `ArtifactUniquenessRuleSchema` rule: rules select data paths and
|
|
91
|
+
* relation targets, and a kind cannot opt out of the envelope address. The
|
|
92
|
+
* store enforces it structurally (a unique index over kind, scope, and slug)
|
|
93
|
+
* and reports a collision as a conflict.
|
|
94
|
+
*/
|
|
95
|
+
declare const ArtifactSlugSchema: z.ZodString;
|
|
96
|
+
/** Envelope address of an artifact, unique per kind and scope. */
|
|
97
|
+
type ArtifactSlug = z.infer<typeof ArtifactSlugSchema>;
|
|
98
|
+
/** Name of the reserved envelope field that kinds may not declare in `data`. */
|
|
99
|
+
declare const ARTIFACT_SLUG_FIELD = "slug";
|
|
100
|
+
/**
|
|
101
|
+
* Derive a slug from free text, typically the artifact title.
|
|
102
|
+
*
|
|
103
|
+
* German umlauts and ß are transliterated (`ä` → `ae`, `ß` → `ss`), other
|
|
104
|
+
* diacritics are stripped, everything outside `[a-z0-9]` becomes a hyphen, and
|
|
105
|
+
* runs of hyphens collapse to one. The result satisfies
|
|
106
|
+
* {@link ARTIFACT_SLUG_PATTERN}; `null` means the text carries no usable
|
|
107
|
+
* characters and the caller must choose another source.
|
|
108
|
+
* @param text - Free text such as an artifact title.
|
|
109
|
+
* @returns A valid slug, or `null` when nothing remains after normalization.
|
|
110
|
+
*/
|
|
111
|
+
declare function slugify(text: string): string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Derive the envelope slug a store assigns when a create request carries none.
|
|
114
|
+
*
|
|
115
|
+
* The title selected by the kind's `titlePath` is the source. When the title
|
|
116
|
+
* yields no usable characters the artifact identity is the fallback, so a
|
|
117
|
+
* derived slug always exists. Stores disambiguate a derived slug that collides
|
|
118
|
+
* within its kind and scope with a numeric suffix (`-2`, `-3`, …); only a
|
|
119
|
+
* caller-supplied slug rejects on collision.
|
|
120
|
+
* @param data - Validated artifact data.
|
|
121
|
+
* @param titlePath - Data-relative title path declared by the kind.
|
|
122
|
+
* @param id - Artifact identity used when the title yields no slug.
|
|
123
|
+
* @returns A slug satisfying {@link ARTIFACT_SLUG_PATTERN}.
|
|
124
|
+
*/
|
|
125
|
+
declare function deriveArtifactSlug(data: Record<string, unknown>, titlePath: string, id: string): string;
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region core/contracts/src/artifact/kind-reserved-fields.d.ts
|
|
128
|
+
/**
|
|
129
|
+
* Whether any top-level schema variant of `dataSchema` may carry `name`.
|
|
130
|
+
* @param dataSchema - Serialized artifact data schema.
|
|
131
|
+
* @param name - Top-level property name to look for.
|
|
132
|
+
* @returns `true` when at least one reachable variant declares or pattern-matches the name.
|
|
133
|
+
*/
|
|
134
|
+
declare function mayArtifactDataCarryProperty(dataSchema: Record<string, unknown>, name: string): boolean;
|
|
135
|
+
//#endregion
|
|
70
136
|
//#region core/contracts/src/artifact/evidence-resolution.d.ts
|
|
71
137
|
/** Request to resolve one immutable evidence pointer. */
|
|
72
138
|
declare const EvidenceResolveRequestSchema: z.ZodObject<{
|
|
@@ -526,7 +592,7 @@ type DefineArtifactKindOptions<TData extends Record<string, unknown>, TKind exte
|
|
|
526
592
|
* Raw input first passes the serialized canonical payload schema, preventing live
|
|
527
593
|
* object schemas from silently stripping undeclared fields. The original input
|
|
528
594
|
* then passes through the live Zod schema so dynamic defaults and refinements
|
|
529
|
-
* retain their authoring semantics, followed by title
|
|
595
|
+
* retain their authoring semantics, followed by the reserved-slug and title checks. Serialized registrations
|
|
530
596
|
* retain titlePath so hosts can enforce the same invariant via readArtifactTitle.
|
|
531
597
|
* Hooks remain live-only; each registration call returns an independent snapshot.
|
|
532
598
|
* @param options - Current kind contract, live schema and optional lifecycle hooks.
|
|
@@ -806,6 +872,7 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
|
806
872
|
resolved: z.ZodArray<z.ZodObject<{
|
|
807
873
|
kind: z.ZodString;
|
|
808
874
|
id: z.ZodString;
|
|
875
|
+
slug: z.ZodString;
|
|
809
876
|
revision: z.ZodString;
|
|
810
877
|
scope: z.ZodObject<{
|
|
811
878
|
level: z.ZodString;
|
|
@@ -1090,22 +1157,6 @@ declare const ArtifactResolvePartResponseSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
1090
1157
|
type ArtifactResolvePartResponse = z.infer<typeof ArtifactResolvePartResponseSchema>;
|
|
1091
1158
|
//#endregion
|
|
1092
1159
|
//#region core/contracts/src/artifact/namespace.d.ts
|
|
1093
|
-
/**
|
|
1094
|
-
* Framework-level artifact bus schemas.
|
|
1095
|
-
*
|
|
1096
|
-
* Defines the full set of revision events, business-lifecycle subjects and core
|
|
1097
|
-
* RPCs for hosts that opt into the framework artifact contract. The schema set covers:
|
|
1098
|
-
*
|
|
1099
|
-
* - Shared lifecycle get / history / transition RPCs and committed / rejected events
|
|
1100
|
-
* - Kind and relation-type registration RPCs
|
|
1101
|
-
* - Revision create / revise / patch / resolve / query / compare RPCs
|
|
1102
|
-
* - `created`, `revised`, `relation.added`, `observation.added`,
|
|
1103
|
-
* `status.changed`, and `kind.changed` revision and registry events
|
|
1104
|
-
*
|
|
1105
|
-
* Product hosts that extend the framework artifact namespace should
|
|
1106
|
-
* register a product-owned namespace instead of merging additional
|
|
1107
|
-
* subjects into this one.
|
|
1108
|
-
*/
|
|
1109
1160
|
declare const ArtifactSchemas$1: {
|
|
1110
1161
|
/** Register a new artifact kind with the artifact service (RPC). */'kind.register': {
|
|
1111
1162
|
request: z.ZodObject<{
|
|
@@ -1233,8 +1284,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1233
1284
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1234
1285
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1235
1286
|
local: "local";
|
|
1236
|
-
artifact: "artifact";
|
|
1237
1287
|
evidence: "evidence";
|
|
1288
|
+
artifact: "artifact";
|
|
1238
1289
|
entity: "entity";
|
|
1239
1290
|
}>>>;
|
|
1240
1291
|
}, z.core.$strip>;
|
|
@@ -1258,8 +1309,8 @@ declare const ArtifactSchemas$1: {
|
|
|
1258
1309
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1259
1310
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1260
1311
|
local: "local";
|
|
1261
|
-
artifact: "artifact";
|
|
1262
1312
|
evidence: "evidence";
|
|
1313
|
+
artifact: "artifact";
|
|
1263
1314
|
entity: "entity";
|
|
1264
1315
|
}>>>;
|
|
1265
1316
|
}, z.core.$strip>>;
|
|
@@ -1269,46 +1320,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1269
1320
|
request: z.ZodObject<{
|
|
1270
1321
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1271
1322
|
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>>;
|
|
1312
1323
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1313
1324
|
source: z.ZodObject<{
|
|
1314
1325
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1356,6 +1367,46 @@ declare const ArtifactSchemas$1: {
|
|
|
1356
1367
|
}, z.core.$strict>]>;
|
|
1357
1368
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1358
1369
|
}, z.core.$strict>]>>>;
|
|
1370
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
+
schemaVersion: z.ZodNumber;
|
|
1372
|
+
scope: z.ZodObject<{
|
|
1373
|
+
level: z.ZodString;
|
|
1374
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1375
|
+
}, z.core.$strip>;
|
|
1376
|
+
actor: z.ZodObject<{
|
|
1377
|
+
kind: z.ZodString;
|
|
1378
|
+
id: z.ZodString;
|
|
1379
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
}, z.core.$strip>;
|
|
1381
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1382
|
+
type: z.ZodString;
|
|
1383
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1385
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1386
|
+
kind: z.ZodString;
|
|
1387
|
+
id: z.ZodString;
|
|
1388
|
+
revision: z.ZodString;
|
|
1389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1390
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1391
|
+
artifact: z.ZodObject<{
|
|
1392
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1393
|
+
kind: z.ZodString;
|
|
1394
|
+
id: z.ZodString;
|
|
1395
|
+
revision: z.ZodString;
|
|
1396
|
+
}, z.core.$strict>;
|
|
1397
|
+
localId: z.ZodString;
|
|
1398
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1399
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1400
|
+
kind: z.ZodString;
|
|
1401
|
+
id: z.ZodString;
|
|
1402
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1405
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1406
|
+
entityType: z.ZodString;
|
|
1407
|
+
id: z.ZodString;
|
|
1408
|
+
}, z.core.$strict>], "refClass">>;
|
|
1409
|
+
}, z.core.$strip>>;
|
|
1359
1410
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1360
1411
|
level: z.ZodEnum<{
|
|
1361
1412
|
inferred: "inferred";
|
|
@@ -1406,11 +1457,13 @@ declare const ArtifactSchemas$1: {
|
|
|
1406
1457
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1407
1458
|
}, z.core.$strip>>;
|
|
1408
1459
|
id: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1409
1461
|
}, z.core.$strip>;
|
|
1410
1462
|
response: z.ZodObject<{
|
|
1411
1463
|
artifact: z.ZodObject<{
|
|
1412
1464
|
kind: z.ZodString;
|
|
1413
1465
|
id: z.ZodString;
|
|
1466
|
+
slug: z.ZodString;
|
|
1414
1467
|
revision: z.ZodString;
|
|
1415
1468
|
scope: z.ZodObject<{
|
|
1416
1469
|
level: z.ZodString;
|
|
@@ -1565,46 +1618,6 @@ declare const ArtifactSchemas$1: {
|
|
|
1565
1618
|
revision: z.ZodObject<{
|
|
1566
1619
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1567
1620
|
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>>;
|
|
1608
1621
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1609
1622
|
source: z.ZodObject<{
|
|
1610
1623
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -1652,6 +1665,46 @@ declare const ArtifactSchemas$1: {
|
|
|
1652
1665
|
}, z.core.$strict>]>;
|
|
1653
1666
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
1654
1667
|
}, z.core.$strict>]>>>;
|
|
1668
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1669
|
+
schemaVersion: z.ZodNumber;
|
|
1670
|
+
scope: z.ZodObject<{
|
|
1671
|
+
level: z.ZodString;
|
|
1672
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1673
|
+
}, z.core.$strip>;
|
|
1674
|
+
actor: z.ZodObject<{
|
|
1675
|
+
kind: z.ZodString;
|
|
1676
|
+
id: z.ZodString;
|
|
1677
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1678
|
+
}, z.core.$strip>;
|
|
1679
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1680
|
+
type: z.ZodString;
|
|
1681
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1683
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1684
|
+
kind: z.ZodString;
|
|
1685
|
+
id: z.ZodString;
|
|
1686
|
+
revision: z.ZodString;
|
|
1687
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1688
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1689
|
+
artifact: z.ZodObject<{
|
|
1690
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
1691
|
+
kind: z.ZodString;
|
|
1692
|
+
id: z.ZodString;
|
|
1693
|
+
revision: z.ZodString;
|
|
1694
|
+
}, z.core.$strict>;
|
|
1695
|
+
localId: z.ZodString;
|
|
1696
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1697
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1698
|
+
kind: z.ZodString;
|
|
1699
|
+
id: z.ZodString;
|
|
1700
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1701
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1703
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1704
|
+
entityType: z.ZodString;
|
|
1705
|
+
id: z.ZodString;
|
|
1706
|
+
}, z.core.$strict>], "refClass">>;
|
|
1707
|
+
}, z.core.$strip>>;
|
|
1655
1708
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1656
1709
|
level: z.ZodEnum<{
|
|
1657
1710
|
inferred: "inferred";
|
|
@@ -1707,6 +1760,7 @@ declare const ArtifactSchemas$1: {
|
|
|
1707
1760
|
artifact: z.ZodObject<{
|
|
1708
1761
|
kind: z.ZodString;
|
|
1709
1762
|
id: z.ZodString;
|
|
1763
|
+
slug: z.ZodString;
|
|
1710
1764
|
revision: z.ZodString;
|
|
1711
1765
|
scope: z.ZodObject<{
|
|
1712
1766
|
level: z.ZodString;
|
|
@@ -1984,6 +2038,7 @@ declare const ArtifactSchemas$1: {
|
|
|
1984
2038
|
artifact: z.ZodNullable<z.ZodObject<{
|
|
1985
2039
|
kind: z.ZodString;
|
|
1986
2040
|
id: z.ZodString;
|
|
2041
|
+
slug: z.ZodString;
|
|
1987
2042
|
revision: z.ZodString;
|
|
1988
2043
|
scope: z.ZodObject<{
|
|
1989
2044
|
level: z.ZodString;
|
|
@@ -2183,6 +2238,7 @@ declare const ArtifactSchemas$1: {
|
|
|
2183
2238
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2184
2239
|
}, z.core.$strip>>;
|
|
2185
2240
|
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2241
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2186
2242
|
currentOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2187
2243
|
search: z.ZodOptional<z.ZodString>;
|
|
2188
2244
|
relation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2236,6 +2292,7 @@ declare const ArtifactSchemas$1: {
|
|
|
2236
2292
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
2237
2293
|
kind: z.ZodString;
|
|
2238
2294
|
id: z.ZodString;
|
|
2295
|
+
slug: z.ZodString;
|
|
2239
2296
|
revision: z.ZodString;
|
|
2240
2297
|
scope: z.ZodObject<{
|
|
2241
2298
|
level: z.ZodString;
|
|
@@ -2397,6 +2454,7 @@ declare const ArtifactSchemas$1: {
|
|
|
2397
2454
|
base: z.ZodObject<{
|
|
2398
2455
|
kind: z.ZodString;
|
|
2399
2456
|
id: z.ZodString;
|
|
2457
|
+
slug: z.ZodString;
|
|
2400
2458
|
revision: z.ZodString;
|
|
2401
2459
|
scope: z.ZodObject<{
|
|
2402
2460
|
level: z.ZodString;
|
|
@@ -2540,6 +2598,7 @@ declare const ArtifactSchemas$1: {
|
|
|
2540
2598
|
target: z.ZodObject<{
|
|
2541
2599
|
kind: z.ZodString;
|
|
2542
2600
|
id: z.ZodString;
|
|
2601
|
+
slug: z.ZodString;
|
|
2543
2602
|
revision: z.ZodString;
|
|
2544
2603
|
scope: z.ZodObject<{
|
|
2545
2604
|
level: z.ZodString;
|
|
@@ -2863,6 +2922,7 @@ declare const ArtifactSchemas$1: {
|
|
|
2863
2922
|
resolved: z.ZodArray<z.ZodObject<{
|
|
2864
2923
|
kind: z.ZodString;
|
|
2865
2924
|
id: z.ZodString;
|
|
2925
|
+
slug: z.ZodString;
|
|
2866
2926
|
revision: z.ZodString;
|
|
2867
2927
|
scope: z.ZodObject<{
|
|
2868
2928
|
level: z.ZodString;
|
|
@@ -3010,6 +3070,7 @@ declare const ArtifactSchemas$1: {
|
|
|
3010
3070
|
artifact: z.ZodObject<{
|
|
3011
3071
|
kind: z.ZodString;
|
|
3012
3072
|
id: z.ZodString;
|
|
3073
|
+
slug: z.ZodString;
|
|
3013
3074
|
revision: z.ZodString;
|
|
3014
3075
|
scope: z.ZodObject<{
|
|
3015
3076
|
level: z.ZodString;
|
|
@@ -3161,6 +3222,7 @@ declare const ArtifactSchemas$1: {
|
|
|
3161
3222
|
artifact: z.ZodObject<{
|
|
3162
3223
|
kind: z.ZodString;
|
|
3163
3224
|
id: z.ZodString;
|
|
3225
|
+
slug: z.ZodString;
|
|
3164
3226
|
revision: z.ZodString;
|
|
3165
3227
|
scope: z.ZodObject<{
|
|
3166
3228
|
level: z.ZodString;
|
|
@@ -4025,8 +4087,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4025
4087
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4026
4088
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4027
4089
|
local: "local";
|
|
4028
|
-
artifact: "artifact";
|
|
4029
4090
|
evidence: "evidence";
|
|
4091
|
+
artifact: "artifact";
|
|
4030
4092
|
entity: "entity";
|
|
4031
4093
|
}>>>;
|
|
4032
4094
|
}, z.core.$strip>;
|
|
@@ -4050,8 +4112,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4050
4112
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4051
4113
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4052
4114
|
local: "local";
|
|
4053
|
-
artifact: "artifact";
|
|
4054
4115
|
evidence: "evidence";
|
|
4116
|
+
artifact: "artifact";
|
|
4055
4117
|
entity: "entity";
|
|
4056
4118
|
}>>>;
|
|
4057
4119
|
}, z.core.$strip>>;
|
|
@@ -4061,46 +4123,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4061
4123
|
request: z.ZodObject<{
|
|
4062
4124
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4063
4125
|
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>>;
|
|
4104
4126
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4105
4127
|
source: z.ZodObject<{
|
|
4106
4128
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4148,30 +4170,70 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4148
4170
|
}, z.core.$strict>]>;
|
|
4149
4171
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4150
4172
|
}, z.core.$strict>]>>>;
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4173
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4174
|
+
schemaVersion: z.ZodNumber;
|
|
4175
|
+
scope: z.ZodObject<{
|
|
4176
|
+
level: z.ZodString;
|
|
4177
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4178
|
+
}, z.core.$strip>;
|
|
4179
|
+
actor: z.ZodObject<{
|
|
4180
|
+
kind: z.ZodString;
|
|
4181
|
+
id: z.ZodString;
|
|
4182
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4183
|
+
}, z.core.$strip>;
|
|
4184
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
4185
|
+
type: z.ZodString;
|
|
4186
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4187
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4188
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4189
|
+
kind: z.ZodString;
|
|
4190
|
+
id: z.ZodString;
|
|
4191
|
+
revision: z.ZodString;
|
|
4192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4193
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4194
|
+
artifact: z.ZodObject<{
|
|
4195
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4196
|
+
kind: z.ZodString;
|
|
4197
|
+
id: z.ZodString;
|
|
4198
|
+
revision: z.ZodString;
|
|
4199
|
+
}, z.core.$strict>;
|
|
4200
|
+
localId: z.ZodString;
|
|
4201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4202
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4203
|
+
kind: z.ZodString;
|
|
4204
|
+
id: z.ZodString;
|
|
4205
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4206
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4208
|
+
refClass: z.ZodLiteral<"entity">;
|
|
4209
|
+
entityType: z.ZodString;
|
|
4210
|
+
id: z.ZodString;
|
|
4211
|
+
}, z.core.$strict>], "refClass">>;
|
|
4212
|
+
}, z.core.$strip>>;
|
|
4213
|
+
confidence: z.ZodOptional<z.ZodObject<{
|
|
4214
|
+
level: z.ZodEnum<{
|
|
4215
|
+
inferred: "inferred";
|
|
4216
|
+
confirmed: "confirmed";
|
|
4217
|
+
assumed: "assumed";
|
|
4218
|
+
stated: "stated";
|
|
4219
|
+
verified: "verified";
|
|
4220
|
+
}>;
|
|
4221
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
4222
|
+
kind: z.ZodString;
|
|
4223
|
+
actor: z.ZodObject<{
|
|
4224
|
+
kind: z.ZodString;
|
|
4225
|
+
id: z.ZodString;
|
|
4226
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4227
|
+
}, z.core.$strip>;
|
|
4228
|
+
timestamp: z.ZodNumber;
|
|
4229
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4230
|
+
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4231
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4232
|
+
kind: z.ZodString;
|
|
4233
|
+
id: z.ZodString;
|
|
4234
|
+
revision: z.ZodString;
|
|
4235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4236
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4175
4237
|
artifact: z.ZodObject<{
|
|
4176
4238
|
refClass: z.ZodLiteral<"artifact">;
|
|
4177
4239
|
kind: z.ZodString;
|
|
@@ -4198,11 +4260,13 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4198
4260
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4199
4261
|
}, z.core.$strip>>;
|
|
4200
4262
|
id: z.ZodOptional<z.ZodString>;
|
|
4263
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4201
4264
|
}, z.core.$strip>;
|
|
4202
4265
|
response: z.ZodObject<{
|
|
4203
4266
|
artifact: z.ZodObject<{
|
|
4204
4267
|
kind: z.ZodString;
|
|
4205
4268
|
id: z.ZodString;
|
|
4269
|
+
slug: z.ZodString;
|
|
4206
4270
|
revision: z.ZodString;
|
|
4207
4271
|
scope: z.ZodObject<{
|
|
4208
4272
|
level: z.ZodString;
|
|
@@ -4357,46 +4421,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4357
4421
|
revision: z.ZodObject<{
|
|
4358
4422
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4359
4423
|
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>>;
|
|
4400
4424
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4401
4425
|
source: z.ZodObject<{
|
|
4402
4426
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -4444,6 +4468,46 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4444
4468
|
}, z.core.$strict>]>;
|
|
4445
4469
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
4446
4470
|
}, z.core.$strict>]>>>;
|
|
4471
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4472
|
+
schemaVersion: z.ZodNumber;
|
|
4473
|
+
scope: z.ZodObject<{
|
|
4474
|
+
level: z.ZodString;
|
|
4475
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4476
|
+
}, z.core.$strip>;
|
|
4477
|
+
actor: z.ZodObject<{
|
|
4478
|
+
kind: z.ZodString;
|
|
4479
|
+
id: z.ZodString;
|
|
4480
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4481
|
+
}, z.core.$strip>;
|
|
4482
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
4483
|
+
type: z.ZodString;
|
|
4484
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
4485
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4486
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4487
|
+
kind: z.ZodString;
|
|
4488
|
+
id: z.ZodString;
|
|
4489
|
+
revision: z.ZodString;
|
|
4490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4491
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4492
|
+
artifact: z.ZodObject<{
|
|
4493
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
4494
|
+
kind: z.ZodString;
|
|
4495
|
+
id: z.ZodString;
|
|
4496
|
+
revision: z.ZodString;
|
|
4497
|
+
}, z.core.$strict>;
|
|
4498
|
+
localId: z.ZodString;
|
|
4499
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4500
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4501
|
+
kind: z.ZodString;
|
|
4502
|
+
id: z.ZodString;
|
|
4503
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4504
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4506
|
+
refClass: z.ZodLiteral<"entity">;
|
|
4507
|
+
entityType: z.ZodString;
|
|
4508
|
+
id: z.ZodString;
|
|
4509
|
+
}, z.core.$strict>], "refClass">>;
|
|
4510
|
+
}, z.core.$strip>>;
|
|
4447
4511
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
4448
4512
|
level: z.ZodEnum<{
|
|
4449
4513
|
inferred: "inferred";
|
|
@@ -4499,6 +4563,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4499
4563
|
artifact: z.ZodObject<{
|
|
4500
4564
|
kind: z.ZodString;
|
|
4501
4565
|
id: z.ZodString;
|
|
4566
|
+
slug: z.ZodString;
|
|
4502
4567
|
revision: z.ZodString;
|
|
4503
4568
|
scope: z.ZodObject<{
|
|
4504
4569
|
level: z.ZodString;
|
|
@@ -4776,6 +4841,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4776
4841
|
artifact: z.ZodNullable<z.ZodObject<{
|
|
4777
4842
|
kind: z.ZodString;
|
|
4778
4843
|
id: z.ZodString;
|
|
4844
|
+
slug: z.ZodString;
|
|
4779
4845
|
revision: z.ZodString;
|
|
4780
4846
|
scope: z.ZodObject<{
|
|
4781
4847
|
level: z.ZodString;
|
|
@@ -4975,6 +5041,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
4975
5041
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4976
5042
|
}, z.core.$strip>>;
|
|
4977
5043
|
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5044
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4978
5045
|
currentOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4979
5046
|
search: z.ZodOptional<z.ZodString>;
|
|
4980
5047
|
relation: z.ZodOptional<z.ZodObject<{
|
|
@@ -5028,6 +5095,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
5028
5095
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
5029
5096
|
kind: z.ZodString;
|
|
5030
5097
|
id: z.ZodString;
|
|
5098
|
+
slug: z.ZodString;
|
|
5031
5099
|
revision: z.ZodString;
|
|
5032
5100
|
scope: z.ZodObject<{
|
|
5033
5101
|
level: z.ZodString;
|
|
@@ -5189,6 +5257,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
5189
5257
|
base: z.ZodObject<{
|
|
5190
5258
|
kind: z.ZodString;
|
|
5191
5259
|
id: z.ZodString;
|
|
5260
|
+
slug: z.ZodString;
|
|
5192
5261
|
revision: z.ZodString;
|
|
5193
5262
|
scope: z.ZodObject<{
|
|
5194
5263
|
level: z.ZodString;
|
|
@@ -5332,6 +5401,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
5332
5401
|
target: z.ZodObject<{
|
|
5333
5402
|
kind: z.ZodString;
|
|
5334
5403
|
id: z.ZodString;
|
|
5404
|
+
slug: z.ZodString;
|
|
5335
5405
|
revision: z.ZodString;
|
|
5336
5406
|
scope: z.ZodObject<{
|
|
5337
5407
|
level: z.ZodString;
|
|
@@ -5655,6 +5725,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
5655
5725
|
resolved: z.ZodArray<z.ZodObject<{
|
|
5656
5726
|
kind: z.ZodString;
|
|
5657
5727
|
id: z.ZodString;
|
|
5728
|
+
slug: z.ZodString;
|
|
5658
5729
|
revision: z.ZodString;
|
|
5659
5730
|
scope: z.ZodObject<{
|
|
5660
5731
|
level: z.ZodString;
|
|
@@ -5802,6 +5873,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
5802
5873
|
artifact: z.ZodObject<{
|
|
5803
5874
|
kind: z.ZodString;
|
|
5804
5875
|
id: z.ZodString;
|
|
5876
|
+
slug: z.ZodString;
|
|
5805
5877
|
revision: z.ZodString;
|
|
5806
5878
|
scope: z.ZodObject<{
|
|
5807
5879
|
level: z.ZodString;
|
|
@@ -5953,6 +6025,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
5953
6025
|
artifact: z.ZodObject<{
|
|
5954
6026
|
kind: z.ZodString;
|
|
5955
6027
|
id: z.ZodString;
|
|
6028
|
+
slug: z.ZodString;
|
|
5956
6029
|
revision: z.ZodString;
|
|
5957
6030
|
scope: z.ZodObject<{
|
|
5958
6031
|
level: z.ZodString;
|
|
@@ -6839,8 +6912,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6839
6912
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6840
6913
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6841
6914
|
local: "local";
|
|
6842
|
-
artifact: "artifact";
|
|
6843
6915
|
evidence: "evidence";
|
|
6916
|
+
artifact: "artifact";
|
|
6844
6917
|
entity: "entity";
|
|
6845
6918
|
}>>>;
|
|
6846
6919
|
}, z.core.$strip>;
|
|
@@ -6864,8 +6937,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6864
6937
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6865
6938
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6866
6939
|
local: "local";
|
|
6867
|
-
artifact: "artifact";
|
|
6868
6940
|
evidence: "evidence";
|
|
6941
|
+
artifact: "artifact";
|
|
6869
6942
|
entity: "entity";
|
|
6870
6943
|
}>>>;
|
|
6871
6944
|
}, z.core.$strip>>;
|
|
@@ -6875,46 +6948,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6875
6948
|
request: z.ZodObject<{
|
|
6876
6949
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
6877
6950
|
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>>;
|
|
6918
6951
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
6919
6952
|
source: z.ZodObject<{
|
|
6920
6953
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -6962,6 +6995,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
6962
6995
|
}, z.core.$strict>]>;
|
|
6963
6996
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
6964
6997
|
}, z.core.$strict>]>>>;
|
|
6998
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
6999
|
+
schemaVersion: z.ZodNumber;
|
|
7000
|
+
scope: z.ZodObject<{
|
|
7001
|
+
level: z.ZodString;
|
|
7002
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7003
|
+
}, z.core.$strip>;
|
|
7004
|
+
actor: z.ZodObject<{
|
|
7005
|
+
kind: z.ZodString;
|
|
7006
|
+
id: z.ZodString;
|
|
7007
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
7008
|
+
}, z.core.$strip>;
|
|
7009
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
7010
|
+
type: z.ZodString;
|
|
7011
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
7012
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7013
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7014
|
+
kind: z.ZodString;
|
|
7015
|
+
id: z.ZodString;
|
|
7016
|
+
revision: z.ZodString;
|
|
7017
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7018
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
7019
|
+
artifact: z.ZodObject<{
|
|
7020
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7021
|
+
kind: z.ZodString;
|
|
7022
|
+
id: z.ZodString;
|
|
7023
|
+
revision: z.ZodString;
|
|
7024
|
+
}, z.core.$strict>;
|
|
7025
|
+
localId: z.ZodString;
|
|
7026
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7027
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
7028
|
+
kind: z.ZodString;
|
|
7029
|
+
id: z.ZodString;
|
|
7030
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
7031
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
7032
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7033
|
+
refClass: z.ZodLiteral<"entity">;
|
|
7034
|
+
entityType: z.ZodString;
|
|
7035
|
+
id: z.ZodString;
|
|
7036
|
+
}, z.core.$strict>], "refClass">>;
|
|
7037
|
+
}, z.core.$strip>>;
|
|
6965
7038
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
6966
7039
|
level: z.ZodEnum<{
|
|
6967
7040
|
inferred: "inferred";
|
|
@@ -7012,11 +7085,13 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7012
7085
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
7013
7086
|
}, z.core.$strip>>;
|
|
7014
7087
|
id: z.ZodOptional<z.ZodString>;
|
|
7088
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
7015
7089
|
}, z.core.$strip>;
|
|
7016
7090
|
response: z.ZodObject<{
|
|
7017
7091
|
artifact: z.ZodObject<{
|
|
7018
7092
|
kind: z.ZodString;
|
|
7019
7093
|
id: z.ZodString;
|
|
7094
|
+
slug: z.ZodString;
|
|
7020
7095
|
revision: z.ZodString;
|
|
7021
7096
|
scope: z.ZodObject<{
|
|
7022
7097
|
level: z.ZodString;
|
|
@@ -7171,46 +7246,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7171
7246
|
revision: z.ZodObject<{
|
|
7172
7247
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
7173
7248
|
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>>;
|
|
7214
7249
|
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7215
7250
|
source: z.ZodObject<{
|
|
7216
7251
|
kind: z.ZodLiteral<"git-file">;
|
|
@@ -7258,6 +7293,46 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7258
7293
|
}, z.core.$strict>]>;
|
|
7259
7294
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
7260
7295
|
}, z.core.$strict>]>>>;
|
|
7296
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
7297
|
+
schemaVersion: z.ZodNumber;
|
|
7298
|
+
scope: z.ZodObject<{
|
|
7299
|
+
level: z.ZodString;
|
|
7300
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7301
|
+
}, z.core.$strip>;
|
|
7302
|
+
actor: z.ZodObject<{
|
|
7303
|
+
kind: z.ZodString;
|
|
7304
|
+
id: z.ZodString;
|
|
7305
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
7306
|
+
}, z.core.$strip>;
|
|
7307
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
7308
|
+
type: z.ZodString;
|
|
7309
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
7310
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7311
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7312
|
+
kind: z.ZodString;
|
|
7313
|
+
id: z.ZodString;
|
|
7314
|
+
revision: z.ZodString;
|
|
7315
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7316
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
7317
|
+
artifact: z.ZodObject<{
|
|
7318
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
7319
|
+
kind: z.ZodString;
|
|
7320
|
+
id: z.ZodString;
|
|
7321
|
+
revision: z.ZodString;
|
|
7322
|
+
}, z.core.$strict>;
|
|
7323
|
+
localId: z.ZodString;
|
|
7324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7325
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
7326
|
+
kind: z.ZodString;
|
|
7327
|
+
id: z.ZodString;
|
|
7328
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
7329
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
7330
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7331
|
+
refClass: z.ZodLiteral<"entity">;
|
|
7332
|
+
entityType: z.ZodString;
|
|
7333
|
+
id: z.ZodString;
|
|
7334
|
+
}, z.core.$strict>], "refClass">>;
|
|
7335
|
+
}, z.core.$strip>>;
|
|
7261
7336
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
7262
7337
|
level: z.ZodEnum<{
|
|
7263
7338
|
inferred: "inferred";
|
|
@@ -7313,6 +7388,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7313
7388
|
artifact: z.ZodObject<{
|
|
7314
7389
|
kind: z.ZodString;
|
|
7315
7390
|
id: z.ZodString;
|
|
7391
|
+
slug: z.ZodString;
|
|
7316
7392
|
revision: z.ZodString;
|
|
7317
7393
|
scope: z.ZodObject<{
|
|
7318
7394
|
level: z.ZodString;
|
|
@@ -7590,6 +7666,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7590
7666
|
artifact: z.ZodNullable<z.ZodObject<{
|
|
7591
7667
|
kind: z.ZodString;
|
|
7592
7668
|
id: z.ZodString;
|
|
7669
|
+
slug: z.ZodString;
|
|
7593
7670
|
revision: z.ZodString;
|
|
7594
7671
|
scope: z.ZodObject<{
|
|
7595
7672
|
level: z.ZodString;
|
|
@@ -7789,6 +7866,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7789
7866
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7790
7867
|
}, z.core.$strip>>;
|
|
7791
7868
|
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7869
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
7792
7870
|
currentOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7793
7871
|
search: z.ZodOptional<z.ZodString>;
|
|
7794
7872
|
relation: z.ZodOptional<z.ZodObject<{
|
|
@@ -7842,6 +7920,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
7842
7920
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
7843
7921
|
kind: z.ZodString;
|
|
7844
7922
|
id: z.ZodString;
|
|
7923
|
+
slug: z.ZodString;
|
|
7845
7924
|
revision: z.ZodString;
|
|
7846
7925
|
scope: z.ZodObject<{
|
|
7847
7926
|
level: z.ZodString;
|
|
@@ -8003,6 +8082,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8003
8082
|
base: z.ZodObject<{
|
|
8004
8083
|
kind: z.ZodString;
|
|
8005
8084
|
id: z.ZodString;
|
|
8085
|
+
slug: z.ZodString;
|
|
8006
8086
|
revision: z.ZodString;
|
|
8007
8087
|
scope: z.ZodObject<{
|
|
8008
8088
|
level: z.ZodString;
|
|
@@ -8146,6 +8226,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8146
8226
|
target: z.ZodObject<{
|
|
8147
8227
|
kind: z.ZodString;
|
|
8148
8228
|
id: z.ZodString;
|
|
8229
|
+
slug: z.ZodString;
|
|
8149
8230
|
revision: z.ZodString;
|
|
8150
8231
|
scope: z.ZodObject<{
|
|
8151
8232
|
level: z.ZodString;
|
|
@@ -8469,6 +8550,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8469
8550
|
resolved: z.ZodArray<z.ZodObject<{
|
|
8470
8551
|
kind: z.ZodString;
|
|
8471
8552
|
id: z.ZodString;
|
|
8553
|
+
slug: z.ZodString;
|
|
8472
8554
|
revision: z.ZodString;
|
|
8473
8555
|
scope: z.ZodObject<{
|
|
8474
8556
|
level: z.ZodString;
|
|
@@ -8616,6 +8698,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8616
8698
|
artifact: z.ZodObject<{
|
|
8617
8699
|
kind: z.ZodString;
|
|
8618
8700
|
id: z.ZodString;
|
|
8701
|
+
slug: z.ZodString;
|
|
8619
8702
|
revision: z.ZodString;
|
|
8620
8703
|
scope: z.ZodObject<{
|
|
8621
8704
|
level: z.ZodString;
|
|
@@ -8767,6 +8850,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8767
8850
|
artifact: z.ZodObject<{
|
|
8768
8851
|
kind: z.ZodString;
|
|
8769
8852
|
id: z.ZodString;
|
|
8853
|
+
slug: z.ZodString;
|
|
8770
8854
|
revision: z.ZodString;
|
|
8771
8855
|
scope: z.ZodObject<{
|
|
8772
8856
|
level: z.ZodString;
|
|
@@ -12101,10 +12185,10 @@ declare function buildUniquenessKeys(rules: readonly ArtifactUniquenessRule[], r
|
|
|
12101
12185
|
* Human-readable one-liner for a key.
|
|
12102
12186
|
* @example `about → artifact:concept/abc`
|
|
12103
12187
|
* @example `owned-by → entity:workpiece/W-1; about → artifact:concept/abc`
|
|
12104
|
-
* @example `
|
|
12188
|
+
* @example `key → "my-key"`
|
|
12105
12189
|
* @param key - A fully resolved uniqueness key.
|
|
12106
12190
|
* @returns A string describing each part in `selector → value` form, joined by `'; '`.
|
|
12107
12191
|
*/
|
|
12108
12192
|
declare function describeUniquenessKey(key: UniquenessKey): string;
|
|
12109
12193
|
//#endregion
|
|
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,
|
|
12194
|
+
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, ArtifactSlug 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, EVIDENCE_VALUE_TYPE as Gr, ArtifactResolvePartError as Gt, ArtifactLifecycleIdentitySchema as H, UnresolvedArtifactContextNode as Hn, deriveArtifactSlug as Hr, 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, EvidenceValue$1 as Kr, ArtifactResolvePartErrorCode as Kt, ArtifactLifecycleCurrent as L, hydrateArtifactContextTree as Ln, mayArtifactDataCarryProperty 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, ARTIFACT_SLUG_FIELD 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, slugify as Ur, ArtifactPartResolution as Ut, ArtifactLifecycleHistoryEntrySchema as V, ResolvedArtifactContextNode as Vn, ArtifactSlugSchema as Vr, artifactPatchSegments as Vt, ArtifactLifecycleInitializedEntrySchema as W, ArtifactContextRefEntrySchema as Wn, ARTIFACT_VALUE_TYPE_KEYWORD as Wr, 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, EvidenceValueSchema$1 as qr, 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, ARTIFACT_SLUG_PATTERN as zr, artifactPatchPathFilterNames as zt };
|