@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 * 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 */
|
|
@@ -112,14 +112,10 @@ declare const evidenceContracts: readonly [{
|
|
|
112
112
|
};
|
|
113
113
|
auth: {
|
|
114
114
|
scopes: string[];
|
|
115
|
-
allowedPrincipalTypes: ("
|
|
115
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
116
116
|
};
|
|
117
117
|
convex: FunctionConvexTarget | undefined;
|
|
118
|
-
args: zod.
|
|
119
|
-
[x: string]: any;
|
|
120
|
-
}, {
|
|
121
|
-
[x: string]: any;
|
|
122
|
-
}>;
|
|
118
|
+
args: zod.ZodTypeAny;
|
|
123
119
|
returns: zod.ZodTypeAny;
|
|
124
120
|
input: zod.ZodTypeAny;
|
|
125
121
|
output: zod.ZodTypeAny;
|
|
@@ -155,14 +151,10 @@ declare const evidenceContracts: readonly [{
|
|
|
155
151
|
};
|
|
156
152
|
auth: {
|
|
157
153
|
scopes: string[];
|
|
158
|
-
allowedPrincipalTypes: ("
|
|
154
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
159
155
|
};
|
|
160
156
|
convex: FunctionConvexTarget | undefined;
|
|
161
|
-
args: zod.
|
|
162
|
-
[x: string]: any;
|
|
163
|
-
}, {
|
|
164
|
-
[x: string]: any;
|
|
165
|
-
}>;
|
|
157
|
+
args: zod.ZodTypeAny;
|
|
166
158
|
returns: zod.ZodTypeAny;
|
|
167
159
|
input: zod.ZodTypeAny;
|
|
168
160
|
output: zod.ZodTypeAny;
|
|
@@ -198,14 +190,10 @@ declare const evidenceContracts: readonly [{
|
|
|
198
190
|
};
|
|
199
191
|
auth: {
|
|
200
192
|
scopes: string[];
|
|
201
|
-
allowedPrincipalTypes: ("
|
|
193
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
202
194
|
};
|
|
203
195
|
convex: FunctionConvexTarget | undefined;
|
|
204
|
-
args: zod.
|
|
205
|
-
[x: string]: any;
|
|
206
|
-
}, {
|
|
207
|
-
[x: string]: any;
|
|
208
|
-
}>;
|
|
196
|
+
args: zod.ZodTypeAny;
|
|
209
197
|
returns: zod.ZodTypeAny;
|
|
210
198
|
input: zod.ZodTypeAny;
|
|
211
199
|
output: zod.ZodTypeAny;
|
|
@@ -241,14 +229,10 @@ declare const evidenceContracts: readonly [{
|
|
|
241
229
|
};
|
|
242
230
|
auth: {
|
|
243
231
|
scopes: string[];
|
|
244
|
-
allowedPrincipalTypes: ("
|
|
232
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
245
233
|
};
|
|
246
234
|
convex: FunctionConvexTarget | undefined;
|
|
247
|
-
args: zod.
|
|
248
|
-
[x: string]: any;
|
|
249
|
-
}, {
|
|
250
|
-
[x: string]: any;
|
|
251
|
-
}>;
|
|
235
|
+
args: zod.ZodTypeAny;
|
|
252
236
|
returns: zod.ZodTypeAny;
|
|
253
237
|
input: zod.ZodTypeAny;
|
|
254
238
|
output: zod.ZodTypeAny;
|
|
@@ -284,14 +268,10 @@ declare const evidenceContracts: readonly [{
|
|
|
284
268
|
};
|
|
285
269
|
auth: {
|
|
286
270
|
scopes: string[];
|
|
287
|
-
allowedPrincipalTypes: ("
|
|
271
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
288
272
|
};
|
|
289
273
|
convex: FunctionConvexTarget | undefined;
|
|
290
|
-
args: zod.
|
|
291
|
-
[x: string]: any;
|
|
292
|
-
}, {
|
|
293
|
-
[x: string]: any;
|
|
294
|
-
}>;
|
|
274
|
+
args: zod.ZodTypeAny;
|
|
295
275
|
returns: zod.ZodTypeAny;
|
|
296
276
|
input: zod.ZodTypeAny;
|
|
297
277
|
output: zod.ZodTypeAny;
|
|
@@ -327,14 +307,10 @@ declare const evidenceContracts: readonly [{
|
|
|
327
307
|
};
|
|
328
308
|
auth: {
|
|
329
309
|
scopes: string[];
|
|
330
|
-
allowedPrincipalTypes: ("
|
|
310
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
331
311
|
};
|
|
332
312
|
convex: FunctionConvexTarget | undefined;
|
|
333
|
-
args: zod.
|
|
334
|
-
[x: string]: any;
|
|
335
|
-
}, {
|
|
336
|
-
[x: string]: any;
|
|
337
|
-
}>;
|
|
313
|
+
args: zod.ZodTypeAny;
|
|
338
314
|
returns: zod.ZodTypeAny;
|
|
339
315
|
input: zod.ZodTypeAny;
|
|
340
316
|
output: zod.ZodTypeAny;
|
|
@@ -370,14 +346,10 @@ declare const evidenceContracts: readonly [{
|
|
|
370
346
|
};
|
|
371
347
|
auth: {
|
|
372
348
|
scopes: string[];
|
|
373
|
-
allowedPrincipalTypes: ("
|
|
349
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
374
350
|
};
|
|
375
351
|
convex: FunctionConvexTarget | undefined;
|
|
376
|
-
args: zod.
|
|
377
|
-
[x: string]: any;
|
|
378
|
-
}, {
|
|
379
|
-
[x: string]: any;
|
|
380
|
-
}>;
|
|
352
|
+
args: zod.ZodTypeAny;
|
|
381
353
|
returns: zod.ZodTypeAny;
|
|
382
354
|
input: zod.ZodTypeAny;
|
|
383
355
|
output: zod.ZodTypeAny;
|
|
@@ -413,14 +385,10 @@ declare const evidenceContracts: readonly [{
|
|
|
413
385
|
};
|
|
414
386
|
auth: {
|
|
415
387
|
scopes: string[];
|
|
416
|
-
allowedPrincipalTypes: ("
|
|
388
|
+
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
417
389
|
};
|
|
418
390
|
convex: FunctionConvexTarget | undefined;
|
|
419
|
-
args: zod.
|
|
420
|
-
[x: string]: any;
|
|
421
|
-
}, {
|
|
422
|
-
[x: string]: any;
|
|
423
|
-
}>;
|
|
391
|
+
args: zod.ZodTypeAny;
|
|
424
392
|
returns: zod.ZodTypeAny;
|
|
425
393
|
input: zod.ZodTypeAny;
|
|
426
394
|
output: zod.ZodTypeAny;
|