@lucern/contracts 1.0.11 → 1.0.12
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 +3 -0
- package/dist/function-registry/beliefs.d.ts +1 -1
- package/dist/function-registry/beliefs.js +79 -0
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +1 -1
- package/dist/function-registry/coding.js +79 -0
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +44 -4
- package/dist/function-registry/context.js +101 -0
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +1 -1
- package/dist/function-registry/contracts.js +79 -0
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +1 -1
- package/dist/function-registry/coordination.js +79 -0
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +1 -1
- package/dist/function-registry/edges.js +79 -0
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +1 -1
- package/dist/function-registry/evidence.js +144 -24
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +1 -1
- package/dist/function-registry/graph.js +81 -4
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.js +79 -0
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +1 -1
- package/dist/function-registry/identity.js +79 -0
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.js +79 -0
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +1 -1
- package/dist/function-registry/judgments.js +79 -0
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +1 -1
- package/dist/function-registry/legacy.js +79 -0
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +1 -1
- package/dist/function-registry/lenses.js +79 -0
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +2 -2
- 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 -1
- package/dist/function-registry/nodes.js +79 -0
- package/dist/function-registry/nodes.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +1 -1
- package/dist/function-registry/ontologies.js +79 -0
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +1 -1
- package/dist/function-registry/pipeline.js +79 -0
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +1 -1
- package/dist/function-registry/questions.js +79 -0
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +1 -1
- package/dist/function-registry/tasks.js +79 -0
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +1 -1
- package/dist/function-registry/topics.js +81 -4
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +1 -1
- package/dist/function-registry/worktrees.d.ts +1 -1
- package/dist/function-registry/worktrees.js +79 -0
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/generated/infisicalRuntimeEnv.js +536 -1
- package/dist/generated/infisicalRuntimeEnv.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +831 -4
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.base.d.ts +42 -1
- package/dist/infisical-runtime.base.js +50 -1
- package/dist/infisical-runtime.base.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +102 -0
- package/dist/infisical-runtime.contract.js +170 -1
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/infisical-runtime.platform-secrets.d.ts +102 -0
- package/dist/infisical-runtime.platform-secrets.js +120 -0
- package/dist/infisical-runtime.platform-secrets.js.map +1 -1
- package/dist/infisical-runtime.tenant-secrets.js.map +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +144 -1
- package/dist/manifests/infisical-runtime-manifest.js +170 -1
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/projections/check-convex-args-shape.js +60 -2
- package/dist/projections/check-convex-args-shape.js.map +1 -1
- package/dist/projections/create-evidence.projection.js +60 -2
- package/dist/projections/create-evidence.projection.js.map +1 -1
- package/dist/projections/index.js +60 -2
- package/dist/projections/index.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/manifest.d.ts +20 -20
- package/dist/schemas/tables/kernel/platform.d.ts +4 -4
- package/dist/sdk-tools.contract.js +78 -0
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/sdk-tools.contract.registry.js +78 -0
- package/dist/sdk-tools.contract.registry.js.map +1 -1
- package/dist/sdk-tools.contract.values.js +78 -0
- package/dist/sdk-tools.contract.values.js.map +1 -1
- package/dist/tool-contracts.context-orientation.d.ts +5 -0
- package/dist/tool-contracts.context-orientation.js +56 -0
- package/dist/tool-contracts.context-orientation.js.map +1 -0
- package/dist/tool-contracts.d.ts +1 -0
- package/dist/tool-contracts.js +79 -1
- package/dist/tool-contracts.js.map +1 -1
- package/dist/tool-contracts.questions-listing.js +24 -0
- package/dist/tool-contracts.questions-listing.js.map +1 -1
- package/dist/{tool-contracts.values-DjctSW7S.d.ts → tool-contracts.values-BhxfrXS5.d.ts} +3 -1
- package/dist/tool-contracts.values.d.ts +1 -0
- package/dist/tool-contracts.values.js +79 -1
- package/dist/tool-contracts.values.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// src/tool-contracts.context-orientation.ts
|
|
2
|
+
var LUCERN_ORIENT = {
|
|
3
|
+
name: "lucern_orient",
|
|
4
|
+
description: "Load the Lucern reasoning grammar before operating. Like `git help` plus a repository CONTRIBUTING guide for reasoning state - teaches the git-shaped model of topics, campaigns, lanes, worktrees, beliefs, questions, evidence, receipts, gates, and merges.",
|
|
5
|
+
parameters: {
|
|
6
|
+
audience: {
|
|
7
|
+
type: "string",
|
|
8
|
+
description: "Audience for the primer: agent, human, operator, or developer.",
|
|
9
|
+
enum: ["agent", "human", "operator", "developer"]
|
|
10
|
+
},
|
|
11
|
+
depth: {
|
|
12
|
+
type: "string",
|
|
13
|
+
description: "Orientation depth: quick, standard, or deep.",
|
|
14
|
+
enum: ["quick", "standard", "deep"]
|
|
15
|
+
},
|
|
16
|
+
situation: {
|
|
17
|
+
type: "string",
|
|
18
|
+
description: "Optional task or query context used to tailor suggested next calls."
|
|
19
|
+
},
|
|
20
|
+
includeExamples: {
|
|
21
|
+
type: "boolean",
|
|
22
|
+
description: "Whether to include concrete tool-call examples."
|
|
23
|
+
},
|
|
24
|
+
includeToolMap: {
|
|
25
|
+
type: "boolean",
|
|
26
|
+
description: "Whether to include situation-to-tool routing guidance."
|
|
27
|
+
},
|
|
28
|
+
includeFuture: {
|
|
29
|
+
type: "boolean",
|
|
30
|
+
description: "Whether to include future exemplar, gauntlet, and training-data capabilities."
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
required: [],
|
|
34
|
+
response: {
|
|
35
|
+
description: "Canonical operator primer for Lucern's git-shaped reasoning substrate.",
|
|
36
|
+
fields: {
|
|
37
|
+
schemaVersion: "string - lucern_orientation.v1",
|
|
38
|
+
canonicalMentalModel: "object - concise model of Lucern as git-shaped reasoning state",
|
|
39
|
+
workflow: "array - recommended branch -> investigate -> prove gate -> merge workflow",
|
|
40
|
+
grammarMap: "array - primitive-to-git-analogy map for topics, campaigns, worktrees, beliefs, questions, evidence, edges, contradictions, and gates",
|
|
41
|
+
firstMoves: "array - recommended first tools for a cold-start agent",
|
|
42
|
+
receiptRules: "array - how to interpret candidateCounts, broadening, coverageWarning, and noDefaultGlobalScan",
|
|
43
|
+
safetyRules: "array - mutation and completion rules that preserve reasoning lineage",
|
|
44
|
+
toolMap: "array | undefined - situation-to-tool routing map when requested",
|
|
45
|
+
examples: "array | undefined - concrete tool-call examples when requested",
|
|
46
|
+
suggestedNextCalls: "array - safe next tool calls for the current situation"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
ownerModule: "reasoning-kernel",
|
|
50
|
+
ontologyPrimitive: "graph",
|
|
51
|
+
tier: "showcase"
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { LUCERN_ORIENT };
|
|
55
|
+
//# sourceMappingURL=tool-contracts.context-orientation.js.map
|
|
56
|
+
//# sourceMappingURL=tool-contracts.context-orientation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tool-contracts.context-orientation.ts"],"names":[],"mappings":";AAEO,IAAM,aAAA,GAAiC;AAAA,EAC5C,IAAA,EAAM,eAAA;AAAA,EACN,WAAA,EACE,gQAAA;AAAA,EAEF,UAAA,EAAY;AAAA,IACV,QAAA,EAAU;AAAA,MACR,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EAAa,gEAAA;AAAA,MACb,IAAA,EAAM,CAAC,OAAA,EAAS,OAAA,EAAS,YAAY,WAAW;AAAA,KAClD;AAAA,IACA,KAAA,EAAO;AAAA,MACL,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EAAa,8CAAA;AAAA,MACb,IAAA,EAAM,CAAC,OAAA,EAAS,UAAA,EAAY,MAAM;AAAA,KACpC;AAAA,IACA,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EACE;AAAA,KACJ;AAAA,IACA,eAAA,EAAiB;AAAA,MACf,IAAA,EAAM,SAAA;AAAA,MACN,WAAA,EAAa;AAAA,KACf;AAAA,IACA,cAAA,EAAgB;AAAA,MACd,IAAA,EAAM,SAAA;AAAA,MACN,WAAA,EAAa;AAAA,KACf;AAAA,IACA,aAAA,EAAe;AAAA,MACb,IAAA,EAAM,SAAA;AAAA,MACN,WAAA,EACE;AAAA;AACJ,GACF;AAAA,EACA,UAAU,EAAC;AAAA,EACX,QAAA,EAAU;AAAA,IACR,WAAA,EACE,wEAAA;AAAA,IACF,MAAA,EAAQ;AAAA,MACN,aAAA,EAAe,gCAAA;AAAA,MACf,oBAAA,EACE,gEAAA;AAAA,MACF,QAAA,EACE,2EAAA;AAAA,MACF,UAAA,EACE,uIAAA;AAAA,MACF,UAAA,EAAY,wDAAA;AAAA,MACZ,YAAA,EACE,gGAAA;AAAA,MACF,WAAA,EACE,uEAAA;AAAA,MACF,OAAA,EACE,kEAAA;AAAA,MACF,QAAA,EAAU,gEAAA;AAAA,MACV,kBAAA,EACE;AAAA;AACJ,GACF;AAAA,EACA,WAAA,EAAa,kBAAA;AAAA,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR","file":"tool-contracts.context-orientation.js","sourcesContent":["import type { McpToolContract } from \"./tool-contracts.types\";\n\nexport const LUCERN_ORIENT: McpToolContract = {\n name: \"lucern_orient\",\n description:\n \"Load the Lucern reasoning grammar before operating. \" +\n \"Like `git help` plus a repository CONTRIBUTING guide for reasoning state - teaches the git-shaped model of topics, campaigns, lanes, worktrees, beliefs, questions, evidence, receipts, gates, and merges.\",\n parameters: {\n audience: {\n type: \"string\",\n description: \"Audience for the primer: agent, human, operator, or developer.\",\n enum: [\"agent\", \"human\", \"operator\", \"developer\"],\n },\n depth: {\n type: \"string\",\n description: \"Orientation depth: quick, standard, or deep.\",\n enum: [\"quick\", \"standard\", \"deep\"],\n },\n situation: {\n type: \"string\",\n description:\n \"Optional task or query context used to tailor suggested next calls.\",\n },\n includeExamples: {\n type: \"boolean\",\n description: \"Whether to include concrete tool-call examples.\",\n },\n includeToolMap: {\n type: \"boolean\",\n description: \"Whether to include situation-to-tool routing guidance.\",\n },\n includeFuture: {\n type: \"boolean\",\n description:\n \"Whether to include future exemplar, gauntlet, and training-data capabilities.\",\n },\n },\n required: [],\n response: {\n description:\n \"Canonical operator primer for Lucern's git-shaped reasoning substrate.\",\n fields: {\n schemaVersion: \"string - lucern_orientation.v1\",\n canonicalMentalModel:\n \"object - concise model of Lucern as git-shaped reasoning state\",\n workflow:\n \"array - recommended branch -> investigate -> prove gate -> merge workflow\",\n grammarMap:\n \"array - primitive-to-git-analogy map for topics, campaigns, worktrees, beliefs, questions, evidence, edges, contradictions, and gates\",\n firstMoves: \"array - recommended first tools for a cold-start agent\",\n receiptRules:\n \"array - how to interpret candidateCounts, broadening, coverageWarning, and noDefaultGlobalScan\",\n safetyRules:\n \"array - mutation and completion rules that preserve reasoning lineage\",\n toolMap:\n \"array | undefined - situation-to-tool routing map when requested\",\n examples: \"array | undefined - concrete tool-call examples when requested\",\n suggestedNextCalls:\n \"array - safe next tool calls for the current situation\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"showcase\",\n};\n"]}
|
package/dist/tool-contracts.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { BATCH_CREATE_EDGES, BISECT_CONFIDENCE, CREATE_EDGE, FIND_CONTRADICTIONS
|
|
|
6
6
|
export { GET_EMBEDDINGS_BY_NODE_IDS, LIST_MISSING_EMBEDDINGS, QUEUE_EMBEDDING_BACKFILL, SEARCH_EMBEDDINGS } from './tool-contracts.embeddings.js';
|
|
7
7
|
export { ANALYZE_GRAPH_IMPACT, DETECT_GRAPH_DRIFT, EXPAND_GRAPH_NEIGHBORHOOD, FIND_RELATED_NODES, HYBRID_DISCOVER, RESOLVE_TOPIC_SEMANTIC } from './tool-contracts.hybrid-discovery.js';
|
|
8
8
|
export { APPLY_LENS_TO_TOPIC, ARCHIVE_EPISTEMIC_NODE, BATCH_CREATE_EPISTEMIC_NODES, CREATE_EPISTEMIC_NODE, CREATE_LENS, GET_EPISTEMIC_NODE, LIST_EPISTEMIC_NODES, LIST_LENSES, RECORD_JUDGMENT, REMOVE_LENS_FROM_TOPIC, SUPERSEDE_EPISTEMIC_NODE, UPDATE_EPISTEMIC_NODE, VERIFY_EPISTEMIC_NODE } from './tool-contracts.nodes-lenses.js';
|
|
9
|
+
export { LUCERN_ORIENT } from './tool-contracts.context-orientation.js';
|
|
9
10
|
export { CREATE_EVIDENCE, DETECT_CONFIRMATION_BIAS, GET_EVIDENCE, GET_FALSIFICATION_QUESTIONS, GET_GRAPH_STRUCTURE_ANALYSIS, LINK_EVIDENCE, LINK_EVIDENCE_TO_BELIEF, LIST_EVIDENCE, LIST_GRAPH_INTELLIGENCE_QUERIES, RUN_GRAPH_INTELLIGENCE_QUERY, SEARCH_EVIDENCE } from './tool-contracts.intelligence-evidence.js';
|
|
10
11
|
export { ACTIVATE_WORKTREE, ANSWER_QUESTION, ARCHIVE_QUESTION, COMPILE_CONTEXT, CREATE_ANSWER, CREATE_QUESTION, FIND_MISSING_QUESTIONS, GET_ANSWER, GET_HIGH_PRIORITY_QUESTIONS, GET_QUESTION, GET_WORKTREE, IDENTITY_WHOAMI, LINK_EVIDENCE_TO_QUESTION, LIST_ALL_WORKTREES, LIST_BELIEFS, LIST_CAMPAIGNS, LIST_QUESTIONS, LIST_WORKTREES, REFINE_QUESTION, RESOLVE_INTERACTIVE_PRINCIPAL, UPDATE_QUESTION_STATUS, UPDATE_WORKTREE_METADATA, UPDATE_WORKTREE_TARGETS } from './tool-contracts.questions-listing.js';
|
|
11
12
|
export { CHECK_PERMISSION, COMPLETE_TASK, CREATE_TASK, CREATE_TOPIC, FILTER_BY_PERMISSION, GET_CHANGE_HISTORY, GET_CODE_CONTEXT, GET_FAILURE_LOG, GET_GRAPH_GAPS, GET_OBSERVATION_CONTEXT, GET_TOPIC, GET_TOPIC_COVERAGE, GET_TOPIC_GRAPH_SPINE, GET_TOPIC_TREE, INGEST_OBSERVATION, LIST_TASKS, LIST_TOPICS, MATERIALIZE_TOPIC_GRAPH, RECORD_ATTEMPT, UPDATE_TASK, UPDATE_TOPIC } from './tool-contracts.policy-observation-task-topic.js';
|
package/dist/tool-contracts.js
CHANGED
|
@@ -1654,6 +1654,59 @@ var REMOVE_LENS_FROM_TOPIC = {
|
|
|
1654
1654
|
tier: "workhorse"
|
|
1655
1655
|
};
|
|
1656
1656
|
|
|
1657
|
+
// src/tool-contracts.context-orientation.ts
|
|
1658
|
+
var LUCERN_ORIENT = {
|
|
1659
|
+
name: "lucern_orient",
|
|
1660
|
+
description: "Load the Lucern reasoning grammar before operating. Like `git help` plus a repository CONTRIBUTING guide for reasoning state - teaches the git-shaped model of topics, campaigns, lanes, worktrees, beliefs, questions, evidence, receipts, gates, and merges.",
|
|
1661
|
+
parameters: {
|
|
1662
|
+
audience: {
|
|
1663
|
+
type: "string",
|
|
1664
|
+
description: "Audience for the primer: agent, human, operator, or developer.",
|
|
1665
|
+
enum: ["agent", "human", "operator", "developer"]
|
|
1666
|
+
},
|
|
1667
|
+
depth: {
|
|
1668
|
+
type: "string",
|
|
1669
|
+
description: "Orientation depth: quick, standard, or deep.",
|
|
1670
|
+
enum: ["quick", "standard", "deep"]
|
|
1671
|
+
},
|
|
1672
|
+
situation: {
|
|
1673
|
+
type: "string",
|
|
1674
|
+
description: "Optional task or query context used to tailor suggested next calls."
|
|
1675
|
+
},
|
|
1676
|
+
includeExamples: {
|
|
1677
|
+
type: "boolean",
|
|
1678
|
+
description: "Whether to include concrete tool-call examples."
|
|
1679
|
+
},
|
|
1680
|
+
includeToolMap: {
|
|
1681
|
+
type: "boolean",
|
|
1682
|
+
description: "Whether to include situation-to-tool routing guidance."
|
|
1683
|
+
},
|
|
1684
|
+
includeFuture: {
|
|
1685
|
+
type: "boolean",
|
|
1686
|
+
description: "Whether to include future exemplar, gauntlet, and training-data capabilities."
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
required: [],
|
|
1690
|
+
response: {
|
|
1691
|
+
description: "Canonical operator primer for Lucern's git-shaped reasoning substrate.",
|
|
1692
|
+
fields: {
|
|
1693
|
+
schemaVersion: "string - lucern_orientation.v1",
|
|
1694
|
+
canonicalMentalModel: "object - concise model of Lucern as git-shaped reasoning state",
|
|
1695
|
+
workflow: "array - recommended branch -> investigate -> prove gate -> merge workflow",
|
|
1696
|
+
grammarMap: "array - primitive-to-git-analogy map for topics, campaigns, worktrees, beliefs, questions, evidence, edges, contradictions, and gates",
|
|
1697
|
+
firstMoves: "array - recommended first tools for a cold-start agent",
|
|
1698
|
+
receiptRules: "array - how to interpret candidateCounts, broadening, coverageWarning, and noDefaultGlobalScan",
|
|
1699
|
+
safetyRules: "array - mutation and completion rules that preserve reasoning lineage",
|
|
1700
|
+
toolMap: "array | undefined - situation-to-tool routing map when requested",
|
|
1701
|
+
examples: "array | undefined - concrete tool-call examples when requested",
|
|
1702
|
+
suggestedNextCalls: "array - safe next tool calls for the current situation"
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
ownerModule: "reasoning-kernel",
|
|
1706
|
+
ontologyPrimitive: "graph",
|
|
1707
|
+
tier: "showcase"
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1657
1710
|
// src/tool-contracts.intelligence-evidence.ts
|
|
1658
1711
|
var DETECT_CONFIRMATION_BIAS = {
|
|
1659
1712
|
name: "detect_confirmation_bias",
|
|
@@ -2704,10 +2757,34 @@ var COMPILE_CONTEXT = {
|
|
|
2704
2757
|
type: "string",
|
|
2705
2758
|
description: "Optional source kind used as a resolver signal, such as cli, worktree, commit, or docs."
|
|
2706
2759
|
},
|
|
2760
|
+
campaign: {
|
|
2761
|
+
type: "number",
|
|
2762
|
+
description: "Optional campaign dimension seed. When supplied without topicId, the compiler fans out across all carrier topics for that campaign instead of resolving a single topic."
|
|
2763
|
+
},
|
|
2764
|
+
lane: {
|
|
2765
|
+
type: "string",
|
|
2766
|
+
description: "Optional lane dimension seed. When supplied without topicId, the compiler reads all matching worktrees and their carrier topics."
|
|
2767
|
+
},
|
|
2768
|
+
status: {
|
|
2769
|
+
type: "string",
|
|
2770
|
+
description: "Optional state/status dimension seed for worktrees and graph rows."
|
|
2771
|
+
},
|
|
2772
|
+
principalId: {
|
|
2773
|
+
type: "string",
|
|
2774
|
+
description: "Optional principal seed for work authored, touched, or owned by a human, agent, group, or service principal."
|
|
2775
|
+
},
|
|
2776
|
+
workspaceId: {
|
|
2777
|
+
type: "string",
|
|
2778
|
+
description: "Optional workspace seed used by hosted MCP and SDK clients when compiling tenant-scoped context."
|
|
2779
|
+
},
|
|
2707
2780
|
budget: {
|
|
2708
2781
|
type: "number",
|
|
2709
2782
|
description: "Token budget for prompt injection planning"
|
|
2710
2783
|
},
|
|
2784
|
+
tokenBudget: {
|
|
2785
|
+
type: "number",
|
|
2786
|
+
description: "Compatibility alias for budget. External MCP clients may send tokenBudget when requesting prompt injection planning."
|
|
2787
|
+
},
|
|
2711
2788
|
ranking: {
|
|
2712
2789
|
type: "string",
|
|
2713
2790
|
description: "Ranking profile for context ordering",
|
|
@@ -4614,6 +4691,7 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
4614
4691
|
update_worktree_metadata: UPDATE_WORKTREE_METADATA,
|
|
4615
4692
|
identity_whoami: IDENTITY_WHOAMI,
|
|
4616
4693
|
resolve_interactive_principal: RESOLVE_INTERACTIVE_PRINCIPAL,
|
|
4694
|
+
lucern_orient: LUCERN_ORIENT,
|
|
4617
4695
|
compile_context: COMPILE_CONTEXT,
|
|
4618
4696
|
record_scope_learning: RECORD_SCOPE_LEARNING,
|
|
4619
4697
|
pipeline_snapshot: PIPELINE_SNAPSHOT,
|
|
@@ -4689,6 +4767,6 @@ function validateGitSemantics(tool) {
|
|
|
4689
4767
|
return { valid: true };
|
|
4690
4768
|
}
|
|
4691
4769
|
|
|
4692
|
-
export { ACTIVATE_WORKTREE, ADD_EVIDENCE, ADD_WORKTREE, ANALYZE_GRAPH_IMPACT, ANALYZE_TOPIC_DENSITY, ANSWER_QUESTION, APPLY_AUTO_BRANCHING, APPLY_LENS_TO_TOPIC, APPLY_ONTOLOGY, ARCHIVE_BELIEF, ARCHIVE_EPISTEMIC_NODE, ARCHIVE_ONTOLOGY, ARCHIVE_QUESTION, BATCH_CREATE_EDGES, BATCH_CREATE_EPISTEMIC_NODES, BEGIN_BUILD_SESSION, BISECT_CONFIDENCE, BROADCAST_MESSAGE, CHECK_PERMISSION, CLAIM_FILES, COMPILE_CONTEXT, COMPLETE_TASK, CREATE_ANSWER, CREATE_BELIEF, CREATE_EDGE, CREATE_EPISTEMIC_CONTRACT, CREATE_EPISTEMIC_NODE, CREATE_EVIDENCE, CREATE_LENS, CREATE_ONTOLOGY, CREATE_ONTOLOGY_VERSION, CREATE_QUESTION, CREATE_TASK, CREATE_TOPIC, DEPRECATE_ONTOLOGY_VERSION, DETECT_CONFIRMATION_BIAS, DETECT_GRAPH_DRIFT, DISCOVER, DISCOVER_ENTITY_CONNECTIONS, END_SESSION, EVALUATE_CONTRACT, EXPAND_GRAPH_NEIGHBORHOOD, FILTER_BY_PERMISSION, FIND_CONTRADICTIONS, FIND_MISSING_QUESTIONS, FIND_RELATED_NODES, FLAG_CONTRADICTION, FORK_BELIEF, GENERATE_SESSION_HANDOFF, GET_AGENT_INBOX, GET_ANSWER, GET_AUDIT_TRAIL, GET_BELIEF, GET_CHANGE_HISTORY, GET_CODE_CONTEXT, GET_CONFIDENCE_HISTORY, GET_CONTRACT_STATUS, GET_EMBEDDINGS_BY_NODE_IDS, GET_EPISTEMIC_NODE, GET_EVIDENCE, GET_FAILURE_LOG, GET_FALSIFICATION_QUESTIONS, GET_GRAPH_GAPS, GET_GRAPH_NEIGHBORHOOD, GET_GRAPH_STRUCTURE_ANALYSIS, GET_HIGH_PRIORITY_QUESTIONS, GET_LATTICE_COVERAGE, GET_OBSERVATION_CONTEXT, GET_ONTOLOGY, GET_QUESTION, GET_TOPIC, GET_TOPIC_COVERAGE, GET_TOPIC_GRAPH_SPINE, GET_TOPIC_TREE, GET_WORKTREE, GIT_SEMANTIC_REQUIRED_TOOLS, HEARTBEAT_SESSION, HYBRID_DISCOVER, IDENTITY_WHOAMI, INGEST_OBSERVATION, LINK_EVIDENCE, LINK_EVIDENCE_TO_BELIEF, LINK_EVIDENCE_TO_QUESTION, LIST_ACTIVE_SESSIONS, LIST_ALL_WORKTREES, LIST_BELIEFS, LIST_CAMPAIGNS, LIST_EPISTEMIC_NODES, LIST_EVIDENCE, LIST_GRAPH_INTELLIGENCE_QUERIES, LIST_LENSES, LIST_MISSING_EMBEDDINGS, LIST_ONTOLOGIES, LIST_QUESTIONS, LIST_TASKS, LIST_TOPICS, LIST_WORKTREES, MANAGE_WRITE_POLICY, MATCH_ENTITY_TYPE, MATERIALIZE_TOPIC_GRAPH, MCP_TOOL_CONTRACTS, MERGE, MODULATE_CONFIDENCE, OPEN_PULL_REQUEST, PIPELINE_SNAPSHOT, PUBLISH_ONTOLOGY_VERSION, PUSH, QUERY_LINEAGE, QUEUE_EMBEDDING_BACKFILL, RECORD_ATTEMPT, RECORD_JUDGMENT, RECORD_SCOPE_LEARNING, REFINE_BELIEF, REFINE_QUESTION, REGISTER_SESSION, REMOVE_EDGE, REMOVE_EDGES_BETWEEN, REMOVE_LENS_FROM_TOPIC, RESOLVE_EFFECTIVE_ONTOLOGY, RESOLVE_INTERACTIVE_PRINCIPAL, RESOLVE_TOPIC_SEMANTIC, RUN_GRAPH_INTELLIGENCE_QUERY, SEARCH_BELIEFS, SEARCH_EMBEDDINGS, SEARCH_EVIDENCE, SEED_BELIEF_LATTICE, SEND_AGENT_MESSAGE, SUPERSEDE_EPISTEMIC_NODE, TRACE_ENTITY_IMPACT, TRAVERSE_GRAPH, TRIGGER_BELIEF_REVIEW, UPDATE_EDGE, UPDATE_EPISTEMIC_NODE, UPDATE_ONTOLOGY, UPDATE_QUESTION_STATUS, UPDATE_TASK, UPDATE_TOPIC, UPDATE_WORKTREE_METADATA, UPDATE_WORKTREE_TARGETS, VERIFY_EPISTEMIC_NODE, validateGitSemantics };
|
|
4770
|
+
export { ACTIVATE_WORKTREE, ADD_EVIDENCE, ADD_WORKTREE, ANALYZE_GRAPH_IMPACT, ANALYZE_TOPIC_DENSITY, ANSWER_QUESTION, APPLY_AUTO_BRANCHING, APPLY_LENS_TO_TOPIC, APPLY_ONTOLOGY, ARCHIVE_BELIEF, ARCHIVE_EPISTEMIC_NODE, ARCHIVE_ONTOLOGY, ARCHIVE_QUESTION, BATCH_CREATE_EDGES, BATCH_CREATE_EPISTEMIC_NODES, BEGIN_BUILD_SESSION, BISECT_CONFIDENCE, BROADCAST_MESSAGE, CHECK_PERMISSION, CLAIM_FILES, COMPILE_CONTEXT, COMPLETE_TASK, CREATE_ANSWER, CREATE_BELIEF, CREATE_EDGE, CREATE_EPISTEMIC_CONTRACT, CREATE_EPISTEMIC_NODE, CREATE_EVIDENCE, CREATE_LENS, CREATE_ONTOLOGY, CREATE_ONTOLOGY_VERSION, CREATE_QUESTION, CREATE_TASK, CREATE_TOPIC, DEPRECATE_ONTOLOGY_VERSION, DETECT_CONFIRMATION_BIAS, DETECT_GRAPH_DRIFT, DISCOVER, DISCOVER_ENTITY_CONNECTIONS, END_SESSION, EVALUATE_CONTRACT, EXPAND_GRAPH_NEIGHBORHOOD, FILTER_BY_PERMISSION, FIND_CONTRADICTIONS, FIND_MISSING_QUESTIONS, FIND_RELATED_NODES, FLAG_CONTRADICTION, FORK_BELIEF, GENERATE_SESSION_HANDOFF, GET_AGENT_INBOX, GET_ANSWER, GET_AUDIT_TRAIL, GET_BELIEF, GET_CHANGE_HISTORY, GET_CODE_CONTEXT, GET_CONFIDENCE_HISTORY, GET_CONTRACT_STATUS, GET_EMBEDDINGS_BY_NODE_IDS, GET_EPISTEMIC_NODE, GET_EVIDENCE, GET_FAILURE_LOG, GET_FALSIFICATION_QUESTIONS, GET_GRAPH_GAPS, GET_GRAPH_NEIGHBORHOOD, GET_GRAPH_STRUCTURE_ANALYSIS, GET_HIGH_PRIORITY_QUESTIONS, GET_LATTICE_COVERAGE, GET_OBSERVATION_CONTEXT, GET_ONTOLOGY, GET_QUESTION, GET_TOPIC, GET_TOPIC_COVERAGE, GET_TOPIC_GRAPH_SPINE, GET_TOPIC_TREE, GET_WORKTREE, GIT_SEMANTIC_REQUIRED_TOOLS, HEARTBEAT_SESSION, HYBRID_DISCOVER, IDENTITY_WHOAMI, INGEST_OBSERVATION, LINK_EVIDENCE, LINK_EVIDENCE_TO_BELIEF, LINK_EVIDENCE_TO_QUESTION, LIST_ACTIVE_SESSIONS, LIST_ALL_WORKTREES, LIST_BELIEFS, LIST_CAMPAIGNS, LIST_EPISTEMIC_NODES, LIST_EVIDENCE, LIST_GRAPH_INTELLIGENCE_QUERIES, LIST_LENSES, LIST_MISSING_EMBEDDINGS, LIST_ONTOLOGIES, LIST_QUESTIONS, LIST_TASKS, LIST_TOPICS, LIST_WORKTREES, LUCERN_ORIENT, MANAGE_WRITE_POLICY, MATCH_ENTITY_TYPE, MATERIALIZE_TOPIC_GRAPH, MCP_TOOL_CONTRACTS, MERGE, MODULATE_CONFIDENCE, OPEN_PULL_REQUEST, PIPELINE_SNAPSHOT, PUBLISH_ONTOLOGY_VERSION, PUSH, QUERY_LINEAGE, QUEUE_EMBEDDING_BACKFILL, RECORD_ATTEMPT, RECORD_JUDGMENT, RECORD_SCOPE_LEARNING, REFINE_BELIEF, REFINE_QUESTION, REGISTER_SESSION, REMOVE_EDGE, REMOVE_EDGES_BETWEEN, REMOVE_LENS_FROM_TOPIC, RESOLVE_EFFECTIVE_ONTOLOGY, RESOLVE_INTERACTIVE_PRINCIPAL, RESOLVE_TOPIC_SEMANTIC, RUN_GRAPH_INTELLIGENCE_QUERY, SEARCH_BELIEFS, SEARCH_EMBEDDINGS, SEARCH_EVIDENCE, SEED_BELIEF_LATTICE, SEND_AGENT_MESSAGE, SUPERSEDE_EPISTEMIC_NODE, TRACE_ENTITY_IMPACT, TRAVERSE_GRAPH, TRIGGER_BELIEF_REVIEW, UPDATE_EDGE, UPDATE_EPISTEMIC_NODE, UPDATE_ONTOLOGY, UPDATE_QUESTION_STATUS, UPDATE_TASK, UPDATE_TOPIC, UPDATE_WORKTREE_METADATA, UPDATE_WORKTREE_TARGETS, VERIFY_EPISTEMIC_NODE, validateGitSemantics };
|
|
4693
4771
|
//# sourceMappingURL=tool-contracts.js.map
|
|
4694
4772
|
//# sourceMappingURL=tool-contracts.js.map
|