@lucern/sdk 0.3.0-alpha.9 → 1.0.0

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 (152) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +60 -1
  3. package/dist/accessControl.d.ts +79 -0
  4. package/dist/accessControl.js +1270 -0
  5. package/dist/accessControl.js.map +1 -0
  6. package/dist/adminClient.js +19 -1
  7. package/dist/adminClient.js.map +1 -1
  8. package/dist/answersClient.js +19 -1
  9. package/dist/answersClient.js.map +1 -1
  10. package/dist/audiencesClient.js +19 -1
  11. package/dist/audiencesClient.js.map +1 -1
  12. package/dist/auditClient.js +19 -1
  13. package/dist/auditClient.js.map +1 -1
  14. package/dist/authContext.d.ts +2 -2
  15. package/dist/authContext.js.map +1 -1
  16. package/dist/beliefs/index.d.ts +2 -0
  17. package/dist/beliefs/index.js +1196 -663
  18. package/dist/beliefs/index.js.map +1 -1
  19. package/dist/beliefsClient.js +19 -1
  20. package/dist/beliefsClient.js.map +1 -1
  21. package/dist/client.d.ts +146 -70
  22. package/dist/client.js +1196 -663
  23. package/dist/client.js.map +1 -1
  24. package/dist/contextClient.js +19 -1
  25. package/dist/contextClient.js.map +1 -1
  26. package/dist/contracts/api-enums.contract.d.ts +1 -1
  27. package/dist/contracts/api-enums.contract.js +6 -1
  28. package/dist/contracts/api-enums.contract.js.map +1 -1
  29. package/dist/contracts/auth-session.contract.d.ts +1 -1
  30. package/dist/contracts/auth-session.contract.js +14 -2
  31. package/dist/contracts/auth-session.contract.js.map +1 -1
  32. package/dist/contracts/index.js +26 -3
  33. package/dist/contracts/index.js.map +1 -1
  34. package/dist/contracts/mcpTools.js +6 -0
  35. package/dist/contracts/mcpTools.js.map +1 -1
  36. package/dist/contradictions/index.d.ts +2 -0
  37. package/dist/contradictions/index.js +1196 -663
  38. package/dist/contradictions/index.js.map +1 -1
  39. package/dist/control-plane.d.ts +69 -0
  40. package/dist/control-plane.js +674 -0
  41. package/dist/control-plane.js.map +1 -0
  42. package/dist/coreClient.d.ts +17 -1
  43. package/dist/coreClient.js +19 -1
  44. package/dist/coreClient.js.map +1 -1
  45. package/dist/decisions/index.d.ts +2 -0
  46. package/dist/decisions/index.js +1196 -663
  47. package/dist/decisions/index.js.map +1 -1
  48. package/dist/decisionsClient.js +19 -1
  49. package/dist/decisionsClient.js.map +1 -1
  50. package/dist/edges/index.d.ts +26 -84
  51. package/dist/edges/index.js +1196 -663
  52. package/dist/edges/index.js.map +1 -1
  53. package/dist/embeddingsClient.js +19 -1
  54. package/dist/embeddingsClient.js.map +1 -1
  55. package/dist/eventingClient.js +19 -1
  56. package/dist/eventingClient.js.map +1 -1
  57. package/dist/eventsCore.js +19 -1
  58. package/dist/eventsCore.js.map +1 -1
  59. package/dist/evidence/index.d.ts +2 -0
  60. package/dist/evidence/index.js +1196 -663
  61. package/dist/evidence/index.js.map +1 -1
  62. package/dist/evidenceClient.js +19 -1
  63. package/dist/evidenceClient.js.map +1 -1
  64. package/dist/functionSurface.d.ts +16 -1
  65. package/dist/functionSurface.js +95 -2
  66. package/dist/functionSurface.js.map +1 -1
  67. package/dist/functionSurfaceClient.js +95 -2
  68. package/dist/functionSurfaceClient.js.map +1 -1
  69. package/dist/gatewayFacades.d.ts +29 -2
  70. package/dist/gatewayFacades.js +156 -8
  71. package/dist/gatewayFacades.js.map +1 -1
  72. package/dist/graphAnalysisClient.js +19 -1
  73. package/dist/graphAnalysisClient.js.map +1 -1
  74. package/dist/graphClient.d.ts +1 -0
  75. package/dist/graphClient.js +19 -1
  76. package/dist/graphClient.js.map +1 -1
  77. package/dist/graphIntel.d.ts +1 -0
  78. package/dist/graphRecommendationsClient.js +19 -1
  79. package/dist/graphRecommendationsClient.js.map +1 -1
  80. package/dist/graphStateClassifierClient.js +19 -1
  81. package/dist/graphStateClassifierClient.js.map +1 -1
  82. package/dist/harnessClient.js +19 -1
  83. package/dist/harnessClient.js.map +1 -1
  84. package/dist/identityClient.d.ts +19 -1
  85. package/dist/identityClient.js +152 -6
  86. package/dist/identityClient.js.map +1 -1
  87. package/dist/index.d.ts +4 -1
  88. package/dist/index.js +1281 -664
  89. package/dist/index.js.map +1 -1
  90. package/dist/infisicalRuntime.d.ts +1 -0
  91. package/dist/infisicalRuntime.js +64 -32
  92. package/dist/infisicalRuntime.js.map +1 -1
  93. package/dist/jobsClient.js +19 -1
  94. package/dist/jobsClient.js.map +1 -1
  95. package/dist/learningClient.js +19 -1
  96. package/dist/learningClient.js.map +1 -1
  97. package/dist/lenses/index.d.ts +2 -0
  98. package/dist/lenses/index.js +1196 -663
  99. package/dist/lenses/index.js.map +1 -1
  100. package/dist/mcpClient.js +21 -2
  101. package/dist/mcpClient.js.map +1 -1
  102. package/dist/modelRuntimeClient.js +19 -1
  103. package/dist/modelRuntimeClient.js.map +1 -1
  104. package/dist/nodes/index.d.ts +21 -15
  105. package/dist/nodes/index.js +1196 -663
  106. package/dist/nodes/index.js.map +1 -1
  107. package/dist/ontologies/index.d.ts +2 -0
  108. package/dist/ontologies/index.js +1196 -663
  109. package/dist/ontologies/index.js.map +1 -1
  110. package/dist/ontologyClient.js +19 -1
  111. package/dist/ontologyClient.js.map +1 -1
  112. package/dist/ontologyLinksClient.js +19 -1
  113. package/dist/ontologyLinksClient.js.map +1 -1
  114. package/dist/orgGraphSearchClient.js +19 -1
  115. package/dist/orgGraphSearchClient.js.map +1 -1
  116. package/dist/packsClient.js +19 -1
  117. package/dist/packsClient.js.map +1 -1
  118. package/dist/policyClient.js +19 -1
  119. package/dist/policyClient.js.map +1 -1
  120. package/dist/questions/index.d.ts +2 -0
  121. package/dist/questions/index.js +1196 -663
  122. package/dist/questions/index.js.map +1 -1
  123. package/dist/reportsClient.js +19 -1
  124. package/dist/reportsClient.js.map +1 -1
  125. package/dist/schemaClient.js +19 -1
  126. package/dist/schemaClient.js.map +1 -1
  127. package/dist/secrets.d.ts +1 -0
  128. package/dist/secrets.js +3 -0
  129. package/dist/secrets.js.map +1 -0
  130. package/dist/sourcesClient.js +19 -1
  131. package/dist/sourcesClient.js.map +1 -1
  132. package/dist/telemetryClient.js +19 -1
  133. package/dist/telemetryClient.js.map +1 -1
  134. package/dist/toolRegistryClient.js +19 -1
  135. package/dist/toolRegistryClient.js.map +1 -1
  136. package/dist/topics/index.d.ts +11 -3
  137. package/dist/topics/index.js +1198 -663
  138. package/dist/topics/index.js.map +1 -1
  139. package/dist/topicsClient.d.ts +2 -0
  140. package/dist/topicsClient.js +19 -1
  141. package/dist/topicsClient.js.map +1 -1
  142. package/dist/types.d.ts +17 -0
  143. package/dist/version.d.ts +1 -1
  144. package/dist/version.js +1 -1
  145. package/dist/version.js.map +1 -1
  146. package/dist/workflowClient.d.ts +2 -0
  147. package/dist/workflowClient.js +19 -1
  148. package/dist/workflowClient.js.map +1 -1
  149. package/dist/worktrees/index.d.ts +2 -0
  150. package/dist/worktrees/index.js +1196 -663
  151. package/dist/worktrees/index.js.map +1 -1
  152. package/package.json +9 -4
package/dist/client.d.ts CHANGED
@@ -7,6 +7,8 @@ import { BeliefsClientConfig, ModulateConfidenceInput, OpinionHistoryEntry, Crea
7
7
  import { DeviceCodeInput, DeviceCodeResponse, DeviceTokenResponse } from './authDeviceClient.js';
8
8
  import { McpBootstrapSessionInput, McpBootstrapSessionResponse, McpCheckWritePolicyInput, McpCheckWritePolicyResponse, McpBeginBuildSessionInput, McpBeginBuildSessionResponse, McpEvaluateEngineeringContractInput, McpContractEvaluationResponse, McpEvaluateResearchContractInput } from './mcpClient.js';
9
9
  import { IdentityClientConfig, PolicyEvaluationInput, PolicyDecisionRecord, RecordPolicyDecisionInput, PutTenantSecretReferenceInput, TenantSecretReference, ClerkUserSearchResult, TenantIdentityScope, TenantIdentityConfigRecord, UpdateTenantConfigInput, TenantIntegrationRecord, UpsertTenantIntegrationInput } from './identityClient.js';
10
+ import { normalizeCanonicalPrincipalIdentity, RequireAccessInput, AccessCheckResult } from './accessControl.js';
11
+ import { ControlPlaneIdentityClientConfig, ResolveInteractivePrincipalInput, ResolveInteractivePrincipalResponse, ResolvedInteractivePrincipalContext } from './control-plane.js';
10
12
  import { PacksClientConfig, PackInstallInput, PackEnableInput, PackDisableInput, PackEntitlementInput, PackUninstallInput, PackUpgradeInput } from './packsClient.js';
11
13
  import { ToolRegistryClientConfig, ToolRegistryQuery, ToolCatalogEntry, EffectiveToolsQuery, UpsertCoreToolsInput, SetPackToolsStatusInput, CreateToolAclInput, ToolAclRecord, DeleteToolAclInput, RegisterCustomToolInput } from './toolRegistryClient.js';
12
14
  import { TelemetryClientConfig, LogSystemEventInput, LogToolCallsBatchInput, RecordEpistemicAuditInput, RecordTelemetryPolicyDecisionInput, StartTelemetryRunInput, TelemetryRunRecord, FinishTelemetryRunInput, TelemetryScope } from './telemetryClient.js';
@@ -33,7 +35,7 @@ import { registerCustomTool, unregisterCustomTool, listRegisteredCustomTools, cl
33
35
  import { DecisionsClientConfig, RecordJudgmentInput, ListJudgmentsInput, RecordJudgmentOutcomeInput, GetJudgmentCalibrationInput, ListPendingJudgmentOutcomeReviewInput, GetJudgmentTransitionAuditIntegrityInput } from './decisionsClient.js';
34
36
  import { EvidenceClientConfig, EvidenceClassificationRequestConfig, ClassifyEvidenceResult, ClassifyEvidenceBatchItem, ClassifyEvidenceBatchResult } from './evidenceClient.js';
35
37
  import { EventingClientConfig, RecordEventInput, EventingRecord, EventingScope, EventingWebhookRecord, EnqueueDeliveryInput, EventingDeliveryRecord, RecordDeliveryAttemptInput, UpdateDeliveryStatusInput } from './eventingClient.js';
36
- import { GraphClientConfig, ListNodesInput, GetNodeInput, CreateNodeInput, UpdateNodeInput, BatchCreateNodesInput, SupersedeNodeInput, VerifyNodeInput, HardDeleteNodeInput, CreateEdgeInput, NeighborhoodInput, ListEdgesInput, DeleteEdgeInput, TraverseInput, AnalyzeInput, BiasInput, GapsInput, SearchInput, PathInput, AnalyticsInput } from './graphClient.js';
38
+ import { GraphClientConfig, ListNodesInput, GetNodeInput, HardDeleteNodeInput, CreateEdgeInput, NeighborhoodInput, CreateNodeInput, UpdateNodeInput, BatchCreateNodesInput, SupersedeNodeInput, VerifyNodeInput, ListEdgesInput, DeleteEdgeInput, TraverseInput, AnalyzeInput, BiasInput, GapsInput, SearchInput, PathInput, AnalyticsInput } from './graphClient.js';
37
39
  import { LearningClientConfig } from './learningClient.js';
38
40
  import { ReportsClientConfig } from './reportsClient.js';
39
41
  import { SourcesClientConfig, UpsertSourceSpec } from './sourcesClient.js';
@@ -50,11 +52,11 @@ import '@lucern/contracts';
50
52
  import 'zod';
51
53
  import '@lucern/contracts/tool-contracts';
52
54
 
53
- type ClientConfig = BeliefsClientConfig | SourcesClientConfig | GraphClientConfig | DecisionsClientConfig | AnswersClientConfig | ContextClientConfig | WorkflowClientConfig | AuditClientConfig | AdminClientConfig | EvidenceClientConfig | EmbeddingsClientConfig | EventingClientConfig | GraphAnalysisClientConfig | GraphRecommendationsClientConfig | GraphStateClassifierClientConfig | IdentityClientConfig | JobsClientConfig | ModelRuntimeClientConfig | OntologyLinksClientConfig | OrgGraphSearchClientConfig | PolicyClientConfig | PacksClientConfig | ReportsClientConfig | LearningClientConfig | TelemetryClientConfig | ToolRegistryClientConfig | FunctionSurfaceClientConfig | OntologyClientConfig | HarnessClientConfig | SchemaClientConfig | AudiencesClientConfig | TopicsClientConfig;
55
+ type ClientConfig = BeliefsClientConfig | SourcesClientConfig | GraphClientConfig | DecisionsClientConfig | AnswersClientConfig | ContextClientConfig | WorkflowClientConfig | AuditClientConfig | AdminClientConfig | EvidenceClientConfig | EmbeddingsClientConfig | EventingClientConfig | GraphAnalysisClientConfig | GraphRecommendationsClientConfig | GraphStateClassifierClientConfig | IdentityClientConfig | JobsClientConfig | ModelRuntimeClientConfig | OntologyLinksClientConfig | OrgGraphSearchClientConfig | PolicyClientConfig | PacksClientConfig | ReportsClientConfig | LearningClientConfig | TelemetryClientConfig | ToolRegistryClientConfig | FunctionSurfaceClientConfig | ControlPlaneIdentityClientConfig | OntologyClientConfig | HarnessClientConfig | SchemaClientConfig | AudiencesClientConfig | TopicsClientConfig;
54
56
  type CustomToolInput = CustomToolInput$1;
55
57
  type CustomToolInvoker = (input?: CustomToolInput) => Promise<unknown>;
56
58
  type CustomToolNamespace = Record<string, CustomToolInvoker>;
57
- type GatewayDataEnvelope<T extends Record<string, unknown>> = PlatformGatewaySuccess<T> & T;
59
+ type GatewayDataEnvelope<T = unknown> = PlatformGatewaySuccess<T> & (T extends Record<string, unknown> ? T : Record<string, unknown>);
58
60
  type BeliefsCompatCreateInput = {
59
61
  topicId?: string;
60
62
  text?: string;
@@ -89,12 +91,17 @@ type LucernClientConfig = ClientConfig & {
89
91
  /** API key for authenticating with the Lucern platform. */
90
92
  apiKey?: string;
91
93
  /**
92
- * Optional Clerk JWT for per-user identity and RBAC.
93
- * When present, the SDK operates in user-scoped mode with
94
- * pack-aware tool filtering. When absent, operates in agent mode.
94
+ * Lucern platform session token for interactive/user-scoped requests.
95
+ * This is not a Clerk JWT. Tenant apps should generally send `apiKey`
96
+ * plus `clerkId` and let the control plane resolve the principal.
95
97
  */
96
- /** Lucern platform session token for interactive/user-scoped requests. */
97
98
  userToken?: string;
99
+ /** Clerk subject for the current end user. */
100
+ clerkId?: string;
101
+ /** Optional explicit user subject. Defaults to `clerkId` when omitted. */
102
+ userId?: string;
103
+ /** Optional deployment host hint for front-door routing. */
104
+ deploymentHost?: string;
98
105
  /**
99
106
  * Optional pack key for auto-install convenience.
100
107
  * When set, the SDK will call `packs.install()` on first use
@@ -411,55 +418,27 @@ declare function createLucernClient(config?: LucernClientConfig): {
411
418
  }>>;
412
419
  };
413
420
  edges: {
414
- create(args: {
415
- sourceId: string;
416
- targetId: string;
421
+ create(args: FunctionSurfaceInput & {
422
+ from?: unknown;
423
+ to?: unknown;
424
+ sourceId?: string;
425
+ targetId?: string;
417
426
  edgeType: string;
418
427
  topicId?: string;
419
428
  confidence?: number;
420
429
  weight?: number;
421
430
  context?: string;
422
431
  reasoning?: string;
423
- }): Promise<GatewayDataEnvelope<{
424
- [x: string]: unknown;
425
- }>>;
426
- update(input: Parameters<(input: {
427
- edgeId: string;
428
- weight?: number;
429
- confidence?: number;
430
- context?: string;
431
- derivationType?: string;
432
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
433
- [x: string]: unknown;
434
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
435
- [x: string]: unknown;
436
- }>>;
437
- remove(input: Parameters<(input: {
438
- edgeId: string;
439
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
440
- [x: string]: unknown;
441
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
442
- [x: string]: unknown;
443
- }>>;
444
- removeBetween(input: Parameters<(input: {
445
- fromNodeId: string;
446
- toNodeId: string;
447
- edgeType?: string;
448
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
449
- [x: string]: unknown;
450
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
451
- [x: string]: unknown;
452
- }>>;
453
- batchCreate(input: Parameters<(input: {
454
- edges: {
455
- [x: string]: unknown;
456
- }[];
457
- skipLayerValidation?: boolean;
458
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
459
- [x: string]: unknown;
460
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
461
- [x: string]: unknown;
462
- }>>;
432
+ }, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
433
+ createEdge(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
434
+ update(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
435
+ updateEdge(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
436
+ remove(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
437
+ removeEdge(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
438
+ removeBetween(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
439
+ removeEdgesBetween(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
440
+ batchCreate(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
441
+ batchCreateEdges(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
463
442
  delete(input: Parameters<(input: {
464
443
  edgeIds: string[];
465
444
  }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
@@ -761,9 +740,12 @@ declare function createLucernClient(config?: LucernClientConfig): {
761
740
  nodes: {
762
741
  list: (query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
763
742
  get(input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
764
- create: (input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
765
- update: (input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
766
- batchCreate: (input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
743
+ create(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
744
+ createEpistemicNode(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
745
+ update(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
746
+ updateEpistemicNode(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
747
+ batchCreate(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
748
+ batchCreateEpistemicNodes(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
767
749
  listByTopicAndType(input: {
768
750
  topicId?: string;
769
751
  projectId?: string;
@@ -782,8 +764,9 @@ declare function createLucernClient(config?: LucernClientConfig): {
782
764
  query?: string;
783
765
  limit?: number;
784
766
  }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
785
- supersede: (input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
786
- verify: (input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
767
+ supersede(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
768
+ verify(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
769
+ archive(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
787
770
  hardDelete: (input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
788
771
  };
789
772
  createEdge: (input: CreateEdgeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
@@ -1187,7 +1170,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
1187
1170
  topics: {
1188
1171
  list(input?: Parameters<(query?: TopicListInput) => Promise<PlatformGatewaySuccess<TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<TopicListResponse>>;
1189
1172
  get: (topicId: string) => Promise<PlatformGatewaySuccess<TopicRecord>>;
1190
- create(input: Parameters<(input: TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TopicRecord>>>[0]): Promise<PlatformGatewaySuccess<TopicRecord>>;
1173
+ create(input: Parameters<(input: TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TopicRecord>>>[0]): Promise<GatewayDataEnvelope<unknown>>;
1191
1174
  update(topicId: string, input: Parameters<(topicId: string, input: TopicUpdateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TopicRecord>>>[1]): Promise<PlatformGatewaySuccess<TopicRecord>>;
1192
1175
  tree(topicId: string, query?: Parameters<(topicId: string, query?: TopicTreeQuery) => Promise<PlatformGatewaySuccess<TopicTreeResponse>>>[1]): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
1193
1176
  getTree(input: {
@@ -1197,6 +1180,10 @@ declare function createLucernClient(config?: LucernClientConfig): {
1197
1180
  coverage(topicId: string, query?: Parameters<(topicId: string, query?: TopicCoverageQuery) => Promise<PlatformGatewaySuccess<TopicCoverageResponse>>>[1]): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
1198
1181
  remove: (topicId: string, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1199
1182
  bulkCreate: (input: TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1183
+ materializeGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1184
+ materializeTopicGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1185
+ graphSpine(input?: FunctionSurfaceInput): Promise<GatewayDataEnvelope<unknown>>;
1186
+ getTopicGraphSpine(input?: FunctionSurfaceInput): Promise<GatewayDataEnvelope<unknown>>;
1200
1187
  };
1201
1188
  answers: {
1202
1189
  create(input: FunctionSurfaceInput): Promise<PlatformGatewaySuccess<{
@@ -1737,9 +1724,12 @@ declare function createLucernClient(config?: LucernClientConfig): {
1737
1724
  nodes: {
1738
1725
  list: (query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
1739
1726
  get(input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1740
- create: (input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1741
- update: (input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1742
- batchCreate: (input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1727
+ create(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1728
+ createEpistemicNode(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1729
+ update(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1730
+ updateEpistemicNode(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1731
+ batchCreate(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1732
+ batchCreateEpistemicNodes(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1743
1733
  listByTopicAndType(input: {
1744
1734
  topicId?: string;
1745
1735
  projectId?: string;
@@ -1758,11 +1748,29 @@ declare function createLucernClient(config?: LucernClientConfig): {
1758
1748
  query?: string;
1759
1749
  limit?: number;
1760
1750
  }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1761
- supersede: (input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1762
- verify: (input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1751
+ supersede(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1752
+ verify(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1753
+ archive(input: FunctionSurfaceInput, idempotencyKey?: string): Promise<GatewayDataEnvelope<unknown>>;
1763
1754
  hardDelete: (input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1764
1755
  };
1756
+ controlPlane: {
1757
+ identity: {
1758
+ resolveInteractivePrincipal: (input: ResolveInteractivePrincipalInput) => Promise<ResolveInteractivePrincipalResponse>;
1759
+ };
1760
+ raw: {
1761
+ identity: {
1762
+ resolveInteractivePrincipal(input: ResolveInteractivePrincipalInput): Promise<ResolveInteractivePrincipalResponse>;
1763
+ };
1764
+ };
1765
+ };
1765
1766
  identity: {
1767
+ access: {
1768
+ normalizePrincipal: typeof normalizeCanonicalPrincipalIdentity;
1769
+ checkAccess: (input: RequireAccessInput, idempotencyKey?: string) => Promise<AccessCheckResult>;
1770
+ requireAccess: (input: RequireAccessInput, idempotencyKey?: string) => Promise<AccessCheckResult>;
1771
+ canAccess: (input: RequireAccessInput, idempotencyKey?: string) => Promise<boolean>;
1772
+ };
1773
+ resolveInteractivePrincipal: (input: ResolveInteractivePrincipalInput) => Promise<PlatformGatewaySuccess<ResolvedInteractivePrincipalContext>>;
1766
1774
  evaluatePolicy: (input: PolicyEvaluationInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
1767
1775
  recordPolicyDecision: (input: RecordPolicyDecisionInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
1768
1776
  putSecretReference: (input: PutTenantSecretReferenceInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TenantSecretReference>>;
@@ -1787,22 +1795,35 @@ declare function createLucernClient(config?: LucernClientConfig): {
1787
1795
  raw: {
1788
1796
  whoami(): Promise<PlatformGatewaySuccess<{
1789
1797
  principalId: string;
1790
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
1798
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
1799
+ clerkId: string | undefined;
1791
1800
  tenantId: string | null;
1792
1801
  workspaceId: string | null;
1793
1802
  scopes: string[];
1794
1803
  roles: string[];
1804
+ groupIds: string[];
1805
+ permittedToolNames: string[];
1806
+ permittedPackKeys: string[];
1807
+ principalStatus: string | undefined;
1808
+ tenantStatus: string | undefined;
1809
+ workspaceStatus: string | undefined;
1795
1810
  isPlatformAdmin: boolean;
1796
1811
  isTenantAdmin: boolean;
1797
1812
  isWorkspaceAdmin: boolean;
1813
+ permit: {
1814
+ subject: string;
1815
+ tenant: string;
1816
+ workspace?: string;
1817
+ } | undefined;
1798
1818
  authMode: string | undefined;
1799
1819
  sessionId: string | undefined;
1800
1820
  delegatedBy: string | undefined;
1801
1821
  expiresAt: number | undefined;
1802
1822
  }>>;
1823
+ resolveInteractivePrincipal(input: ResolveInteractivePrincipalInput): Promise<PlatformGatewaySuccess<ResolvedInteractivePrincipalContext>>;
1803
1824
  listPrincipals(query?: GatewayScope & {
1804
1825
  status?: string;
1805
- principalType?: string;
1826
+ principalType? /** Target environment. Defaults to production if not specified. */: string;
1806
1827
  query?: string;
1807
1828
  limit?: number;
1808
1829
  }): Promise<PlatformGatewaySuccess<ListResult<any, "principals">>>;
@@ -1872,28 +1893,52 @@ declare function createLucernClient(config?: LucernClientConfig): {
1872
1893
  };
1873
1894
  whoami(): Promise<PlatformGatewaySuccess<{
1874
1895
  principalId: string;
1875
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
1896
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
1897
+ clerkId: string | undefined;
1876
1898
  tenantId: string | null;
1877
1899
  workspaceId: string | null;
1878
1900
  scopes: string[];
1879
1901
  roles: string[];
1902
+ groupIds: string[];
1903
+ permittedToolNames: string[];
1904
+ permittedPackKeys: string[];
1905
+ principalStatus: string | undefined;
1906
+ tenantStatus: string | undefined;
1907
+ workspaceStatus: string | undefined;
1880
1908
  isPlatformAdmin: boolean;
1881
1909
  isTenantAdmin: boolean;
1882
1910
  isWorkspaceAdmin: boolean;
1911
+ permit: {
1912
+ subject: string;
1913
+ tenant: string;
1914
+ workspace?: string;
1915
+ } | undefined;
1883
1916
  authMode: string | undefined;
1884
1917
  sessionId: string | undefined;
1885
1918
  delegatedBy: string | undefined;
1886
1919
  expiresAt: number | undefined;
1887
1920
  }> & {
1888
1921
  principalId: string;
1889
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
1922
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
1923
+ clerkId: string | undefined;
1890
1924
  tenantId: string | null;
1891
1925
  workspaceId: string | null;
1892
1926
  scopes: string[];
1893
1927
  roles: string[];
1928
+ groupIds: string[];
1929
+ permittedToolNames: string[];
1930
+ permittedPackKeys: string[];
1931
+ principalStatus: string | undefined;
1932
+ tenantStatus: string | undefined;
1933
+ workspaceStatus: string | undefined;
1894
1934
  isPlatformAdmin: boolean;
1895
1935
  isTenantAdmin: boolean;
1896
1936
  isWorkspaceAdmin: boolean;
1937
+ permit: {
1938
+ subject: string;
1939
+ tenant: string;
1940
+ workspace?: string;
1941
+ } | undefined;
1897
1942
  authMode: string | undefined;
1898
1943
  sessionId: string | undefined;
1899
1944
  delegatedBy: string | undefined;
@@ -2170,9 +2215,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2170
2215
  name?: string;
2171
2216
  status?: "active" | "archived";
2172
2217
  defaultProjectVisibility?: "private" | "team" | "firm" | "external" | "public";
2173
- restore
2174
- /** Target environment. Defaults to production if not specified. */
2175
- ? /** Target environment. Defaults to production if not specified. */: boolean;
2218
+ restore?: boolean;
2176
2219
  metadata?: JsonObject;
2177
2220
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2178
2221
  listMemberships(query?: GatewayScope & {
@@ -2332,22 +2375,35 @@ declare function createLucernClient(config?: LucernClientConfig): {
2332
2375
  identity: {
2333
2376
  whoami(): Promise<PlatformGatewaySuccess<{
2334
2377
  principalId: string;
2335
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
2378
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
2379
+ clerkId: string | undefined;
2336
2380
  tenantId: string | null;
2337
2381
  workspaceId: string | null;
2338
2382
  scopes: string[];
2339
2383
  roles: string[];
2384
+ groupIds: string[];
2385
+ permittedToolNames: string[];
2386
+ permittedPackKeys: string[];
2387
+ principalStatus: string | undefined;
2388
+ tenantStatus: string | undefined;
2389
+ workspaceStatus: string | undefined;
2340
2390
  isPlatformAdmin: boolean;
2341
2391
  isTenantAdmin: boolean;
2342
2392
  isWorkspaceAdmin: boolean;
2393
+ permit: {
2394
+ subject: string;
2395
+ tenant: string;
2396
+ workspace?: string;
2397
+ } | undefined;
2343
2398
  authMode: string | undefined;
2344
2399
  sessionId: string | undefined;
2345
2400
  delegatedBy: string | undefined;
2346
2401
  expiresAt: number | undefined;
2347
2402
  }>>;
2403
+ resolveInteractivePrincipal(input: ResolveInteractivePrincipalInput): Promise<PlatformGatewaySuccess<ResolvedInteractivePrincipalContext>>;
2348
2404
  listPrincipals(query?: GatewayScope & {
2349
2405
  status?: string;
2350
- principalType?: string;
2406
+ principalType? /** Target environment. Defaults to production if not specified. */: string;
2351
2407
  query?: string;
2352
2408
  limit?: number;
2353
2409
  }): Promise<PlatformGatewaySuccess<ListResult<any, "principals">>>;
@@ -2633,8 +2689,11 @@ declare function createLucernClient(config?: LucernClientConfig): {
2633
2689
  applyLensToTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2634
2690
  applyOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2635
2691
  archiveBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2692
+ archiveEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2636
2693
  archiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2637
2694
  archiveQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2695
+ batchCreateEdges(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2696
+ batchCreateEpistemicNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2638
2697
  beginBuildSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2639
2698
  bisectConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2640
2699
  broadcastMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2646,6 +2705,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2646
2705
  createBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2647
2706
  createEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2648
2707
  createEpistemicContract(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2708
+ createEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2649
2709
  createEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2650
2710
  createLens(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2651
2711
  createOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2673,6 +2733,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2673
2733
  getCodeContext(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2674
2734
  getConfidenceHistory(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2675
2735
  getContractStatus(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2736
+ getEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2676
2737
  getEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2677
2738
  getFailureLog(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2678
2739
  getFalsificationQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2686,6 +2747,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2686
2747
  getQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2687
2748
  getTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2688
2749
  getTopicCoverage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2750
+ getTopicGraphSpine(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2689
2751
  getTopicTree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2690
2752
  heartbeatSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2691
2753
  whoami(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2697,6 +2759,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2697
2759
  listAllWorktrees(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2698
2760
  listBeliefs(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2699
2761
  listCampaigns(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2762
+ listEpistemicNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2700
2763
  listEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2701
2764
  listGraphIntelligenceQueries(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2702
2765
  listLenses(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2707,6 +2770,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2707
2770
  listWorktrees(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2708
2771
  manageWritePolicy(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2709
2772
  matchEntityType(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2773
+ materializeTopicGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2710
2774
  merge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2711
2775
  modulateConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2712
2776
  openPullRequest(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2720,22 +2784,34 @@ declare function createLucernClient(config?: LucernClientConfig): {
2720
2784
  refineBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2721
2785
  refineQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2722
2786
  registerSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2787
+ removeEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2788
+ removeEdgesBetween(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2723
2789
  removeLensFromTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2724
2790
  resolveEffectiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2791
+ resolveInteractivePrincipal(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2725
2792
  runGraphIntelligenceQuery(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2726
2793
  searchBeliefs(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2727
2794
  searchEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2728
2795
  seedBeliefLattice(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2729
2796
  sendAgentMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2797
+ supersedeEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2730
2798
  traceEntityImpact(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2731
2799
  traverseGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2732
2800
  triggerBeliefReview(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2801
+ updateEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2802
+ updateEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2733
2803
  updateOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2734
2804
  updateQuestionStatus(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2735
2805
  updateTask(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2736
2806
  updateTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2737
2807
  updateWorktreeMetadata(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2738
2808
  updateWorktreeTargets(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2809
+ verifyEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2810
+ };
2811
+ controlPlane: {
2812
+ identity: {
2813
+ resolveInteractivePrincipal(input: ResolveInteractivePrincipalInput): Promise<ResolveInteractivePrincipalResponse>;
2814
+ };
2739
2815
  };
2740
2816
  toolRegistry: {
2741
2817
  listCatalog(input: ToolRegistryQuery): Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;