@lucern/contracts 0.3.0-alpha.4 → 0.3.0-alpha.6
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/edge-policy-manifest-DpmTtjmm.d.ts +132 -0
- package/dist/function-registry/beliefs.js +72 -0
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.js +72 -0
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.js +72 -0
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.js +72 -0
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.js +72 -0
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.js +72 -0
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.js +72 -0
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +78 -0
- package/dist/function-registry/graph.js +129 -0
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +1 -1
- package/dist/function-registry/helpers.js +72 -0
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.js +72 -0
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +1 -1
- package/dist/function-registry/index.js +72 -0
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.js +72 -0
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.js +72 -0
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.js +72 -0
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +3 -3
- package/dist/function-registry/manifest.js +2 -0
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/ontologies.js +72 -0
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.js +72 -0
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.js +72 -0
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.js +72 -0
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.js +72 -0
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +1 -1
- package/dist/function-registry/worktrees.js +72 -0
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/generated/convexSchemas.js +1 -1
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/graph-intelligence.contract.d.ts +506 -0
- package/dist/graph-intelligence.contract.js +595 -0
- package/dist/graph-intelligence.contract.js.map +1 -0
- package/dist/graph-types/index.d.ts +5 -1
- package/dist/graph-types/index.js +15 -4
- package/dist/graph-types/index.js.map +1 -1
- package/dist/{index-CV-0_VWJ.d.ts → index-O09U2xHk.d.ts} +5 -2
- package/dist/index.d.ts +18 -817
- package/dist/index.js +744 -10
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.js +120 -0
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.d.ts +2 -0
- package/dist/manifests/edge-policy-manifest.data.d.ts +27 -0
- package/dist/manifests/edge-policy-manifest.data.js +34 -0
- package/dist/manifests/edge-policy-manifest.data.js.map +1 -0
- package/dist/manifests/edge-policy-manifest.js +65 -0
- package/dist/manifests/edge-policy-manifest.js.map +1 -0
- package/dist/manifests/infisical-runtime-manifest.d.ts +151 -0
- package/dist/manifests/infisical-runtime-manifest.js +311 -0
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -0
- package/dist/manifests/invariant-manifest.d.ts +65 -0
- package/dist/manifests/invariant-manifest.js +18 -0
- package/dist/manifests/invariant-manifest.js.map +1 -0
- package/dist/manifests/invariants/ast-utils.d.ts +14 -0
- package/dist/manifests/invariants/ast-utils.js +54 -0
- package/dist/manifests/invariants/ast-utils.js.map +1 -0
- package/dist/manifests/invariants/index.d.ts +15 -0
- package/dist/manifests/invariants/index.js +183 -0
- package/dist/manifests/invariants/index.js.map +1 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +12 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js +94 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +1 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +12 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js +99 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +1 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +12 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +42 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +1 -0
- package/dist/manifests/tenant-client-manifest.d.ts +303 -0
- package/dist/manifests/tenant-client-manifest.js +409 -0
- package/dist/manifests/tenant-client-manifest.js.map +1 -0
- package/dist/projections/check-convex-args-shape.d.ts +3 -0
- package/dist/projections/check-convex-args-shape.js +396 -0
- package/dist/projections/check-convex-args-shape.js.map +1 -0
- package/dist/projections/create-evidence.projection.d.ts +176 -0
- package/dist/projections/create-evidence.projection.js +128 -0
- package/dist/projections/create-evidence.projection.js.map +1 -0
- package/dist/projections/index.d.ts +102 -0
- package/dist/projections/index.js +345 -0
- package/dist/projections/index.js.map +1 -0
- package/dist/projections/list-beliefs.projection.d.ts +36 -0
- package/dist/projections/list-beliefs.projection.js +54 -0
- package/dist/projections/list-beliefs.projection.js.map +1 -0
- package/dist/projections/list-tasks.projection.d.ts +32 -0
- package/dist/projections/list-tasks.projection.js +52 -0
- package/dist/projections/list-tasks.projection.js.map +1 -0
- package/dist/projections/modulate-confidence.projection.d.ts +219 -0
- package/dist/projections/modulate-confidence.projection.js +148 -0
- package/dist/projections/modulate-confidence.projection.js.map +1 -0
- package/dist/projections/projection-dsl.d.ts +11 -0
- package/dist/projections/projection-dsl.js +8 -0
- package/dist/projections/projection-dsl.js.map +1 -0
- package/dist/schemas/enums.d.ts +5 -2
- package/dist/schemas/enums.js +5 -2
- package/dist/schemas/enums.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +6 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +15 -15
- package/dist/schemas/manifest.js +5 -2
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +2 -2
- package/dist/schemas/tables/kernel/spine.d.ts +1 -1
- package/dist/schemas/tables/kernel/spine.js +5 -2
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/topic.js +4 -1
- package/dist/schemas/tables/kernel/topic.js.map +1 -1
- package/dist/{sdk-tools.contract-CD-N1Jf7.d.ts → sdk-tools.contract-Ng8ULxjr.d.ts} +1 -1
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +70 -0
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +12 -8
- package/dist/tenant-bootstrap-seed.contract.js +6 -4
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -1
- package/dist/tenant-client.contract.d.ts +69 -5
- package/dist/tenant-client.contract.js +65 -4
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/{tool-contracts-BcKz-VGj.d.ts → tool-contracts-CYXVPN4K.d.ts} +6 -2
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +71 -1
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +9 -1
|
@@ -22,7 +22,7 @@ export { codingContracts } from './coding.js';
|
|
|
22
22
|
export { legacyContracts } from './legacy.js';
|
|
23
23
|
import 'zod';
|
|
24
24
|
import '../defineFunction-DO97DKs4.js';
|
|
25
|
-
import '../tool-contracts-
|
|
25
|
+
import '../tool-contracts-CYXVPN4K.js';
|
|
26
26
|
|
|
27
27
|
declare const ALL_FUNCTION_CONTRACTS: readonly FunctionContract[];
|
|
28
28
|
declare const FUNCTION_SURFACE_CONTRACTS: readonly FunctionContract[];
|
|
@@ -1182,6 +1182,74 @@ var GET_GRAPH_STRUCTURE_ANALYSIS = {
|
|
|
1182
1182
|
ontologyPrimitive: "graph",
|
|
1183
1183
|
tier: "showcase"
|
|
1184
1184
|
};
|
|
1185
|
+
var LIST_GRAPH_INTELLIGENCE_QUERIES = {
|
|
1186
|
+
name: "list_graph_intelligence_queries",
|
|
1187
|
+
description: "List the Graph Intelligence query catalog that powers structural graph analysis experiences. Returns categories, query IDs, prompt templates, modes, and the public tool plan each query can use.",
|
|
1188
|
+
parameters: {
|
|
1189
|
+
categoryId: {
|
|
1190
|
+
type: "string",
|
|
1191
|
+
description: "Optional category filter, such as problems or strategic"
|
|
1192
|
+
},
|
|
1193
|
+
mode: {
|
|
1194
|
+
type: "string",
|
|
1195
|
+
description: "Optional mode filter: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
required: [],
|
|
1199
|
+
response: {
|
|
1200
|
+
description: "Graph Intelligence query catalog and mode-to-tool mapping",
|
|
1201
|
+
fields: {
|
|
1202
|
+
categories: "array \u2014 query categories",
|
|
1203
|
+
queries: "array \u2014 query definitions with prompt templates and tools",
|
|
1204
|
+
quickQueries: "array \u2014 recommended one-click query presets",
|
|
1205
|
+
publicToolNamesByMode: "object \u2014 public tool names available to each Graph Intelligence mode"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
ownerModule: "graph-intelligence",
|
|
1209
|
+
ontologyPrimitive: "graph",
|
|
1210
|
+
tier: "showcase"
|
|
1211
|
+
};
|
|
1212
|
+
var RUN_GRAPH_INTELLIGENCE_QUERY = {
|
|
1213
|
+
name: "run_graph_intelligence_query",
|
|
1214
|
+
description: "Run a named Graph Intelligence query against a tenant topic graph. Returns the selected query, prompt, deterministic graph-analysis bundle, graph context, and public tool plan for model synthesis.",
|
|
1215
|
+
parameters: {
|
|
1216
|
+
topicId: { type: "string", description: "Topic to analyze" },
|
|
1217
|
+
queryId: {
|
|
1218
|
+
type: "string",
|
|
1219
|
+
description: "Graph Intelligence query ID, such as confirmation-bias, pre-mortem, or thesis-summary"
|
|
1220
|
+
},
|
|
1221
|
+
prompt: {
|
|
1222
|
+
type: "string",
|
|
1223
|
+
description: "Optional custom prompt for custom analysis runs"
|
|
1224
|
+
},
|
|
1225
|
+
input: {
|
|
1226
|
+
type: "string",
|
|
1227
|
+
description: "Optional entity, theme, belief, company, or search text for input-driven queries"
|
|
1228
|
+
},
|
|
1229
|
+
mode: {
|
|
1230
|
+
type: "string",
|
|
1231
|
+
description: "Optional mode override: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
1232
|
+
},
|
|
1233
|
+
limit: {
|
|
1234
|
+
type: "number",
|
|
1235
|
+
description: "Maximum graph context rows to return"
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
required: ["topicId"],
|
|
1239
|
+
response: {
|
|
1240
|
+
description: "Graph Intelligence query result bundle ready for model or prompt-library synthesis",
|
|
1241
|
+
fields: {
|
|
1242
|
+
query: "object \u2014 selected query definition",
|
|
1243
|
+
prompt: "string \u2014 resolved prompt template",
|
|
1244
|
+
toolPlan: "array \u2014 public tools and args the model can call next",
|
|
1245
|
+
analysis: "object \u2014 structure, coverage, gap, and confirmation-bias analysis",
|
|
1246
|
+
context: "object \u2014 sampled beliefs, questions, evidence, edges, and contradictions"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
ownerModule: "graph-intelligence",
|
|
1250
|
+
ontologyPrimitive: "graph",
|
|
1251
|
+
tier: "showcase"
|
|
1252
|
+
};
|
|
1185
1253
|
var GET_FALSIFICATION_QUESTIONS = {
|
|
1186
1254
|
name: "get_falsification_questions",
|
|
1187
1255
|
description: "Generate Popperian falsification questions for beliefs. Like `git test` \u2014 identifies the questions most likely to disprove current beliefs. Karl Popper as a tool: surfaces what would need to be true to invalidate each belief.",
|
|
@@ -3757,6 +3825,8 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
3757
3825
|
// Graph intelligence (showcase)
|
|
3758
3826
|
detect_confirmation_bias: DETECT_CONFIRMATION_BIAS,
|
|
3759
3827
|
get_graph_structure_analysis: GET_GRAPH_STRUCTURE_ANALYSIS,
|
|
3828
|
+
list_graph_intelligence_queries: LIST_GRAPH_INTELLIGENCE_QUERIES,
|
|
3829
|
+
run_graph_intelligence_query: RUN_GRAPH_INTELLIGENCE_QUERY,
|
|
3760
3830
|
get_falsification_questions: GET_FALSIFICATION_QUESTIONS,
|
|
3761
3831
|
// Evidence operations (workhorse)
|
|
3762
3832
|
search_evidence: SEARCH_EVIDENCE,
|
|
@@ -3939,6 +4009,8 @@ var MCP_ANALYSIS_PLATFORM_OPERATION_NAMES = [
|
|
|
3939
4009
|
"traverse_graph",
|
|
3940
4010
|
"get_graph_neighborhood",
|
|
3941
4011
|
"get_graph_structure_analysis",
|
|
4012
|
+
"list_graph_intelligence_queries",
|
|
4013
|
+
"run_graph_intelligence_query",
|
|
3942
4014
|
"find_contradictions",
|
|
3943
4015
|
"flag_contradiction",
|
|
3944
4016
|
"detect_confirmation_bias",
|