@lucern/sdk 0.3.0-alpha.8 → 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 (155) 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 +3 -0
  17. package/dist/beliefs/index.js +1212 -667
  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 +147 -68
  22. package/dist/client.js +1212 -667
  23. package/dist/client.js.map +1 -1
  24. package/dist/clientHelpers.d.ts +21 -2
  25. package/dist/clientHelpers.js +16 -1
  26. package/dist/clientHelpers.js.map +1 -1
  27. package/dist/contextClient.js +19 -1
  28. package/dist/contextClient.js.map +1 -1
  29. package/dist/contracts/api-enums.contract.d.ts +1 -1
  30. package/dist/contracts/api-enums.contract.js +6 -1
  31. package/dist/contracts/api-enums.contract.js.map +1 -1
  32. package/dist/contracts/auth-session.contract.d.ts +1 -1
  33. package/dist/contracts/auth-session.contract.js +14 -2
  34. package/dist/contracts/auth-session.contract.js.map +1 -1
  35. package/dist/contracts/index.js +26 -3
  36. package/dist/contracts/index.js.map +1 -1
  37. package/dist/contracts/mcpTools.js +6 -0
  38. package/dist/contracts/mcpTools.js.map +1 -1
  39. package/dist/contradictions/index.d.ts +3 -0
  40. package/dist/contradictions/index.js +1212 -667
  41. package/dist/contradictions/index.js.map +1 -1
  42. package/dist/control-plane.d.ts +69 -0
  43. package/dist/control-plane.js +674 -0
  44. package/dist/control-plane.js.map +1 -0
  45. package/dist/coreClient.d.ts +17 -1
  46. package/dist/coreClient.js +19 -1
  47. package/dist/coreClient.js.map +1 -1
  48. package/dist/decisions/index.d.ts +3 -0
  49. package/dist/decisions/index.js +1212 -667
  50. package/dist/decisions/index.js.map +1 -1
  51. package/dist/decisionsClient.js +19 -1
  52. package/dist/decisionsClient.js.map +1 -1
  53. package/dist/edges/index.d.ts +27 -84
  54. package/dist/edges/index.js +1212 -667
  55. package/dist/edges/index.js.map +1 -1
  56. package/dist/embeddingsClient.js +19 -1
  57. package/dist/embeddingsClient.js.map +1 -1
  58. package/dist/eventingClient.js +19 -1
  59. package/dist/eventingClient.js.map +1 -1
  60. package/dist/eventsCore.js +19 -1
  61. package/dist/eventsCore.js.map +1 -1
  62. package/dist/evidence/index.d.ts +3 -0
  63. package/dist/evidence/index.js +1212 -667
  64. package/dist/evidence/index.js.map +1 -1
  65. package/dist/evidenceClient.js +19 -1
  66. package/dist/evidenceClient.js.map +1 -1
  67. package/dist/functionSurface.d.ts +16 -1
  68. package/dist/functionSurface.js +95 -2
  69. package/dist/functionSurface.js.map +1 -1
  70. package/dist/functionSurfaceClient.js +95 -2
  71. package/dist/functionSurfaceClient.js.map +1 -1
  72. package/dist/gatewayFacades.d.ts +29 -2
  73. package/dist/gatewayFacades.js +156 -8
  74. package/dist/gatewayFacades.js.map +1 -1
  75. package/dist/graphAnalysisClient.js +19 -1
  76. package/dist/graphAnalysisClient.js.map +1 -1
  77. package/dist/graphClient.d.ts +1 -0
  78. package/dist/graphClient.js +19 -1
  79. package/dist/graphClient.js.map +1 -1
  80. package/dist/graphIntel.d.ts +1 -0
  81. package/dist/graphRecommendationsClient.js +19 -1
  82. package/dist/graphRecommendationsClient.js.map +1 -1
  83. package/dist/graphStateClassifierClient.js +19 -1
  84. package/dist/graphStateClassifierClient.js.map +1 -1
  85. package/dist/harnessClient.js +19 -1
  86. package/dist/harnessClient.js.map +1 -1
  87. package/dist/identityClient.d.ts +19 -1
  88. package/dist/identityClient.js +152 -6
  89. package/dist/identityClient.js.map +1 -1
  90. package/dist/index.d.ts +5 -1
  91. package/dist/index.js +1428 -799
  92. package/dist/index.js.map +1 -1
  93. package/dist/infisicalRuntime.d.ts +1 -0
  94. package/dist/infisicalRuntime.js +64 -32
  95. package/dist/infisicalRuntime.js.map +1 -1
  96. package/dist/jobsClient.js +19 -1
  97. package/dist/jobsClient.js.map +1 -1
  98. package/dist/learningClient.js +19 -1
  99. package/dist/learningClient.js.map +1 -1
  100. package/dist/lenses/index.d.ts +3 -0
  101. package/dist/lenses/index.js +1212 -667
  102. package/dist/lenses/index.js.map +1 -1
  103. package/dist/mcpClient.js +21 -2
  104. package/dist/mcpClient.js.map +1 -1
  105. package/dist/modelRuntimeClient.js +19 -1
  106. package/dist/modelRuntimeClient.js.map +1 -1
  107. package/dist/nodes/index.d.ts +22 -15
  108. package/dist/nodes/index.js +1212 -667
  109. package/dist/nodes/index.js.map +1 -1
  110. package/dist/ontologies/index.d.ts +3 -0
  111. package/dist/ontologies/index.js +1212 -667
  112. package/dist/ontologies/index.js.map +1 -1
  113. package/dist/ontologyClient.js +19 -1
  114. package/dist/ontologyClient.js.map +1 -1
  115. package/dist/ontologyLinksClient.js +19 -1
  116. package/dist/ontologyLinksClient.js.map +1 -1
  117. package/dist/orgGraphSearchClient.js +19 -1
  118. package/dist/orgGraphSearchClient.js.map +1 -1
  119. package/dist/packsClient.js +19 -1
  120. package/dist/packsClient.js.map +1 -1
  121. package/dist/policyClient.js +19 -1
  122. package/dist/policyClient.js.map +1 -1
  123. package/dist/questions/index.d.ts +3 -0
  124. package/dist/questions/index.js +1212 -667
  125. package/dist/questions/index.js.map +1 -1
  126. package/dist/reportsClient.js +19 -1
  127. package/dist/reportsClient.js.map +1 -1
  128. package/dist/schemaClient.js +19 -1
  129. package/dist/schemaClient.js.map +1 -1
  130. package/dist/secrets.d.ts +1 -0
  131. package/dist/secrets.js +3 -0
  132. package/dist/secrets.js.map +1 -0
  133. package/dist/sourcesClient.js +19 -1
  134. package/dist/sourcesClient.js.map +1 -1
  135. package/dist/telemetryClient.js +19 -1
  136. package/dist/telemetryClient.js.map +1 -1
  137. package/dist/toolRegistryClient.js +19 -1
  138. package/dist/toolRegistryClient.js.map +1 -1
  139. package/dist/topics/index.d.ts +12 -3
  140. package/dist/topics/index.js +1214 -667
  141. package/dist/topics/index.js.map +1 -1
  142. package/dist/topicsClient.d.ts +2 -0
  143. package/dist/topicsClient.js +19 -1
  144. package/dist/topicsClient.js.map +1 -1
  145. package/dist/types.d.ts +17 -0
  146. package/dist/version.d.ts +1 -1
  147. package/dist/version.js +1 -1
  148. package/dist/version.js.map +1 -1
  149. package/dist/workflowClient.d.ts +2 -0
  150. package/dist/workflowClient.js +19 -1
  151. package/dist/workflowClient.js.map +1 -1
  152. package/dist/worktrees/index.d.ts +3 -0
  153. package/dist/worktrees/index.js +1212 -667
  154. package/dist/worktrees/index.js.map +1 -1
  155. 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,11 +35,12 @@ 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';
40
42
  import { WorkflowClientConfig, WorkflowLensPerspectiveType, WorkflowLensStatus, AddWorktreeInput, WorkflowWorktreeStatus, UpdateWorktreeTargetsInput, MergeInput, CreateTaskInput, CompleteTaskInput, UpdateTaskInput, WorkflowBranchStatus, CompleteWorktreeInput, AdvanceWorktreePhaseInput, SetWorktreePhaseInput, PatchWorktreeStateInput, BulkCreateWorktreesInput, ListTopicsInput, SwitchTopicContextInput } from './workflowClient.js';
43
+ import { CustomToolInput as CustomToolInput$1 } from './clientHelpers.js';
41
44
  import './authContext.js';
42
45
  import './contracts/auth-session.contract.js';
43
46
  import './contracts/workflow-runtime.contract.js';
@@ -49,11 +52,11 @@ import '@lucern/contracts';
49
52
  import 'zod';
50
53
  import '@lucern/contracts/tool-contracts';
51
54
 
52
- 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;
53
- type CustomToolInput = JsonObject;
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;
56
+ type CustomToolInput = CustomToolInput$1;
54
57
  type CustomToolInvoker = (input?: CustomToolInput) => Promise<unknown>;
55
58
  type CustomToolNamespace = Record<string, CustomToolInvoker>;
56
- 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>);
57
60
  type BeliefsCompatCreateInput = {
58
61
  topicId?: string;
59
62
  text?: string;
@@ -88,12 +91,17 @@ type LucernClientConfig = ClientConfig & {
88
91
  /** API key for authenticating with the Lucern platform. */
89
92
  apiKey?: string;
90
93
  /**
91
- * Optional Clerk JWT for per-user identity and RBAC.
92
- * When present, the SDK operates in user-scoped mode with
93
- * 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.
94
97
  */
95
- /** Lucern platform session token for interactive/user-scoped requests. */
96
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;
97
105
  /**
98
106
  * Optional pack key for auto-install convenience.
99
107
  * When set, the SDK will call `packs.install()` on first use
@@ -410,55 +418,27 @@ declare function createLucernClient(config?: LucernClientConfig): {
410
418
  }>>;
411
419
  };
412
420
  edges: {
413
- create(args: {
414
- sourceId: string;
415
- targetId: string;
421
+ create(args: FunctionSurfaceInput & {
422
+ from?: unknown;
423
+ to?: unknown;
424
+ sourceId?: string;
425
+ targetId?: string;
416
426
  edgeType: string;
417
427
  topicId?: string;
418
428
  confidence?: number;
419
429
  weight?: number;
420
430
  context?: string;
421
431
  reasoning?: string;
422
- }): Promise<GatewayDataEnvelope<{
423
- [x: string]: unknown;
424
- }>>;
425
- update(input: Parameters<(input: {
426
- edgeId: string;
427
- weight?: number;
428
- confidence?: number;
429
- context?: string;
430
- derivationType?: string;
431
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
432
- [x: string]: unknown;
433
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
434
- [x: string]: unknown;
435
- }>>;
436
- remove(input: Parameters<(input: {
437
- edgeId: string;
438
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
439
- [x: string]: unknown;
440
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
441
- [x: string]: unknown;
442
- }>>;
443
- removeBetween(input: Parameters<(input: {
444
- fromNodeId: string;
445
- toNodeId: string;
446
- edgeType?: string;
447
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
448
- [x: string]: unknown;
449
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
450
- [x: string]: unknown;
451
- }>>;
452
- batchCreate(input: Parameters<(input: {
453
- edges: {
454
- [x: string]: unknown;
455
- }[];
456
- skipLayerValidation?: boolean;
457
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
458
- [x: string]: unknown;
459
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
460
- [x: string]: unknown;
461
- }>>;
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>>;
462
442
  delete(input: Parameters<(input: {
463
443
  edgeIds: string[];
464
444
  }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
@@ -760,9 +740,12 @@ declare function createLucernClient(config?: LucernClientConfig): {
760
740
  nodes: {
761
741
  list: (query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
762
742
  get(input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
763
- create: (input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
764
- update: (input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
765
- 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>>;
766
749
  listByTopicAndType(input: {
767
750
  topicId?: string;
768
751
  projectId?: string;
@@ -781,8 +764,9 @@ declare function createLucernClient(config?: LucernClientConfig): {
781
764
  query?: string;
782
765
  limit?: number;
783
766
  }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
784
- supersede: (input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
785
- 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>>;
786
770
  hardDelete: (input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
787
771
  };
788
772
  createEdge: (input: CreateEdgeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
@@ -1186,7 +1170,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
1186
1170
  topics: {
1187
1171
  list(input?: Parameters<(query?: TopicListInput) => Promise<PlatformGatewaySuccess<TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<TopicListResponse>>;
1188
1172
  get: (topicId: string) => Promise<PlatformGatewaySuccess<TopicRecord>>;
1189
- 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>>;
1190
1174
  update(topicId: string, input: Parameters<(topicId: string, input: TopicUpdateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TopicRecord>>>[1]): Promise<PlatformGatewaySuccess<TopicRecord>>;
1191
1175
  tree(topicId: string, query?: Parameters<(topicId: string, query?: TopicTreeQuery) => Promise<PlatformGatewaySuccess<TopicTreeResponse>>>[1]): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
1192
1176
  getTree(input: {
@@ -1196,6 +1180,10 @@ declare function createLucernClient(config?: LucernClientConfig): {
1196
1180
  coverage(topicId: string, query?: Parameters<(topicId: string, query?: TopicCoverageQuery) => Promise<PlatformGatewaySuccess<TopicCoverageResponse>>>[1]): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
1197
1181
  remove: (topicId: string, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1198
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>>;
1199
1187
  };
1200
1188
  answers: {
1201
1189
  create(input: FunctionSurfaceInput): Promise<PlatformGatewaySuccess<{
@@ -1736,9 +1724,12 @@ declare function createLucernClient(config?: LucernClientConfig): {
1736
1724
  nodes: {
1737
1725
  list: (query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
1738
1726
  get(input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1739
- create: (input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1740
- update: (input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1741
- 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>>;
1742
1733
  listByTopicAndType(input: {
1743
1734
  topicId?: string;
1744
1735
  projectId?: string;
@@ -1757,11 +1748,29 @@ declare function createLucernClient(config?: LucernClientConfig): {
1757
1748
  query?: string;
1758
1749
  limit?: number;
1759
1750
  }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1760
- supersede: (input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1761
- 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>>;
1762
1754
  hardDelete: (input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1763
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
+ };
1764
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>>;
1765
1774
  evaluatePolicy: (input: PolicyEvaluationInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
1766
1775
  recordPolicyDecision: (input: RecordPolicyDecisionInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
1767
1776
  putSecretReference: (input: PutTenantSecretReferenceInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TenantSecretReference>>;
@@ -1786,22 +1795,35 @@ declare function createLucernClient(config?: LucernClientConfig): {
1786
1795
  raw: {
1787
1796
  whoami(): Promise<PlatformGatewaySuccess<{
1788
1797
  principalId: string;
1789
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
1798
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
1799
+ clerkId: string | undefined;
1790
1800
  tenantId: string | null;
1791
1801
  workspaceId: string | null;
1792
1802
  scopes: string[];
1793
1803
  roles: string[];
1804
+ groupIds: string[];
1805
+ permittedToolNames: string[];
1806
+ permittedPackKeys: string[];
1807
+ principalStatus: string | undefined;
1808
+ tenantStatus: string | undefined;
1809
+ workspaceStatus: string | undefined;
1794
1810
  isPlatformAdmin: boolean;
1795
1811
  isTenantAdmin: boolean;
1796
1812
  isWorkspaceAdmin: boolean;
1813
+ permit: {
1814
+ subject: string;
1815
+ tenant: string;
1816
+ workspace?: string;
1817
+ } | undefined;
1797
1818
  authMode: string | undefined;
1798
1819
  sessionId: string | undefined;
1799
1820
  delegatedBy: string | undefined;
1800
1821
  expiresAt: number | undefined;
1801
1822
  }>>;
1823
+ resolveInteractivePrincipal(input: ResolveInteractivePrincipalInput): Promise<PlatformGatewaySuccess<ResolvedInteractivePrincipalContext>>;
1802
1824
  listPrincipals(query?: GatewayScope & {
1803
1825
  status?: string;
1804
- principalType?: string;
1826
+ principalType? /** Target environment. Defaults to production if not specified. */: string;
1805
1827
  query?: string;
1806
1828
  limit?: number;
1807
1829
  }): Promise<PlatformGatewaySuccess<ListResult<any, "principals">>>;
@@ -1871,28 +1893,52 @@ declare function createLucernClient(config?: LucernClientConfig): {
1871
1893
  };
1872
1894
  whoami(): Promise<PlatformGatewaySuccess<{
1873
1895
  principalId: string;
1874
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
1896
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
1897
+ clerkId: string | undefined;
1875
1898
  tenantId: string | null;
1876
1899
  workspaceId: string | null;
1877
1900
  scopes: string[];
1878
1901
  roles: string[];
1902
+ groupIds: string[];
1903
+ permittedToolNames: string[];
1904
+ permittedPackKeys: string[];
1905
+ principalStatus: string | undefined;
1906
+ tenantStatus: string | undefined;
1907
+ workspaceStatus: string | undefined;
1879
1908
  isPlatformAdmin: boolean;
1880
1909
  isTenantAdmin: boolean;
1881
1910
  isWorkspaceAdmin: boolean;
1911
+ permit: {
1912
+ subject: string;
1913
+ tenant: string;
1914
+ workspace?: string;
1915
+ } | undefined;
1882
1916
  authMode: string | undefined;
1883
1917
  sessionId: string | undefined;
1884
1918
  delegatedBy: string | undefined;
1885
1919
  expiresAt: number | undefined;
1886
1920
  }> & {
1887
1921
  principalId: string;
1888
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
1922
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
1923
+ clerkId: string | undefined;
1889
1924
  tenantId: string | null;
1890
1925
  workspaceId: string | null;
1891
1926
  scopes: string[];
1892
1927
  roles: string[];
1928
+ groupIds: string[];
1929
+ permittedToolNames: string[];
1930
+ permittedPackKeys: string[];
1931
+ principalStatus: string | undefined;
1932
+ tenantStatus: string | undefined;
1933
+ workspaceStatus: string | undefined;
1893
1934
  isPlatformAdmin: boolean;
1894
1935
  isTenantAdmin: boolean;
1895
1936
  isWorkspaceAdmin: boolean;
1937
+ permit: {
1938
+ subject: string;
1939
+ tenant: string;
1940
+ workspace?: string;
1941
+ } | undefined;
1896
1942
  authMode: string | undefined;
1897
1943
  sessionId: string | undefined;
1898
1944
  delegatedBy: string | undefined;
@@ -2329,22 +2375,35 @@ declare function createLucernClient(config?: LucernClientConfig): {
2329
2375
  identity: {
2330
2376
  whoami(): Promise<PlatformGatewaySuccess<{
2331
2377
  principalId: string;
2332
- principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
2378
+ principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
2379
+ clerkId: string | undefined;
2333
2380
  tenantId: string | null;
2334
2381
  workspaceId: string | null;
2335
2382
  scopes: string[];
2336
2383
  roles: string[];
2384
+ groupIds: string[];
2385
+ permittedToolNames: string[];
2386
+ permittedPackKeys: string[];
2387
+ principalStatus: string | undefined;
2388
+ tenantStatus: string | undefined;
2389
+ workspaceStatus: string | undefined;
2337
2390
  isPlatformAdmin: boolean;
2338
2391
  isTenantAdmin: boolean;
2339
2392
  isWorkspaceAdmin: boolean;
2393
+ permit: {
2394
+ subject: string;
2395
+ tenant: string;
2396
+ workspace?: string;
2397
+ } | undefined;
2340
2398
  authMode: string | undefined;
2341
2399
  sessionId: string | undefined;
2342
2400
  delegatedBy: string | undefined;
2343
2401
  expiresAt: number | undefined;
2344
2402
  }>>;
2403
+ resolveInteractivePrincipal(input: ResolveInteractivePrincipalInput): Promise<PlatformGatewaySuccess<ResolvedInteractivePrincipalContext>>;
2345
2404
  listPrincipals(query?: GatewayScope & {
2346
2405
  status?: string;
2347
- principalType?: string;
2406
+ principalType? /** Target environment. Defaults to production if not specified. */: string;
2348
2407
  query?: string;
2349
2408
  limit?: number;
2350
2409
  }): Promise<PlatformGatewaySuccess<ListResult<any, "principals">>>;
@@ -2630,8 +2689,11 @@ declare function createLucernClient(config?: LucernClientConfig): {
2630
2689
  applyLensToTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2631
2690
  applyOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2632
2691
  archiveBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2692
+ archiveEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2633
2693
  archiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2634
2694
  archiveQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2695
+ batchCreateEdges(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2696
+ batchCreateEpistemicNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2635
2697
  beginBuildSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2636
2698
  bisectConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2637
2699
  broadcastMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2643,6 +2705,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2643
2705
  createBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2644
2706
  createEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2645
2707
  createEpistemicContract(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2708
+ createEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2646
2709
  createEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2647
2710
  createLens(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2648
2711
  createOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2670,6 +2733,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2670
2733
  getCodeContext(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2671
2734
  getConfidenceHistory(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2672
2735
  getContractStatus(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2736
+ getEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2673
2737
  getEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2674
2738
  getFailureLog(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2675
2739
  getFalsificationQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2683,6 +2747,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2683
2747
  getQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2684
2748
  getTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2685
2749
  getTopicCoverage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2750
+ getTopicGraphSpine(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2686
2751
  getTopicTree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2687
2752
  heartbeatSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2688
2753
  whoami(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2694,6 +2759,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2694
2759
  listAllWorktrees(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2695
2760
  listBeliefs(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2696
2761
  listCampaigns(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2762
+ listEpistemicNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2697
2763
  listEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2698
2764
  listGraphIntelligenceQueries(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2699
2765
  listLenses(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2704,6 +2770,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
2704
2770
  listWorktrees(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2705
2771
  manageWritePolicy(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2706
2772
  matchEntityType(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2773
+ materializeTopicGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2707
2774
  merge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2708
2775
  modulateConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2709
2776
  openPullRequest(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
@@ -2717,22 +2784,34 @@ declare function createLucernClient(config?: LucernClientConfig): {
2717
2784
  refineBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2718
2785
  refineQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2719
2786
  registerSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2787
+ removeEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2788
+ removeEdgesBetween(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2720
2789
  removeLensFromTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2721
2790
  resolveEffectiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2791
+ resolveInteractivePrincipal(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2722
2792
  runGraphIntelligenceQuery(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2723
2793
  searchBeliefs(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2724
2794
  searchEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2725
2795
  seedBeliefLattice(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2726
2796
  sendAgentMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2797
+ supersedeEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2727
2798
  traceEntityImpact(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2728
2799
  traverseGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2729
2800
  triggerBeliefReview(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2801
+ updateEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2802
+ updateEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2730
2803
  updateOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2731
2804
  updateQuestionStatus(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2732
2805
  updateTask(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2733
2806
  updateTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2734
2807
  updateWorktreeMetadata(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
2735
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
+ };
2736
2815
  };
2737
2816
  toolRegistry: {
2738
2817
  listCatalog(input: ToolRegistryQuery): Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;