@lucern/contracts 0.3.0-alpha.1 → 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 +1 -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 +41 -41
- package/dist/function-registry/beliefs.js +709 -31
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.js +694 -31
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +13 -13
- package/dist/function-registry/context.js +700 -35
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.js +665 -28
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.js +665 -28
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +156 -0
- package/dist/function-registry/edges.js +876 -60
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +33 -33
- package/dist/function-registry/evidence.js +717 -37
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +131 -53
- package/dist/function-registry/graph.js +781 -35
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +3 -3
- package/dist/function-registry/helpers.js +665 -28
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.js +665 -28
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +321 -7
- package/dist/function-registry/index.js +1046 -33
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +9 -9
- package/dist/function-registry/judgments.js +677 -31
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.js +665 -28
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +17 -17
- package/dist/function-registry/lenses.js +688 -31
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +6 -6
- package/dist/function-registry/manifest.js +18 -2
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +45 -45
- package/dist/function-registry/ontologies.js +683 -34
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +13 -13
- package/dist/function-registry/pipeline.js +674 -31
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +49 -49
- package/dist/function-registry/questions.js +762 -36
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +17 -17
- package/dist/function-registry/tasks.js +709 -30
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +99 -21
- package/dist/function-registry/topics.js +747 -32
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +1 -1
- package/dist/function-registry/worktrees.d.ts +80 -41
- package/dist/function-registry/worktrees.js +804 -40
- 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 +4 -3
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/schema-manifest.json +49 -3
- package/dist/generated/tableOwnership.d.ts +2 -1
- package/dist/generated/tableOwnership.js +2 -0
- package/dist/generated/tableOwnership.js.map +1 -1
- package/dist/generated/tier-expectations.json +4 -2
- 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-CV-0_VWJ.d.ts → index-O09U2xHk.d.ts} +5 -2
- package/dist/index.d.ts +24 -413
- package/dist/index.js +3286 -136
- 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/schemas/component-table-manifest.d.ts +2 -2
- 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 +1 -1
- package/dist/schemas/index.js +45 -4
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +1030 -890
- package/dist/schemas/manifest.js +44 -3
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/sl-opinion.d.ts +4 -4
- package/dist/schemas/tables/identity/platform.d.ts +10 -10
- package/dist/schemas/tables/kernel/epistemic.d.ts +6 -6
- package/dist/schemas/tables/kernel/infra.d.ts +4 -4
- 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 +58 -58
- 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/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 +2 -2
- package/dist/{sdk-tools.contract-S4ia0TTo.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 +646 -23
- 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-C92-9ueT.d.ts → tool-contracts-BevD9Ho2.d.ts} +36 -2
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +647 -24
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +9 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* MCP Tool Contract Definitions
|
|
@@ -115,10 +115,10 @@ declare const graphContracts: readonly [{
|
|
|
115
115
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
116
116
|
};
|
|
117
117
|
convex: FunctionConvexTarget | undefined;
|
|
118
|
-
args:
|
|
119
|
-
returns:
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
118
|
+
args: z.ZodTypeAny;
|
|
119
|
+
returns: z.ZodTypeAny;
|
|
120
|
+
input: z.ZodTypeAny;
|
|
121
|
+
output: z.ZodTypeAny;
|
|
122
122
|
openapi: {
|
|
123
123
|
summary: string;
|
|
124
124
|
tags: string[];
|
|
@@ -154,10 +154,10 @@ declare const graphContracts: readonly [{
|
|
|
154
154
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
155
155
|
};
|
|
156
156
|
convex: FunctionConvexTarget | undefined;
|
|
157
|
-
args:
|
|
158
|
-
returns:
|
|
159
|
-
input:
|
|
160
|
-
output:
|
|
157
|
+
args: z.ZodTypeAny;
|
|
158
|
+
returns: z.ZodTypeAny;
|
|
159
|
+
input: z.ZodTypeAny;
|
|
160
|
+
output: z.ZodTypeAny;
|
|
161
161
|
openapi: {
|
|
162
162
|
summary: string;
|
|
163
163
|
tags: string[];
|
|
@@ -193,10 +193,10 @@ declare const graphContracts: readonly [{
|
|
|
193
193
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
194
194
|
};
|
|
195
195
|
convex: FunctionConvexTarget | undefined;
|
|
196
|
-
args:
|
|
197
|
-
returns:
|
|
198
|
-
input:
|
|
199
|
-
output:
|
|
196
|
+
args: z.ZodTypeAny;
|
|
197
|
+
returns: z.ZodTypeAny;
|
|
198
|
+
input: z.ZodTypeAny;
|
|
199
|
+
output: z.ZodTypeAny;
|
|
200
200
|
openapi: {
|
|
201
201
|
summary: string;
|
|
202
202
|
tags: string[];
|
|
@@ -232,10 +232,10 @@ declare const graphContracts: readonly [{
|
|
|
232
232
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
233
233
|
};
|
|
234
234
|
convex: FunctionConvexTarget | undefined;
|
|
235
|
-
args:
|
|
236
|
-
returns:
|
|
237
|
-
input:
|
|
238
|
-
output:
|
|
235
|
+
args: z.ZodTypeAny;
|
|
236
|
+
returns: z.ZodTypeAny;
|
|
237
|
+
input: z.ZodTypeAny;
|
|
238
|
+
output: z.ZodTypeAny;
|
|
239
239
|
openapi: {
|
|
240
240
|
summary: string;
|
|
241
241
|
tags: string[];
|
|
@@ -271,10 +271,10 @@ declare const graphContracts: readonly [{
|
|
|
271
271
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
272
272
|
};
|
|
273
273
|
convex: FunctionConvexTarget | undefined;
|
|
274
|
-
args:
|
|
275
|
-
returns:
|
|
276
|
-
input:
|
|
277
|
-
output:
|
|
274
|
+
args: z.ZodTypeAny;
|
|
275
|
+
returns: z.ZodTypeAny;
|
|
276
|
+
input: z.ZodTypeAny;
|
|
277
|
+
output: z.ZodTypeAny;
|
|
278
278
|
openapi: {
|
|
279
279
|
summary: string;
|
|
280
280
|
tags: string[];
|
|
@@ -310,10 +310,10 @@ declare const graphContracts: readonly [{
|
|
|
310
310
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
311
311
|
};
|
|
312
312
|
convex: FunctionConvexTarget | undefined;
|
|
313
|
-
args:
|
|
314
|
-
returns:
|
|
315
|
-
input:
|
|
316
|
-
output:
|
|
313
|
+
args: z.ZodTypeAny;
|
|
314
|
+
returns: z.ZodTypeAny;
|
|
315
|
+
input: z.ZodTypeAny;
|
|
316
|
+
output: z.ZodTypeAny;
|
|
317
317
|
openapi: {
|
|
318
318
|
summary: string;
|
|
319
319
|
tags: string[];
|
|
@@ -349,10 +349,10 @@ declare const graphContracts: readonly [{
|
|
|
349
349
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
350
350
|
};
|
|
351
351
|
convex: FunctionConvexTarget | undefined;
|
|
352
|
-
args:
|
|
353
|
-
returns:
|
|
354
|
-
input:
|
|
355
|
-
output:
|
|
352
|
+
args: z.ZodTypeAny;
|
|
353
|
+
returns: z.ZodTypeAny;
|
|
354
|
+
input: z.ZodTypeAny;
|
|
355
|
+
output: z.ZodTypeAny;
|
|
356
356
|
openapi: {
|
|
357
357
|
summary: string;
|
|
358
358
|
tags: string[];
|
|
@@ -388,10 +388,10 @@ declare const graphContracts: readonly [{
|
|
|
388
388
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
389
389
|
};
|
|
390
390
|
convex: FunctionConvexTarget | undefined;
|
|
391
|
-
args:
|
|
392
|
-
returns:
|
|
393
|
-
input:
|
|
394
|
-
output:
|
|
391
|
+
args: z.ZodTypeAny;
|
|
392
|
+
returns: z.ZodTypeAny;
|
|
393
|
+
input: z.ZodTypeAny;
|
|
394
|
+
output: z.ZodTypeAny;
|
|
395
395
|
openapi: {
|
|
396
396
|
summary: string;
|
|
397
397
|
tags: string[];
|
|
@@ -427,10 +427,10 @@ declare const graphContracts: readonly [{
|
|
|
427
427
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
428
428
|
};
|
|
429
429
|
convex: FunctionConvexTarget | undefined;
|
|
430
|
-
args:
|
|
431
|
-
returns:
|
|
432
|
-
input:
|
|
433
|
-
output:
|
|
430
|
+
args: z.ZodTypeAny;
|
|
431
|
+
returns: z.ZodTypeAny;
|
|
432
|
+
input: z.ZodTypeAny;
|
|
433
|
+
output: z.ZodTypeAny;
|
|
434
434
|
openapi: {
|
|
435
435
|
summary: string;
|
|
436
436
|
tags: string[];
|
|
@@ -466,10 +466,10 @@ declare const graphContracts: readonly [{
|
|
|
466
466
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
467
467
|
};
|
|
468
468
|
convex: FunctionConvexTarget | undefined;
|
|
469
|
-
args:
|
|
470
|
-
returns:
|
|
471
|
-
input:
|
|
472
|
-
output:
|
|
469
|
+
args: z.ZodTypeAny;
|
|
470
|
+
returns: z.ZodTypeAny;
|
|
471
|
+
input: z.ZodTypeAny;
|
|
472
|
+
output: z.ZodTypeAny;
|
|
473
473
|
openapi: {
|
|
474
474
|
summary: string;
|
|
475
475
|
tags: string[];
|
|
@@ -505,10 +505,10 @@ declare const graphContracts: readonly [{
|
|
|
505
505
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
506
506
|
};
|
|
507
507
|
convex: FunctionConvexTarget | undefined;
|
|
508
|
-
args:
|
|
509
|
-
returns:
|
|
510
|
-
input:
|
|
511
|
-
output:
|
|
508
|
+
args: z.ZodTypeAny;
|
|
509
|
+
returns: z.ZodTypeAny;
|
|
510
|
+
input: z.ZodTypeAny;
|
|
511
|
+
output: z.ZodTypeAny;
|
|
512
512
|
openapi: {
|
|
513
513
|
summary: string;
|
|
514
514
|
tags: string[];
|
|
@@ -544,10 +544,10 @@ declare const graphContracts: readonly [{
|
|
|
544
544
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
545
545
|
};
|
|
546
546
|
convex: FunctionConvexTarget | undefined;
|
|
547
|
-
args:
|
|
548
|
-
returns:
|
|
549
|
-
input:
|
|
550
|
-
output:
|
|
547
|
+
args: z.ZodTypeAny;
|
|
548
|
+
returns: z.ZodTypeAny;
|
|
549
|
+
input: z.ZodTypeAny;
|
|
550
|
+
output: z.ZodTypeAny;
|
|
551
551
|
openapi: {
|
|
552
552
|
summary: string;
|
|
553
553
|
tags: string[];
|
|
@@ -583,10 +583,88 @@ declare const graphContracts: readonly [{
|
|
|
583
583
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
584
584
|
};
|
|
585
585
|
convex: FunctionConvexTarget | undefined;
|
|
586
|
-
args:
|
|
587
|
-
returns:
|
|
588
|
-
input:
|
|
589
|
-
output:
|
|
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;
|
|
590
668
|
openapi: {
|
|
591
669
|
summary: string;
|
|
592
670
|
tags: string[];
|