@lucern/contracts 1.0.50 → 1.0.51

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/function-registry/beliefs.d.ts +77 -0
  3. package/dist/function-registry/beliefs.js +7 -2
  4. package/dist/function-registry/coding.d.ts +183 -0
  5. package/dist/function-registry/coding.js +60 -33
  6. package/dist/function-registry/context.d.ts +9 -0
  7. package/dist/function-registry/context.js +1 -0
  8. package/dist/function-registry/contracts.d.ts +16 -12
  9. package/dist/function-registry/contracts.js +5 -2
  10. package/dist/function-registry/coordination.d.ts +9 -0
  11. package/dist/function-registry/coordination.js +1 -0
  12. package/dist/function-registry/edges.d.ts +140 -0
  13. package/dist/function-registry/edges.js +6 -2
  14. package/dist/function-registry/embeddings.d.ts +4 -0
  15. package/dist/function-registry/embeddings.js +1 -0
  16. package/dist/function-registry/evidence.d.ts +251 -0
  17. package/dist/function-registry/evidence.js +94 -5
  18. package/dist/function-registry/graph.d.ts +15 -0
  19. package/dist/function-registry/graph.js +1 -0
  20. package/dist/function-registry/helpers.d.ts +2 -0
  21. package/dist/function-registry/helpers.js +1 -0
  22. package/dist/function-registry/hybrid.d.ts +6 -0
  23. package/dist/function-registry/hybrid.js +1 -0
  24. package/dist/function-registry/identity.d.ts +4 -0
  25. package/dist/function-registry/identity.js +1 -0
  26. package/dist/function-registry/index.js +1 -0
  27. package/dist/function-registry/judgments.d.ts +2 -0
  28. package/dist/function-registry/judgments.js +1 -0
  29. package/dist/function-registry/legacy.d.ts +1 -0
  30. package/dist/function-registry/legacy.js +1 -0
  31. package/dist/function-registry/lenses.d.ts +4 -0
  32. package/dist/function-registry/lenses.js +1 -0
  33. package/dist/function-registry/nodes.d.ts +203 -0
  34. package/dist/function-registry/nodes.js +9 -3
  35. package/dist/function-registry/ontologies.d.ts +11 -0
  36. package/dist/function-registry/ontologies.js +8 -2
  37. package/dist/function-registry/pipeline.d.ts +3 -0
  38. package/dist/function-registry/pipeline.js +1 -0
  39. package/dist/function-registry/policy.d.ts +1 -0
  40. package/dist/function-registry/policy.js +1 -0
  41. package/dist/function-registry/questions.d.ts +104 -0
  42. package/dist/function-registry/questions.js +10 -5
  43. package/dist/function-registry/tasks.d.ts +86 -0
  44. package/dist/function-registry/tasks.js +2 -1
  45. package/dist/function-registry/topics.d.ts +7 -0
  46. package/dist/function-registry/topics.js +7 -2
  47. package/dist/function-registry/types.d.ts +46 -0
  48. package/dist/function-registry/worktrees.d.ts +440 -0
  49. package/dist/function-registry/worktrees.js +9 -3
  50. package/dist/generated/convexSchemas.d.ts +10 -10
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.js +5 -0
  53. package/dist/infisical-runtime.base.js +5 -0
  54. package/dist/infisical-runtime.contract.js +5 -0
  55. package/dist/infisical-runtime.tenant-secrets.js +5 -0
  56. package/dist/manifests/infisical-runtime-manifest.js +5 -0
  57. package/dist/manifests/tenant-client-manifest.d.ts +5 -1
  58. package/dist/manifests/tenant-client-manifest.js +5 -0
  59. package/dist/operator-receipt.contract.d.ts +32 -0
  60. package/dist/operator-receipt.contract.js +1 -0
  61. package/dist/projections/create-evidence.projection.d.ts +12 -12
  62. package/dist/projections/index.d.ts +2 -2
  63. package/dist/proof-attestation.json +1 -1
  64. package/dist/tenant-client.contract.d.ts +5 -1
  65. package/dist/tenant-client.contract.js +5 -0
  66. 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,206 @@
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 declare const createEpistemicNodeArgs: z.ZodObject<{
100
+ globalId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
101
+ nodeType: z.ZodEnum<["decision", "belief", "question", "theme", "deal", "topic", "claim", "evidence", "synthesis", "answer", "atomic_fact", "excerpt", "source", "company", "person", "investor", "function", "value_chain"]>;
102
+ subtype: z.ZodOptional<z.ZodString>;
103
+ canonicalText: z.ZodOptional<z.ZodString>;
104
+ text: z.ZodOptional<z.ZodString>;
105
+ contentHash: z.ZodOptional<z.ZodString>;
106
+ content: z.ZodOptional<z.ZodString>;
107
+ contentType: z.ZodOptional<z.ZodString>;
108
+ title: z.ZodOptional<z.ZodString>;
109
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
110
+ domain: z.ZodOptional<z.ZodString>;
111
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
112
+ externalIds: z.ZodOptional<z.ZodObject<{
113
+ crunchbase: z.ZodOptional<z.ZodString>;
114
+ linkedin: z.ZodOptional<z.ZodString>;
115
+ pitchbook: z.ZodOptional<z.ZodString>;
116
+ twitter: z.ZodOptional<z.ZodString>;
117
+ website: z.ZodOptional<z.ZodString>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ crunchbase?: string | undefined;
120
+ linkedin?: string | undefined;
121
+ pitchbook?: string | undefined;
122
+ twitter?: string | undefined;
123
+ website?: string | undefined;
124
+ }, {
125
+ crunchbase?: string | undefined;
126
+ linkedin?: string | undefined;
127
+ pitchbook?: string | undefined;
128
+ twitter?: string | undefined;
129
+ website?: string | undefined;
130
+ }>>;
131
+ sourceType: z.ZodOptional<z.ZodEnum<["human", "ai_extracted", "ai_generated", "imported", "system", "verified", "proprietary"]>>;
132
+ aiProvider: z.ZodOptional<z.ZodString>;
133
+ extractedFromNodeId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
134
+ confidence: z.ZodOptional<z.ZodNumber>;
135
+ verificationStatus: z.ZodOptional<z.ZodEnum<["unverified", "human_verified", "ai_verified", "contradicted", "outdated"]>>;
136
+ topicId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
137
+ createdBy: z.ZodOptional<z.ZodString>;
138
+ trustedBypassAccessCheck: z.ZodOptional<z.ZodBoolean>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
141
+ content?: string | undefined;
142
+ title?: string | undefined;
143
+ metadata?: Record<string, unknown> | undefined;
144
+ text?: string | undefined;
145
+ sourceType?: "system" | "human" | "proprietary" | "ai_extracted" | "ai_generated" | "imported" | "verified" | undefined;
146
+ globalId?: string | undefined;
147
+ contentHash?: string | undefined;
148
+ topicId?: string | undefined;
149
+ canonicalText?: string | undefined;
150
+ createdBy?: string | undefined;
151
+ confidence?: number | undefined;
152
+ verificationStatus?: "unverified" | "human_verified" | "ai_verified" | "contradicted" | "outdated" | undefined;
153
+ contentType?: string | undefined;
154
+ tags?: string[] | undefined;
155
+ trustedBypassAccessCheck?: boolean | undefined;
156
+ domain?: string | undefined;
157
+ subtype?: string | undefined;
158
+ externalIds?: {
159
+ crunchbase?: string | undefined;
160
+ linkedin?: string | undefined;
161
+ pitchbook?: string | undefined;
162
+ twitter?: string | undefined;
163
+ website?: string | undefined;
164
+ } | undefined;
165
+ aiProvider?: string | undefined;
166
+ extractedFromNodeId?: string | undefined;
167
+ }, {
168
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain";
169
+ content?: string | undefined;
170
+ title?: string | undefined;
171
+ metadata?: Record<string, unknown> | undefined;
172
+ text?: string | undefined;
173
+ sourceType?: "system" | "human" | "proprietary" | "ai_extracted" | "ai_generated" | "imported" | "verified" | undefined;
174
+ globalId?: string | undefined;
175
+ contentHash?: string | undefined;
176
+ topicId?: string | undefined;
177
+ canonicalText?: string | undefined;
178
+ createdBy?: string | undefined;
179
+ confidence?: number | undefined;
180
+ verificationStatus?: "unverified" | "human_verified" | "ai_verified" | "contradicted" | "outdated" | undefined;
181
+ contentType?: string | undefined;
182
+ tags?: string[] | undefined;
183
+ trustedBypassAccessCheck?: boolean | undefined;
184
+ domain?: string | undefined;
185
+ subtype?: string | undefined;
186
+ externalIds?: {
187
+ crunchbase?: string | undefined;
188
+ linkedin?: string | undefined;
189
+ pitchbook?: string | undefined;
190
+ twitter?: string | undefined;
191
+ website?: string | undefined;
192
+ } | undefined;
193
+ aiProvider?: string | undefined;
194
+ extractedFromNodeId?: string | undefined;
195
+ }>;
196
+ export type CreateEpistemicNodeArgs = z.infer<typeof createEpistemicNodeArgs>;
2
197
  export declare const nodesContracts: readonly [{
3
198
  name: string;
4
199
  kind: import("./types.js").FunctionKind;
5
200
  idempotent: import("./types.js").FunctionIdempotency;
6
201
  effects: readonly import("../dsl.js").FunctionEffect[];
7
202
  invariants: readonly string[] | undefined;
203
+ boundary: import("./types.js").BoundarySpec | undefined;
8
204
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
9
205
  domain: string;
10
206
  surfaceClass: import("./types.js").SurfaceClass;
@@ -50,6 +246,7 @@ export declare const nodesContracts: readonly [{
50
246
  idempotent: import("./types.js").FunctionIdempotency;
51
247
  effects: readonly import("../dsl.js").FunctionEffect[];
52
248
  invariants: readonly string[] | undefined;
249
+ boundary: import("./types.js").BoundarySpec | undefined;
53
250
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
54
251
  domain: string;
55
252
  surfaceClass: import("./types.js").SurfaceClass;
@@ -95,6 +292,7 @@ export declare const nodesContracts: readonly [{
95
292
  idempotent: import("./types.js").FunctionIdempotency;
96
293
  effects: readonly import("../dsl.js").FunctionEffect[];
97
294
  invariants: readonly string[] | undefined;
295
+ boundary: import("./types.js").BoundarySpec | undefined;
98
296
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
99
297
  domain: string;
100
298
  surfaceClass: import("./types.js").SurfaceClass;
@@ -140,6 +338,7 @@ export declare const nodesContracts: readonly [{
140
338
  idempotent: import("./types.js").FunctionIdempotency;
141
339
  effects: readonly import("../dsl.js").FunctionEffect[];
142
340
  invariants: readonly string[] | undefined;
341
+ boundary: import("./types.js").BoundarySpec | undefined;
143
342
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
144
343
  domain: string;
145
344
  surfaceClass: import("./types.js").SurfaceClass;
@@ -185,6 +384,7 @@ export declare const nodesContracts: readonly [{
185
384
  idempotent: import("./types.js").FunctionIdempotency;
186
385
  effects: readonly import("../dsl.js").FunctionEffect[];
187
386
  invariants: readonly string[] | undefined;
387
+ boundary: import("./types.js").BoundarySpec | undefined;
188
388
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
189
389
  domain: string;
190
390
  surfaceClass: import("./types.js").SurfaceClass;
@@ -230,6 +430,7 @@ export declare const nodesContracts: readonly [{
230
430
  idempotent: import("./types.js").FunctionIdempotency;
231
431
  effects: readonly import("../dsl.js").FunctionEffect[];
232
432
  invariants: readonly string[] | undefined;
433
+ boundary: import("./types.js").BoundarySpec | undefined;
233
434
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
234
435
  domain: string;
235
436
  surfaceClass: import("./types.js").SurfaceClass;
@@ -275,6 +476,7 @@ export declare const nodesContracts: readonly [{
275
476
  idempotent: import("./types.js").FunctionIdempotency;
276
477
  effects: readonly import("../dsl.js").FunctionEffect[];
277
478
  invariants: readonly string[] | undefined;
479
+ boundary: import("./types.js").BoundarySpec | undefined;
278
480
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
279
481
  domain: string;
280
482
  surfaceClass: import("./types.js").SurfaceClass;
@@ -320,6 +522,7 @@ export declare const nodesContracts: readonly [{
320
522
  idempotent: import("./types.js").FunctionIdempotency;
321
523
  effects: readonly import("../dsl.js").FunctionEffect[];
322
524
  invariants: readonly string[] | undefined;
525
+ boundary: import("./types.js").BoundarySpec | undefined;
323
526
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
324
527
  domain: string;
325
528
  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",
@@ -6469,7 +6471,10 @@ var nodesContracts = [
6469
6471
  kind: "mutation",
6470
6472
  inputProjection: createNodeInput
6471
6473
  },
6472
- args: createEpistemicNodeArgs
6474
+ args: createEpistemicNodeArgs,
6475
+ boundary: {
6476
+ admission: ["source-span", "uuidv7-endpoints"]
6477
+ }
6473
6478
  }),
6474
6479
  surfaceContract({
6475
6480
  name: "get_epistemic_node",
@@ -6505,7 +6510,8 @@ var nodesContracts = [
6505
6510
  kind: "query",
6506
6511
  inputProjection: listNodesInput
6507
6512
  },
6508
- args: listEpistemicNodesArgs
6513
+ args: listEpistemicNodesArgs,
6514
+ returns: nodeListReturns
6509
6515
  }),
6510
6516
  surfaceContract({
6511
6517
  name: "update_epistemic_node",
@@ -6595,4 +6601,4 @@ var nodesContracts = [
6595
6601
  })
6596
6602
  ];
6597
6603
 
6598
- export { nodesContracts };
6604
+ export { createEpistemicNodeArgs, 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,