@lucern/contracts 1.0.0 → 1.0.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/CHANGELOG.md +4 -1
- package/dist/dsl.d.ts +75 -4
- package/dist/dsl.values-rhsroqi0.d.ts +21 -0
- package/dist/dsl.values.d.ts +5 -0
- package/dist/dsl.values.js +675 -0
- package/dist/dsl.values.js.map +1 -0
- package/dist/function-registry/beliefs.d.ts +1 -17
- package/dist/function-registry/beliefs.js +155 -117
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +1 -17
- package/dist/function-registry/coding.js +155 -117
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +1 -17
- package/dist/function-registry/context.js +155 -117
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +1 -17
- package/dist/function-registry/contracts.js +155 -117
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +1 -17
- package/dist/function-registry/coordination.js +155 -117
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +1 -17
- package/dist/function-registry/edges.js +155 -117
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +1 -17
- package/dist/function-registry/evidence.js +155 -117
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +1 -17
- package/dist/function-registry/graph.js +155 -117
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +1 -1
- package/dist/function-registry/helpers.js +155 -117
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +1 -17
- package/dist/function-registry/identity.js +155 -117
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +1 -1
- package/dist/function-registry/index.js +158 -118
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +1 -17
- package/dist/function-registry/judgments.js +155 -117
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +1 -17
- package/dist/function-registry/legacy.js +155 -117
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +1 -17
- package/dist/function-registry/lenses.js +155 -117
- 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/nodes.d.ts +1 -17
- package/dist/function-registry/nodes.js +155 -117
- package/dist/function-registry/nodes.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +1 -17
- package/dist/function-registry/ontologies.js +155 -117
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +1 -17
- package/dist/function-registry/pipeline.js +155 -117
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +1 -17
- package/dist/function-registry/questions.js +155 -117
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +1 -17
- package/dist/function-registry/tasks.js +155 -117
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +1 -17
- package/dist/function-registry/topics.js +155 -117
- 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 +41 -17
- package/dist/function-registry/worktrees.js +174 -117
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/generated/lucernWebPublicEnv.js.map +1 -1
- package/dist/generated/lucernWebServerEnv.js.map +1 -1
- package/dist/{idOf-DR8tkhQS.d.ts → idOf-BmkVDhD8.d.ts} +1 -1
- package/dist/index.d.ts +47 -8
- package/dist/index.js +45072 -45005
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.base.d.ts +444 -0
- package/dist/infisical-runtime.base.js +640 -0
- package/dist/infisical-runtime.base.js.map +1 -0
- package/dist/infisical-runtime.contract.d.ts +9 -440
- package/dist/infisical-runtime.contract.js +14 -1
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/infisical-runtime.platform-ops-secrets.d.ts +743 -0
- package/dist/infisical-runtime.platform-ops-secrets.js +962 -0
- package/dist/infisical-runtime.platform-ops-secrets.js.map +1 -0
- package/dist/infisical-runtime.platform-secrets.d.ts +598 -0
- package/dist/infisical-runtime.platform-secrets.js +726 -0
- package/dist/infisical-runtime.platform-secrets.js.map +1 -0
- package/dist/infisical-runtime.tenant-secrets.d.ts +486 -0
- package/dist/infisical-runtime.tenant-secrets.js +1131 -0
- package/dist/infisical-runtime.tenant-secrets.js.map +1 -0
- package/dist/manifests/edge-policy-manifest.d.ts +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +1 -1
- package/dist/manifests/infisical-runtime-manifest.js +14 -1
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/manifests/tenant-client-manifest.d.ts +5 -1
- package/dist/manifests/tenant-client-manifest.js +5 -0
- package/dist/manifests/tenant-client-manifest.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +61 -61
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/kernel/config.js.map +1 -1
- package/dist/schemas/tables/kernel/coordination.js.map +1 -1
- package/dist/schemas/tables/kernel/decision.d.ts +1 -1
- package/dist/schemas/tables/kernel/decision.js.map +1 -1
- package/dist/schemas/tables/kernel/embedding.d.ts +1 -1
- package/dist/schemas/tables/kernel/embedding.js.map +1 -1
- package/dist/schemas/tables/kernel/epistemic.d.ts +1 -1
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -1
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -1
- package/dist/schemas/tables/kernel/infra.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +1 -1
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -1
- package/dist/schemas/tables/kernel/lens.d.ts +5 -5
- package/dist/schemas/tables/kernel/lens.js.map +1 -1
- package/dist/schemas/tables/kernel/ontology.d.ts +1 -1
- package/dist/schemas/tables/kernel/ontology.js.map +1 -1
- package/dist/schemas/tables/kernel/platform.js.map +1 -1
- package/dist/schemas/tables/kernel/spine.d.ts +1 -1
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/task.d.ts +1 -1
- package/dist/schemas/tables/kernel/task.js.map +1 -1
- package/dist/schemas/tables/kernel/topic.d.ts +1 -1
- package/dist/schemas/tables/kernel/topic.js.map +1 -1
- package/dist/schemas/tables/kernel/workflow.d.ts +1 -1
- package/dist/schemas/tables/kernel/workflow.js.map +1 -1
- package/dist/schemas/tables/kernel/worktree.d.ts +1 -1
- package/dist/schemas/tables/kernel/worktree.js.map +1 -1
- package/dist/schemas/tables/mc/identity.d.ts +1 -1
- package/dist/schemas/tables/mc/methodology.d.ts +1 -1
- package/dist/schemas/tables/mc/pack.d.ts +9 -9
- package/dist/schemas/tables/mc/policy.d.ts +1 -1
- package/dist/schemas/tables/mc/registry.d.ts +1 -1
- package/dist/schemas/tables/mc/runtime.d.ts +1 -1
- package/dist/schemas/tables/mc/tenant.d.ts +1 -1
- package/dist/schemas/tables/mc/workspace.d.ts +1 -1
- package/dist/schemas.values-5J5oIK7z.d.ts +26 -0
- package/dist/schemas.values.d.ts +7 -0
- package/dist/schemas.values.js +5324 -0
- package/dist/schemas.values.js.map +1 -0
- package/dist/sdk-tools.contract.analytics.d.ts +27 -0
- package/dist/sdk-tools.contract.analytics.js +616 -0
- package/dist/sdk-tools.contract.analytics.js.map +1 -0
- package/dist/sdk-tools.contract.d.ts +43 -2
- package/dist/sdk-tools.contract.graph.d.ts +11 -0
- package/dist/sdk-tools.contract.graph.js +156 -0
- package/dist/sdk-tools.contract.graph.js.map +1 -0
- package/dist/sdk-tools.contract.js +4107 -4062
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/sdk-tools.contract.registry.d.ts +25 -0
- package/dist/sdk-tools.contract.registry.js +5504 -0
- package/dist/sdk-tools.contract.registry.js.map +1 -0
- package/dist/sdk-tools.contract.types.d.ts +15 -0
- package/dist/sdk-tools.contract.types.js +3 -0
- package/dist/sdk-tools.contract.types.js.map +1 -0
- package/dist/sdk-tools.contract.values-LuBh95zg.d.ts +58 -0
- package/dist/sdk-tools.contract.values.d.ts +7 -0
- package/dist/sdk-tools.contract.values.js +5581 -0
- package/dist/sdk-tools.contract.values.js.map +1 -0
- package/dist/sdk-tools.contract.workflow.d.ts +17 -0
- package/dist/sdk-tools.contract.workflow.js +287 -0
- package/dist/sdk-tools.contract.workflow.js.map +1 -0
- package/dist/tenant-client.contract.d.ts +5 -1
- package/dist/tenant-client.contract.js +5 -0
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/tool-contracts.d.ts +34 -1
- package/dist/tool-contracts.graph.d.ts +18 -0
- package/dist/tool-contracts.graph.js +378 -0
- package/dist/tool-contracts.graph.js.map +1 -0
- package/dist/tool-contracts.intelligence-evidence.d.ts +15 -0
- package/dist/tool-contracts.intelligence-evidence.js +303 -0
- package/dist/tool-contracts.intelligence-evidence.js.map +1 -0
- package/dist/tool-contracts.js +155 -118
- package/dist/tool-contracts.js.map +1 -1
- package/dist/tool-contracts.lifecycle.d.ts +13 -0
- package/dist/tool-contracts.lifecycle.js +410 -0
- package/dist/tool-contracts.lifecycle.js.map +1 -0
- package/dist/tool-contracts.nodes-lenses.d.ts +17 -0
- package/dist/tool-contracts.nodes-lenses.js +334 -0
- package/dist/tool-contracts.nodes-lenses.js.map +1 -0
- package/dist/tool-contracts.ontology.d.ts +16 -0
- package/dist/tool-contracts.ontology.js +344 -0
- package/dist/tool-contracts.ontology.js.map +1 -0
- package/dist/tool-contracts.pipeline-coordination.d.ts +25 -0
- package/dist/tool-contracts.pipeline-coordination.js +684 -0
- package/dist/tool-contracts.pipeline-coordination.js.map +1 -0
- package/dist/tool-contracts.policy-observation-task-topic.d.ts +25 -0
- package/dist/tool-contracts.policy-observation-task-topic.js +740 -0
- package/dist/tool-contracts.policy-observation-task-topic.js.map +1 -0
- package/dist/tool-contracts.questions-listing.d.ts +27 -0
- package/dist/tool-contracts.questions-listing.js +782 -0
- package/dist/tool-contracts.questions-listing.js.map +1 -0
- package/dist/tool-contracts.types.d.ts +34 -0
- package/dist/tool-contracts.types.js +3 -0
- package/dist/tool-contracts.types.js.map +1 -0
- package/dist/tool-contracts.values-DjctSW7S.d.ts +147 -0
- package/dist/tool-contracts.values.d.ts +11 -0
- package/dist/tool-contracts.values.js +4398 -0
- package/dist/tool-contracts.values.js.map +1 -0
- package/dist/tool-contracts.worktrees.d.ts +8 -0
- package/dist/tool-contracts.worktrees.js +280 -0
- package/dist/tool-contracts.worktrees.js.map +1 -0
- package/package.json +3 -11
- package/dist/dsl-DVPthQGY.d.ts +0 -110
- package/dist/index-CM1Pl_vI.d.ts +0 -28
- package/dist/sdk-tools.contract-CKmSsrZ2.d.ts +0 -146
- package/dist/tool-contracts-C_xvM9q2.d.ts +0 -326
- package/dist/{edge-policy-manifest-Dw5IhT1L.d.ts → edge-policy-manifest-4KOSP4nk.d.ts} +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@lucern/contracts` are tracked in this repository.
|
|
4
4
|
|
|
5
|
+
## [1.0.1] - 2026-05-26
|
|
6
|
+
- Publish the Campaign 1 runtime lifecycle, graph-native CLI, Effect runtime,
|
|
7
|
+
XState lifecycle, and transport-core package line as a coherent patch release.
|
|
8
|
+
|
|
5
9
|
## [0.3.0-alpha.16] - 2026-05-14
|
|
6
10
|
- Adds the exact-row reasoning-kernel migration surface required for tenant identity/scope repairs.
|
|
7
11
|
- Keeps the coherent Lucern package line aligned for StackOS and reasoning-environment adoption.
|
|
@@ -11,4 +15,3 @@ All notable changes to `@lucern/contracts` are tracked in this repository.
|
|
|
11
15
|
|
|
12
16
|
## [1.0.0] - 2026-05-23
|
|
13
17
|
- Promote the Campaign 1 package line to the stable 1.0.0 release.
|
|
14
|
-
|
package/dist/dsl.d.ts
CHANGED
|
@@ -1,5 +1,76 @@
|
|
|
1
1
|
export { a as FunctionContract, F as FunctionEffect, d as defineFunction } from './defineFunction-DO97DKs4.js';
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
import 'zod';
|
|
2
|
+
import { a as TableIndex } from './defineTable-t1wr5wgn.js';
|
|
3
|
+
export { b as TableComponent, T as TableContract, c as TableDeprecation, d as defineTable } from './defineTable-t1wr5wgn.js';
|
|
4
|
+
export { C as CONVEX_ID_TABLE, a as ConvexIdSchema, g as getConvexIdTable, i as idOf } from './idOf-BmkVDhD8.js';
|
|
5
|
+
import { z, ZodTypeAny } from 'zod';
|
|
6
|
+
|
|
7
|
+
type AdapterKind = "convex" | "jsonschema" | "cli";
|
|
8
|
+
type AdapterPurpose = "table" | "function_args" | "function_returns";
|
|
9
|
+
type AdapterContext = {
|
|
10
|
+
adapter: AdapterKind;
|
|
11
|
+
purpose?: AdapterPurpose;
|
|
12
|
+
location?: string;
|
|
13
|
+
path?: readonly string[];
|
|
14
|
+
};
|
|
15
|
+
declare class SchemaAdapterError extends Error {
|
|
16
|
+
readonly context: AdapterContext;
|
|
17
|
+
constructor(message: string, context: AdapterContext);
|
|
18
|
+
}
|
|
19
|
+
declare function schemaAdapterError(message: string, context: AdapterContext): SchemaAdapterError;
|
|
20
|
+
|
|
21
|
+
type CliOptionKind = "string" | "number" | "bigint" | "boolean" | "json";
|
|
22
|
+
type CliOptionSpec = {
|
|
23
|
+
name: string;
|
|
24
|
+
kind: CliOptionKind;
|
|
25
|
+
required: boolean;
|
|
26
|
+
variadic?: boolean;
|
|
27
|
+
nullable?: boolean;
|
|
28
|
+
choices?: readonly (string | number | boolean)[];
|
|
29
|
+
defaultValue?: unknown;
|
|
30
|
+
description?: string;
|
|
31
|
+
};
|
|
32
|
+
type CliCommandSpec = {
|
|
33
|
+
options: readonly CliOptionSpec[];
|
|
34
|
+
};
|
|
35
|
+
type ZodToCliOptions = {
|
|
36
|
+
location?: string;
|
|
37
|
+
};
|
|
38
|
+
declare function zodToCli(schema: z.ZodObject<z.ZodRawShape>, options?: ZodToCliOptions): CliCommandSpec;
|
|
39
|
+
|
|
40
|
+
type ConvexDefault = {
|
|
41
|
+
path: readonly string[];
|
|
42
|
+
value: unknown;
|
|
43
|
+
};
|
|
44
|
+
type ZodToConvexOptions = {
|
|
45
|
+
purpose?: AdapterPurpose;
|
|
46
|
+
location?: string;
|
|
47
|
+
};
|
|
48
|
+
type ZodToConvexResult = {
|
|
49
|
+
source: string;
|
|
50
|
+
defaults: readonly ConvexDefault[];
|
|
51
|
+
};
|
|
52
|
+
declare function zodToConvex(schema: ZodTypeAny, options?: ZodToConvexOptions): ZodToConvexResult;
|
|
53
|
+
declare function tableIndexToConvexSource(index: TableIndex): string;
|
|
54
|
+
|
|
55
|
+
type JsonSchema = boolean | {
|
|
56
|
+
$schema?: string;
|
|
57
|
+
type?: string | readonly string[];
|
|
58
|
+
properties?: Record<string, JsonSchema>;
|
|
59
|
+
required?: readonly string[];
|
|
60
|
+
additionalProperties?: boolean | JsonSchema;
|
|
61
|
+
items?: JsonSchema;
|
|
62
|
+
enum?: readonly (string | number | boolean)[];
|
|
63
|
+
const?: string | number | boolean | null;
|
|
64
|
+
anyOf?: readonly JsonSchema[];
|
|
65
|
+
oneOf?: readonly JsonSchema[];
|
|
66
|
+
default?: unknown;
|
|
67
|
+
format?: string;
|
|
68
|
+
description?: string;
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
};
|
|
71
|
+
type ZodToJsonSchemaOptions = {
|
|
72
|
+
location?: string;
|
|
73
|
+
};
|
|
74
|
+
declare function zodToJsonSchema(schema: ZodTypeAny, options?: ZodToJsonSchemaOptions): JsonSchema;
|
|
75
|
+
|
|
76
|
+
export { type AdapterContext, type AdapterKind, type AdapterPurpose, type CliCommandSpec, type CliOptionKind, type CliOptionSpec, type ConvexDefault, type JsonSchema, SchemaAdapterError, TableIndex, type ZodToCliOptions, type ZodToConvexOptions, type ZodToConvexResult, type ZodToJsonSchemaOptions, schemaAdapterError, tableIndexToConvexSource, zodToCli, zodToConvex, zodToJsonSchema };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { d as defineFunction } from './defineFunction-DO97DKs4.js';
|
|
2
|
+
import { d as defineTable } from './defineTable-t1wr5wgn.js';
|
|
3
|
+
import { SchemaAdapterError, schemaAdapterError, tableIndexToConvexSource, zodToCli, zodToConvex, zodToJsonSchema } from './dsl.js';
|
|
4
|
+
import { C as CONVEX_ID_TABLE, g as getConvexIdTable, i as idOf } from './idOf-BmkVDhD8.js';
|
|
5
|
+
|
|
6
|
+
declare const contractDslValues_CONVEX_ID_TABLE: typeof CONVEX_ID_TABLE;
|
|
7
|
+
declare const contractDslValues_SchemaAdapterError: typeof SchemaAdapterError;
|
|
8
|
+
declare const contractDslValues_defineFunction: typeof defineFunction;
|
|
9
|
+
declare const contractDslValues_defineTable: typeof defineTable;
|
|
10
|
+
declare const contractDslValues_getConvexIdTable: typeof getConvexIdTable;
|
|
11
|
+
declare const contractDslValues_idOf: typeof idOf;
|
|
12
|
+
declare const contractDslValues_schemaAdapterError: typeof schemaAdapterError;
|
|
13
|
+
declare const contractDslValues_tableIndexToConvexSource: typeof tableIndexToConvexSource;
|
|
14
|
+
declare const contractDslValues_zodToCli: typeof zodToCli;
|
|
15
|
+
declare const contractDslValues_zodToConvex: typeof zodToConvex;
|
|
16
|
+
declare const contractDslValues_zodToJsonSchema: typeof zodToJsonSchema;
|
|
17
|
+
declare namespace contractDslValues {
|
|
18
|
+
export { contractDslValues_CONVEX_ID_TABLE as CONVEX_ID_TABLE, contractDslValues_SchemaAdapterError as SchemaAdapterError, contractDslValues_defineFunction as defineFunction, contractDslValues_defineTable as defineTable, contractDslValues_getConvexIdTable as getConvexIdTable, contractDslValues_idOf as idOf, contractDslValues_schemaAdapterError as schemaAdapterError, contractDslValues_tableIndexToConvexSource as tableIndexToConvexSource, contractDslValues_zodToCli as zodToCli, contractDslValues_zodToConvex as zodToConvex, contractDslValues_zodToJsonSchema as zodToJsonSchema };
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { contractDslValues as c };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { d as defineFunction } from './defineFunction-DO97DKs4.js';
|
|
2
|
+
export { d as defineTable } from './defineTable-t1wr5wgn.js';
|
|
3
|
+
export { SchemaAdapterError, schemaAdapterError, tableIndexToConvexSource, zodToCli, zodToConvex, zodToJsonSchema } from './dsl.js';
|
|
4
|
+
export { C as CONVEX_ID_TABLE, g as getConvexIdTable, i as idOf } from './idOf-BmkVDhD8.js';
|
|
5
|
+
import 'zod';
|