@lucern/contracts 0.3.0-alpha.14 → 0.3.0-alpha.16
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/CHANGELOG.md +4 -1
- package/dist/function-registry/beliefs.d.ts +1 -1
- package/dist/function-registry/beliefs.js +3 -15
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +1 -1
- package/dist/function-registry/context.d.ts +1 -1
- package/dist/function-registry/contracts.d.ts +1 -1
- package/dist/function-registry/coordination.d.ts +1 -1
- package/dist/function-registry/edges.d.ts +1 -1
- package/dist/function-registry/evidence.d.ts +1 -1
- package/dist/function-registry/evidence.js +2 -11
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +1 -1
- package/dist/function-registry/identity.d.ts +1 -1
- package/dist/function-registry/identity.js +3 -6
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +1 -1
- package/dist/function-registry/legacy.d.ts +1 -1
- package/dist/function-registry/lenses.d.ts +1 -1
- package/dist/function-registry/nodes.d.ts +1 -1
- package/dist/function-registry/ontologies.d.ts +1 -1
- package/dist/function-registry/pipeline.d.ts +1 -1
- package/dist/function-registry/questions.d.ts +1 -1
- package/dist/function-registry/questions.js +2 -5
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +1 -1
- package/dist/function-registry/tasks.js +15 -1
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +1 -1
- package/dist/function-registry/types.d.ts +1 -1
- package/dist/function-registry/worktrees.d.ts +1 -1
- package/dist/generated/convexSchemas.js +1 -1
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/infisicalRuntimeEnv.js +122 -0
- package/dist/generated/infisicalRuntimeEnv.js.map +1 -1
- package/dist/index.js +167 -0
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +39 -0
- package/dist/infisical-runtime.contract.js +44 -0
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +38 -0
- package/dist/manifests/infisical-runtime-manifest.js +44 -0
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +5 -0
- package/dist/schemas/manifest.js +1 -0
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/mc/tenant.d.ts +1 -0
- package/dist/schemas/tables/mc/tenant.js +1 -0
- package/dist/schemas/tables/mc/tenant.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@lucern/contracts` are tracked in this repository.
|
|
4
4
|
|
|
5
|
+
## [0.3.0-alpha.16] - 2026-05-14
|
|
6
|
+
- Adds the exact-row reasoning-kernel migration surface required for tenant identity/scope repairs.
|
|
7
|
+
- Keeps the coherent Lucern package line aligned for StackOS and reasoning-environment adoption.
|
|
8
|
+
|
|
5
9
|
## [0.3.0-alpha.7] - 2026-05-03
|
|
6
10
|
- Rebuild the coherent Lucern package line after Campaign 1 SDK hardening fixes.
|
|
7
|
-
|
|
@@ -84,7 +84,7 @@ type FunctionConvexTarget = {
|
|
|
84
84
|
outputProjection?: ContractOutputProjection;
|
|
85
85
|
};
|
|
86
86
|
type FunctionGatewayTarget = {
|
|
87
|
-
handler: "tasks.create" | "tasks.list" | "tasks.update" | "tasks.complete";
|
|
87
|
+
handler: "identity.whoami" | "beliefs.list" | "evidence.list" | "questions.list" | "tasks.create" | "tasks.list" | "tasks.update" | "tasks.complete";
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
declare const beliefsContracts: readonly [{
|
|
@@ -4999,7 +4999,7 @@ function compactRecord2(input) {
|
|
|
4999
4999
|
Object.entries(input).filter(([, value]) => value !== void 0)
|
|
5000
5000
|
);
|
|
5001
5001
|
}
|
|
5002
|
-
|
|
5002
|
+
defineProjection({
|
|
5003
5003
|
contractName: "list_beliefs",
|
|
5004
5004
|
inputSchema: listBeliefsInputSchema,
|
|
5005
5005
|
project: (input) => compactRecord2({
|
|
@@ -5202,15 +5202,6 @@ var beliefLookupInput = (input) => compactRecord({
|
|
|
5202
5202
|
var beliefNodeInput = (input) => compactRecord({
|
|
5203
5203
|
nodeId: input.nodeId ?? input.id ?? input.beliefId
|
|
5204
5204
|
});
|
|
5205
|
-
var beliefTopicInput = (input) => {
|
|
5206
|
-
const parsed = listBeliefsProjection.inputSchema.safeParse(input);
|
|
5207
|
-
if (!parsed.success) {
|
|
5208
|
-
throw new Error(
|
|
5209
|
-
`list_beliefs projection input rejected: ${parsed.error.message}`
|
|
5210
|
-
);
|
|
5211
|
-
}
|
|
5212
|
-
return compactRecord(listBeliefsProjection.project(parsed.data));
|
|
5213
|
-
};
|
|
5214
5205
|
var createBeliefInput = (input, context) => {
|
|
5215
5206
|
return withUserId(
|
|
5216
5207
|
compactRecord({
|
|
@@ -5299,11 +5290,8 @@ var beliefsContracts = [
|
|
|
5299
5290
|
sdkNamespace: "beliefs",
|
|
5300
5291
|
sdkMethod: "listBeliefs",
|
|
5301
5292
|
summary: "List beliefs for a topic.",
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
functionName: "getByTopic",
|
|
5305
|
-
kind: "query",
|
|
5306
|
-
inputProjection: beliefTopicInput
|
|
5293
|
+
gateway: {
|
|
5294
|
+
handler: "beliefs.list"
|
|
5307
5295
|
},
|
|
5308
5296
|
args: listBeliefsInputSchema
|
|
5309
5297
|
}),
|