@lucern/contracts 1.0.7 → 1.0.9

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.
Files changed (82) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/function-registry/beliefs.d.ts +1 -0
  3. package/dist/function-registry/beliefs.js +4 -0
  4. package/dist/function-registry/beliefs.js.map +1 -1
  5. package/dist/function-registry/coding.d.ts +1 -0
  6. package/dist/function-registry/coding.js +4 -0
  7. package/dist/function-registry/coding.js.map +1 -1
  8. package/dist/function-registry/context.d.ts +1 -0
  9. package/dist/function-registry/context.js +4 -0
  10. package/dist/function-registry/context.js.map +1 -1
  11. package/dist/function-registry/contracts.d.ts +1 -0
  12. package/dist/function-registry/contracts.js +4 -0
  13. package/dist/function-registry/contracts.js.map +1 -1
  14. package/dist/function-registry/coordination.d.ts +1 -0
  15. package/dist/function-registry/coordination.js +4 -0
  16. package/dist/function-registry/coordination.js.map +1 -1
  17. package/dist/function-registry/edges.d.ts +1 -0
  18. package/dist/function-registry/edges.js +4 -0
  19. package/dist/function-registry/edges.js.map +1 -1
  20. package/dist/function-registry/evidence.d.ts +1 -0
  21. package/dist/function-registry/evidence.js +4 -0
  22. package/dist/function-registry/evidence.js.map +1 -1
  23. package/dist/function-registry/graph.d.ts +1 -0
  24. package/dist/function-registry/graph.js +4 -0
  25. package/dist/function-registry/graph.js.map +1 -1
  26. package/dist/function-registry/helpers.js +4 -0
  27. package/dist/function-registry/helpers.js.map +1 -1
  28. package/dist/function-registry/identity.d.ts +1 -0
  29. package/dist/function-registry/identity.js +4 -0
  30. package/dist/function-registry/identity.js.map +1 -1
  31. package/dist/function-registry/index.js +10 -0
  32. package/dist/function-registry/index.js.map +1 -1
  33. package/dist/function-registry/judgments.d.ts +1 -0
  34. package/dist/function-registry/judgments.js +4 -0
  35. package/dist/function-registry/judgments.js.map +1 -1
  36. package/dist/function-registry/legacy.d.ts +1 -0
  37. package/dist/function-registry/legacy.js +4 -0
  38. package/dist/function-registry/legacy.js.map +1 -1
  39. package/dist/function-registry/lenses.d.ts +1 -0
  40. package/dist/function-registry/lenses.js +4 -0
  41. package/dist/function-registry/lenses.js.map +1 -1
  42. package/dist/function-registry/nodes.d.ts +1 -0
  43. package/dist/function-registry/nodes.js +4 -0
  44. package/dist/function-registry/nodes.js.map +1 -1
  45. package/dist/function-registry/ontologies.d.ts +1 -0
  46. package/dist/function-registry/ontologies.js +4 -0
  47. package/dist/function-registry/ontologies.js.map +1 -1
  48. package/dist/function-registry/pipeline.d.ts +1 -0
  49. package/dist/function-registry/pipeline.js +4 -0
  50. package/dist/function-registry/pipeline.js.map +1 -1
  51. package/dist/function-registry/questions.d.ts +1 -0
  52. package/dist/function-registry/questions.js +4 -0
  53. package/dist/function-registry/questions.js.map +1 -1
  54. package/dist/function-registry/tasks.d.ts +1 -0
  55. package/dist/function-registry/tasks.js +4 -0
  56. package/dist/function-registry/tasks.js.map +1 -1
  57. package/dist/function-registry/topics.d.ts +1 -0
  58. package/dist/function-registry/topics.js +4 -0
  59. package/dist/function-registry/topics.js.map +1 -1
  60. package/dist/function-registry/types.d.ts +1 -0
  61. package/dist/function-registry/worktrees.d.ts +1 -0
  62. package/dist/function-registry/worktrees.js +4 -0
  63. package/dist/function-registry/worktrees.js.map +1 -1
  64. package/dist/index.js +4 -0
  65. package/dist/index.js.map +1 -1
  66. package/dist/infisical-runtime.contract.d.ts +2 -2
  67. package/dist/infisical-runtime.tenant-secrets.d.ts +2 -2
  68. package/dist/manifests/infisical-runtime-manifest.d.ts +2 -2
  69. package/dist/proof-attestation.json +1 -1
  70. package/dist/sdk-tools.contract.js +4 -0
  71. package/dist/sdk-tools.contract.js.map +1 -1
  72. package/dist/sdk-tools.contract.registry.js +4 -0
  73. package/dist/sdk-tools.contract.registry.js.map +1 -1
  74. package/dist/sdk-tools.contract.values.js +4 -0
  75. package/dist/sdk-tools.contract.values.js.map +1 -1
  76. package/dist/tool-contracts.embeddings.js +4 -0
  77. package/dist/tool-contracts.embeddings.js.map +1 -1
  78. package/dist/tool-contracts.js +4 -0
  79. package/dist/tool-contracts.js.map +1 -1
  80. package/dist/tool-contracts.values.js +4 -0
  81. package/dist/tool-contracts.values.js.map +1 -1
  82. package/package.json +1 -1
@@ -16,6 +16,10 @@ var sharedEmbeddingParameters = {
16
16
  type: "string",
17
17
  description: "Optional embedding model filter."
18
18
  },
19
+ includeInactive: {
20
+ type: "boolean",
21
+ description: "Include archived, superseded, or otherwise inactive epistemic nodes in coverage checks."
22
+ },
19
23
  limit: {
20
24
  type: "number",
21
25
  description: "Maximum rows to return."
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/tool-contracts.embeddings.ts"],"names":[],"mappings":";AAEA,IAAM,yBAAA,GAA4B;AAAA,EAChC,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,WAAA,EAAa;AAAA,IACX,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,cAAA,EAAgB;AAAA,IACd,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA;AAEjB,CAAA;AAEO,IAAM,uBAAA,GAA2C;AAAA,EACtD,IAAA,EAAM,yBAAA;AAAA,EACN,WAAA,EACE,oLAAA;AAAA,EAEF,UAAA,EAAY,yBAAA;AAAA,EACZ,QAAA,EAAU,CAAC,SAAA,EAAW,aAAa,CAAA;AAAA,EACnC,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,uCAAA;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,KAAA,EAAO,uDAAA;AAAA,MACP,KAAA,EAAO,+BAAA;AAAA,MACP,UAAA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A,MACZ,KAAA,EAAO,+BAAA;AAAA,MACP,UAAA,EAAY;AAAA;AACd,GACF;AAAA,EACA,WAAA,EAAa,kBAAA;AAAA,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR;AAEO,IAAM,wBAAA,GAA4C;AAAA,EACvD,IAAA,EAAM,0BAAA;AAAA,EACN,WAAA,EACE,yKAAA;AAAA,EAEF,UAAA,EAAY;AAAA,IACV,GAAG,yBAAA;AAAA,IACH,OAAA,EAAS;AAAA,MACP,IAAA,EAAM,OAAA;AAAA,MACN,WAAA,EAAa;AAAA;AACf,GACF;AAAA,EACA,QAAA,EAAU,CAAC,SAAA,EAAW,aAAA,EAAe,SAAS,CAAA;AAAA,EAC9C,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,wBAAA;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,MAAA,EAAQ,iCAAA;AAAA,MACR,OAAA,EAAS;AAAA;AACX,GACF;AAAA,EACA,WAAA,EAAa,kBAAA;AAAA,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR","file":"tool-contracts.embeddings.js","sourcesContent":["import type { McpToolContract } from \"./tool-contracts.types\";\n\nconst sharedEmbeddingParameters = {\n topicId: {\n type: \"string\",\n description: \"Topic whose epistemic node embedding index should be queried.\",\n },\n workspaceId: {\n type: \"string\",\n description: \"Workspace scope for the embedding operation.\",\n },\n nodeType: {\n type: \"string\",\n description: \"Optional epistemic node type filter.\",\n },\n embeddingModel: {\n type: \"string\",\n description: \"Optional embedding model filter.\",\n },\n limit: {\n type: \"number\",\n description: \"Maximum rows to return.\",\n },\n} satisfies McpToolContract[\"parameters\"];\n\nexport const LIST_MISSING_EMBEDDINGS: McpToolContract = {\n name: \"list_missing_embeddings\",\n description:\n \"List epistemic nodes missing fresh Convex embeddings. \" +\n \"Like `git status` for the semantic index — shows which graph nodes still need indexing before retrieval can be trusted.\",\n parameters: sharedEmbeddingParameters,\n required: [\"topicId\", \"workspaceId\"],\n response: {\n description: \"Missing or stale embedding candidates\",\n fields: {\n nodes: \"array — node candidates missing fresh embeddings\",\n total: \"number — candidate count\",\n nextCursor: \"string | null\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"workhorse\",\n};\n\nexport const SEARCH_EMBEDDINGS: McpToolContract = {\n name: \"search_embeddings\",\n description:\n \"Search topic-scoped epistemic nodes through the Convex vector index. \" +\n \"Like `git grep` with semantic distance — finds matching beliefs, questions, evidence, and other nodes even when wording differs.\",\n parameters: {\n ...sharedEmbeddingParameters,\n queryText: {\n type: \"string\",\n description: \"Natural-language query to embed and search with.\",\n },\n queryVector: {\n type: \"array\",\n description: \"Optional precomputed query vector.\",\n },\n minScore: {\n type: \"number\",\n description: \"Optional minimum cosine-similarity score.\",\n },\n },\n required: [\"topicId\", \"workspaceId\"],\n response: {\n description: \"Vector search matches\",\n fields: {\n results: \"array — semantic matches with nodeId, nodeType, score, text, and provenance\",\n total: \"number — match count\",\n nextCursor: \"string | null\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"showcase\",\n};\n\nexport const GET_EMBEDDINGS_BY_NODE_IDS: McpToolContract = {\n name: \"get_embeddings_by_node_ids\",\n description:\n \"Fetch embedding records for explicit epistemic node IDs. \" +\n \"Like `git show` for semantic-index rows — inspects exactly which vectors exist for named graph nodes.\",\n parameters: {\n ...sharedEmbeddingParameters,\n nodeIds: {\n type: \"array\",\n description: \"Epistemic node IDs to inspect.\",\n },\n },\n required: [\"topicId\", \"workspaceId\", \"nodeIds\"],\n response: {\n description: \"Embedding records for explicit node IDs\",\n fields: {\n embeddings: \"array — embedding metadata records\",\n total: \"number — embedding count\",\n nextCursor: \"string | null\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"workhorse\",\n};\n\nexport const QUEUE_EMBEDDING_BACKFILL: McpToolContract = {\n name: \"queue_embedding_backfill\",\n description:\n \"Queue background embedding generation for explicit epistemic nodes. \" +\n \"Like `git add` for semantic-index work — stages graph nodes for the kernel backfill scheduler.\",\n parameters: {\n ...sharedEmbeddingParameters,\n nodeIds: {\n type: \"array\",\n description: \"Epistemic node IDs to queue for embedding generation.\",\n },\n },\n required: [\"topicId\", \"workspaceId\", \"nodeIds\"],\n response: {\n description: \"Backfill queue receipt\",\n fields: {\n queued: \"number — queued node count\",\n nodeIds: \"array — node IDs queued for embedding generation\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"workhorse\",\n};\n"]}
1
+ {"version":3,"sources":["../src/tool-contracts.embeddings.ts"],"names":[],"mappings":";AAEA,IAAM,yBAAA,GAA4B;AAAA,EAChC,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,WAAA,EAAa;AAAA,IACX,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,cAAA,EAAgB;AAAA,IACd,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,eAAA,EAAiB;AAAA,IACf,IAAA,EAAM,SAAA;AAAA,IACN,WAAA,EAAa;AAAA,GACf;AAAA,EACA,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,QAAA;AAAA,IACN,WAAA,EAAa;AAAA;AAEjB,CAAA;AAEO,IAAM,uBAAA,GAA2C;AAAA,EACtD,IAAA,EAAM,yBAAA;AAAA,EACN,WAAA,EACE,oLAAA;AAAA,EAEF,UAAA,EAAY,yBAAA;AAAA,EACZ,QAAA,EAAU,CAAC,SAAA,EAAW,aAAa,CAAA;AAAA,EACnC,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,uCAAA;AAAA,IACb,MAAA,EAAQ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WAAA,EAAa,yCAAA;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,UAAA,EAAY,yCAAA;AAAA,MACZ,KAAA,EAAO,+BAAA;AAAA,MACP,UAAA,EAAY;AAAA;AACd,GACF;AAAA,EACA,WAAA,EAAa,kBAAA;AAAA,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR;AAEO,IAAM,wBAAA,GAA4C;AAAA,EACvD,IAAA,EAAM,0BAAA;AAAA,EACN,WAAA,EACE,yKAAA;AAAA,EAEF,UAAA,EAAY;AAAA,IACV,GAAG,yBAAA;AAAA,IACH,OAAA,EAAS;AAAA,MACP,IAAA,EAAM,OAAA;AAAA,MACN,WAAA,EAAa;AAAA;AACf,GACF;AAAA,EACA,QAAA,EAAU,CAAC,SAAA,EAAW,aAAA,EAAe,SAAS,CAAA;AAAA,EAC9C,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,wBAAA;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,MAAA,EAAQ,iCAAA;AAAA,MACR,OAAA,EAAS;AAAA;AACX,GACF;AAAA,EACA,WAAA,EAAa,kBAAA;AAAA,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR","file":"tool-contracts.embeddings.js","sourcesContent":["import type { McpToolContract } from \"./tool-contracts.types\";\n\nconst sharedEmbeddingParameters = {\n topicId: {\n type: \"string\",\n description: \"Topic whose epistemic node embedding index should be queried.\",\n },\n workspaceId: {\n type: \"string\",\n description: \"Workspace scope for the embedding operation.\",\n },\n nodeType: {\n type: \"string\",\n description: \"Optional epistemic node type filter.\",\n },\n embeddingModel: {\n type: \"string\",\n description: \"Optional embedding model filter.\",\n },\n includeInactive: {\n type: \"boolean\",\n description: \"Include archived, superseded, or otherwise inactive epistemic nodes in coverage checks.\",\n },\n limit: {\n type: \"number\",\n description: \"Maximum rows to return.\",\n },\n} satisfies McpToolContract[\"parameters\"];\n\nexport const LIST_MISSING_EMBEDDINGS: McpToolContract = {\n name: \"list_missing_embeddings\",\n description:\n \"List epistemic nodes missing fresh Convex embeddings. \" +\n \"Like `git status` for the semantic index — shows which graph nodes still need indexing before retrieval can be trusted.\",\n parameters: sharedEmbeddingParameters,\n required: [\"topicId\", \"workspaceId\"],\n response: {\n description: \"Missing or stale embedding candidates\",\n fields: {\n nodes: \"array — node candidates missing fresh embeddings\",\n total: \"number — candidate count\",\n nextCursor: \"string | null\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"workhorse\",\n};\n\nexport const SEARCH_EMBEDDINGS: McpToolContract = {\n name: \"search_embeddings\",\n description:\n \"Search topic-scoped epistemic nodes through the Convex vector index. \" +\n \"Like `git grep` with semantic distance — finds matching beliefs, questions, evidence, and other nodes even when wording differs.\",\n parameters: {\n ...sharedEmbeddingParameters,\n queryText: {\n type: \"string\",\n description: \"Natural-language query to embed and search with.\",\n },\n queryVector: {\n type: \"array\",\n description: \"Optional precomputed query vector.\",\n },\n minScore: {\n type: \"number\",\n description: \"Optional minimum cosine-similarity score.\",\n },\n },\n required: [\"topicId\", \"workspaceId\"],\n response: {\n description: \"Vector search matches\",\n fields: {\n results: \"array — semantic matches with nodeId, nodeType, score, text, and provenance\",\n total: \"number — match count\",\n nextCursor: \"string | null\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"showcase\",\n};\n\nexport const GET_EMBEDDINGS_BY_NODE_IDS: McpToolContract = {\n name: \"get_embeddings_by_node_ids\",\n description:\n \"Fetch embedding records for explicit epistemic node IDs. \" +\n \"Like `git show` for semantic-index rows — inspects exactly which vectors exist for named graph nodes.\",\n parameters: {\n ...sharedEmbeddingParameters,\n nodeIds: {\n type: \"array\",\n description: \"Epistemic node IDs to inspect.\",\n },\n },\n required: [\"topicId\", \"workspaceId\", \"nodeIds\"],\n response: {\n description: \"Embedding records for explicit node IDs\",\n fields: {\n embeddings: \"array — embedding metadata records\",\n total: \"number — embedding count\",\n nextCursor: \"string | null\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"workhorse\",\n};\n\nexport const QUEUE_EMBEDDING_BACKFILL: McpToolContract = {\n name: \"queue_embedding_backfill\",\n description:\n \"Queue background embedding generation for explicit epistemic nodes. \" +\n \"Like `git add` for semantic-index work — stages graph nodes for the kernel backfill scheduler.\",\n parameters: {\n ...sharedEmbeddingParameters,\n nodeIds: {\n type: \"array\",\n description: \"Epistemic node IDs to queue for embedding generation.\",\n },\n },\n required: [\"topicId\", \"workspaceId\", \"nodeIds\"],\n response: {\n description: \"Backfill queue receipt\",\n fields: {\n queued: \"number — queued node count\",\n nodeIds: \"array — node IDs queued for embedding generation\",\n },\n },\n ownerModule: \"reasoning-kernel\",\n ontologyPrimitive: \"graph\",\n tier: \"workhorse\",\n};\n"]}
@@ -1075,6 +1075,10 @@ var sharedEmbeddingParameters = {
1075
1075
  type: "string",
1076
1076
  description: "Optional embedding model filter."
1077
1077
  },
1078
+ includeInactive: {
1079
+ type: "boolean",
1080
+ description: "Include archived, superseded, or otherwise inactive epistemic nodes in coverage checks."
1081
+ },
1078
1082
  limit: {
1079
1083
  type: "number",
1080
1084
  description: "Maximum rows to return."