@lucern/sdk 1.0.2 → 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 CHANGED
@@ -5,6 +5,12 @@ All notable changes to `@lucern/sdk` will be documented in this file.
5
5
  ## [Unreleased]
6
6
  - No unreleased changes yet.
7
7
 
8
+ ## [1.0.4] - 2026-05-28
9
+ - Release notes pending.
10
+
11
+ ## [1.0.3] - 2026-05-27
12
+ - Release notes pending.
13
+
8
14
  ## [1.0.2] - 2026-05-27
9
15
  - Campaign 1 wrap-up release with expanded CLI targeting and observability pilot surfaces.
10
16
 
@@ -6899,6 +6899,7 @@ var CONTRACTS = {
6899
6899
  "activate_worktree": { method: "POST", path: "/worktrees/activate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
6900
6900
  "add_evidence": { method: "POST", path: "/evidence/add", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
6901
6901
  "add_worktree": { method: "POST", path: "/worktrees", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
6902
+ "analyze_graph_impact": { method: "POST", path: "/hybrid/impact", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
6902
6903
  "analyze_topic_density": { method: "POST", path: "/scope/topic-density", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
6903
6904
  "answer_question": { method: "POST", path: "/questions/answer", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
6904
6905
  "apply_auto_branching": { method: "POST", path: "/scope/auto-branching", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
@@ -6931,13 +6932,16 @@ var CONTRACTS = {
6931
6932
  "create_topic": { method: "POST", path: "/topics", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
6932
6933
  "deprecate_ontology_version": { method: "POST", path: "/ontologies/versions/deprecate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
6933
6934
  "detect_confirmation_bias": { method: "POST", path: "/graph/confirmation-bias", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
6935
+ "detect_graph_drift": { method: "POST", path: "/hybrid/drift", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
6934
6936
  "discover": { method: "POST", path: "/context/discover", kind: "query", idempotent: false, surfaceIntent: "compatibility" },
6935
6937
  "discover_entity_connections": { method: "POST", path: "/context/entity-connections", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
6936
6938
  "end_session": { method: "POST", path: "/coordination/end-session", kind: "mutation", idempotent: true, surfaceIntent: "system" },
6937
6939
  "evaluate_contract": { method: "POST", path: "/contracts/evaluate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
6940
+ "expand_graph_neighborhood": { method: "POST", path: "/hybrid/neighborhood", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
6938
6941
  "filter_by_permission": { method: "POST", path: "/identity/filter-by-permission", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6939
6942
  "find_contradictions": { method: "POST", path: "/graph/contradictions", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
6940
6943
  "find_missing_questions": { method: "POST", path: "/questions/missing", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6944
+ "find_related_nodes": { method: "POST", path: "/hybrid/related-nodes", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
6941
6945
  "flag_contradiction": { method: "POST", path: "/contradictions", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
6942
6946
  "fork_belief": { method: "POST", path: "/beliefs/fork", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
6943
6947
  "generate_session_handoff": { method: "POST", path: "/bootstrap/session-handoff", kind: "query", idempotent: false, surfaceIntent: "system" },
@@ -6949,6 +6953,7 @@ var CONTRACTS = {
6949
6953
  "get_code_context": { method: "POST", path: "/coding/context", kind: "query", idempotent: false, surfaceIntent: "system" },
6950
6954
  "get_confidence_history": { method: "POST", path: "/beliefs/confidence-history", kind: "query", idempotent: false, surfaceIntent: "compatibility" },
6951
6955
  "get_contract_status": { method: "POST", path: "/contracts/status", kind: "query", idempotent: false, surfaceIntent: "mcp_governance" },
6956
+ "get_embeddings_by_node_ids": { method: "POST", path: "/embeddings/by-node-ids", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
6952
6957
  "get_epistemic_node": { method: "GET", path: "/nodes/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6953
6958
  "get_evidence": { method: "GET", path: "/evidence/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6954
6959
  "get_failure_log": { method: "POST", path: "/coding/failure-log", kind: "query", idempotent: false, surfaceIntent: "system" },
@@ -6967,6 +6972,7 @@ var CONTRACTS = {
6967
6972
  "get_topic_tree": { method: "GET", path: "/topics/tree", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6968
6973
  "get_worktree": { method: "GET", path: "/worktrees/get", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
6969
6974
  "heartbeat_session": { method: "POST", path: "/coordination/heartbeat-session", kind: "mutation", idempotent: true, surfaceIntent: "system" },
6975
+ "hybrid_discover": { method: "POST", path: "/hybrid/discover", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
6970
6976
  "identity_whoami": { method: "GET", path: "/identity/whoami", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6971
6977
  "ingest_observation": { method: "POST", path: "/observations/ingest", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
6972
6978
  "link_evidence": { method: "POST", path: "/evidence/link", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
@@ -6980,6 +6986,7 @@ var CONTRACTS = {
6980
6986
  "list_evidence": { method: "GET", path: "/evidence", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6981
6987
  "list_graph_intelligence_queries": { method: "POST", path: "/graph-intelligence/queries", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
6982
6988
  "list_lenses": { method: "GET", path: "/lenses", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
6989
+ "list_missing_embeddings": { method: "GET", path: "/embeddings/missing", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
6983
6990
  "list_ontologies": { method: "GET", path: "/ontologies", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
6984
6991
  "list_questions": { method: "GET", path: "/questions", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
6985
6992
  "list_tasks": { method: "GET", path: "/tasks", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
@@ -6995,6 +7002,7 @@ var CONTRACTS = {
6995
7002
  "publish_ontology_version": { method: "POST", path: "/ontologies/versions/publish", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
6996
7003
  "push": { method: "POST", path: "/worktrees/push", kind: "mutation", idempotent: true, surfaceIntent: "system" },
6997
7004
  "query_lineage": { method: "POST", path: "/edges/lineage", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
7005
+ "queue_embedding_backfill": { method: "POST", path: "/embeddings/backfill-queued", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
6998
7006
  "record_attempt": { method: "POST", path: "/coding/attempts", kind: "mutation", idempotent: true, surfaceIntent: "system" },
6999
7007
  "record_judgment": { method: "POST", path: "/judgments", kind: "mutation", idempotent: true, surfaceIntent: "system" },
7000
7008
  "record_scope_learning": { method: "POST", path: "/scope/learnings", kind: "mutation", idempotent: true, surfaceIntent: "system" },
@@ -7006,8 +7014,10 @@ var CONTRACTS = {
7006
7014
  "remove_lens_from_topic": { method: "DELETE", path: "/lenses/apply", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
7007
7015
  "resolve_effective_ontology": { method: "POST", path: "/ontologies/effective", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
7008
7016
  "resolve_interactive_principal": { method: "POST", path: "/control-plane/identity/resolve-interactive-principal", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
7017
+ "resolve_topic_semantic": { method: "POST", path: "/hybrid/topics/resolve", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
7009
7018
  "run_graph_intelligence_query": { method: "POST", path: "/graph-intelligence/run", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
7010
7019
  "search_beliefs": { method: "POST", path: "/beliefs/search", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
7020
+ "search_embeddings": { method: "POST", path: "/embeddings/vector-search", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
7011
7021
  "search_evidence": { method: "POST", path: "/evidence/search", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
7012
7022
  "seed_belief_lattice": { method: "POST", path: "/scope/belief-lattice/seed", kind: "mutation", idempotent: true, surfaceIntent: "system" },
7013
7023
  "send_agent_message": { method: "POST", path: "/coordination/messages/send", kind: "mutation", idempotent: true, surfaceIntent: "system" },
@@ -7073,6 +7083,9 @@ function createFunctionSurfaceClient(config = {}) {
7073
7083
  addWorktree(input = {}, idempotencyKey) {
7074
7084
  return execute("add_worktree", input, idempotencyKey);
7075
7085
  },
7086
+ analyzeGraphImpact(input = {}, idempotencyKey) {
7087
+ return execute("analyze_graph_impact", input, idempotencyKey);
7088
+ },
7076
7089
  analyzeTopicDensity(input = {}, idempotencyKey) {
7077
7090
  return execute("analyze_topic_density", input, idempotencyKey);
7078
7091
  },
@@ -7169,6 +7182,9 @@ function createFunctionSurfaceClient(config = {}) {
7169
7182
  detectConfirmationBias(input = {}, idempotencyKey) {
7170
7183
  return execute("detect_confirmation_bias", input, idempotencyKey);
7171
7184
  },
7185
+ detectGraphDrift(input = {}, idempotencyKey) {
7186
+ return execute("detect_graph_drift", input, idempotencyKey);
7187
+ },
7172
7188
  discover(input = {}, idempotencyKey) {
7173
7189
  return execute("discover", input, idempotencyKey);
7174
7190
  },
@@ -7181,6 +7197,9 @@ function createFunctionSurfaceClient(config = {}) {
7181
7197
  evaluateContract(input = {}, idempotencyKey) {
7182
7198
  return execute("evaluate_contract", input, idempotencyKey);
7183
7199
  },
7200
+ expandGraphNeighborhood(input = {}, idempotencyKey) {
7201
+ return execute("expand_graph_neighborhood", input, idempotencyKey);
7202
+ },
7184
7203
  filterByPermission(input = {}, idempotencyKey) {
7185
7204
  return execute("filter_by_permission", input, idempotencyKey);
7186
7205
  },
@@ -7190,6 +7209,9 @@ function createFunctionSurfaceClient(config = {}) {
7190
7209
  findMissingQuestions(input = {}, idempotencyKey) {
7191
7210
  return execute("find_missing_questions", input, idempotencyKey);
7192
7211
  },
7212
+ findRelatedNodes(input = {}, idempotencyKey) {
7213
+ return execute("find_related_nodes", input, idempotencyKey);
7214
+ },
7193
7215
  flagContradiction(input = {}, idempotencyKey) {
7194
7216
  return execute("flag_contradiction", input, idempotencyKey);
7195
7217
  },
@@ -7223,6 +7245,9 @@ function createFunctionSurfaceClient(config = {}) {
7223
7245
  getContractStatus(input = {}, idempotencyKey) {
7224
7246
  return execute("get_contract_status", input, idempotencyKey);
7225
7247
  },
7248
+ getByNodeIds(input = {}, idempotencyKey) {
7249
+ return execute("get_embeddings_by_node_ids", input, idempotencyKey);
7250
+ },
7226
7251
  getEpistemicNode(input = {}, idempotencyKey) {
7227
7252
  return execute("get_epistemic_node", input, idempotencyKey);
7228
7253
  },
@@ -7277,6 +7302,9 @@ function createFunctionSurfaceClient(config = {}) {
7277
7302
  heartbeatSession(input = {}, idempotencyKey) {
7278
7303
  return execute("heartbeat_session", input, idempotencyKey);
7279
7304
  },
7305
+ hybridDiscover(input = {}, idempotencyKey) {
7306
+ return execute("hybrid_discover", input, idempotencyKey);
7307
+ },
7280
7308
  whoami(input = {}, idempotencyKey) {
7281
7309
  return execute("identity_whoami", input, idempotencyKey);
7282
7310
  },
@@ -7316,6 +7344,9 @@ function createFunctionSurfaceClient(config = {}) {
7316
7344
  listLenses(input = {}, idempotencyKey) {
7317
7345
  return execute("list_lenses", input, idempotencyKey);
7318
7346
  },
7347
+ listMissingForTopic(input = {}, idempotencyKey) {
7348
+ return execute("list_missing_embeddings", input, idempotencyKey);
7349
+ },
7319
7350
  listOntologies(input = {}, idempotencyKey) {
7320
7351
  return execute("list_ontologies", input, idempotencyKey);
7321
7352
  },
@@ -7361,6 +7392,9 @@ function createFunctionSurfaceClient(config = {}) {
7361
7392
  queryLineage(input = {}, idempotencyKey) {
7362
7393
  return execute("query_lineage", input, idempotencyKey);
7363
7394
  },
7395
+ markEmbeddingBackfillQueued(input = {}, idempotencyKey) {
7396
+ return execute("queue_embedding_backfill", input, idempotencyKey);
7397
+ },
7364
7398
  recordAttempt(input = {}, idempotencyKey) {
7365
7399
  return execute("record_attempt", input, idempotencyKey);
7366
7400
  },
@@ -7394,12 +7428,18 @@ function createFunctionSurfaceClient(config = {}) {
7394
7428
  resolveInteractivePrincipal(input = {}, idempotencyKey) {
7395
7429
  return execute("resolve_interactive_principal", input, idempotencyKey);
7396
7430
  },
7431
+ resolveTopicSemantic(input = {}, idempotencyKey) {
7432
+ return execute("resolve_topic_semantic", input, idempotencyKey);
7433
+ },
7397
7434
  runGraphIntelligenceQuery(input = {}, idempotencyKey) {
7398
7435
  return execute("run_graph_intelligence_query", input, idempotencyKey);
7399
7436
  },
7400
7437
  searchBeliefs(input = {}, idempotencyKey) {
7401
7438
  return execute("search_beliefs", input, idempotencyKey);
7402
7439
  },
7440
+ vectorSearchByTopic(input = {}, idempotencyKey) {
7441
+ return execute("search_embeddings", input, idempotencyKey);
7442
+ },
7403
7443
  searchEvidence(input = {}, idempotencyKey) {
7404
7444
  return execute("search_evidence", input, idempotencyKey);
7405
7445
  },
@@ -9525,7 +9565,7 @@ function createToolRegistryClient(config = {}) {
9525
9565
  }
9526
9566
 
9527
9567
  // src/version.ts
9528
- var LUCERN_SDK_VERSION = "1.0.2";
9568
+ var LUCERN_SDK_VERSION = "1.0.4";
9529
9569
 
9530
9570
  // src/workflowClient.ts
9531
9571
  function normalizeLensQuery(value) {