@lucern/contracts 1.0.50 → 1.0.52
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/CHANGELOG.md +6 -0
- package/dist/function-registry/beliefs.d.ts +77 -0
- package/dist/function-registry/beliefs.js +7 -2
- package/dist/function-registry/coding.d.ts +183 -0
- package/dist/function-registry/coding.js +60 -33
- package/dist/function-registry/context.d.ts +9 -0
- package/dist/function-registry/context.js +1 -0
- package/dist/function-registry/contracts.d.ts +16 -12
- package/dist/function-registry/contracts.js +5 -2
- package/dist/function-registry/coordination.d.ts +9 -0
- package/dist/function-registry/coordination.js +1 -0
- package/dist/function-registry/edges.d.ts +140 -0
- package/dist/function-registry/edges.js +6 -2
- package/dist/function-registry/embeddings.d.ts +4 -0
- package/dist/function-registry/embeddings.js +1 -0
- package/dist/function-registry/evidence.d.ts +251 -0
- package/dist/function-registry/evidence.js +94 -5
- package/dist/function-registry/graph.d.ts +15 -0
- package/dist/function-registry/graph.js +1 -0
- package/dist/function-registry/helpers.d.ts +2 -0
- package/dist/function-registry/helpers.js +1 -0
- package/dist/function-registry/hybrid.d.ts +6 -0
- package/dist/function-registry/hybrid.js +1 -0
- package/dist/function-registry/identity.d.ts +4 -0
- package/dist/function-registry/identity.js +1 -0
- package/dist/function-registry/index.js +1 -0
- package/dist/function-registry/judgments.d.ts +2 -0
- package/dist/function-registry/judgments.js +1 -0
- package/dist/function-registry/legacy.d.ts +1 -0
- package/dist/function-registry/legacy.js +1 -0
- package/dist/function-registry/lenses.d.ts +4 -0
- package/dist/function-registry/lenses.js +1 -0
- package/dist/function-registry/nodes.d.ts +106 -0
- package/dist/function-registry/nodes.js +9 -4
- package/dist/function-registry/ontologies.d.ts +11 -0
- package/dist/function-registry/ontologies.js +8 -2
- package/dist/function-registry/pipeline.d.ts +3 -0
- package/dist/function-registry/pipeline.js +1 -0
- package/dist/function-registry/policy.d.ts +1 -0
- package/dist/function-registry/policy.js +1 -0
- package/dist/function-registry/questions.d.ts +104 -0
- package/dist/function-registry/questions.js +10 -5
- package/dist/function-registry/tasks.d.ts +86 -0
- package/dist/function-registry/tasks.js +2 -1
- package/dist/function-registry/topics.d.ts +7 -0
- package/dist/function-registry/topics.js +7 -2
- package/dist/function-registry/types.d.ts +46 -0
- package/dist/function-registry/worktrees.d.ts +440 -0
- package/dist/function-registry/worktrees.js +9 -3
- package/dist/generated/convexSchemas.d.ts +10 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/infisical-runtime.base.js +5 -0
- package/dist/infisical-runtime.contract.js +5 -0
- package/dist/infisical-runtime.tenant-secrets.js +5 -0
- package/dist/manifests/infisical-runtime-manifest.js +5 -0
- package/dist/manifests/tenant-client-manifest.d.ts +5 -1
- package/dist/manifests/tenant-client-manifest.js +5 -0
- package/dist/operator-receipt.contract.d.ts +32 -0
- package/dist/operator-receipt.contract.js +1 -0
- package/dist/projections/create-evidence.projection.d.ts +12 -12
- package/dist/projections/index.d.ts +2 -2
- package/dist/proof-attestation.json +1 -1
- package/dist/tenant-client.contract.d.ts +5 -1
- package/dist/tenant-client.contract.js +5 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export declare const identityContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +51,7 @@ export declare const identityContracts: readonly [{
|
|
|
50
51
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
52
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
53
|
invariants: readonly string[] | undefined;
|
|
54
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
55
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
56
|
domain: string;
|
|
55
57
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +97,7 @@ export declare const identityContracts: readonly [{
|
|
|
95
97
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
98
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
99
|
invariants: readonly string[] | undefined;
|
|
100
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
101
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
102
|
domain: string;
|
|
100
103
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -140,6 +143,7 @@ export declare const identityContracts: readonly [{
|
|
|
140
143
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
141
144
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
142
145
|
invariants: readonly string[] | undefined;
|
|
146
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
143
147
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
144
148
|
domain: string;
|
|
145
149
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6139,6 +6139,7 @@ function surfaceContract(args) {
|
|
|
6139
6139
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6140
6140
|
effects: resolvedEffects,
|
|
6141
6141
|
invariants: args.invariants,
|
|
6142
|
+
boundary: args.boundary,
|
|
6142
6143
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6143
6144
|
domain: args.domain,
|
|
6144
6145
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -6290,6 +6290,7 @@ function surfaceContract(args) {
|
|
|
6290
6290
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6291
6291
|
effects: resolvedEffects,
|
|
6292
6292
|
invariants: args.invariants,
|
|
6293
|
+
boundary: args.boundary,
|
|
6293
6294
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6294
6295
|
domain: args.domain,
|
|
6295
6296
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -5,6 +5,7 @@ export declare const judgmentsContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +51,7 @@ export declare const judgmentsContracts: readonly [{
|
|
|
50
51
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
52
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
53
|
invariants: readonly string[] | undefined;
|
|
54
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
55
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
56
|
domain: string;
|
|
55
57
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6153,6 +6153,7 @@ function surfaceContract(args) {
|
|
|
6153
6153
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6154
6154
|
effects: resolvedEffects,
|
|
6155
6155
|
invariants: args.invariants,
|
|
6156
|
+
boundary: args.boundary,
|
|
6156
6157
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6157
6158
|
domain: args.domain,
|
|
6158
6159
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -4,6 +4,7 @@ export declare const legacyContracts: readonly [{
|
|
|
4
4
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
5
5
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
6
6
|
invariants: readonly string[] | undefined;
|
|
7
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
7
8
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
8
9
|
domain: string;
|
|
9
10
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6139,6 +6139,7 @@ function surfaceContract(args) {
|
|
|
6139
6139
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6140
6140
|
effects: resolvedEffects,
|
|
6141
6141
|
invariants: args.invariants,
|
|
6142
|
+
boundary: args.boundary,
|
|
6142
6143
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6143
6144
|
domain: args.domain,
|
|
6144
6145
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -5,6 +5,7 @@ export declare const lensesContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +51,7 @@ export declare const lensesContracts: readonly [{
|
|
|
50
51
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
52
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
53
|
invariants: readonly string[] | undefined;
|
|
54
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
55
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
56
|
domain: string;
|
|
55
57
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +97,7 @@ export declare const lensesContracts: readonly [{
|
|
|
95
97
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
98
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
99
|
invariants: readonly string[] | undefined;
|
|
100
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
101
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
102
|
domain: string;
|
|
100
103
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -140,6 +143,7 @@ export declare const lensesContracts: readonly [{
|
|
|
140
143
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
141
144
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
142
145
|
invariants: readonly string[] | undefined;
|
|
146
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
143
147
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
144
148
|
domain: string;
|
|
145
149
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6147,6 +6147,7 @@ function surfaceContract(args) {
|
|
|
6147
6147
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6148
6148
|
effects: resolvedEffects,
|
|
6149
6149
|
invariants: args.invariants,
|
|
6150
|
+
boundary: args.boundary,
|
|
6150
6151
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6151
6152
|
domain: args.domain,
|
|
6152
6153
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -1,10 +1,109 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const createEpistemicNodeItemArgs: z.ZodObject<{
|
|
3
|
+
globalId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4
|
+
nodeType: z.ZodEnum<["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]>;
|
|
5
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
6
|
+
canonicalText: z.ZodOptional<z.ZodString>;
|
|
7
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8
|
+
contentHash: z.ZodOptional<z.ZodString>;
|
|
9
|
+
content: z.ZodOptional<z.ZodString>;
|
|
10
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
11
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15
|
+
externalIds: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
crunchbase: z.ZodOptional<z.ZodString>;
|
|
17
|
+
linkedin: z.ZodOptional<z.ZodString>;
|
|
18
|
+
pitchbook: z.ZodOptional<z.ZodString>;
|
|
19
|
+
twitter: z.ZodOptional<z.ZodString>;
|
|
20
|
+
website: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
crunchbase?: string | undefined;
|
|
23
|
+
linkedin?: string | undefined;
|
|
24
|
+
pitchbook?: string | undefined;
|
|
25
|
+
twitter?: string | undefined;
|
|
26
|
+
website?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
crunchbase?: string | undefined;
|
|
29
|
+
linkedin?: string | undefined;
|
|
30
|
+
pitchbook?: string | undefined;
|
|
31
|
+
twitter?: string | undefined;
|
|
32
|
+
website?: string | undefined;
|
|
33
|
+
}>>;
|
|
34
|
+
sourceType: z.ZodOptional<z.ZodEnum<["human", "ai_extracted", "ai_generated", "imported", "system", "verified", "proprietary"]>>;
|
|
35
|
+
aiProvider: z.ZodOptional<z.ZodString>;
|
|
36
|
+
extractedFromNodeId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
37
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
verificationStatus: z.ZodOptional<z.ZodEnum<["unverified", "human_verified", "ai_verified", "contradicted", "outdated"]>>;
|
|
39
|
+
topicId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
40
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
41
|
+
trustedBypassAccessCheck: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
44
|
+
content?: string | undefined;
|
|
45
|
+
title?: string | undefined;
|
|
46
|
+
metadata?: Record<string, unknown> | undefined;
|
|
47
|
+
text?: string | undefined;
|
|
48
|
+
sourceType?: "system" | "human" | "proprietary" | "ai_extracted" | "ai_generated" | "imported" | "verified" | undefined;
|
|
49
|
+
globalId?: string | undefined;
|
|
50
|
+
contentHash?: string | undefined;
|
|
51
|
+
topicId?: string | undefined;
|
|
52
|
+
canonicalText?: string | undefined;
|
|
53
|
+
createdBy?: string | undefined;
|
|
54
|
+
confidence?: number | undefined;
|
|
55
|
+
verificationStatus?: "unverified" | "human_verified" | "ai_verified" | "contradicted" | "outdated" | undefined;
|
|
56
|
+
contentType?: string | undefined;
|
|
57
|
+
tags?: string[] | undefined;
|
|
58
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
59
|
+
domain?: string | undefined;
|
|
60
|
+
subtype?: string | undefined;
|
|
61
|
+
externalIds?: {
|
|
62
|
+
crunchbase?: string | undefined;
|
|
63
|
+
linkedin?: string | undefined;
|
|
64
|
+
pitchbook?: string | undefined;
|
|
65
|
+
twitter?: string | undefined;
|
|
66
|
+
website?: string | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
aiProvider?: string | undefined;
|
|
69
|
+
extractedFromNodeId?: string | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
|
|
72
|
+
content?: string | undefined;
|
|
73
|
+
title?: string | undefined;
|
|
74
|
+
metadata?: Record<string, unknown> | undefined;
|
|
75
|
+
text?: string | undefined;
|
|
76
|
+
sourceType?: "system" | "human" | "proprietary" | "ai_extracted" | "ai_generated" | "imported" | "verified" | undefined;
|
|
77
|
+
globalId?: string | undefined;
|
|
78
|
+
contentHash?: string | undefined;
|
|
79
|
+
topicId?: string | undefined;
|
|
80
|
+
canonicalText?: string | undefined;
|
|
81
|
+
createdBy?: string | undefined;
|
|
82
|
+
confidence?: number | undefined;
|
|
83
|
+
verificationStatus?: "unverified" | "human_verified" | "ai_verified" | "contradicted" | "outdated" | undefined;
|
|
84
|
+
contentType?: string | undefined;
|
|
85
|
+
tags?: string[] | undefined;
|
|
86
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
87
|
+
domain?: string | undefined;
|
|
88
|
+
subtype?: string | undefined;
|
|
89
|
+
externalIds?: {
|
|
90
|
+
crunchbase?: string | undefined;
|
|
91
|
+
linkedin?: string | undefined;
|
|
92
|
+
pitchbook?: string | undefined;
|
|
93
|
+
twitter?: string | undefined;
|
|
94
|
+
website?: string | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
aiProvider?: string | undefined;
|
|
97
|
+
extractedFromNodeId?: string | undefined;
|
|
98
|
+
}>;
|
|
99
|
+
export type CreateEpistemicNodeArgs = z.infer<typeof createEpistemicNodeItemArgs>;
|
|
2
100
|
export declare const nodesContracts: readonly [{
|
|
3
101
|
name: string;
|
|
4
102
|
kind: import("./types.js").FunctionKind;
|
|
5
103
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
104
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
105
|
invariants: readonly string[] | undefined;
|
|
106
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
107
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
108
|
domain: string;
|
|
10
109
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +149,7 @@ export declare const nodesContracts: readonly [{
|
|
|
50
149
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
150
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
151
|
invariants: readonly string[] | undefined;
|
|
152
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
153
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
154
|
domain: string;
|
|
55
155
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +195,7 @@ export declare const nodesContracts: readonly [{
|
|
|
95
195
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
196
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
197
|
invariants: readonly string[] | undefined;
|
|
198
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
199
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
200
|
domain: string;
|
|
100
201
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -140,6 +241,7 @@ export declare const nodesContracts: readonly [{
|
|
|
140
241
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
141
242
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
142
243
|
invariants: readonly string[] | undefined;
|
|
244
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
143
245
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
144
246
|
domain: string;
|
|
145
247
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -185,6 +287,7 @@ export declare const nodesContracts: readonly [{
|
|
|
185
287
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
186
288
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
187
289
|
invariants: readonly string[] | undefined;
|
|
290
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
188
291
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
189
292
|
domain: string;
|
|
190
293
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -230,6 +333,7 @@ export declare const nodesContracts: readonly [{
|
|
|
230
333
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
231
334
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
232
335
|
invariants: readonly string[] | undefined;
|
|
336
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
233
337
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
234
338
|
domain: string;
|
|
235
339
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -275,6 +379,7 @@ export declare const nodesContracts: readonly [{
|
|
|
275
379
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
276
380
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
277
381
|
invariants: readonly string[] | undefined;
|
|
382
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
278
383
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
279
384
|
domain: string;
|
|
280
385
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -320,6 +425,7 @@ export declare const nodesContracts: readonly [{
|
|
|
320
425
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
321
426
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
322
427
|
invariants: readonly string[] | undefined;
|
|
428
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
323
429
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
324
430
|
domain: string;
|
|
325
431
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6187,6 +6187,7 @@ function surfaceContract(args) {
|
|
|
6187
6187
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6188
6188
|
effects: resolvedEffects,
|
|
6189
6189
|
invariants: args.invariants,
|
|
6190
|
+
boundary: args.boundary,
|
|
6190
6191
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6191
6192
|
domain: args.domain,
|
|
6192
6193
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -6237,6 +6238,7 @@ var sourceTypeSchema = z.enum([
|
|
|
6237
6238
|
"verified",
|
|
6238
6239
|
"proprietary"
|
|
6239
6240
|
]);
|
|
6241
|
+
var nodeListReturns = z.array(z.record(z.unknown()));
|
|
6240
6242
|
var verificationStatusSchema = z.enum([
|
|
6241
6243
|
"unverified",
|
|
6242
6244
|
"human_verified",
|
|
@@ -6280,7 +6282,6 @@ var createEpistemicNodeItemArgs = z.object({
|
|
|
6280
6282
|
createdBy: z.string().optional(),
|
|
6281
6283
|
trustedBypassAccessCheck: z.boolean().optional()
|
|
6282
6284
|
});
|
|
6283
|
-
var createEpistemicNodeArgs = createEpistemicNodeItemArgs;
|
|
6284
6285
|
var batchCreateEpistemicNodesArgs = z.object({
|
|
6285
6286
|
nodes: z.array(createEpistemicNodeItemArgs)
|
|
6286
6287
|
});
|
|
@@ -6469,7 +6470,10 @@ var nodesContracts = [
|
|
|
6469
6470
|
kind: "mutation",
|
|
6470
6471
|
inputProjection: createNodeInput
|
|
6471
6472
|
},
|
|
6472
|
-
args:
|
|
6473
|
+
args: createEpistemicNodeItemArgs,
|
|
6474
|
+
boundary: {
|
|
6475
|
+
admission: ["source-span", "uuidv7-endpoints"]
|
|
6476
|
+
}
|
|
6473
6477
|
}),
|
|
6474
6478
|
surfaceContract({
|
|
6475
6479
|
name: "get_epistemic_node",
|
|
@@ -6505,7 +6509,8 @@ var nodesContracts = [
|
|
|
6505
6509
|
kind: "query",
|
|
6506
6510
|
inputProjection: listNodesInput
|
|
6507
6511
|
},
|
|
6508
|
-
args: listEpistemicNodesArgs
|
|
6512
|
+
args: listEpistemicNodesArgs,
|
|
6513
|
+
returns: nodeListReturns
|
|
6509
6514
|
}),
|
|
6510
6515
|
surfaceContract({
|
|
6511
6516
|
name: "update_epistemic_node",
|
|
@@ -6595,4 +6600,4 @@ var nodesContracts = [
|
|
|
6595
6600
|
})
|
|
6596
6601
|
];
|
|
6597
6602
|
|
|
6598
|
-
export { nodesContracts };
|
|
6603
|
+
export { createEpistemicNodeItemArgs, nodesContracts };
|
|
@@ -5,6 +5,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +51,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
50
51
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
52
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
53
|
invariants: readonly string[] | undefined;
|
|
54
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
55
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
56
|
domain: string;
|
|
55
57
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +97,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
95
97
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
98
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
99
|
invariants: readonly string[] | undefined;
|
|
100
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
101
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
102
|
domain: string;
|
|
100
103
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -140,6 +143,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
140
143
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
141
144
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
142
145
|
invariants: readonly string[] | undefined;
|
|
146
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
143
147
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
144
148
|
domain: string;
|
|
145
149
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -185,6 +189,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
185
189
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
186
190
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
187
191
|
invariants: readonly string[] | undefined;
|
|
192
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
188
193
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
189
194
|
domain: string;
|
|
190
195
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -230,6 +235,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
230
235
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
231
236
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
232
237
|
invariants: readonly string[] | undefined;
|
|
238
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
233
239
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
234
240
|
domain: string;
|
|
235
241
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -275,6 +281,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
275
281
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
276
282
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
277
283
|
invariants: readonly string[] | undefined;
|
|
284
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
278
285
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
279
286
|
domain: string;
|
|
280
287
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -320,6 +327,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
320
327
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
321
328
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
322
329
|
invariants: readonly string[] | undefined;
|
|
330
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
323
331
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
324
332
|
domain: string;
|
|
325
333
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -365,6 +373,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
365
373
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
366
374
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
367
375
|
invariants: readonly string[] | undefined;
|
|
376
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
368
377
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
369
378
|
domain: string;
|
|
370
379
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -410,6 +419,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
410
419
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
411
420
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
412
421
|
invariants: readonly string[] | undefined;
|
|
422
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
413
423
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
414
424
|
domain: string;
|
|
415
425
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -455,6 +465,7 @@ export declare const ontologiesContracts: readonly [{
|
|
|
455
465
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
456
466
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
457
467
|
invariants: readonly string[] | undefined;
|
|
468
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
458
469
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
459
470
|
domain: string;
|
|
460
471
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6144,6 +6144,7 @@ function surfaceContract(args) {
|
|
|
6144
6144
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6145
6145
|
effects: resolvedEffects,
|
|
6146
6146
|
invariants: args.invariants,
|
|
6147
|
+
boundary: args.boundary,
|
|
6147
6148
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6148
6149
|
domain: args.domain,
|
|
6149
6150
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -6190,7 +6191,8 @@ var updateOntologyArgs = z.object({
|
|
|
6190
6191
|
ontologyId: z.string().optional().describe("Ontology ID alias."),
|
|
6191
6192
|
name: z.string().optional().describe("Ontology display name."),
|
|
6192
6193
|
description: z.string().optional().describe("Ontology description."),
|
|
6193
|
-
status: z.string().optional().describe("Ontology lifecycle status.")
|
|
6194
|
+
status: z.string().optional().describe("Ontology lifecycle status."),
|
|
6195
|
+
parentOntologyId: z.string().optional().describe("Optional parent ontology definition ID.")
|
|
6194
6196
|
});
|
|
6195
6197
|
var ontologyVersionLifecycleArgs = z.object({
|
|
6196
6198
|
id: z.string().describe("Ontology version ID."),
|
|
@@ -6276,6 +6278,7 @@ var ontologiesContracts = [
|
|
|
6276
6278
|
name: input.name,
|
|
6277
6279
|
description: input.description,
|
|
6278
6280
|
status: input.status,
|
|
6281
|
+
parentOntologyId: input.parentOntologyId,
|
|
6279
6282
|
actorId: input.actorId
|
|
6280
6283
|
})
|
|
6281
6284
|
},
|
|
@@ -6363,7 +6366,10 @@ var ontologiesContracts = [
|
|
|
6363
6366
|
kind: "mutation",
|
|
6364
6367
|
inputProjection: ontologyVersionIdInput
|
|
6365
6368
|
},
|
|
6366
|
-
args: ontologyVersionLifecycleArgs
|
|
6369
|
+
args: ontologyVersionLifecycleArgs,
|
|
6370
|
+
boundary: {
|
|
6371
|
+
admission: ["ontology-release"]
|
|
6372
|
+
}
|
|
6367
6373
|
}),
|
|
6368
6374
|
surfaceContract({
|
|
6369
6375
|
name: "deprecate_ontology_version",
|
|
@@ -5,6 +5,7 @@ export declare const pipelineContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +51,7 @@ export declare const pipelineContracts: readonly [{
|
|
|
50
51
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
52
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
53
|
invariants: readonly string[] | undefined;
|
|
54
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
55
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
56
|
domain: string;
|
|
55
57
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +97,7 @@ export declare const pipelineContracts: readonly [{
|
|
|
95
97
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
98
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
99
|
invariants: readonly string[] | undefined;
|
|
100
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
101
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
102
|
domain: string;
|
|
100
103
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6144,6 +6144,7 @@ function surfaceContract(args) {
|
|
|
6144
6144
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6145
6145
|
effects: resolvedEffects,
|
|
6146
6146
|
invariants: args.invariants,
|
|
6147
|
+
boundary: args.boundary,
|
|
6147
6148
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6148
6149
|
domain: args.domain,
|
|
6149
6150
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -5,6 +5,7 @@ export declare const policyContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6139,6 +6139,7 @@ function surfaceContract(args) {
|
|
|
6139
6139
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6140
6140
|
effects: resolvedEffects,
|
|
6141
6141
|
invariants: args.invariants,
|
|
6142
|
+
boundary: args.boundary,
|
|
6142
6143
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6143
6144
|
domain: args.domain,
|
|
6144
6145
|
surfaceClass: manifestEntry.surfaceClass,
|