@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { F as FunctionEffect } from '../defineFunction-DO97DKs4.js';
|
|
3
|
-
import { M as McpToolContract } from '../tool-contracts-
|
|
3
|
+
import { M as McpToolContract } from '../tool-contracts-CYXVPN4K.js';
|
|
4
4
|
|
|
5
5
|
type FunctionKind = "query" | "mutation" | "action";
|
|
6
6
|
type FunctionIdempotency = boolean | "required";
|
|
@@ -1146,6 +1146,74 @@ var GET_GRAPH_STRUCTURE_ANALYSIS = {
|
|
|
1146
1146
|
ontologyPrimitive: "graph",
|
|
1147
1147
|
tier: "showcase"
|
|
1148
1148
|
};
|
|
1149
|
+
var LIST_GRAPH_INTELLIGENCE_QUERIES = {
|
|
1150
|
+
name: "list_graph_intelligence_queries",
|
|
1151
|
+
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.",
|
|
1152
|
+
parameters: {
|
|
1153
|
+
categoryId: {
|
|
1154
|
+
type: "string",
|
|
1155
|
+
description: "Optional category filter, such as problems or strategic"
|
|
1156
|
+
},
|
|
1157
|
+
mode: {
|
|
1158
|
+
type: "string",
|
|
1159
|
+
description: "Optional mode filter: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
required: [],
|
|
1163
|
+
response: {
|
|
1164
|
+
description: "Graph Intelligence query catalog and mode-to-tool mapping",
|
|
1165
|
+
fields: {
|
|
1166
|
+
categories: "array \u2014 query categories",
|
|
1167
|
+
queries: "array \u2014 query definitions with prompt templates and tools",
|
|
1168
|
+
quickQueries: "array \u2014 recommended one-click query presets",
|
|
1169
|
+
publicToolNamesByMode: "object \u2014 public tool names available to each Graph Intelligence mode"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
ownerModule: "graph-intelligence",
|
|
1173
|
+
ontologyPrimitive: "graph",
|
|
1174
|
+
tier: "showcase"
|
|
1175
|
+
};
|
|
1176
|
+
var RUN_GRAPH_INTELLIGENCE_QUERY = {
|
|
1177
|
+
name: "run_graph_intelligence_query",
|
|
1178
|
+
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.",
|
|
1179
|
+
parameters: {
|
|
1180
|
+
topicId: { type: "string", description: "Topic to analyze" },
|
|
1181
|
+
queryId: {
|
|
1182
|
+
type: "string",
|
|
1183
|
+
description: "Graph Intelligence query ID, such as confirmation-bias, pre-mortem, or thesis-summary"
|
|
1184
|
+
},
|
|
1185
|
+
prompt: {
|
|
1186
|
+
type: "string",
|
|
1187
|
+
description: "Optional custom prompt for custom analysis runs"
|
|
1188
|
+
},
|
|
1189
|
+
input: {
|
|
1190
|
+
type: "string",
|
|
1191
|
+
description: "Optional entity, theme, belief, company, or search text for input-driven queries"
|
|
1192
|
+
},
|
|
1193
|
+
mode: {
|
|
1194
|
+
type: "string",
|
|
1195
|
+
description: "Optional mode override: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
1196
|
+
},
|
|
1197
|
+
limit: {
|
|
1198
|
+
type: "number",
|
|
1199
|
+
description: "Maximum graph context rows to return"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
required: ["topicId"],
|
|
1203
|
+
response: {
|
|
1204
|
+
description: "Graph Intelligence query result bundle ready for model or prompt-library synthesis",
|
|
1205
|
+
fields: {
|
|
1206
|
+
query: "object \u2014 selected query definition",
|
|
1207
|
+
prompt: "string \u2014 resolved prompt template",
|
|
1208
|
+
toolPlan: "array \u2014 public tools and args the model can call next",
|
|
1209
|
+
analysis: "object \u2014 structure, coverage, gap, and confirmation-bias analysis",
|
|
1210
|
+
context: "object \u2014 sampled beliefs, questions, evidence, edges, and contradictions"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
ownerModule: "graph-intelligence",
|
|
1214
|
+
ontologyPrimitive: "graph",
|
|
1215
|
+
tier: "showcase"
|
|
1216
|
+
};
|
|
1149
1217
|
var GET_FALSIFICATION_QUESTIONS = {
|
|
1150
1218
|
name: "get_falsification_questions",
|
|
1151
1219
|
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.",
|
|
@@ -3721,6 +3789,8 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
3721
3789
|
// Graph intelligence (showcase)
|
|
3722
3790
|
detect_confirmation_bias: DETECT_CONFIRMATION_BIAS,
|
|
3723
3791
|
get_graph_structure_analysis: GET_GRAPH_STRUCTURE_ANALYSIS,
|
|
3792
|
+
list_graph_intelligence_queries: LIST_GRAPH_INTELLIGENCE_QUERIES,
|
|
3793
|
+
run_graph_intelligence_query: RUN_GRAPH_INTELLIGENCE_QUERY,
|
|
3724
3794
|
get_falsification_questions: GET_FALSIFICATION_QUESTIONS,
|
|
3725
3795
|
// Evidence operations (workhorse)
|
|
3726
3796
|
search_evidence: SEARCH_EVIDENCE,
|
|
@@ -3903,6 +3973,8 @@ var MCP_ANALYSIS_PLATFORM_OPERATION_NAMES = [
|
|
|
3903
3973
|
"traverse_graph",
|
|
3904
3974
|
"get_graph_neighborhood",
|
|
3905
3975
|
"get_graph_structure_analysis",
|
|
3976
|
+
"list_graph_intelligence_queries",
|
|
3977
|
+
"run_graph_intelligence_query",
|
|
3906
3978
|
"find_contradictions",
|
|
3907
3979
|
"flag_contradiction",
|
|
3908
3980
|
"detect_confirmation_bias",
|