@lucern/sdk 1.0.3 → 1.0.5

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.
@@ -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
  },