@lucern/contracts 0.3.0-alpha.0 → 0.3.0-alpha.1
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/dsl.js +3 -0
- package/dist/dsl.js.map +1 -1
- package/dist/function-registry/beliefs.d.ts +11 -51
- package/dist/function-registry/beliefs.js +445 -94
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +7 -31
- package/dist/function-registry/coding.js +264 -81
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +4 -16
- package/dist/function-registry/context.js +223 -62
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +4 -16
- package/dist/function-registry/contracts.js +195 -54
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +10 -46
- package/dist/function-registry/coordination.js +208 -57
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +10 -18
- package/dist/function-registry/edges.js +343 -68
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +17 -49
- package/dist/function-registry/evidence.js +395 -99
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +14 -66
- package/dist/function-registry/graph.js +225 -65
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +6 -8
- package/dist/function-registry/helpers.js +204 -55
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +4 -16
- package/dist/function-registry/identity.js +195 -54
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +2 -2
- package/dist/function-registry/index.js +204 -55
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +5 -13
- package/dist/function-registry/judgments.js +214 -63
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +2 -6
- package/dist/function-registry/legacy.js +195 -54
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +5 -21
- package/dist/function-registry/lenses.js +241 -58
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +3 -3
- package/dist/function-registry/manifest.js +1 -0
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +12 -56
- package/dist/function-registry/ontologies.js +227 -77
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +4 -16
- package/dist/function-registry/pipeline.js +207 -55
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +13 -61
- package/dist/function-registry/questions.js +281 -82
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +5 -21
- package/dist/function-registry/tasks.js +265 -58
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +6 -26
- package/dist/function-registry/topics.js +214 -57
- 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 +49 -46
- package/dist/function-registry/worktrees.js +326 -81
- package/dist/function-registry/worktrees.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 +55 -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 +6 -3
- package/dist/index-CV-0_VWJ.d.ts +25 -0
- package/dist/index.d.ts +414 -4
- package/dist/index.js +665 -62
- package/dist/index.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/index.d.ts +2 -0
- package/dist/schemas/index.js +68 -10
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +110 -45
- package/dist/schemas/manifest.js +36 -9
- 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/kernel/epistemic.d.ts +6 -4
- 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 +13 -1
- package/dist/schemas/tables/kernel/infra.js +23 -1
- package/dist/schemas/tables/kernel/infra.js.map +1 -1
- package/dist/schemas/tables/kernel/worktree.d.ts +4 -4
- package/dist/schemas/tables/kernel/worktree.js +6 -4
- package/dist/schemas/tables/kernel/worktree.js.map +1 -1
- 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/sdk-methods.contract.d.ts +5 -2
- package/dist/{sdk-tools.contract-C2kQN_Xk.d.ts → sdk-tools.contract-S4ia0TTo.d.ts} +1 -1
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +154 -51
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/{tool-contracts-WCnuE9DW.d.ts → tool-contracts-C92-9ueT.d.ts} +5 -3
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +155 -52
- 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 +19 -1
- package/dist/index-DoDXl8KS.d.ts +0 -19
|
@@ -14,7 +14,7 @@ import { z } 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,11 +115,7 @@ declare const codingContracts: readonly [{
|
|
|
115
115
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
116
116
|
};
|
|
117
117
|
convex: FunctionConvexTarget | undefined;
|
|
118
|
-
args: z.
|
|
119
|
-
[x: string]: any;
|
|
120
|
-
}, {
|
|
121
|
-
[x: string]: any;
|
|
122
|
-
}>;
|
|
118
|
+
args: z.ZodTypeAny;
|
|
123
119
|
returns: z.ZodTypeAny;
|
|
124
120
|
input: z.ZodTypeAny;
|
|
125
121
|
output: z.ZodTypeAny;
|
|
@@ -158,11 +154,7 @@ declare const codingContracts: readonly [{
|
|
|
158
154
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
159
155
|
};
|
|
160
156
|
convex: FunctionConvexTarget | undefined;
|
|
161
|
-
args: z.
|
|
162
|
-
[x: string]: any;
|
|
163
|
-
}, {
|
|
164
|
-
[x: string]: any;
|
|
165
|
-
}>;
|
|
157
|
+
args: z.ZodTypeAny;
|
|
166
158
|
returns: z.ZodTypeAny;
|
|
167
159
|
input: z.ZodTypeAny;
|
|
168
160
|
output: z.ZodTypeAny;
|
|
@@ -201,11 +193,7 @@ declare const codingContracts: readonly [{
|
|
|
201
193
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
202
194
|
};
|
|
203
195
|
convex: FunctionConvexTarget | undefined;
|
|
204
|
-
args: z.
|
|
205
|
-
[x: string]: any;
|
|
206
|
-
}, {
|
|
207
|
-
[x: string]: any;
|
|
208
|
-
}>;
|
|
196
|
+
args: z.ZodTypeAny;
|
|
209
197
|
returns: z.ZodTypeAny;
|
|
210
198
|
input: z.ZodTypeAny;
|
|
211
199
|
output: z.ZodTypeAny;
|
|
@@ -244,11 +232,7 @@ declare const codingContracts: readonly [{
|
|
|
244
232
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
245
233
|
};
|
|
246
234
|
convex: FunctionConvexTarget | undefined;
|
|
247
|
-
args: z.
|
|
248
|
-
[x: string]: any;
|
|
249
|
-
}, {
|
|
250
|
-
[x: string]: any;
|
|
251
|
-
}>;
|
|
235
|
+
args: z.ZodTypeAny;
|
|
252
236
|
returns: z.ZodTypeAny;
|
|
253
237
|
input: z.ZodTypeAny;
|
|
254
238
|
output: z.ZodTypeAny;
|
|
@@ -287,11 +271,7 @@ declare const codingContracts: readonly [{
|
|
|
287
271
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
288
272
|
};
|
|
289
273
|
convex: FunctionConvexTarget | undefined;
|
|
290
|
-
args: z.
|
|
291
|
-
[x: string]: any;
|
|
292
|
-
}, {
|
|
293
|
-
[x: string]: any;
|
|
294
|
-
}>;
|
|
274
|
+
args: z.ZodTypeAny;
|
|
295
275
|
returns: z.ZodTypeAny;
|
|
296
276
|
input: z.ZodTypeAny;
|
|
297
277
|
output: z.ZodTypeAny;
|
|
@@ -330,11 +310,7 @@ declare const codingContracts: readonly [{
|
|
|
330
310
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
331
311
|
};
|
|
332
312
|
convex: FunctionConvexTarget | undefined;
|
|
333
|
-
args: z.
|
|
334
|
-
[x: string]: any;
|
|
335
|
-
}, {
|
|
336
|
-
[x: string]: any;
|
|
337
|
-
}>;
|
|
313
|
+
args: z.ZodTypeAny;
|
|
338
314
|
returns: z.ZodTypeAny;
|
|
339
315
|
input: z.ZodTypeAny;
|
|
340
316
|
output: z.ZodTypeAny;
|