@lucern/sdk 0.2.0-alpha.6 → 0.2.0-alpha.8

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 (274) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{lib/platform/sdk/adminClient.d.ts → adminClient.d.ts} +56 -51
  3. package/dist/adminClient.js +755 -0
  4. package/dist/adminClient.js.map +1 -0
  5. package/dist/answersClient.d.ts +23 -0
  6. package/dist/answersClient.js +333 -0
  7. package/dist/answersClient.js.map +1 -0
  8. package/dist/{lib/platform/sdk/audiencesClient.d.ts → audiencesClient.d.ts} +24 -18
  9. package/dist/audiencesClient.js +472 -0
  10. package/dist/audiencesClient.js.map +1 -0
  11. package/dist/auditClient.d.ts +29 -0
  12. package/dist/auditClient.js +386 -0
  13. package/dist/auditClient.js.map +1 -0
  14. package/dist/{lib/platform/sdk/beliefsClient.d.ts → beliefsClient.d.ts} +32 -27
  15. package/dist/beliefsClient.js +477 -0
  16. package/dist/beliefsClient.js.map +1 -0
  17. package/dist/{lib/platform/sdk/client.d.ts → client.d.ts} +404 -395
  18. package/dist/client.js +6134 -0
  19. package/dist/client.js.map +1 -0
  20. package/dist/{lib/platform/sdk/contextClient.d.ts → contextClient.d.ts} +13 -7
  21. package/dist/contextClient.js +396 -0
  22. package/dist/contextClient.js.map +1 -0
  23. package/dist/contextFacade.d.ts +2 -0
  24. package/dist/contextFacade.js +73 -0
  25. package/dist/contextFacade.js.map +1 -0
  26. package/dist/{lib/platform/sdk/contextPackCompiler.d.ts → contextPackCompiler.d.ts} +11 -9
  27. package/dist/contextPackCompiler.js +1091 -0
  28. package/dist/contextPackCompiler.js.map +1 -0
  29. package/dist/contextPackPolicy.d.ts +84 -0
  30. package/dist/contextPackPolicy.js +347 -0
  31. package/dist/contextPackPolicy.js.map +1 -0
  32. package/dist/contextPackSchema.d.ts +7 -0
  33. package/dist/contextPackSchema.js +203 -0
  34. package/dist/contextPackSchema.js.map +1 -0
  35. package/dist/{lib/platform/sdk/contextTypes.d.ts → contextTypes.d.ts} +15 -13
  36. package/dist/contextTypes.js +3 -0
  37. package/dist/contextTypes.js.map +1 -0
  38. package/dist/contracts/api-enums.contract.d.ts +81 -0
  39. package/dist/contracts/api-enums.contract.js +92 -0
  40. package/dist/contracts/api-enums.contract.js.map +1 -0
  41. package/dist/contracts/auth-session.contract.d.ts +55 -0
  42. package/dist/contracts/auth-session.contract.js +48 -0
  43. package/dist/contracts/auth-session.contract.js.map +1 -0
  44. package/dist/{lucern/contracts/src → contracts}/context-pack.contract.d.ts +56 -58
  45. package/dist/contracts/context-pack.contract.js +98 -0
  46. package/dist/contracts/context-pack.contract.js.map +1 -0
  47. package/dist/contracts/contextPack.d.ts +1 -0
  48. package/dist/contracts/contextPack.js +98 -0
  49. package/dist/contracts/contextPack.js.map +1 -0
  50. package/dist/contracts/index.d.ts +9 -0
  51. package/dist/contracts/index.js +4892 -0
  52. package/dist/contracts/index.js.map +1 -0
  53. package/dist/{lucern/contracts/src → contracts}/lens-filter.contract.d.ts +10 -8
  54. package/dist/contracts/lens-filter.contract.js +71 -0
  55. package/dist/contracts/lens-filter.contract.js.map +1 -0
  56. package/dist/contracts/lens-workflow.contract.d.ts +87 -0
  57. package/dist/contracts/lens-workflow.contract.js +123 -0
  58. package/dist/contracts/lens-workflow.contract.js.map +1 -0
  59. package/dist/contracts/lensFilter.d.ts +1 -0
  60. package/dist/contracts/lensFilter.js +71 -0
  61. package/dist/contracts/lensFilter.js.map +1 -0
  62. package/dist/contracts/lensWorkflow.d.ts +2 -0
  63. package/dist/contracts/lensWorkflow.js +123 -0
  64. package/dist/contracts/lensWorkflow.js.map +1 -0
  65. package/dist/contracts/mcp-tools.contract.d.ts +1 -0
  66. package/dist/contracts/mcp-tools.contract.js +2986 -0
  67. package/dist/contracts/mcp-tools.contract.js.map +1 -0
  68. package/dist/contracts/mcpTools.d.ts +1 -0
  69. package/dist/contracts/mcpTools.js +2986 -0
  70. package/dist/contracts/mcpTools.js.map +1 -0
  71. package/dist/{lucern/contracts/src → contracts}/prompt.contract.d.ts +5 -3
  72. package/dist/contracts/prompt.contract.js +12 -0
  73. package/dist/contracts/prompt.contract.js.map +1 -0
  74. package/dist/contracts/prompt.d.ts +1 -0
  75. package/dist/contracts/prompt.js +12 -0
  76. package/dist/contracts/prompt.js.map +1 -0
  77. package/dist/contracts/sdk-tools.contract.d.ts +2 -0
  78. package/dist/contracts/sdk-tools.contract.js +4134 -0
  79. package/dist/contracts/sdk-tools.contract.js.map +1 -0
  80. package/dist/contracts/sdkTools.d.ts +2 -0
  81. package/dist/contracts/sdkTools.js +4134 -0
  82. package/dist/contracts/sdkTools.js.map +1 -0
  83. package/dist/contracts/workflow-runtime.contract.d.ts +163 -0
  84. package/dist/contracts/workflow-runtime.contract.js +245 -0
  85. package/dist/contracts/workflow-runtime.contract.js.map +1 -0
  86. package/dist/contracts/workflowRuntime.d.ts +1 -0
  87. package/dist/contracts/workflowRuntime.js +245 -0
  88. package/dist/contracts/workflowRuntime.js.map +1 -0
  89. package/dist/{lib/platform/sdk/controlObjectOwnership.d.ts → controlObjectOwnership.d.ts} +20 -18
  90. package/dist/controlObjectOwnership.js +215 -0
  91. package/dist/controlObjectOwnership.js.map +1 -0
  92. package/dist/{lib/platform/sdk/coreClient.d.ts → coreClient.d.ts} +19 -14
  93. package/dist/coreClient.js +339 -0
  94. package/dist/coreClient.js.map +1 -0
  95. package/dist/{lib/platform/sdk/customTools.d.ts → customTools.d.ts} +21 -16
  96. package/dist/customTools.js +248 -0
  97. package/dist/customTools.js.map +1 -0
  98. package/dist/{lib/platform/sdk/decisionsClient.d.ts → decisionsClient.d.ts} +29 -24
  99. package/dist/decisionsClient.js +522 -0
  100. package/dist/decisionsClient.js.map +1 -0
  101. package/dist/domainContext.d.ts +1 -0
  102. package/dist/domainContext.js +3 -0
  103. package/dist/domainContext.js.map +1 -0
  104. package/dist/events.d.ts +178 -0
  105. package/dist/events.js +249 -0
  106. package/dist/events.js.map +1 -0
  107. package/dist/eventsCore.d.ts +49 -0
  108. package/dist/eventsCore.js +429 -0
  109. package/dist/eventsCore.js.map +1 -0
  110. package/dist/facade/context.d.ts +18 -0
  111. package/dist/facade/context.js +73 -0
  112. package/dist/facade/context.js.map +1 -0
  113. package/dist/{lib/platform/sdk/gatewayFacades.d.ts → gatewayFacades.d.ts} +31 -26
  114. package/dist/gatewayFacades.js +1953 -0
  115. package/dist/gatewayFacades.js.map +1 -0
  116. package/dist/{lib/platform/sdk/graphClient.d.ts → graphClient.d.ts} +57 -52
  117. package/dist/graphClient.js +698 -0
  118. package/dist/graphClient.js.map +1 -0
  119. package/dist/{lib/platform/sdk/harnessClient.d.ts → harnessClient.d.ts} +44 -39
  120. package/dist/harnessClient.js +607 -0
  121. package/dist/harnessClient.js.map +1 -0
  122. package/dist/{lib/platform/sdk/identityClient.d.ts → identityClient.d.ts} +17 -11
  123. package/dist/identityClient.js +497 -0
  124. package/dist/identityClient.js.map +1 -0
  125. package/dist/index.d.ts +42 -3
  126. package/dist/index.js +11381 -3
  127. package/dist/index.js.map +1 -0
  128. package/dist/{lib/platform/sdk/learningClient.d.ts → learningClient.d.ts} +13 -7
  129. package/dist/learningClient.js +409 -0
  130. package/dist/learningClient.js.map +1 -0
  131. package/dist/{lib/platform/sdk/mcpParityClient.d.ts → mcpParityClient.d.ts} +10 -5
  132. package/dist/mcpParityClient.js +516 -0
  133. package/dist/mcpParityClient.js.map +1 -0
  134. package/dist/mcpParitySurface.d.ts +12 -0
  135. package/dist/mcpParitySurface.js +65 -0
  136. package/dist/mcpParitySurface.js.map +1 -0
  137. package/dist/mcpTools-DPZxowDX.d.ts +254 -0
  138. package/dist/{lib/platform/sdk/ontologyClient.d.ts → ontologyClient.d.ts} +28 -22
  139. package/dist/ontologyClient.js +513 -0
  140. package/dist/ontologyClient.js.map +1 -0
  141. package/dist/packRuntime.d.ts +2 -0
  142. package/dist/packRuntime.js +3 -0
  143. package/dist/packRuntime.js.map +1 -0
  144. package/dist/{lib/platform/sdk/packsClient.d.ts → packsClient.d.ts} +34 -29
  145. package/dist/packsClient.js +525 -0
  146. package/dist/packsClient.js.map +1 -0
  147. package/dist/{lib/platform/sdk/policyClient.d.ts → policyClient.d.ts} +26 -20
  148. package/dist/policyClient.js +625 -0
  149. package/dist/policyClient.js.map +1 -0
  150. package/dist/realtime/index.d.ts +29 -0
  151. package/dist/realtime/index.js +23 -0
  152. package/dist/realtime/index.js.map +1 -0
  153. package/dist/realtime/refs.d.ts +17 -0
  154. package/dist/realtime/refs.js +9 -0
  155. package/dist/realtime/refs.js.map +1 -0
  156. package/dist/reportsClient.d.ts +41 -0
  157. package/dist/reportsClient.js +418 -0
  158. package/dist/reportsClient.js.map +1 -0
  159. package/dist/{lib/platform/sdk/schemaClient.d.ts → schemaClient.d.ts} +20 -15
  160. package/dist/schemaClient.js +434 -0
  161. package/dist/schemaClient.js.map +1 -0
  162. package/dist/sdkSurface.d.ts +61 -0
  163. package/dist/sdkSurface.js +112 -0
  164. package/dist/sdkSurface.js.map +1 -0
  165. package/dist/sdkTools-CwXJDACb.d.ts +150 -0
  166. package/dist/{lib/platform/sdk/topicsClient.d.ts → topicsClient.d.ts} +24 -18
  167. package/dist/topicsClient.js +492 -0
  168. package/dist/topicsClient.js.map +1 -0
  169. package/dist/{lib/platform/sdk/types.d.ts → types.d.ts} +84 -80
  170. package/dist/types.js +3 -0
  171. package/dist/types.js.map +1 -0
  172. package/dist/version.d.ts +4 -0
  173. package/dist/version.js +6 -0
  174. package/dist/version.js.map +1 -0
  175. package/dist/{lib/platform/sdk/workflowClient.d.ts → workflowClient.d.ts} +60 -57
  176. package/dist/workflowClient.js +830 -0
  177. package/dist/workflowClient.js.map +1 -0
  178. package/package.json +25 -43
  179. package/dist/.generated +0 -2
  180. package/dist/lib/platform/auth/credentials.d.ts +0 -5
  181. package/dist/lib/platform/auth/credentials.js +0 -40
  182. package/dist/lib/platform/sdk/adminClient.js +0 -384
  183. package/dist/lib/platform/sdk/answersClient.d.ts +0 -16
  184. package/dist/lib/platform/sdk/answersClient.js +0 -21
  185. package/dist/lib/platform/sdk/audiencesClient.js +0 -111
  186. package/dist/lib/platform/sdk/auditClient.d.ts +0 -24
  187. package/dist/lib/platform/sdk/auditClient.js +0 -21
  188. package/dist/lib/platform/sdk/beliefsClient.js +0 -124
  189. package/dist/lib/platform/sdk/client.js +0 -1831
  190. package/dist/lib/platform/sdk/contextClient.js +0 -86
  191. package/dist/lib/platform/sdk/contextFacade.d.ts +0 -10
  192. package/dist/lib/platform/sdk/contextFacade.js +0 -10
  193. package/dist/lib/platform/sdk/contextPackCompiler.js +0 -534
  194. package/dist/lib/platform/sdk/contextTypes.js +0 -1
  195. package/dist/lib/platform/sdk/controlObjectOwnership.js +0 -220
  196. package/dist/lib/platform/sdk/coreClient.js +0 -366
  197. package/dist/lib/platform/sdk/customTools.js +0 -247
  198. package/dist/lib/platform/sdk/decisionsClient.js +0 -129
  199. package/dist/lib/platform/sdk/domainContext.d.ts +0 -1
  200. package/dist/lib/platform/sdk/domainContext.js +0 -1
  201. package/dist/lib/platform/sdk/events.d.ts +0 -176
  202. package/dist/lib/platform/sdk/events.js +0 -261
  203. package/dist/lib/platform/sdk/eventsCore.d.ts +0 -13
  204. package/dist/lib/platform/sdk/eventsCore.js +0 -13
  205. package/dist/lib/platform/sdk/gatewayFacades.js +0 -845
  206. package/dist/lib/platform/sdk/graphClient.js +0 -235
  207. package/dist/lib/platform/sdk/harnessClient.js +0 -219
  208. package/dist/lib/platform/sdk/identityClient.js +0 -131
  209. package/dist/lib/platform/sdk/index.d.ts +0 -49
  210. package/dist/lib/platform/sdk/index.js +0 -49
  211. package/dist/lib/platform/sdk/learningClient.js +0 -53
  212. package/dist/lib/platform/sdk/mcpParityClient.js +0 -196
  213. package/dist/lib/platform/sdk/mcpParitySurface.d.ts +0 -10
  214. package/dist/lib/platform/sdk/mcpParitySurface.js +0 -57
  215. package/dist/lib/platform/sdk/ontologyClient.js +0 -161
  216. package/dist/lib/platform/sdk/packRuntime.d.ts +0 -1
  217. package/dist/lib/platform/sdk/packRuntime.js +0 -1
  218. package/dist/lib/platform/sdk/packsClient.js +0 -157
  219. package/dist/lib/platform/sdk/policyClient.js +0 -277
  220. package/dist/lib/platform/sdk/promptCatalog.d.ts +0 -1
  221. package/dist/lib/platform/sdk/promptCatalog.js +0 -1
  222. package/dist/lib/platform/sdk/reportsClient.d.ts +0 -34
  223. package/dist/lib/platform/sdk/reportsClient.js +0 -64
  224. package/dist/lib/platform/sdk/schemaClient.js +0 -71
  225. package/dist/lib/platform/sdk/sdkSurface.d.ts +0 -56
  226. package/dist/lib/platform/sdk/sdkSurface.js +0 -140
  227. package/dist/lib/platform/sdk/topicsClient.js +0 -118
  228. package/dist/lib/platform/sdk/types.js +0 -1
  229. package/dist/lib/platform/sdk/version.d.ts +0 -2
  230. package/dist/lib/platform/sdk/version.js +0 -2
  231. package/dist/lib/platform/sdk/workflowClient.js +0 -366
  232. package/dist/lucern/contracts/src/api-enums.contract.d.ts +0 -58
  233. package/dist/lucern/contracts/src/api-enums.contract.js +0 -147
  234. package/dist/lucern/contracts/src/auth-context.contract.d.ts +0 -8
  235. package/dist/lucern/contracts/src/auth-context.contract.js +0 -8
  236. package/dist/lucern/contracts/src/auth-session.contract.d.ts +0 -8
  237. package/dist/lucern/contracts/src/auth-session.contract.js +0 -8
  238. package/dist/lucern/contracts/src/auth.contract.d.ts +0 -88
  239. package/dist/lucern/contracts/src/auth.contract.js +0 -57
  240. package/dist/lucern/contracts/src/context-pack.contract.js +0 -169
  241. package/dist/lucern/contracts/src/convex-admin.contract.d.ts +0 -5
  242. package/dist/lucern/contracts/src/convex-admin.contract.js +0 -1
  243. package/dist/lucern/contracts/src/events-types.contract.d.ts +0 -8
  244. package/dist/lucern/contracts/src/events-types.contract.js +0 -8
  245. package/dist/lucern/contracts/src/events.contract.d.ts +0 -176
  246. package/dist/lucern/contracts/src/events.contract.js +0 -159
  247. package/dist/lucern/contracts/src/gateway.contract.d.ts +0 -74
  248. package/dist/lucern/contracts/src/gateway.contract.js +0 -19
  249. package/dist/lucern/contracts/src/ids.contract.d.ts +0 -7
  250. package/dist/lucern/contracts/src/ids.contract.js +0 -24
  251. package/dist/lucern/contracts/src/index.d.ts +0 -29
  252. package/dist/lucern/contracts/src/index.js +0 -29
  253. package/dist/lucern/contracts/src/lens-filter.contract.js +0 -95
  254. package/dist/lucern/contracts/src/lens-workflow.contract.d.ts +0 -84
  255. package/dist/lucern/contracts/src/lens-workflow.contract.js +0 -54
  256. package/dist/lucern/contracts/src/mcp-tools.contract.d.ts +0 -151
  257. package/dist/lucern/contracts/src/mcp-tools.contract.js +0 -3281
  258. package/dist/lucern/contracts/src/ontology-matching.contract.d.ts +0 -8
  259. package/dist/lucern/contracts/src/ontology-matching.contract.js +0 -8
  260. package/dist/lucern/contracts/src/prompt.contract.js +0 -24
  261. package/dist/lucern/contracts/src/sdk-methods.contract.d.ts +0 -358
  262. package/dist/lucern/contracts/src/sdk-methods.contract.js +0 -19
  263. package/dist/lucern/contracts/src/sdk-tools.contract.d.ts +0 -92
  264. package/dist/lucern/contracts/src/sdk-tools.contract.js +0 -1398
  265. package/dist/lucern/contracts/src/text-matching.contract.d.ts +0 -53
  266. package/dist/lucern/contracts/src/text-matching.contract.js +0 -277
  267. package/dist/lucern/contracts/src/topic-scope.contract.d.ts +0 -8
  268. package/dist/lucern/contracts/src/topic-scope.contract.js +0 -8
  269. package/dist/lucern/contracts/src/workflow-runtime.contract.d.ts +0 -161
  270. package/dist/lucern/contracts/src/workflow-runtime.contract.js +0 -257
  271. package/dist/realtime-refs.d.ts +0 -1
  272. package/dist/realtime-refs.js +0 -1
  273. package/dist/realtime.d.ts +0 -1
  274. package/dist/realtime.js +0 -1
@@ -1,25 +1,33 @@
1
- import { type AdminClientConfig } from "./adminClient";
2
- import { type AnswersClientConfig } from "./answersClient";
3
- import { type AudiencesClientConfig } from "./audiencesClient";
4
- import { type AuditClientConfig } from "./auditClient";
5
- import { type BeliefsClientConfig } from "./beliefsClient";
6
- import { type PlatformGatewaySuccess } from "./coreClient";
7
- import { type CustomToolRegistration } from "./customTools";
8
- import { type DecisionsClientConfig, type RecordJudgmentInput } from "./decisionsClient";
9
- import { type ContextClientConfig } from "./contextClient";
10
- import { type GraphClientConfig } from "./graphClient";
11
- import { type HarnessClientConfig } from "./harnessClient";
12
- import { type IdentityClientConfig } from "./identityClient";
13
- import { type LearningClientConfig } from "./learningClient";
14
- import { type McpParityClientConfig } from "./mcpParityClient";
15
- import { type OntologyClientConfig } from "./ontologyClient";
16
- import { type PacksClientConfig } from "./packsClient";
17
- import { type PolicyClientConfig } from "./policyClient";
18
- import { type ReportsClientConfig } from "./reportsClient";
19
- import { type SchemaClientConfig } from "./schemaClient";
20
- import { type TopicsClientConfig } from "./topicsClient";
21
- import type { JsonObject, PlatformGraphEdge, PlatformGraphNode } from "./types";
22
- import { type AddWorktreeInput, type CompleteTaskInput, type CreateTaskInput, type MergeInput, type UpdateTaskInput, type WorkflowClientConfig } from "./workflowClient";
1
+ import { AudiencesClientConfig, AudienceRegistryInput, AudienceGrantInput, AudienceGrantRevokeInput } from './audiencesClient.js';
2
+ import { SchemaClientConfig, SchemaPackInstallInput, SchemaEntitlementInput } from './schemaClient.js';
3
+ import { HarnessClientConfig, HarnessAgentWriteInput, HarnessInvokeManagedAgentInput, HarnessToolWriteInput, HarnessExecuteToolInput, HarnessExecuteToolResult, HarnessStartRunInput, HarnessRunReportInput, HarnessCompleteRunInput } from './harnessClient.js';
4
+ import { IdentityClientConfig, ClerkUserSearchResult } from './identityClient.js';
5
+ import { AdminClientConfig, TenantApiKeyRecord, TenantVaultSecretRecord, TenantConfigRecord, TenantModelRoutingSnapshot } from './adminClient.js';
6
+ import { ControlObjectOwnershipContract } from './controlObjectOwnership.js';
7
+ import { BeliefsClientConfig, CreateBeliefInput, ModulateConfidenceInput, ForkBeliefInput, UpdateBeliefStatusInput, UpdateBeliefRationaleInput, LinkBeliefsInput, UnlinkBeliefEvidenceInput, UpdateBeliefCriticalityInput, BatchUpdateBeliefCriticalityInput, ReassignBeliefsTopicInput } from './beliefsClient.js';
8
+ import { PacksClientConfig, PackInstallInput, PackEnableInput, PackDisableInput, PackEntitlementInput, PackUninstallInput, PackUpgradeInput } from './packsClient.js';
9
+ import { CustomToolRegistration, RegisteredCustomTool } from './customTools.js';
10
+ import { PolicyClientConfig, PermissionDecision, PermissionKind, WritePolicyRecord, WritePolicyCreateInput, WritePolicyUpdateInput, TenantPolicyRecord, TenantPolicyPermission } from './policyClient.js';
11
+ import { PlatformGatewaySuccess, GatewayScope } from './coreClient.js';
12
+ import { OntologyClientConfig, OntologyBindingInput, OntologyDefinitionInput, OntologyDefinitionUpdateInput, OntologyVersionInput } from './ontologyClient.js';
13
+ import { CompileContextInput, PublicCompiledContext } from './contextTypes.js';
14
+ import { TopicsClientConfig, TopicListInput, TopicCreateInput, TopicUpdateInput, TopicTreeQuery, TopicCoverageQuery, TopicBulkCreateInput } from './topicsClient.js';
15
+ import { AnswersClientConfig } from './answersClient.js';
16
+ import { AuditClientConfig } from './auditClient.js';
17
+ import { ContextClientConfig } from './contextClient.js';
18
+ import { LensPromptTemplateReference, LensWorkflowTemplate, LensTaskTemplate } from './contracts/lens-workflow.contract.js';
19
+ import { DecisionsClientConfig, RecordJudgmentInput, ListJudgmentsInput, RecordJudgmentOutcomeInput, GetJudgmentCalibrationInput, ListPendingJudgmentOutcomeReviewInput, GetJudgmentTransitionAuditIntegrityInput } from './decisionsClient.js';
20
+ import { GraphClientConfig, ListNodesInput, GetNodeInput, CreateNodeInput, UpdateNodeInput, BatchCreateNodesInput, SupersedeNodeInput, VerifyNodeInput, HardDeleteNodeInput, CreateEdgeInput, NeighborhoodInput, QueryNodesInput, ListEdgesInput, QueryEdgesInput, DeleteEdgeInput, TraverseInput, AnalyzeInput, BiasInput, GapsInput, SearchInput, PathInput, AnalyticsInput } from './graphClient.js';
21
+ import { LearningClientConfig } from './learningClient.js';
22
+ import { McpParityClientConfig } from './mcpParityClient.js';
23
+ import { ReportsClientConfig } from './reportsClient.js';
24
+ import { JsonObject, ListResult, PlatformGraphNode, PlatformGraphEdge, GraphNeighborhoodResponse, JsonArray, RecordJudgmentResponse, ListJudgmentsResponse, GetJudgmentResponse, RecordJudgmentOutcomeResponse, JudgmentReadinessResponse, JudgmentCalibrationResponse, PendingJudgmentOutcomeRecord, JudgmentTransitionAuditIntegrityResponse, TopicIdentifierInput, WorkflowBranchRecord, WorkflowLensRecord, WorkflowLensBindingRecord, WorkflowWorktreeRecord, ListWorktreesResponse, PushWorktreeResponse, OpenPullRequestResponse, TopicListResponse, TopicRecord, TopicTreeResponse, TopicCoverageResponse, PlatformBeliefRecord, ModulateConfidenceResponse, ForkBeliefResponse, DeleteEdgeResponse, GraphPathResponse, GraphAnalyticsResponse, MergeWorktreeResponse, ListTopicsResponse, SwitchTopicContextResponse, CreateTaskResponse, CompleteTaskResponse, UpdateTaskResponse, ReportTemplatesResponse, ReportWithSectionsResponse } from './types.js';
25
+ import { WorkflowClientConfig, WorkflowLensPerspectiveType, WorkflowLensStatus, AddWorktreeInput, WorkflowWorktreeStatus, UpdateWorktreeTargetsInput, MergeInput, CreateTaskInput, CompleteTaskInput, UpdateTaskInput, WorkflowBranchStatus, CompleteWorktreeInput, AdvanceWorktreePhaseInput, SetWorktreePhaseInput, PatchWorktreeStateInput, BulkCreateWorktreesInput, ListTopicsInput, SwitchTopicContextInput } from './workflowClient.js';
26
+ import 'zod';
27
+ import './mcpTools-DPZxowDX.js';
28
+ import './contracts/lens-filter.contract.js';
29
+ import './contracts/workflow-runtime.contract.js';
30
+
23
31
  type ClientConfig = BeliefsClientConfig | GraphClientConfig | DecisionsClientConfig | AnswersClientConfig | ContextClientConfig | WorkflowClientConfig | AuditClientConfig | AdminClientConfig | IdentityClientConfig | PolicyClientConfig | PacksClientConfig | ReportsClientConfig | LearningClientConfig | McpParityClientConfig | OntologyClientConfig | HarnessClientConfig | SchemaClientConfig | AudiencesClientConfig | TopicsClientConfig;
24
32
  type CustomToolInput = JsonObject;
25
33
  type CustomToolInvoker = (input?: CustomToolInput) => Promise<unknown>;
@@ -60,7 +68,7 @@ type BeliefsCompatUpdateConfidenceInput = {
60
68
  * At minimum, provide `apiKey` and `baseUrl`. The SDK handles
61
69
  * authentication, retries, and idempotency automatically.
62
70
  */
63
- export type LucernClientConfig = ClientConfig & {
71
+ type LucernClientConfig = ClientConfig & {
64
72
  /** API key for authenticating with the Lucern platform. */
65
73
  apiKey?: string;
66
74
  /**
@@ -84,7 +92,7 @@ export type LucernClientConfig = ClientConfig & {
84
92
  * @param config - Client configuration with API key, base URL, and optional settings.
85
93
  * @returns The Lucern client with namespaced methods for beliefs, topics, evidence, decisions, and more.
86
94
  */
87
- export declare function createLucernClient(config?: LucernClientConfig): {
95
+ declare function createLucernClient(config?: LucernClientConfig): {
88
96
  config: LucernClientConfig;
89
97
  version: string;
90
98
  search(query: string, options?: {
@@ -719,17 +727,17 @@ export declare function createLucernClient(config?: LucernClientConfig): {
719
727
  };
720
728
  graph: {
721
729
  nodes: {
722
- list(query: Parameters<(query: import("./graphClient").ListNodesInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
723
- get(input: string | Parameters<(query: import("./graphClient").GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
724
- create(input: Parameters<(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
725
- update(input: Parameters<(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
726
- batchCreate(input: Parameters<(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
727
- supersede(input: Parameters<(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
728
- verify(input: Parameters<(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
729
- hardDelete(input: Parameters<(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
730
+ list(query: Parameters<(query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
731
+ get(input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
732
+ create(input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
733
+ update(input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
734
+ batchCreate(input: Parameters<(input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
735
+ supersede(input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
736
+ verify(input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
737
+ hardDelete(input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
730
738
  };
731
- createEdge(input: Parameters<(input: import("./graphClient").CreateEdgeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphEdge>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
732
- neighborhood(args: Parameters<(query: import("./graphClient").NeighborhoodInput) => Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>>[0]): Promise<GatewayDataEnvelope<import("./types").GraphNeighborhoodResponse>>;
739
+ createEdge(input: Parameters<(input: CreateEdgeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphEdge>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
740
+ neighborhood(args: Parameters<(query: NeighborhoodInput) => Promise<PlatformGatewaySuccess<GraphNeighborhoodResponse>>>[0]): Promise<GatewayDataEnvelope<GraphNeighborhoodResponse>>;
733
741
  queryLineage: (nodeId: string, depth?: number) => Promise<{
734
742
  chain: {
735
743
  nodeId: {};
@@ -756,8 +764,8 @@ export declare function createLucernClient(config?: LucernClientConfig): {
756
764
  actor: string;
757
765
  timestamp: number;
758
766
  rationale: string;
759
- before: string | number | boolean | import("./types").JsonArray | JsonObject | null;
760
- after: string | number | boolean | import("./types").JsonArray | JsonObject | null;
767
+ before: string | number | boolean | JsonObject | JsonArray | null;
768
+ after: string | number | boolean | JsonObject | JsonArray | null;
761
769
  }[];
762
770
  }>;
763
771
  traverse(args: {
@@ -857,20 +865,20 @@ export declare function createLucernClient(config?: LucernClientConfig): {
857
865
  }>;
858
866
  };
859
867
  judgments: {
860
- create(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
861
- record(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
862
- list(query: Parameters<(query: import("./decisionsClient").ListJudgmentsInput) => Promise<PlatformGatewaySuccess<import("./types").ListJudgmentsResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListJudgmentsResponse>>;
863
- get(judgmentId: string): Promise<PlatformGatewaySuccess<import("./types").GetJudgmentResponse>>;
864
- recordOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
865
- updateOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
866
- readiness(topicId: string): Promise<PlatformGatewaySuccess<import("./types").JudgmentReadinessResponse>>;
867
- calibration(topicId: string): Promise<PlatformGatewaySuccess<import("./types").JudgmentCalibrationResponse>>;
868
- pendingOutcomeReview(topicId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
868
+ create(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
869
+ record(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
870
+ list(query: Parameters<(query: ListJudgmentsInput) => Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>>[0]): Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>;
871
+ get(judgmentId: string): Promise<PlatformGatewaySuccess<GetJudgmentResponse>>;
872
+ recordOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
873
+ updateOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
874
+ readiness(topicId: string): Promise<PlatformGatewaySuccess<JudgmentReadinessResponse>>;
875
+ calibration(topicId: string): Promise<PlatformGatewaySuccess<JudgmentCalibrationResponse>>;
876
+ pendingOutcomeReview(topicId: string): Promise<PlatformGatewaySuccess<ListResult<PendingJudgmentOutcomeRecord, "reviews">>>;
869
877
  transitionAuditIntegrity(args: {
870
878
  topicId?: string;
871
879
  judgmentId?: string;
872
880
  includePassing?: boolean;
873
- }): Promise<PlatformGatewaySuccess<import("./types").JudgmentTransitionAuditIntegrityResponse>>;
881
+ }): Promise<PlatformGatewaySuccess<JudgmentTransitionAuditIntegrityResponse>>;
874
882
  };
875
883
  worktrees: {
876
884
  createBranch(input: Parameters<(input: {
@@ -878,33 +886,33 @@ export declare function createLucernClient(config?: LucernClientConfig): {
878
886
  topicId?: string;
879
887
  description?: string;
880
888
  metadata?: JsonObject;
881
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
889
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
882
890
  createLens(input: Parameters<(input: {
883
891
  name: string;
884
892
  workspaceId?: string;
885
893
  topicId?: string;
886
894
  description?: string;
887
- perspectiveType: import("./workflowClient").WorkflowLensPerspectiveType;
888
- promptTemplates?: import(".").LensPromptTemplateReference[];
889
- workflowTemplates?: import(".").LensWorkflowTemplate[];
890
- taskTemplates?: import(".").LensTaskTemplate[];
895
+ perspectiveType: WorkflowLensPerspectiveType;
896
+ promptTemplates?: LensPromptTemplateReference[];
897
+ workflowTemplates?: LensWorkflowTemplate[];
898
+ taskTemplates?: LensTaskTemplate[];
891
899
  filterCriteria?: JsonObject;
892
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>;
900
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
893
901
  listLenses(query: Parameters<(query: {
894
902
  workspaceId?: string;
895
903
  topicId?: string;
896
- status?: import("./workflowClient").WorkflowLensStatus;
897
- perspectiveType?: import("./workflowClient").WorkflowLensPerspectiveType;
898
- } & import("./types").TopicIdentifierInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowLensRecord, "lenses">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowLensRecord, "lenses">>>;
904
+ status?: WorkflowLensStatus;
905
+ perspectiveType?: WorkflowLensPerspectiveType;
906
+ } & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
899
907
  applyLensToTopic(input: Parameters<(input: {
900
908
  lensId: string;
901
909
  topicId?: string;
902
910
  metadata?: JsonObject;
903
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
911
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
904
912
  removeLensFromTopic(input: Parameters<(input: {
905
913
  lensId: string;
906
914
  topicId?: string;
907
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
915
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
908
916
  create(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
909
917
  [x: string]: unknown;
910
918
  }>>;
@@ -914,11 +922,11 @@ export declare function createLucernClient(config?: LucernClientConfig): {
914
922
  list(query: Parameters<(query: {
915
923
  topicId?: string;
916
924
  branchId?: string;
917
- status?: import("./workflowClient").WorkflowWorktreeStatus;
925
+ status?: WorkflowWorktreeStatus;
918
926
  track?: string;
919
927
  executionBand?: number;
920
928
  limit?: number;
921
- } & import("./types").TopicIdentifierInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
929
+ } & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
922
930
  [x: string]: unknown;
923
931
  } & {
924
932
  cursor?: string;
@@ -937,15 +945,15 @@ export declare function createLucernClient(config?: LucernClientConfig): {
937
945
  update(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
938
946
  [x: string]: unknown;
939
947
  }>>;
940
- updateTargets(input: Parameters<(input: import("./workflowClient").UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
948
+ updateTargets(input: Parameters<(input: UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
941
949
  [x: string]: unknown;
942
950
  }>>;
943
951
  listAll(query?: Parameters<(query?: {
944
- status?: import("./workflowClient").WorkflowWorktreeStatus;
952
+ status?: WorkflowWorktreeStatus;
945
953
  track?: string;
946
954
  executionBand?: number;
947
955
  limit?: number;
948
- }) => Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>;
956
+ }) => Promise<PlatformGatewaySuccess<ListWorktreesResponse>>>[0]): Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
949
957
  merge(worktreeId: string, input: MergeInput): Promise<PlatformGatewaySuccess<{
950
958
  [x: string]: unknown;
951
959
  }>>;
@@ -953,12 +961,12 @@ export declare function createLucernClient(config?: LucernClientConfig): {
953
961
  targetContext: string;
954
962
  beliefIds?: string[];
955
963
  metadata?: JsonObject;
956
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
964
+ }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>>[1]): Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
957
965
  openPullRequest(worktreeId: string, input: Parameters<(worktreeId: string, input: {
958
966
  summary: string;
959
967
  reviewers?: string[];
960
968
  status?: "pending_review" | "changes_requested" | "approved" | "blocked";
961
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
969
+ }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>>[1]): Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
962
970
  pipelineSnapshot(topicId: string): Promise<PlatformGatewaySuccess<unknown>>;
963
971
  complete(input: Parameters<(input: {
964
972
  worktreeId: string;
@@ -995,8 +1003,8 @@ export declare function createLucernClient(config?: LucernClientConfig): {
995
1003
  }>>;
996
1004
  };
997
1005
  context: {
998
- listTopics(query?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
999
- compile(topicId: string, input?: Parameters<(topicId: string, input?: import("./contextTypes").CompileContextInput) => Promise<PlatformGatewaySuccess<import("./contextTypes").PublicCompiledContext>>>[1]): Promise<PlatformGatewaySuccess<import("./contextTypes").PublicCompiledContext>>;
1006
+ listTopics(query?: Parameters<(query?: TopicListInput) => Promise<PlatformGatewaySuccess<TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<TopicListResponse>>;
1007
+ compile(topicId: string, input?: Parameters<(topicId: string, input?: CompileContextInput) => Promise<PlatformGatewaySuccess<PublicCompiledContext>>>[1]): Promise<PlatformGatewaySuccess<PublicCompiledContext>>;
1000
1008
  recordScopeLearning(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1001
1009
  discover(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1002
1010
  analyzeTopicDensity(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
@@ -1031,18 +1039,18 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1031
1039
  }>>;
1032
1040
  };
1033
1041
  topics: {
1034
- list(input?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
1035
- get(topicId: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
1036
- create(input: Parameters<(input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
1037
- update(topicId: string, input: Parameters<(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
1038
- tree(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicTreeQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
1042
+ list(input?: Parameters<(query?: TopicListInput) => Promise<PlatformGatewaySuccess<TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<TopicListResponse>>;
1043
+ get(topicId: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
1044
+ create(input: Parameters<(input: TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TopicRecord>>>[0]): Promise<PlatformGatewaySuccess<TopicRecord>>;
1045
+ update(topicId: string, input: Parameters<(topicId: string, input: TopicUpdateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TopicRecord>>>[1]): Promise<PlatformGatewaySuccess<TopicRecord>>;
1046
+ tree(topicId: string, query?: Parameters<(topicId: string, query?: TopicTreeQuery) => Promise<PlatformGatewaySuccess<TopicTreeResponse>>>[1]): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
1039
1047
  getTree(input: {
1040
1048
  rootId: string;
1041
1049
  maxDepth?: number;
1042
- }): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
1043
- coverage(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicCoverageQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
1050
+ }): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
1051
+ coverage(topicId: string, query?: Parameters<(topicId: string, query?: TopicCoverageQuery) => Promise<PlatformGatewaySuccess<TopicCoverageResponse>>>[1]): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
1044
1052
  remove(topicId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1045
- bulkCreate(input: Parameters<(input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1053
+ bulkCreate(input: Parameters<(input: TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1046
1054
  };
1047
1055
  answers: {
1048
1056
  create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
@@ -1108,9 +1116,9 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1108
1116
  get(ontologyId: string): Promise<GatewayDataEnvelope<{
1109
1117
  [x: string]: unknown;
1110
1118
  }>>;
1111
- bind(input: Parameters<(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1119
+ bind(input: Parameters<(input: OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1112
1120
  [x: string]: unknown;
1113
- }>>>[0], idempotencyKey?: Parameters<(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1121
+ }>>>[0], idempotencyKey?: Parameters<(input: OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1114
1122
  [x: string]: unknown;
1115
1123
  }>>>[1]): Promise<GatewayDataEnvelope<{
1116
1124
  [x: string]: unknown;
@@ -1134,7 +1142,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1134
1142
  deprecateVersion(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1135
1143
  resolveEffective(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1136
1144
  raw: {
1137
- list(filters?: import("./coreClient").GatewayScope & {
1145
+ list(filters?: GatewayScope & {
1138
1146
  tenantId?: string;
1139
1147
  tier?: string;
1140
1148
  status?: string;
@@ -1145,8 +1153,8 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1145
1153
  definitions: any[];
1146
1154
  }>>;
1147
1155
  get(id: string): Promise<PlatformGatewaySuccess<unknown>>;
1148
- bind(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1149
- listDefinitions(filters?: import("./coreClient").GatewayScope & {
1156
+ bind(input: OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1157
+ listDefinitions(filters?: GatewayScope & {
1150
1158
  tenantId?: string;
1151
1159
  tier?: string;
1152
1160
  status?: string;
@@ -1157,17 +1165,17 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1157
1165
  definitions: any[];
1158
1166
  }>>;
1159
1167
  getDefinition(id: string): Promise<PlatformGatewaySuccess<unknown>>;
1160
- createDefinition(input: import("./ontologyClient").OntologyDefinitionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1161
- updateDefinition(id: string, input: import("./ontologyClient").OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1168
+ createDefinition(input: OntologyDefinitionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1169
+ updateDefinition(id: string, input: OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1162
1170
  archiveDefinition(id: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1163
- listVersions(ontologyId: string, filters?: import("./coreClient").GatewayScope & {
1171
+ listVersions(ontologyId: string, filters?: GatewayScope & {
1164
1172
  status?: string;
1165
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "versions">>>;
1166
- createVersion(ontologyId: string, input: import("./ontologyClient").OntologyVersionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1173
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "versions">>>;
1174
+ createVersion(ontologyId: string, input: OntologyVersionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1167
1175
  publishVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1168
1176
  deprecateVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1169
- listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
1170
- listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
1177
+ listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
1178
+ listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
1171
1179
  };
1172
1180
  };
1173
1181
  coordination: {
@@ -1181,16 +1189,16 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1181
1189
  claimFiles(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1182
1190
  };
1183
1191
  policy: {
1184
- checkPermission(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
1185
- listAccessibleTopics(input?: Parameters<(query?: import("./coreClient").GatewayScope & {
1186
- permission?: import("./policyClient").PermissionKind;
1192
+ checkPermission(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<PermissionDecision>>;
1193
+ listAccessibleTopics(input?: Parameters<(query?: GatewayScope & {
1194
+ permission?: PermissionKind;
1187
1195
  includeShared?: boolean;
1188
1196
  principal?: string;
1189
1197
  principalId?: string;
1190
1198
  limit?: number;
1191
1199
  }) => Promise<{
1192
1200
  data: {
1193
- permission: import("./policyClient").PermissionKind;
1201
+ permission: PermissionKind;
1194
1202
  topics: {
1195
1203
  [key: string]: unknown;
1196
1204
  topicId?: string;
@@ -1210,7 +1218,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1210
1218
  idempotentReplay: boolean;
1211
1219
  }>>[0]): Promise<{
1212
1220
  data: {
1213
- permission: import("./policyClient").PermissionKind;
1221
+ permission: PermissionKind;
1214
1222
  topics: {
1215
1223
  [key: string]: unknown;
1216
1224
  topicId?: string;
@@ -1232,7 +1240,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1232
1240
  filterByPermission(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<{
1233
1241
  success: boolean;
1234
1242
  data: {
1235
- permission: import("./policyClient").PermissionKind;
1243
+ permission: PermissionKind;
1236
1244
  allowedTopicIds: string[];
1237
1245
  deniedTopics: {
1238
1246
  topicId: string;
@@ -1243,124 +1251,124 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1243
1251
  }>;
1244
1252
  manageWritePolicy(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1245
1253
  raw: {
1246
- listDecisions(query?: import("./coreClient").GatewayScope & {
1254
+ listDecisions(query?: GatewayScope & {
1247
1255
  action?: string;
1248
1256
  decision?: string;
1249
1257
  traceId?: string;
1250
1258
  principalId?: string;
1251
1259
  topicId?: string;
1252
1260
  limit?: number;
1253
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "decisions">>>;
1254
- grant(input: import("./coreClient").GatewayScope & {
1261
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "decisions">>>;
1262
+ grant(input: GatewayScope & {
1255
1263
  topicId: string;
1256
- permission: import("./policyClient").PermissionKind;
1264
+ permission: PermissionKind;
1257
1265
  principal?: string;
1258
1266
  principalId?: string;
1259
1267
  groupId?: string;
1260
1268
  beliefClusterId?: string;
1261
1269
  expiresAt?: number;
1262
1270
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1263
- revoke(input: import("./coreClient").GatewayScope & {
1271
+ revoke(input: GatewayScope & {
1264
1272
  topicId: string;
1265
1273
  principal?: string;
1266
1274
  principalId?: string;
1267
1275
  groupId?: string;
1268
1276
  beliefClusterId?: string;
1269
1277
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1270
- listWritePolicies(query?: import("./coreClient").GatewayScope & {
1278
+ listWritePolicies(query?: GatewayScope & {
1271
1279
  topicId?: string;
1272
1280
  role?: string;
1273
1281
  toolCategory?: string;
1274
1282
  enabled?: boolean;
1275
1283
  }): Promise<{
1276
1284
  data: {
1277
- policies: import("./policyClient").WritePolicyRecord[];
1285
+ policies: WritePolicyRecord[];
1278
1286
  };
1279
1287
  success: true;
1280
1288
  correlationId: string;
1281
1289
  policyTraceId: string | null;
1282
1290
  idempotentReplay: boolean;
1283
1291
  }>;
1284
- createWritePolicy(input: import("./policyClient").WritePolicyCreateInput, idempotencyKey?: string): Promise<{
1292
+ createWritePolicy(input: WritePolicyCreateInput, idempotencyKey?: string): Promise<{
1285
1293
  data: {
1286
1294
  id: string | undefined;
1287
1295
  created: boolean;
1288
- policy: import("./policyClient").WritePolicyRecord | null;
1296
+ policy: WritePolicyRecord | null;
1289
1297
  };
1290
1298
  success: true;
1291
1299
  correlationId: string;
1292
1300
  policyTraceId: string | null;
1293
1301
  idempotentReplay: boolean;
1294
1302
  }>;
1295
- updateWritePolicy(id: string, input: import("./policyClient").WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
1303
+ updateWritePolicy(id: string, input: WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
1296
1304
  data: {
1297
1305
  id: string | undefined;
1298
1306
  updated: boolean;
1299
- policy: import("./policyClient").WritePolicyRecord | null;
1307
+ policy: WritePolicyRecord | null;
1300
1308
  };
1301
1309
  success: true;
1302
1310
  correlationId: string;
1303
1311
  policyTraceId: string | null;
1304
1312
  idempotentReplay: boolean;
1305
1313
  }>;
1306
- deleteWritePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
1314
+ deleteWritePolicy(id: string, scope?: GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
1307
1315
  id?: string;
1308
1316
  deleted?: boolean;
1309
1317
  }>>;
1310
- listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
1318
+ listRolePolicies(query?: GatewayScope): Promise<{
1311
1319
  data: {
1312
- policies: import("./policyClient").TenantPolicyRecord[];
1320
+ policies: TenantPolicyRecord[];
1313
1321
  };
1314
1322
  success: true;
1315
1323
  correlationId: string;
1316
1324
  policyTraceId: string | null;
1317
1325
  idempotentReplay: boolean;
1318
1326
  }>;
1319
- createRolePolicy(input: import("./coreClient").GatewayScope & {
1327
+ createRolePolicy(input: GatewayScope & {
1320
1328
  roleName: string;
1321
1329
  description?: string;
1322
- permissions: import("./policyClient").TenantPolicyPermission[];
1330
+ permissions: TenantPolicyPermission[];
1323
1331
  groupBindings?: string[];
1324
1332
  }, idempotencyKey?: string): Promise<{
1325
1333
  data: {
1326
- policy: import("./policyClient").TenantPolicyRecord | null;
1334
+ policy: TenantPolicyRecord | null;
1327
1335
  };
1328
1336
  success: true;
1329
1337
  correlationId: string;
1330
1338
  policyTraceId: string | null;
1331
1339
  idempotentReplay: boolean;
1332
1340
  }>;
1333
- updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & {
1341
+ updateRolePolicy(id: string, input: GatewayScope & {
1334
1342
  roleName: string;
1335
1343
  description?: string;
1336
- permissions: import("./policyClient").TenantPolicyPermission[];
1344
+ permissions: TenantPolicyPermission[];
1337
1345
  groupBindings?: string[];
1338
1346
  }, idempotencyKey?: string): Promise<{
1339
1347
  data: {
1340
- policy: import("./policyClient").TenantPolicyRecord | null;
1348
+ policy: TenantPolicyRecord | null;
1341
1349
  };
1342
1350
  success: true;
1343
1351
  correlationId: string;
1344
1352
  policyTraceId: string | null;
1345
1353
  idempotentReplay: boolean;
1346
1354
  }>;
1347
- deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1348
- checkPermission(query: import("./coreClient").GatewayScope & {
1355
+ deleteRolePolicy(id: string, scope?: GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1356
+ checkPermission(query: GatewayScope & {
1349
1357
  topicId?: string;
1350
- permission?: import("./policyClient").PermissionKind;
1358
+ permission?: PermissionKind;
1351
1359
  principal?: string;
1352
1360
  principalId?: string;
1353
1361
  beliefClusterId?: string;
1354
- }): Promise<PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
1355
- listAccessibleTopics(query?: import("./coreClient").GatewayScope & {
1356
- permission?: import("./policyClient").PermissionKind;
1362
+ }): Promise<PlatformGatewaySuccess<PermissionDecision>>;
1363
+ listAccessibleTopics(query?: GatewayScope & {
1364
+ permission?: PermissionKind;
1357
1365
  includeShared?: boolean;
1358
1366
  principal?: string;
1359
1367
  principalId?: string;
1360
1368
  limit?: number;
1361
1369
  }): Promise<{
1362
1370
  data: {
1363
- permission: import("./policyClient").PermissionKind;
1371
+ permission: PermissionKind;
1364
1372
  topics: {
1365
1373
  [key: string]: unknown;
1366
1374
  topicId?: string;
@@ -1379,15 +1387,15 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1379
1387
  policyTraceId: string | null;
1380
1388
  idempotentReplay: boolean;
1381
1389
  }>;
1382
- filterByPermission(input: import("./coreClient").GatewayScope & {
1390
+ filterByPermission(input: GatewayScope & {
1383
1391
  topicIds?: string[];
1384
- permission?: import("./policyClient").PermissionKind;
1392
+ permission?: PermissionKind;
1385
1393
  principal?: string;
1386
1394
  principalId?: string;
1387
1395
  }): Promise<{
1388
1396
  success: boolean;
1389
1397
  data: {
1390
- permission: import("./policyClient").PermissionKind;
1398
+ permission: PermissionKind;
1391
1399
  allowedTopicIds: string[];
1392
1400
  deniedTopics: {
1393
1401
  topicId: string;
@@ -1457,9 +1465,9 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1457
1465
  }>;
1458
1466
  };
1459
1467
  tools: {
1460
- register(registration: CustomToolRegistration): import("./customTools").RegisteredCustomTool;
1468
+ register(registration: CustomToolRegistration): RegisteredCustomTool;
1461
1469
  unregister(fullName: string): boolean;
1462
- list(): import("./customTools").RegisteredCustomTool[];
1470
+ list(): RegisteredCustomTool[];
1463
1471
  clear(): void;
1464
1472
  invoke(name: string, input?: CustomToolInput): Promise<unknown>;
1465
1473
  namespace(namespace: string): CustomToolNamespace;
@@ -1475,23 +1483,23 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1475
1483
  * Check if the configured pack has been installed in this session.
1476
1484
  */
1477
1485
  readonly isInstalled: boolean;
1478
- listCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
1479
- catalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
1480
- listStates(scope?: Parameters<(query?: import("./coreClient").GatewayScope) => Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
1481
- states(scope?: Parameters<(query?: import("./coreClient").GatewayScope) => Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
1482
- install(input: Parameters<(input: import("./packsClient").PackInstallInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1483
- enable(input: Parameters<(input: import("./packsClient").PackEnableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1484
- disable(input: Parameters<(input: import("./packsClient").PackDisableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1486
+ listCatalog(): Promise<PlatformGatewaySuccess<ListResult<any, "catalog">>>;
1487
+ catalog(): Promise<PlatformGatewaySuccess<ListResult<any, "catalog">>>;
1488
+ listStates(scope?: Parameters<(query?: GatewayScope) => Promise<PlatformGatewaySuccess<ListResult<any, "states">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<any, "states">>>;
1489
+ states(scope?: Parameters<(query?: GatewayScope) => Promise<PlatformGatewaySuccess<ListResult<any, "states">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<any, "states">>>;
1490
+ install(input: Parameters<(input: PackInstallInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1491
+ enable(input: Parameters<(input: PackEnableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1492
+ disable(input: Parameters<(input: PackDisableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1485
1493
  };
1486
1494
  nodes: {
1487
- list(query: Parameters<(query: import("./graphClient").ListNodesInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
1488
- get(input: string | Parameters<(query: import("./graphClient").GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1489
- create(input: Parameters<(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1490
- update(input: Parameters<(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1491
- batchCreate(input: Parameters<(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1492
- supersede(input: Parameters<(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1493
- verify(input: Parameters<(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1494
- hardDelete(input: Parameters<(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1495
+ list(query: Parameters<(query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
1496
+ get(input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1497
+ create(input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1498
+ update(input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1499
+ batchCreate(input: Parameters<(input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1500
+ supersede(input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1501
+ verify(input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1502
+ hardDelete(input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1495
1503
  };
1496
1504
  identity: {
1497
1505
  whoami(): Promise<PlatformGatewaySuccess<{
@@ -1528,173 +1536,173 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1528
1536
  extensions: Record<string, CustomToolNamespace>;
1529
1537
  raw: {
1530
1538
  beliefs: {
1531
- createBelief(input: import("./beliefsClient").CreateBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").PlatformBeliefRecord>>;
1532
- modulateConfidence(beliefId: string, input: import("./beliefsClient").ModulateConfidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").ModulateConfidenceResponse>>;
1533
- forkBelief(beliefId: string, input: import("./beliefsClient").ForkBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").ForkBeliefResponse>>;
1534
- updateBeliefStatus(input: import("./beliefsClient").UpdateBeliefStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1535
- updateBeliefRationale(input: import("./beliefsClient").UpdateBeliefRationaleInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1536
- linkBeliefs(input: import("./beliefsClient").LinkBeliefsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1537
- unlinkBeliefEvidence(input: import("./beliefsClient").UnlinkBeliefEvidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1538
- updateBeliefCriticality(input: import("./beliefsClient").UpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1539
- batchUpdateBeliefCriticality(input: import("./beliefsClient").BatchUpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1540
- reassignBeliefsTopic(input: import("./beliefsClient").ReassignBeliefsTopicInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1539
+ createBelief(input: CreateBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformBeliefRecord>>;
1540
+ modulateConfidence(beliefId: string, input: ModulateConfidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ModulateConfidenceResponse>>;
1541
+ forkBelief(beliefId: string, input: ForkBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ForkBeliefResponse>>;
1542
+ updateBeliefStatus(input: UpdateBeliefStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1543
+ updateBeliefRationale(input: UpdateBeliefRationaleInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1544
+ linkBeliefs(input: LinkBeliefsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1545
+ unlinkBeliefEvidence(input: UnlinkBeliefEvidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1546
+ updateBeliefCriticality(input: UpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1547
+ batchUpdateBeliefCriticality(input: BatchUpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1548
+ reassignBeliefsTopic(input: ReassignBeliefsTopicInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1541
1549
  };
1542
1550
  graph: {
1543
- listNodes(query: import("./graphClient").ListNodesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
1544
- queryNodes(query: import("./graphClient").QueryNodesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
1545
- getNode(query: import("./graphClient").GetNodeInput): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1546
- createNode(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1547
- updateNode(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1548
- batchCreateNodes(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1549
- supersedeNode(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1550
- verifyNode(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1551
- hardDeleteNode(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1552
- listEdges(query: import("./graphClient").ListEdgesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphEdge, "edges">>>;
1553
- queryEdges(query: import("./graphClient").QueryEdgesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphEdge, "edges">>>;
1554
- createEdge(input: import("./graphClient").CreateEdgeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
1555
- deleteEdge(query: import("./graphClient").DeleteEdgeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").DeleteEdgeResponse>>;
1556
- neighborhood(query: import("./graphClient").NeighborhoodInput): Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>;
1557
- traverse(query: import("./graphClient").TraverseInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1558
- analyze(query?: import("./graphClient").AnalyzeInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1559
- bias(query?: import("./graphClient").BiasInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1560
- gaps(query: import("./graphClient").GapsInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1561
- search(query: import("./graphClient").SearchInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1562
- getNeighborhood(query: import("./graphClient").NeighborhoodInput): Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>;
1563
- getPath(query: import("./graphClient").PathInput): Promise<PlatformGatewaySuccess<import("./types").GraphPathResponse>>;
1564
- getAnalytics(query?: import("./graphClient").AnalyticsInput): Promise<PlatformGatewaySuccess<import("./types").GraphAnalyticsResponse>>;
1551
+ listNodes(query: ListNodesInput): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
1552
+ queryNodes(query: QueryNodesInput): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
1553
+ getNode(query: GetNodeInput): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1554
+ createNode(input: CreateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1555
+ updateNode(input: UpdateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1556
+ batchCreateNodes(input: BatchCreateNodesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1557
+ supersedeNode(input: SupersedeNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1558
+ verifyNode(input: VerifyNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1559
+ hardDeleteNode(input: HardDeleteNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1560
+ listEdges(query: ListEdgesInput): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphEdge, "edges">>>;
1561
+ queryEdges(query: QueryEdgesInput): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphEdge, "edges">>>;
1562
+ createEdge(input: CreateEdgeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
1563
+ deleteEdge(query: DeleteEdgeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<DeleteEdgeResponse>>;
1564
+ neighborhood(query: NeighborhoodInput): Promise<PlatformGatewaySuccess<GraphNeighborhoodResponse>>;
1565
+ traverse(query: TraverseInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1566
+ analyze(query?: AnalyzeInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1567
+ bias(query?: BiasInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1568
+ gaps(query: GapsInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1569
+ search(query: SearchInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1570
+ getNeighborhood(query: NeighborhoodInput): Promise<PlatformGatewaySuccess<GraphNeighborhoodResponse>>;
1571
+ getPath(query: PathInput): Promise<PlatformGatewaySuccess<GraphPathResponse>>;
1572
+ getAnalytics(query?: AnalyticsInput): Promise<PlatformGatewaySuccess<GraphAnalyticsResponse>>;
1565
1573
  };
1566
1574
  decisions: {
1567
- listJudgments(query: import("./decisionsClient").ListJudgmentsInput): Promise<PlatformGatewaySuccess<import("./types").ListJudgmentsResponse>>;
1568
- getJudgment(judgmentId: string): Promise<PlatformGatewaySuccess<import("./types").GetJudgmentResponse>>;
1575
+ listJudgments(query: ListJudgmentsInput): Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>;
1576
+ getJudgment(judgmentId: string): Promise<PlatformGatewaySuccess<GetJudgmentResponse>>;
1569
1577
  getJudgmentReadiness(query: {
1570
1578
  topicId?: string;
1571
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").JudgmentReadinessResponse>>;
1572
- getJudgmentCalibration(query: import("./decisionsClient").GetJudgmentCalibrationInput): Promise<PlatformGatewaySuccess<import("./types").JudgmentCalibrationResponse>>;
1573
- listPendingOutcomeReviews(query: import("./decisionsClient").ListPendingJudgmentOutcomeReviewInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
1574
- listPendingJudgmentOutcomeReview(query: import("./decisionsClient").ListPendingJudgmentOutcomeReviewInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
1575
- getJudgmentTransitionAuditIntegrity(query: import("./decisionsClient").GetJudgmentTransitionAuditIntegrityInput): Promise<PlatformGatewaySuccess<import("./types").JudgmentTransitionAuditIntegrityResponse>>;
1576
- createJudgment(input: RecordJudgmentInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
1577
- recordJudgment(input: RecordJudgmentInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
1578
- updateJudgmentOutcome(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
1579
- recordJudgmentOutcome(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
1579
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<JudgmentReadinessResponse>>;
1580
+ getJudgmentCalibration(query: GetJudgmentCalibrationInput): Promise<PlatformGatewaySuccess<JudgmentCalibrationResponse>>;
1581
+ listPendingOutcomeReviews(query: ListPendingJudgmentOutcomeReviewInput): Promise<PlatformGatewaySuccess<ListResult<PendingJudgmentOutcomeRecord, "reviews">>>;
1582
+ listPendingJudgmentOutcomeReview(query: ListPendingJudgmentOutcomeReviewInput): Promise<PlatformGatewaySuccess<ListResult<PendingJudgmentOutcomeRecord, "reviews">>>;
1583
+ getJudgmentTransitionAuditIntegrity(query: GetJudgmentTransitionAuditIntegrityInput): Promise<PlatformGatewaySuccess<JudgmentTransitionAuditIntegrityResponse>>;
1584
+ createJudgment(input: RecordJudgmentInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
1585
+ recordJudgment(input: RecordJudgmentInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
1586
+ updateJudgmentOutcome(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
1587
+ recordJudgmentOutcome(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
1580
1588
  };
1581
1589
  workflow: {
1582
1590
  listBranches(query: {
1583
1591
  topicId?: string;
1584
- status?: import("./workflowClient").WorkflowBranchStatus;
1592
+ status?: WorkflowBranchStatus;
1585
1593
  limit?: number;
1586
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowBranchRecord, "branches">>>;
1594
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<WorkflowBranchRecord, "branches">>>;
1587
1595
  createBranch(input: {
1588
1596
  name: string;
1589
1597
  topicId?: string;
1590
1598
  description?: string;
1591
1599
  metadata?: JsonObject;
1592
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
1600
+ } & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
1593
1601
  listLenses(query: {
1594
1602
  workspaceId?: string;
1595
1603
  topicId?: string;
1596
- status?: import("./workflowClient").WorkflowLensStatus;
1597
- perspectiveType?: import("./workflowClient").WorkflowLensPerspectiveType;
1598
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowLensRecord, "lenses">>>;
1604
+ status?: WorkflowLensStatus;
1605
+ perspectiveType?: WorkflowLensPerspectiveType;
1606
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
1599
1607
  createLens(input: {
1600
1608
  name: string;
1601
1609
  workspaceId?: string;
1602
1610
  topicId?: string;
1603
1611
  description?: string;
1604
- perspectiveType: import("./workflowClient").WorkflowLensPerspectiveType;
1605
- promptTemplates?: import(".").LensPromptTemplateReference[];
1606
- workflowTemplates?: import(".").LensWorkflowTemplate[];
1607
- taskTemplates?: import(".").LensTaskTemplate[];
1612
+ perspectiveType: WorkflowLensPerspectiveType;
1613
+ promptTemplates?: LensPromptTemplateReference[];
1614
+ workflowTemplates?: LensWorkflowTemplate[];
1615
+ taskTemplates?: LensTaskTemplate[];
1608
1616
  filterCriteria?: JsonObject;
1609
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>;
1617
+ } & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
1610
1618
  applyLensToTopic(input: {
1611
1619
  lensId: string;
1612
1620
  topicId?: string;
1613
1621
  metadata?: JsonObject;
1614
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
1622
+ } & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
1615
1623
  removeLensFromTopic(input: {
1616
1624
  lensId: string;
1617
1625
  topicId?: string;
1618
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
1626
+ } & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
1619
1627
  listWorktrees(query: {
1620
1628
  topicId?: string;
1621
1629
  branchId?: string;
1622
- status?: import("./workflowClient").WorkflowWorktreeStatus;
1630
+ status?: WorkflowWorktreeStatus;
1623
1631
  track?: string;
1624
1632
  executionBand?: number;
1625
1633
  limit?: number;
1626
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowWorktreeRecord, "worktrees">>>;
1634
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>;
1627
1635
  listAllWorktrees(query?: {
1628
- status?: import("./workflowClient").WorkflowWorktreeStatus;
1636
+ status?: WorkflowWorktreeStatus;
1629
1637
  track?: string;
1630
1638
  executionBand?: number;
1631
1639
  limit?: number;
1632
- }): Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>;
1633
- createWorktree(input: AddWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1634
- addWorktree(input: AddWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1635
- merge(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").MergeWorktreeResponse>>;
1636
- activateWorktree(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1637
- updateWorktreeTargets(input: import("./workflowClient").UpdateWorktreeTargetsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1638
- completeWorktree(input: import("./workflowClient").CompleteWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1639
- advanceWorktreePhase(input: import("./workflowClient").AdvanceWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1640
- setWorktreePhase(input: import("./workflowClient").SetWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1641
- patchWorktreeState(input: import("./workflowClient").PatchWorktreeStateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1642
- bulkCreateWorktrees(input: import("./workflowClient").BulkCreateWorktreesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1640
+ }): Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
1641
+ createWorktree(input: AddWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
1642
+ addWorktree(input: AddWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
1643
+ merge(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<MergeWorktreeResponse>>;
1644
+ activateWorktree(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
1645
+ updateWorktreeTargets(input: UpdateWorktreeTargetsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
1646
+ completeWorktree(input: CompleteWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1647
+ advanceWorktreePhase(input: AdvanceWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1648
+ setWorktreePhase(input: SetWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1649
+ patchWorktreeState(input: PatchWorktreeStateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1650
+ bulkCreateWorktrees(input: BulkCreateWorktreesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1643
1651
  openPullRequest(worktreeId: string, input: {
1644
1652
  summary: string;
1645
1653
  reviewers?: string[];
1646
1654
  status?: "pending_review" | "changes_requested" | "approved" | "blocked";
1647
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
1655
+ }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
1648
1656
  push(worktreeId: string, input: {
1649
1657
  targetContext: string;
1650
1658
  beliefIds?: string[];
1651
1659
  metadata?: JsonObject;
1652
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
1653
- listTopics(query?: import("./workflowClient").ListTopicsInput): Promise<PlatformGatewaySuccess<import("./types").ListTopicsResponse>>;
1654
- switchTopicContext(input: import("./workflowClient").SwitchTopicContextInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").SwitchTopicContextResponse>>;
1655
- createTask(input: CreateTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").CreateTaskResponse>>;
1656
- completeTask(taskId: string, input: CompleteTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").CompleteTaskResponse>>;
1657
- updateTask(taskId: string, input: UpdateTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").UpdateTaskResponse>>;
1660
+ }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
1661
+ listTopics(query?: ListTopicsInput): Promise<PlatformGatewaySuccess<ListTopicsResponse>>;
1662
+ switchTopicContext(input: SwitchTopicContextInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<SwitchTopicContextResponse>>;
1663
+ createTask(input: CreateTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<CreateTaskResponse>>;
1664
+ completeTask(taskId: string, input: CompleteTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<CompleteTaskResponse>>;
1665
+ updateTask(taskId: string, input: UpdateTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<UpdateTaskResponse>>;
1658
1666
  createPillar(input: {
1659
1667
  name: string;
1660
1668
  topicId?: string;
1661
1669
  description?: string;
1662
1670
  metadata?: JsonObject;
1663
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
1671
+ } & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
1664
1672
  createSprint(input: {
1665
1673
  title: string;
1666
1674
  topicId?: string;
1667
1675
  branchId?: string;
1668
1676
  hypothesis?: string;
1669
1677
  beliefIds?: string[];
1670
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1671
- completeSprint(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").MergeWorktreeResponse>>;
1678
+ } & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
1679
+ completeSprint(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<MergeWorktreeResponse>>;
1672
1680
  requestReview(worktreeId: string, input: {
1673
1681
  summary: string;
1674
1682
  reviewers?: string[];
1675
1683
  status?: "pending_review" | "changes_requested" | "approved" | "blocked";
1676
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
1684
+ }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
1677
1685
  publishFindings(worktreeId: string, input: {
1678
1686
  targetContext: string;
1679
1687
  beliefIds?: string[];
1680
1688
  metadata?: JsonObject;
1681
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
1689
+ }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
1682
1690
  };
1683
1691
  audit: {
1684
- listEvents(query?: import("./coreClient").GatewayScope & {
1692
+ listEvents(query?: GatewayScope & {
1685
1693
  action?: string;
1686
1694
  decision?: string;
1687
1695
  traceId?: string;
1688
1696
  principalId?: string;
1689
1697
  topicId?: string;
1690
1698
  limit?: number;
1691
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "events">>>;
1699
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<any, "events">>>;
1692
1700
  };
1693
1701
  admin: {
1694
1702
  listTenants(query?: {
1695
1703
  status?: "active" | "disabled" | "archived";
1696
1704
  limit?: number;
1697
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "tenants">>>;
1705
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "tenants">>>;
1698
1706
  createTenant(input: {
1699
1707
  key: string;
1700
1708
  slug?: string;
@@ -1702,13 +1710,13 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1702
1710
  status?: "active" | "disabled" | "archived";
1703
1711
  metadata?: JsonObject;
1704
1712
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1705
- getControlObjectOwnership(): Promise<PlatformGatewaySuccess<import("./controlObjectOwnership").ControlObjectOwnershipContract>>;
1706
- getControlObjectOwnershipContract(): Promise<PlatformGatewaySuccess<import("./controlObjectOwnership").ControlObjectOwnershipContract>>;
1707
- listWorkspaces(query?: import("./coreClient").GatewayScope & {
1713
+ getControlObjectOwnership(): Promise<PlatformGatewaySuccess<ControlObjectOwnershipContract>>;
1714
+ getControlObjectOwnershipContract(): Promise<PlatformGatewaySuccess<ControlObjectOwnershipContract>>;
1715
+ listWorkspaces(query?: GatewayScope & {
1708
1716
  status?: "active" | "archived";
1709
1717
  limit?: number;
1710
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "workspaces">>>;
1711
- createWorkspace(input: import("./coreClient").GatewayScope & {
1718
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "workspaces">>>;
1719
+ createWorkspace(input: GatewayScope & {
1712
1720
  workspaceId?: string;
1713
1721
  key?: string;
1714
1722
  slug?: string;
@@ -1718,50 +1726,50 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1718
1726
  restore?: boolean;
1719
1727
  metadata?: JsonObject;
1720
1728
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1721
- listMemberships(query?: import("./coreClient").GatewayScope & {
1729
+ listMemberships(query?: GatewayScope & {
1722
1730
  principalId?: string;
1723
1731
  status?: "active" | "revoked" | "expired";
1724
1732
  limit?: number;
1725
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "memberships">>>;
1726
- createMembership(input: import("./coreClient").GatewayScope & {
1733
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "memberships">>>;
1734
+ createMembership(input: GatewayScope & {
1727
1735
  membershipId?: string;
1728
1736
  principalId: string;
1729
1737
  role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
1730
1738
  status?: "active" | "revoked" | "expired";
1731
1739
  source?: "bootstrap" | "manual" | "sync" | "invitation";
1732
1740
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1733
- updateMembership(input: import("./coreClient").GatewayScope & {
1741
+ updateMembership(input: GatewayScope & {
1734
1742
  membershipId?: string;
1735
1743
  principalId: string;
1736
1744
  role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
1737
1745
  status?: "active" | "revoked" | "expired";
1738
1746
  source?: "bootstrap" | "manual" | "sync" | "invitation";
1739
1747
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1740
- upsertMembership(input: import("./coreClient").GatewayScope & {
1748
+ upsertMembership(input: GatewayScope & {
1741
1749
  membershipId?: string;
1742
1750
  principalId: string;
1743
1751
  role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
1744
1752
  status?: "active" | "revoked" | "expired";
1745
1753
  source?: "bootstrap" | "manual" | "sync" | "invitation";
1746
1754
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1747
- listTenantApiKeys(scope: import("./coreClient").GatewayScope & {
1755
+ listTenantApiKeys(scope: GatewayScope & {
1748
1756
  status?: "active" | "revoked" | "expired";
1749
1757
  }): Promise<{
1750
1758
  data: {
1751
- keys: import("./adminClient").TenantApiKeyRecord[];
1759
+ keys: TenantApiKeyRecord[];
1752
1760
  };
1753
1761
  success: true;
1754
1762
  correlationId: string;
1755
1763
  policyTraceId: string | null;
1756
1764
  idempotentReplay: boolean;
1757
1765
  }>;
1758
- createTenantApiKey(input: import("./coreClient").GatewayScope & {
1766
+ createTenantApiKey(input: GatewayScope & {
1759
1767
  label?: string;
1760
1768
  scopes: string[];
1761
1769
  expiresAt?: number;
1762
1770
  }, idempotencyKey?: string): Promise<{
1763
1771
  data: {
1764
- key: import("./adminClient").TenantApiKeyRecord | null;
1772
+ key: TenantApiKeyRecord | null;
1765
1773
  plaintextKey: string | undefined;
1766
1774
  };
1767
1775
  success: true;
@@ -1769,50 +1777,50 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1769
1777
  policyTraceId: string | null;
1770
1778
  idempotentReplay: boolean;
1771
1779
  }>;
1772
- revokeTenantApiKey(keyId: string, input?: import("./coreClient").GatewayScope & {
1780
+ revokeTenantApiKey(keyId: string, input?: GatewayScope & {
1773
1781
  reason?: string;
1774
1782
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1775
- listTenantVaultSecrets(scope: import("./coreClient").GatewayScope): Promise<{
1783
+ listTenantVaultSecrets(scope: GatewayScope): Promise<{
1776
1784
  data: {
1777
- secrets: import("./adminClient").TenantVaultSecretRecord[];
1785
+ secrets: TenantVaultSecretRecord[];
1778
1786
  };
1779
1787
  success: true;
1780
1788
  correlationId: string;
1781
1789
  policyTraceId: string | null;
1782
1790
  idempotentReplay: boolean;
1783
1791
  }>;
1784
- createTenantVaultSecret(input: import("./coreClient").GatewayScope & {
1792
+ createTenantVaultSecret(input: GatewayScope & {
1785
1793
  name: string;
1786
1794
  description?: string;
1787
1795
  value: string;
1788
1796
  }, idempotencyKey?: string): Promise<{
1789
1797
  data: {
1790
- secret: import("./adminClient").TenantVaultSecretRecord | null;
1798
+ secret: TenantVaultSecretRecord | null;
1791
1799
  };
1792
1800
  success: true;
1793
1801
  correlationId: string;
1794
1802
  policyTraceId: string | null;
1795
1803
  idempotentReplay: boolean;
1796
1804
  }>;
1797
- updateTenantVaultSecret(secretId: string, input: import("./coreClient").GatewayScope & {
1805
+ updateTenantVaultSecret(secretId: string, input: GatewayScope & {
1798
1806
  name: string;
1799
1807
  description?: string;
1800
1808
  value?: string;
1801
1809
  }, idempotencyKey?: string): Promise<{
1802
1810
  data: {
1803
- secret: import("./adminClient").TenantVaultSecretRecord | null;
1811
+ secret: TenantVaultSecretRecord | null;
1804
1812
  };
1805
1813
  success: true;
1806
1814
  correlationId: string;
1807
1815
  policyTraceId: string | null;
1808
1816
  idempotentReplay: boolean;
1809
1817
  }>;
1810
- deleteTenantVaultSecret(secretId: string, scope: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1811
- listTenantSecrets(scope: import("./coreClient").GatewayScope & {
1818
+ deleteTenantVaultSecret(secretId: string, scope: GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1819
+ listTenantSecrets(scope: GatewayScope & {
1812
1820
  providerId?: string;
1813
1821
  status?: "active" | "revoked";
1814
1822
  }): Promise<PlatformGatewaySuccess<unknown>>;
1815
- upsertTenantSecret(input: import("./coreClient").GatewayScope & {
1823
+ upsertTenantSecret(input: GatewayScope & {
1816
1824
  providerId: string;
1817
1825
  apiKey: string;
1818
1826
  label?: string;
@@ -1820,53 +1828,53 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1820
1828
  passThroughOnly?: boolean;
1821
1829
  metadata?: JsonObject;
1822
1830
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1823
- revokeTenantSecret(secretRef: string, input: import("./coreClient").GatewayScope & {
1831
+ revokeTenantSecret(secretRef: string, input: GatewayScope & {
1824
1832
  reason?: string;
1825
1833
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1826
- getTenantConfig(scope: import("./coreClient").GatewayScope & {
1834
+ getTenantConfig(scope: GatewayScope & {
1827
1835
  tenantId: string;
1828
- }): Promise<PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
1829
- getTenantModelRouting(scope: import("./coreClient").GatewayScope & {
1836
+ }): Promise<PlatformGatewaySuccess<TenantConfigRecord>>;
1837
+ getTenantModelRouting(scope: GatewayScope & {
1830
1838
  tenantId: string;
1831
- }): Promise<PlatformGatewaySuccess<import("./adminClient").TenantModelRoutingSnapshot>>;
1832
- upsertTenantConfig(input: import("./coreClient").GatewayScope & Omit<import("./adminClient").TenantConfigRecord, "updatedAt" | "updatedBy">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
1833
- listGroups(scope?: import("./coreClient").GatewayScope & {
1839
+ }): Promise<PlatformGatewaySuccess<TenantModelRoutingSnapshot>>;
1840
+ upsertTenantConfig(input: GatewayScope & Omit<TenantConfigRecord, "updatedAt" | "updatedBy">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TenantConfigRecord>>;
1841
+ listGroups(scope?: GatewayScope & {
1834
1842
  limit?: number;
1835
1843
  }): Promise<PlatformGatewaySuccess<unknown>>;
1836
- createGroup(input: import("./coreClient").GatewayScope & {
1844
+ createGroup(input: GatewayScope & {
1837
1845
  name: string;
1838
1846
  groupKey?: string;
1839
1847
  groupType?: string;
1840
1848
  description?: string;
1841
1849
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1842
- updateGroup(groupId: string, input: import("./coreClient").GatewayScope & {
1850
+ updateGroup(groupId: string, input: GatewayScope & {
1843
1851
  name?: string;
1844
1852
  description?: string;
1845
1853
  workspaceId?: string;
1846
1854
  clearWorkspaceId?: boolean;
1847
1855
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1848
- deleteGroup(groupId: string, input?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1849
- listGroupMembers(query: import("./coreClient").GatewayScope & {
1856
+ deleteGroup(groupId: string, input?: GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1857
+ listGroupMembers(query: GatewayScope & {
1850
1858
  groupId: string;
1851
1859
  }): Promise<PlatformGatewaySuccess<unknown>>;
1852
- addGroupMember(input: import("./coreClient").GatewayScope & {
1860
+ addGroupMember(input: GatewayScope & {
1853
1861
  groupId: string;
1854
1862
  principalId: string;
1855
1863
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1856
- removeGroupMember(input: import("./coreClient").GatewayScope & {
1864
+ removeGroupMember(input: GatewayScope & {
1857
1865
  groupId: string;
1858
1866
  principalId: string;
1859
1867
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1860
- listPackGroupAssignments(query?: import("./coreClient").GatewayScope & {
1868
+ listPackGroupAssignments(query?: GatewayScope & {
1861
1869
  groupId?: string;
1862
1870
  status?: string;
1863
1871
  }): Promise<PlatformGatewaySuccess<unknown>>;
1864
- assignPackToGroup(input: import("./coreClient").GatewayScope & {
1872
+ assignPackToGroup(input: GatewayScope & {
1865
1873
  groupId: string;
1866
1874
  packKey: string;
1867
1875
  packVersion?: string;
1868
1876
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1869
- removePackFromGroup(input: import("./coreClient").GatewayScope & {
1877
+ removePackFromGroup(input: GatewayScope & {
1870
1878
  groupId: string;
1871
1879
  packKey: string;
1872
1880
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
@@ -1887,13 +1895,13 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1887
1895
  delegatedBy: string | undefined;
1888
1896
  expiresAt: number | undefined;
1889
1897
  }>>;
1890
- listPrincipals(query?: import("./coreClient").GatewayScope & {
1898
+ listPrincipals(query?: GatewayScope & {
1891
1899
  status?: string;
1892
1900
  principalType?: string;
1893
1901
  query?: string;
1894
1902
  limit?: number;
1895
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "principals">>>;
1896
- createPrincipal(input: import("./coreClient").GatewayScope & {
1903
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "principals">>>;
1904
+ createPrincipal(input: GatewayScope & {
1897
1905
  principalId: string;
1898
1906
  principalType: "user" | "group" | "service" | "external_viewer";
1899
1907
  clerkId?: string;
@@ -1902,7 +1910,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1902
1910
  status?: "active" | "disabled" | "revoked";
1903
1911
  metadata?: JsonObject;
1904
1912
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1905
- updatePrincipal(input: import("./coreClient").GatewayScope & {
1913
+ updatePrincipal(input: GatewayScope & {
1906
1914
  principalId: string;
1907
1915
  principalType: "user" | "group" | "service" | "external_viewer";
1908
1916
  clerkId?: string;
@@ -1911,7 +1919,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1911
1919
  status?: "active" | "disabled" | "revoked";
1912
1920
  metadata?: JsonObject;
1913
1921
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1914
- upsertPrincipal(input: import("./coreClient").GatewayScope & {
1922
+ upsertPrincipal(input: GatewayScope & {
1915
1923
  principalId: string;
1916
1924
  principalType: "user" | "group" | "service" | "external_viewer";
1917
1925
  clerkId?: string;
@@ -1920,12 +1928,12 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1920
1928
  status?: "active" | "disabled" | "revoked";
1921
1929
  metadata?: JsonObject;
1922
1930
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1923
- listKeys(query?: import("./coreClient").GatewayScope & {
1931
+ listKeys(query?: GatewayScope & {
1924
1932
  principalId?: string;
1925
1933
  status?: string;
1926
1934
  limit?: number;
1927
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "keys">>>;
1928
- createKey(input: import("./coreClient").GatewayScope & {
1935
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "keys">>>;
1936
+ createKey(input: GatewayScope & {
1929
1937
  principalId: string;
1930
1938
  keyId?: string;
1931
1939
  token?: string;
@@ -1947,127 +1955,127 @@ export declare function createLucernClient(config?: LucernClientConfig): {
1947
1955
  revokeKey(keyId: string, input?: {
1948
1956
  reason?: string;
1949
1957
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1950
- searchClerkUsers(q: string): Promise<PlatformGatewaySuccess<import("./identityClient").ClerkUserSearchResult[]>>;
1958
+ searchClerkUsers(q: string): Promise<PlatformGatewaySuccess<ClerkUserSearchResult[]>>;
1951
1959
  };
1952
1960
  policy: {
1953
- listDecisions(query?: import("./coreClient").GatewayScope & {
1961
+ listDecisions(query?: GatewayScope & {
1954
1962
  action?: string;
1955
1963
  decision?: string;
1956
1964
  traceId?: string;
1957
1965
  principalId?: string;
1958
1966
  topicId?: string;
1959
1967
  limit?: number;
1960
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "decisions">>>;
1961
- grant(input: import("./coreClient").GatewayScope & {
1968
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "decisions">>>;
1969
+ grant(input: GatewayScope & {
1962
1970
  topicId: string;
1963
- permission: import("./policyClient").PermissionKind;
1971
+ permission: PermissionKind;
1964
1972
  principal?: string;
1965
1973
  principalId?: string;
1966
1974
  groupId?: string;
1967
1975
  beliefClusterId?: string;
1968
1976
  expiresAt?: number;
1969
1977
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1970
- revoke(input: import("./coreClient").GatewayScope & {
1978
+ revoke(input: GatewayScope & {
1971
1979
  topicId: string;
1972
1980
  principal?: string;
1973
1981
  principalId?: string;
1974
1982
  groupId?: string;
1975
1983
  beliefClusterId?: string;
1976
1984
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1977
- listWritePolicies(query?: import("./coreClient").GatewayScope & {
1985
+ listWritePolicies(query?: GatewayScope & {
1978
1986
  topicId?: string;
1979
1987
  role?: string;
1980
1988
  toolCategory?: string;
1981
1989
  enabled?: boolean;
1982
1990
  }): Promise<{
1983
1991
  data: {
1984
- policies: import("./policyClient").WritePolicyRecord[];
1992
+ policies: WritePolicyRecord[];
1985
1993
  };
1986
1994
  success: true;
1987
1995
  correlationId: string;
1988
1996
  policyTraceId: string | null;
1989
1997
  idempotentReplay: boolean;
1990
1998
  }>;
1991
- createWritePolicy(input: import("./policyClient").WritePolicyCreateInput, idempotencyKey?: string): Promise<{
1999
+ createWritePolicy(input: WritePolicyCreateInput, idempotencyKey?: string): Promise<{
1992
2000
  data: {
1993
2001
  id: string | undefined;
1994
2002
  created: boolean;
1995
- policy: import("./policyClient").WritePolicyRecord | null;
2003
+ policy: WritePolicyRecord | null;
1996
2004
  };
1997
2005
  success: true;
1998
2006
  correlationId: string;
1999
2007
  policyTraceId: string | null;
2000
2008
  idempotentReplay: boolean;
2001
2009
  }>;
2002
- updateWritePolicy(id: string, input: import("./policyClient").WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
2010
+ updateWritePolicy(id: string, input: WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
2003
2011
  data: {
2004
2012
  id: string | undefined;
2005
2013
  updated: boolean;
2006
- policy: import("./policyClient").WritePolicyRecord | null;
2014
+ policy: WritePolicyRecord | null;
2007
2015
  };
2008
2016
  success: true;
2009
2017
  correlationId: string;
2010
2018
  policyTraceId: string | null;
2011
2019
  idempotentReplay: boolean;
2012
2020
  }>;
2013
- deleteWritePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
2021
+ deleteWritePolicy(id: string, scope?: GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
2014
2022
  id?: string;
2015
2023
  deleted?: boolean;
2016
2024
  }>>;
2017
- listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
2025
+ listRolePolicies(query?: GatewayScope): Promise<{
2018
2026
  data: {
2019
- policies: import("./policyClient").TenantPolicyRecord[];
2027
+ policies: TenantPolicyRecord[];
2020
2028
  };
2021
2029
  success: true;
2022
2030
  correlationId: string;
2023
2031
  policyTraceId: string | null;
2024
2032
  idempotentReplay: boolean;
2025
2033
  }>;
2026
- createRolePolicy(input: import("./coreClient").GatewayScope & {
2034
+ createRolePolicy(input: GatewayScope & {
2027
2035
  roleName: string;
2028
2036
  description?: string;
2029
- permissions: import("./policyClient").TenantPolicyPermission[];
2037
+ permissions: TenantPolicyPermission[];
2030
2038
  groupBindings?: string[];
2031
2039
  }, idempotencyKey?: string): Promise<{
2032
2040
  data: {
2033
- policy: import("./policyClient").TenantPolicyRecord | null;
2041
+ policy: TenantPolicyRecord | null;
2034
2042
  };
2035
2043
  success: true;
2036
2044
  correlationId: string;
2037
2045
  policyTraceId: string | null;
2038
2046
  idempotentReplay: boolean;
2039
2047
  }>;
2040
- updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & {
2048
+ updateRolePolicy(id: string, input: GatewayScope & {
2041
2049
  roleName: string;
2042
2050
  description?: string;
2043
- permissions: import("./policyClient").TenantPolicyPermission[];
2051
+ permissions: TenantPolicyPermission[];
2044
2052
  groupBindings?: string[];
2045
2053
  }, idempotencyKey?: string): Promise<{
2046
2054
  data: {
2047
- policy: import("./policyClient").TenantPolicyRecord | null;
2055
+ policy: TenantPolicyRecord | null;
2048
2056
  };
2049
2057
  success: true;
2050
2058
  correlationId: string;
2051
2059
  policyTraceId: string | null;
2052
2060
  idempotentReplay: boolean;
2053
2061
  }>;
2054
- deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2055
- checkPermission(query: import("./coreClient").GatewayScope & {
2062
+ deleteRolePolicy(id: string, scope?: GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2063
+ checkPermission(query: GatewayScope & {
2056
2064
  topicId?: string;
2057
- permission?: import("./policyClient").PermissionKind;
2065
+ permission?: PermissionKind;
2058
2066
  principal?: string;
2059
2067
  principalId?: string;
2060
2068
  beliefClusterId?: string;
2061
- }): Promise<PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
2062
- listAccessibleTopics(query?: import("./coreClient").GatewayScope & {
2063
- permission?: import("./policyClient").PermissionKind;
2069
+ }): Promise<PlatformGatewaySuccess<PermissionDecision>>;
2070
+ listAccessibleTopics(query?: GatewayScope & {
2071
+ permission?: PermissionKind;
2064
2072
  includeShared?: boolean;
2065
2073
  principal?: string;
2066
2074
  principalId?: string;
2067
2075
  limit?: number;
2068
2076
  }): Promise<{
2069
2077
  data: {
2070
- permission: import("./policyClient").PermissionKind;
2078
+ permission: PermissionKind;
2071
2079
  topics: {
2072
2080
  [key: string]: unknown;
2073
2081
  topicId?: string;
@@ -2086,15 +2094,15 @@ export declare function createLucernClient(config?: LucernClientConfig): {
2086
2094
  policyTraceId: string | null;
2087
2095
  idempotentReplay: boolean;
2088
2096
  }>;
2089
- filterByPermission(input: import("./coreClient").GatewayScope & {
2097
+ filterByPermission(input: GatewayScope & {
2090
2098
  topicIds?: string[];
2091
- permission?: import("./policyClient").PermissionKind;
2099
+ permission?: PermissionKind;
2092
2100
  principal?: string;
2093
2101
  principalId?: string;
2094
2102
  }): Promise<{
2095
2103
  success: boolean;
2096
2104
  data: {
2097
- permission: import("./policyClient").PermissionKind;
2105
+ permission: PermissionKind;
2098
2106
  allowedTopicIds: string[];
2099
2107
  deniedTopics: {
2100
2108
  topicId: string;
@@ -2108,7 +2116,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
2108
2116
  get(questionId: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
2109
2117
  };
2110
2118
  ontology: {
2111
- list(filters?: import("./coreClient").GatewayScope & {
2119
+ list(filters?: GatewayScope & {
2112
2120
  tenantId?: string;
2113
2121
  tier?: string;
2114
2122
  status?: string;
@@ -2119,8 +2127,8 @@ export declare function createLucernClient(config?: LucernClientConfig): {
2119
2127
  definitions: any[];
2120
2128
  }>>;
2121
2129
  get(id: string): Promise<PlatformGatewaySuccess<unknown>>;
2122
- bind(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2123
- listDefinitions(filters?: import("./coreClient").GatewayScope & {
2130
+ bind(input: OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2131
+ listDefinitions(filters?: GatewayScope & {
2124
2132
  tenantId?: string;
2125
2133
  tier?: string;
2126
2134
  status?: string;
@@ -2131,17 +2139,17 @@ export declare function createLucernClient(config?: LucernClientConfig): {
2131
2139
  definitions: any[];
2132
2140
  }>>;
2133
2141
  getDefinition(id: string): Promise<PlatformGatewaySuccess<unknown>>;
2134
- createDefinition(input: import("./ontologyClient").OntologyDefinitionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2135
- updateDefinition(id: string, input: import("./ontologyClient").OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2142
+ createDefinition(input: OntologyDefinitionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2143
+ updateDefinition(id: string, input: OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2136
2144
  archiveDefinition(id: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2137
- listVersions(ontologyId: string, filters?: import("./coreClient").GatewayScope & {
2145
+ listVersions(ontologyId: string, filters?: GatewayScope & {
2138
2146
  status?: string;
2139
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "versions">>>;
2140
- createVersion(ontologyId: string, input: import("./ontologyClient").OntologyVersionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2147
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "versions">>>;
2148
+ createVersion(ontologyId: string, input: OntologyVersionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2141
2149
  publishVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2142
2150
  deprecateVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2143
- listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
2144
- listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
2151
+ listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
2152
+ listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
2145
2153
  };
2146
2154
  mcpParity: {
2147
2155
  sessionId: `${string}-${string}-${string}-${string}-${string}`;
@@ -2200,41 +2208,41 @@ export declare function createLucernClient(config?: LucernClientConfig): {
2200
2208
  generateSessionHandoff(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2201
2209
  };
2202
2210
  packs: {
2203
- listCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
2204
- getCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
2211
+ listCatalog(): Promise<PlatformGatewaySuccess<ListResult<any, "catalog">>>;
2212
+ getCatalog(): Promise<PlatformGatewaySuccess<ListResult<any, "catalog">>>;
2205
2213
  getDiscoveryCatalog(): Promise<PlatformGatewaySuccess<unknown>>;
2206
2214
  getDiscoveryDetail(packKey: string): Promise<PlatformGatewaySuccess<unknown>>;
2207
- listStates(query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
2208
- getStates(query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
2209
- getHealth(packKey: string, query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2210
- listTelemetry(query?: import("./coreClient").GatewayScope & {
2215
+ listStates(query?: GatewayScope): Promise<PlatformGatewaySuccess<ListResult<any, "states">>>;
2216
+ getStates(query?: GatewayScope): Promise<PlatformGatewaySuccess<ListResult<any, "states">>>;
2217
+ getHealth(packKey: string, query?: GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2218
+ listTelemetry(query?: GatewayScope & {
2211
2219
  lookbackHours?: number;
2212
2220
  limit?: number;
2213
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "telemetry">>>;
2214
- getTelemetry(query?: import("./coreClient").GatewayScope & {
2221
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "telemetry">>>;
2222
+ getTelemetry(query?: GatewayScope & {
2215
2223
  lookbackHours?: number;
2216
2224
  limit?: number;
2217
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "telemetry">>>;
2218
- createEntitlement(input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2219
- updateEntitlement(input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2220
- upsertEntitlement(input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2221
- install(input: import("./packsClient").PackInstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2222
- enable(input: import("./packsClient").PackEnableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2223
- disable(input: import("./packsClient").PackDisableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2224
- uninstall(input: import("./packsClient").PackUninstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2225
- upgrade(input: import("./packsClient").PackUpgradeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2225
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "telemetry">>>;
2226
+ createEntitlement(input: PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2227
+ updateEntitlement(input: PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2228
+ upsertEntitlement(input: PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2229
+ install(input: PackInstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2230
+ enable(input: PackEnableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2231
+ disable(input: PackDisableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2232
+ uninstall(input: PackUninstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2233
+ upgrade(input: PackUpgradeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2226
2234
  };
2227
2235
  reports: {
2228
2236
  listTemplates(args?: {
2229
2237
  slug?: string;
2230
- }): Promise<PlatformGatewaySuccess<import("./types").ReportTemplatesResponse>>;
2238
+ }): Promise<PlatformGatewaySuccess<ReportTemplatesResponse>>;
2231
2239
  getTemplates(args?: {
2232
2240
  slug?: string;
2233
- }): Promise<PlatformGatewaySuccess<import("./types").ReportTemplatesResponse>>;
2234
- listReports(input: import("./types").TopicIdentifierInput, args?: {
2241
+ }): Promise<PlatformGatewaySuccess<ReportTemplatesResponse>>;
2242
+ listReports(input: TopicIdentifierInput, args?: {
2235
2243
  summary?: boolean;
2236
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "reports">>>;
2237
- getReport(reportId: string): Promise<PlatformGatewaySuccess<import("./types").ReportWithSectionsResponse>>;
2244
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "reports">>>;
2245
+ getReport(reportId: string): Promise<PlatformGatewaySuccess<ReportWithSectionsResponse>>;
2238
2246
  };
2239
2247
  learning: {
2240
2248
  listRecentExecutions(args?: {
@@ -2243,127 +2251,128 @@ export declare function createLucernClient(config?: LucernClientConfig): {
2243
2251
  audienceMode?: string;
2244
2252
  success?: boolean;
2245
2253
  limit?: number;
2246
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "executions">>>;
2254
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<any, "executions">>>;
2247
2255
  getRecentExecutions(args?: {
2248
2256
  namespace?: string;
2249
2257
  topicId?: string;
2250
2258
  audienceMode?: string;
2251
2259
  success?: boolean;
2252
2260
  limit?: number;
2253
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "executions">>>;
2261
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<any, "executions">>>;
2254
2262
  getExecutionStats(args?: {
2255
2263
  namespace?: string;
2256
2264
  topicId?: string;
2257
2265
  audienceMode?: string;
2258
2266
  hours?: number;
2259
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<unknown>>;
2267
+ } & TopicIdentifierInput): Promise<PlatformGatewaySuccess<unknown>>;
2260
2268
  };
2261
2269
  harness: {
2262
- listAgentDefinitions(scope?: import("./coreClient").GatewayScope & {
2270
+ listAgentDefinitions(scope?: GatewayScope & {
2263
2271
  status?: string;
2264
2272
  limit?: number;
2265
2273
  cursor?: string;
2266
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "agents">>>;
2267
- getAgentDefinition(agentId: string, scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2268
- createAgentDefinition(input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2269
- registerAgentDefinition(input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2270
- updateAgentDefinition(agentId: string, input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2271
- invokeManagedAgentDefinition(agentId: string, input: Omit<import("./harnessClient").HarnessInvokeManagedAgentInput, "agentDefinitionId">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2272
- listAgentRuns(agentId: string, scope?: import("./coreClient").GatewayScope & {
2274
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "agents">>>;
2275
+ getAgentDefinition(agentId: string, scope?: GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2276
+ createAgentDefinition(input: HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2277
+ registerAgentDefinition(input: HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2278
+ updateAgentDefinition(agentId: string, input: HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2279
+ invokeManagedAgentDefinition(agentId: string, input: Omit<HarnessInvokeManagedAgentInput, "agentDefinitionId">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2280
+ listAgentRuns(agentId: string, scope?: GatewayScope & {
2273
2281
  status?: string;
2274
2282
  limit?: number;
2275
2283
  cursor?: string;
2276
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2277
- listRunsForAgent(agentId: string, scope?: import("./coreClient").GatewayScope & {
2284
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "runs">>>;
2285
+ listRunsForAgent(agentId: string, scope?: GatewayScope & {
2278
2286
  status?: string;
2279
2287
  limit?: number;
2280
2288
  cursor?: string;
2281
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2282
- listToolDefinitions(scope?: import("./coreClient").GatewayScope & {
2289
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "runs">>>;
2290
+ listToolDefinitions(scope?: GatewayScope & {
2283
2291
  status?: string;
2284
2292
  limit?: number;
2285
2293
  cursor?: string;
2286
2294
  gateClassification?: string;
2287
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "tools">>>;
2288
- getToolDefinition(toolId: string, scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2289
- createToolDefinition(input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2290
- registerToolDefinition(input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2291
- updateToolDefinition(toolId: string, input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2292
- executeToolDefinition(toolId: string, input?: import("./harnessClient").HarnessExecuteToolInput): Promise<PlatformGatewaySuccess<import("./harnessClient").HarnessExecuteToolResult>>;
2293
- listRunEntries(scope?: import("./coreClient").GatewayScope & {
2295
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "tools">>>;
2296
+ getToolDefinition(toolId: string, scope?: GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2297
+ createToolDefinition(input: HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2298
+ registerToolDefinition(input: HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2299
+ updateToolDefinition(toolId: string, input: HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2300
+ executeToolDefinition(toolId: string, input?: HarnessExecuteToolInput): Promise<PlatformGatewaySuccess<HarnessExecuteToolResult>>;
2301
+ listRunEntries(scope?: GatewayScope & {
2294
2302
  status?: string;
2295
2303
  limit?: number;
2296
2304
  cursor?: string;
2297
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2298
- listRunLedgerEntries(scope?: import("./coreClient").GatewayScope & {
2305
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "runs">>>;
2306
+ listRunLedgerEntries(scope?: GatewayScope & {
2299
2307
  status?: string;
2300
2308
  limit?: number;
2301
2309
  cursor?: string;
2302
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2303
- startHarnessRun(input: import("./harnessClient").HarnessStartRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2310
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "runs">>>;
2311
+ startHarnessRun(input: HarnessStartRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2304
2312
  getRunLedgerEntry(runId: string): Promise<PlatformGatewaySuccess<unknown>>;
2305
- reportHarnessRunEvent(runId: string, input: import("./harnessClient").HarnessRunReportInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2313
+ reportHarnessRunEvent(runId: string, input: HarnessRunReportInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2306
2314
  heartbeatHarnessRun(runId: string, input: {
2307
2315
  reportingToken: string;
2308
2316
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2309
- completeHarnessRun(runId: string, input: import("./harnessClient").HarnessCompleteRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2317
+ completeHarnessRun(runId: string, input: HarnessCompleteRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2310
2318
  listPromptResolutions(query?: {
2311
2319
  runId?: string;
2312
2320
  promptName?: string;
2313
2321
  limit?: number;
2314
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "prompts">>>;
2322
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "prompts">>>;
2315
2323
  getScopeTaxonomy(): Promise<PlatformGatewaySuccess<unknown>>;
2316
2324
  };
2317
2325
  schema: {
2318
- listPacks(scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "packs">>>;
2319
- installPack(input: import("./schemaClient").SchemaPackInstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2320
- getPack(packId: string, scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2321
- listEntitlements(scope?: import("./coreClient").GatewayScope & {
2326
+ listPacks(scope?: GatewayScope): Promise<PlatformGatewaySuccess<ListResult<any, "packs">>>;
2327
+ installPack(input: SchemaPackInstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2328
+ getPack(packId: string, scope?: GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2329
+ listEntitlements(scope?: GatewayScope & {
2322
2330
  packKey?: string;
2323
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "entitlements">>>;
2324
- createEntitlement(input: import("./schemaClient").SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2325
- updateEntitlement(input: import("./schemaClient").SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2326
- upsertEntitlement(input: import("./schemaClient").SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2331
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "entitlements">>>;
2332
+ createEntitlement(input: SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2333
+ updateEntitlement(input: SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2334
+ upsertEntitlement(input: SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2327
2335
  };
2328
2336
  audiences: {
2329
- listRegistry(query?: import("./coreClient").GatewayScope & {
2337
+ listRegistry(query?: GatewayScope & {
2330
2338
  effective?: boolean;
2331
2339
  status?: "active" | "disabled" | "archived";
2332
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "registryEntries">>>;
2333
- getRegistry(query?: import("./coreClient").GatewayScope & {
2340
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "registryEntries">>>;
2341
+ getRegistry(query?: GatewayScope & {
2334
2342
  effective?: boolean;
2335
2343
  status?: "active" | "disabled" | "archived";
2336
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "registryEntries">>>;
2337
- createRegistryEntry(input: import("./audiencesClient").AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2338
- updateRegistryEntry(input: import("./audiencesClient").AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2339
- upsertRegistry(input: import("./audiencesClient").AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2340
- listGrants(query?: import("./coreClient").GatewayScope & {
2344
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "registryEntries">>>;
2345
+ createRegistryEntry(input: AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2346
+ updateRegistryEntry(input: AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2347
+ upsertRegistry(input: AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2348
+ listGrants(query?: GatewayScope & {
2341
2349
  audienceKey?: string;
2342
2350
  principalId?: string;
2343
2351
  groupId?: string;
2344
2352
  status?: "active" | "revoked" | "expired";
2345
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "grants">>>;
2346
- getGrants(query?: import("./coreClient").GatewayScope & {
2353
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "grants">>>;
2354
+ getGrants(query?: GatewayScope & {
2347
2355
  audienceKey?: string;
2348
2356
  principalId?: string;
2349
2357
  groupId?: string;
2350
2358
  status?: "active" | "revoked" | "expired";
2351
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "grants">>>;
2352
- createGrant(input: import("./audiencesClient").AudienceGrantInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2353
- grant(input: import("./audiencesClient").AudienceGrantInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2354
- deleteGrant(input: import("./audiencesClient").AudienceGrantRevokeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2355
- revokeGrant(input: import("./audiencesClient").AudienceGrantRevokeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2359
+ }): Promise<PlatformGatewaySuccess<ListResult<any, "grants">>>;
2360
+ createGrant(input: AudienceGrantInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2361
+ grant(input: AudienceGrantInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2362
+ deleteGrant(input: AudienceGrantRevokeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2363
+ revokeGrant(input: AudienceGrantRevokeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2356
2364
  };
2357
2365
  topics: {
2358
- list(query?: import("./topicsClient").TopicListInput): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
2359
- get(topicId: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
2360
- create(input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
2361
- update(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
2362
- getTree(topicId: string, query?: import("./topicsClient").TopicTreeQuery): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
2363
- getCoverage(topicId: string, query?: import("./topicsClient").TopicCoverageQuery): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
2366
+ list(query?: TopicListInput): Promise<PlatformGatewaySuccess<TopicListResponse>>;
2367
+ get(topicId: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
2368
+ create(input: TopicCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
2369
+ update(topicId: string, input: TopicUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
2370
+ getTree(topicId: string, query?: TopicTreeQuery): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
2371
+ getCoverage(topicId: string, query?: TopicCoverageQuery): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
2364
2372
  remove(topicId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
2365
- bulkCreate(input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
2373
+ bulkCreate(input: TopicBulkCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
2366
2374
  };
2367
2375
  };
2368
2376
  };
2369
- export {};
2377
+
2378
+ export { type LucernClientConfig, createLucernClient };