@lucern/sdk 1.0.11 → 1.0.13

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 (331) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +24 -27
  3. package/dist/.generated +2 -0
  4. package/dist/accessControl.d.ts +19 -26
  5. package/dist/accessControl.js +195 -1423
  6. package/dist/adminClient.d.ts +52 -59
  7. package/dist/adminClient.js +364 -1142
  8. package/dist/answersClient.d.ts +5 -14
  9. package/dist/answersClient.js +19 -737
  10. package/dist/audience/index.d.ts +18 -18
  11. package/dist/audience/index.js +87 -90
  12. package/dist/audiencesClient.d.ts +19 -27
  13. package/dist/audiencesClient.js +107 -868
  14. package/dist/auditClient.d.ts +8 -15
  15. package/dist/auditClient.js +18 -791
  16. package/dist/authContext.d.ts +11 -16
  17. package/dist/authContext.js +122 -154
  18. package/dist/authDeviceClient.d.ts +8 -17
  19. package/dist/authDeviceClient.js +113 -102
  20. package/dist/beliefs/index.d.ts +16 -67
  21. package/dist/beliefs/index.js +20 -10181
  22. package/dist/beliefs/lifecycle.d.ts +10 -11
  23. package/dist/beliefs/lifecycle.js +78 -80
  24. package/dist/beliefsClient.d.ts +30 -35
  25. package/dist/beliefsClient.js +238 -994
  26. package/dist/boundaryClientSurface.d.ts +11 -16
  27. package/dist/boundaryClientSurface.js +49 -68
  28. package/dist/client.d.ts +82 -113
  29. package/dist/client.js +232 -10155
  30. package/dist/clientAssemblyTypes.d.ts +3 -3
  31. package/dist/clientAssemblyTypes.js +1 -2
  32. package/dist/clientConfig.d.ts +45 -59
  33. package/dist/clientConfig.js +1 -2
  34. package/dist/clientEvidenceCompat.d.ts +24 -14
  35. package/dist/clientEvidenceCompat.js +56 -64
  36. package/dist/clientGraphNamespaces.d.ts +3 -5
  37. package/dist/clientGraphNamespaces.js +170 -245
  38. package/dist/clientHelpers.d.ts +20 -25
  39. package/dist/clientHelpers.js +104 -127
  40. package/dist/clientKnowledgeNamespaces.d.ts +24 -54
  41. package/dist/clientKnowledgeNamespaces.js +506 -506
  42. package/dist/clientLocalHelpers.d.ts +11 -56
  43. package/dist/clientLocalHelpers.js +503 -732
  44. package/dist/clientPlatformNamespaces.d.ts +5 -53
  45. package/dist/clientPlatformNamespaces.js +229 -323
  46. package/dist/clientRuntime.d.ts +5 -53
  47. package/dist/clientRuntime.js +26 -30
  48. package/dist/clientWorkflowNamespaces.d.ts +6 -15
  49. package/dist/clientWorkflowNamespaces.js +529 -596
  50. package/dist/contextClient.d.ts +9 -17
  51. package/dist/contextClient.js +92 -805
  52. package/dist/contextFacade.d.ts +11 -2
  53. package/dist/contextFacade.js +10 -81
  54. package/dist/contextPackCompiler.d.ts +10 -11
  55. package/dist/contextPackCompiler.js +494 -1040
  56. package/dist/contextPackPolicy.d.ts +14 -15
  57. package/dist/contextPackPolicy.js +227 -305
  58. package/dist/contextPackSchema.d.ts +3 -3
  59. package/dist/contextPackSchema.js +169 -176
  60. package/dist/contextTypes.d.ts +14 -15
  61. package/dist/contextTypes.js +1 -2
  62. package/dist/contracts/api-enums.contract.d.ts +29 -30
  63. package/dist/contracts/api-enums.contract.js +162 -88
  64. package/dist/contracts/auth-session.contract.d.ts +13 -14
  65. package/dist/contracts/auth-session.contract.js +55 -52
  66. package/dist/contracts/context-pack.contract.d.ts +54 -55
  67. package/dist/contracts/context-pack.contract.js +160 -88
  68. package/dist/contracts/contextPack.d.ts +2 -1
  69. package/dist/contracts/contextPack.js +1 -97
  70. package/dist/contracts/index.d.ts +11 -12
  71. package/dist/contracts/index.js +10 -854
  72. package/dist/contracts/lens-filter.contract.d.ts +9 -10
  73. package/dist/contracts/lens-filter.contract.js +82 -58
  74. package/dist/contracts/lens-workflow.contract.d.ts +21 -23
  75. package/dist/contracts/lens-workflow.contract.js +48 -117
  76. package/dist/contracts/lensFilter.d.ts +2 -1
  77. package/dist/contracts/lensFilter.js +1 -71
  78. package/dist/contracts/lensWorkflow.d.ts +2 -2
  79. package/dist/contracts/lensWorkflow.js +1 -123
  80. package/dist/contracts/mcpTools.d.ts +16 -18
  81. package/dist/contracts/mcpTools.js +89 -123
  82. package/dist/contracts/prompt.contract.d.ts +4 -5
  83. package/dist/contracts/prompt.contract.js +23 -10
  84. package/dist/contracts/prompt.d.ts +2 -1
  85. package/dist/contracts/prompt.js +1 -11
  86. package/dist/contracts/sdk-tools.contract.d.ts +2 -1
  87. package/dist/contracts/sdk-tools.contract.js +1 -2
  88. package/dist/contracts/sdkTools.d.ts +2 -1
  89. package/dist/contracts/sdkTools.js +1 -26
  90. package/dist/contracts/tool-contracts.d.ts +2 -1
  91. package/dist/contracts/tool-contracts.js +1 -2
  92. package/dist/contracts/workflow-runtime.contract.d.ts +45 -46
  93. package/dist/contracts/workflow-runtime.contract.js +241 -228
  94. package/dist/contracts/workflowRuntime.d.ts +2 -1
  95. package/dist/contracts/workflowRuntime.js +1 -244
  96. package/dist/contradictions/index.d.ts +8 -60
  97. package/dist/contradictions/index.js +11 -10175
  98. package/dist/control-plane.d.ts +17 -24
  99. package/dist/control-plane.js +124 -840
  100. package/dist/controlObjectOwnership.d.ts +19 -20
  101. package/dist/controlObjectOwnership.js +207 -201
  102. package/dist/coreClient.d.ts +23 -28
  103. package/dist/coreClient.js +567 -692
  104. package/dist/customTools.d.ts +17 -21
  105. package/dist/customTools.js +221 -221
  106. package/dist/decisions/index.d.ts +7 -58
  107. package/dist/decisions/index.js +14 -10177
  108. package/dist/decisionsClient.d.ts +25 -32
  109. package/dist/decisionsClient.js +113 -913
  110. package/dist/domainContext.d.ts +2 -1
  111. package/dist/domainContext.js +1 -2
  112. package/dist/edges/index.d.ts +21 -73
  113. package/dist/edges/index.js +12 -10176
  114. package/dist/embeddingsClient.d.ts +22 -30
  115. package/dist/embeddingsClient.js +73 -922
  116. package/dist/eventingClient.d.ts +23 -31
  117. package/dist/eventingClient.js +89 -918
  118. package/dist/events.d.ts +48 -49
  119. package/dist/events.js +257 -241
  120. package/dist/eventsCore.d.ts +20 -29
  121. package/dist/eventsCore.js +86 -830
  122. package/dist/evidence/index.d.ts +42 -61
  123. package/dist/evidence/index.js +13 -10176
  124. package/dist/evidenceClient.d.ts +13 -22
  125. package/dist/evidenceClient.js +34 -751
  126. package/dist/facade/context.d.ts +7 -8
  127. package/dist/facade/context.js +73 -72
  128. package/dist/functionSurface.d.ts +2 -156
  129. package/dist/functionSurface.js +1 -1460
  130. package/dist/functionSurfaceClient.d.ts +2 -9
  131. package/dist/functionSurfaceClient.js +1 -1460
  132. package/dist/gatewayFacades.d.ts +93 -296
  133. package/dist/gatewayFacades.factories.d.ts +209 -14
  134. package/dist/gatewayFacades.factories.js +545 -2228
  135. package/dist/gatewayFacades.js +284 -2627
  136. package/dist/generated/functionSurface.d.ts +149 -0
  137. package/dist/generated/functionSurface.js +749 -0
  138. package/dist/graphAnalysisClient.d.ts +41 -49
  139. package/dist/graphAnalysisClient.js +185 -974
  140. package/dist/graphClient.d.ts +53 -60
  141. package/dist/graphClient.js +219 -1090
  142. package/dist/graphIntel.d.ts +2 -4
  143. package/dist/graphIntel.js +1 -2
  144. package/dist/graphIntelligence.d.ts +4 -2
  145. package/dist/graphIntelligence.js +2 -46
  146. package/dist/graphRecommendationsClient.d.ts +15 -23
  147. package/dist/graphRecommendationsClient.js +70 -849
  148. package/dist/graphStateClassifierClient.d.ts +17 -25
  149. package/dist/graphStateClassifierClient.js +67 -908
  150. package/dist/harnessClient.d.ts +40 -47
  151. package/dist/harnessClient.js +198 -993
  152. package/dist/identityClient.d.ts +25 -33
  153. package/dist/identityClient.js +245 -1186
  154. package/dist/index.d.ts +73 -69
  155. package/dist/index.js +72 -13313
  156. package/dist/infisicalRuntime.d.ts +12 -14
  157. package/dist/infisicalRuntime.js +290 -297
  158. package/dist/jobsClient.d.ts +24 -32
  159. package/dist/jobsClient.js +101 -916
  160. package/dist/learningClient.d.ts +8 -16
  161. package/dist/learningClient.js +45 -809
  162. package/dist/lenses/index.d.ts +13 -65
  163. package/dist/lenses/index.js +11 -10175
  164. package/dist/mcpClient.d.ts +14 -23
  165. package/dist/mcpClient.js +115 -856
  166. package/dist/modelRuntimeClient.d.ts +18 -26
  167. package/dist/modelRuntimeClient.js +74 -894
  168. package/dist/nodes/index.d.ts +7 -58
  169. package/dist/nodes/index.js +14 -10177
  170. package/dist/ontologies/index.d.ts +21 -73
  171. package/dist/ontologies/index.js +14 -10178
  172. package/dist/ontologyClient.d.ts +23 -31
  173. package/dist/ontologyClient.js +138 -924
  174. package/dist/ontologyLinksClient.d.ts +16 -24
  175. package/dist/ontologyLinksClient.js +76 -886
  176. package/dist/opinion.d.ts +5 -6
  177. package/dist/opinion.js +21 -25
  178. package/dist/orgGraphSearchClient.d.ts +19 -27
  179. package/dist/orgGraphSearchClient.js +89 -857
  180. package/dist/packRuntime.d.ts +2 -2
  181. package/dist/packRuntime.js +1 -2
  182. package/dist/packsClient.d.ts +30 -37
  183. package/dist/packsClient.js +131 -906
  184. package/dist/policyClient.d.ts +21 -29
  185. package/dist/policyClient.js +267 -1026
  186. package/dist/proof-attestation.json +1 -1
  187. package/dist/questions/index.d.ts +9 -60
  188. package/dist/questions/index.js +15 -10178
  189. package/dist/realtime/index.d.ts +20 -16
  190. package/dist/realtime/index.js +30 -19
  191. package/dist/realtime/refs.d.ts +4 -6
  192. package/dist/realtime/refs.js +12 -7
  193. package/dist/realtime-refs.d.ts +1 -0
  194. package/dist/realtime-refs.js +1 -0
  195. package/dist/realtime.d.ts +1 -0
  196. package/dist/realtime.js +1 -0
  197. package/dist/reportsClient.d.ts +10 -19
  198. package/dist/reportsClient.js +48 -836
  199. package/dist/schemaClient.d.ts +16 -23
  200. package/dist/schemaClient.js +62 -832
  201. package/dist/sdkSurface.d.ts +18 -25
  202. package/dist/sdkSurface.js +135 -106
  203. package/dist/secrets.d.ts +2 -1
  204. package/dist/secrets.js +1 -2
  205. package/dist/sourcesClient.d.ts +11 -18
  206. package/dist/sourcesClient.js +18 -741
  207. package/dist/telemetryClient.d.ts +22 -30
  208. package/dist/telemetryClient.js +107 -931
  209. package/dist/toolRegistryClient.d.ts +27 -35
  210. package/dist/toolRegistryClient.js +116 -954
  211. package/dist/topics/index.d.ts +13 -64
  212. package/dist/topics/index.js +15 -10178
  213. package/dist/topicsClient.d.ts +19 -27
  214. package/dist/topicsClient.js +106 -894
  215. package/dist/types.d.ts +84 -87
  216. package/dist/types.js +1 -2
  217. package/dist/version.d.ts +2 -3
  218. package/dist/version.js +2 -5
  219. package/dist/workflowClient.d.ts +60 -65
  220. package/dist/workflowClient.js +343 -1219
  221. package/dist/worktrees/index.d.ts +16 -68
  222. package/dist/worktrees/index.js +14 -10178
  223. package/package.json +6 -6
  224. package/dist/accessControl.js.map +0 -1
  225. package/dist/adminClient.js.map +0 -1
  226. package/dist/answersClient.js.map +0 -1
  227. package/dist/audience/index.js.map +0 -1
  228. package/dist/audiencesClient.js.map +0 -1
  229. package/dist/auditClient.js.map +0 -1
  230. package/dist/authContext.js.map +0 -1
  231. package/dist/authDeviceClient.js.map +0 -1
  232. package/dist/beliefs/index.js.map +0 -1
  233. package/dist/beliefs/lifecycle.js.map +0 -1
  234. package/dist/beliefsClient.js.map +0 -1
  235. package/dist/boundaryClientSurface.js.map +0 -1
  236. package/dist/client.js.map +0 -1
  237. package/dist/clientAssemblyTypes.js.map +0 -1
  238. package/dist/clientConfig.js.map +0 -1
  239. package/dist/clientEvidenceCompat.js.map +0 -1
  240. package/dist/clientGraphNamespaces.js.map +0 -1
  241. package/dist/clientHelpers.js.map +0 -1
  242. package/dist/clientKnowledgeNamespaces.js.map +0 -1
  243. package/dist/clientLocalHelpers.js.map +0 -1
  244. package/dist/clientPlatformNamespaces.js.map +0 -1
  245. package/dist/clientRuntime.js.map +0 -1
  246. package/dist/clientWorkflowNamespaces.js.map +0 -1
  247. package/dist/contextClient.js.map +0 -1
  248. package/dist/contextFacade.js.map +0 -1
  249. package/dist/contextPackCompiler.js.map +0 -1
  250. package/dist/contextPackPolicy.js.map +0 -1
  251. package/dist/contextPackSchema.js.map +0 -1
  252. package/dist/contextTypes.js.map +0 -1
  253. package/dist/contracts/api-enums.contract.js.map +0 -1
  254. package/dist/contracts/auth-session.contract.js.map +0 -1
  255. package/dist/contracts/context-pack.contract.js.map +0 -1
  256. package/dist/contracts/contextPack.js.map +0 -1
  257. package/dist/contracts/index.js.map +0 -1
  258. package/dist/contracts/lens-filter.contract.js.map +0 -1
  259. package/dist/contracts/lens-workflow.contract.js.map +0 -1
  260. package/dist/contracts/lensFilter.js.map +0 -1
  261. package/dist/contracts/lensWorkflow.js.map +0 -1
  262. package/dist/contracts/mcpTools.js.map +0 -1
  263. package/dist/contracts/prompt.contract.js.map +0 -1
  264. package/dist/contracts/prompt.js.map +0 -1
  265. package/dist/contracts/sdk-tools.contract.js.map +0 -1
  266. package/dist/contracts/sdkTools.js.map +0 -1
  267. package/dist/contracts/tool-contracts.js.map +0 -1
  268. package/dist/contracts/workflow-runtime.contract.js.map +0 -1
  269. package/dist/contracts/workflowRuntime.js.map +0 -1
  270. package/dist/contradictions/index.js.map +0 -1
  271. package/dist/control-plane.js.map +0 -1
  272. package/dist/controlObjectOwnership.js.map +0 -1
  273. package/dist/coreClient.js.map +0 -1
  274. package/dist/customTools.js.map +0 -1
  275. package/dist/decisions/index.js.map +0 -1
  276. package/dist/decisionsClient.js.map +0 -1
  277. package/dist/domainContext.js.map +0 -1
  278. package/dist/edges/index.js.map +0 -1
  279. package/dist/embeddingsClient.js.map +0 -1
  280. package/dist/eventingClient.js.map +0 -1
  281. package/dist/events.js.map +0 -1
  282. package/dist/eventsCore.js.map +0 -1
  283. package/dist/evidence/index.js.map +0 -1
  284. package/dist/evidenceClient.js.map +0 -1
  285. package/dist/facade/context.js.map +0 -1
  286. package/dist/functionSurface.js.map +0 -1
  287. package/dist/functionSurfaceClient.js.map +0 -1
  288. package/dist/gatewayFacades.factories.js.map +0 -1
  289. package/dist/gatewayFacades.js.map +0 -1
  290. package/dist/graphAnalysisClient.js.map +0 -1
  291. package/dist/graphClient.js.map +0 -1
  292. package/dist/graphIntel.js.map +0 -1
  293. package/dist/graphIntelligence.js.map +0 -1
  294. package/dist/graphRecommendationsClient.js.map +0 -1
  295. package/dist/graphStateClassifierClient.js.map +0 -1
  296. package/dist/harnessClient.js.map +0 -1
  297. package/dist/identityClient.js.map +0 -1
  298. package/dist/index.js.map +0 -1
  299. package/dist/infisicalRuntime.js.map +0 -1
  300. package/dist/jobsClient.js.map +0 -1
  301. package/dist/learningClient.js.map +0 -1
  302. package/dist/lenses/index.js.map +0 -1
  303. package/dist/mcpClient.js.map +0 -1
  304. package/dist/modelRuntimeClient.js.map +0 -1
  305. package/dist/nodes/index.js.map +0 -1
  306. package/dist/ontologies/index.js.map +0 -1
  307. package/dist/ontologyClient.js.map +0 -1
  308. package/dist/ontologyLinksClient.js.map +0 -1
  309. package/dist/opinion.js.map +0 -1
  310. package/dist/orgGraphSearchClient.js.map +0 -1
  311. package/dist/packRuntime.js.map +0 -1
  312. package/dist/packsClient.js.map +0 -1
  313. package/dist/policyClient.js.map +0 -1
  314. package/dist/questions/index.js.map +0 -1
  315. package/dist/realtime/index.js.map +0 -1
  316. package/dist/realtime/refs.js.map +0 -1
  317. package/dist/reportsClient.js.map +0 -1
  318. package/dist/schemaClient.js.map +0 -1
  319. package/dist/sdk-tools.contract-B4c1Zr1o.d.ts +0 -22
  320. package/dist/sdkSurface.js.map +0 -1
  321. package/dist/secrets.js.map +0 -1
  322. package/dist/sourcesClient.js.map +0 -1
  323. package/dist/telemetryClient.js.map +0 -1
  324. package/dist/tool-contracts-BUiL9P6z.d.ts +0 -22
  325. package/dist/toolRegistryClient.js.map +0 -1
  326. package/dist/topics/index.js.map +0 -1
  327. package/dist/topicsClient.js.map +0 -1
  328. package/dist/types.js.map +0 -1
  329. package/dist/version.js.map +0 -1
  330. package/dist/workflowClient.js.map +0 -1
  331. package/dist/worktrees/index.js.map +0 -1
@@ -0,0 +1,749 @@
1
+ /* GENERATED by scripts/generate-api-surface.ts. DO NOT EDIT. */
2
+ import { createGatewayRequestClient, randomIdempotencyKey, } from "../coreClient.js";
3
+ export const FUNCTION_SURFACE_METHOD_PATHS = [
4
+ "answers.answerQuestion",
5
+ "answers.createAnswer",
6
+ "answers.getAnswer",
7
+ "beliefs.archiveBelief",
8
+ "beliefs.bisectConfidence",
9
+ "beliefs.createBelief",
10
+ "beliefs.forkBelief",
11
+ "beliefs.getBelief",
12
+ "beliefs.getConfidenceHistory",
13
+ "beliefs.listBeliefs",
14
+ "beliefs.modulateConfidence",
15
+ "beliefs.refineBelief",
16
+ "beliefs.searchBeliefs",
17
+ "bootstrap.generateSessionHandoff",
18
+ "coding.getChangeHistory",
19
+ "coding.getCodeContext",
20
+ "coding.getFailureLog",
21
+ "coding.recordAttempt",
22
+ "context.analyzeTopicDensity",
23
+ "context.applyAutoBranching",
24
+ "context.compileContext",
25
+ "context.discover",
26
+ "context.discoverEntityConnections",
27
+ "context.getLatticeCoverage",
28
+ "context.lucernOrient",
29
+ "context.recordScopeLearning",
30
+ "context.seedBeliefLattice",
31
+ "context.triggerBeliefReview",
32
+ "contracts.createEpistemicContract",
33
+ "contracts.evaluateContract",
34
+ "contracts.getContractStatus",
35
+ "contradictions.flagContradiction",
36
+ "controlPlane.identity.resolveInteractivePrincipal",
37
+ "coordination.broadcastMessage",
38
+ "coordination.claimFiles",
39
+ "coordination.endSession",
40
+ "coordination.getAgentInbox",
41
+ "coordination.heartbeatSession",
42
+ "coordination.listActiveSessions",
43
+ "coordination.registerSession",
44
+ "coordination.sendAgentMessage",
45
+ "edges.batchCreateEdges",
46
+ "edges.createEdge",
47
+ "edges.queryLineage",
48
+ "edges.removeEdge",
49
+ "edges.removeEdgesBetween",
50
+ "edges.updateEdge",
51
+ "embeddings.getByNodeIds",
52
+ "embeddings.listMissingForTopic",
53
+ "embeddings.markEmbeddingBackfillQueued",
54
+ "embeddings.vectorSearchByTopic",
55
+ "evidence.addEvidence",
56
+ "evidence.createEvidence",
57
+ "evidence.getEvidence",
58
+ "evidence.linkEvidence",
59
+ "evidence.linkEvidenceToBelief",
60
+ "evidence.linkEvidenceToQuestion",
61
+ "evidence.listEvidence",
62
+ "evidence.searchEvidence",
63
+ "graph.detectConfirmationBias",
64
+ "graph.findContradictions",
65
+ "graph.getGraphGaps",
66
+ "graph.getGraphNeighborhood",
67
+ "graph.getGraphStructureAnalysis",
68
+ "graph.getTopicCoverage",
69
+ "graph.traceEntityImpact",
70
+ "graph.traverseGraph",
71
+ "graphAnalysis.listGraphIntelligenceQueries",
72
+ "graphAnalysis.runGraphIntelligenceQuery",
73
+ "hybrid.analyzeGraphImpact",
74
+ "hybrid.detectGraphDrift",
75
+ "hybrid.expandGraphNeighborhood",
76
+ "hybrid.findRelatedNodes",
77
+ "hybrid.hybridDiscover",
78
+ "hybrid.resolveTopicSemantic",
79
+ "identity.checkPermission",
80
+ "identity.filterByPermission",
81
+ "identity.whoami",
82
+ "judgments.getAuditTrail",
83
+ "judgments.recordJudgment",
84
+ "lenses.applyLensToTopic",
85
+ "lenses.createLens",
86
+ "lenses.listLenses",
87
+ "lenses.removeLensFromTopic",
88
+ "nodes.archiveEpistemicNode",
89
+ "nodes.batchCreateEpistemicNodes",
90
+ "nodes.createEpistemicNode",
91
+ "nodes.getEpistemicNode",
92
+ "nodes.listEpistemicNodes",
93
+ "nodes.supersedeEpistemicNode",
94
+ "nodes.updateEpistemicNode",
95
+ "nodes.verifyEpistemicNode",
96
+ "observations.getObservationContext",
97
+ "observations.ingestObservation",
98
+ "ontologies.applyOntology",
99
+ "ontologies.archiveOntology",
100
+ "ontologies.createOntology",
101
+ "ontologies.createOntologyVersion",
102
+ "ontologies.deprecateOntologyVersion",
103
+ "ontologies.getOntology",
104
+ "ontologies.listOntologies",
105
+ "ontologies.matchEntityType",
106
+ "ontologies.publishOntologyVersion",
107
+ "ontologies.resolveEffectiveOntology",
108
+ "ontologies.updateOntology",
109
+ "policy.manageWritePolicy",
110
+ "questions.archiveQuestion",
111
+ "questions.createQuestion",
112
+ "questions.findMissingQuestions",
113
+ "questions.getFalsificationQuestions",
114
+ "questions.getHighPriorityQuestions",
115
+ "questions.getQuestion",
116
+ "questions.listQuestions",
117
+ "questions.refineQuestion",
118
+ "questions.updateQuestionStatus",
119
+ "tasks.completeTask",
120
+ "tasks.createTask",
121
+ "tasks.listTasks",
122
+ "tasks.updateTask",
123
+ "topics.createTopic",
124
+ "topics.getTopic",
125
+ "topics.getTopicGraphSpine",
126
+ "topics.getTopicTree",
127
+ "topics.listTopics",
128
+ "topics.materializeTopicGraph",
129
+ "topics.updateTopic",
130
+ "worktrees.activateWorktree",
131
+ "worktrees.addWorktree",
132
+ "worktrees.beginBuildSession",
133
+ "worktrees.getWorktree",
134
+ "worktrees.listAllWorktrees",
135
+ "worktrees.listCampaigns",
136
+ "worktrees.listWorktrees",
137
+ "worktrees.merge",
138
+ "worktrees.openPullRequest",
139
+ "worktrees.pipelineSnapshot",
140
+ "worktrees.push",
141
+ "worktrees.updateWorktreeMetadata",
142
+ "worktrees.updateWorktreeTargets"
143
+ ];
144
+ const CONTRACTS = {
145
+ "activate_worktree": { method: "POST", path: "/worktrees/activate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
146
+ "add_evidence": { method: "POST", path: "/evidence/add", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
147
+ "add_worktree": { method: "POST", path: "/worktrees", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
148
+ "analyze_graph_impact": { method: "POST", path: "/hybrid/impact", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
149
+ "analyze_topic_density": { method: "POST", path: "/scope/topic-density", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
150
+ "answer_question": { method: "POST", path: "/questions/answer", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
151
+ "apply_auto_branching": { method: "POST", path: "/scope/auto-branching", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
152
+ "apply_lens_to_topic": { method: "POST", path: "/lenses/apply", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
153
+ "apply_ontology": { method: "POST", path: "/ontologies/apply", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
154
+ "archive_belief": { method: "DELETE", path: "/beliefs", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
155
+ "archive_epistemic_node": { method: "POST", path: "/nodes/archive", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
156
+ "archive_ontology": { method: "DELETE", path: "/ontologies", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
157
+ "archive_question": { method: "DELETE", path: "/questions", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
158
+ "batch_create_edges": { method: "POST", path: "/edges/batch", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
159
+ "batch_create_epistemic_nodes": { method: "POST", path: "/nodes/batch", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
160
+ "begin_build_session": { method: "POST", path: "/mcp/build-session/begin", kind: "mutation", idempotent: true, surfaceIntent: "system" },
161
+ "bisect_confidence": { method: "POST", path: "/beliefs/confidence/bisect", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
162
+ "broadcast_message": { method: "POST", path: "/coordination/messages/broadcast", kind: "mutation", idempotent: true, surfaceIntent: "system" },
163
+ "check_permission": { method: "POST", path: "/identity/check-permission", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
164
+ "claim_files": { method: "POST", path: "/coordination/file-claims", kind: "mutation", idempotent: true, surfaceIntent: "system" },
165
+ "compile_context": { method: "POST", path: "/context/compile", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
166
+ "complete_task": { method: "POST", path: "/tasks/complete", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
167
+ "create_answer": { method: "POST", path: "/answers", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
168
+ "create_belief": { method: "POST", path: "/beliefs", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
169
+ "create_edge": { method: "POST", path: "/edges", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
170
+ "create_epistemic_contract": { method: "POST", path: "/contracts", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
171
+ "create_epistemic_node": { method: "POST", path: "/nodes", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
172
+ "create_evidence": { method: "POST", path: "/evidence", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
173
+ "create_lens": { method: "POST", path: "/lenses", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
174
+ "create_ontology": { method: "POST", path: "/ontologies", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
175
+ "create_ontology_version": { method: "POST", path: "/ontologies/versions", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
176
+ "create_question": { method: "POST", path: "/questions", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
177
+ "create_task": { method: "POST", path: "/tasks", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
178
+ "create_topic": { method: "POST", path: "/topics", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
179
+ "deprecate_ontology_version": { method: "POST", path: "/ontologies/versions/deprecate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
180
+ "detect_confirmation_bias": { method: "POST", path: "/graph/confirmation-bias", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
181
+ "detect_graph_drift": { method: "POST", path: "/hybrid/drift", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
182
+ "discover": { method: "POST", path: "/context/discover", kind: "query", idempotent: false, surfaceIntent: "compatibility" },
183
+ "discover_entity_connections": { method: "POST", path: "/context/entity-connections", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
184
+ "end_session": { method: "POST", path: "/coordination/end-session", kind: "mutation", idempotent: true, surfaceIntent: "system" },
185
+ "evaluate_contract": { method: "POST", path: "/contracts/evaluate", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
186
+ "expand_graph_neighborhood": { method: "POST", path: "/hybrid/neighborhood", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
187
+ "filter_by_permission": { method: "POST", path: "/identity/filter-by-permission", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
188
+ "find_contradictions": { method: "POST", path: "/graph/contradictions", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
189
+ "find_missing_questions": { method: "POST", path: "/questions/missing", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
190
+ "find_related_nodes": { method: "POST", path: "/hybrid/related-nodes", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
191
+ "flag_contradiction": { method: "POST", path: "/contradictions", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
192
+ "fork_belief": { method: "POST", path: "/beliefs/fork", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
193
+ "generate_session_handoff": { method: "POST", path: "/bootstrap/session-handoff", kind: "query", idempotent: false, surfaceIntent: "system" },
194
+ "get_agent_inbox": { method: "POST", path: "/coordination/messages/inbox", kind: "query", idempotent: false, surfaceIntent: "system" },
195
+ "get_answer": { method: "GET", path: "/answers/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
196
+ "get_audit_trail": { method: "POST", path: "/judgments/audit-trail", kind: "query", idempotent: false, surfaceIntent: "system" },
197
+ "get_belief": { method: "GET", path: "/beliefs/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
198
+ "get_change_history": { method: "POST", path: "/coding/change-history", kind: "query", idempotent: false, surfaceIntent: "system" },
199
+ "get_code_context": { method: "POST", path: "/coding/context", kind: "query", idempotent: false, surfaceIntent: "system" },
200
+ "get_confidence_history": { method: "POST", path: "/beliefs/confidence-history", kind: "query", idempotent: false, surfaceIntent: "compatibility" },
201
+ "get_contract_status": { method: "POST", path: "/contracts/status", kind: "query", idempotent: false, surfaceIntent: "mcp_governance" },
202
+ "get_embeddings_by_node_ids": { method: "POST", path: "/embeddings/by-node-ids", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
203
+ "get_epistemic_node": { method: "GET", path: "/nodes/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
204
+ "get_evidence": { method: "GET", path: "/evidence/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
205
+ "get_failure_log": { method: "POST", path: "/coding/failure-log", kind: "query", idempotent: false, surfaceIntent: "system" },
206
+ "get_falsification_questions": { method: "POST", path: "/questions/falsification", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
207
+ "get_graph_gaps": { method: "POST", path: "/graph/gaps", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
208
+ "get_graph_neighborhood": { method: "POST", path: "/graph/neighborhood", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
209
+ "get_graph_structure_analysis": { method: "POST", path: "/graph/structure-analysis", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
210
+ "get_high_priority_questions": { method: "POST", path: "/questions/high-priority", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
211
+ "get_lattice_coverage": { method: "POST", path: "/scope/belief-lattice/coverage", kind: "query", idempotent: false, surfaceIntent: "system" },
212
+ "get_observation_context": { method: "POST", path: "/observations/context", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
213
+ "get_ontology": { method: "GET", path: "/ontologies/get", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
214
+ "get_question": { method: "GET", path: "/questions/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
215
+ "get_topic": { method: "GET", path: "/topics/get", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
216
+ "get_topic_coverage": { method: "POST", path: "/graph/topic-coverage", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
217
+ "get_topic_graph_spine": { method: "GET", path: "/topics/graph-spine", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
218
+ "get_topic_tree": { method: "GET", path: "/topics/tree", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
219
+ "get_worktree": { method: "GET", path: "/worktrees/get", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
220
+ "heartbeat_session": { method: "POST", path: "/coordination/heartbeat-session", kind: "mutation", idempotent: true, surfaceIntent: "system" },
221
+ "hybrid_discover": { method: "POST", path: "/hybrid/discover", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
222
+ "identity_whoami": { method: "GET", path: "/identity/whoami", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
223
+ "ingest_observation": { method: "POST", path: "/observations/ingest", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
224
+ "link_evidence": { method: "POST", path: "/evidence/link", kind: "mutation", idempotent: true, surfaceIntent: "compatibility" },
225
+ "link_evidence_to_belief": { method: "POST", path: "/evidence/link-belief", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
226
+ "link_evidence_to_question": { method: "POST", path: "/evidence/link-question", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
227
+ "list_active_sessions": { method: "POST", path: "/coordination/active-sessions", kind: "query", idempotent: false, surfaceIntent: "system" },
228
+ "list_all_worktrees": { method: "GET", path: "/worktrees/all", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
229
+ "list_beliefs": { method: "GET", path: "/beliefs", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
230
+ "list_campaigns": { method: "GET", path: "/worktrees/campaigns", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
231
+ "list_epistemic_nodes": { method: "GET", path: "/nodes", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
232
+ "list_evidence": { method: "GET", path: "/evidence", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
233
+ "list_graph_intelligence_queries": { method: "POST", path: "/graph-intelligence/queries", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
234
+ "list_lenses": { method: "GET", path: "/lenses", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
235
+ "list_missing_embeddings": { method: "GET", path: "/embeddings/missing", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
236
+ "list_ontologies": { method: "GET", path: "/ontologies", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
237
+ "list_questions": { method: "GET", path: "/questions", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
238
+ "list_tasks": { method: "GET", path: "/tasks", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
239
+ "list_topics": { method: "GET", path: "/topics", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
240
+ "list_worktrees": { method: "GET", path: "/worktrees", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
241
+ "lucern_orient": { method: "POST", path: "/context/orient", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
242
+ "manage_write_policy": { method: "POST", path: "/policy/write-policy/manage", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
243
+ "match_entity_type": { method: "POST", path: "/ontologies/match-entity-type", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
244
+ "materialize_topic_graph": { method: "POST", path: "/topics/materialize-graph", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
245
+ "merge": { method: "POST", path: "/worktrees/merge", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
246
+ "modulate_confidence": { method: "POST", path: "/beliefs/confidence", kind: "mutation", idempotent: true, surfaceIntent: "system" },
247
+ "open_pull_request": { method: "POST", path: "/worktrees/open-pull-request", kind: "mutation", idempotent: true, surfaceIntent: "system" },
248
+ "pipeline_snapshot": { method: "POST", path: "/worktrees/pipeline-snapshot", kind: "query", idempotent: false, surfaceIntent: "system" },
249
+ "publish_ontology_version": { method: "POST", path: "/ontologies/versions/publish", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
250
+ "push": { method: "POST", path: "/worktrees/push", kind: "mutation", idempotent: true, surfaceIntent: "system" },
251
+ "query_lineage": { method: "POST", path: "/edges/lineage", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
252
+ "queue_embedding_backfill": { method: "POST", path: "/embeddings/backfill-queued", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
253
+ "record_attempt": { method: "POST", path: "/coding/attempts", kind: "mutation", idempotent: true, surfaceIntent: "system" },
254
+ "record_judgment": { method: "POST", path: "/judgments", kind: "mutation", idempotent: true, surfaceIntent: "system" },
255
+ "record_scope_learning": { method: "POST", path: "/scope/learnings", kind: "mutation", idempotent: true, surfaceIntent: "system" },
256
+ "refine_belief": { method: "PATCH", path: "/beliefs/refine", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
257
+ "refine_question": { method: "PATCH", path: "/questions/refine", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
258
+ "register_session": { method: "POST", path: "/coordination/register-session", kind: "mutation", idempotent: true, surfaceIntent: "system" },
259
+ "remove_edge": { method: "DELETE", path: "/edges", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
260
+ "remove_edges_between": { method: "DELETE", path: "/edges/between", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
261
+ "remove_lens_from_topic": { method: "DELETE", path: "/lenses/apply", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
262
+ "resolve_effective_ontology": { method: "POST", path: "/ontologies/effective", kind: "query", idempotent: false, surfaceIntent: "mcp_workflow" },
263
+ "resolve_interactive_principal": { method: "POST", path: "/control-plane/identity/resolve-interactive-principal", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
264
+ "resolve_topic_semantic": { method: "POST", path: "/hybrid/topics/resolve", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
265
+ "run_graph_intelligence_query": { method: "POST", path: "/graph-intelligence/run", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
266
+ "search_beliefs": { method: "POST", path: "/beliefs/search", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
267
+ "search_embeddings": { method: "POST", path: "/embeddings/vector-search", kind: "action", idempotent: false, surfaceIntent: "mcp_analysis" },
268
+ "search_evidence": { method: "POST", path: "/evidence/search", kind: "query", idempotent: false, surfaceIntent: "mcp_core" },
269
+ "seed_belief_lattice": { method: "POST", path: "/scope/belief-lattice/seed", kind: "mutation", idempotent: true, surfaceIntent: "system" },
270
+ "send_agent_message": { method: "POST", path: "/coordination/messages/send", kind: "mutation", idempotent: true, surfaceIntent: "system" },
271
+ "supersede_epistemic_node": { method: "POST", path: "/nodes/supersede", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
272
+ "trace_entity_impact": { method: "POST", path: "/graph/trace-entity-impact", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
273
+ "traverse_graph": { method: "POST", path: "/graph/traverse", kind: "query", idempotent: false, surfaceIntent: "mcp_analysis" },
274
+ "trigger_belief_review": { method: "POST", path: "/context/belief-review", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
275
+ "update_edge": { method: "PATCH", path: "/edges", kind: "mutation", idempotent: true, surfaceIntent: "mcp_analysis" },
276
+ "update_epistemic_node": { method: "PATCH", path: "/nodes", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
277
+ "update_ontology": { method: "PATCH", path: "/ontologies", kind: "mutation", idempotent: true, surfaceIntent: "mcp_governance" },
278
+ "update_question_status": { method: "PATCH", path: "/questions/status", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
279
+ "update_task": { method: "PATCH", path: "/tasks", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
280
+ "update_topic": { method: "PATCH", path: "/topics", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
281
+ "update_worktree_metadata": { method: "PATCH", path: "/worktrees/metadata", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
282
+ "update_worktree_targets": { method: "PATCH", path: "/worktrees/targets", kind: "mutation", idempotent: true, surfaceIntent: "mcp_workflow" },
283
+ "verify_epistemic_node": { method: "POST", path: "/nodes/verify", kind: "mutation", idempotent: true, surfaceIntent: "mcp_core" },
284
+ };
285
+ function createSessionId() {
286
+ return typeof crypto !== "undefined" && typeof crypto.randomUUID === "function"
287
+ ? crypto.randomUUID()
288
+ : randomIdempotencyKey();
289
+ }
290
+ function withSdkSessionId(input, sessionId) {
291
+ return {
292
+ ...input,
293
+ __sdkSessionId: typeof input.__sdkSessionId === "string" ? input.__sdkSessionId : sessionId,
294
+ };
295
+ }
296
+ function toFunctionSurfaceQuery(input) {
297
+ const params = new URLSearchParams();
298
+ for (const [key, value] of Object.entries(input)) {
299
+ if (value === undefined) {
300
+ continue;
301
+ }
302
+ const serialized = typeof value === "string" ? value : JSON.stringify(value);
303
+ if (serialized !== undefined) {
304
+ params.set(key, serialized);
305
+ }
306
+ }
307
+ const serialized = params.toString();
308
+ return serialized ? `?${serialized}` : "";
309
+ }
310
+ export function createFunctionSurfaceClient(config = {}) {
311
+ const gateway = createGatewayRequestClient(config);
312
+ const sessionId = createSessionId();
313
+ function execute(name, input, idempotencyKey) {
314
+ const contract = CONTRACTS[name];
315
+ const payload = withSdkSessionId(input, sessionId);
316
+ const path = contract.method === "GET"
317
+ ? `${contract.path}${toFunctionSurfaceQuery(payload)}`
318
+ : contract.path;
319
+ return gateway.request({
320
+ path: `/api/platform/v1${path}`,
321
+ method: contract.method,
322
+ body: contract.method === "GET" ? undefined : payload,
323
+ idempotencyKey: contract.kind !== "query" && Boolean(contract.idempotent)
324
+ ? idempotencyKey ?? randomIdempotencyKey()
325
+ : undefined,
326
+ });
327
+ }
328
+ return {
329
+ sessionId,
330
+ activateWorktree(input = {}, idempotencyKey) {
331
+ return execute("activate_worktree", input, idempotencyKey);
332
+ },
333
+ addEvidence(input = {}, idempotencyKey) {
334
+ return execute("add_evidence", input, idempotencyKey);
335
+ },
336
+ addWorktree(input = {}, idempotencyKey) {
337
+ return execute("add_worktree", input, idempotencyKey);
338
+ },
339
+ analyzeGraphImpact(input = {}, idempotencyKey) {
340
+ return execute("analyze_graph_impact", input, idempotencyKey);
341
+ },
342
+ analyzeTopicDensity(input = {}, idempotencyKey) {
343
+ return execute("analyze_topic_density", input, idempotencyKey);
344
+ },
345
+ answerQuestion(input = {}, idempotencyKey) {
346
+ return execute("answer_question", input, idempotencyKey);
347
+ },
348
+ applyAutoBranching(input = {}, idempotencyKey) {
349
+ return execute("apply_auto_branching", input, idempotencyKey);
350
+ },
351
+ applyLensToTopic(input = {}, idempotencyKey) {
352
+ return execute("apply_lens_to_topic", input, idempotencyKey);
353
+ },
354
+ applyOntology(input = {}, idempotencyKey) {
355
+ return execute("apply_ontology", input, idempotencyKey);
356
+ },
357
+ archiveBelief(input = {}, idempotencyKey) {
358
+ return execute("archive_belief", input, idempotencyKey);
359
+ },
360
+ archiveEpistemicNode(input = {}, idempotencyKey) {
361
+ return execute("archive_epistemic_node", input, idempotencyKey);
362
+ },
363
+ archiveOntology(input = {}, idempotencyKey) {
364
+ return execute("archive_ontology", input, idempotencyKey);
365
+ },
366
+ archiveQuestion(input = {}, idempotencyKey) {
367
+ return execute("archive_question", input, idempotencyKey);
368
+ },
369
+ batchCreateEdges(input = {}, idempotencyKey) {
370
+ return execute("batch_create_edges", input, idempotencyKey);
371
+ },
372
+ batchCreateEpistemicNodes(input = {}, idempotencyKey) {
373
+ return execute("batch_create_epistemic_nodes", input, idempotencyKey);
374
+ },
375
+ beginBuildSession(input = {}, idempotencyKey) {
376
+ return execute("begin_build_session", input, idempotencyKey);
377
+ },
378
+ bisectConfidence(input = {}, idempotencyKey) {
379
+ return execute("bisect_confidence", input, idempotencyKey);
380
+ },
381
+ broadcastMessage(input = {}, idempotencyKey) {
382
+ return execute("broadcast_message", input, idempotencyKey);
383
+ },
384
+ checkPermission(input = {}, idempotencyKey) {
385
+ return execute("check_permission", input, idempotencyKey);
386
+ },
387
+ claimFiles(input = {}, idempotencyKey) {
388
+ return execute("claim_files", input, idempotencyKey);
389
+ },
390
+ compileContext(input = {}, idempotencyKey) {
391
+ return execute("compile_context", input, idempotencyKey);
392
+ },
393
+ completeTask(input = {}, idempotencyKey) {
394
+ return execute("complete_task", input, idempotencyKey);
395
+ },
396
+ createAnswer(input = {}, idempotencyKey) {
397
+ return execute("create_answer", input, idempotencyKey);
398
+ },
399
+ createBelief(input = {}, idempotencyKey) {
400
+ return execute("create_belief", input, idempotencyKey);
401
+ },
402
+ createEdge(input = {}, idempotencyKey) {
403
+ return execute("create_edge", input, idempotencyKey);
404
+ },
405
+ createEpistemicContract(input = {}, idempotencyKey) {
406
+ return execute("create_epistemic_contract", input, idempotencyKey);
407
+ },
408
+ createEpistemicNode(input = {}, idempotencyKey) {
409
+ return execute("create_epistemic_node", input, idempotencyKey);
410
+ },
411
+ createEvidence(input = {}, idempotencyKey) {
412
+ return execute("create_evidence", input, idempotencyKey);
413
+ },
414
+ createLens(input = {}, idempotencyKey) {
415
+ return execute("create_lens", input, idempotencyKey);
416
+ },
417
+ createOntology(input = {}, idempotencyKey) {
418
+ return execute("create_ontology", input, idempotencyKey);
419
+ },
420
+ createOntologyVersion(input = {}, idempotencyKey) {
421
+ return execute("create_ontology_version", input, idempotencyKey);
422
+ },
423
+ createQuestion(input = {}, idempotencyKey) {
424
+ return execute("create_question", input, idempotencyKey);
425
+ },
426
+ createTask(input = {}, idempotencyKey) {
427
+ return execute("create_task", input, idempotencyKey);
428
+ },
429
+ createTopic(input = {}, idempotencyKey) {
430
+ return execute("create_topic", input, idempotencyKey);
431
+ },
432
+ deprecateOntologyVersion(input = {}, idempotencyKey) {
433
+ return execute("deprecate_ontology_version", input, idempotencyKey);
434
+ },
435
+ detectConfirmationBias(input = {}, idempotencyKey) {
436
+ return execute("detect_confirmation_bias", input, idempotencyKey);
437
+ },
438
+ detectGraphDrift(input = {}, idempotencyKey) {
439
+ return execute("detect_graph_drift", input, idempotencyKey);
440
+ },
441
+ discover(input = {}, idempotencyKey) {
442
+ return execute("discover", input, idempotencyKey);
443
+ },
444
+ discoverEntityConnections(input = {}, idempotencyKey) {
445
+ return execute("discover_entity_connections", input, idempotencyKey);
446
+ },
447
+ endSession(input = {}, idempotencyKey) {
448
+ return execute("end_session", input, idempotencyKey);
449
+ },
450
+ evaluateContract(input = {}, idempotencyKey) {
451
+ return execute("evaluate_contract", input, idempotencyKey);
452
+ },
453
+ expandGraphNeighborhood(input = {}, idempotencyKey) {
454
+ return execute("expand_graph_neighborhood", input, idempotencyKey);
455
+ },
456
+ filterByPermission(input = {}, idempotencyKey) {
457
+ return execute("filter_by_permission", input, idempotencyKey);
458
+ },
459
+ findContradictions(input = {}, idempotencyKey) {
460
+ return execute("find_contradictions", input, idempotencyKey);
461
+ },
462
+ findMissingQuestions(input = {}, idempotencyKey) {
463
+ return execute("find_missing_questions", input, idempotencyKey);
464
+ },
465
+ findRelatedNodes(input = {}, idempotencyKey) {
466
+ return execute("find_related_nodes", input, idempotencyKey);
467
+ },
468
+ flagContradiction(input = {}, idempotencyKey) {
469
+ return execute("flag_contradiction", input, idempotencyKey);
470
+ },
471
+ forkBelief(input = {}, idempotencyKey) {
472
+ return execute("fork_belief", input, idempotencyKey);
473
+ },
474
+ generateSessionHandoff(input = {}, idempotencyKey) {
475
+ return execute("generate_session_handoff", input, idempotencyKey);
476
+ },
477
+ getAgentInbox(input = {}, idempotencyKey) {
478
+ return execute("get_agent_inbox", input, idempotencyKey);
479
+ },
480
+ getAnswer(input = {}, idempotencyKey) {
481
+ return execute("get_answer", input, idempotencyKey);
482
+ },
483
+ getAuditTrail(input = {}, idempotencyKey) {
484
+ return execute("get_audit_trail", input, idempotencyKey);
485
+ },
486
+ getBelief(input = {}, idempotencyKey) {
487
+ return execute("get_belief", input, idempotencyKey);
488
+ },
489
+ getChangeHistory(input = {}, idempotencyKey) {
490
+ return execute("get_change_history", input, idempotencyKey);
491
+ },
492
+ getCodeContext(input = {}, idempotencyKey) {
493
+ return execute("get_code_context", input, idempotencyKey);
494
+ },
495
+ getConfidenceHistory(input = {}, idempotencyKey) {
496
+ return execute("get_confidence_history", input, idempotencyKey);
497
+ },
498
+ getContractStatus(input = {}, idempotencyKey) {
499
+ return execute("get_contract_status", input, idempotencyKey);
500
+ },
501
+ getByNodeIds(input = {}, idempotencyKey) {
502
+ return execute("get_embeddings_by_node_ids", input, idempotencyKey);
503
+ },
504
+ getEpistemicNode(input = {}, idempotencyKey) {
505
+ return execute("get_epistemic_node", input, idempotencyKey);
506
+ },
507
+ getEvidence(input = {}, idempotencyKey) {
508
+ return execute("get_evidence", input, idempotencyKey);
509
+ },
510
+ getFailureLog(input = {}, idempotencyKey) {
511
+ return execute("get_failure_log", input, idempotencyKey);
512
+ },
513
+ getFalsificationQuestions(input = {}, idempotencyKey) {
514
+ return execute("get_falsification_questions", input, idempotencyKey);
515
+ },
516
+ getGraphGaps(input = {}, idempotencyKey) {
517
+ return execute("get_graph_gaps", input, idempotencyKey);
518
+ },
519
+ getGraphNeighborhood(input = {}, idempotencyKey) {
520
+ return execute("get_graph_neighborhood", input, idempotencyKey);
521
+ },
522
+ getGraphStructureAnalysis(input = {}, idempotencyKey) {
523
+ return execute("get_graph_structure_analysis", input, idempotencyKey);
524
+ },
525
+ getHighPriorityQuestions(input = {}, idempotencyKey) {
526
+ return execute("get_high_priority_questions", input, idempotencyKey);
527
+ },
528
+ getLatticeCoverage(input = {}, idempotencyKey) {
529
+ return execute("get_lattice_coverage", input, idempotencyKey);
530
+ },
531
+ getObservationContext(input = {}, idempotencyKey) {
532
+ return execute("get_observation_context", input, idempotencyKey);
533
+ },
534
+ getOntology(input = {}, idempotencyKey) {
535
+ return execute("get_ontology", input, idempotencyKey);
536
+ },
537
+ getQuestion(input = {}, idempotencyKey) {
538
+ return execute("get_question", input, idempotencyKey);
539
+ },
540
+ getTopic(input = {}, idempotencyKey) {
541
+ return execute("get_topic", input, idempotencyKey);
542
+ },
543
+ getTopicCoverage(input = {}, idempotencyKey) {
544
+ return execute("get_topic_coverage", input, idempotencyKey);
545
+ },
546
+ getTopicGraphSpine(input = {}, idempotencyKey) {
547
+ return execute("get_topic_graph_spine", input, idempotencyKey);
548
+ },
549
+ getTopicTree(input = {}, idempotencyKey) {
550
+ return execute("get_topic_tree", input, idempotencyKey);
551
+ },
552
+ getWorktree(input = {}, idempotencyKey) {
553
+ return execute("get_worktree", input, idempotencyKey);
554
+ },
555
+ heartbeatSession(input = {}, idempotencyKey) {
556
+ return execute("heartbeat_session", input, idempotencyKey);
557
+ },
558
+ hybridDiscover(input = {}, idempotencyKey) {
559
+ return execute("hybrid_discover", input, idempotencyKey);
560
+ },
561
+ whoami(input = {}, idempotencyKey) {
562
+ return execute("identity_whoami", input, idempotencyKey);
563
+ },
564
+ ingestObservation(input = {}, idempotencyKey) {
565
+ return execute("ingest_observation", input, idempotencyKey);
566
+ },
567
+ linkEvidence(input = {}, idempotencyKey) {
568
+ return execute("link_evidence", input, idempotencyKey);
569
+ },
570
+ linkEvidenceToBelief(input = {}, idempotencyKey) {
571
+ return execute("link_evidence_to_belief", input, idempotencyKey);
572
+ },
573
+ linkEvidenceToQuestion(input = {}, idempotencyKey) {
574
+ return execute("link_evidence_to_question", input, idempotencyKey);
575
+ },
576
+ listActiveSessions(input = {}, idempotencyKey) {
577
+ return execute("list_active_sessions", input, idempotencyKey);
578
+ },
579
+ listAllWorktrees(input = {}, idempotencyKey) {
580
+ return execute("list_all_worktrees", input, idempotencyKey);
581
+ },
582
+ listBeliefs(input = {}, idempotencyKey) {
583
+ return execute("list_beliefs", input, idempotencyKey);
584
+ },
585
+ listCampaigns(input = {}, idempotencyKey) {
586
+ return execute("list_campaigns", input, idempotencyKey);
587
+ },
588
+ listEpistemicNodes(input = {}, idempotencyKey) {
589
+ return execute("list_epistemic_nodes", input, idempotencyKey);
590
+ },
591
+ listEvidence(input = {}, idempotencyKey) {
592
+ return execute("list_evidence", input, idempotencyKey);
593
+ },
594
+ listGraphIntelligenceQueries(input = {}, idempotencyKey) {
595
+ return execute("list_graph_intelligence_queries", input, idempotencyKey);
596
+ },
597
+ listLenses(input = {}, idempotencyKey) {
598
+ return execute("list_lenses", input, idempotencyKey);
599
+ },
600
+ listMissingForTopic(input = {}, idempotencyKey) {
601
+ return execute("list_missing_embeddings", input, idempotencyKey);
602
+ },
603
+ listOntologies(input = {}, idempotencyKey) {
604
+ return execute("list_ontologies", input, idempotencyKey);
605
+ },
606
+ listQuestions(input = {}, idempotencyKey) {
607
+ return execute("list_questions", input, idempotencyKey);
608
+ },
609
+ listTasks(input = {}, idempotencyKey) {
610
+ return execute("list_tasks", input, idempotencyKey);
611
+ },
612
+ listTopics(input = {}, idempotencyKey) {
613
+ return execute("list_topics", input, idempotencyKey);
614
+ },
615
+ listWorktrees(input = {}, idempotencyKey) {
616
+ return execute("list_worktrees", input, idempotencyKey);
617
+ },
618
+ lucernOrient(input = {}, idempotencyKey) {
619
+ return execute("lucern_orient", input, idempotencyKey);
620
+ },
621
+ manageWritePolicy(input = {}, idempotencyKey) {
622
+ return execute("manage_write_policy", input, idempotencyKey);
623
+ },
624
+ matchEntityType(input = {}, idempotencyKey) {
625
+ return execute("match_entity_type", input, idempotencyKey);
626
+ },
627
+ materializeTopicGraph(input = {}, idempotencyKey) {
628
+ return execute("materialize_topic_graph", input, idempotencyKey);
629
+ },
630
+ merge(input = {}, idempotencyKey) {
631
+ return execute("merge", input, idempotencyKey);
632
+ },
633
+ modulateConfidence(input = {}, idempotencyKey) {
634
+ return execute("modulate_confidence", input, idempotencyKey);
635
+ },
636
+ openPullRequest(input = {}, idempotencyKey) {
637
+ return execute("open_pull_request", input, idempotencyKey);
638
+ },
639
+ pipelineSnapshot(input = {}, idempotencyKey) {
640
+ return execute("pipeline_snapshot", input, idempotencyKey);
641
+ },
642
+ publishOntologyVersion(input = {}, idempotencyKey) {
643
+ return execute("publish_ontology_version", input, idempotencyKey);
644
+ },
645
+ push(input = {}, idempotencyKey) {
646
+ return execute("push", input, idempotencyKey);
647
+ },
648
+ queryLineage(input = {}, idempotencyKey) {
649
+ return execute("query_lineage", input, idempotencyKey);
650
+ },
651
+ markEmbeddingBackfillQueued(input = {}, idempotencyKey) {
652
+ return execute("queue_embedding_backfill", input, idempotencyKey);
653
+ },
654
+ recordAttempt(input = {}, idempotencyKey) {
655
+ return execute("record_attempt", input, idempotencyKey);
656
+ },
657
+ recordJudgment(input = {}, idempotencyKey) {
658
+ return execute("record_judgment", input, idempotencyKey);
659
+ },
660
+ recordScopeLearning(input = {}, idempotencyKey) {
661
+ return execute("record_scope_learning", input, idempotencyKey);
662
+ },
663
+ refineBelief(input = {}, idempotencyKey) {
664
+ return execute("refine_belief", input, idempotencyKey);
665
+ },
666
+ refineQuestion(input = {}, idempotencyKey) {
667
+ return execute("refine_question", input, idempotencyKey);
668
+ },
669
+ registerSession(input = {}, idempotencyKey) {
670
+ return execute("register_session", input, idempotencyKey);
671
+ },
672
+ removeEdge(input = {}, idempotencyKey) {
673
+ return execute("remove_edge", input, idempotencyKey);
674
+ },
675
+ removeEdgesBetween(input = {}, idempotencyKey) {
676
+ return execute("remove_edges_between", input, idempotencyKey);
677
+ },
678
+ removeLensFromTopic(input = {}, idempotencyKey) {
679
+ return execute("remove_lens_from_topic", input, idempotencyKey);
680
+ },
681
+ resolveEffectiveOntology(input = {}, idempotencyKey) {
682
+ return execute("resolve_effective_ontology", input, idempotencyKey);
683
+ },
684
+ resolveInteractivePrincipal(input = {}, idempotencyKey) {
685
+ return execute("resolve_interactive_principal", input, idempotencyKey);
686
+ },
687
+ resolveTopicSemantic(input = {}, idempotencyKey) {
688
+ return execute("resolve_topic_semantic", input, idempotencyKey);
689
+ },
690
+ runGraphIntelligenceQuery(input = {}, idempotencyKey) {
691
+ return execute("run_graph_intelligence_query", input, idempotencyKey);
692
+ },
693
+ searchBeliefs(input = {}, idempotencyKey) {
694
+ return execute("search_beliefs", input, idempotencyKey);
695
+ },
696
+ vectorSearchByTopic(input = {}, idempotencyKey) {
697
+ return execute("search_embeddings", input, idempotencyKey);
698
+ },
699
+ searchEvidence(input = {}, idempotencyKey) {
700
+ return execute("search_evidence", input, idempotencyKey);
701
+ },
702
+ seedBeliefLattice(input = {}, idempotencyKey) {
703
+ return execute("seed_belief_lattice", input, idempotencyKey);
704
+ },
705
+ sendAgentMessage(input = {}, idempotencyKey) {
706
+ return execute("send_agent_message", input, idempotencyKey);
707
+ },
708
+ supersedeEpistemicNode(input = {}, idempotencyKey) {
709
+ return execute("supersede_epistemic_node", input, idempotencyKey);
710
+ },
711
+ traceEntityImpact(input = {}, idempotencyKey) {
712
+ return execute("trace_entity_impact", input, idempotencyKey);
713
+ },
714
+ traverseGraph(input = {}, idempotencyKey) {
715
+ return execute("traverse_graph", input, idempotencyKey);
716
+ },
717
+ triggerBeliefReview(input = {}, idempotencyKey) {
718
+ return execute("trigger_belief_review", input, idempotencyKey);
719
+ },
720
+ updateEdge(input = {}, idempotencyKey) {
721
+ return execute("update_edge", input, idempotencyKey);
722
+ },
723
+ updateEpistemicNode(input = {}, idempotencyKey) {
724
+ return execute("update_epistemic_node", input, idempotencyKey);
725
+ },
726
+ updateOntology(input = {}, idempotencyKey) {
727
+ return execute("update_ontology", input, idempotencyKey);
728
+ },
729
+ updateQuestionStatus(input = {}, idempotencyKey) {
730
+ return execute("update_question_status", input, idempotencyKey);
731
+ },
732
+ updateTask(input = {}, idempotencyKey) {
733
+ return execute("update_task", input, idempotencyKey);
734
+ },
735
+ updateTopic(input = {}, idempotencyKey) {
736
+ return execute("update_topic", input, idempotencyKey);
737
+ },
738
+ updateWorktreeMetadata(input = {}, idempotencyKey) {
739
+ return execute("update_worktree_metadata", input, idempotencyKey);
740
+ },
741
+ updateWorktreeTargets(input = {}, idempotencyKey) {
742
+ return execute("update_worktree_targets", input, idempotencyKey);
743
+ },
744
+ verifyEpistemicNode(input = {}, idempotencyKey) {
745
+ return execute("verify_epistemic_node", input, idempotencyKey);
746
+ },
747
+ };
748
+ }
749
+ //# sourceMappingURL=functionSurface.js.map