@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.
Files changed (66) hide show
  1. package/CHANGELOG.md +6 -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 +106 -0
  34. package/dist/function-registry/nodes.js +9 -4
  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
@@ -1,9 +1,11 @@
1
+ import { z } from "zod";
1
2
  export declare const contractsContracts: readonly [{
2
3
  name: string;
3
4
  kind: import("./types.js").FunctionKind;
4
5
  idempotent: import("./types.js").FunctionIdempotency;
5
6
  effects: readonly import("../dsl.js").FunctionEffect[];
6
7
  invariants: readonly string[] | undefined;
8
+ boundary: import("./types.js").BoundarySpec | undefined;
7
9
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
8
10
  domain: string;
9
11
  surfaceClass: import("./types.js").SurfaceClass;
@@ -35,10 +37,10 @@ export declare const contractsContracts: readonly [{
35
37
  };
36
38
  convex: import("./types.js").FunctionConvexTarget | undefined;
37
39
  gateway: import("./types.js").FunctionGatewayTarget | undefined;
38
- args: import("zod").ZodTypeAny;
39
- returns: import("zod").ZodTypeAny;
40
- input: import("zod").ZodTypeAny;
41
- output: import("zod").ZodTypeAny;
40
+ args: z.ZodTypeAny;
41
+ returns: z.ZodTypeAny;
42
+ input: z.ZodTypeAny;
43
+ output: z.ZodTypeAny;
42
44
  openapi: {
43
45
  summary: string;
44
46
  tags: string[];
@@ -49,6 +51,7 @@ export declare const contractsContracts: readonly [{
49
51
  idempotent: import("./types.js").FunctionIdempotency;
50
52
  effects: readonly import("../dsl.js").FunctionEffect[];
51
53
  invariants: readonly string[] | undefined;
54
+ boundary: import("./types.js").BoundarySpec | undefined;
52
55
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
53
56
  domain: string;
54
57
  surfaceClass: import("./types.js").SurfaceClass;
@@ -80,10 +83,10 @@ export declare const contractsContracts: readonly [{
80
83
  };
81
84
  convex: import("./types.js").FunctionConvexTarget | undefined;
82
85
  gateway: import("./types.js").FunctionGatewayTarget | undefined;
83
- args: import("zod").ZodTypeAny;
84
- returns: import("zod").ZodTypeAny;
85
- input: import("zod").ZodTypeAny;
86
- output: import("zod").ZodTypeAny;
86
+ args: z.ZodTypeAny;
87
+ returns: z.ZodTypeAny;
88
+ input: z.ZodTypeAny;
89
+ output: z.ZodTypeAny;
87
90
  openapi: {
88
91
  summary: string;
89
92
  tags: string[];
@@ -94,6 +97,7 @@ export declare const contractsContracts: readonly [{
94
97
  idempotent: import("./types.js").FunctionIdempotency;
95
98
  effects: readonly import("../dsl.js").FunctionEffect[];
96
99
  invariants: readonly string[] | undefined;
100
+ boundary: import("./types.js").BoundarySpec | undefined;
97
101
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
98
102
  domain: string;
99
103
  surfaceClass: import("./types.js").SurfaceClass;
@@ -125,10 +129,10 @@ export declare const contractsContracts: readonly [{
125
129
  };
126
130
  convex: import("./types.js").FunctionConvexTarget | undefined;
127
131
  gateway: import("./types.js").FunctionGatewayTarget | undefined;
128
- args: import("zod").ZodTypeAny;
129
- returns: import("zod").ZodTypeAny;
130
- input: import("zod").ZodTypeAny;
131
- output: import("zod").ZodTypeAny;
132
+ args: z.ZodTypeAny;
133
+ returns: z.ZodTypeAny;
134
+ input: z.ZodTypeAny;
135
+ output: z.ZodTypeAny;
132
136
  openapi: {
133
137
  summary: string;
134
138
  tags: string[];
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import 'convex/values';
3
3
 
4
- // src/function-registry/helpers.ts
4
+ // src/function-registry/contracts.ts
5
5
  z.enum([
6
6
  "decision",
7
7
  "belief",
@@ -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,
@@ -6180,6 +6181,7 @@ function surfaceContract(args) {
6180
6181
  }
6181
6182
 
6182
6183
  // src/function-registry/contracts.ts
6184
+ var contractStatusReturns = z.array(z.record(z.unknown()));
6183
6185
  var contractsContracts = [
6184
6186
  surfaceContract({
6185
6187
  name: "create_epistemic_contract",
@@ -6224,7 +6226,8 @@ var contractsContracts = [
6224
6226
  module: "contracts",
6225
6227
  functionName: "getContractStatus",
6226
6228
  kind: "query"
6227
- }
6229
+ },
6230
+ returns: contractStatusReturns
6228
6231
  })
6229
6232
  ];
6230
6233
 
@@ -4,6 +4,7 @@ export declare const coordinationContracts: 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;
@@ -49,6 +50,7 @@ export declare const coordinationContracts: readonly [{
49
50
  idempotent: import("./types.js").FunctionIdempotency;
50
51
  effects: readonly import("../dsl.js").FunctionEffect[];
51
52
  invariants: readonly string[] | undefined;
53
+ boundary: import("./types.js").BoundarySpec | undefined;
52
54
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
53
55
  domain: string;
54
56
  surfaceClass: import("./types.js").SurfaceClass;
@@ -94,6 +96,7 @@ export declare const coordinationContracts: readonly [{
94
96
  idempotent: import("./types.js").FunctionIdempotency;
95
97
  effects: readonly import("../dsl.js").FunctionEffect[];
96
98
  invariants: readonly string[] | undefined;
99
+ boundary: import("./types.js").BoundarySpec | undefined;
97
100
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
98
101
  domain: string;
99
102
  surfaceClass: import("./types.js").SurfaceClass;
@@ -139,6 +142,7 @@ export declare const coordinationContracts: readonly [{
139
142
  idempotent: import("./types.js").FunctionIdempotency;
140
143
  effects: readonly import("../dsl.js").FunctionEffect[];
141
144
  invariants: readonly string[] | undefined;
145
+ boundary: import("./types.js").BoundarySpec | undefined;
142
146
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
143
147
  domain: string;
144
148
  surfaceClass: import("./types.js").SurfaceClass;
@@ -184,6 +188,7 @@ export declare const coordinationContracts: readonly [{
184
188
  idempotent: import("./types.js").FunctionIdempotency;
185
189
  effects: readonly import("../dsl.js").FunctionEffect[];
186
190
  invariants: readonly string[] | undefined;
191
+ boundary: import("./types.js").BoundarySpec | undefined;
187
192
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
188
193
  domain: string;
189
194
  surfaceClass: import("./types.js").SurfaceClass;
@@ -229,6 +234,7 @@ export declare const coordinationContracts: readonly [{
229
234
  idempotent: import("./types.js").FunctionIdempotency;
230
235
  effects: readonly import("../dsl.js").FunctionEffect[];
231
236
  invariants: readonly string[] | undefined;
237
+ boundary: import("./types.js").BoundarySpec | undefined;
232
238
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
233
239
  domain: string;
234
240
  surfaceClass: import("./types.js").SurfaceClass;
@@ -274,6 +280,7 @@ export declare const coordinationContracts: readonly [{
274
280
  idempotent: import("./types.js").FunctionIdempotency;
275
281
  effects: readonly import("../dsl.js").FunctionEffect[];
276
282
  invariants: readonly string[] | undefined;
283
+ boundary: import("./types.js").BoundarySpec | undefined;
277
284
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
278
285
  domain: string;
279
286
  surfaceClass: import("./types.js").SurfaceClass;
@@ -319,6 +326,7 @@ export declare const coordinationContracts: readonly [{
319
326
  idempotent: import("./types.js").FunctionIdempotency;
320
327
  effects: readonly import("../dsl.js").FunctionEffect[];
321
328
  invariants: readonly string[] | undefined;
329
+ boundary: import("./types.js").BoundarySpec | undefined;
322
330
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
323
331
  domain: string;
324
332
  surfaceClass: import("./types.js").SurfaceClass;
@@ -364,6 +372,7 @@ export declare const coordinationContracts: readonly [{
364
372
  idempotent: import("./types.js").FunctionIdempotency;
365
373
  effects: readonly import("../dsl.js").FunctionEffect[];
366
374
  invariants: readonly string[] | undefined;
375
+ boundary: import("./types.js").BoundarySpec | undefined;
367
376
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
368
377
  domain: string;
369
378
  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,
@@ -1,10 +1,144 @@
1
1
  import { z } from "zod";
2
+ export declare const createEdgeArgs: z.ZodEffects<z.ZodObject<{
3
+ from: z.ZodObject<{
4
+ kind: z.ZodLiteral<"epistemic_node">;
5
+ nodeId: z.ZodEffects<z.ZodString, string, string>;
6
+ nodeType: z.ZodEnum<["function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens", ...("function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens")[]]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
9
+ nodeId: string;
10
+ kind: "epistemic_node";
11
+ }, {
12
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
13
+ nodeId: string;
14
+ kind: "epistemic_node";
15
+ }>;
16
+ to: z.ZodObject<{
17
+ kind: z.ZodLiteral<"epistemic_node">;
18
+ nodeId: z.ZodEffects<z.ZodString, string, string>;
19
+ nodeType: z.ZodEnum<["function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens", ...("function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens")[]]>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
22
+ nodeId: string;
23
+ kind: "epistemic_node";
24
+ }, {
25
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
26
+ nodeId: string;
27
+ kind: "epistemic_node";
28
+ }>;
29
+ edgeType: z.ZodEnum<[string, ...string[]]>;
30
+ globalId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
31
+ weight: z.ZodOptional<z.ZodNumber>;
32
+ confidence: z.ZodOptional<z.ZodNumber>;
33
+ context: z.ZodOptional<z.ZodString>;
34
+ reasoning: z.ZodOptional<z.ZodString>;
35
+ reasoningMethod: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
36
+ edgeRole: z.ZodOptional<z.ZodEnum<["migration_of"]>>;
37
+ derivationType: z.ZodOptional<z.ZodString>;
38
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39
+ topicId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
40
+ trustedBypassAccessCheck: z.ZodOptional<z.ZodBoolean>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ from: {
43
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
44
+ nodeId: string;
45
+ kind: "epistemic_node";
46
+ };
47
+ edgeType: string;
48
+ to: {
49
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
50
+ nodeId: string;
51
+ kind: "epistemic_node";
52
+ };
53
+ metadata?: Record<string, unknown> | undefined;
54
+ edgeRole?: "migration_of" | undefined;
55
+ globalId?: string | undefined;
56
+ topicId?: string | undefined;
57
+ confidence?: number | undefined;
58
+ context?: string | undefined;
59
+ weight?: number | undefined;
60
+ trustedBypassAccessCheck?: boolean | undefined;
61
+ reasoning?: string | undefined;
62
+ reasoningMethod?: string | undefined;
63
+ derivationType?: string | undefined;
64
+ }, {
65
+ from: {
66
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
67
+ nodeId: string;
68
+ kind: "epistemic_node";
69
+ };
70
+ edgeType: string;
71
+ to: {
72
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
73
+ nodeId: string;
74
+ kind: "epistemic_node";
75
+ };
76
+ metadata?: Record<string, unknown> | undefined;
77
+ edgeRole?: "migration_of" | undefined;
78
+ globalId?: string | undefined;
79
+ topicId?: string | undefined;
80
+ confidence?: number | undefined;
81
+ context?: string | undefined;
82
+ weight?: number | undefined;
83
+ trustedBypassAccessCheck?: boolean | undefined;
84
+ reasoning?: string | undefined;
85
+ reasoningMethod?: string | undefined;
86
+ derivationType?: string | undefined;
87
+ }>, {
88
+ from: {
89
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
90
+ nodeId: string;
91
+ kind: "epistemic_node";
92
+ };
93
+ edgeType: string;
94
+ to: {
95
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
96
+ nodeId: string;
97
+ kind: "epistemic_node";
98
+ };
99
+ metadata?: Record<string, unknown> | undefined;
100
+ edgeRole?: "migration_of" | undefined;
101
+ globalId?: string | undefined;
102
+ topicId?: string | undefined;
103
+ confidence?: number | undefined;
104
+ context?: string | undefined;
105
+ weight?: number | undefined;
106
+ trustedBypassAccessCheck?: boolean | undefined;
107
+ reasoning?: string | undefined;
108
+ reasoningMethod?: string | undefined;
109
+ derivationType?: string | undefined;
110
+ }, {
111
+ from: {
112
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
113
+ nodeId: string;
114
+ kind: "epistemic_node";
115
+ };
116
+ edgeType: string;
117
+ to: {
118
+ nodeType: "function" | "source" | "answer" | "decision" | "belief" | "question" | "theme" | "deal" | "topic" | "claim" | "evidence" | "synthesis" | "atomic_fact" | "excerpt" | "company" | "person" | "investor" | "value_chain" | "edge" | "contradiction" | "ontology" | "lens";
119
+ nodeId: string;
120
+ kind: "epistemic_node";
121
+ };
122
+ metadata?: Record<string, unknown> | undefined;
123
+ edgeRole?: "migration_of" | undefined;
124
+ globalId?: string | undefined;
125
+ topicId?: string | undefined;
126
+ confidence?: number | undefined;
127
+ context?: string | undefined;
128
+ weight?: number | undefined;
129
+ trustedBypassAccessCheck?: boolean | undefined;
130
+ reasoning?: string | undefined;
131
+ reasoningMethod?: string | undefined;
132
+ derivationType?: string | undefined;
133
+ }>;
134
+ export type CreateEdgeArgs = z.infer<typeof createEdgeArgs>;
2
135
  export declare const edgesContracts: readonly [{
3
136
  name: string;
4
137
  kind: import("./types.js").FunctionKind;
5
138
  idempotent: import("./types.js").FunctionIdempotency;
6
139
  effects: readonly import("../dsl.js").FunctionEffect[];
7
140
  invariants: readonly string[] | undefined;
141
+ boundary: import("./types.js").BoundarySpec | undefined;
8
142
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
9
143
  domain: string;
10
144
  surfaceClass: import("./types.js").SurfaceClass;
@@ -50,6 +184,7 @@ export declare const edgesContracts: readonly [{
50
184
  idempotent: import("./types.js").FunctionIdempotency;
51
185
  effects: readonly import("../dsl.js").FunctionEffect[];
52
186
  invariants: readonly string[] | undefined;
187
+ boundary: import("./types.js").BoundarySpec | undefined;
53
188
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
54
189
  domain: string;
55
190
  surfaceClass: import("./types.js").SurfaceClass;
@@ -95,6 +230,7 @@ export declare const edgesContracts: readonly [{
95
230
  idempotent: import("./types.js").FunctionIdempotency;
96
231
  effects: readonly import("../dsl.js").FunctionEffect[];
97
232
  invariants: readonly string[] | undefined;
233
+ boundary: import("./types.js").BoundarySpec | undefined;
98
234
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
99
235
  domain: string;
100
236
  surfaceClass: import("./types.js").SurfaceClass;
@@ -140,6 +276,7 @@ export declare const edgesContracts: readonly [{
140
276
  idempotent: import("./types.js").FunctionIdempotency;
141
277
  effects: readonly import("../dsl.js").FunctionEffect[];
142
278
  invariants: readonly string[] | undefined;
279
+ boundary: import("./types.js").BoundarySpec | undefined;
143
280
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
144
281
  domain: string;
145
282
  surfaceClass: import("./types.js").SurfaceClass;
@@ -185,6 +322,7 @@ export declare const edgesContracts: readonly [{
185
322
  idempotent: import("./types.js").FunctionIdempotency;
186
323
  effects: readonly import("../dsl.js").FunctionEffect[];
187
324
  invariants: readonly string[] | undefined;
325
+ boundary: import("./types.js").BoundarySpec | undefined;
188
326
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
189
327
  domain: string;
190
328
  surfaceClass: import("./types.js").SurfaceClass;
@@ -230,6 +368,7 @@ export declare const edgesContracts: readonly [{
230
368
  idempotent: import("./types.js").FunctionIdempotency;
231
369
  effects: readonly import("../dsl.js").FunctionEffect[];
232
370
  invariants: readonly string[] | undefined;
371
+ boundary: import("./types.js").BoundarySpec | undefined;
233
372
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
234
373
  domain: string;
235
374
  surfaceClass: import("./types.js").SurfaceClass;
@@ -275,6 +414,7 @@ export declare const edgesContracts: readonly [{
275
414
  idempotent: import("./types.js").FunctionIdempotency;
276
415
  effects: readonly import("../dsl.js").FunctionEffect[];
277
416
  invariants: readonly string[] | undefined;
417
+ boundary: import("./types.js").BoundarySpec | undefined;
278
418
  surfaceIntent: import("./types.js").FunctionSurfaceIntent;
279
419
  domain: string;
280
420
  surfaceClass: import("./types.js").SurfaceClass;
@@ -6244,6 +6244,7 @@ function surfaceContract(args) {
6244
6244
  idempotent: args.idempotent ?? args.kind !== "query",
6245
6245
  effects: resolvedEffects,
6246
6246
  invariants: args.invariants,
6247
+ boundary: args.boundary,
6247
6248
  surfaceIntent: manifestEntry.surfaceIntent,
6248
6249
  domain: args.domain,
6249
6250
  surfaceClass: manifestEntry.surfaceClass,
@@ -6430,7 +6431,10 @@ var edgesContracts = [
6430
6431
  );
6431
6432
  }
6432
6433
  },
6433
- args: createEdgeArgs
6434
+ args: createEdgeArgs,
6435
+ boundary: {
6436
+ admission: ["source-span", "uuidv7-endpoints", "projection-parity"]
6437
+ }
6434
6438
  }),
6435
6439
  surfaceContract({
6436
6440
  name: "update_edge",
@@ -6612,4 +6616,4 @@ var edgesContracts = [
6612
6616
  })
6613
6617
  ];
6614
6618
 
6615
- export { edgesContracts };
6619
+ export { createEdgeArgs, edgesContracts };
@@ -5,6 +5,7 @@ export declare const embeddingsContracts: 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 embeddingsContracts: 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 embeddingsContracts: 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 embeddingsContracts: 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;
@@ -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,