@lucern/contracts 0.3.0-alpha.0 → 0.3.0-alpha.10

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 (237) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/component-boundary.contract.d.ts +14 -0
  3. package/dist/component-boundary.contract.js +155 -0
  4. package/dist/component-boundary.contract.js.map +1 -0
  5. package/dist/component-host-boundary.contract.d.ts +41 -0
  6. package/dist/component-host-boundary.contract.js +54 -0
  7. package/dist/component-host-boundary.contract.js.map +1 -0
  8. package/dist/context-pack.contract.d.ts +5 -3
  9. package/dist/context-pack.contract.js.map +1 -1
  10. package/dist/{dsl-BgpoVOVQ.d.ts → dsl-djCRfuWC.d.ts} +1 -1
  11. package/dist/dsl.d.ts +1 -1
  12. package/dist/dsl.js +4 -4
  13. package/dist/dsl.js.map +1 -1
  14. package/dist/edge-policy-manifest-Dw5IhT1L.d.ts +133 -0
  15. package/dist/function-registry/beliefs.d.ts +42 -82
  16. package/dist/function-registry/beliefs.js +1154 -125
  17. package/dist/function-registry/beliefs.js.map +1 -1
  18. package/dist/function-registry/coding.d.ts +7 -31
  19. package/dist/function-registry/coding.js +958 -112
  20. package/dist/function-registry/coding.js.map +1 -1
  21. package/dist/function-registry/context.d.ts +14 -26
  22. package/dist/function-registry/context.js +923 -97
  23. package/dist/function-registry/context.js.map +1 -1
  24. package/dist/function-registry/contracts.d.ts +4 -16
  25. package/dist/function-registry/contracts.js +860 -82
  26. package/dist/function-registry/contracts.js.map +1 -1
  27. package/dist/function-registry/coordination.d.ts +10 -46
  28. package/dist/function-registry/coordination.js +872 -84
  29. package/dist/function-registry/coordination.js.map +1 -1
  30. package/dist/function-registry/edges.d.ts +166 -18
  31. package/dist/function-registry/edges.js +1188 -97
  32. package/dist/function-registry/edges.js.map +1 -1
  33. package/dist/function-registry/evidence.d.ts +42 -74
  34. package/dist/function-registry/evidence.js +1106 -130
  35. package/dist/function-registry/evidence.js.map +1 -1
  36. package/dist/function-registry/graph.d.ts +132 -106
  37. package/dist/function-registry/graph.js +1006 -100
  38. package/dist/function-registry/graph.js.map +1 -1
  39. package/dist/function-registry/helpers.d.ts +8 -10
  40. package/dist/function-registry/helpers.js +869 -83
  41. package/dist/function-registry/helpers.js.map +1 -1
  42. package/dist/function-registry/identity.d.ts +4 -16
  43. package/dist/function-registry/identity.js +860 -82
  44. package/dist/function-registry/identity.js.map +1 -1
  45. package/dist/function-registry/index.d.ts +322 -8
  46. package/dist/function-registry/index.js +1249 -87
  47. package/dist/function-registry/index.js.map +1 -1
  48. package/dist/function-registry/judgments.d.ts +12 -20
  49. package/dist/function-registry/judgments.js +891 -94
  50. package/dist/function-registry/judgments.js.map +1 -1
  51. package/dist/function-registry/legacy.d.ts +2 -6
  52. package/dist/function-registry/legacy.js +860 -82
  53. package/dist/function-registry/legacy.js.map +1 -1
  54. package/dist/function-registry/lenses.d.ts +18 -34
  55. package/dist/function-registry/lenses.js +928 -88
  56. package/dist/function-registry/lenses.js.map +1 -1
  57. package/dist/function-registry/manifest.d.ts +7 -7
  58. package/dist/function-registry/manifest.js +19 -2
  59. package/dist/function-registry/manifest.js.map +1 -1
  60. package/dist/function-registry/ontologies.d.ts +46 -90
  61. package/dist/function-registry/ontologies.js +908 -109
  62. package/dist/function-registry/ontologies.js.map +1 -1
  63. package/dist/function-registry/pipeline.d.ts +14 -26
  64. package/dist/function-registry/pipeline.js +880 -85
  65. package/dist/function-registry/pipeline.js.map +1 -1
  66. package/dist/function-registry/questions.d.ts +50 -98
  67. package/dist/function-registry/questions.js +1043 -118
  68. package/dist/function-registry/questions.js.map +1 -1
  69. package/dist/function-registry/tasks.d.ts +18 -34
  70. package/dist/function-registry/tasks.js +973 -87
  71. package/dist/function-registry/tasks.js.map +1 -1
  72. package/dist/function-registry/topics.d.ts +100 -42
  73. package/dist/function-registry/topics.js +961 -89
  74. package/dist/function-registry/topics.js.map +1 -1
  75. package/dist/function-registry/types.d.ts +2 -2
  76. package/dist/function-registry/worktrees.d.ts +116 -74
  77. package/dist/function-registry/worktrees.js +1124 -115
  78. package/dist/function-registry/worktrees.js.map +1 -1
  79. package/dist/function-registry-input-audit.d.ts +13 -0
  80. package/dist/function-registry-input-audit.js +166 -0
  81. package/dist/function-registry-input-audit.js.map +1 -0
  82. package/dist/gateway.contract.d.ts +2 -0
  83. package/dist/gateway.contract.js.map +1 -1
  84. package/dist/generated/convexSchemas.js +8 -6
  85. package/dist/generated/convexSchemas.js.map +1 -1
  86. package/dist/generated/schema-manifest.json +103 -5
  87. package/dist/generated/tableOwnership.d.ts +4 -2
  88. package/dist/generated/tableOwnership.js +4 -0
  89. package/dist/generated/tableOwnership.js.map +1 -1
  90. package/dist/generated/tier-expectations.json +9 -4
  91. package/dist/graph-intelligence.contract.d.ts +506 -0
  92. package/dist/graph-intelligence.contract.js +595 -0
  93. package/dist/graph-intelligence.contract.js.map +1 -0
  94. package/dist/graph-types/index.d.ts +5 -1
  95. package/dist/graph-types/index.js +15 -4
  96. package/dist/graph-types/index.js.map +1 -1
  97. package/dist/index-O09U2xHk.d.ts +28 -0
  98. package/dist/index.d.ts +25 -4
  99. package/dist/index.js +3989 -236
  100. package/dist/index.js.map +1 -1
  101. package/dist/infisical-runtime.contract.d.ts +174 -0
  102. package/dist/infisical-runtime.contract.js +317 -0
  103. package/dist/infisical-runtime.contract.js.map +1 -0
  104. package/dist/lens-filter.contract.js +4 -3
  105. package/dist/lens-filter.contract.js.map +1 -1
  106. package/dist/lens-workflow.contract.js +4 -3
  107. package/dist/lens-workflow.contract.js.map +1 -1
  108. package/dist/manifests/edge-policy-manifest.d.ts +2 -0
  109. package/dist/manifests/edge-policy-manifest.data.d.ts +13 -0
  110. package/dist/manifests/edge-policy-manifest.data.js +26 -0
  111. package/dist/manifests/edge-policy-manifest.data.js.map +1 -0
  112. package/dist/manifests/edge-policy-manifest.js +92 -0
  113. package/dist/manifests/edge-policy-manifest.js.map +1 -0
  114. package/dist/manifests/infisical-runtime-manifest.d.ts +151 -0
  115. package/dist/manifests/infisical-runtime-manifest.js +316 -0
  116. package/dist/manifests/infisical-runtime-manifest.js.map +1 -0
  117. package/dist/manifests/invariant-manifest.d.ts +65 -0
  118. package/dist/manifests/invariant-manifest.js +18 -0
  119. package/dist/manifests/invariant-manifest.js.map +1 -0
  120. package/dist/manifests/invariants/ast-utils.d.ts +14 -0
  121. package/dist/manifests/invariants/ast-utils.js +54 -0
  122. package/dist/manifests/invariants/ast-utils.js.map +1 -0
  123. package/dist/manifests/invariants/index.d.ts +15 -0
  124. package/dist/manifests/invariants/index.js +183 -0
  125. package/dist/manifests/invariants/index.js.map +1 -0
  126. package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +12 -0
  127. package/dist/manifests/invariants/inv-1-beliefs-append-only.js +94 -0
  128. package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +1 -0
  129. package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +12 -0
  130. package/dist/manifests/invariants/inv-14-no-silent-transitions.js +99 -0
  131. package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +1 -0
  132. package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +12 -0
  133. package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +42 -0
  134. package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +1 -0
  135. package/dist/manifests/tenant-client-manifest.d.ts +322 -0
  136. package/dist/manifests/tenant-client-manifest.js +432 -0
  137. package/dist/manifests/tenant-client-manifest.js.map +1 -0
  138. package/dist/mcp-gateway-boundary.contract.d.ts +181 -0
  139. package/dist/mcp-gateway-boundary.contract.js +43 -0
  140. package/dist/mcp-gateway-boundary.contract.js.map +1 -0
  141. package/dist/projections/check-convex-args-shape.d.ts +3 -0
  142. package/dist/projections/check-convex-args-shape.js +399 -0
  143. package/dist/projections/check-convex-args-shape.js.map +1 -0
  144. package/dist/projections/create-evidence.projection.d.ts +176 -0
  145. package/dist/projections/create-evidence.projection.js +131 -0
  146. package/dist/projections/create-evidence.projection.js.map +1 -0
  147. package/dist/projections/index.d.ts +102 -0
  148. package/dist/projections/index.js +348 -0
  149. package/dist/projections/index.js.map +1 -0
  150. package/dist/projections/list-beliefs.projection.d.ts +36 -0
  151. package/dist/projections/list-beliefs.projection.js +54 -0
  152. package/dist/projections/list-beliefs.projection.js.map +1 -0
  153. package/dist/projections/list-tasks.projection.d.ts +32 -0
  154. package/dist/projections/list-tasks.projection.js +52 -0
  155. package/dist/projections/list-tasks.projection.js.map +1 -0
  156. package/dist/projections/modulate-confidence.projection.d.ts +219 -0
  157. package/dist/projections/modulate-confidence.projection.js +148 -0
  158. package/dist/projections/modulate-confidence.projection.js.map +1 -0
  159. package/dist/projections/projection-dsl.d.ts +11 -0
  160. package/dist/projections/projection-dsl.js +8 -0
  161. package/dist/projections/projection-dsl.js.map +1 -0
  162. package/dist/schema-helpers/enumValidation.js +2 -5
  163. package/dist/schema-helpers/enumValidation.js.map +1 -1
  164. package/dist/schema-helpers/spine/nodes/decision.js +2 -1
  165. package/dist/schema-helpers/spine/nodes/decision.js.map +1 -1
  166. package/dist/schema-helpers/spine/tables/epistemicNodes.js +27 -27
  167. package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -1
  168. package/dist/schema-helpers/validators.d.ts +1 -1
  169. package/dist/schema-helpers/validators.js +1 -1
  170. package/dist/schema-helpers/validators.js.map +1 -1
  171. package/dist/schemas/component-table-manifest.d.ts +74 -0
  172. package/dist/schemas/component-table-manifest.js +26 -0
  173. package/dist/schemas/component-table-manifest.js.map +1 -0
  174. package/dist/schemas/enums.d.ts +5 -2
  175. package/dist/schemas/enums.js +5 -2
  176. package/dist/schemas/enums.js.map +1 -1
  177. package/dist/schemas/index.d.ts +3 -1
  178. package/dist/schemas/index.js +112 -13
  179. package/dist/schemas/index.js.map +1 -1
  180. package/dist/schemas/manifest.d.ts +1154 -949
  181. package/dist/schemas/manifest.js +80 -12
  182. package/dist/schemas/manifest.js.map +1 -1
  183. package/dist/schemas/sl-opinion.d.ts +31 -0
  184. package/dist/schemas/sl-opinion.js +19 -0
  185. package/dist/schemas/sl-opinion.js.map +1 -0
  186. package/dist/schemas/tables/identity/platform.d.ts +10 -10
  187. package/dist/schemas/tables/kernel/epistemic.d.ts +12 -10
  188. package/dist/schemas/tables/kernel/epistemic.js +6 -4
  189. package/dist/schemas/tables/kernel/epistemic.js.map +1 -1
  190. package/dist/schemas/tables/kernel/infra.d.ts +17 -5
  191. package/dist/schemas/tables/kernel/infra.js +23 -1
  192. package/dist/schemas/tables/kernel/infra.js.map +1 -1
  193. package/dist/schemas/tables/kernel/intelligence.d.ts +10 -10
  194. package/dist/schemas/tables/kernel/lens.d.ts +4 -4
  195. package/dist/schemas/tables/kernel/platform.d.ts +12 -12
  196. package/dist/schemas/tables/kernel/spine.d.ts +3 -3
  197. package/dist/schemas/tables/kernel/spine.js +5 -2
  198. package/dist/schemas/tables/kernel/spine.js.map +1 -1
  199. package/dist/schemas/tables/kernel/task.d.ts +42 -42
  200. package/dist/schemas/tables/kernel/topic.js +5 -1
  201. package/dist/schemas/tables/kernel/topic.js.map +1 -1
  202. package/dist/schemas/tables/kernel/worktree.d.ts +62 -62
  203. package/dist/schemas/tables/kernel/worktree.js +6 -4
  204. package/dist/schemas/tables/kernel/worktree.js.map +1 -1
  205. package/dist/schemas/tables/mc/identity.d.ts +26 -3
  206. package/dist/schemas/tables/mc/identity.js +35 -1
  207. package/dist/schemas/tables/mc/identity.js.map +1 -1
  208. package/dist/schemas/tables/mc/pack.d.ts +20 -20
  209. package/dist/schemas/tables/mc/registry.d.ts +4 -4
  210. package/dist/schemas/tables/mc/runtime.d.ts +1 -1
  211. package/dist/schemas/tables/mc/runtime.js +1 -1
  212. package/dist/schemas/tables/mc/runtime.js.map +1 -1
  213. package/dist/schemas/tables/mc/workspace.d.ts +9 -3
  214. package/dist/schemas/tables/mc/workspace.js +3 -1
  215. package/dist/schemas/tables/mc/workspace.js.map +1 -1
  216. package/dist/sdk-methods.contract.d.ts +7 -4
  217. package/dist/{sdk-tools.contract-C2kQN_Xk.d.ts → sdk-tools.contract-BNklQDfB.d.ts} +2 -2
  218. package/dist/sdk-tools.contract.d.ts +2 -2
  219. package/dist/sdk-tools.contract.js +800 -74
  220. package/dist/sdk-tools.contract.js.map +1 -1
  221. package/dist/tenant-bootstrap-seed.contract.d.ts +1101 -0
  222. package/dist/tenant-bootstrap-seed.contract.js +653 -0
  223. package/dist/tenant-bootstrap-seed.contract.js.map +1 -0
  224. package/dist/tenant-bootstrap-seed.defaults.d.ts +16 -0
  225. package/dist/tenant-bootstrap-seed.defaults.js +303 -0
  226. package/dist/tenant-bootstrap-seed.defaults.js.map +1 -0
  227. package/dist/tenant-client.contract.d.ts +349 -0
  228. package/dist/tenant-client.contract.js +488 -0
  229. package/dist/tenant-client.contract.js.map +1 -0
  230. package/dist/{tool-contracts-WCnuE9DW.d.ts → tool-contracts-BevD9Ho2.d.ts} +39 -3
  231. package/dist/tool-contracts.d.ts +1 -1
  232. package/dist/tool-contracts.js +801 -75
  233. package/dist/tool-contracts.js.map +1 -1
  234. package/dist/workflow-runtime.contract.js +1 -1
  235. package/dist/workflow-runtime.contract.js.map +1 -1
  236. package/package.json +27 -1
  237. package/dist/index-DoDXl8KS.d.ts +0 -19
@@ -1,4 +1,4 @@
1
- import * as zod from 'zod';
1
+ import { z } from 'zod';
2
2
 
3
3
  /**
4
4
  * MCP Tool Contract Definitions
@@ -14,7 +14,7 @@ import * as zod from 'zod';
14
14
  * 2. Knowledge tools use epistemic verbs (create_belief, fork_belief, modulate_confidence)
15
15
  * 3. First sentence of description includes the git analog verb
16
16
  * 4. Description includes "Like `git X`" parenthetical
17
- * 5. Parameter names use domain terms (canonicalText, nodeId, confidence)
17
+ * 5. Parameter names use domain terms (canonicalText, nodeId, baseRate)
18
18
  */
19
19
  type McpToolContract = {
20
20
  /** Stable tool name — breaking change to rename */
@@ -115,14 +115,10 @@ declare const graphContracts: readonly [{
115
115
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
116
116
  };
117
117
  convex: FunctionConvexTarget | undefined;
118
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
119
- [x: string]: any;
120
- }, {
121
- [x: string]: any;
122
- }>;
123
- returns: zod.ZodTypeAny;
124
- input: zod.ZodTypeAny;
125
- output: zod.ZodTypeAny;
118
+ args: z.ZodTypeAny;
119
+ returns: z.ZodTypeAny;
120
+ input: z.ZodTypeAny;
121
+ output: z.ZodTypeAny;
126
122
  openapi: {
127
123
  summary: string;
128
124
  tags: string[];
@@ -158,14 +154,10 @@ declare const graphContracts: readonly [{
158
154
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
159
155
  };
160
156
  convex: FunctionConvexTarget | undefined;
161
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
162
- [x: string]: any;
163
- }, {
164
- [x: string]: any;
165
- }>;
166
- returns: zod.ZodTypeAny;
167
- input: zod.ZodTypeAny;
168
- output: zod.ZodTypeAny;
157
+ args: z.ZodTypeAny;
158
+ returns: z.ZodTypeAny;
159
+ input: z.ZodTypeAny;
160
+ output: z.ZodTypeAny;
169
161
  openapi: {
170
162
  summary: string;
171
163
  tags: string[];
@@ -201,14 +193,10 @@ declare const graphContracts: readonly [{
201
193
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
202
194
  };
203
195
  convex: FunctionConvexTarget | undefined;
204
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
205
- [x: string]: any;
206
- }, {
207
- [x: string]: any;
208
- }>;
209
- returns: zod.ZodTypeAny;
210
- input: zod.ZodTypeAny;
211
- output: zod.ZodTypeAny;
196
+ args: z.ZodTypeAny;
197
+ returns: z.ZodTypeAny;
198
+ input: z.ZodTypeAny;
199
+ output: z.ZodTypeAny;
212
200
  openapi: {
213
201
  summary: string;
214
202
  tags: string[];
@@ -244,14 +232,10 @@ declare const graphContracts: readonly [{
244
232
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
245
233
  };
246
234
  convex: FunctionConvexTarget | undefined;
247
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
248
- [x: string]: any;
249
- }, {
250
- [x: string]: any;
251
- }>;
252
- returns: zod.ZodTypeAny;
253
- input: zod.ZodTypeAny;
254
- output: zod.ZodTypeAny;
235
+ args: z.ZodTypeAny;
236
+ returns: z.ZodTypeAny;
237
+ input: z.ZodTypeAny;
238
+ output: z.ZodTypeAny;
255
239
  openapi: {
256
240
  summary: string;
257
241
  tags: string[];
@@ -287,14 +271,10 @@ declare const graphContracts: readonly [{
287
271
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
288
272
  };
289
273
  convex: FunctionConvexTarget | undefined;
290
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
291
- [x: string]: any;
292
- }, {
293
- [x: string]: any;
294
- }>;
295
- returns: zod.ZodTypeAny;
296
- input: zod.ZodTypeAny;
297
- output: zod.ZodTypeAny;
274
+ args: z.ZodTypeAny;
275
+ returns: z.ZodTypeAny;
276
+ input: z.ZodTypeAny;
277
+ output: z.ZodTypeAny;
298
278
  openapi: {
299
279
  summary: string;
300
280
  tags: string[];
@@ -330,14 +310,10 @@ declare const graphContracts: readonly [{
330
310
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
331
311
  };
332
312
  convex: FunctionConvexTarget | undefined;
333
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
334
- [x: string]: any;
335
- }, {
336
- [x: string]: any;
337
- }>;
338
- returns: zod.ZodTypeAny;
339
- input: zod.ZodTypeAny;
340
- output: zod.ZodTypeAny;
313
+ args: z.ZodTypeAny;
314
+ returns: z.ZodTypeAny;
315
+ input: z.ZodTypeAny;
316
+ output: z.ZodTypeAny;
341
317
  openapi: {
342
318
  summary: string;
343
319
  tags: string[];
@@ -373,14 +349,10 @@ declare const graphContracts: readonly [{
373
349
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
374
350
  };
375
351
  convex: FunctionConvexTarget | undefined;
376
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
377
- [x: string]: any;
378
- }, {
379
- [x: string]: any;
380
- }>;
381
- returns: zod.ZodTypeAny;
382
- input: zod.ZodTypeAny;
383
- output: zod.ZodTypeAny;
352
+ args: z.ZodTypeAny;
353
+ returns: z.ZodTypeAny;
354
+ input: z.ZodTypeAny;
355
+ output: z.ZodTypeAny;
384
356
  openapi: {
385
357
  summary: string;
386
358
  tags: string[];
@@ -416,14 +388,10 @@ declare const graphContracts: readonly [{
416
388
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
417
389
  };
418
390
  convex: FunctionConvexTarget | undefined;
419
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
420
- [x: string]: any;
421
- }, {
422
- [x: string]: any;
423
- }>;
424
- returns: zod.ZodTypeAny;
425
- input: zod.ZodTypeAny;
426
- output: zod.ZodTypeAny;
391
+ args: z.ZodTypeAny;
392
+ returns: z.ZodTypeAny;
393
+ input: z.ZodTypeAny;
394
+ output: z.ZodTypeAny;
427
395
  openapi: {
428
396
  summary: string;
429
397
  tags: string[];
@@ -459,14 +427,10 @@ declare const graphContracts: readonly [{
459
427
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
460
428
  };
461
429
  convex: FunctionConvexTarget | undefined;
462
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
463
- [x: string]: any;
464
- }, {
465
- [x: string]: any;
466
- }>;
467
- returns: zod.ZodTypeAny;
468
- input: zod.ZodTypeAny;
469
- output: zod.ZodTypeAny;
430
+ args: z.ZodTypeAny;
431
+ returns: z.ZodTypeAny;
432
+ input: z.ZodTypeAny;
433
+ output: z.ZodTypeAny;
470
434
  openapi: {
471
435
  summary: string;
472
436
  tags: string[];
@@ -502,14 +466,10 @@ declare const graphContracts: readonly [{
502
466
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
503
467
  };
504
468
  convex: FunctionConvexTarget | undefined;
505
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
506
- [x: string]: any;
507
- }, {
508
- [x: string]: any;
509
- }>;
510
- returns: zod.ZodTypeAny;
511
- input: zod.ZodTypeAny;
512
- output: zod.ZodTypeAny;
469
+ args: z.ZodTypeAny;
470
+ returns: z.ZodTypeAny;
471
+ input: z.ZodTypeAny;
472
+ output: z.ZodTypeAny;
513
473
  openapi: {
514
474
  summary: string;
515
475
  tags: string[];
@@ -545,14 +505,10 @@ declare const graphContracts: readonly [{
545
505
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
546
506
  };
547
507
  convex: FunctionConvexTarget | undefined;
548
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
549
- [x: string]: any;
550
- }, {
551
- [x: string]: any;
552
- }>;
553
- returns: zod.ZodTypeAny;
554
- input: zod.ZodTypeAny;
555
- output: zod.ZodTypeAny;
508
+ args: z.ZodTypeAny;
509
+ returns: z.ZodTypeAny;
510
+ input: z.ZodTypeAny;
511
+ output: z.ZodTypeAny;
556
512
  openapi: {
557
513
  summary: string;
558
514
  tags: string[];
@@ -588,14 +544,10 @@ declare const graphContracts: readonly [{
588
544
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
589
545
  };
590
546
  convex: FunctionConvexTarget | undefined;
591
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
592
- [x: string]: any;
593
- }, {
594
- [x: string]: any;
595
- }>;
596
- returns: zod.ZodTypeAny;
597
- input: zod.ZodTypeAny;
598
- output: zod.ZodTypeAny;
547
+ args: z.ZodTypeAny;
548
+ returns: z.ZodTypeAny;
549
+ input: z.ZodTypeAny;
550
+ output: z.ZodTypeAny;
599
551
  openapi: {
600
552
  summary: string;
601
553
  tags: string[];
@@ -631,14 +583,88 @@ declare const graphContracts: readonly [{
631
583
  allowedPrincipalTypes: ("user" | "service" | "agent")[];
632
584
  };
633
585
  convex: FunctionConvexTarget | undefined;
634
- args: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
635
- [x: string]: any;
636
- }, {
637
- [x: string]: any;
638
- }>;
639
- returns: zod.ZodTypeAny;
640
- input: zod.ZodTypeAny;
641
- output: zod.ZodTypeAny;
586
+ args: z.ZodTypeAny;
587
+ returns: z.ZodTypeAny;
588
+ input: z.ZodTypeAny;
589
+ output: z.ZodTypeAny;
590
+ openapi: {
591
+ summary: string;
592
+ tags: string[];
593
+ };
594
+ }, {
595
+ name: string;
596
+ kind: FunctionKind;
597
+ idempotent: FunctionIdempotency;
598
+ effects: readonly FunctionEffect[];
599
+ invariants: readonly string[] | undefined;
600
+ surfaceIntent: FunctionSurfaceIntent;
601
+ domain: string;
602
+ surfaceClass: SurfaceClass;
603
+ surfaces: FunctionSurfaceMap;
604
+ replacedBy: string | undefined;
605
+ rest: {
606
+ method: "GET" | "POST" | "PATCH" | "DELETE";
607
+ path: string;
608
+ };
609
+ sdk: {
610
+ namespace: string;
611
+ method: string;
612
+ };
613
+ mcp: {
614
+ exposed: boolean;
615
+ toolName: string;
616
+ } & McpToolContract & {
617
+ exposed: boolean;
618
+ toolName: string;
619
+ };
620
+ auth: {
621
+ scopes: string[];
622
+ allowedPrincipalTypes: ("user" | "service" | "agent")[];
623
+ };
624
+ convex: FunctionConvexTarget | undefined;
625
+ args: z.ZodTypeAny;
626
+ returns: z.ZodTypeAny;
627
+ input: z.ZodTypeAny;
628
+ output: z.ZodTypeAny;
629
+ openapi: {
630
+ summary: string;
631
+ tags: string[];
632
+ };
633
+ }, {
634
+ name: string;
635
+ kind: FunctionKind;
636
+ idempotent: FunctionIdempotency;
637
+ effects: readonly FunctionEffect[];
638
+ invariants: readonly string[] | undefined;
639
+ surfaceIntent: FunctionSurfaceIntent;
640
+ domain: string;
641
+ surfaceClass: SurfaceClass;
642
+ surfaces: FunctionSurfaceMap;
643
+ replacedBy: string | undefined;
644
+ rest: {
645
+ method: "GET" | "POST" | "PATCH" | "DELETE";
646
+ path: string;
647
+ };
648
+ sdk: {
649
+ namespace: string;
650
+ method: string;
651
+ };
652
+ mcp: {
653
+ exposed: boolean;
654
+ toolName: string;
655
+ } & McpToolContract & {
656
+ exposed: boolean;
657
+ toolName: string;
658
+ };
659
+ auth: {
660
+ scopes: string[];
661
+ allowedPrincipalTypes: ("user" | "service" | "agent")[];
662
+ };
663
+ convex: FunctionConvexTarget | undefined;
664
+ args: z.ZodTypeAny;
665
+ returns: z.ZodTypeAny;
666
+ input: z.ZodTypeAny;
667
+ output: z.ZodTypeAny;
642
668
  openapi: {
643
669
  summary: string;
644
670
  tags: string[];