@lucern/contracts 0.1.2-alpha.5 → 0.3.0-alpha.0
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/defineFunction-DO97DKs4.d.ts +14 -0
- package/dist/defineTable-CBQ03FXl.d.ts +36 -0
- package/dist/dsl-BgpoVOVQ.d.ts +110 -0
- package/dist/dsl.d.ts +5 -0
- package/dist/dsl.js +675 -0
- package/dist/dsl.js.map +1 -0
- package/dist/function-registry/beliefs.d.ts +519 -0
- package/dist/function-registry/beliefs.js +4326 -0
- package/dist/function-registry/beliefs.js.map +1 -0
- package/dist/function-registry/coding.d.ts +347 -0
- package/dist/function-registry/coding.js +4268 -0
- package/dist/function-registry/coding.js.map +1 -0
- package/dist/function-registry/context.d.ts +218 -0
- package/dist/function-registry/context.js +4175 -0
- package/dist/function-registry/context.js.map +1 -0
- package/dist/function-registry/contracts.d.ts +218 -0
- package/dist/function-registry/contracts.js +4143 -0
- package/dist/function-registry/contracts.js.map +1 -0
- package/dist/function-registry/coordination.d.ts +476 -0
- package/dist/function-registry/coordination.js +4254 -0
- package/dist/function-registry/coordination.js.map +1 -0
- package/dist/function-registry/edges.d.ts +175 -0
- package/dist/function-registry/edges.js +4150 -0
- package/dist/function-registry/edges.js.map +1 -0
- package/dist/function-registry/evidence.d.ts +433 -0
- package/dist/function-registry/evidence.js +4302 -0
- package/dist/function-registry/evidence.js.map +1 -0
- package/dist/function-registry/graph.d.ts +648 -0
- package/dist/function-registry/graph.js +4329 -0
- package/dist/function-registry/graph.js.map +1 -0
- package/dist/function-registry/helpers.d.ts +86 -0
- package/dist/function-registry/helpers.js +4131 -0
- package/dist/function-registry/helpers.js.map +1 -0
- package/dist/function-registry/identity.d.ts +218 -0
- package/dist/function-registry/identity.js +4154 -0
- package/dist/function-registry/identity.js.map +1 -0
- package/dist/function-registry/index.d.ts +32 -0
- package/dist/function-registry/index.js +4235 -0
- package/dist/function-registry/index.js.map +1 -0
- package/dist/function-registry/judgments.d.ts +175 -0
- package/dist/function-registry/judgments.js +4157 -0
- package/dist/function-registry/judgments.js.map +1 -0
- package/dist/function-registry/legacy.d.ts +132 -0
- package/dist/function-registry/legacy.js +4118 -0
- package/dist/function-registry/legacy.js.map +1 -0
- package/dist/function-registry/lenses.d.ts +261 -0
- package/dist/function-registry/lenses.js +4160 -0
- package/dist/function-registry/lenses.js.map +1 -0
- package/dist/function-registry/manifest.d.ts +36 -0
- package/dist/function-registry/manifest.js +366 -0
- package/dist/function-registry/manifest.js.map +1 -0
- package/dist/function-registry/ontologies.d.ts +562 -0
- package/dist/function-registry/ontologies.js +4292 -0
- package/dist/function-registry/ontologies.js.map +1 -0
- package/dist/function-registry/pipeline.d.ts +218 -0
- package/dist/function-registry/pipeline.js +4143 -0
- package/dist/function-registry/pipeline.js.map +1 -0
- package/dist/function-registry/questions.d.ts +605 -0
- package/dist/function-registry/questions.js +4329 -0
- package/dist/function-registry/questions.js.map +1 -0
- package/dist/function-registry/tasks.d.ts +261 -0
- package/dist/function-registry/tasks.js +4166 -0
- package/dist/function-registry/tasks.js.map +1 -0
- package/dist/function-registry/topics.d.ts +304 -0
- package/dist/function-registry/topics.js +4193 -0
- package/dist/function-registry/topics.js.map +1 -0
- package/dist/function-registry/types.d.ts +84 -0
- package/dist/function-registry/types.js +3 -0
- package/dist/function-registry/types.js.map +1 -0
- package/dist/function-registry/worktrees.d.ts +476 -0
- package/dist/function-registry/worktrees.js +4277 -0
- package/dist/function-registry/worktrees.js.map +1 -0
- package/dist/generated/convexSchemas.d.ts +20 -0
- package/dist/generated/convexSchemas.js +160 -0
- package/dist/generated/convexSchemas.js.map +1 -0
- package/dist/generated/schema-manifest.json +5179 -0
- package/dist/generated/tableOwnership.d.ts +127 -0
- package/dist/generated/tableOwnership.js +276 -0
- package/dist/generated/tableOwnership.js.map +1 -0
- package/dist/generated/tier-expectations.json +360 -0
- package/dist/idOf-DR8tkhQS.d.ts +10 -0
- package/dist/index-DoDXl8KS.d.ts +19 -0
- package/dist/index.d.ts +11 -2
- package/dist/index.js +5739 -315
- package/dist/index.js.map +1 -1
- package/dist/schema-helpers/enumValidation.d.ts +17 -0
- package/dist/schema-helpers/enumValidation.js +143 -0
- package/dist/schema-helpers/enumValidation.js.map +1 -0
- package/dist/schema-helpers/spine/nodes/decision.d.ts +19 -0
- package/dist/schema-helpers/spine/nodes/decision.js +81 -0
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.d.ts +9 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +62 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -0
- package/dist/schema-helpers/topicIds.d.ts +17 -0
- package/dist/schema-helpers/topicIds.js +21 -0
- package/dist/schema-helpers/topicIds.js.map +1 -0
- package/dist/schema-helpers/topicLegacyScope.d.ts +19 -0
- package/dist/schema-helpers/topicLegacyScope.js +44 -0
- package/dist/schema-helpers/topicLegacyScope.js.map +1 -0
- package/dist/schema-helpers/validators.d.ts +8 -0
- package/dist/schema-helpers/validators.js +18 -0
- package/dist/schema-helpers/validators.js.map +1 -0
- package/dist/schemas/enums.d.ts +12 -0
- package/dist/schemas/enums.js +11 -0
- package/dist/schemas/enums.js.map +1 -0
- package/dist/schemas/index.d.ts +5 -0
- package/dist/schemas/index.js +4240 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/manifest.d.ts +24521 -0
- package/dist/schemas/manifest.js +4242 -0
- package/dist/schemas/manifest.js.map +1 -0
- package/dist/schemas/tables/identity/agent.d.ts +21 -0
- package/dist/schemas/tables/identity/agent.js +41 -0
- package/dist/schemas/tables/identity/agent.js.map +1 -0
- package/dist/schemas/tables/identity/epistemic.d.ts +18 -0
- package/dist/schemas/tables/identity/epistemic.js +38 -0
- package/dist/schemas/tables/identity/epistemic.js.map +1 -0
- package/dist/schemas/tables/identity/model.d.ts +62 -0
- package/dist/schemas/tables/identity/model.js +110 -0
- package/dist/schemas/tables/identity/model.js.map +1 -0
- package/dist/schemas/tables/identity/platform.d.ts +392 -0
- package/dist/schemas/tables/identity/platform.js +475 -0
- package/dist/schemas/tables/identity/platform.js.map +1 -0
- package/dist/schemas/tables/identity/project.d.ts +22 -0
- package/dist/schemas/tables/identity/project.js +48 -0
- package/dist/schemas/tables/identity/project.js.map +1 -0
- package/dist/schemas/tables/identity/user.d.ts +26 -0
- package/dist/schemas/tables/identity/user.js +47 -0
- package/dist/schemas/tables/identity/user.js.map +1 -0
- package/dist/schemas/tables/kernel/config.d.ts +20 -0
- package/dist/schemas/tables/kernel/config.js +39 -0
- package/dist/schemas/tables/kernel/config.js.map +1 -0
- package/dist/schemas/tables/kernel/coordination.d.ts +30 -0
- package/dist/schemas/tables/kernel/coordination.js +57 -0
- package/dist/schemas/tables/kernel/coordination.js.map +1 -0
- package/dist/schemas/tables/kernel/decision.d.ts +246 -0
- package/dist/schemas/tables/kernel/decision.js +371 -0
- package/dist/schemas/tables/kernel/decision.js.map +1 -0
- package/dist/schemas/tables/kernel/embedding.d.ts +18 -0
- package/dist/schemas/tables/kernel/embedding.js +48 -0
- package/dist/schemas/tables/kernel/embedding.js.map +1 -0
- package/dist/schemas/tables/kernel/epistemic.d.ts +315 -0
- package/dist/schemas/tables/kernel/epistemic.js +327 -0
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -0
- package/dist/schemas/tables/kernel/idempotency.d.ts +13 -0
- package/dist/schemas/tables/kernel/idempotency.js +31 -0
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -0
- package/dist/schemas/tables/kernel/infra.d.ts +171 -0
- package/dist/schemas/tables/kernel/infra.js +160 -0
- package/dist/schemas/tables/kernel/infra.js.map +1 -0
- package/dist/schemas/tables/kernel/intelligence.d.ts +293 -0
- package/dist/schemas/tables/kernel/intelligence.js +207 -0
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -0
- package/dist/schemas/tables/kernel/lens.d.ts +192 -0
- package/dist/schemas/tables/kernel/lens.js +122 -0
- package/dist/schemas/tables/kernel/lens.js.map +1 -0
- package/dist/schemas/tables/kernel/ontology.d.ts +89 -0
- package/dist/schemas/tables/kernel/ontology.js +91 -0
- package/dist/schemas/tables/kernel/ontology.js.map +1 -0
- package/dist/schemas/tables/kernel/platform.d.ts +353 -0
- package/dist/schemas/tables/kernel/platform.js +349 -0
- package/dist/schemas/tables/kernel/platform.js.map +1 -0
- package/dist/schemas/tables/kernel/spine.d.ts +206 -0
- package/dist/schemas/tables/kernel/spine.js +243 -0
- package/dist/schemas/tables/kernel/spine.js.map +1 -0
- package/dist/schemas/tables/kernel/task.d.ts +614 -0
- package/dist/schemas/tables/kernel/task.js +189 -0
- package/dist/schemas/tables/kernel/task.js.map +1 -0
- package/dist/schemas/tables/kernel/topic.d.ts +25 -0
- package/dist/schemas/tables/kernel/topic.js +62 -0
- package/dist/schemas/tables/kernel/topic.js.map +1 -0
- package/dist/schemas/tables/kernel/workflow.d.ts +45 -0
- package/dist/schemas/tables/kernel/workflow.js +94 -0
- package/dist/schemas/tables/kernel/workflow.js.map +1 -0
- package/dist/schemas/tables/kernel/worktree.d.ts +823 -0
- package/dist/schemas/tables/kernel/worktree.js +328 -0
- package/dist/schemas/tables/kernel/worktree.js.map +1 -0
- package/dist/schemas/tables/mc/identity.d.ts +134 -0
- package/dist/schemas/tables/mc/identity.js +221 -0
- package/dist/schemas/tables/mc/identity.js.map +1 -0
- package/dist/schemas/tables/mc/methodology.d.ts +46 -0
- package/dist/schemas/tables/mc/methodology.js +69 -0
- package/dist/schemas/tables/mc/methodology.js.map +1 -0
- package/dist/schemas/tables/mc/pack.d.ts +540 -0
- package/dist/schemas/tables/mc/pack.js +294 -0
- package/dist/schemas/tables/mc/pack.js.map +1 -0
- package/dist/schemas/tables/mc/policy.d.ts +57 -0
- package/dist/schemas/tables/mc/policy.js +121 -0
- package/dist/schemas/tables/mc/policy.js.map +1 -0
- package/dist/schemas/tables/mc/registry.d.ts +155 -0
- package/dist/schemas/tables/mc/registry.js +164 -0
- package/dist/schemas/tables/mc/registry.js.map +1 -0
- package/dist/schemas/tables/mc/runtime.d.ts +119 -0
- package/dist/schemas/tables/mc/runtime.js +199 -0
- package/dist/schemas/tables/mc/runtime.js.map +1 -0
- package/dist/schemas/tables/mc/tenant.d.ts +106 -0
- package/dist/schemas/tables/mc/tenant.js +114 -0
- package/dist/schemas/tables/mc/tenant.js.map +1 -0
- package/dist/schemas/tables/mc/workspace.d.ts +28 -0
- package/dist/schemas/tables/mc/workspace.js +52 -0
- package/dist/schemas/tables/mc/workspace.js.map +1 -0
- package/dist/{sdk-tools.contract-BnV0hKLp.d.ts → sdk-tools.contract-C2kQN_Xk.d.ts} +3 -7
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +664 -175
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tool-contracts-WCnuE9DW.d.ts +288 -0
- package/dist/tool-contracts.d.ts +1 -0
- package/dist/{mcp-tools.contract.js → tool-contracts.js} +666 -116
- package/dist/tool-contracts.js.map +1 -0
- package/package.json +119 -2
- package/dist/mcp-tools.contract-D8kXcP6d.d.ts +0 -254
- package/dist/mcp-tools.contract.d.ts +0 -1
- package/dist/mcp-tools.contract.js.map +0 -1
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import * as zod from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* MCP Tool Contract Definitions
|
|
5
|
+
*
|
|
6
|
+
* Machine-readable source of truth for all Lucern MCP tool names,
|
|
7
|
+
* descriptions, parameters, and response schemas.
|
|
8
|
+
*
|
|
9
|
+
* CONTRACT SURFACE: These definitions are the external API for AI agents.
|
|
10
|
+
* Renaming a tool or changing its description is a BREAKING CHANGE.
|
|
11
|
+
*
|
|
12
|
+
* Git-native naming rules (enforced by lint):
|
|
13
|
+
* 1. Workflow tools use git verbs directly (add_worktree, merge, push, open_pull_request)
|
|
14
|
+
* 2. Knowledge tools use epistemic verbs (create_belief, fork_belief, modulate_confidence)
|
|
15
|
+
* 3. First sentence of description includes the git analog verb
|
|
16
|
+
* 4. Description includes "Like `git X`" parenthetical
|
|
17
|
+
* 5. Parameter names use domain terms (canonicalText, nodeId, confidence)
|
|
18
|
+
*/
|
|
19
|
+
type McpToolContract = {
|
|
20
|
+
/** Stable tool name — breaking change to rename */
|
|
21
|
+
name: string;
|
|
22
|
+
/** Git-semantic description — breaking change to remove git references */
|
|
23
|
+
description: string;
|
|
24
|
+
/** Parameter schema (JSON Schema subset) */
|
|
25
|
+
parameters: Record<string, McpParameterDef>;
|
|
26
|
+
/** Required parameter names */
|
|
27
|
+
required: string[];
|
|
28
|
+
/** Response shape description */
|
|
29
|
+
response: McpResponseDef;
|
|
30
|
+
/** Which Lucern module owns the implementation */
|
|
31
|
+
ownerModule: string;
|
|
32
|
+
/** Ontology primitive this tool operates on */
|
|
33
|
+
ontologyPrimitive: "belief" | "evidence" | "source" | "question" | "judgment" | "worktree" | "branch" | "lens" | "edge" | "graph" | "task" | "policy" | "ontology" | "identity";
|
|
34
|
+
/** MCP surface tier — showcase (front page, every demo) or workhorse (complete CRUD, discovered when building) */
|
|
35
|
+
tier: "showcase" | "workhorse";
|
|
36
|
+
/** Hide this tool from public discovery surfaces. */
|
|
37
|
+
internal?: boolean;
|
|
38
|
+
/** Deprecation notice shown in contract-driven docs and discovery. */
|
|
39
|
+
deprecated?: string;
|
|
40
|
+
};
|
|
41
|
+
type McpParameterDef = {
|
|
42
|
+
type: "string" | "number" | "boolean" | "array" | "object";
|
|
43
|
+
description: string;
|
|
44
|
+
required?: boolean;
|
|
45
|
+
enum?: string[];
|
|
46
|
+
};
|
|
47
|
+
type McpResponseDef = {
|
|
48
|
+
description: string;
|
|
49
|
+
fields: Record<string, string>;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type FunctionEffect = "read" | "write" | "admin";
|
|
53
|
+
|
|
54
|
+
type FunctionKind = "query" | "mutation" | "action";
|
|
55
|
+
type FunctionIdempotency = boolean | "required";
|
|
56
|
+
type FunctionSurfaceIntent = "mcp_core" | "mcp_analysis" | "mcp_workflow" | "mcp_governance" | "system" | "compatibility" | "sdk_granular";
|
|
57
|
+
type SurfaceClass = "platform_public" | "tenant_public" | "platform_internal" | "legacy_compat" | "application_tool" | "external_connector";
|
|
58
|
+
type SurfaceExposure = "public" | "internal" | "none";
|
|
59
|
+
type FunctionSurfaceMap = {
|
|
60
|
+
sdk: SurfaceExposure;
|
|
61
|
+
rest: SurfaceExposure;
|
|
62
|
+
mcp: SurfaceExposure;
|
|
63
|
+
cli: SurfaceExposure;
|
|
64
|
+
};
|
|
65
|
+
type ContractProjectionContext = {
|
|
66
|
+
tenantId?: string;
|
|
67
|
+
workspaceId?: string;
|
|
68
|
+
userId?: string;
|
|
69
|
+
principalId?: string;
|
|
70
|
+
correlationId?: string;
|
|
71
|
+
policyTraceId?: string;
|
|
72
|
+
idempotencyKey?: string;
|
|
73
|
+
};
|
|
74
|
+
type ContractInputProjection = (input: Record<string, unknown>, context: ContractProjectionContext) => Record<string, unknown>;
|
|
75
|
+
type ContractOutputProjection = (output: unknown, input: Record<string, unknown>, context: ContractProjectionContext) => unknown;
|
|
76
|
+
type FunctionConvexTarget = {
|
|
77
|
+
module: string;
|
|
78
|
+
functionName: string;
|
|
79
|
+
kind: FunctionKind;
|
|
80
|
+
injectSessionId?: "sessionId" | "fromSessionId";
|
|
81
|
+
injectSessionContext?: boolean;
|
|
82
|
+
broadcastToAll?: boolean;
|
|
83
|
+
inputProjection?: ContractInputProjection;
|
|
84
|
+
outputProjection?: ContractOutputProjection;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
declare const pipelineContracts: readonly [{
|
|
88
|
+
name: string;
|
|
89
|
+
kind: FunctionKind;
|
|
90
|
+
idempotent: FunctionIdempotency;
|
|
91
|
+
effects: readonly FunctionEffect[];
|
|
92
|
+
invariants: readonly string[] | undefined;
|
|
93
|
+
surfaceIntent: FunctionSurfaceIntent;
|
|
94
|
+
domain: string;
|
|
95
|
+
surfaceClass: SurfaceClass;
|
|
96
|
+
surfaces: FunctionSurfaceMap;
|
|
97
|
+
replacedBy: string | undefined;
|
|
98
|
+
rest: {
|
|
99
|
+
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
100
|
+
path: string;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
namespace: string;
|
|
104
|
+
method: string;
|
|
105
|
+
};
|
|
106
|
+
mcp: {
|
|
107
|
+
exposed: boolean;
|
|
108
|
+
toolName: string;
|
|
109
|
+
} & McpToolContract & {
|
|
110
|
+
exposed: boolean;
|
|
111
|
+
toolName: string;
|
|
112
|
+
};
|
|
113
|
+
auth: {
|
|
114
|
+
scopes: string[];
|
|
115
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
116
|
+
};
|
|
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;
|
|
126
|
+
openapi: {
|
|
127
|
+
summary: string;
|
|
128
|
+
tags: string[];
|
|
129
|
+
};
|
|
130
|
+
}, {
|
|
131
|
+
name: string;
|
|
132
|
+
kind: FunctionKind;
|
|
133
|
+
idempotent: FunctionIdempotency;
|
|
134
|
+
effects: readonly FunctionEffect[];
|
|
135
|
+
invariants: readonly string[] | undefined;
|
|
136
|
+
surfaceIntent: FunctionSurfaceIntent;
|
|
137
|
+
domain: string;
|
|
138
|
+
surfaceClass: SurfaceClass;
|
|
139
|
+
surfaces: FunctionSurfaceMap;
|
|
140
|
+
replacedBy: string | undefined;
|
|
141
|
+
rest: {
|
|
142
|
+
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
143
|
+
path: string;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
namespace: string;
|
|
147
|
+
method: string;
|
|
148
|
+
};
|
|
149
|
+
mcp: {
|
|
150
|
+
exposed: boolean;
|
|
151
|
+
toolName: string;
|
|
152
|
+
} & McpToolContract & {
|
|
153
|
+
exposed: boolean;
|
|
154
|
+
toolName: string;
|
|
155
|
+
};
|
|
156
|
+
auth: {
|
|
157
|
+
scopes: string[];
|
|
158
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
159
|
+
};
|
|
160
|
+
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;
|
|
169
|
+
openapi: {
|
|
170
|
+
summary: string;
|
|
171
|
+
tags: string[];
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
name: string;
|
|
175
|
+
kind: FunctionKind;
|
|
176
|
+
idempotent: FunctionIdempotency;
|
|
177
|
+
effects: readonly FunctionEffect[];
|
|
178
|
+
invariants: readonly string[] | undefined;
|
|
179
|
+
surfaceIntent: FunctionSurfaceIntent;
|
|
180
|
+
domain: string;
|
|
181
|
+
surfaceClass: SurfaceClass;
|
|
182
|
+
surfaces: FunctionSurfaceMap;
|
|
183
|
+
replacedBy: string | undefined;
|
|
184
|
+
rest: {
|
|
185
|
+
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
186
|
+
path: string;
|
|
187
|
+
};
|
|
188
|
+
sdk: {
|
|
189
|
+
namespace: string;
|
|
190
|
+
method: string;
|
|
191
|
+
};
|
|
192
|
+
mcp: {
|
|
193
|
+
exposed: boolean;
|
|
194
|
+
toolName: string;
|
|
195
|
+
} & McpToolContract & {
|
|
196
|
+
exposed: boolean;
|
|
197
|
+
toolName: string;
|
|
198
|
+
};
|
|
199
|
+
auth: {
|
|
200
|
+
scopes: string[];
|
|
201
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
202
|
+
};
|
|
203
|
+
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;
|
|
212
|
+
openapi: {
|
|
213
|
+
summary: string;
|
|
214
|
+
tags: string[];
|
|
215
|
+
};
|
|
216
|
+
}];
|
|
217
|
+
|
|
218
|
+
export { pipelineContracts };
|