@lucern/sdk 1.0.3 → 1.0.4
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/beliefs/index.js +41 -1
- package/dist/beliefs/index.js.map +1 -1
- package/dist/client.js +41 -1
- package/dist/client.js.map +1 -1
- package/dist/contradictions/index.js +41 -1
- package/dist/contradictions/index.js.map +1 -1
- package/dist/decisions/index.js +41 -1
- package/dist/decisions/index.js.map +1 -1
- package/dist/edges/index.js +41 -1
- package/dist/edges/index.js.map +1 -1
- package/dist/evidence/index.js +41 -1
- package/dist/evidence/index.js.map +1 -1
- package/dist/functionSurface.d.ts +11 -1
- package/dist/functionSurface.js +50 -0
- package/dist/functionSurface.js.map +1 -1
- package/dist/functionSurfaceClient.js +50 -0
- package/dist/functionSurfaceClient.js.map +1 -1
- package/dist/index.js +51 -1
- package/dist/index.js.map +1 -1
- package/dist/lenses/index.js +41 -1
- package/dist/lenses/index.js.map +1 -1
- package/dist/nodes/index.js +41 -1
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.js +41 -1
- package/dist/ontologies/index.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/questions/index.js +41 -1
- package/dist/questions/index.js.map +1 -1
- package/dist/topics/index.js +41 -1
- package/dist/topics/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/worktrees/index.js +41 -1
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -10,12 +10,13 @@ import './contracts/lens-filter.contract.js';
|
|
|
10
10
|
type FunctionSurfaceClientConfig = GatewayClientConfig;
|
|
11
11
|
type FunctionSurfaceInput = JsonObject;
|
|
12
12
|
type FunctionSurfaceResult<T = unknown> = Promise<PlatformGatewaySuccess<T>>;
|
|
13
|
-
declare const FUNCTION_SURFACE_METHOD_PATHS: readonly ["answers.answerQuestion", "answers.createAnswer", "answers.getAnswer", "beliefs.archiveBelief", "beliefs.bisectConfidence", "beliefs.createBelief", "beliefs.forkBelief", "beliefs.getBelief", "beliefs.getConfidenceHistory", "beliefs.listBeliefs", "beliefs.modulateConfidence", "beliefs.refineBelief", "beliefs.searchBeliefs", "bootstrap.generateSessionHandoff", "coding.getChangeHistory", "coding.getCodeContext", "coding.getFailureLog", "coding.recordAttempt", "context.analyzeTopicDensity", "context.applyAutoBranching", "context.compileContext", "context.discover", "context.discoverEntityConnections", "context.getLatticeCoverage", "context.recordScopeLearning", "context.seedBeliefLattice", "context.triggerBeliefReview", "contracts.createEpistemicContract", "contracts.evaluateContract", "contracts.getContractStatus", "contradictions.flagContradiction", "controlPlane.identity.resolveInteractivePrincipal", "coordination.broadcastMessage", "coordination.claimFiles", "coordination.endSession", "coordination.getAgentInbox", "coordination.heartbeatSession", "coordination.listActiveSessions", "coordination.registerSession", "coordination.sendAgentMessage", "edges.batchCreateEdges", "edges.createEdge", "edges.queryLineage", "edges.removeEdge", "edges.removeEdgesBetween", "edges.updateEdge", "evidence.addEvidence", "evidence.createEvidence", "evidence.getEvidence", "evidence.linkEvidence", "evidence.linkEvidenceToBelief", "evidence.linkEvidenceToQuestion", "evidence.listEvidence", "evidence.searchEvidence", "graph.detectConfirmationBias", "graph.findContradictions", "graph.getGraphGaps", "graph.getGraphNeighborhood", "graph.getGraphStructureAnalysis", "graph.getTopicCoverage", "graph.traceEntityImpact", "graph.traverseGraph", "graphAnalysis.listGraphIntelligenceQueries", "graphAnalysis.runGraphIntelligenceQuery", "identity.checkPermission", "identity.filterByPermission", "identity.whoami", "judgments.getAuditTrail", "judgments.recordJudgment", "lenses.applyLensToTopic", "lenses.createLens", "lenses.listLenses", "lenses.removeLensFromTopic", "nodes.archiveEpistemicNode", "nodes.batchCreateEpistemicNodes", "nodes.createEpistemicNode", "nodes.getEpistemicNode", "nodes.listEpistemicNodes", "nodes.supersedeEpistemicNode", "nodes.updateEpistemicNode", "nodes.verifyEpistemicNode", "observations.getObservationContext", "observations.ingestObservation", "ontologies.applyOntology", "ontologies.archiveOntology", "ontologies.createOntology", "ontologies.createOntologyVersion", "ontologies.deprecateOntologyVersion", "ontologies.getOntology", "ontologies.listOntologies", "ontologies.matchEntityType", "ontologies.publishOntologyVersion", "ontologies.resolveEffectiveOntology", "ontologies.updateOntology", "policy.manageWritePolicy", "questions.archiveQuestion", "questions.createQuestion", "questions.findMissingQuestions", "questions.getFalsificationQuestions", "questions.getHighPriorityQuestions", "questions.getQuestion", "questions.listQuestions", "questions.refineQuestion", "questions.updateQuestionStatus", "tasks.completeTask", "tasks.createTask", "tasks.listTasks", "tasks.updateTask", "topics.createTopic", "topics.getTopic", "topics.getTopicGraphSpine", "topics.getTopicTree", "topics.listTopics", "topics.materializeTopicGraph", "topics.updateTopic", "worktrees.activateWorktree", "worktrees.addWorktree", "worktrees.beginBuildSession", "worktrees.getWorktree", "worktrees.listAllWorktrees", "worktrees.listCampaigns", "worktrees.listWorktrees", "worktrees.merge", "worktrees.openPullRequest", "worktrees.pipelineSnapshot", "worktrees.push", "worktrees.updateWorktreeMetadata", "worktrees.updateWorktreeTargets"];
|
|
13
|
+
declare const FUNCTION_SURFACE_METHOD_PATHS: readonly ["answers.answerQuestion", "answers.createAnswer", "answers.getAnswer", "beliefs.archiveBelief", "beliefs.bisectConfidence", "beliefs.createBelief", "beliefs.forkBelief", "beliefs.getBelief", "beliefs.getConfidenceHistory", "beliefs.listBeliefs", "beliefs.modulateConfidence", "beliefs.refineBelief", "beliefs.searchBeliefs", "bootstrap.generateSessionHandoff", "coding.getChangeHistory", "coding.getCodeContext", "coding.getFailureLog", "coding.recordAttempt", "context.analyzeTopicDensity", "context.applyAutoBranching", "context.compileContext", "context.discover", "context.discoverEntityConnections", "context.getLatticeCoverage", "context.recordScopeLearning", "context.seedBeliefLattice", "context.triggerBeliefReview", "contracts.createEpistemicContract", "contracts.evaluateContract", "contracts.getContractStatus", "contradictions.flagContradiction", "controlPlane.identity.resolveInteractivePrincipal", "coordination.broadcastMessage", "coordination.claimFiles", "coordination.endSession", "coordination.getAgentInbox", "coordination.heartbeatSession", "coordination.listActiveSessions", "coordination.registerSession", "coordination.sendAgentMessage", "edges.batchCreateEdges", "edges.createEdge", "edges.queryLineage", "edges.removeEdge", "edges.removeEdgesBetween", "edges.updateEdge", "embeddings.getByNodeIds", "embeddings.listMissingForTopic", "embeddings.markEmbeddingBackfillQueued", "embeddings.vectorSearchByTopic", "evidence.addEvidence", "evidence.createEvidence", "evidence.getEvidence", "evidence.linkEvidence", "evidence.linkEvidenceToBelief", "evidence.linkEvidenceToQuestion", "evidence.listEvidence", "evidence.searchEvidence", "graph.detectConfirmationBias", "graph.findContradictions", "graph.getGraphGaps", "graph.getGraphNeighborhood", "graph.getGraphStructureAnalysis", "graph.getTopicCoverage", "graph.traceEntityImpact", "graph.traverseGraph", "graphAnalysis.listGraphIntelligenceQueries", "graphAnalysis.runGraphIntelligenceQuery", "hybrid.analyzeGraphImpact", "hybrid.detectGraphDrift", "hybrid.expandGraphNeighborhood", "hybrid.findRelatedNodes", "hybrid.hybridDiscover", "hybrid.resolveTopicSemantic", "identity.checkPermission", "identity.filterByPermission", "identity.whoami", "judgments.getAuditTrail", "judgments.recordJudgment", "lenses.applyLensToTopic", "lenses.createLens", "lenses.listLenses", "lenses.removeLensFromTopic", "nodes.archiveEpistemicNode", "nodes.batchCreateEpistemicNodes", "nodes.createEpistemicNode", "nodes.getEpistemicNode", "nodes.listEpistemicNodes", "nodes.supersedeEpistemicNode", "nodes.updateEpistemicNode", "nodes.verifyEpistemicNode", "observations.getObservationContext", "observations.ingestObservation", "ontologies.applyOntology", "ontologies.archiveOntology", "ontologies.createOntology", "ontologies.createOntologyVersion", "ontologies.deprecateOntologyVersion", "ontologies.getOntology", "ontologies.listOntologies", "ontologies.matchEntityType", "ontologies.publishOntologyVersion", "ontologies.resolveEffectiveOntology", "ontologies.updateOntology", "policy.manageWritePolicy", "questions.archiveQuestion", "questions.createQuestion", "questions.findMissingQuestions", "questions.getFalsificationQuestions", "questions.getHighPriorityQuestions", "questions.getQuestion", "questions.listQuestions", "questions.refineQuestion", "questions.updateQuestionStatus", "tasks.completeTask", "tasks.createTask", "tasks.listTasks", "tasks.updateTask", "topics.createTopic", "topics.getTopic", "topics.getTopicGraphSpine", "topics.getTopicTree", "topics.listTopics", "topics.materializeTopicGraph", "topics.updateTopic", "worktrees.activateWorktree", "worktrees.addWorktree", "worktrees.beginBuildSession", "worktrees.getWorktree", "worktrees.listAllWorktrees", "worktrees.listCampaigns", "worktrees.listWorktrees", "worktrees.merge", "worktrees.openPullRequest", "worktrees.pipelineSnapshot", "worktrees.push", "worktrees.updateWorktreeMetadata", "worktrees.updateWorktreeTargets"];
|
|
14
14
|
declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfig): {
|
|
15
15
|
sessionId: string;
|
|
16
16
|
activateWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
17
17
|
addEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
18
18
|
addWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
19
|
+
analyzeGraphImpact(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
19
20
|
analyzeTopicDensity(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
20
21
|
answerQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
21
22
|
applyAutoBranching(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -48,13 +49,16 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
48
49
|
createTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
49
50
|
deprecateOntologyVersion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
50
51
|
detectConfirmationBias(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
52
|
+
detectGraphDrift(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
51
53
|
discover(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
52
54
|
discoverEntityConnections(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
53
55
|
endSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
54
56
|
evaluateContract(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
57
|
+
expandGraphNeighborhood(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
55
58
|
filterByPermission(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
56
59
|
findContradictions(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
57
60
|
findMissingQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
61
|
+
findRelatedNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
58
62
|
flagContradiction(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
59
63
|
forkBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
60
64
|
generateSessionHandoff(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -66,6 +70,7 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
66
70
|
getCodeContext(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
67
71
|
getConfidenceHistory(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
68
72
|
getContractStatus(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
73
|
+
getByNodeIds(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
69
74
|
getEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
70
75
|
getEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
71
76
|
getFailureLog(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -84,6 +89,7 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
84
89
|
getTopicTree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
85
90
|
getWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
86
91
|
heartbeatSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
92
|
+
hybridDiscover(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
87
93
|
whoami(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
88
94
|
ingestObservation(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
89
95
|
linkEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -97,6 +103,7 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
97
103
|
listEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
98
104
|
listGraphIntelligenceQueries(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
99
105
|
listLenses(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
106
|
+
listMissingForTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
100
107
|
listOntologies(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
101
108
|
listQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
102
109
|
listTasks(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -112,6 +119,7 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
112
119
|
publishOntologyVersion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
113
120
|
push(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
114
121
|
queryLineage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
122
|
+
markEmbeddingBackfillQueued(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
115
123
|
recordAttempt(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
116
124
|
recordJudgment(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
117
125
|
recordScopeLearning(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -123,8 +131,10 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
123
131
|
removeLensFromTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
124
132
|
resolveEffectiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
125
133
|
resolveInteractivePrincipal(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
134
|
+
resolveTopicSemantic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
126
135
|
runGraphIntelligenceQuery(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
127
136
|
searchBeliefs(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
137
|
+
vectorSearchByTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
128
138
|
searchEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
129
139
|
seedBeliefLattice(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
130
140
|
sendAgentMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
package/dist/functionSurface.js
CHANGED
|
@@ -767,6 +767,10 @@ var FUNCTION_SURFACE_METHOD_PATHS = [
|
|
|
767
767
|
"edges.removeEdge",
|
|
768
768
|
"edges.removeEdgesBetween",
|
|
769
769
|
"edges.updateEdge",
|
|
770
|
+
"embeddings.getByNodeIds",
|
|
771
|
+
"embeddings.listMissingForTopic",
|
|
772
|
+
"embeddings.markEmbeddingBackfillQueued",
|
|
773
|
+
"embeddings.vectorSearchByTopic",
|
|
770
774
|
"evidence.addEvidence",
|
|
771
775
|
"evidence.createEvidence",
|
|
772
776
|
"evidence.getEvidence",
|
|
@@ -785,6 +789,12 @@ var FUNCTION_SURFACE_METHOD_PATHS = [
|
|
|
785
789
|
"graph.traverseGraph",
|
|
786
790
|
"graphAnalysis.listGraphIntelligenceQueries",
|
|
787
791
|
"graphAnalysis.runGraphIntelligenceQuery",
|
|
792
|
+
"hybrid.analyzeGraphImpact",
|
|
793
|
+
"hybrid.detectGraphDrift",
|
|
794
|
+
"hybrid.expandGraphNeighborhood",
|
|
795
|
+
"hybrid.findRelatedNodes",
|
|
796
|
+
"hybrid.hybridDiscover",
|
|
797
|
+
"hybrid.resolveTopicSemantic",
|
|
788
798
|
"identity.checkPermission",
|
|
789
799
|
"identity.filterByPermission",
|
|
790
800
|
"identity.whoami",
|
|
@@ -854,6 +864,7 @@ var CONTRACTS = {
|
|
|
854
864
|
"activate_worktree": { method: "POST", path: "/worktrees/activate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
|
|
855
865
|
"add_evidence": { method: "POST", path: "/evidence/add", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
|
|
856
866
|
"add_worktree": { method: "POST", path: "/worktrees", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
|
|
867
|
+
"analyze_graph_impact": { method: "POST", path: "/hybrid/impact", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
857
868
|
"analyze_topic_density": { method: "POST", path: "/scope/topic-density", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
858
869
|
"answer_question": { method: "POST", path: "/questions/answer", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
|
|
859
870
|
"apply_auto_branching": { method: "POST", path: "/scope/auto-branching", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
|
|
@@ -886,13 +897,16 @@ var CONTRACTS = {
|
|
|
886
897
|
"create_topic": { method: "POST", path: "/topics", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
|
|
887
898
|
"deprecate_ontology_version": { method: "POST", path: "/ontologies/versions/deprecate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
|
|
888
899
|
"detect_confirmation_bias": { method: "POST", path: "/graph/confirmation-bias", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
900
|
+
"detect_graph_drift": { method: "POST", path: "/hybrid/drift", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
889
901
|
"discover": { method: "POST", path: "/context/discover", kind: "query", idempotent: false, surfaceIntent: "compatibility" },
|
|
890
902
|
"discover_entity_connections": { method: "POST", path: "/context/entity-connections", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
891
903
|
"end_session": { method: "POST", path: "/coordination/end-session", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
892
904
|
"evaluate_contract": { method: "POST", path: "/contracts/evaluate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
|
|
905
|
+
"expand_graph_neighborhood": { method: "POST", path: "/hybrid/neighborhood", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
893
906
|
"filter_by_permission": { method: "POST", path: "/identity/filter-by-permission", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
894
907
|
"find_contradictions": { method: "POST", path: "/graph/contradictions", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
895
908
|
"find_missing_questions": { method: "POST", path: "/questions/missing", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
909
|
+
"find_related_nodes": { method: "POST", path: "/hybrid/related-nodes", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
896
910
|
"flag_contradiction": { method: "POST", path: "/contradictions", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
|
|
897
911
|
"fork_belief": { method: "POST", path: "/beliefs/fork", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
|
|
898
912
|
"generate_session_handoff": { method: "POST", path: "/bootstrap/session-handoff", kind: "query", idempotent: false, surfaceIntent: "system" },
|
|
@@ -904,6 +918,7 @@ var CONTRACTS = {
|
|
|
904
918
|
"get_code_context": { method: "POST", path: "/coding/context", kind: "query", idempotent: false, surfaceIntent: "system" },
|
|
905
919
|
"get_confidence_history": { method: "POST", path: "/beliefs/confidence-history", kind: "query", idempotent: false, surfaceIntent: "compatibility" },
|
|
906
920
|
"get_contract_status": { method: "POST", path: "/contracts/status", kind: "query", idempotent: false, surfaceIntent: "mcp_governance" },
|
|
921
|
+
"get_embeddings_by_node_ids": { method: "POST", path: "/embeddings/by-node-ids", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
907
922
|
"get_epistemic_node": { method: "GET", path: "/nodes/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
908
923
|
"get_evidence": { method: "GET", path: "/evidence/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
909
924
|
"get_failure_log": { method: "POST", path: "/coding/failure-log", kind: "query", idempotent: false, surfaceIntent: "system" },
|
|
@@ -922,6 +937,7 @@ var CONTRACTS = {
|
|
|
922
937
|
"get_topic_tree": { method: "GET", path: "/topics/tree", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
923
938
|
"get_worktree": { method: "GET", path: "/worktrees/get", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
|
|
924
939
|
"heartbeat_session": { method: "POST", path: "/coordination/heartbeat-session", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
940
|
+
"hybrid_discover": { method: "POST", path: "/hybrid/discover", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
925
941
|
"identity_whoami": { method: "GET", path: "/identity/whoami", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
926
942
|
"ingest_observation": { method: "POST", path: "/observations/ingest", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
|
|
927
943
|
"link_evidence": { method: "POST", path: "/evidence/link", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
|
|
@@ -935,6 +951,7 @@ var CONTRACTS = {
|
|
|
935
951
|
"list_evidence": { method: "GET", path: "/evidence", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
936
952
|
"list_graph_intelligence_queries": { method: "POST", path: "/graph-intelligence/queries", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
937
953
|
"list_lenses": { method: "GET", path: "/lenses", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
|
|
954
|
+
"list_missing_embeddings": { method: "GET", path: "/embeddings/missing", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
938
955
|
"list_ontologies": { method: "GET", path: "/ontologies", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
|
|
939
956
|
"list_questions": { method: "GET", path: "/questions", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
940
957
|
"list_tasks": { method: "GET", path: "/tasks", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
|
|
@@ -950,6 +967,7 @@ var CONTRACTS = {
|
|
|
950
967
|
"publish_ontology_version": { method: "POST", path: "/ontologies/versions/publish", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
|
|
951
968
|
"push": { method: "POST", path: "/worktrees/push", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
952
969
|
"query_lineage": { method: "POST", path: "/edges/lineage", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
970
|
+
"queue_embedding_backfill": { method: "POST", path: "/embeddings/backfill-queued", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
|
|
953
971
|
"record_attempt": { method: "POST", path: "/coding/attempts", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
954
972
|
"record_judgment": { method: "POST", path: "/judgments", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
955
973
|
"record_scope_learning": { method: "POST", path: "/scope/learnings", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
@@ -961,8 +979,10 @@ var CONTRACTS = {
|
|
|
961
979
|
"remove_lens_from_topic": { method: "DELETE", path: "/lenses/apply", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
|
|
962
980
|
"resolve_effective_ontology": { method: "POST", path: "/ontologies/effective", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
|
|
963
981
|
"resolve_interactive_principal": { method: "POST", path: "/control-plane/identity/resolve-interactive-principal", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
982
|
+
"resolve_topic_semantic": { method: "POST", path: "/hybrid/topics/resolve", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
964
983
|
"run_graph_intelligence_query": { method: "POST", path: "/graph-intelligence/run", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
965
984
|
"search_beliefs": { method: "POST", path: "/beliefs/search", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
985
|
+
"search_embeddings": { method: "POST", path: "/embeddings/vector-search", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
|
|
966
986
|
"search_evidence": { method: "POST", path: "/evidence/search", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
|
|
967
987
|
"seed_belief_lattice": { method: "POST", path: "/scope/belief-lattice/seed", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
968
988
|
"send_agent_message": { method: "POST", path: "/coordination/messages/send", kind: "mutation", idempotent: true, surfaceIntent: "system" },
|
|
@@ -1028,6 +1048,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1028
1048
|
addWorktree(input = {}, idempotencyKey) {
|
|
1029
1049
|
return execute("add_worktree", input, idempotencyKey);
|
|
1030
1050
|
},
|
|
1051
|
+
analyzeGraphImpact(input = {}, idempotencyKey) {
|
|
1052
|
+
return execute("analyze_graph_impact", input, idempotencyKey);
|
|
1053
|
+
},
|
|
1031
1054
|
analyzeTopicDensity(input = {}, idempotencyKey) {
|
|
1032
1055
|
return execute("analyze_topic_density", input, idempotencyKey);
|
|
1033
1056
|
},
|
|
@@ -1124,6 +1147,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1124
1147
|
detectConfirmationBias(input = {}, idempotencyKey) {
|
|
1125
1148
|
return execute("detect_confirmation_bias", input, idempotencyKey);
|
|
1126
1149
|
},
|
|
1150
|
+
detectGraphDrift(input = {}, idempotencyKey) {
|
|
1151
|
+
return execute("detect_graph_drift", input, idempotencyKey);
|
|
1152
|
+
},
|
|
1127
1153
|
discover(input = {}, idempotencyKey) {
|
|
1128
1154
|
return execute("discover", input, idempotencyKey);
|
|
1129
1155
|
},
|
|
@@ -1136,6 +1162,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1136
1162
|
evaluateContract(input = {}, idempotencyKey) {
|
|
1137
1163
|
return execute("evaluate_contract", input, idempotencyKey);
|
|
1138
1164
|
},
|
|
1165
|
+
expandGraphNeighborhood(input = {}, idempotencyKey) {
|
|
1166
|
+
return execute("expand_graph_neighborhood", input, idempotencyKey);
|
|
1167
|
+
},
|
|
1139
1168
|
filterByPermission(input = {}, idempotencyKey) {
|
|
1140
1169
|
return execute("filter_by_permission", input, idempotencyKey);
|
|
1141
1170
|
},
|
|
@@ -1145,6 +1174,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1145
1174
|
findMissingQuestions(input = {}, idempotencyKey) {
|
|
1146
1175
|
return execute("find_missing_questions", input, idempotencyKey);
|
|
1147
1176
|
},
|
|
1177
|
+
findRelatedNodes(input = {}, idempotencyKey) {
|
|
1178
|
+
return execute("find_related_nodes", input, idempotencyKey);
|
|
1179
|
+
},
|
|
1148
1180
|
flagContradiction(input = {}, idempotencyKey) {
|
|
1149
1181
|
return execute("flag_contradiction", input, idempotencyKey);
|
|
1150
1182
|
},
|
|
@@ -1178,6 +1210,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1178
1210
|
getContractStatus(input = {}, idempotencyKey) {
|
|
1179
1211
|
return execute("get_contract_status", input, idempotencyKey);
|
|
1180
1212
|
},
|
|
1213
|
+
getByNodeIds(input = {}, idempotencyKey) {
|
|
1214
|
+
return execute("get_embeddings_by_node_ids", input, idempotencyKey);
|
|
1215
|
+
},
|
|
1181
1216
|
getEpistemicNode(input = {}, idempotencyKey) {
|
|
1182
1217
|
return execute("get_epistemic_node", input, idempotencyKey);
|
|
1183
1218
|
},
|
|
@@ -1232,6 +1267,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1232
1267
|
heartbeatSession(input = {}, idempotencyKey) {
|
|
1233
1268
|
return execute("heartbeat_session", input, idempotencyKey);
|
|
1234
1269
|
},
|
|
1270
|
+
hybridDiscover(input = {}, idempotencyKey) {
|
|
1271
|
+
return execute("hybrid_discover", input, idempotencyKey);
|
|
1272
|
+
},
|
|
1235
1273
|
whoami(input = {}, idempotencyKey) {
|
|
1236
1274
|
return execute("identity_whoami", input, idempotencyKey);
|
|
1237
1275
|
},
|
|
@@ -1271,6 +1309,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1271
1309
|
listLenses(input = {}, idempotencyKey) {
|
|
1272
1310
|
return execute("list_lenses", input, idempotencyKey);
|
|
1273
1311
|
},
|
|
1312
|
+
listMissingForTopic(input = {}, idempotencyKey) {
|
|
1313
|
+
return execute("list_missing_embeddings", input, idempotencyKey);
|
|
1314
|
+
},
|
|
1274
1315
|
listOntologies(input = {}, idempotencyKey) {
|
|
1275
1316
|
return execute("list_ontologies", input, idempotencyKey);
|
|
1276
1317
|
},
|
|
@@ -1316,6 +1357,9 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1316
1357
|
queryLineage(input = {}, idempotencyKey) {
|
|
1317
1358
|
return execute("query_lineage", input, idempotencyKey);
|
|
1318
1359
|
},
|
|
1360
|
+
markEmbeddingBackfillQueued(input = {}, idempotencyKey) {
|
|
1361
|
+
return execute("queue_embedding_backfill", input, idempotencyKey);
|
|
1362
|
+
},
|
|
1319
1363
|
recordAttempt(input = {}, idempotencyKey) {
|
|
1320
1364
|
return execute("record_attempt", input, idempotencyKey);
|
|
1321
1365
|
},
|
|
@@ -1349,12 +1393,18 @@ function createFunctionSurfaceClient(config = {}) {
|
|
|
1349
1393
|
resolveInteractivePrincipal(input = {}, idempotencyKey) {
|
|
1350
1394
|
return execute("resolve_interactive_principal", input, idempotencyKey);
|
|
1351
1395
|
},
|
|
1396
|
+
resolveTopicSemantic(input = {}, idempotencyKey) {
|
|
1397
|
+
return execute("resolve_topic_semantic", input, idempotencyKey);
|
|
1398
|
+
},
|
|
1352
1399
|
runGraphIntelligenceQuery(input = {}, idempotencyKey) {
|
|
1353
1400
|
return execute("run_graph_intelligence_query", input, idempotencyKey);
|
|
1354
1401
|
},
|
|
1355
1402
|
searchBeliefs(input = {}, idempotencyKey) {
|
|
1356
1403
|
return execute("search_beliefs", input, idempotencyKey);
|
|
1357
1404
|
},
|
|
1405
|
+
vectorSearchByTopic(input = {}, idempotencyKey) {
|
|
1406
|
+
return execute("search_embeddings", input, idempotencyKey);
|
|
1407
|
+
},
|
|
1358
1408
|
searchEvidence(input = {}, idempotencyKey) {
|
|
1359
1409
|
return execute("search_evidence", input, idempotencyKey);
|
|
1360
1410
|
},
|