@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 */
|
|
@@ -115,11 +115,7 @@ declare const graphContracts: readonly [{
|
|
|
115
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;
|
|
@@ -158,11 +154,7 @@ declare const graphContracts: readonly [{
|
|
|
158
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;
|
|
@@ -201,11 +193,7 @@ declare const graphContracts: readonly [{
|
|
|
201
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;
|
|
@@ -244,11 +232,7 @@ declare const graphContracts: readonly [{
|
|
|
244
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;
|
|
@@ -287,11 +271,7 @@ declare const graphContracts: readonly [{
|
|
|
287
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;
|
|
@@ -330,11 +310,7 @@ declare const graphContracts: readonly [{
|
|
|
330
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;
|
|
@@ -373,11 +349,7 @@ declare const graphContracts: readonly [{
|
|
|
373
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;
|
|
@@ -416,11 +388,7 @@ declare const graphContracts: readonly [{
|
|
|
416
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;
|
|
@@ -459,11 +427,7 @@ declare const graphContracts: readonly [{
|
|
|
459
427
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
460
428
|
};
|
|
461
429
|
convex: FunctionConvexTarget | undefined;
|
|
462
|
-
args: zod.
|
|
463
|
-
[x: string]: any;
|
|
464
|
-
}, {
|
|
465
|
-
[x: string]: any;
|
|
466
|
-
}>;
|
|
430
|
+
args: zod.ZodTypeAny;
|
|
467
431
|
returns: zod.ZodTypeAny;
|
|
468
432
|
input: zod.ZodTypeAny;
|
|
469
433
|
output: zod.ZodTypeAny;
|
|
@@ -502,11 +466,7 @@ declare const graphContracts: readonly [{
|
|
|
502
466
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
503
467
|
};
|
|
504
468
|
convex: FunctionConvexTarget | undefined;
|
|
505
|
-
args: zod.
|
|
506
|
-
[x: string]: any;
|
|
507
|
-
}, {
|
|
508
|
-
[x: string]: any;
|
|
509
|
-
}>;
|
|
469
|
+
args: zod.ZodTypeAny;
|
|
510
470
|
returns: zod.ZodTypeAny;
|
|
511
471
|
input: zod.ZodTypeAny;
|
|
512
472
|
output: zod.ZodTypeAny;
|
|
@@ -545,11 +505,7 @@ declare const graphContracts: readonly [{
|
|
|
545
505
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
546
506
|
};
|
|
547
507
|
convex: FunctionConvexTarget | undefined;
|
|
548
|
-
args: zod.
|
|
549
|
-
[x: string]: any;
|
|
550
|
-
}, {
|
|
551
|
-
[x: string]: any;
|
|
552
|
-
}>;
|
|
508
|
+
args: zod.ZodTypeAny;
|
|
553
509
|
returns: zod.ZodTypeAny;
|
|
554
510
|
input: zod.ZodTypeAny;
|
|
555
511
|
output: zod.ZodTypeAny;
|
|
@@ -588,11 +544,7 @@ declare const graphContracts: readonly [{
|
|
|
588
544
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
589
545
|
};
|
|
590
546
|
convex: FunctionConvexTarget | undefined;
|
|
591
|
-
args: zod.
|
|
592
|
-
[x: string]: any;
|
|
593
|
-
}, {
|
|
594
|
-
[x: string]: any;
|
|
595
|
-
}>;
|
|
547
|
+
args: zod.ZodTypeAny;
|
|
596
548
|
returns: zod.ZodTypeAny;
|
|
597
549
|
input: zod.ZodTypeAny;
|
|
598
550
|
output: zod.ZodTypeAny;
|
|
@@ -631,11 +583,7 @@ declare const graphContracts: readonly [{
|
|
|
631
583
|
allowedPrincipalTypes: ("user" | "service" | "agent")[];
|
|
632
584
|
};
|
|
633
585
|
convex: FunctionConvexTarget | undefined;
|
|
634
|
-
args: zod.
|
|
635
|
-
[x: string]: any;
|
|
636
|
-
}, {
|
|
637
|
-
[x: string]: any;
|
|
638
|
-
}>;
|
|
586
|
+
args: zod.ZodTypeAny;
|
|
639
587
|
returns: zod.ZodTypeAny;
|
|
640
588
|
input: zod.ZodTypeAny;
|
|
641
589
|
output: zod.ZodTypeAny;
|