@lucern/contracts 0.3.0-alpha.10 → 0.3.0-alpha.11
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/dist/api-enums.contract.d.ts +5 -3
- package/dist/api-enums.contract.js +14 -12
- package/dist/api-enums.contract.js.map +1 -1
- package/dist/component-boundary.contract.d.ts +1 -1
- package/dist/component-boundary.contract.js +45 -26
- package/dist/component-boundary.contract.js.map +1 -1
- package/dist/component-host-boundary.contract.d.ts +10 -5
- package/dist/component-host-boundary.contract.js +10 -4
- package/dist/component-host-boundary.contract.js.map +1 -1
- package/dist/{defineTable-CBQ03FXl.d.ts → defineTable-t1wr5wgn.d.ts} +1 -1
- package/dist/{dsl-djCRfuWC.d.ts → dsl-DVPthQGY.d.ts} +1 -1
- package/dist/dsl.d.ts +2 -2
- package/dist/dsl.js.map +1 -1
- package/dist/function-registry/beliefs.d.ts +13 -0
- package/dist/function-registry/beliefs.js +50 -7
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +9 -0
- package/dist/function-registry/coding.js +117 -8
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +6 -0
- package/dist/function-registry/context.js +50 -7
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +6 -0
- package/dist/function-registry/contracts.js +50 -7
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +12 -0
- package/dist/function-registry/coordination.js +50 -7
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +9 -0
- package/dist/function-registry/edges.js +54 -14
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +11 -0
- package/dist/function-registry/evidence.js +53 -11
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +18 -0
- package/dist/function-registry/graph.js +50 -7
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +4 -1
- package/dist/function-registry/helpers.js +51 -8
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +6 -0
- package/dist/function-registry/identity.js +50 -7
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +8 -320
- package/dist/function-registry/index.js +54 -384
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +5 -0
- package/dist/function-registry/judgments.js +50 -7
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +4 -0
- package/dist/function-registry/legacy.js +50 -7
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +7 -0
- package/dist/function-registry/lenses.js +50 -7
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/nodes.d.ts +412 -0
- package/dist/function-registry/nodes.js +5303 -0
- package/dist/function-registry/nodes.js.map +1 -0
- package/dist/function-registry/ontologies.d.ts +14 -0
- package/dist/function-registry/ontologies.js +50 -7
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +6 -0
- package/dist/function-registry/pipeline.js +50 -7
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +15 -0
- package/dist/function-registry/questions.js +50 -7
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +7 -0
- package/dist/function-registry/tasks.js +69 -16
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +10 -0
- package/dist/function-registry/topics.js +50 -7
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +5 -1
- package/dist/function-registry/worktrees.d.ts +14 -0
- package/dist/function-registry/worktrees.js +50 -7
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/gateway.contract.d.ts +3 -0
- package/dist/gateway.contract.js.map +1 -1
- package/dist/generated/convexSchemas.d.ts +3 -3
- package/dist/generated/convexSchemas.js +35 -16
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/infisicalRuntimeEnv.d.ts +70 -0
- package/dist/generated/infisicalRuntimeEnv.js +26572 -0
- package/dist/generated/infisicalRuntimeEnv.js.map +1 -0
- package/dist/generated/lucernGatewayEnv.d.ts +17 -0
- package/dist/generated/lucernGatewayEnv.js +38 -0
- package/dist/generated/lucernGatewayEnv.js.map +1 -0
- package/dist/generated/lucernWebPublicEnv.d.ts +26 -0
- package/dist/generated/lucernWebPublicEnv.js +32 -0
- package/dist/generated/lucernWebPublicEnv.js.map +1 -0
- package/dist/generated/lucernWebServerEnv.d.ts +33 -0
- package/dist/generated/lucernWebServerEnv.js +51 -0
- package/dist/generated/lucernWebServerEnv.js.map +1 -0
- package/dist/generated/schema-manifest.json +1165 -150
- package/dist/generated/tableOwnership.d.ts +46 -27
- package/dist/generated/tableOwnership.js +64 -26
- package/dist/generated/tableOwnership.js.map +1 -1
- package/dist/generated/tier-expectations.json +60 -8
- package/dist/{index-O09U2xHk.d.ts → index-CM1Pl_vI.d.ts} +3 -3
- package/dist/index.d.ts +8 -4
- package/dist/index.js +30959 -406
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +1597 -3
- package/dist/infisical-runtime.contract.js +2788 -12
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +1524 -3
- package/dist/manifests/infisical-runtime-manifest.js +2641 -9
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/manifests/tenant-client-manifest.d.ts +11 -11
- package/dist/manifests/tenant-client-manifest.js +11 -11
- package/dist/manifests/tenant-client-manifest.js.map +1 -1
- package/dist/mcp-gateway-boundary.contract.d.ts +23 -3
- package/dist/mcp-gateway-boundary.contract.js +2 -0
- package/dist/mcp-gateway-boundary.contract.js.map +1 -1
- package/dist/projections/check-convex-args-shape.js +10 -6
- package/dist/projections/check-convex-args-shape.js.map +1 -1
- package/dist/projections/create-evidence.projection.d.ts +6 -6
- package/dist/projections/create-evidence.projection.js +2 -3
- package/dist/projections/create-evidence.projection.js.map +1 -1
- package/dist/projections/index.d.ts +3 -3
- package/dist/projections/index.js +10 -6
- package/dist/projections/index.js.map +1 -1
- package/dist/projections/list-tasks.projection.d.ts +20 -8
- package/dist/projections/list-tasks.projection.js +8 -3
- package/dist/projections/list-tasks.projection.js.map +1 -1
- package/dist/proof-attestation.json +45 -0
- package/dist/schemas/component-table-manifest.d.ts +6 -6
- package/dist/schemas/component-table-manifest.js +2 -2
- package/dist/schemas/component-table-manifest.js.map +1 -1
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.js +1086 -137
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +2010 -120
- package/dist/schemas/manifest.js +1084 -135
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/controlPlane/accessControl.d.ts +260 -0
- package/dist/schemas/tables/controlPlane/accessControl.js +653 -0
- package/dist/schemas/tables/controlPlane/accessControl.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/agent.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/agent.js +3 -3
- package/dist/schemas/tables/controlPlane/agent.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/epistemic.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/epistemic.js +3 -3
- package/dist/schemas/tables/controlPlane/epistemic.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/model.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/model.js +6 -6
- package/dist/schemas/tables/controlPlane/model.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/platform.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/platform.js +18 -18
- package/dist/schemas/tables/controlPlane/platform.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/project.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/project.js +3 -3
- package/dist/schemas/tables/controlPlane/project.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/user.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/user.js +3 -3
- package/dist/schemas/tables/controlPlane/user.js.map +1 -0
- package/dist/schemas/tables/kernel/config.d.ts +1 -1
- package/dist/schemas/tables/kernel/config.js.map +1 -1
- package/dist/schemas/tables/kernel/coordination.d.ts +1 -1
- package/dist/schemas/tables/kernel/coordination.js.map +1 -1
- package/dist/schemas/tables/kernel/decision.d.ts +1 -1
- package/dist/schemas/tables/kernel/decision.js.map +1 -1
- package/dist/schemas/tables/kernel/embedding.d.ts +1 -1
- package/dist/schemas/tables/kernel/embedding.js.map +1 -1
- package/dist/schemas/tables/kernel/epistemic.d.ts +1 -1
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -1
- package/dist/schemas/tables/kernel/idempotency.d.ts +1 -1
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -1
- package/dist/schemas/tables/kernel/infra.d.ts +1 -1
- package/dist/schemas/tables/kernel/infra.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +1 -1
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -1
- package/dist/schemas/tables/kernel/lens.d.ts +1 -1
- package/dist/schemas/tables/kernel/lens.js.map +1 -1
- package/dist/schemas/tables/kernel/ontology.d.ts +1 -1
- package/dist/schemas/tables/kernel/ontology.js.map +1 -1
- package/dist/schemas/tables/kernel/platform.d.ts +1 -1
- package/dist/schemas/tables/kernel/platform.js.map +1 -1
- package/dist/schemas/tables/kernel/spine.d.ts +2 -1
- package/dist/schemas/tables/kernel/spine.js +1 -0
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/task.d.ts +1 -1
- package/dist/schemas/tables/kernel/task.js.map +1 -1
- package/dist/schemas/tables/kernel/topic.d.ts +1 -1
- package/dist/schemas/tables/kernel/topic.js.map +1 -1
- package/dist/schemas/tables/kernel/workflow.d.ts +1 -1
- package/dist/schemas/tables/kernel/workflow.js.map +1 -1
- package/dist/schemas/tables/kernel/worktree.d.ts +5 -5
- package/dist/schemas/tables/kernel/worktree.js.map +1 -1
- package/dist/schemas/tables/mc/identity.d.ts +19 -2
- package/dist/schemas/tables/mc/identity.js +32 -1
- package/dist/schemas/tables/mc/identity.js.map +1 -1
- package/dist/schemas/tables/mc/methodology.d.ts +1 -1
- package/dist/schemas/tables/mc/methodology.js.map +1 -1
- package/dist/schemas/tables/mc/pack.d.ts +1 -1
- package/dist/schemas/tables/mc/pack.js.map +1 -1
- package/dist/schemas/tables/mc/policy.d.ts +2 -2
- package/dist/schemas/tables/mc/policy.js +1 -1
- package/dist/schemas/tables/mc/policy.js.map +1 -1
- package/dist/schemas/tables/mc/registry.d.ts +1 -1
- package/dist/schemas/tables/mc/registry.js.map +1 -1
- package/dist/schemas/tables/mc/runtime.d.ts +109 -3
- package/dist/schemas/tables/mc/runtime.js +330 -104
- package/dist/schemas/tables/mc/runtime.js.map +1 -1
- package/dist/schemas/tables/mc/tenant.d.ts +3 -2
- package/dist/schemas/tables/mc/tenant.js +2 -1
- package/dist/schemas/tables/mc/tenant.js.map +1 -1
- package/dist/schemas/tables/mc/workspace.d.ts +22 -5
- package/dist/schemas/tables/mc/workspace.js +34 -2
- package/dist/schemas/tables/mc/workspace.js.map +1 -1
- package/dist/sdk-tools.contract.js +26 -1
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +226 -58
- package/dist/tenant-bootstrap-seed.contract.js +126 -28
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.defaults.d.ts +1 -1
- package/dist/tenant-bootstrap-seed.defaults.js +1 -1
- package/dist/tenant-bootstrap-seed.defaults.js.map +1 -1
- package/dist/tenant-client.contract.d.ts +12 -12
- package/dist/tenant-client.contract.js +11 -11
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/tool-contracts.js +26 -1
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +22 -1
- package/dist/schemas/tables/identity/agent.js.map +0 -1
- package/dist/schemas/tables/identity/epistemic.js.map +0 -1
- package/dist/schemas/tables/identity/model.js.map +0 -1
- package/dist/schemas/tables/identity/platform.js.map +0 -1
- package/dist/schemas/tables/identity/project.js.map +0 -1
- package/dist/schemas/tables/identity/user.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { ContractInputProjection, ContractOutputProjection, ContractProjectionContext, FunctionMcpContract, FunctionPrincipalType, SurfaceExposure } from './types.js';
|
|
1
|
+
import { FunctionContract } from './types.js';
|
|
2
|
+
export { ContractInputProjection, ContractOutputProjection, ContractProjectionContext, FunctionConvexTarget, FunctionGatewayTarget, FunctionIdempotency, FunctionKind, FunctionMcpContract, FunctionPrincipalType, FunctionSurfaceIntent, FunctionSurfaceMap, SurfaceClass, SurfaceExposure } from './types.js';
|
|
3
3
|
export { argsSchemaFromMcpContract, assertSurfaceCoverage, authUserId, classifyContract, compactRecord, defineFunctionContract, inputSchemaFromMcpContract, jsonObjectSchema, recordValue, surfaceContract, surfaceMcpContract, withCreatedBy, withUserId } from './helpers.js';
|
|
4
4
|
export { DUPLICATE_OPERATION_NAMES, FORBIDDEN_APPLICATION_OPERATION_NAMES, LEGACY_COMPAT_OPERATION_NAMES, LUCERN_OPERATION_MANIFEST, LucernOperationManifestEntry, LucernOperationName, MCP_ANALYSIS_PLATFORM_OPERATION_NAMES, MCP_ANALYSIS_TENANT_OPERATION_NAMES, MCP_AUTOMATION_OPERATION_NAMES, MCP_CORE_OPERATION_NAMES, MCP_GOVERNANCE_PLATFORM_OPERATION_NAMES, MCP_GOVERNANCE_TENANT_OPERATION_NAMES, MCP_ONLY_INTERNAL_OPERATION_NAMES, MCP_WORKFLOW_PLATFORM_OPERATION_NAMES, MCP_WORKFLOW_TENANT_OPERATION_NAMES, PLATFORM_INTERNAL_OPERATION_NAMES, PLATFORM_PUBLIC_OPERATION_NAMES, SDK_ONLY_OPERATION_NAMES, TENANT_PUBLIC_OPERATION_NAMES, surfaceEnabled, surfaceIntentGateViolations } from './manifest.js';
|
|
5
5
|
export { contextContracts } from './context.js';
|
|
@@ -8,9 +8,7 @@ export { beliefsContracts } from './beliefs.js';
|
|
|
8
8
|
export { evidenceContracts } from './evidence.js';
|
|
9
9
|
export { questionsContracts } from './questions.js';
|
|
10
10
|
export { topicsContracts } from './topics.js';
|
|
11
|
-
|
|
12
|
-
import { F as FunctionEffect } from '../defineFunction-DO97DKs4.js';
|
|
13
|
-
import { z } from 'zod';
|
|
11
|
+
export { nodesContracts } from './nodes.js';
|
|
14
12
|
export { lensesContracts } from './lenses.js';
|
|
15
13
|
export { ontologiesContracts } from './ontologies.js';
|
|
16
14
|
export { worktreesContracts } from './worktrees.js';
|
|
@@ -23,324 +21,14 @@ export { coordinationContracts } from './coordination.js';
|
|
|
23
21
|
export { pipelineContracts } from './pipeline.js';
|
|
24
22
|
export { codingContracts } from './coding.js';
|
|
25
23
|
export { legacyContracts } from './legacy.js';
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
idempotent: FunctionIdempotency;
|
|
31
|
-
effects: readonly FunctionEffect[];
|
|
32
|
-
invariants: readonly string[] | undefined;
|
|
33
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
34
|
-
domain: string;
|
|
35
|
-
surfaceClass: SurfaceClass;
|
|
36
|
-
surfaces: FunctionSurfaceMap;
|
|
37
|
-
replacedBy: string | undefined;
|
|
38
|
-
rest: {
|
|
39
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
40
|
-
path: string;
|
|
41
|
-
};
|
|
42
|
-
sdk: {
|
|
43
|
-
namespace: string;
|
|
44
|
-
method: string;
|
|
45
|
-
};
|
|
46
|
-
mcp: {
|
|
47
|
-
exposed: boolean;
|
|
48
|
-
toolName: string;
|
|
49
|
-
} & McpToolContract & {
|
|
50
|
-
exposed: boolean;
|
|
51
|
-
toolName: string;
|
|
52
|
-
};
|
|
53
|
-
auth: {
|
|
54
|
-
scopes: string[];
|
|
55
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
56
|
-
};
|
|
57
|
-
convex: FunctionConvexTarget | undefined;
|
|
58
|
-
args: z.ZodTypeAny;
|
|
59
|
-
returns: z.ZodTypeAny;
|
|
60
|
-
input: z.ZodTypeAny;
|
|
61
|
-
output: z.ZodTypeAny;
|
|
62
|
-
openapi: {
|
|
63
|
-
summary: string;
|
|
64
|
-
tags: string[];
|
|
65
|
-
};
|
|
66
|
-
}, {
|
|
67
|
-
name: string;
|
|
68
|
-
kind: FunctionKind;
|
|
69
|
-
idempotent: FunctionIdempotency;
|
|
70
|
-
effects: readonly FunctionEffect[];
|
|
71
|
-
invariants: readonly string[] | undefined;
|
|
72
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
73
|
-
domain: string;
|
|
74
|
-
surfaceClass: SurfaceClass;
|
|
75
|
-
surfaces: FunctionSurfaceMap;
|
|
76
|
-
replacedBy: string | undefined;
|
|
77
|
-
rest: {
|
|
78
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
79
|
-
path: string;
|
|
80
|
-
};
|
|
81
|
-
sdk: {
|
|
82
|
-
namespace: string;
|
|
83
|
-
method: string;
|
|
84
|
-
};
|
|
85
|
-
mcp: {
|
|
86
|
-
exposed: boolean;
|
|
87
|
-
toolName: string;
|
|
88
|
-
} & McpToolContract & {
|
|
89
|
-
exposed: boolean;
|
|
90
|
-
toolName: string;
|
|
91
|
-
};
|
|
92
|
-
auth: {
|
|
93
|
-
scopes: string[];
|
|
94
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
95
|
-
};
|
|
96
|
-
convex: FunctionConvexTarget | undefined;
|
|
97
|
-
args: z.ZodTypeAny;
|
|
98
|
-
returns: z.ZodTypeAny;
|
|
99
|
-
input: z.ZodTypeAny;
|
|
100
|
-
output: z.ZodTypeAny;
|
|
101
|
-
openapi: {
|
|
102
|
-
summary: string;
|
|
103
|
-
tags: string[];
|
|
104
|
-
};
|
|
105
|
-
}, {
|
|
106
|
-
name: string;
|
|
107
|
-
kind: FunctionKind;
|
|
108
|
-
idempotent: FunctionIdempotency;
|
|
109
|
-
effects: readonly FunctionEffect[];
|
|
110
|
-
invariants: readonly string[] | undefined;
|
|
111
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
112
|
-
domain: string;
|
|
113
|
-
surfaceClass: SurfaceClass;
|
|
114
|
-
surfaces: FunctionSurfaceMap;
|
|
115
|
-
replacedBy: string | undefined;
|
|
116
|
-
rest: {
|
|
117
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
118
|
-
path: string;
|
|
119
|
-
};
|
|
120
|
-
sdk: {
|
|
121
|
-
namespace: string;
|
|
122
|
-
method: string;
|
|
123
|
-
};
|
|
124
|
-
mcp: {
|
|
125
|
-
exposed: boolean;
|
|
126
|
-
toolName: string;
|
|
127
|
-
} & McpToolContract & {
|
|
128
|
-
exposed: boolean;
|
|
129
|
-
toolName: string;
|
|
130
|
-
};
|
|
131
|
-
auth: {
|
|
132
|
-
scopes: string[];
|
|
133
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
134
|
-
};
|
|
135
|
-
convex: FunctionConvexTarget | undefined;
|
|
136
|
-
args: z.ZodTypeAny;
|
|
137
|
-
returns: z.ZodTypeAny;
|
|
138
|
-
input: z.ZodTypeAny;
|
|
139
|
-
output: z.ZodTypeAny;
|
|
140
|
-
openapi: {
|
|
141
|
-
summary: string;
|
|
142
|
-
tags: string[];
|
|
143
|
-
};
|
|
144
|
-
}, {
|
|
145
|
-
name: string;
|
|
146
|
-
kind: FunctionKind;
|
|
147
|
-
idempotent: FunctionIdempotency;
|
|
148
|
-
effects: readonly FunctionEffect[];
|
|
149
|
-
invariants: readonly string[] | undefined;
|
|
150
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
151
|
-
domain: string;
|
|
152
|
-
surfaceClass: SurfaceClass;
|
|
153
|
-
surfaces: FunctionSurfaceMap;
|
|
154
|
-
replacedBy: string | undefined;
|
|
155
|
-
rest: {
|
|
156
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
157
|
-
path: string;
|
|
158
|
-
};
|
|
159
|
-
sdk: {
|
|
160
|
-
namespace: string;
|
|
161
|
-
method: string;
|
|
162
|
-
};
|
|
163
|
-
mcp: {
|
|
164
|
-
exposed: boolean;
|
|
165
|
-
toolName: string;
|
|
166
|
-
} & McpToolContract & {
|
|
167
|
-
exposed: boolean;
|
|
168
|
-
toolName: string;
|
|
169
|
-
};
|
|
170
|
-
auth: {
|
|
171
|
-
scopes: string[];
|
|
172
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
173
|
-
};
|
|
174
|
-
convex: FunctionConvexTarget | undefined;
|
|
175
|
-
args: z.ZodTypeAny;
|
|
176
|
-
returns: z.ZodTypeAny;
|
|
177
|
-
input: z.ZodTypeAny;
|
|
178
|
-
output: z.ZodTypeAny;
|
|
179
|
-
openapi: {
|
|
180
|
-
summary: string;
|
|
181
|
-
tags: string[];
|
|
182
|
-
};
|
|
183
|
-
}, {
|
|
184
|
-
name: string;
|
|
185
|
-
kind: FunctionKind;
|
|
186
|
-
idempotent: FunctionIdempotency;
|
|
187
|
-
effects: readonly FunctionEffect[];
|
|
188
|
-
invariants: readonly string[] | undefined;
|
|
189
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
190
|
-
domain: string;
|
|
191
|
-
surfaceClass: SurfaceClass;
|
|
192
|
-
surfaces: FunctionSurfaceMap;
|
|
193
|
-
replacedBy: string | undefined;
|
|
194
|
-
rest: {
|
|
195
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
196
|
-
path: string;
|
|
197
|
-
};
|
|
198
|
-
sdk: {
|
|
199
|
-
namespace: string;
|
|
200
|
-
method: string;
|
|
201
|
-
};
|
|
202
|
-
mcp: {
|
|
203
|
-
exposed: boolean;
|
|
204
|
-
toolName: string;
|
|
205
|
-
} & McpToolContract & {
|
|
206
|
-
exposed: boolean;
|
|
207
|
-
toolName: string;
|
|
208
|
-
};
|
|
209
|
-
auth: {
|
|
210
|
-
scopes: string[];
|
|
211
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
212
|
-
};
|
|
213
|
-
convex: FunctionConvexTarget | undefined;
|
|
214
|
-
args: z.ZodTypeAny;
|
|
215
|
-
returns: z.ZodTypeAny;
|
|
216
|
-
input: z.ZodTypeAny;
|
|
217
|
-
output: z.ZodTypeAny;
|
|
218
|
-
openapi: {
|
|
219
|
-
summary: string;
|
|
220
|
-
tags: string[];
|
|
221
|
-
};
|
|
222
|
-
}, {
|
|
223
|
-
name: string;
|
|
224
|
-
kind: FunctionKind;
|
|
225
|
-
idempotent: FunctionIdempotency;
|
|
226
|
-
effects: readonly FunctionEffect[];
|
|
227
|
-
invariants: readonly string[] | undefined;
|
|
228
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
229
|
-
domain: string;
|
|
230
|
-
surfaceClass: SurfaceClass;
|
|
231
|
-
surfaces: FunctionSurfaceMap;
|
|
232
|
-
replacedBy: string | undefined;
|
|
233
|
-
rest: {
|
|
234
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
235
|
-
path: string;
|
|
236
|
-
};
|
|
237
|
-
sdk: {
|
|
238
|
-
namespace: string;
|
|
239
|
-
method: string;
|
|
240
|
-
};
|
|
241
|
-
mcp: {
|
|
242
|
-
exposed: boolean;
|
|
243
|
-
toolName: string;
|
|
244
|
-
} & McpToolContract & {
|
|
245
|
-
exposed: boolean;
|
|
246
|
-
toolName: string;
|
|
247
|
-
};
|
|
248
|
-
auth: {
|
|
249
|
-
scopes: string[];
|
|
250
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
251
|
-
};
|
|
252
|
-
convex: FunctionConvexTarget | undefined;
|
|
253
|
-
args: z.ZodTypeAny;
|
|
254
|
-
returns: z.ZodTypeAny;
|
|
255
|
-
input: z.ZodTypeAny;
|
|
256
|
-
output: z.ZodTypeAny;
|
|
257
|
-
openapi: {
|
|
258
|
-
summary: string;
|
|
259
|
-
tags: string[];
|
|
260
|
-
};
|
|
261
|
-
}, {
|
|
262
|
-
name: string;
|
|
263
|
-
kind: FunctionKind;
|
|
264
|
-
idempotent: FunctionIdempotency;
|
|
265
|
-
effects: readonly FunctionEffect[];
|
|
266
|
-
invariants: readonly string[] | undefined;
|
|
267
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
268
|
-
domain: string;
|
|
269
|
-
surfaceClass: SurfaceClass;
|
|
270
|
-
surfaces: FunctionSurfaceMap;
|
|
271
|
-
replacedBy: string | undefined;
|
|
272
|
-
rest: {
|
|
273
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
274
|
-
path: string;
|
|
275
|
-
};
|
|
276
|
-
sdk: {
|
|
277
|
-
namespace: string;
|
|
278
|
-
method: string;
|
|
279
|
-
};
|
|
280
|
-
mcp: {
|
|
281
|
-
exposed: boolean;
|
|
282
|
-
toolName: string;
|
|
283
|
-
} & McpToolContract & {
|
|
284
|
-
exposed: boolean;
|
|
285
|
-
toolName: string;
|
|
286
|
-
};
|
|
287
|
-
auth: {
|
|
288
|
-
scopes: string[];
|
|
289
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
290
|
-
};
|
|
291
|
-
convex: FunctionConvexTarget | undefined;
|
|
292
|
-
args: z.ZodTypeAny;
|
|
293
|
-
returns: z.ZodTypeAny;
|
|
294
|
-
input: z.ZodTypeAny;
|
|
295
|
-
output: z.ZodTypeAny;
|
|
296
|
-
openapi: {
|
|
297
|
-
summary: string;
|
|
298
|
-
tags: string[];
|
|
299
|
-
};
|
|
300
|
-
}, {
|
|
301
|
-
name: string;
|
|
302
|
-
kind: FunctionKind;
|
|
303
|
-
idempotent: FunctionIdempotency;
|
|
304
|
-
effects: readonly FunctionEffect[];
|
|
305
|
-
invariants: readonly string[] | undefined;
|
|
306
|
-
surfaceIntent: FunctionSurfaceIntent;
|
|
307
|
-
domain: string;
|
|
308
|
-
surfaceClass: SurfaceClass;
|
|
309
|
-
surfaces: FunctionSurfaceMap;
|
|
310
|
-
replacedBy: string | undefined;
|
|
311
|
-
rest: {
|
|
312
|
-
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
313
|
-
path: string;
|
|
314
|
-
};
|
|
315
|
-
sdk: {
|
|
316
|
-
namespace: string;
|
|
317
|
-
method: string;
|
|
318
|
-
};
|
|
319
|
-
mcp: {
|
|
320
|
-
exposed: boolean;
|
|
321
|
-
toolName: string;
|
|
322
|
-
} & McpToolContract & {
|
|
323
|
-
exposed: boolean;
|
|
324
|
-
toolName: string;
|
|
325
|
-
};
|
|
326
|
-
auth: {
|
|
327
|
-
scopes: string[];
|
|
328
|
-
allowedPrincipalTypes: ("service" | "agent" | "user")[];
|
|
329
|
-
};
|
|
330
|
-
convex: FunctionConvexTarget | undefined;
|
|
331
|
-
args: z.ZodTypeAny;
|
|
332
|
-
returns: z.ZodTypeAny;
|
|
333
|
-
input: z.ZodTypeAny;
|
|
334
|
-
output: z.ZodTypeAny;
|
|
335
|
-
openapi: {
|
|
336
|
-
summary: string;
|
|
337
|
-
tags: string[];
|
|
338
|
-
};
|
|
339
|
-
}];
|
|
24
|
+
export { NODE_TYPE } from '../schemas/enums.js';
|
|
25
|
+
import 'zod';
|
|
26
|
+
import '../defineFunction-DO97DKs4.js';
|
|
27
|
+
import '../tool-contracts-BevD9Ho2.js';
|
|
340
28
|
|
|
341
29
|
declare const ALL_FUNCTION_CONTRACTS: readonly FunctionContract[];
|
|
342
30
|
declare const FUNCTION_SURFACE_CONTRACTS: readonly FunctionContract[];
|
|
343
31
|
declare const FUNCTION_CONTRACTS_BY_NAME: Map<string, FunctionContract>;
|
|
344
32
|
declare const getFunctionContract: (name: string) => FunctionContract | undefined;
|
|
345
33
|
|
|
346
|
-
export { ALL_FUNCTION_CONTRACTS, FUNCTION_CONTRACTS_BY_NAME, FUNCTION_SURFACE_CONTRACTS, FunctionContract,
|
|
34
|
+
export { ALL_FUNCTION_CONTRACTS, FUNCTION_CONTRACTS_BY_NAME, FUNCTION_SURFACE_CONTRACTS, FunctionContract, getFunctionContract };
|