@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.
- package/CHANGELOG.md +4 -0
- package/dist/component-boundary.contract.d.ts +14 -0
- package/dist/component-boundary.contract.js +155 -0
- package/dist/component-boundary.contract.js.map +1 -0
- package/dist/component-host-boundary.contract.d.ts +41 -0
- package/dist/component-host-boundary.contract.js +54 -0
- package/dist/component-host-boundary.contract.js.map +1 -0
- package/dist/context-pack.contract.d.ts +5 -3
- package/dist/context-pack.contract.js.map +1 -1
- package/dist/{dsl-BgpoVOVQ.d.ts → dsl-djCRfuWC.d.ts} +1 -1
- package/dist/dsl.d.ts +1 -1
- package/dist/dsl.js +4 -4
- package/dist/dsl.js.map +1 -1
- package/dist/edge-policy-manifest-Dw5IhT1L.d.ts +133 -0
- package/dist/function-registry/beliefs.d.ts +42 -82
- package/dist/function-registry/beliefs.js +1154 -125
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +7 -31
- package/dist/function-registry/coding.js +958 -112
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +14 -26
- package/dist/function-registry/context.js +923 -97
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +4 -16
- package/dist/function-registry/contracts.js +860 -82
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +10 -46
- package/dist/function-registry/coordination.js +872 -84
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +166 -18
- package/dist/function-registry/edges.js +1188 -97
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +42 -74
- package/dist/function-registry/evidence.js +1106 -130
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +132 -106
- package/dist/function-registry/graph.js +1006 -100
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +8 -10
- package/dist/function-registry/helpers.js +869 -83
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +4 -16
- package/dist/function-registry/identity.js +860 -82
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +322 -8
- package/dist/function-registry/index.js +1249 -87
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +12 -20
- package/dist/function-registry/judgments.js +891 -94
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +2 -6
- package/dist/function-registry/legacy.js +860 -82
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +18 -34
- package/dist/function-registry/lenses.js +928 -88
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +7 -7
- package/dist/function-registry/manifest.js +19 -2
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +46 -90
- package/dist/function-registry/ontologies.js +908 -109
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +14 -26
- package/dist/function-registry/pipeline.js +880 -85
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +50 -98
- package/dist/function-registry/questions.js +1043 -118
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +18 -34
- package/dist/function-registry/tasks.js +973 -87
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +100 -42
- package/dist/function-registry/topics.js +961 -89
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +2 -2
- package/dist/function-registry/worktrees.d.ts +116 -74
- package/dist/function-registry/worktrees.js +1124 -115
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/function-registry-input-audit.d.ts +13 -0
- package/dist/function-registry-input-audit.js +166 -0
- package/dist/function-registry-input-audit.js.map +1 -0
- package/dist/gateway.contract.d.ts +2 -0
- package/dist/gateway.contract.js.map +1 -1
- package/dist/generated/convexSchemas.js +8 -6
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/schema-manifest.json +103 -5
- package/dist/generated/tableOwnership.d.ts +4 -2
- package/dist/generated/tableOwnership.js +4 -0
- package/dist/generated/tableOwnership.js.map +1 -1
- package/dist/generated/tier-expectations.json +9 -4
- package/dist/graph-intelligence.contract.d.ts +506 -0
- package/dist/graph-intelligence.contract.js +595 -0
- package/dist/graph-intelligence.contract.js.map +1 -0
- package/dist/graph-types/index.d.ts +5 -1
- package/dist/graph-types/index.js +15 -4
- package/dist/graph-types/index.js.map +1 -1
- package/dist/index-O09U2xHk.d.ts +28 -0
- package/dist/index.d.ts +25 -4
- package/dist/index.js +3989 -236
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +174 -0
- package/dist/infisical-runtime.contract.js +317 -0
- package/dist/infisical-runtime.contract.js.map +1 -0
- package/dist/lens-filter.contract.js +4 -3
- package/dist/lens-filter.contract.js.map +1 -1
- package/dist/lens-workflow.contract.js +4 -3
- package/dist/lens-workflow.contract.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.d.ts +2 -0
- package/dist/manifests/edge-policy-manifest.data.d.ts +13 -0
- package/dist/manifests/edge-policy-manifest.data.js +26 -0
- package/dist/manifests/edge-policy-manifest.data.js.map +1 -0
- package/dist/manifests/edge-policy-manifest.js +92 -0
- package/dist/manifests/edge-policy-manifest.js.map +1 -0
- package/dist/manifests/infisical-runtime-manifest.d.ts +151 -0
- package/dist/manifests/infisical-runtime-manifest.js +316 -0
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -0
- package/dist/manifests/invariant-manifest.d.ts +65 -0
- package/dist/manifests/invariant-manifest.js +18 -0
- package/dist/manifests/invariant-manifest.js.map +1 -0
- package/dist/manifests/invariants/ast-utils.d.ts +14 -0
- package/dist/manifests/invariants/ast-utils.js +54 -0
- package/dist/manifests/invariants/ast-utils.js.map +1 -0
- package/dist/manifests/invariants/index.d.ts +15 -0
- package/dist/manifests/invariants/index.js +183 -0
- package/dist/manifests/invariants/index.js.map +1 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +12 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js +94 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +1 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +12 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js +99 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +1 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +12 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +42 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +1 -0
- package/dist/manifests/tenant-client-manifest.d.ts +322 -0
- package/dist/manifests/tenant-client-manifest.js +432 -0
- package/dist/manifests/tenant-client-manifest.js.map +1 -0
- package/dist/mcp-gateway-boundary.contract.d.ts +181 -0
- package/dist/mcp-gateway-boundary.contract.js +43 -0
- package/dist/mcp-gateway-boundary.contract.js.map +1 -0
- package/dist/projections/check-convex-args-shape.d.ts +3 -0
- package/dist/projections/check-convex-args-shape.js +399 -0
- package/dist/projections/check-convex-args-shape.js.map +1 -0
- package/dist/projections/create-evidence.projection.d.ts +176 -0
- package/dist/projections/create-evidence.projection.js +131 -0
- package/dist/projections/create-evidence.projection.js.map +1 -0
- package/dist/projections/index.d.ts +102 -0
- package/dist/projections/index.js +348 -0
- package/dist/projections/index.js.map +1 -0
- package/dist/projections/list-beliefs.projection.d.ts +36 -0
- package/dist/projections/list-beliefs.projection.js +54 -0
- package/dist/projections/list-beliefs.projection.js.map +1 -0
- package/dist/projections/list-tasks.projection.d.ts +32 -0
- package/dist/projections/list-tasks.projection.js +52 -0
- package/dist/projections/list-tasks.projection.js.map +1 -0
- package/dist/projections/modulate-confidence.projection.d.ts +219 -0
- package/dist/projections/modulate-confidence.projection.js +148 -0
- package/dist/projections/modulate-confidence.projection.js.map +1 -0
- package/dist/projections/projection-dsl.d.ts +11 -0
- package/dist/projections/projection-dsl.js +8 -0
- package/dist/projections/projection-dsl.js.map +1 -0
- package/dist/schema-helpers/enumValidation.js +2 -5
- package/dist/schema-helpers/enumValidation.js.map +1 -1
- package/dist/schema-helpers/spine/nodes/decision.js +2 -1
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -1
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +27 -27
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -1
- package/dist/schema-helpers/validators.d.ts +1 -1
- package/dist/schema-helpers/validators.js +1 -1
- package/dist/schema-helpers/validators.js.map +1 -1
- package/dist/schemas/component-table-manifest.d.ts +74 -0
- package/dist/schemas/component-table-manifest.js +26 -0
- package/dist/schemas/component-table-manifest.js.map +1 -0
- package/dist/schemas/enums.d.ts +5 -2
- package/dist/schemas/enums.js +5 -2
- package/dist/schemas/enums.js.map +1 -1
- package/dist/schemas/index.d.ts +3 -1
- package/dist/schemas/index.js +112 -13
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +1154 -949
- package/dist/schemas/manifest.js +80 -12
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/sl-opinion.d.ts +31 -0
- package/dist/schemas/sl-opinion.js +19 -0
- package/dist/schemas/sl-opinion.js.map +1 -0
- package/dist/schemas/tables/identity/platform.d.ts +10 -10
- package/dist/schemas/tables/kernel/epistemic.d.ts +12 -10
- package/dist/schemas/tables/kernel/epistemic.js +6 -4
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -1
- package/dist/schemas/tables/kernel/infra.d.ts +17 -5
- package/dist/schemas/tables/kernel/infra.js +23 -1
- package/dist/schemas/tables/kernel/infra.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +10 -10
- package/dist/schemas/tables/kernel/lens.d.ts +4 -4
- package/dist/schemas/tables/kernel/platform.d.ts +12 -12
- package/dist/schemas/tables/kernel/spine.d.ts +3 -3
- package/dist/schemas/tables/kernel/spine.js +5 -2
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/task.d.ts +42 -42
- package/dist/schemas/tables/kernel/topic.js +5 -1
- package/dist/schemas/tables/kernel/topic.js.map +1 -1
- package/dist/schemas/tables/kernel/worktree.d.ts +62 -62
- package/dist/schemas/tables/kernel/worktree.js +6 -4
- package/dist/schemas/tables/kernel/worktree.js.map +1 -1
- package/dist/schemas/tables/mc/identity.d.ts +26 -3
- package/dist/schemas/tables/mc/identity.js +35 -1
- package/dist/schemas/tables/mc/identity.js.map +1 -1
- package/dist/schemas/tables/mc/pack.d.ts +20 -20
- package/dist/schemas/tables/mc/registry.d.ts +4 -4
- package/dist/schemas/tables/mc/runtime.d.ts +1 -1
- package/dist/schemas/tables/mc/runtime.js +1 -1
- package/dist/schemas/tables/mc/runtime.js.map +1 -1
- package/dist/schemas/tables/mc/workspace.d.ts +9 -3
- package/dist/schemas/tables/mc/workspace.js +3 -1
- package/dist/schemas/tables/mc/workspace.js.map +1 -1
- package/dist/sdk-methods.contract.d.ts +7 -4
- package/dist/{sdk-tools.contract-C2kQN_Xk.d.ts → sdk-tools.contract-BNklQDfB.d.ts} +2 -2
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +800 -74
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +1101 -0
- package/dist/tenant-bootstrap-seed.contract.js +653 -0
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -0
- package/dist/tenant-bootstrap-seed.defaults.d.ts +16 -0
- package/dist/tenant-bootstrap-seed.defaults.js +303 -0
- package/dist/tenant-bootstrap-seed.defaults.js.map +1 -0
- package/dist/tenant-client.contract.d.ts +349 -0
- package/dist/tenant-client.contract.js +488 -0
- package/dist/tenant-client.contract.js.map +1 -0
- package/dist/{tool-contracts-WCnuE9DW.d.ts → tool-contracts-BevD9Ho2.d.ts} +39 -3
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +801 -75
- package/dist/tool-contracts.js.map +1 -1
- package/dist/workflow-runtime.contract.js +1 -1
- package/dist/workflow-runtime.contract.js.map +1 -1
- package/package.json +27 -1
- package/dist/index-DoDXl8KS.d.ts +0 -19
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { F as FunctionEffect } from '../defineFunction-DO97DKs4.js';
|
|
3
|
-
import { M as McpToolContract } from '../tool-contracts-
|
|
3
|
+
import { M as McpToolContract } from '../tool-contracts-BevD9Ho2.js';
|
|
4
4
|
|
|
5
5
|
type FunctionKind = "query" | "mutation" | "action";
|
|
6
6
|
type FunctionIdempotency = boolean | "required";
|
|
@@ -71,7 +71,7 @@ type FunctionContract = {
|
|
|
71
71
|
allowedPrincipalTypes: FunctionPrincipalType[];
|
|
72
72
|
};
|
|
73
73
|
convex?: FunctionConvexTarget;
|
|
74
|
-
args: z.
|
|
74
|
+
args: z.ZodTypeAny;
|
|
75
75
|
returns: z.ZodTypeAny;
|
|
76
76
|
input: z.ZodTypeAny;
|
|
77
77
|
output: z.ZodTypeAny;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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,
|
|
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 worktreesContracts: readonly [{
|
|
|
115
115
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
116
116
|
};
|
|
117
117
|
convex: FunctionConvexTarget | undefined;
|
|
118
|
-
args:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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 worktreesContracts: readonly [{
|
|
|
158
154
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
159
155
|
};
|
|
160
156
|
convex: FunctionConvexTarget | undefined;
|
|
161
|
-
args:
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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 worktreesContracts: readonly [{
|
|
|
201
193
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
202
194
|
};
|
|
203
195
|
convex: FunctionConvexTarget | undefined;
|
|
204
|
-
args:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
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 worktreesContracts: readonly [{
|
|
|
244
232
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
245
233
|
};
|
|
246
234
|
convex: FunctionConvexTarget | undefined;
|
|
247
|
-
args:
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
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 worktreesContracts: readonly [{
|
|
|
287
271
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
288
272
|
};
|
|
289
273
|
convex: FunctionConvexTarget | undefined;
|
|
290
|
-
args:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
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 worktreesContracts: readonly [{
|
|
|
330
310
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
331
311
|
};
|
|
332
312
|
convex: FunctionConvexTarget | undefined;
|
|
333
|
-
args:
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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 worktreesContracts: readonly [{
|
|
|
373
349
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
374
350
|
};
|
|
375
351
|
convex: FunctionConvexTarget | undefined;
|
|
376
|
-
args:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
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 worktreesContracts: readonly [{
|
|
|
416
388
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
417
389
|
};
|
|
418
390
|
convex: FunctionConvexTarget | undefined;
|
|
419
|
-
args:
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
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,88 @@ declare const worktreesContracts: readonly [{
|
|
|
459
427
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
460
428
|
};
|
|
461
429
|
convex: FunctionConvexTarget | undefined;
|
|
462
|
-
args:
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
430
|
+
args: z.ZodTypeAny;
|
|
431
|
+
returns: z.ZodTypeAny;
|
|
432
|
+
input: z.ZodTypeAny;
|
|
433
|
+
output: z.ZodTypeAny;
|
|
434
|
+
openapi: {
|
|
435
|
+
summary: string;
|
|
436
|
+
tags: string[];
|
|
437
|
+
};
|
|
438
|
+
}, {
|
|
439
|
+
name: string;
|
|
440
|
+
kind: FunctionKind;
|
|
441
|
+
idempotent: FunctionIdempotency;
|
|
442
|
+
effects: readonly FunctionEffect[];
|
|
443
|
+
invariants: readonly string[] | undefined;
|
|
444
|
+
surfaceIntent: FunctionSurfaceIntent;
|
|
445
|
+
domain: string;
|
|
446
|
+
surfaceClass: SurfaceClass;
|
|
447
|
+
surfaces: FunctionSurfaceMap;
|
|
448
|
+
replacedBy: string | undefined;
|
|
449
|
+
rest: {
|
|
450
|
+
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
451
|
+
path: string;
|
|
452
|
+
};
|
|
453
|
+
sdk: {
|
|
454
|
+
namespace: string;
|
|
455
|
+
method: string;
|
|
456
|
+
};
|
|
457
|
+
mcp: {
|
|
458
|
+
exposed: boolean;
|
|
459
|
+
toolName: string;
|
|
460
|
+
} & McpToolContract & {
|
|
461
|
+
exposed: boolean;
|
|
462
|
+
toolName: string;
|
|
463
|
+
};
|
|
464
|
+
auth: {
|
|
465
|
+
scopes: string[];
|
|
466
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
467
|
+
};
|
|
468
|
+
convex: FunctionConvexTarget | undefined;
|
|
469
|
+
args: z.ZodTypeAny;
|
|
470
|
+
returns: z.ZodTypeAny;
|
|
471
|
+
input: z.ZodTypeAny;
|
|
472
|
+
output: z.ZodTypeAny;
|
|
473
|
+
openapi: {
|
|
474
|
+
summary: string;
|
|
475
|
+
tags: string[];
|
|
476
|
+
};
|
|
477
|
+
}, {
|
|
478
|
+
name: string;
|
|
479
|
+
kind: FunctionKind;
|
|
480
|
+
idempotent: FunctionIdempotency;
|
|
481
|
+
effects: readonly FunctionEffect[];
|
|
482
|
+
invariants: readonly string[] | undefined;
|
|
483
|
+
surfaceIntent: FunctionSurfaceIntent;
|
|
484
|
+
domain: string;
|
|
485
|
+
surfaceClass: SurfaceClass;
|
|
486
|
+
surfaces: FunctionSurfaceMap;
|
|
487
|
+
replacedBy: string | undefined;
|
|
488
|
+
rest: {
|
|
489
|
+
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
490
|
+
path: string;
|
|
491
|
+
};
|
|
492
|
+
sdk: {
|
|
493
|
+
namespace: string;
|
|
494
|
+
method: string;
|
|
495
|
+
};
|
|
496
|
+
mcp: {
|
|
497
|
+
exposed: boolean;
|
|
498
|
+
toolName: string;
|
|
499
|
+
} & McpToolContract & {
|
|
500
|
+
exposed: boolean;
|
|
501
|
+
toolName: string;
|
|
502
|
+
};
|
|
503
|
+
auth: {
|
|
504
|
+
scopes: string[];
|
|
505
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
506
|
+
};
|
|
507
|
+
convex: FunctionConvexTarget | undefined;
|
|
508
|
+
args: z.ZodTypeAny;
|
|
509
|
+
returns: z.ZodTypeAny;
|
|
510
|
+
input: z.ZodTypeAny;
|
|
511
|
+
output: z.ZodTypeAny;
|
|
470
512
|
openapi: {
|
|
471
513
|
summary: string;
|
|
472
514
|
tags: string[];
|