@makaio/framework 1.0.0-dev-1782138936821 → 1.0.0-dev-1782480236258
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/{account-identity-D5TUafYg.mjs → account-identity-C7Kx_ieU.mjs} +1 -1
- package/dist/{adapter-Deu9viD2.mjs → adapter-DaQqmKOJ.mjs} +1 -1
- package/dist/adapters/index.d.mts +1 -1
- package/dist/artifact-CGjnoyCC.mjs +1 -0
- package/dist/bus/index.d.mts +2 -2
- package/dist/bus/index.mjs +1 -1
- package/dist/{canonical-model-BM5WAnQW.mjs → canonical-model-DV-Z8gsb.mjs} +1 -1
- package/dist/{client-BO-0jTSV.mjs → client-BcfR-LJC.mjs} +1 -1
- package/dist/{compression-CXEHx0rS.mjs → compression-C5JAWdgZ.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/config/index.d.mts +6 -6
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +95 -95
- 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/provider/index.d.mts +1 -1
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{definition-BJ_975aA.mjs → definition-C-GVz7uw.mjs} +1 -1
- package/dist/{definition-s9PIua2B.d.mts → definition-DePb3ke-.d.mts} +1 -1
- package/dist/{extension-CfL70C5n.mjs → extension-BS_4BOeO.mjs} +1 -1
- package/dist/{index-ekpUAYVC.d.mts → index-0WhPbKnH.d.mts} +806 -30
- package/dist/{index-BN95duxC.d.mts → index-4eP9DRL_.d.mts} +4 -4
- package/dist/{index-BwGfdbI0.d.mts → index-B1XsbrAr.d.mts} +6 -6
- package/dist/{index-CRmApyqn.d.mts → index-B5w-0Gg9.d.mts} +8 -8
- package/dist/{index-Chtgizhn.d.mts → index-BKZhnb2B.d.mts} +57 -57
- package/dist/{index-DTBQOCar.d.mts → index-BMbmoarE.d.mts} +16 -16
- package/dist/{index-B08YYzYZ.d.mts → index-BhOLtp0B.d.mts} +9 -9
- package/dist/{index-CWDJFJGa.d.mts → index-C6SLILCZ.d.mts} +200 -200
- package/dist/{index-DEzdNQum.d.mts → index-CYHWOXUm.d.mts} +1 -1
- package/dist/{index-DDrS0Axp.d.mts → index-Clqt7Nm3.d.mts} +16 -16
- package/dist/{index-JkIaFJoM.d.mts → index-Cvjnj7Zh.d.mts} +8 -8
- package/dist/{index-Qd1Qom8M.d.mts → index-Cyi7y_aG.d.mts} +16 -16
- package/dist/{index-C2jl1iE2.d.mts → index-D4gn93gL.d.mts} +28 -28
- package/dist/{index-DXYFNGT9.d.mts → index-D8ScOpus.d.mts} +61 -61
- package/dist/{index-DYw2AuNR.d.mts → index-DsLpP5ek.d.mts} +1 -1
- package/dist/{index-ByDySw3V.d.mts → index-WHUV7neB.d.mts} +10 -10
- package/dist/{index-CfIW5biI.d.mts → index-wfSedMR9.d.mts} +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{materialization-DBXjSiBn.mjs → materialization-CUYxZCfk.mjs} +1 -1
- package/dist/{namespace-KMxsPJwm.d.mts → namespace-BeMGmLrp.d.mts} +9 -9
- package/dist/{namespace-CxzW0mIH.d.mts → namespace-Bm77p82L.d.mts} +5 -5
- package/dist/{namespace-Bz0ORDns.d.mts → namespace-Bmi5bjm4.d.mts} +78 -78
- package/dist/{namespace-DuUCiVmK.d.mts → namespace-CGxFYDlK.d.mts} +26 -26
- package/dist/{namespace-DBGLCtoW.d.mts → namespace-CfvtDD_U.d.mts} +22 -22
- package/dist/{namespace-DXWpFdQH2.d.mts → namespace-D8P8Sxce2.d.mts} +2 -2
- package/dist/package.json +1 -1
- package/dist/{provider-context-DjSUpHSM.mjs → provider-context-CqMgPOWF.mjs} +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schema-Dky4zu9D.d.mts → schema-Bf_ZNjif.d.mts} +3 -3
- package/dist/{schemas-7ncImjsM.d.mts → schemas-BemsLc_V.d.mts} +1 -1
- package/dist/{schemas-Eq-lrXYz2.d.mts → schemas-C6TVJ80V2.d.mts} +5 -5
- package/dist/{schemas-CynXJXJu.d.mts → schemas-CoFCV42v.d.mts} +22 -22
- package/dist/{schemas-CE1gbhxu.mjs → schemas-CuG17U3L.mjs} +1 -1
- package/dist/{schemas-CJ2JvA7d.d.mts → schemas-D512XweP.d.mts} +3 -3
- package/dist/{schemas-bfhY9W6A.mjs → schemas-uID59wR8.mjs} +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +6 -6
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/harness/index.d.mts +6 -6
- package/dist/services/index.d.mts +94 -51
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/namespace.d.mts +2 -2
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +2 -2
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{session-CpVSzgkZ.mjs → session-DH-ja8Ka.mjs} +1 -1
- package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-5-wRBzuC.d.mts} +1 -1
- package/dist/{shared-DpOEfD8F.mjs → shared-BVW-3Dhy.mjs} +1 -1
- package/dist/{transition-Bf-K6QGz.d.mts → transition-CBjccCMw.d.mts} +1 -1
- package/dist/{types-BolHvLpf.d.mts → types-8rhArs_K.d.mts} +84 -84
- package/dist/{types-BslClRkH.d.mts → types-InWSdi-V.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{workflow-BCKOJ4UC.mjs → workflow-BqH6ar-D.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +63 -63
- package/dist/workflow-worker-dH70EbjE.mjs +1 -0
- package/package.json +2 -2
- package/dist/artifact-B3npq1cy.mjs +0 -1
- package/dist/workflow-worker-BIpYi6o7.mjs +0 -1
- /package/dist/{json-value-CmhSGMLv.mjs → json-value-DmU8ibo_.mjs} +0 -0
- /package/dist/{schemas-CR1Rripy.mjs → schemas-DlrQ0227.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ArtifactProjectionPolicy$1 } from "./schemas-
|
|
1
|
+
import { r as ArtifactProjectionPolicy$1 } from "./schemas-D512XweP.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
4
|
import { MakaioBusLike } from "@makaio/framework/core";
|
|
@@ -462,9 +462,9 @@ declare const ArtifactKindRegistrationSchema: z.ZodObject<{
|
|
|
462
462
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
463
463
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
464
464
|
active: "active";
|
|
465
|
+
archived: "archived";
|
|
465
466
|
fading: "fading";
|
|
466
467
|
retired: "retired";
|
|
467
|
-
archived: "archived";
|
|
468
468
|
}>>;
|
|
469
469
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
470
470
|
}, z.core.$strip>>;
|
|
@@ -477,8 +477,8 @@ declare const ArtifactKindRegistrationSchema: z.ZodObject<{
|
|
|
477
477
|
comment: "comment";
|
|
478
478
|
}>;
|
|
479
479
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
480
|
-
workpiece: "workpiece";
|
|
481
480
|
artifact: "artifact";
|
|
481
|
+
workpiece: "workpiece";
|
|
482
482
|
}>>;
|
|
483
483
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
484
484
|
created: "created";
|
|
@@ -495,6 +495,7 @@ declare const ArtifactKindRegistrationSchema: z.ZodObject<{
|
|
|
495
495
|
}>>;
|
|
496
496
|
}, z.core.$strip>>>;
|
|
497
497
|
}, z.core.$strip>>;
|
|
498
|
+
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
498
499
|
}, z.core.$strip>;
|
|
499
500
|
/**
|
|
500
501
|
* Registration record for a named relation type.
|
|
@@ -782,7 +783,7 @@ type ArtifactScope = z.infer<typeof ArtifactScopeSchema>;
|
|
|
782
783
|
/** Scope descriptor for artifact query filters. */
|
|
783
784
|
type ArtifactQueryScope = z.infer<typeof ArtifactQueryScopeSchema>;
|
|
784
785
|
/** Immutable pointer to a specific artifact revision. */
|
|
785
|
-
type ArtifactRef = z.infer<typeof ArtifactRefSchema>;
|
|
786
|
+
type ArtifactRef$1 = z.infer<typeof ArtifactRefSchema>;
|
|
786
787
|
/** Pointer to a named sub-element within a specific artifact revision. */
|
|
787
788
|
type LocalRef = z.infer<typeof LocalRefSchema>;
|
|
788
789
|
/** Pointer to external evidence outside the artifact store. */
|
|
@@ -827,6 +828,43 @@ type ArtifactCompareRequest = z.infer<typeof ArtifactCompareRequestSchema>;
|
|
|
827
828
|
/** Result of comparing two artifact revisions. */
|
|
828
829
|
type ArtifactCompareResponse = z.infer<typeof ArtifactCompareResponseSchema>;
|
|
829
830
|
//#endregion
|
|
831
|
+
//#region core/contracts/src/artifact/context-selectors.d.ts
|
|
832
|
+
/** Known render hints for artifact context resolution. */
|
|
833
|
+
declare const ARTIFACT_CONTEXT_RENDER_HINTS: readonly ["inline", "summary", "link", "omit"];
|
|
834
|
+
/** A known render hint from the initial vocabulary. */
|
|
835
|
+
type ArtifactContextKnownRenderHint = (typeof ARTIFACT_CONTEXT_RENDER_HINTS)[number];
|
|
836
|
+
/**
|
|
837
|
+
* Render hint for artifact context entries.
|
|
838
|
+
*
|
|
839
|
+
* Starts with a closed initial vocabulary but the runtime schema accepts
|
|
840
|
+
* any non-empty string so product code can extend the vocabulary without
|
|
841
|
+
* a contract change.
|
|
842
|
+
*/
|
|
843
|
+
type ArtifactContextRenderHint = ArtifactContextKnownRenderHint | (string & {});
|
|
844
|
+
/**
|
|
845
|
+
* Per-relation selector controlling which outbound relations to follow
|
|
846
|
+
* and how to render the resolved context.
|
|
847
|
+
*/
|
|
848
|
+
interface ArtifactContextRelationSelector {
|
|
849
|
+
readonly kinds?: readonly string[];
|
|
850
|
+
readonly hint?: ArtifactContextRenderHint;
|
|
851
|
+
readonly depth?: number;
|
|
852
|
+
readonly nested?: ArtifactContextSelector$1;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* Map from relation type to per-relation selector.
|
|
856
|
+
*
|
|
857
|
+
* Only relation types present in the map are followed during resolution.
|
|
858
|
+
* Missing relation types fall through to kind defaults when available.
|
|
859
|
+
*/
|
|
860
|
+
type ArtifactContextSelector$1 = Readonly<Record<string, ArtifactContextRelationSelector>>;
|
|
861
|
+
/** Runtime schema for render hint strings. Accepts any non-empty string. */
|
|
862
|
+
declare const ArtifactContextRenderHintSchema: z.ZodString;
|
|
863
|
+
/** Runtime schema for per-relation selectors. */
|
|
864
|
+
declare const ArtifactContextRelationSelectorSchema: z.ZodType<ArtifactContextRelationSelector, ArtifactContextRelationSelector>;
|
|
865
|
+
/** Runtime schema for selector maps keyed by relation type. */
|
|
866
|
+
declare const ArtifactContextSelectorSchema: z.ZodType<ArtifactContextSelector$1, ArtifactContextSelector$1>;
|
|
867
|
+
//#endregion
|
|
830
868
|
//#region core/contracts/src/artifact/lifecycle-hooks.d.ts
|
|
831
869
|
/**
|
|
832
870
|
* Semantic lifecycle event names used to describe what happened to an artifact
|
|
@@ -951,7 +989,7 @@ interface ArtifactReactionHookContext<TBus extends MakaioBusLike = MakaioBusLike
|
|
|
951
989
|
/** The persisted artifact revision that was just written. */
|
|
952
990
|
readonly artifact: ArtifactRevision$1;
|
|
953
991
|
/** Reference to the previous revision, if this is a revise or status-change. */
|
|
954
|
-
readonly previous?: ArtifactRef;
|
|
992
|
+
readonly previous?: ArtifactRef$1;
|
|
955
993
|
/** The observation that was just appended, present only for `afterObservationAdded`. */
|
|
956
994
|
readonly observation?: ArtifactObservation$1;
|
|
957
995
|
/** Kind registration metadata, if the kind has been registered. */
|
|
@@ -1162,6 +1200,8 @@ interface ArtifactKindDefinition<TData extends Record<string, unknown>, TScope e
|
|
|
1162
1200
|
* defaults.
|
|
1163
1201
|
*/
|
|
1164
1202
|
readonly projection?: ArtifactProjectionPolicy$1;
|
|
1203
|
+
/** Optional default context selectors for artifact context resolution. */
|
|
1204
|
+
readonly defaultContext?: ArtifactContextSelector$1;
|
|
1165
1205
|
/**
|
|
1166
1206
|
* Optional live-only lifecycle hooks owned by this kind definition.
|
|
1167
1207
|
*
|
|
@@ -1268,6 +1308,8 @@ interface DefineArtifactKindOptions<TData extends Record<string, unknown>, TScop
|
|
|
1268
1308
|
* external providers.
|
|
1269
1309
|
*/
|
|
1270
1310
|
readonly projection?: ArtifactProjectionPolicy$1;
|
|
1311
|
+
/** Optional default context selectors for artifact context resolution. */
|
|
1312
|
+
readonly defaultContext?: ArtifactContextSelector$1;
|
|
1271
1313
|
/**
|
|
1272
1314
|
* Optional live-only lifecycle hooks. Not included in `toRegistration()`.
|
|
1273
1315
|
*
|
|
@@ -1304,6 +1346,276 @@ interface DefineArtifactKindOptions<TData extends Record<string, unknown>, TScop
|
|
|
1304
1346
|
*/
|
|
1305
1347
|
declare function defineArtifactKind<TData extends Record<string, unknown>, TScope extends ArtifactScope = ArtifactScope>(options: DefineArtifactKindOptions<TData, TScope>): ArtifactKindDefinition<TData, TScope>;
|
|
1306
1348
|
//#endregion
|
|
1349
|
+
//#region core/contracts/src/artifact/context-resolution.d.ts
|
|
1350
|
+
/**
|
|
1351
|
+
* Reasons why a relation target was not resolved during context resolution.
|
|
1352
|
+
*
|
|
1353
|
+
* v1 omits `scope-denied` -- no scope policy seam exists yet.
|
|
1354
|
+
*/
|
|
1355
|
+
declare const ArtifactContextUnresolvedReasonSchema: z.ZodEnum<{
|
|
1356
|
+
"not-selected": "not-selected";
|
|
1357
|
+
"not-found": "not-found";
|
|
1358
|
+
"depth-exceeded": "depth-exceeded";
|
|
1359
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
1360
|
+
"cycle-detected": "cycle-detected";
|
|
1361
|
+
}>;
|
|
1362
|
+
/** An unresolved reason for a context ref entry. */
|
|
1363
|
+
type ArtifactContextUnresolvedReason = z.infer<typeof ArtifactContextUnresolvedReasonSchema>;
|
|
1364
|
+
/**
|
|
1365
|
+
* A single entry in the normalized artifact context wire format.
|
|
1366
|
+
*
|
|
1367
|
+
* Each entry records one outbound relation from a source artifact to a
|
|
1368
|
+
* target, along with resolution status and the render hint used.
|
|
1369
|
+
*/
|
|
1370
|
+
declare const ArtifactContextRefEntrySchema: z.ZodObject<{
|
|
1371
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1372
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1373
|
+
kind: z.ZodString;
|
|
1374
|
+
id: z.ZodString;
|
|
1375
|
+
revision: z.ZodString;
|
|
1376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1378
|
+
artifact: z.ZodObject<{
|
|
1379
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1380
|
+
kind: z.ZodString;
|
|
1381
|
+
id: z.ZodString;
|
|
1382
|
+
revision: z.ZodString;
|
|
1383
|
+
}, z.core.$strip>;
|
|
1384
|
+
localId: z.ZodString;
|
|
1385
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1386
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1387
|
+
kind: z.ZodString;
|
|
1388
|
+
id: z.ZodString;
|
|
1389
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1390
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
}, z.core.$strip>], "refClass">>;
|
|
1392
|
+
sourceRef: z.ZodObject<{
|
|
1393
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1394
|
+
kind: z.ZodString;
|
|
1395
|
+
id: z.ZodString;
|
|
1396
|
+
revision: z.ZodString;
|
|
1397
|
+
}, z.core.$strip>;
|
|
1398
|
+
relationType: z.ZodString;
|
|
1399
|
+
hint: z.ZodString;
|
|
1400
|
+
status: z.ZodEnum<{
|
|
1401
|
+
resolved: "resolved";
|
|
1402
|
+
unresolved: "unresolved";
|
|
1403
|
+
}>;
|
|
1404
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
+
"not-selected": "not-selected";
|
|
1406
|
+
"not-found": "not-found";
|
|
1407
|
+
"depth-exceeded": "depth-exceeded";
|
|
1408
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
1409
|
+
"cycle-detected": "cycle-detected";
|
|
1410
|
+
}>>;
|
|
1411
|
+
}, z.core.$strip>;
|
|
1412
|
+
/** A single resolved or unresolved context ref entry. */
|
|
1413
|
+
type ArtifactContextRefEntry = z.infer<typeof ArtifactContextRefEntrySchema>;
|
|
1414
|
+
/**
|
|
1415
|
+
* Normalized wire format for a resolved artifact context graph.
|
|
1416
|
+
*
|
|
1417
|
+
* Contains the root artifact reference, all encountered relation entries
|
|
1418
|
+
* (both resolved and unresolved), and the pool of resolved artifact
|
|
1419
|
+
* revisions referenced by the entries.
|
|
1420
|
+
*/
|
|
1421
|
+
declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
1422
|
+
rootRef: z.ZodObject<{
|
|
1423
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1424
|
+
kind: z.ZodString;
|
|
1425
|
+
id: z.ZodString;
|
|
1426
|
+
revision: z.ZodString;
|
|
1427
|
+
}, z.core.$strip>;
|
|
1428
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
1429
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1430
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1431
|
+
kind: z.ZodString;
|
|
1432
|
+
id: z.ZodString;
|
|
1433
|
+
revision: z.ZodString;
|
|
1434
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1435
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1436
|
+
artifact: z.ZodObject<{
|
|
1437
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1438
|
+
kind: z.ZodString;
|
|
1439
|
+
id: z.ZodString;
|
|
1440
|
+
revision: z.ZodString;
|
|
1441
|
+
}, z.core.$strip>;
|
|
1442
|
+
localId: z.ZodString;
|
|
1443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1444
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1445
|
+
kind: z.ZodString;
|
|
1446
|
+
id: z.ZodString;
|
|
1447
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
}, z.core.$strip>], "refClass">>;
|
|
1450
|
+
sourceRef: z.ZodObject<{
|
|
1451
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1452
|
+
kind: z.ZodString;
|
|
1453
|
+
id: z.ZodString;
|
|
1454
|
+
revision: z.ZodString;
|
|
1455
|
+
}, z.core.$strip>;
|
|
1456
|
+
relationType: z.ZodString;
|
|
1457
|
+
hint: z.ZodString;
|
|
1458
|
+
status: z.ZodEnum<{
|
|
1459
|
+
resolved: "resolved";
|
|
1460
|
+
unresolved: "unresolved";
|
|
1461
|
+
}>;
|
|
1462
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1463
|
+
"not-selected": "not-selected";
|
|
1464
|
+
"not-found": "not-found";
|
|
1465
|
+
"depth-exceeded": "depth-exceeded";
|
|
1466
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
1467
|
+
"cycle-detected": "cycle-detected";
|
|
1468
|
+
}>>;
|
|
1469
|
+
}, z.core.$strip>>;
|
|
1470
|
+
resolved: z.ZodArray<z.ZodObject<{
|
|
1471
|
+
kind: z.ZodString;
|
|
1472
|
+
id: z.ZodString;
|
|
1473
|
+
revision: z.ZodString;
|
|
1474
|
+
scope: z.ZodObject<{
|
|
1475
|
+
level: z.ZodString;
|
|
1476
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1477
|
+
}, z.core.$strip>;
|
|
1478
|
+
schemaVersion: z.ZodString;
|
|
1479
|
+
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1480
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1481
|
+
type: z.ZodString;
|
|
1482
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1484
|
+
kind: z.ZodString;
|
|
1485
|
+
id: z.ZodString;
|
|
1486
|
+
revision: z.ZodString;
|
|
1487
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1488
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1489
|
+
artifact: z.ZodObject<{
|
|
1490
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1491
|
+
kind: z.ZodString;
|
|
1492
|
+
id: z.ZodString;
|
|
1493
|
+
revision: z.ZodString;
|
|
1494
|
+
}, z.core.$strip>;
|
|
1495
|
+
localId: z.ZodString;
|
|
1496
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1497
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1498
|
+
kind: z.ZodString;
|
|
1499
|
+
id: z.ZodString;
|
|
1500
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1501
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
}, z.core.$strip>], "refClass">>;
|
|
1503
|
+
}, z.core.$strip>>;
|
|
1504
|
+
confidence: z.ZodOptional<z.ZodObject<{
|
|
1505
|
+
level: z.ZodEnum<{
|
|
1506
|
+
assumed: "assumed";
|
|
1507
|
+
inferred: "inferred";
|
|
1508
|
+
stated: "stated";
|
|
1509
|
+
confirmed: "confirmed";
|
|
1510
|
+
verified: "verified";
|
|
1511
|
+
}>;
|
|
1512
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
1513
|
+
kind: z.ZodString;
|
|
1514
|
+
actor: z.ZodObject<{
|
|
1515
|
+
kind: z.ZodString;
|
|
1516
|
+
id: z.ZodString;
|
|
1517
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
}, z.core.$strip>;
|
|
1519
|
+
timestamp: z.ZodNumber;
|
|
1520
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1522
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1523
|
+
kind: z.ZodString;
|
|
1524
|
+
id: z.ZodString;
|
|
1525
|
+
revision: z.ZodString;
|
|
1526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1527
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1528
|
+
artifact: z.ZodObject<{
|
|
1529
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1530
|
+
kind: z.ZodString;
|
|
1531
|
+
id: z.ZodString;
|
|
1532
|
+
revision: z.ZodString;
|
|
1533
|
+
}, z.core.$strip>;
|
|
1534
|
+
localId: z.ZodString;
|
|
1535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1536
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1537
|
+
kind: z.ZodString;
|
|
1538
|
+
id: z.ZodString;
|
|
1539
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1540
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
1541
|
+
}, z.core.$strip>], "refClass">>>;
|
|
1542
|
+
}, z.core.$strip>>;
|
|
1543
|
+
}, z.core.$strip>>;
|
|
1544
|
+
representations: z.ZodOptional<z.ZodObject<{
|
|
1545
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
1546
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1547
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
1548
|
+
}, z.core.$strip>>;
|
|
1549
|
+
actor: z.ZodObject<{
|
|
1550
|
+
kind: z.ZodString;
|
|
1551
|
+
id: z.ZodString;
|
|
1552
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1553
|
+
}, z.core.$strip>;
|
|
1554
|
+
timestamp: z.ZodNumber;
|
|
1555
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1556
|
+
}, z.core.$strip>>;
|
|
1557
|
+
}, z.core.$strip>;
|
|
1558
|
+
/** Normalized wire format for a resolved artifact context graph. */
|
|
1559
|
+
type ResolvedArtifactContextWire$1 = z.infer<typeof ResolvedArtifactContextWireSchema>;
|
|
1560
|
+
//#endregion
|
|
1561
|
+
//#region core/contracts/src/artifact/context-tree.d.ts
|
|
1562
|
+
/**
|
|
1563
|
+
* Hydrated tree representation of a resolved artifact context graph.
|
|
1564
|
+
*
|
|
1565
|
+
* The root is always a resolved node. Children may be resolved or
|
|
1566
|
+
* unresolved depending on resolution status.
|
|
1567
|
+
*/
|
|
1568
|
+
interface ArtifactContextTree {
|
|
1569
|
+
/** The root artifact node — always resolved. */
|
|
1570
|
+
readonly root: ArtifactContextRootNode;
|
|
1571
|
+
/**
|
|
1572
|
+
* Collect all resolved artifact revisions in depth-first order.
|
|
1573
|
+
* @returns Ordered list of resolved artifact revisions.
|
|
1574
|
+
*/
|
|
1575
|
+
flatten(): readonly ArtifactRevision$1[];
|
|
1576
|
+
}
|
|
1577
|
+
/** A node in the hydrated artifact context tree. */
|
|
1578
|
+
type ArtifactContextNode = ResolvedArtifactContextNode | UnresolvedArtifactContextNode;
|
|
1579
|
+
/** Shared resolved node fields for root and relation children. */
|
|
1580
|
+
interface ResolvedArtifactContextNodeBase {
|
|
1581
|
+
readonly status: 'resolved';
|
|
1582
|
+
/** Artifact reference for this node. */
|
|
1583
|
+
readonly ref: ArtifactRef$1;
|
|
1584
|
+
/** Full artifact revision data. */
|
|
1585
|
+
readonly artifact: ArtifactRevision$1;
|
|
1586
|
+
/** Render hint applied to this node. */
|
|
1587
|
+
readonly hint: ArtifactContextRenderHint;
|
|
1588
|
+
/** Child nodes from this artifact's outbound relations. */
|
|
1589
|
+
readonly children: readonly ArtifactContextNode[];
|
|
1590
|
+
}
|
|
1591
|
+
/** The resolved root node; it has no parent relation. */
|
|
1592
|
+
type ArtifactContextRootNode = ResolvedArtifactContextNodeBase;
|
|
1593
|
+
/** A resolved child node with artifact data and relation metadata. */
|
|
1594
|
+
interface ResolvedArtifactContextNode extends ResolvedArtifactContextNodeBase {
|
|
1595
|
+
/** Relation type that led to this node from its parent. */
|
|
1596
|
+
readonly relation: string;
|
|
1597
|
+
}
|
|
1598
|
+
/** An unresolved node representing a relation that could not be followed. */
|
|
1599
|
+
interface UnresolvedArtifactContextNode {
|
|
1600
|
+
readonly status: 'unresolved';
|
|
1601
|
+
/** The relation target that was not resolved. */
|
|
1602
|
+
readonly target: ArtifactRelationTarget;
|
|
1603
|
+
/** Relation type that led to this node from its parent. */
|
|
1604
|
+
readonly relation: string;
|
|
1605
|
+
/** Render hint applied to this node. */
|
|
1606
|
+
readonly hint: ArtifactContextRenderHint;
|
|
1607
|
+
/** Reason the target was not resolved. */
|
|
1608
|
+
readonly reason: ArtifactContextUnresolvedReason;
|
|
1609
|
+
}
|
|
1610
|
+
//#endregion
|
|
1611
|
+
//#region core/contracts/src/artifact/hydrate-context.d.ts
|
|
1612
|
+
/**
|
|
1613
|
+
* Hydrate a normalized artifact context wire payload into a tree.
|
|
1614
|
+
* @param wire - Normalized resolved artifact context payload.
|
|
1615
|
+
* @returns Tree view with a convenience flatten method.
|
|
1616
|
+
*/
|
|
1617
|
+
declare function hydrateArtifactContextTree(wire: ResolvedArtifactContextWire$1): ArtifactContextTree;
|
|
1618
|
+
//#endregion
|
|
1307
1619
|
//#region core/contracts/src/artifact/namespace.d.ts
|
|
1308
1620
|
/**
|
|
1309
1621
|
* Framework-level artifact bus schemas.
|
|
@@ -1342,9 +1654,9 @@ declare const ArtifactSchemas: {
|
|
|
1342
1654
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1343
1655
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
1344
1656
|
active: "active";
|
|
1657
|
+
archived: "archived";
|
|
1345
1658
|
fading: "fading";
|
|
1346
1659
|
retired: "retired";
|
|
1347
|
-
archived: "archived";
|
|
1348
1660
|
}>>;
|
|
1349
1661
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
1350
1662
|
}, z.core.$strip>>;
|
|
@@ -1357,8 +1669,8 @@ declare const ArtifactSchemas: {
|
|
|
1357
1669
|
comment: "comment";
|
|
1358
1670
|
}>;
|
|
1359
1671
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
1360
|
-
workpiece: "workpiece";
|
|
1361
1672
|
artifact: "artifact";
|
|
1673
|
+
workpiece: "workpiece";
|
|
1362
1674
|
}>>;
|
|
1363
1675
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1364
1676
|
created: "created";
|
|
@@ -1375,6 +1687,7 @@ declare const ArtifactSchemas: {
|
|
|
1375
1687
|
}>>;
|
|
1376
1688
|
}, z.core.$strip>>>;
|
|
1377
1689
|
}, z.core.$strip>>;
|
|
1690
|
+
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
1378
1691
|
}, z.core.$strip>;
|
|
1379
1692
|
response: z.ZodObject<{
|
|
1380
1693
|
registered: z.ZodBoolean;
|
|
@@ -1405,9 +1718,9 @@ declare const ArtifactSchemas: {
|
|
|
1405
1718
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1406
1719
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
1407
1720
|
active: "active";
|
|
1721
|
+
archived: "archived";
|
|
1408
1722
|
fading: "fading";
|
|
1409
1723
|
retired: "retired";
|
|
1410
|
-
archived: "archived";
|
|
1411
1724
|
}>>;
|
|
1412
1725
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
1413
1726
|
}, z.core.$strip>>;
|
|
@@ -1420,8 +1733,8 @@ declare const ArtifactSchemas: {
|
|
|
1420
1733
|
comment: "comment";
|
|
1421
1734
|
}>;
|
|
1422
1735
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
1423
|
-
workpiece: "workpiece";
|
|
1424
1736
|
artifact: "artifact";
|
|
1737
|
+
workpiece: "workpiece";
|
|
1425
1738
|
}>>;
|
|
1426
1739
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1427
1740
|
created: "created";
|
|
@@ -1438,6 +1751,7 @@ declare const ArtifactSchemas: {
|
|
|
1438
1751
|
}>>;
|
|
1439
1752
|
}, z.core.$strip>>>;
|
|
1440
1753
|
}, z.core.$strip>>;
|
|
1754
|
+
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
1441
1755
|
}, z.core.$strip>>;
|
|
1442
1756
|
}, z.core.$strip>;
|
|
1443
1757
|
}; /** Register a new relation type with the artifact service (RPC). */
|
|
@@ -1487,12 +1801,11 @@ declare const ArtifactSchemas: {
|
|
|
1487
1801
|
request: z.ZodObject<{
|
|
1488
1802
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1489
1803
|
kind: z.ZodString;
|
|
1490
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1491
|
-
schemaVersion: z.ZodString;
|
|
1492
1804
|
scope: z.ZodObject<{
|
|
1493
1805
|
level: z.ZodString;
|
|
1494
1806
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1495
1807
|
}, z.core.$strip>;
|
|
1808
|
+
schemaVersion: z.ZodString;
|
|
1496
1809
|
actor: z.ZodObject<{
|
|
1497
1810
|
kind: z.ZodString;
|
|
1498
1811
|
id: z.ZodString;
|
|
@@ -1567,6 +1880,7 @@ declare const ArtifactSchemas: {
|
|
|
1567
1880
|
summary: z.ZodOptional<z.ZodString>;
|
|
1568
1881
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1569
1882
|
}, z.core.$strip>>;
|
|
1883
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1570
1884
|
}, z.core.$strip>;
|
|
1571
1885
|
response: z.ZodObject<{
|
|
1572
1886
|
artifact: z.ZodObject<{
|
|
@@ -1669,12 +1983,11 @@ declare const ArtifactSchemas: {
|
|
|
1669
1983
|
revision: z.ZodObject<{
|
|
1670
1984
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1671
1985
|
kind: z.ZodString;
|
|
1672
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1673
|
-
schemaVersion: z.ZodString;
|
|
1674
1986
|
scope: z.ZodObject<{
|
|
1675
1987
|
level: z.ZodString;
|
|
1676
1988
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1677
1989
|
}, z.core.$strip>;
|
|
1990
|
+
schemaVersion: z.ZodString;
|
|
1678
1991
|
actor: z.ZodObject<{
|
|
1679
1992
|
kind: z.ZodString;
|
|
1680
1993
|
id: z.ZodString;
|
|
@@ -1749,6 +2062,7 @@ declare const ArtifactSchemas: {
|
|
|
1749
2062
|
summary: z.ZodOptional<z.ZodString>;
|
|
1750
2063
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1751
2064
|
}, z.core.$strip>>;
|
|
2065
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1752
2066
|
}, z.core.$strip>;
|
|
1753
2067
|
}, z.core.$strip>;
|
|
1754
2068
|
response: z.ZodObject<{
|
|
@@ -2275,6 +2589,157 @@ declare const ArtifactSchemas: {
|
|
|
2275
2589
|
}, z.core.$strip>;
|
|
2276
2590
|
changedPaths: z.ZodArray<z.ZodString>;
|
|
2277
2591
|
}, z.core.$strip>;
|
|
2592
|
+
}; /** Resolve a selector-driven outbound artifact context graph (RPC). */
|
|
2593
|
+
resolveContext: {
|
|
2594
|
+
request: z.ZodObject<{
|
|
2595
|
+
ref: z.ZodObject<{
|
|
2596
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2597
|
+
kind: z.ZodString;
|
|
2598
|
+
id: z.ZodString;
|
|
2599
|
+
revision: z.ZodString;
|
|
2600
|
+
}, z.core.$strip>;
|
|
2601
|
+
selectors: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
2602
|
+
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
2603
|
+
}, z.core.$strip>;
|
|
2604
|
+
response: z.ZodObject<{
|
|
2605
|
+
context: z.ZodObject<{
|
|
2606
|
+
rootRef: z.ZodObject<{
|
|
2607
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2608
|
+
kind: z.ZodString;
|
|
2609
|
+
id: z.ZodString;
|
|
2610
|
+
revision: z.ZodString;
|
|
2611
|
+
}, z.core.$strip>;
|
|
2612
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
2613
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2614
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2615
|
+
kind: z.ZodString;
|
|
2616
|
+
id: z.ZodString;
|
|
2617
|
+
revision: z.ZodString;
|
|
2618
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2619
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
2620
|
+
artifact: z.ZodObject<{
|
|
2621
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2622
|
+
kind: z.ZodString;
|
|
2623
|
+
id: z.ZodString;
|
|
2624
|
+
revision: z.ZodString;
|
|
2625
|
+
}, z.core.$strip>;
|
|
2626
|
+
localId: z.ZodString;
|
|
2627
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2628
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
2629
|
+
kind: z.ZodString;
|
|
2630
|
+
id: z.ZodString;
|
|
2631
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
2632
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
2633
|
+
}, z.core.$strip>], "refClass">>;
|
|
2634
|
+
sourceRef: z.ZodObject<{
|
|
2635
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2636
|
+
kind: z.ZodString;
|
|
2637
|
+
id: z.ZodString;
|
|
2638
|
+
revision: z.ZodString;
|
|
2639
|
+
}, z.core.$strip>;
|
|
2640
|
+
relationType: z.ZodString;
|
|
2641
|
+
hint: z.ZodString;
|
|
2642
|
+
status: z.ZodEnum<{
|
|
2643
|
+
resolved: "resolved";
|
|
2644
|
+
unresolved: "unresolved";
|
|
2645
|
+
}>;
|
|
2646
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2647
|
+
"not-selected": "not-selected";
|
|
2648
|
+
"not-found": "not-found";
|
|
2649
|
+
"depth-exceeded": "depth-exceeded";
|
|
2650
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
2651
|
+
"cycle-detected": "cycle-detected";
|
|
2652
|
+
}>>;
|
|
2653
|
+
}, z.core.$strip>>;
|
|
2654
|
+
resolved: z.ZodArray<z.ZodObject<{
|
|
2655
|
+
kind: z.ZodString;
|
|
2656
|
+
id: z.ZodString;
|
|
2657
|
+
revision: z.ZodString;
|
|
2658
|
+
scope: z.ZodObject<{
|
|
2659
|
+
level: z.ZodString;
|
|
2660
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2661
|
+
}, z.core.$strip>;
|
|
2662
|
+
schemaVersion: z.ZodString;
|
|
2663
|
+
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2664
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
2665
|
+
type: z.ZodString;
|
|
2666
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2667
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2668
|
+
kind: z.ZodString;
|
|
2669
|
+
id: z.ZodString;
|
|
2670
|
+
revision: z.ZodString;
|
|
2671
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2672
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
2673
|
+
artifact: z.ZodObject<{
|
|
2674
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2675
|
+
kind: z.ZodString;
|
|
2676
|
+
id: z.ZodString;
|
|
2677
|
+
revision: z.ZodString;
|
|
2678
|
+
}, z.core.$strip>;
|
|
2679
|
+
localId: z.ZodString;
|
|
2680
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2681
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
2682
|
+
kind: z.ZodString;
|
|
2683
|
+
id: z.ZodString;
|
|
2684
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
2685
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
2686
|
+
}, z.core.$strip>], "refClass">>;
|
|
2687
|
+
}, z.core.$strip>>;
|
|
2688
|
+
confidence: z.ZodOptional<z.ZodObject<{
|
|
2689
|
+
level: z.ZodEnum<{
|
|
2690
|
+
assumed: "assumed";
|
|
2691
|
+
inferred: "inferred";
|
|
2692
|
+
stated: "stated";
|
|
2693
|
+
confirmed: "confirmed";
|
|
2694
|
+
verified: "verified";
|
|
2695
|
+
}>;
|
|
2696
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
2697
|
+
kind: z.ZodString;
|
|
2698
|
+
actor: z.ZodObject<{
|
|
2699
|
+
kind: z.ZodString;
|
|
2700
|
+
id: z.ZodString;
|
|
2701
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2702
|
+
}, z.core.$strip>;
|
|
2703
|
+
timestamp: z.ZodNumber;
|
|
2704
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
2705
|
+
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2706
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2707
|
+
kind: z.ZodString;
|
|
2708
|
+
id: z.ZodString;
|
|
2709
|
+
revision: z.ZodString;
|
|
2710
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2711
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
2712
|
+
artifact: z.ZodObject<{
|
|
2713
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
2714
|
+
kind: z.ZodString;
|
|
2715
|
+
id: z.ZodString;
|
|
2716
|
+
revision: z.ZodString;
|
|
2717
|
+
}, z.core.$strip>;
|
|
2718
|
+
localId: z.ZodString;
|
|
2719
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2720
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
2721
|
+
kind: z.ZodString;
|
|
2722
|
+
id: z.ZodString;
|
|
2723
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
2724
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
2725
|
+
}, z.core.$strip>], "refClass">>>;
|
|
2726
|
+
}, z.core.$strip>>;
|
|
2727
|
+
}, z.core.$strip>>;
|
|
2728
|
+
representations: z.ZodOptional<z.ZodObject<{
|
|
2729
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2731
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
}, z.core.$strip>>;
|
|
2733
|
+
actor: z.ZodObject<{
|
|
2734
|
+
kind: z.ZodString;
|
|
2735
|
+
id: z.ZodString;
|
|
2736
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2737
|
+
}, z.core.$strip>;
|
|
2738
|
+
timestamp: z.ZodNumber;
|
|
2739
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2740
|
+
}, z.core.$strip>>;
|
|
2741
|
+
}, z.core.$strip>;
|
|
2742
|
+
}, z.core.$strip>;
|
|
2278
2743
|
}; /** Emitted when a new artifact is created. */
|
|
2279
2744
|
created: z.ZodObject<{
|
|
2280
2745
|
artifact: z.ZodObject<{
|
|
@@ -2590,9 +3055,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2590
3055
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
2591
3056
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
2592
3057
|
active: "active";
|
|
3058
|
+
archived: "archived";
|
|
2593
3059
|
fading: "fading";
|
|
2594
3060
|
retired: "retired";
|
|
2595
|
-
archived: "archived";
|
|
2596
3061
|
}>>;
|
|
2597
3062
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
2598
3063
|
}, z.core.$strip>>;
|
|
@@ -2605,8 +3070,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2605
3070
|
comment: "comment";
|
|
2606
3071
|
}>;
|
|
2607
3072
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2608
|
-
workpiece: "workpiece";
|
|
2609
3073
|
artifact: "artifact";
|
|
3074
|
+
workpiece: "workpiece";
|
|
2610
3075
|
}>>;
|
|
2611
3076
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2612
3077
|
created: "created";
|
|
@@ -2623,6 +3088,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2623
3088
|
}>>;
|
|
2624
3089
|
}, z.core.$strip>>>;
|
|
2625
3090
|
}, z.core.$strip>>;
|
|
3091
|
+
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
2626
3092
|
}, z.core.$strip>;
|
|
2627
3093
|
response: z.ZodObject<{
|
|
2628
3094
|
registered: z.ZodBoolean;
|
|
@@ -2653,9 +3119,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2653
3119
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
2654
3120
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
2655
3121
|
active: "active";
|
|
3122
|
+
archived: "archived";
|
|
2656
3123
|
fading: "fading";
|
|
2657
3124
|
retired: "retired";
|
|
2658
|
-
archived: "archived";
|
|
2659
3125
|
}>>;
|
|
2660
3126
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
2661
3127
|
}, z.core.$strip>>;
|
|
@@ -2668,8 +3134,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2668
3134
|
comment: "comment";
|
|
2669
3135
|
}>;
|
|
2670
3136
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2671
|
-
workpiece: "workpiece";
|
|
2672
3137
|
artifact: "artifact";
|
|
3138
|
+
workpiece: "workpiece";
|
|
2673
3139
|
}>>;
|
|
2674
3140
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2675
3141
|
created: "created";
|
|
@@ -2686,6 +3152,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2686
3152
|
}>>;
|
|
2687
3153
|
}, z.core.$strip>>>;
|
|
2688
3154
|
}, z.core.$strip>>;
|
|
3155
|
+
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
2689
3156
|
}, z.core.$strip>>;
|
|
2690
3157
|
}, z.core.$strip>;
|
|
2691
3158
|
}; /** Register a new relation type with the artifact service (RPC). */
|
|
@@ -2735,12 +3202,11 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2735
3202
|
request: z.ZodObject<{
|
|
2736
3203
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2737
3204
|
kind: z.ZodString;
|
|
2738
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2739
|
-
schemaVersion: z.ZodString;
|
|
2740
3205
|
scope: z.ZodObject<{
|
|
2741
3206
|
level: z.ZodString;
|
|
2742
3207
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2743
3208
|
}, z.core.$strip>;
|
|
3209
|
+
schemaVersion: z.ZodString;
|
|
2744
3210
|
actor: z.ZodObject<{
|
|
2745
3211
|
kind: z.ZodString;
|
|
2746
3212
|
id: z.ZodString;
|
|
@@ -2815,6 +3281,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2815
3281
|
summary: z.ZodOptional<z.ZodString>;
|
|
2816
3282
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
2817
3283
|
}, z.core.$strip>>;
|
|
3284
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2818
3285
|
}, z.core.$strip>;
|
|
2819
3286
|
response: z.ZodObject<{
|
|
2820
3287
|
artifact: z.ZodObject<{
|
|
@@ -2917,12 +3384,11 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2917
3384
|
revision: z.ZodObject<{
|
|
2918
3385
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2919
3386
|
kind: z.ZodString;
|
|
2920
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2921
|
-
schemaVersion: z.ZodString;
|
|
2922
3387
|
scope: z.ZodObject<{
|
|
2923
3388
|
level: z.ZodString;
|
|
2924
3389
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2925
3390
|
}, z.core.$strip>;
|
|
3391
|
+
schemaVersion: z.ZodString;
|
|
2926
3392
|
actor: z.ZodObject<{
|
|
2927
3393
|
kind: z.ZodString;
|
|
2928
3394
|
id: z.ZodString;
|
|
@@ -2997,6 +3463,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2997
3463
|
summary: z.ZodOptional<z.ZodString>;
|
|
2998
3464
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
2999
3465
|
}, z.core.$strip>>;
|
|
3466
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3000
3467
|
}, z.core.$strip>;
|
|
3001
3468
|
}, z.core.$strip>;
|
|
3002
3469
|
response: z.ZodObject<{
|
|
@@ -3523,6 +3990,157 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3523
3990
|
}, z.core.$strip>;
|
|
3524
3991
|
changedPaths: z.ZodArray<z.ZodString>;
|
|
3525
3992
|
}, z.core.$strip>;
|
|
3993
|
+
}; /** Resolve a selector-driven outbound artifact context graph (RPC). */
|
|
3994
|
+
resolveContext: {
|
|
3995
|
+
request: z.ZodObject<{
|
|
3996
|
+
ref: z.ZodObject<{
|
|
3997
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
3998
|
+
kind: z.ZodString;
|
|
3999
|
+
id: z.ZodString;
|
|
4000
|
+
revision: z.ZodString;
|
|
4001
|
+
}, z.core.$strip>;
|
|
4002
|
+
selectors: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
4003
|
+
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
4004
|
+
}, z.core.$strip>;
|
|
4005
|
+
response: z.ZodObject<{
|
|
4006
|
+
context: z.ZodObject<{
|
|
4007
|
+
rootRef: z.ZodObject<{
|
|
4008
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4009
|
+
kind: z.ZodString;
|
|
4010
|
+
id: z.ZodString;
|
|
4011
|
+
revision: z.ZodString;
|
|
4012
|
+
}, z.core.$strip>;
|
|
4013
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
4014
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4015
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4016
|
+
kind: z.ZodString;
|
|
4017
|
+
id: z.ZodString;
|
|
4018
|
+
revision: z.ZodString;
|
|
4019
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4020
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4021
|
+
artifact: z.ZodObject<{
|
|
4022
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4023
|
+
kind: z.ZodString;
|
|
4024
|
+
id: z.ZodString;
|
|
4025
|
+
revision: z.ZodString;
|
|
4026
|
+
}, z.core.$strip>;
|
|
4027
|
+
localId: z.ZodString;
|
|
4028
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4029
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4030
|
+
kind: z.ZodString;
|
|
4031
|
+
id: z.ZodString;
|
|
4032
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4033
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4034
|
+
}, z.core.$strip>], "refClass">>;
|
|
4035
|
+
sourceRef: z.ZodObject<{
|
|
4036
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4037
|
+
kind: z.ZodString;
|
|
4038
|
+
id: z.ZodString;
|
|
4039
|
+
revision: z.ZodString;
|
|
4040
|
+
}, z.core.$strip>;
|
|
4041
|
+
relationType: z.ZodString;
|
|
4042
|
+
hint: z.ZodString;
|
|
4043
|
+
status: z.ZodEnum<{
|
|
4044
|
+
resolved: "resolved";
|
|
4045
|
+
unresolved: "unresolved";
|
|
4046
|
+
}>;
|
|
4047
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4048
|
+
"not-selected": "not-selected";
|
|
4049
|
+
"not-found": "not-found";
|
|
4050
|
+
"depth-exceeded": "depth-exceeded";
|
|
4051
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
4052
|
+
"cycle-detected": "cycle-detected";
|
|
4053
|
+
}>>;
|
|
4054
|
+
}, z.core.$strip>>;
|
|
4055
|
+
resolved: z.ZodArray<z.ZodObject<{
|
|
4056
|
+
kind: z.ZodString;
|
|
4057
|
+
id: z.ZodString;
|
|
4058
|
+
revision: z.ZodString;
|
|
4059
|
+
scope: z.ZodObject<{
|
|
4060
|
+
level: z.ZodString;
|
|
4061
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4062
|
+
}, z.core.$strip>;
|
|
4063
|
+
schemaVersion: z.ZodString;
|
|
4064
|
+
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4065
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
4066
|
+
type: z.ZodString;
|
|
4067
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4068
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4069
|
+
kind: z.ZodString;
|
|
4070
|
+
id: z.ZodString;
|
|
4071
|
+
revision: z.ZodString;
|
|
4072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4073
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4074
|
+
artifact: z.ZodObject<{
|
|
4075
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4076
|
+
kind: z.ZodString;
|
|
4077
|
+
id: z.ZodString;
|
|
4078
|
+
revision: z.ZodString;
|
|
4079
|
+
}, z.core.$strip>;
|
|
4080
|
+
localId: z.ZodString;
|
|
4081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4082
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4083
|
+
kind: z.ZodString;
|
|
4084
|
+
id: z.ZodString;
|
|
4085
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4086
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4087
|
+
}, z.core.$strip>], "refClass">>;
|
|
4088
|
+
}, z.core.$strip>>;
|
|
4089
|
+
confidence: z.ZodOptional<z.ZodObject<{
|
|
4090
|
+
level: z.ZodEnum<{
|
|
4091
|
+
assumed: "assumed";
|
|
4092
|
+
inferred: "inferred";
|
|
4093
|
+
stated: "stated";
|
|
4094
|
+
confirmed: "confirmed";
|
|
4095
|
+
verified: "verified";
|
|
4096
|
+
}>;
|
|
4097
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
4098
|
+
kind: z.ZodString;
|
|
4099
|
+
actor: z.ZodObject<{
|
|
4100
|
+
kind: z.ZodString;
|
|
4101
|
+
id: z.ZodString;
|
|
4102
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4103
|
+
}, z.core.$strip>;
|
|
4104
|
+
timestamp: z.ZodNumber;
|
|
4105
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4106
|
+
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4107
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4108
|
+
kind: z.ZodString;
|
|
4109
|
+
id: z.ZodString;
|
|
4110
|
+
revision: z.ZodString;
|
|
4111
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4112
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
4113
|
+
artifact: z.ZodObject<{
|
|
4114
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
4115
|
+
kind: z.ZodString;
|
|
4116
|
+
id: z.ZodString;
|
|
4117
|
+
revision: z.ZodString;
|
|
4118
|
+
}, z.core.$strip>;
|
|
4119
|
+
localId: z.ZodString;
|
|
4120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4121
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
4122
|
+
kind: z.ZodString;
|
|
4123
|
+
id: z.ZodString;
|
|
4124
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
4125
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
4126
|
+
}, z.core.$strip>], "refClass">>>;
|
|
4127
|
+
}, z.core.$strip>>;
|
|
4128
|
+
}, z.core.$strip>>;
|
|
4129
|
+
representations: z.ZodOptional<z.ZodObject<{
|
|
4130
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
4131
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
4132
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
4133
|
+
}, z.core.$strip>>;
|
|
4134
|
+
actor: z.ZodObject<{
|
|
4135
|
+
kind: z.ZodString;
|
|
4136
|
+
id: z.ZodString;
|
|
4137
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
4138
|
+
}, z.core.$strip>;
|
|
4139
|
+
timestamp: z.ZodNumber;
|
|
4140
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4141
|
+
}, z.core.$strip>>;
|
|
4142
|
+
}, z.core.$strip>;
|
|
4143
|
+
}, z.core.$strip>;
|
|
3526
4144
|
}; /** Emitted when a new artifact is created. */
|
|
3527
4145
|
created: z.ZodObject<{
|
|
3528
4146
|
artifact: z.ZodObject<{
|
|
@@ -3822,6 +4440,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3822
4440
|
* - `ArtifactSubjects.resolve` — resolve artifact by ref (RPC)
|
|
3823
4441
|
* - `ArtifactSubjects.query` — query artifacts (RPC)
|
|
3824
4442
|
* - `ArtifactSubjects.compare` — compare two revisions (RPC)
|
|
4443
|
+
* - `ArtifactSubjects.resolveContext` — resolve artifact context graph (RPC)
|
|
3825
4444
|
* - `ArtifactSubjects.created` — artifact created event
|
|
3826
4445
|
* - `ArtifactSubjects.revised` — artifact revised event
|
|
3827
4446
|
* - `ArtifactSubjects['relation.added']` — relation added event
|
|
@@ -3851,9 +4470,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3851
4470
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
3852
4471
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
3853
4472
|
active: "active";
|
|
4473
|
+
archived: "archived";
|
|
3854
4474
|
fading: "fading";
|
|
3855
4475
|
retired: "retired";
|
|
3856
|
-
archived: "archived";
|
|
3857
4476
|
}>>;
|
|
3858
4477
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
3859
4478
|
}, z.core.$strip>>;
|
|
@@ -3866,8 +4485,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3866
4485
|
comment: "comment";
|
|
3867
4486
|
}>;
|
|
3868
4487
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3869
|
-
workpiece: "workpiece";
|
|
3870
4488
|
artifact: "artifact";
|
|
4489
|
+
workpiece: "workpiece";
|
|
3871
4490
|
}>>;
|
|
3872
4491
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3873
4492
|
created: "created";
|
|
@@ -3884,6 +4503,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3884
4503
|
}>>;
|
|
3885
4504
|
}, z.core.$strip>>>;
|
|
3886
4505
|
}, z.core.$strip>>;
|
|
4506
|
+
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
3887
4507
|
}, z.core.$strip>;
|
|
3888
4508
|
response: z.ZodObject<{
|
|
3889
4509
|
registered: z.ZodBoolean;
|
|
@@ -3914,9 +4534,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3914
4534
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
3915
4535
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
3916
4536
|
active: "active";
|
|
4537
|
+
archived: "archived";
|
|
3917
4538
|
fading: "fading";
|
|
3918
4539
|
retired: "retired";
|
|
3919
|
-
archived: "archived";
|
|
3920
4540
|
}>>;
|
|
3921
4541
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
3922
4542
|
}, z.core.$strip>>;
|
|
@@ -3929,8 +4549,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3929
4549
|
comment: "comment";
|
|
3930
4550
|
}>;
|
|
3931
4551
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3932
|
-
workpiece: "workpiece";
|
|
3933
4552
|
artifact: "artifact";
|
|
4553
|
+
workpiece: "workpiece";
|
|
3934
4554
|
}>>;
|
|
3935
4555
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3936
4556
|
created: "created";
|
|
@@ -3947,6 +4567,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3947
4567
|
}>>;
|
|
3948
4568
|
}, z.core.$strip>>>;
|
|
3949
4569
|
}, z.core.$strip>>;
|
|
4570
|
+
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
3950
4571
|
}, z.core.$strip>>;
|
|
3951
4572
|
}, z.core.$strip>;
|
|
3952
4573
|
}; /** Register a new relation type with the artifact service (RPC). */
|
|
@@ -3996,12 +4617,11 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3996
4617
|
request: z.ZodObject<{
|
|
3997
4618
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3998
4619
|
kind: z.ZodString;
|
|
3999
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4000
|
-
schemaVersion: z.ZodString;
|
|
4001
4620
|
scope: z.ZodObject<{
|
|
4002
4621
|
level: z.ZodString;
|
|
4003
4622
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4004
4623
|
}, z.core.$strip>;
|
|
4624
|
+
schemaVersion: z.ZodString;
|
|
4005
4625
|
actor: z.ZodObject<{
|
|
4006
4626
|
kind: z.ZodString;
|
|
4007
4627
|
id: z.ZodString;
|
|
@@ -4076,6 +4696,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4076
4696
|
summary: z.ZodOptional<z.ZodString>;
|
|
4077
4697
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4078
4698
|
}, z.core.$strip>>;
|
|
4699
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4079
4700
|
}, z.core.$strip>;
|
|
4080
4701
|
response: z.ZodObject<{
|
|
4081
4702
|
artifact: z.ZodObject<{
|
|
@@ -4178,12 +4799,11 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4178
4799
|
revision: z.ZodObject<{
|
|
4179
4800
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4180
4801
|
kind: z.ZodString;
|
|
4181
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4182
|
-
schemaVersion: z.ZodString;
|
|
4183
4802
|
scope: z.ZodObject<{
|
|
4184
4803
|
level: z.ZodString;
|
|
4185
4804
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4186
4805
|
}, z.core.$strip>;
|
|
4806
|
+
schemaVersion: z.ZodString;
|
|
4187
4807
|
actor: z.ZodObject<{
|
|
4188
4808
|
kind: z.ZodString;
|
|
4189
4809
|
id: z.ZodString;
|
|
@@ -4258,6 +4878,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4258
4878
|
summary: z.ZodOptional<z.ZodString>;
|
|
4259
4879
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4260
4880
|
}, z.core.$strip>>;
|
|
4881
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4261
4882
|
}, z.core.$strip>;
|
|
4262
4883
|
}, z.core.$strip>;
|
|
4263
4884
|
response: z.ZodObject<{
|
|
@@ -4784,6 +5405,157 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4784
5405
|
}, z.core.$strip>;
|
|
4785
5406
|
changedPaths: z.ZodArray<z.ZodString>;
|
|
4786
5407
|
}, z.core.$strip>;
|
|
5408
|
+
}; /** Resolve a selector-driven outbound artifact context graph (RPC). */
|
|
5409
|
+
resolveContext: {
|
|
5410
|
+
request: z.ZodObject<{
|
|
5411
|
+
ref: z.ZodObject<{
|
|
5412
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5413
|
+
kind: z.ZodString;
|
|
5414
|
+
id: z.ZodString;
|
|
5415
|
+
revision: z.ZodString;
|
|
5416
|
+
}, z.core.$strip>;
|
|
5417
|
+
selectors: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
5418
|
+
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
5419
|
+
}, z.core.$strip>;
|
|
5420
|
+
response: z.ZodObject<{
|
|
5421
|
+
context: z.ZodObject<{
|
|
5422
|
+
rootRef: z.ZodObject<{
|
|
5423
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5424
|
+
kind: z.ZodString;
|
|
5425
|
+
id: z.ZodString;
|
|
5426
|
+
revision: z.ZodString;
|
|
5427
|
+
}, z.core.$strip>;
|
|
5428
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
5429
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5430
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5431
|
+
kind: z.ZodString;
|
|
5432
|
+
id: z.ZodString;
|
|
5433
|
+
revision: z.ZodString;
|
|
5434
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5435
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
5436
|
+
artifact: z.ZodObject<{
|
|
5437
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5438
|
+
kind: z.ZodString;
|
|
5439
|
+
id: z.ZodString;
|
|
5440
|
+
revision: z.ZodString;
|
|
5441
|
+
}, z.core.$strip>;
|
|
5442
|
+
localId: z.ZodString;
|
|
5443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5444
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
5445
|
+
kind: z.ZodString;
|
|
5446
|
+
id: z.ZodString;
|
|
5447
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
5448
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
5449
|
+
}, z.core.$strip>], "refClass">>;
|
|
5450
|
+
sourceRef: z.ZodObject<{
|
|
5451
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5452
|
+
kind: z.ZodString;
|
|
5453
|
+
id: z.ZodString;
|
|
5454
|
+
revision: z.ZodString;
|
|
5455
|
+
}, z.core.$strip>;
|
|
5456
|
+
relationType: z.ZodString;
|
|
5457
|
+
hint: z.ZodString;
|
|
5458
|
+
status: z.ZodEnum<{
|
|
5459
|
+
resolved: "resolved";
|
|
5460
|
+
unresolved: "unresolved";
|
|
5461
|
+
}>;
|
|
5462
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
5463
|
+
"not-selected": "not-selected";
|
|
5464
|
+
"not-found": "not-found";
|
|
5465
|
+
"depth-exceeded": "depth-exceeded";
|
|
5466
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
5467
|
+
"cycle-detected": "cycle-detected";
|
|
5468
|
+
}>>;
|
|
5469
|
+
}, z.core.$strip>>;
|
|
5470
|
+
resolved: z.ZodArray<z.ZodObject<{
|
|
5471
|
+
kind: z.ZodString;
|
|
5472
|
+
id: z.ZodString;
|
|
5473
|
+
revision: z.ZodString;
|
|
5474
|
+
scope: z.ZodObject<{
|
|
5475
|
+
level: z.ZodString;
|
|
5476
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5477
|
+
}, z.core.$strip>;
|
|
5478
|
+
schemaVersion: z.ZodString;
|
|
5479
|
+
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
5480
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
5481
|
+
type: z.ZodString;
|
|
5482
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5483
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5484
|
+
kind: z.ZodString;
|
|
5485
|
+
id: z.ZodString;
|
|
5486
|
+
revision: z.ZodString;
|
|
5487
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5488
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
5489
|
+
artifact: z.ZodObject<{
|
|
5490
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5491
|
+
kind: z.ZodString;
|
|
5492
|
+
id: z.ZodString;
|
|
5493
|
+
revision: z.ZodString;
|
|
5494
|
+
}, z.core.$strip>;
|
|
5495
|
+
localId: z.ZodString;
|
|
5496
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5497
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
5498
|
+
kind: z.ZodString;
|
|
5499
|
+
id: z.ZodString;
|
|
5500
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
5501
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
5502
|
+
}, z.core.$strip>], "refClass">>;
|
|
5503
|
+
}, z.core.$strip>>;
|
|
5504
|
+
confidence: z.ZodOptional<z.ZodObject<{
|
|
5505
|
+
level: z.ZodEnum<{
|
|
5506
|
+
assumed: "assumed";
|
|
5507
|
+
inferred: "inferred";
|
|
5508
|
+
stated: "stated";
|
|
5509
|
+
confirmed: "confirmed";
|
|
5510
|
+
verified: "verified";
|
|
5511
|
+
}>;
|
|
5512
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
5513
|
+
kind: z.ZodString;
|
|
5514
|
+
actor: z.ZodObject<{
|
|
5515
|
+
kind: z.ZodString;
|
|
5516
|
+
id: z.ZodString;
|
|
5517
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
5518
|
+
}, z.core.$strip>;
|
|
5519
|
+
timestamp: z.ZodNumber;
|
|
5520
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5521
|
+
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5522
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5523
|
+
kind: z.ZodString;
|
|
5524
|
+
id: z.ZodString;
|
|
5525
|
+
revision: z.ZodString;
|
|
5526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5527
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
5528
|
+
artifact: z.ZodObject<{
|
|
5529
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
5530
|
+
kind: z.ZodString;
|
|
5531
|
+
id: z.ZodString;
|
|
5532
|
+
revision: z.ZodString;
|
|
5533
|
+
}, z.core.$strip>;
|
|
5534
|
+
localId: z.ZodString;
|
|
5535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5536
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
5537
|
+
kind: z.ZodString;
|
|
5538
|
+
id: z.ZodString;
|
|
5539
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
5540
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
5541
|
+
}, z.core.$strip>], "refClass">>>;
|
|
5542
|
+
}, z.core.$strip>>;
|
|
5543
|
+
}, z.core.$strip>>;
|
|
5544
|
+
representations: z.ZodOptional<z.ZodObject<{
|
|
5545
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
5546
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
5547
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
5548
|
+
}, z.core.$strip>>;
|
|
5549
|
+
actor: z.ZodObject<{
|
|
5550
|
+
kind: z.ZodString;
|
|
5551
|
+
id: z.ZodString;
|
|
5552
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
5553
|
+
}, z.core.$strip>;
|
|
5554
|
+
timestamp: z.ZodNumber;
|
|
5555
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
5556
|
+
}, z.core.$strip>>;
|
|
5557
|
+
}, z.core.$strip>;
|
|
5558
|
+
}, z.core.$strip>;
|
|
4787
5559
|
}; /** Emitted when a new artifact is created. */
|
|
4788
5560
|
created: z.ZodObject<{
|
|
4789
5561
|
artifact: z.ZodObject<{
|
|
@@ -5100,6 +5872,10 @@ type ArtifactResolveRequest = z.infer<(typeof ArtifactSchemas)['resolve']['reque
|
|
|
5100
5872
|
type ArtifactResolveResponse = z.infer<(typeof ArtifactSchemas)['resolve']['response']>;
|
|
5101
5873
|
/** Response payload for querying artifacts. */
|
|
5102
5874
|
type ArtifactQueryResponse = z.infer<(typeof ArtifactSchemas)['query']['response']>;
|
|
5875
|
+
/** Request payload for resolving artifact context. */
|
|
5876
|
+
type ArtifactResolveContextRequest = z.infer<(typeof ArtifactSchemas)['resolveContext']['request']>;
|
|
5877
|
+
/** Response payload for resolving artifact context. */
|
|
5878
|
+
type ArtifactResolveContextResponse = z.infer<(typeof ArtifactSchemas)['resolveContext']['response']>;
|
|
5103
5879
|
/** Payload for the artifact created event. */
|
|
5104
5880
|
type ArtifactCreatedPayload = z.infer<(typeof ArtifactSchemas)['created']>;
|
|
5105
5881
|
/** Payload for the artifact revised event. */
|
|
@@ -5113,4 +5889,4 @@ type ArtifactStatusChangedPayload = z.infer<(typeof ArtifactSchemas)['status.cha
|
|
|
5113
5889
|
/** Payload for the kind registration changed event. */
|
|
5114
5890
|
type ArtifactKindChangedPayload = z.infer<(typeof ArtifactSchemas)['kind.changed']>;
|
|
5115
5891
|
//#endregion
|
|
5116
|
-
export {
|
|
5892
|
+
export { BeforeArtifactHookContext as $, ArtifactContextTree as A, ArtifactRelationQueryTargetSchema as At, ArtifactDataOf as B, ConfidenceBasis as Bt, ArtifactRevisedPayload as C, ArtifactQueryRequestSchema as Ct, hydrateArtifactContextTree as D, ArtifactRefSchema as Dt, ArtifactSubjects$1 as E, ArtifactRef$1 as Et, ArtifactContextUnresolvedReason as F, ArtifactRepresentationsSchema as Ft, ArtifactDraftPatch as G, ConfidenceMetadataSchema as Gt, ArtifactOf as H, ConfidenceLevel as Ht, ArtifactContextUnresolvedReasonSchema as I, ArtifactRevision$1 as It, ArtifactLifecycleHookEvent as J, LocalRef as Jt, ArtifactHookFilter as K, EvidenceRef as Kt, ResolvedArtifactContextWire$1 as L, ArtifactRevisionSchema as Lt, UnresolvedArtifactContextNode as M, ArtifactRelationTarget as Mt, ArtifactContextRefEntry as N, ArtifactRelationTargetSchema as Nt, ArtifactContextNode as O, ArtifactRelation as Ot, ArtifactContextRefEntrySchema as P, ArtifactRepresentations as Pt, ArtifactReactionHookRegistration as Q, ResolvedArtifactContextWireSchema as R, ArtifactScope as Rt, ArtifactReviseResponse as S, ArtifactQueryRequest as St, ArtifactStatusChangedPayload as T, ArtifactQueryScopeSchema as Tt, defineArtifactKind as U, ConfidenceLevelSchema as Ut, ArtifactKindDefinition as V, ConfidenceBasisSchema as Vt, ArtifactDraft as W, ConfidenceMetadata as Wt, ArtifactLifecycleSemanticEvent as X, RelationTypeRegistration$1 as Xt, ArtifactLifecycleHookRegistration$1 as Y, LocalRefSchema as Yt, ArtifactReactionHookContext as Z, RelationTypeRegistrationSchema as Zt, ArtifactResolveContextRequest as _, ArtifactConflictPolicySchema as _t, ArtifactKindListRequest as a, ArtifactContextRelationSelectorSchema as at, ArtifactResolveResponse as b, ArtifactObservation$1 as bt, ArtifactKindRegisterResponse as c, ArtifactContextSelector$1 as ct, ArtifactQueryResponse as d, ArtifactActorSchema as dt, BeforeArtifactHookRegistration as et, ArtifactRelationAddedPayload as f, ArtifactCompareRequest as ft, ArtifactRelationTypeRegisterResponse as g, ArtifactConflictPolicy as gt, ArtifactRelationTypeRegisterRequest as h, ArtifactCompareResponseSchema as ht, ArtifactKindChangedPayload as i, ArtifactContextRelationSelector as it, ResolvedArtifactContextNode as j, ArtifactRelationSchema as jt, ArtifactContextRootNode as k, ArtifactRelationQueryTarget as kt, ArtifactNamespace as l, ArtifactContextSelectorSchema as lt, ArtifactRelationTypeListResponse as m, ArtifactCompareResponse as mt, ArtifactCreateResponse as n, ARTIFACT_CONTEXT_RENDER_HINTS as nt, ArtifactKindListResponse as o, ArtifactContextRenderHint as ot, ArtifactRelationTypeListRequest as p, ArtifactCompareRequestSchema as pt, ArtifactLifecycleHookDefinition as q, EvidenceRefSchema as qt, ArtifactCreatedPayload as r, ArtifactContextKnownRenderHint as rt, ArtifactKindRegisterRequest as s, ArtifactContextRenderHintSchema as st, ArtifactCreateRequest as t, defineArtifactLifecycleHooks as tt, ArtifactObservationAddedPayload as u, ArtifactActor as ut, ArtifactResolveContextResponse as v, ArtifactKindRegistration$1 as vt, ArtifactSchemas as w, ArtifactQueryScope as wt, ArtifactReviseRequest as x, ArtifactObservationSchema as xt, ArtifactResolveRequest as y, ArtifactKindRegistrationSchema as yt, AnyArtifactKindDefinition as z, ArtifactScopeSchema as zt };
|