@lucern/sdk 0.3.0-alpha.2 → 0.3.0-alpha.4
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.
- package/dist/adminClient.d.ts +2 -0
- package/dist/adminClient.js +195 -3
- package/dist/adminClient.js.map +1 -1
- package/dist/answersClient.d.ts +2 -0
- package/dist/answersClient.js +195 -3
- package/dist/answersClient.js.map +1 -1
- package/dist/audiencesClient.d.ts +2 -0
- package/dist/audiencesClient.js +195 -3
- package/dist/audiencesClient.js.map +1 -1
- package/dist/auditClient.d.ts +2 -0
- package/dist/auditClient.js +197 -5
- package/dist/auditClient.js.map +1 -1
- package/dist/authContext.d.ts +56 -0
- package/dist/authContext.js +170 -0
- package/dist/authContext.js.map +1 -0
- package/dist/authDeviceClient.d.ts +49 -0
- package/dist/authDeviceClient.js +108 -0
- package/dist/authDeviceClient.js.map +1 -0
- package/dist/beliefs/index.d.ts +19 -2
- package/dist/beliefs/index.js +2648 -327
- package/dist/beliefs/index.js.map +1 -1
- package/dist/beliefsClient.d.ts +2 -0
- package/dist/beliefsClient.js +199 -7
- package/dist/beliefsClient.js.map +1 -1
- package/dist/boundaryClientSurface.d.ts +20 -0
- package/dist/boundaryClientSurface.js +66 -0
- package/dist/boundaryClientSurface.js.map +1 -0
- package/dist/{client-B6aWUUwp.d.ts → client-DOLqClbU.d.ts} +548 -9
- package/dist/client.d.ts +20 -3
- package/dist/client.js +2648 -327
- package/dist/client.js.map +1 -1
- package/dist/contextClient.d.ts +2 -0
- package/dist/contextClient.js +201 -9
- package/dist/contextClient.js.map +1 -1
- package/dist/contracts/api-enums.contract.d.ts +1 -1
- package/dist/contracts/api-enums.contract.js.map +1 -1
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.js +104 -1
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/mcpTools.d.ts +46 -1
- package/dist/contracts/mcpTools.js +102 -0
- package/dist/contracts/mcpTools.js.map +1 -1
- package/dist/contradictions/index.d.ts +19 -2
- package/dist/contradictions/index.js +2648 -327
- package/dist/contradictions/index.js.map +1 -1
- package/dist/coreClient.d.ts +9 -0
- package/dist/coreClient.js +195 -3
- package/dist/coreClient.js.map +1 -1
- package/dist/decisions/index.d.ts +19 -2
- package/dist/decisions/index.js +2648 -327
- package/dist/decisions/index.js.map +1 -1
- package/dist/decisionsClient.d.ts +2 -0
- package/dist/decisionsClient.js +198 -6
- package/dist/decisionsClient.js.map +1 -1
- package/dist/edges/index.d.ts +19 -2
- package/dist/edges/index.js +2648 -327
- package/dist/edges/index.js.map +1 -1
- package/dist/embeddingsClient.d.ts +106 -0
- package/dist/embeddingsClient.js +708 -0
- package/dist/embeddingsClient.js.map +1 -0
- package/dist/eventingClient.d.ts +96 -0
- package/dist/eventingClient.js +705 -0
- package/dist/eventingClient.js.map +1 -0
- package/dist/eventsCore.d.ts +2 -0
- package/dist/eventsCore.js +195 -3
- package/dist/eventsCore.js.map +1 -1
- package/dist/evidence/index.d.ts +19 -2
- package/dist/evidence/index.js +2648 -327
- package/dist/evidence/index.js.map +1 -1
- package/dist/evidenceClient.d.ts +2 -0
- package/dist/evidenceClient.js +195 -3
- package/dist/evidenceClient.js.map +1 -1
- package/dist/gatewayFacades.d.ts +38 -3
- package/dist/gatewayFacades.js +371 -12
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/graphAnalysisClient.d.ts +147 -0
- package/dist/graphAnalysisClient.js +756 -0
- package/dist/graphAnalysisClient.js.map +1 -0
- package/dist/graphClient.d.ts +2 -0
- package/dist/graphClient.js +202 -10
- package/dist/graphClient.js.map +1 -1
- package/dist/graphRecommendationsClient.d.ts +56 -0
- package/dist/graphRecommendationsClient.js +646 -0
- package/dist/graphRecommendationsClient.js.map +1 -0
- package/dist/graphStateClassifierClient.d.ts +73 -0
- package/dist/graphStateClassifierClient.js +694 -0
- package/dist/graphStateClassifierClient.js.map +1 -0
- package/dist/harnessClient.d.ts +2 -0
- package/dist/harnessClient.js +197 -5
- package/dist/harnessClient.js.map +1 -1
- package/dist/identityClient.d.ts +89 -3
- package/dist/identityClient.js +363 -4
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +23 -4
- package/dist/index.js +3098 -353
- package/dist/index.js.map +1 -1
- package/dist/infisicalRuntime.d.ts +42 -0
- package/dist/infisicalRuntime.js +291 -0
- package/dist/infisicalRuntime.js.map +1 -0
- package/dist/jobsClient.d.ts +98 -0
- package/dist/jobsClient.js +704 -0
- package/dist/jobsClient.js.map +1 -0
- package/dist/learningClient.d.ts +2 -0
- package/dist/learningClient.js +197 -5
- package/dist/learningClient.js.map +1 -1
- package/dist/lenses/index.d.ts +43 -2
- package/dist/lenses/index.js +2648 -327
- package/dist/lenses/index.js.map +1 -1
- package/dist/mcpClient.d.ts +28 -0
- package/dist/mcpClient.js +650 -0
- package/dist/mcpClient.js.map +1 -0
- package/dist/modelRuntimeClient.d.ts +72 -0
- package/dist/modelRuntimeClient.js +681 -0
- package/dist/modelRuntimeClient.js.map +1 -0
- package/dist/nodes/index.d.ts +37 -2
- package/dist/nodes/index.js +2648 -327
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.d.ts +19 -2
- package/dist/ontologies/index.js +2648 -327
- package/dist/ontologies/index.js.map +1 -1
- package/dist/ontologyClient.d.ts +2 -0
- package/dist/ontologyClient.js +195 -3
- package/dist/ontologyClient.js.map +1 -1
- package/dist/ontologyLinksClient.d.ts +71 -0
- package/dist/ontologyLinksClient.js +675 -0
- package/dist/ontologyLinksClient.js.map +1 -0
- package/dist/orgGraphSearchClient.d.ts +85 -0
- package/dist/orgGraphSearchClient.js +652 -0
- package/dist/orgGraphSearchClient.js.map +1 -0
- package/dist/packRuntime.d.ts +1 -2
- package/dist/packsClient.d.ts +2 -0
- package/dist/packsClient.js +195 -3
- package/dist/packsClient.js.map +1 -1
- package/dist/policyClient.d.ts +2 -0
- package/dist/policyClient.js +195 -3
- package/dist/policyClient.js.map +1 -1
- package/dist/questions/index.d.ts +19 -2
- package/dist/questions/index.js +2648 -327
- package/dist/questions/index.js.map +1 -1
- package/dist/reportsClient.d.ts +2 -0
- package/dist/reportsClient.js +197 -5
- package/dist/reportsClient.js.map +1 -1
- package/dist/schemaClient.d.ts +2 -0
- package/dist/schemaClient.js +195 -3
- package/dist/schemaClient.js.map +1 -1
- package/dist/sdkSurface.d.ts +2 -0
- package/dist/sourcesClient.d.ts +2 -0
- package/dist/sourcesClient.js +195 -3
- package/dist/sourcesClient.js.map +1 -1
- package/dist/telemetryClient.d.ts +94 -0
- package/dist/telemetryClient.js +719 -0
- package/dist/telemetryClient.js.map +1 -0
- package/dist/toolRegistryClient.d.ts +107 -0
- package/dist/toolRegistryClient.js +733 -0
- package/dist/toolRegistryClient.js.map +1 -0
- package/dist/topics/index.d.ts +19 -2
- package/dist/topics/index.js +2648 -327
- package/dist/topics/index.js.map +1 -1
- package/dist/topicsClient.d.ts +2 -0
- package/dist/topicsClient.js +200 -8
- package/dist/topicsClient.js.map +1 -1
- package/dist/workflowClient.d.ts +43 -7
- package/dist/workflowClient.js +200 -8
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.d.ts +43 -2
- package/dist/worktrees/index.js +2648 -327
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import { AudiencesClientConfig, AudienceRegistryInput, AudienceGrantInput, AudienceGrantRevokeInput } from './audiencesClient.js';
|
|
2
2
|
import { SchemaClientConfig, SchemaPackInstallInput, SchemaEntitlementInput } from './schemaClient.js';
|
|
3
3
|
import { HarnessClientConfig, HarnessAgentWriteInput, HarnessInvokeManagedAgentInput, HarnessToolWriteInput, HarnessExecuteToolInput, HarnessExecuteToolResult, HarnessStartRunInput, HarnessRunReportInput, HarnessCompleteRunInput } from './harnessClient.js';
|
|
4
|
-
import { IdentityClientConfig, ClerkUserSearchResult } from './identityClient.js';
|
|
5
4
|
import { AdminClientConfig, TenantApiKeyRecord, TenantVaultSecretRecord, TenantConfigRecord, TenantModelRoutingSnapshot } from './adminClient.js';
|
|
6
5
|
import { ControlObjectOwnershipContract } from './controlObjectOwnership.js';
|
|
7
6
|
import { BeliefsClientConfig, ModulateConfidenceInput, OpinionHistoryEntry, CreateBeliefInput, RefineBeliefInput, ModulateConfidenceOpinionInput, ForkBeliefInput, UpdateBeliefStatusInput, UpdateBeliefRationaleInput, LinkBeliefsInput, UnlinkBeliefEvidenceInput, UpdateBeliefCriticalityInput, BatchUpdateBeliefCriticalityInput, ReassignBeliefsTopicInput } from './beliefsClient.js';
|
|
7
|
+
import { DeviceCodeInput, DeviceCodeResponse, DeviceTokenResponse } from './authDeviceClient.js';
|
|
8
|
+
import { McpBootstrapSessionInput, McpBootstrapSessionResponse, McpCheckWritePolicyInput, McpCheckWritePolicyResponse, McpBeginBuildSessionInput, McpBeginBuildSessionResponse, McpEvaluateEngineeringContractInput, McpContractEvaluationResponse, McpEvaluateResearchContractInput } from './mcpClient.js';
|
|
9
|
+
import { IdentityClientConfig, PolicyEvaluationInput, PolicyDecisionRecord, RecordPolicyDecisionInput, PutTenantSecretReferenceInput, TenantSecretReference, ClerkUserSearchResult, TenantIdentityScope, TenantIdentityConfigRecord, UpdateTenantConfigInput, TenantIntegrationRecord, UpsertTenantIntegrationInput } from './identityClient.js';
|
|
8
10
|
import { PacksClientConfig, PackInstallInput, PackEnableInput, PackDisableInput, PackEntitlementInput, PackUninstallInput, PackUpgradeInput } from './packsClient.js';
|
|
9
11
|
import { CustomToolRegistration, RegisteredCustomTool } from './customTools.js';
|
|
12
|
+
import { ToolRegistryClientConfig, ToolRegistryQuery, ToolCatalogEntry, UpsertCoreToolsInput, SetPackToolsStatusInput, CreateToolAclInput, ToolAclRecord, DeleteToolAclInput, RegisterCustomToolInput } from './toolRegistryClient.js';
|
|
13
|
+
import { TelemetryClientConfig, LogSystemEventInput, LogToolCallsBatchInput, RecordEpistemicAuditInput, RecordTelemetryPolicyDecisionInput, StartTelemetryRunInput, TelemetryRunRecord, FinishTelemetryRunInput, TelemetryScope } from './telemetryClient.js';
|
|
14
|
+
import { JobsClientConfig, EnqueueJobInput, JobRecord, JobsScope, ClaimJobInput, UpdateJobStatusInput, RetryJobInput, RecordJobRunStartInput, JobRunRecord, RecordJobRunFinishInput } from './jobsClient.js';
|
|
15
|
+
import { ModelRuntimeClientConfig, ModelRuntimeScope, ModelRegistryRecord, ModelFunctionSlot, ResolveModelSlotInput, UpdateModelSlotConfigInput } from './modelRuntimeClient.js';
|
|
16
|
+
import { GraphStateClassifierClientConfig, ClassifyNodeInput, GraphStateClassification, ClassifyTopicInput, ListGraphStateClassificationsInput, RecordGraphStateClassificationInput } from './graphStateClassifierClient.js';
|
|
17
|
+
import { OntologyLinksClientConfig, OntologyLinkWriteInput, OntologyLinkRecord, ListOntologyLinksForNodeInput, UpdateOntologyLinkStatusInput } from './ontologyLinksClient.js';
|
|
18
|
+
import { OrgGraphSearchClientConfig, OrgGraphSearchInput, OrgGraphSearchResponse, GetOrgGraphNodeInput, OrgGraphSearchResult, ListOrgGraphByProvenanceInput, ListPublishedFromWorkspaceInput } from './orgGraphSearchClient.js';
|
|
19
|
+
import { GraphRecommendationsClientConfig, GraphRecommendationListInput, GraphRecommendationRecord, MarkGraphRecommendationStatusInput } from './graphRecommendationsClient.js';
|
|
20
|
+
import { GraphAnalysisClientConfig, SaveGraphAnalysisInput, GraphAnalysisRecord, ListGraphAnalysesInput, GetLatestGraphAnalysisInput, SaveGraphSuggestionsInput, GraphAnalysisSuggestionsResponse, UpdateGraphSuggestionStatusInput, GraphAnalysisSuggestion, ListGraphSuggestionsInput, ListGraphChangesInput, ComputeOrRequestGraphAnalysisInput } from './graphAnalysisClient.js';
|
|
21
|
+
import { EmbeddingsClientConfig, GetEmbeddingsByNodeIdsInput, EmbeddingRecord, ListMissingEmbeddingsInput, MissingEmbeddingCandidate, VectorSearchByTopicInput, VectorSearchMatch, MarkEmbeddingBackfillQueuedInput } from './embeddingsClient.js';
|
|
10
22
|
import { PolicyClientConfig, PermissionDecision, PermissionKind, WritePolicyRecord, WritePolicyCreateInput, WritePolicyUpdateInput, TenantPolicyRecord, TenantPolicyPermission } from './policyClient.js';
|
|
11
23
|
import { GatewayClientConfig, PlatformGatewaySuccess, GatewayScope } from './coreClient.js';
|
|
12
24
|
import { OntologyClientConfig, OntologyBindingInput, OntologyDefinitionInput, OntologyDefinitionUpdateInput, OntologyVersionInput } from './ontologyClient.js';
|
|
@@ -14,13 +26,14 @@ import { CompileContextInput, PublicCompiledContext } from './contextTypes.js';
|
|
|
14
26
|
import { TopicsClientConfig, TopicListInput, TopicCreateInput, TopicUpdateInput, TopicTreeQuery, TopicCoverageQuery, TopicBulkCreateInput } from './topicsClient.js';
|
|
15
27
|
import { AnswersClientConfig } from './answersClient.js';
|
|
16
28
|
import { AuditClientConfig } from './auditClient.js';
|
|
29
|
+
import { JsonObject, ListResult, PlatformSourceRecord, 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';
|
|
17
30
|
import { ContextClientConfig } from './contextClient.js';
|
|
18
31
|
import { LensPromptTemplateReference, LensWorkflowTemplate, LensTaskTemplate } from './contracts/lens-workflow.contract.js';
|
|
19
32
|
import { DecisionsClientConfig, RecordJudgmentInput, ListJudgmentsInput, RecordJudgmentOutcomeInput, GetJudgmentCalibrationInput, ListPendingJudgmentOutcomeReviewInput, GetJudgmentTransitionAuditIntegrityInput } from './decisionsClient.js';
|
|
20
33
|
import { EvidenceClientConfig, EvidenceClassificationRequestConfig, ClassifyEvidenceResult, ClassifyEvidenceBatchItem, ClassifyEvidenceBatchResult } from './evidenceClient.js';
|
|
34
|
+
import { EventingClientConfig, RecordEventInput, EventingRecord, EventingScope, EventingWebhookRecord, EnqueueDeliveryInput, EventingDeliveryRecord, RecordDeliveryAttemptInput, UpdateDeliveryStatusInput } from './eventingClient.js';
|
|
21
35
|
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';
|
|
22
36
|
import { LearningClientConfig } from './learningClient.js';
|
|
23
|
-
import { JsonObject, PlatformSourceRecord, 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';
|
|
24
37
|
import { ReportsClientConfig } from './reportsClient.js';
|
|
25
38
|
import { SourcesClientConfig, UpsertSourceSpec } from './sourcesClient.js';
|
|
26
39
|
import { WorkflowClientConfig, WorkflowLensPerspectiveType, WorkflowLensStatus, AddWorktreeInput, WorkflowWorktreeStatus, UpdateWorktreeTargetsInput, MergeInput, CreateTaskInput, CompleteTaskInput, UpdateTaskInput, WorkflowBranchStatus, CompleteWorktreeInput, AdvanceWorktreePhaseInput, SetWorktreePhaseInput, PatchWorktreeStateInput, BulkCreateWorktreesInput, ListTopicsInput, SwitchTopicContextInput } from './workflowClient.js';
|
|
@@ -28,7 +41,7 @@ import { WorkflowClientConfig, WorkflowLensPerspectiveType, WorkflowLensStatus,
|
|
|
28
41
|
type FunctionSurfaceClientConfig = GatewayClientConfig;
|
|
29
42
|
type FunctionSurfaceInput = JsonObject;
|
|
30
43
|
type FunctionSurfaceResult<T = unknown> = Promise<PlatformGatewaySuccess<T>>;
|
|
31
|
-
declare const FUNCTION_SURFACE_METHOD_PATHS: readonly ["answers.answerQuestion", "answers.createAnswer", "answers.getAnswer", "beliefs.archiveBelief", "beliefs.bisectConfidence", "beliefs.createBelief", "beliefs.forkBelief", "beliefs.getBelief", "beliefs.getConfidenceHistory", "beliefs.listBeliefs", "beliefs.modulateConfidence", "beliefs.refineBelief", "beliefs.searchBeliefs", "bootstrap.generateSessionHandoff", "coding.getChangeHistory", "coding.getCodeContext", "coding.getFailureLog", "coding.recordAttempt", "context.analyzeTopicDensity", "context.applyAutoBranching", "context.compileContext", "context.discover", "context.discoverEntityConnections", "context.getLatticeCoverage", "context.recordScopeLearning", "context.seedBeliefLattice", "context.triggerBeliefReview", "contracts.createEpistemicContract", "contracts.evaluateContract", "contracts.getContractStatus", "contradictions.flagContradiction", "coordination.broadcastMessage", "coordination.claimFiles", "coordination.endSession", "coordination.getAgentInbox", "coordination.heartbeatSession", "coordination.listActiveSessions", "coordination.registerSession", "coordination.sendAgentMessage", "edges.createEdge", "edges.queryLineage", "evidence.addEvidence", "evidence.createEvidence", "evidence.getEvidence", "evidence.linkEvidence", "evidence.linkEvidenceToBelief", "evidence.linkEvidenceToQuestion", "evidence.listEvidence", "evidence.searchEvidence", "graph.detectConfirmationBias", "graph.findContradictions", "graph.getGraphGaps", "graph.getGraphNeighborhood", "graph.getGraphStructureAnalysis", "graph.getTopicCoverage", "graph.traceEntityImpact", "graph.traverseGraph", "identity.checkPermission", "identity.filterByPermission", "identity.whoami", "judgments.getAuditTrail", "judgments.recordJudgment", "lenses.applyLensToTopic", "lenses.createLens", "lenses.listLenses", "lenses.removeLensFromTopic", "observations.getObservationContext", "observations.ingestObservation", "ontologies.applyOntology", "ontologies.archiveOntology", "ontologies.createOntology", "ontologies.createOntologyVersion", "ontologies.deprecateOntologyVersion", "ontologies.getOntology", "ontologies.listOntologies", "ontologies.matchEntityType", "ontologies.publishOntologyVersion", "ontologies.resolveEffectiveOntology", "ontologies.updateOntology", "policy.manageWritePolicy", "questions.archiveQuestion", "questions.createQuestion", "questions.findMissingQuestions", "questions.getFalsificationQuestions", "questions.getHighPriorityQuestions", "questions.getQuestion", "questions.listQuestions", "questions.refineQuestion", "questions.updateQuestionStatus", "tasks.completeTask", "tasks.createTask", "tasks.listTasks", "tasks.updateTask", "topics.createTopic", "topics.getTopic", "topics.getTopicTree", "topics.listTopics", "topics.updateTopic", "worktrees.activateWorktree", "worktrees.addWorktree", "worktrees.listAllWorktrees", "worktrees.listCampaigns", "worktrees.listWorktrees", "worktrees.merge", "worktrees.openPullRequest", "worktrees.pipelineSnapshot", "worktrees.push", "worktrees.updateWorktreeMetadata", "worktrees.updateWorktreeTargets"];
|
|
44
|
+
declare const FUNCTION_SURFACE_METHOD_PATHS: readonly ["answers.answerQuestion", "answers.createAnswer", "answers.getAnswer", "beliefs.archiveBelief", "beliefs.bisectConfidence", "beliefs.createBelief", "beliefs.forkBelief", "beliefs.getBelief", "beliefs.getConfidenceHistory", "beliefs.listBeliefs", "beliefs.modulateConfidence", "beliefs.refineBelief", "beliefs.searchBeliefs", "bootstrap.generateSessionHandoff", "coding.getChangeHistory", "coding.getCodeContext", "coding.getFailureLog", "coding.recordAttempt", "context.analyzeTopicDensity", "context.applyAutoBranching", "context.compileContext", "context.discover", "context.discoverEntityConnections", "context.getLatticeCoverage", "context.recordScopeLearning", "context.seedBeliefLattice", "context.triggerBeliefReview", "contracts.createEpistemicContract", "contracts.evaluateContract", "contracts.getContractStatus", "contradictions.flagContradiction", "coordination.broadcastMessage", "coordination.claimFiles", "coordination.endSession", "coordination.getAgentInbox", "coordination.heartbeatSession", "coordination.listActiveSessions", "coordination.registerSession", "coordination.sendAgentMessage", "edges.createEdge", "edges.queryLineage", "evidence.addEvidence", "evidence.createEvidence", "evidence.getEvidence", "evidence.linkEvidence", "evidence.linkEvidenceToBelief", "evidence.linkEvidenceToQuestion", "evidence.listEvidence", "evidence.searchEvidence", "graph.detectConfirmationBias", "graph.findContradictions", "graph.getGraphGaps", "graph.getGraphNeighborhood", "graph.getGraphStructureAnalysis", "graph.getTopicCoverage", "graph.traceEntityImpact", "graph.traverseGraph", "identity.checkPermission", "identity.filterByPermission", "identity.whoami", "judgments.getAuditTrail", "judgments.recordJudgment", "lenses.applyLensToTopic", "lenses.createLens", "lenses.listLenses", "lenses.removeLensFromTopic", "observations.getObservationContext", "observations.ingestObservation", "ontologies.applyOntology", "ontologies.archiveOntology", "ontologies.createOntology", "ontologies.createOntologyVersion", "ontologies.deprecateOntologyVersion", "ontologies.getOntology", "ontologies.listOntologies", "ontologies.matchEntityType", "ontologies.publishOntologyVersion", "ontologies.resolveEffectiveOntology", "ontologies.updateOntology", "policy.manageWritePolicy", "questions.archiveQuestion", "questions.createQuestion", "questions.findMissingQuestions", "questions.getFalsificationQuestions", "questions.getHighPriorityQuestions", "questions.getQuestion", "questions.listQuestions", "questions.refineQuestion", "questions.updateQuestionStatus", "tasks.completeTask", "tasks.createTask", "tasks.listTasks", "tasks.updateTask", "topics.createTopic", "topics.getTopic", "topics.getTopicTree", "topics.listTopics", "topics.updateTopic", "worktrees.activateWorktree", "worktrees.addWorktree", "worktrees.beginBuildSession", "worktrees.listAllWorktrees", "worktrees.listCampaigns", "worktrees.listWorktrees", "worktrees.merge", "worktrees.openPullRequest", "worktrees.pipelineSnapshot", "worktrees.push", "worktrees.updateWorktreeMetadata", "worktrees.updateWorktreeTargets"];
|
|
32
45
|
declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfig): {
|
|
33
46
|
sessionId: string;
|
|
34
47
|
activateWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -42,6 +55,7 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
42
55
|
archiveBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
43
56
|
archiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
44
57
|
archiveQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
58
|
+
beginBuildSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
45
59
|
bisectConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
46
60
|
broadcastMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
47
61
|
checkPermission(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -142,7 +156,7 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
142
156
|
updateWorktreeTargets(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
143
157
|
};
|
|
144
158
|
|
|
145
|
-
type ClientConfig = BeliefsClientConfig | SourcesClientConfig | GraphClientConfig | DecisionsClientConfig | AnswersClientConfig | ContextClientConfig | WorkflowClientConfig | AuditClientConfig | AdminClientConfig | EvidenceClientConfig | IdentityClientConfig | PolicyClientConfig | PacksClientConfig | ReportsClientConfig | LearningClientConfig | FunctionSurfaceClientConfig | OntologyClientConfig | HarnessClientConfig | SchemaClientConfig | AudiencesClientConfig | TopicsClientConfig;
|
|
159
|
+
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;
|
|
146
160
|
type CustomToolInput = JsonObject;
|
|
147
161
|
type CustomToolInvoker = (input?: CustomToolInput) => Promise<unknown>;
|
|
148
162
|
type CustomToolNamespace = Record<string, CustomToolInvoker>;
|
|
@@ -185,6 +199,7 @@ type LucernClientConfig = ClientConfig & {
|
|
|
185
199
|
* When present, the SDK operates in user-scoped mode with
|
|
186
200
|
* pack-aware tool filtering. When absent, operates in agent mode.
|
|
187
201
|
*/
|
|
202
|
+
/** Lucern platform session token for interactive/user-scoped requests. */
|
|
188
203
|
userToken?: string;
|
|
189
204
|
/**
|
|
190
205
|
* Optional pack key for auto-install convenience.
|
|
@@ -258,6 +273,12 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
258
273
|
}>>>[0]): Promise<GatewayDataEnvelope<{
|
|
259
274
|
[x: string]: unknown;
|
|
260
275
|
}>>;
|
|
276
|
+
recordEvent: (input: RecordEventInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<EventingRecord>>;
|
|
277
|
+
listEvents: (input: EventingScope) => Promise<PlatformGatewaySuccess<ListResult<EventingRecord, "events">>>;
|
|
278
|
+
listWebhooks: (input: EventingScope) => Promise<PlatformGatewaySuccess<ListResult<EventingWebhookRecord, "webhooks">>>;
|
|
279
|
+
enqueueDelivery: (input: EnqueueDeliveryInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<EventingDeliveryRecord>>;
|
|
280
|
+
recordDeliveryAttempt: (input: RecordDeliveryAttemptInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<EventingDeliveryRecord>>;
|
|
281
|
+
updateDeliveryStatus: (input: UpdateDeliveryStatusInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<EventingDeliveryRecord>>;
|
|
261
282
|
};
|
|
262
283
|
beliefs: {
|
|
263
284
|
create(input: BeliefsCompatCreateInput): Promise<GatewayDataEnvelope<{
|
|
@@ -849,6 +870,24 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
849
870
|
create(input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
850
871
|
update(input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
851
872
|
batchCreate(input: Parameters<(input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
873
|
+
listByTopicAndType(input: {
|
|
874
|
+
topicId?: string;
|
|
875
|
+
projectId?: string;
|
|
876
|
+
nodeType?: string;
|
|
877
|
+
nodeTypes?: string[];
|
|
878
|
+
query?: string;
|
|
879
|
+
sourceText?: string;
|
|
880
|
+
limit?: number;
|
|
881
|
+
cursor?: string;
|
|
882
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
883
|
+
countByTopicAndType(input: {
|
|
884
|
+
topicId?: string;
|
|
885
|
+
projectId?: string;
|
|
886
|
+
nodeType?: string;
|
|
887
|
+
nodeTypes?: string[];
|
|
888
|
+
query?: string;
|
|
889
|
+
limit?: number;
|
|
890
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
852
891
|
supersede(input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
853
892
|
verify(input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
854
893
|
hardDelete(input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
@@ -982,6 +1021,44 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
982
1021
|
questions: unknown;
|
|
983
1022
|
}>;
|
|
984
1023
|
};
|
|
1024
|
+
themes: {
|
|
1025
|
+
listByTopic(input: {
|
|
1026
|
+
topicId?: string;
|
|
1027
|
+
projectId?: string;
|
|
1028
|
+
query?: string;
|
|
1029
|
+
limit?: number;
|
|
1030
|
+
cursor?: string;
|
|
1031
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1032
|
+
};
|
|
1033
|
+
graphSearch: {
|
|
1034
|
+
keywordSearchNodes(input: {
|
|
1035
|
+
topicId?: string;
|
|
1036
|
+
projectId?: string;
|
|
1037
|
+
query?: string;
|
|
1038
|
+
sourceText?: string;
|
|
1039
|
+
nodeType?: string;
|
|
1040
|
+
nodeTypes?: string[];
|
|
1041
|
+
limit?: number;
|
|
1042
|
+
cursor?: string;
|
|
1043
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1044
|
+
};
|
|
1045
|
+
classifiers: {
|
|
1046
|
+
listBeliefCandidates(input: {
|
|
1047
|
+
topicId?: string;
|
|
1048
|
+
projectId?: string;
|
|
1049
|
+
classifierKey?: string;
|
|
1050
|
+
query?: string;
|
|
1051
|
+
limit?: number;
|
|
1052
|
+
cursor?: string;
|
|
1053
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1054
|
+
};
|
|
1055
|
+
archetypes: {
|
|
1056
|
+
getJudgmentSignature(input: {
|
|
1057
|
+
topicId?: string;
|
|
1058
|
+
projectId?: string;
|
|
1059
|
+
principalId?: string;
|
|
1060
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1061
|
+
};
|
|
985
1062
|
judgments: {
|
|
986
1063
|
create(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
987
1064
|
record(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
@@ -998,6 +1075,18 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
998
1075
|
includePassing?: boolean;
|
|
999
1076
|
}): Promise<PlatformGatewaySuccess<JudgmentTransitionAuditIntegrityResponse>>;
|
|
1000
1077
|
};
|
|
1078
|
+
decisions: {
|
|
1079
|
+
create(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
1080
|
+
record(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
1081
|
+
list(query: Parameters<(query: ListJudgmentsInput) => Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>>[0]): Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>;
|
|
1082
|
+
get(decisionId: string): Promise<PlatformGatewaySuccess<GetJudgmentResponse>>;
|
|
1083
|
+
recordOutcome(decisionId: string, input: Parameters<(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
|
|
1084
|
+
lessons(decisionId: string, input: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1085
|
+
archive(decisionId: string, input?: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1086
|
+
readiness(topicId: string): Promise<PlatformGatewaySuccess<JudgmentReadinessResponse>>;
|
|
1087
|
+
calibration(topicId: string): Promise<PlatformGatewaySuccess<JudgmentCalibrationResponse>>;
|
|
1088
|
+
pendingOutcomeReview(topicId: string): Promise<PlatformGatewaySuccess<ListResult<PendingJudgmentOutcomeRecord, "reviews">>>;
|
|
1089
|
+
};
|
|
1001
1090
|
worktrees: {
|
|
1002
1091
|
createBranch(input: Parameters<(input: {
|
|
1003
1092
|
name: string;
|
|
@@ -1039,7 +1128,37 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1039
1128
|
}>>;
|
|
1040
1129
|
list(query: Parameters<(query: {
|
|
1041
1130
|
topicId?: string;
|
|
1042
|
-
branchId
|
|
1131
|
+
branchId
|
|
1132
|
+
/** Lucern platform session token for interactive/user-scoped requests. */
|
|
1133
|
+
? /**
|
|
1134
|
+
* Optional Clerk JWT for per-user identity and RBAC.
|
|
1135
|
+
* When present, the SDK operates in user-scoped mode with
|
|
1136
|
+
* pack-aware tool filtering. When absent, operates in agent mode.
|
|
1137
|
+
*/: string;
|
|
1138
|
+
status?: WorkflowWorktreeStatus;
|
|
1139
|
+
groupBy?: "campaign" | "lane" | "flat";
|
|
1140
|
+
lane?: string;
|
|
1141
|
+
campaign?: number;
|
|
1142
|
+
limit?: number;
|
|
1143
|
+
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
1144
|
+
[x: string]: unknown;
|
|
1145
|
+
} & {
|
|
1146
|
+
cursor?: string;
|
|
1147
|
+
total?: number;
|
|
1148
|
+
} & {
|
|
1149
|
+
worktrees?: {
|
|
1150
|
+
[x: string]: unknown;
|
|
1151
|
+
}[];
|
|
1152
|
+
}>>;
|
|
1153
|
+
listByTopic(query: Parameters<(query: {
|
|
1154
|
+
topicId?: string;
|
|
1155
|
+
branchId
|
|
1156
|
+
/** Lucern platform session token for interactive/user-scoped requests. */
|
|
1157
|
+
? /**
|
|
1158
|
+
* Optional Clerk JWT for per-user identity and RBAC.
|
|
1159
|
+
* When present, the SDK operates in user-scoped mode with
|
|
1160
|
+
* pack-aware tool filtering. When absent, operates in agent mode.
|
|
1161
|
+
*/: string;
|
|
1043
1162
|
status?: WorkflowWorktreeStatus;
|
|
1044
1163
|
groupBy?: "campaign" | "lane" | "flat";
|
|
1045
1164
|
lane?: string;
|
|
@@ -1055,6 +1174,12 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1055
1174
|
[x: string]: unknown;
|
|
1056
1175
|
}[];
|
|
1057
1176
|
}>>;
|
|
1177
|
+
findByPairedSprint(input: {
|
|
1178
|
+
sprintId: string;
|
|
1179
|
+
topicId?: string;
|
|
1180
|
+
projectId?: string;
|
|
1181
|
+
limit?: number;
|
|
1182
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1058
1183
|
activate(worktreeId: string): Promise<PlatformGatewaySuccess<{
|
|
1059
1184
|
[x: string]: unknown;
|
|
1060
1185
|
}>>;
|
|
@@ -1157,6 +1282,31 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1157
1282
|
[x: string]: unknown;
|
|
1158
1283
|
}[];
|
|
1159
1284
|
}>>;
|
|
1285
|
+
listByTopic(input: FunctionSurfaceInput & {
|
|
1286
|
+
topicId?: string;
|
|
1287
|
+
}): Promise<PlatformGatewaySuccess<{
|
|
1288
|
+
[x: string]: unknown;
|
|
1289
|
+
} & {
|
|
1290
|
+
cursor?: string;
|
|
1291
|
+
total?: number;
|
|
1292
|
+
} & {
|
|
1293
|
+
tasks?: {
|
|
1294
|
+
[x: string]: unknown;
|
|
1295
|
+
}[];
|
|
1296
|
+
}>>;
|
|
1297
|
+
listByWorktree(input: FunctionSurfaceInput & {
|
|
1298
|
+
worktreeId: string;
|
|
1299
|
+
}): Promise<PlatformGatewaySuccess<{
|
|
1300
|
+
[x: string]: unknown;
|
|
1301
|
+
} & {
|
|
1302
|
+
cursor?: string;
|
|
1303
|
+
total?: number;
|
|
1304
|
+
} & {
|
|
1305
|
+
tasks?: {
|
|
1306
|
+
[x: string]: unknown;
|
|
1307
|
+
}[];
|
|
1308
|
+
}>>;
|
|
1309
|
+
linkChat(taskId: string, input: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1160
1310
|
};
|
|
1161
1311
|
topics: {
|
|
1162
1312
|
list(input?: Parameters<(query?: TopicListInput) => Promise<PlatformGatewaySuccess<TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<TopicListResponse>>;
|
|
@@ -1558,7 +1708,127 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1558
1708
|
bootstrap: {
|
|
1559
1709
|
generateSessionHandoff(input: FunctionSurfaceInput): FunctionSurfaceResult<unknown>;
|
|
1560
1710
|
};
|
|
1711
|
+
embeddings: {
|
|
1712
|
+
getByNodeIds(input: GetEmbeddingsByNodeIdsInput): Promise<PlatformGatewaySuccess<ListResult<EmbeddingRecord, "embeddings">>>;
|
|
1713
|
+
listMissingForTopic(input: ListMissingEmbeddingsInput): Promise<PlatformGatewaySuccess<ListResult<MissingEmbeddingCandidate, "nodes">>>;
|
|
1714
|
+
vectorSearchByTopic(input: VectorSearchByTopicInput): Promise<PlatformGatewaySuccess<ListResult<VectorSearchMatch, "results">>>;
|
|
1715
|
+
markEmbeddingBackfillQueued(input: MarkEmbeddingBackfillQueuedInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
1716
|
+
queued: number;
|
|
1717
|
+
topicId: string;
|
|
1718
|
+
workspaceId: string;
|
|
1719
|
+
nodeIds: string[];
|
|
1720
|
+
}>>;
|
|
1721
|
+
};
|
|
1722
|
+
graphAnalysis: {
|
|
1723
|
+
saveAnalysis(input: SaveGraphAnalysisInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisRecord>>;
|
|
1724
|
+
listAnalyses(input: ListGraphAnalysesInput): Promise<PlatformGatewaySuccess<ListResult<any, "analyses">>>;
|
|
1725
|
+
getLatestAnalysis(input: GetLatestGraphAnalysisInput): Promise<PlatformGatewaySuccess<GraphAnalysisRecord>>;
|
|
1726
|
+
saveSuggestions(input: SaveGraphSuggestionsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisSuggestionsResponse>>;
|
|
1727
|
+
updateSuggestionStatus(input: UpdateGraphSuggestionStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisSuggestion>>;
|
|
1728
|
+
listSuggestions(input: ListGraphSuggestionsInput): Promise<PlatformGatewaySuccess<ListResult<any, "suggestions">>>;
|
|
1729
|
+
listGraphChanges(input: ListGraphChangesInput): Promise<PlatformGatewaySuccess<ListResult<any, "changes">>>;
|
|
1730
|
+
computeOrRequestAnalysis(input: ComputeOrRequestGraphAnalysisInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisRecord>>;
|
|
1731
|
+
};
|
|
1732
|
+
graphRecommendations: {
|
|
1733
|
+
listForTopic(input: GraphRecommendationListInput): Promise<PlatformGatewaySuccess<ListResult<any, "recommendations">>>;
|
|
1734
|
+
getRecommendation(recommendationId: string): Promise<PlatformGatewaySuccess<GraphRecommendationRecord>>;
|
|
1735
|
+
markRecommendationStatus(input: MarkGraphRecommendationStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphRecommendationRecord>>;
|
|
1736
|
+
};
|
|
1737
|
+
orgGraphSearch: {
|
|
1738
|
+
search(input: OrgGraphSearchInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResponse>>;
|
|
1739
|
+
getNode(input: GetOrgGraphNodeInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResult>>;
|
|
1740
|
+
listByProvenance(input: ListOrgGraphByProvenanceInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResponse>>;
|
|
1741
|
+
listPublishedFromWorkspace(input: ListPublishedFromWorkspaceInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResponse>>;
|
|
1742
|
+
};
|
|
1743
|
+
ontologyLinks: {
|
|
1744
|
+
resolveThemeSource(input: JsonObject): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1745
|
+
createLink(input: OntologyLinkWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
1746
|
+
upsertLink(input: OntologyLinkWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
1747
|
+
listLinksForNode(input: ListOntologyLinksForNodeInput): Promise<PlatformGatewaySuccess<ListResult<OntologyLinkRecord, "links">>>;
|
|
1748
|
+
updateLinkStatus(input: UpdateOntologyLinkStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
1749
|
+
};
|
|
1750
|
+
graphStateClassifier: {
|
|
1751
|
+
classifyNode(input: ClassifyNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphStateClassification>>;
|
|
1752
|
+
classifyTopic(input: ClassifyTopicInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ListResult<GraphStateClassification, "classifications">>>;
|
|
1753
|
+
listClassifications(input: ListGraphStateClassificationsInput): Promise<PlatformGatewaySuccess<ListResult<GraphStateClassification, "classifications">>>;
|
|
1754
|
+
recordClassification(input: RecordGraphStateClassificationInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphStateClassification>>;
|
|
1755
|
+
};
|
|
1756
|
+
modelRuntime: {
|
|
1757
|
+
listModels(input: ModelRuntimeScope): Promise<PlatformGatewaySuccess<ListResult<ModelRegistryRecord, "models">>>;
|
|
1758
|
+
getModel(input: ModelRuntimeScope & {
|
|
1759
|
+
modelId: string;
|
|
1760
|
+
}): Promise<PlatformGatewaySuccess<ModelRegistryRecord>>;
|
|
1761
|
+
listFunctionSlots(input: ModelRuntimeScope & {
|
|
1762
|
+
functionName?: string;
|
|
1763
|
+
}): Promise<PlatformGatewaySuccess<ListResult<ModelFunctionSlot, "slots">>>;
|
|
1764
|
+
resolveSlot(input: ResolveModelSlotInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ModelFunctionSlot>>;
|
|
1765
|
+
updateSlotConfig(input: UpdateModelSlotConfigInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ModelFunctionSlot>>;
|
|
1766
|
+
};
|
|
1767
|
+
jobs: {
|
|
1768
|
+
enqueue(input: EnqueueJobInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
1769
|
+
list(input: JobsScope): Promise<PlatformGatewaySuccess<ListResult<JobRecord, "jobs">>>;
|
|
1770
|
+
claim(input: ClaimJobInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
1771
|
+
updateStatus(input: UpdateJobStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
1772
|
+
retry(input: RetryJobInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
1773
|
+
recordRunStart(input: RecordJobRunStartInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRunRecord>>;
|
|
1774
|
+
recordRunFinish(input: RecordJobRunFinishInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRunRecord>>;
|
|
1775
|
+
};
|
|
1776
|
+
telemetry: {
|
|
1777
|
+
logSystemEvent(input: LogSystemEventInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
1778
|
+
eventId?: string;
|
|
1779
|
+
recorded: boolean;
|
|
1780
|
+
}>>;
|
|
1781
|
+
logToolCallsBatch(input: LogToolCallsBatchInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
1782
|
+
recorded: number;
|
|
1783
|
+
}>>;
|
|
1784
|
+
recordEpistemicAudit(input: RecordEpistemicAuditInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
1785
|
+
auditId?: string;
|
|
1786
|
+
recorded: boolean;
|
|
1787
|
+
}>>;
|
|
1788
|
+
recordPolicyDecision(input: RecordTelemetryPolicyDecisionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
1789
|
+
decisionId?: string;
|
|
1790
|
+
recorded: boolean;
|
|
1791
|
+
}>>;
|
|
1792
|
+
startRun(input: StartTelemetryRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TelemetryRunRecord>>;
|
|
1793
|
+
finishRun(input: FinishTelemetryRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TelemetryRunRecord>>;
|
|
1794
|
+
listRuns(input: TelemetryScope): Promise<PlatformGatewaySuccess<ListResult<TelemetryRunRecord, "runs">>>;
|
|
1795
|
+
};
|
|
1796
|
+
publication: {
|
|
1797
|
+
create(input: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1798
|
+
update(publicationId: string, input: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1799
|
+
list(input?: JsonObject): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1800
|
+
getByTopic(input: string | {
|
|
1801
|
+
topicId: string;
|
|
1802
|
+
workspaceId?: string;
|
|
1803
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1804
|
+
publish(publicationId: string, input?: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1805
|
+
unpublish(publicationId: string, input?: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1806
|
+
remove(publicationId: string, input?: JsonObject): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1807
|
+
};
|
|
1808
|
+
contentPublication: {
|
|
1809
|
+
create(input: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1810
|
+
update(publicationId: string, input: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1811
|
+
list(input?: JsonObject): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1812
|
+
getByTopic(input: string | {
|
|
1813
|
+
topicId: string;
|
|
1814
|
+
workspaceId?: string;
|
|
1815
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1816
|
+
publish(publicationId: string, input?: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1817
|
+
unpublish(publicationId: string, input?: JsonObject, idempotencyKey?: string): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1818
|
+
remove(publicationId: string, input?: JsonObject): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1819
|
+
};
|
|
1561
1820
|
tools: {
|
|
1821
|
+
listCatalog: (input: ToolRegistryQuery) => Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
1822
|
+
listExecutable: (input: ToolRegistryQuery) => Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
1823
|
+
listEffectiveTools: (input: ToolRegistryQuery) => Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
1824
|
+
upsertCoreTools: (input: UpsertCoreToolsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
1825
|
+
setPackToolsStatus: (input: SetPackToolsStatusInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
1826
|
+
createAcl: (input: CreateToolAclInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<ToolAclRecord>>;
|
|
1827
|
+
deleteAcl: (input: DeleteToolAclInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
1828
|
+
aclId: string;
|
|
1829
|
+
deleted: boolean;
|
|
1830
|
+
}>>;
|
|
1831
|
+
registerCustomTool: (input: RegisterCustomToolInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<ToolCatalogEntry>>;
|
|
1562
1832
|
register(registration: CustomToolRegistration): RegisteredCustomTool;
|
|
1563
1833
|
unregister(fullName: string): boolean;
|
|
1564
1834
|
list(): RegisteredCustomTool[];
|
|
@@ -1591,14 +1861,139 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1591
1861
|
create(input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1592
1862
|
update(input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1593
1863
|
batchCreate(input: Parameters<(input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1864
|
+
listByTopicAndType(input: {
|
|
1865
|
+
topicId?: string;
|
|
1866
|
+
projectId?: string;
|
|
1867
|
+
nodeType?: string;
|
|
1868
|
+
nodeTypes?: string[];
|
|
1869
|
+
query?: string;
|
|
1870
|
+
sourceText?: string;
|
|
1871
|
+
limit?: number;
|
|
1872
|
+
cursor?: string;
|
|
1873
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1874
|
+
countByTopicAndType(input: {
|
|
1875
|
+
topicId?: string;
|
|
1876
|
+
projectId?: string;
|
|
1877
|
+
nodeType?: string;
|
|
1878
|
+
nodeTypes?: string[];
|
|
1879
|
+
query?: string;
|
|
1880
|
+
limit?: number;
|
|
1881
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1594
1882
|
supersede(input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1595
1883
|
verify(input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1596
1884
|
hardDelete(input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1597
1885
|
};
|
|
1598
1886
|
identity: {
|
|
1887
|
+
evaluatePolicy: (input: PolicyEvaluationInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
|
|
1888
|
+
recordPolicyDecision: (input: RecordPolicyDecisionInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
|
|
1889
|
+
putSecretReference: (input: PutTenantSecretReferenceInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TenantSecretReference>>;
|
|
1890
|
+
createPrincipal: (input: GatewayScope & {
|
|
1891
|
+
principalId: string;
|
|
1892
|
+
principalType: "user" | "group" | "service" | "external_viewer";
|
|
1893
|
+
clerkId?: string;
|
|
1894
|
+
email?: string;
|
|
1895
|
+
displayName?: string;
|
|
1896
|
+
status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
|
|
1897
|
+
metadata?: JsonObject;
|
|
1898
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>;
|
|
1899
|
+
updatePrincipal: (input: GatewayScope & {
|
|
1900
|
+
principalId: string;
|
|
1901
|
+
principalType: "user" | "group" | "service" | "external_viewer";
|
|
1902
|
+
clerkId?: string;
|
|
1903
|
+
email?: string;
|
|
1904
|
+
displayName?: string;
|
|
1905
|
+
status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
|
|
1906
|
+
metadata?: JsonObject;
|
|
1907
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>;
|
|
1908
|
+
raw: {
|
|
1909
|
+
whoami(): Promise<PlatformGatewaySuccess<{
|
|
1910
|
+
principalId: string;
|
|
1911
|
+
principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
|
|
1912
|
+
tenantId: string | null;
|
|
1913
|
+
workspaceId: string | null;
|
|
1914
|
+
scopes: string[];
|
|
1915
|
+
roles: string[];
|
|
1916
|
+
isPlatformAdmin: boolean;
|
|
1917
|
+
isTenantAdmin: boolean;
|
|
1918
|
+
isWorkspaceAdmin: boolean;
|
|
1919
|
+
authMode: string | undefined;
|
|
1920
|
+
sessionId: string | undefined;
|
|
1921
|
+
delegatedBy: string | undefined;
|
|
1922
|
+
expiresAt: number | undefined;
|
|
1923
|
+
}>>;
|
|
1924
|
+
listPrincipals(query?: GatewayScope & {
|
|
1925
|
+
status?: string;
|
|
1926
|
+
principalType?: string;
|
|
1927
|
+
query?: string;
|
|
1928
|
+
limit?: number;
|
|
1929
|
+
}): Promise<PlatformGatewaySuccess<ListResult<any, "principals">>>;
|
|
1930
|
+
createPrincipal(input: GatewayScope & {
|
|
1931
|
+
principalId: string;
|
|
1932
|
+
principalType: "user" | "group" | "service" | "external_viewer";
|
|
1933
|
+
clerkId?: string;
|
|
1934
|
+
email?: string;
|
|
1935
|
+
displayName?: string;
|
|
1936
|
+
status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
|
|
1937
|
+
metadata?: JsonObject;
|
|
1938
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1939
|
+
updatePrincipal(input: GatewayScope & {
|
|
1940
|
+
principalId: string;
|
|
1941
|
+
principalType: "user" | "group" | "service" | "external_viewer";
|
|
1942
|
+
clerkId?: string;
|
|
1943
|
+
email?: string;
|
|
1944
|
+
displayName?: string;
|
|
1945
|
+
status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
|
|
1946
|
+
metadata?: JsonObject;
|
|
1947
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1948
|
+
upsertPrincipal(input: GatewayScope & {
|
|
1949
|
+
principalId: string;
|
|
1950
|
+
principalType: "user" | "group" | "service" | "external_viewer";
|
|
1951
|
+
clerkId?: string;
|
|
1952
|
+
email?: string;
|
|
1953
|
+
displayName?: string;
|
|
1954
|
+
status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
|
|
1955
|
+
metadata?: JsonObject;
|
|
1956
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1957
|
+
listKeys(query?: GatewayScope & {
|
|
1958
|
+
principalId?: string;
|
|
1959
|
+
status?: string;
|
|
1960
|
+
limit?: number;
|
|
1961
|
+
}): Promise<PlatformGatewaySuccess<ListResult<any, "keys">>>;
|
|
1962
|
+
createKey(input: GatewayScope & {
|
|
1963
|
+
principalId: string;
|
|
1964
|
+
keyId?: string;
|
|
1965
|
+
token?: string;
|
|
1966
|
+
scopes?: string[];
|
|
1967
|
+
environment?: "sandbox" | "production";
|
|
1968
|
+
expiresInDays?: number;
|
|
1969
|
+
rateLimitTier?: "free" | "developer" | "partner";
|
|
1970
|
+
metadata?: JsonObject;
|
|
1971
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1972
|
+
rotateKey(keyId: string, input?: {
|
|
1973
|
+
replacementKeyId?: string;
|
|
1974
|
+
replacementToken?: string;
|
|
1975
|
+
replacementExpiresInDays?: number;
|
|
1976
|
+
gracePeriodHours?: number;
|
|
1977
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1978
|
+
deleteKey(keyId: string, input?: {
|
|
1979
|
+
reason?: string;
|
|
1980
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1981
|
+
revokeKey(keyId: string, input?: {
|
|
1982
|
+
reason?: string;
|
|
1983
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1984
|
+
searchClerkUsers(q: string): Promise<PlatformGatewaySuccess<ClerkUserSearchResult[]>>;
|
|
1985
|
+
getTenantConfig(input: TenantIdentityScope): Promise<PlatformGatewaySuccess<TenantIdentityConfigRecord>>;
|
|
1986
|
+
updateTenantConfig(input: UpdateTenantConfigInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TenantIdentityConfigRecord>>;
|
|
1987
|
+
listIntegrations(input: TenantIdentityScope): Promise<PlatformGatewaySuccess<ListResult<TenantIntegrationRecord, "integrations">>>;
|
|
1988
|
+
upsertIntegration(input: UpsertTenantIntegrationInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TenantIntegrationRecord>>;
|
|
1989
|
+
listSecrets(input: TenantIdentityScope): Promise<PlatformGatewaySuccess<ListResult<TenantSecretReference, "secrets">>>;
|
|
1990
|
+
putSecretReference(input: PutTenantSecretReferenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TenantSecretReference>>;
|
|
1991
|
+
evaluatePolicy(input: PolicyEvaluationInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
|
|
1992
|
+
recordPolicyDecision(input: RecordPolicyDecisionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
|
|
1993
|
+
};
|
|
1599
1994
|
whoami(): Promise<PlatformGatewaySuccess<{
|
|
1600
1995
|
principalId: string;
|
|
1601
|
-
principalType: "
|
|
1996
|
+
principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
|
|
1602
1997
|
tenantId: string | null;
|
|
1603
1998
|
workspaceId: string | null;
|
|
1604
1999
|
scopes: string[];
|
|
@@ -1612,7 +2007,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1612
2007
|
expiresAt: number | undefined;
|
|
1613
2008
|
}> & {
|
|
1614
2009
|
principalId: string;
|
|
1615
|
-
principalType: "
|
|
2010
|
+
principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
|
|
1616
2011
|
tenantId: string | null;
|
|
1617
2012
|
workspaceId: string | null;
|
|
1618
2013
|
scopes: string[];
|
|
@@ -1626,6 +2021,19 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1626
2021
|
expiresAt: number | undefined;
|
|
1627
2022
|
}>;
|
|
1628
2023
|
};
|
|
2024
|
+
mcp: {
|
|
2025
|
+
bootstrapSession(input?: Parameters<(input?: McpBootstrapSessionInput) => Promise<McpBootstrapSessionResponse>>[0]): Promise<McpBootstrapSessionResponse>;
|
|
2026
|
+
checkWritePolicy(input: Parameters<(input: McpCheckWritePolicyInput) => Promise<McpCheckWritePolicyResponse>>[0]): Promise<McpCheckWritePolicyResponse>;
|
|
2027
|
+
beginBuildSession(input: Parameters<(input: McpBeginBuildSessionInput) => Promise<McpBeginBuildSessionResponse>>[0]): Promise<McpBeginBuildSessionResponse>;
|
|
2028
|
+
evaluateEngineeringContract(input: Parameters<(input: McpEvaluateEngineeringContractInput) => Promise<McpContractEvaluationResponse>>[0]): Promise<McpContractEvaluationResponse>;
|
|
2029
|
+
evaluateResearchContract(input: Parameters<(input: McpEvaluateResearchContractInput) => Promise<McpContractEvaluationResponse>>[0]): Promise<McpContractEvaluationResponse>;
|
|
2030
|
+
};
|
|
2031
|
+
auth: {
|
|
2032
|
+
device: {
|
|
2033
|
+
createCode(input?: DeviceCodeInput): Promise<DeviceCodeResponse>;
|
|
2034
|
+
pollToken(deviceCode: string): Promise<DeviceTokenResponse>;
|
|
2035
|
+
};
|
|
2036
|
+
};
|
|
1629
2037
|
custom: CustomToolNamespace;
|
|
1630
2038
|
extensions: Record<string, CustomToolNamespace>;
|
|
1631
2039
|
raw: {
|
|
@@ -1652,6 +2060,25 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1652
2060
|
classifyEvidence(beliefId: string, evidenceId: string, classificationConfig?: EvidenceClassificationRequestConfig, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ClassifyEvidenceResult>>;
|
|
1653
2061
|
classifyEvidenceBatch(beliefId: string, evidence: ClassifyEvidenceBatchItem[], classificationConfig?: EvidenceClassificationRequestConfig, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ClassifyEvidenceBatchResult>>;
|
|
1654
2062
|
};
|
|
2063
|
+
embeddings: {
|
|
2064
|
+
getByNodeIds(input: GetEmbeddingsByNodeIdsInput): Promise<PlatformGatewaySuccess<ListResult<EmbeddingRecord, "embeddings">>>;
|
|
2065
|
+
listMissingForTopic(input: ListMissingEmbeddingsInput): Promise<PlatformGatewaySuccess<ListResult<MissingEmbeddingCandidate, "nodes">>>;
|
|
2066
|
+
vectorSearchByTopic(input: VectorSearchByTopicInput): Promise<PlatformGatewaySuccess<ListResult<VectorSearchMatch, "results">>>;
|
|
2067
|
+
markEmbeddingBackfillQueued(input: MarkEmbeddingBackfillQueuedInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
2068
|
+
queued: number;
|
|
2069
|
+
topicId: string;
|
|
2070
|
+
workspaceId: string;
|
|
2071
|
+
nodeIds: string[];
|
|
2072
|
+
}>>;
|
|
2073
|
+
};
|
|
2074
|
+
eventing: {
|
|
2075
|
+
recordEvent(input: RecordEventInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<EventingRecord>>;
|
|
2076
|
+
listEvents(input: EventingScope): Promise<PlatformGatewaySuccess<ListResult<EventingRecord, "events">>>;
|
|
2077
|
+
listWebhooks(input: EventingScope): Promise<PlatformGatewaySuccess<ListResult<EventingWebhookRecord, "webhooks">>>;
|
|
2078
|
+
enqueueDelivery(input: EnqueueDeliveryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<EventingDeliveryRecord>>;
|
|
2079
|
+
recordDeliveryAttempt(input: RecordDeliveryAttemptInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<EventingDeliveryRecord>>;
|
|
2080
|
+
updateDeliveryStatus(input: UpdateDeliveryStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<EventingDeliveryRecord>>;
|
|
2081
|
+
};
|
|
1655
2082
|
graph: {
|
|
1656
2083
|
listNodes(query: ListNodesInput): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
|
|
1657
2084
|
queryNodes(query: QueryNodesInput): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
|
|
@@ -1676,6 +2103,27 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1676
2103
|
getPath(query: PathInput): Promise<PlatformGatewaySuccess<GraphPathResponse>>;
|
|
1677
2104
|
getAnalytics(query?: AnalyticsInput): Promise<PlatformGatewaySuccess<GraphAnalyticsResponse>>;
|
|
1678
2105
|
};
|
|
2106
|
+
graphAnalysis: {
|
|
2107
|
+
saveAnalysis(input: SaveGraphAnalysisInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisRecord>>;
|
|
2108
|
+
listAnalyses(input: ListGraphAnalysesInput): Promise<PlatformGatewaySuccess<ListResult<any, "analyses">>>;
|
|
2109
|
+
getLatestAnalysis(input: GetLatestGraphAnalysisInput): Promise<PlatformGatewaySuccess<GraphAnalysisRecord>>;
|
|
2110
|
+
saveSuggestions(input: SaveGraphSuggestionsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisSuggestionsResponse>>;
|
|
2111
|
+
updateSuggestionStatus(input: UpdateGraphSuggestionStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisSuggestion>>;
|
|
2112
|
+
listSuggestions(input: ListGraphSuggestionsInput): Promise<PlatformGatewaySuccess<ListResult<any, "suggestions">>>;
|
|
2113
|
+
listGraphChanges(input: ListGraphChangesInput): Promise<PlatformGatewaySuccess<ListResult<any, "changes">>>;
|
|
2114
|
+
computeOrRequestAnalysis(input: ComputeOrRequestGraphAnalysisInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphAnalysisRecord>>;
|
|
2115
|
+
};
|
|
2116
|
+
graphRecommendations: {
|
|
2117
|
+
listForTopic(input: GraphRecommendationListInput): Promise<PlatformGatewaySuccess<ListResult<any, "recommendations">>>;
|
|
2118
|
+
getRecommendation(recommendationId: string): Promise<PlatformGatewaySuccess<GraphRecommendationRecord>>;
|
|
2119
|
+
markRecommendationStatus(input: MarkGraphRecommendationStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphRecommendationRecord>>;
|
|
2120
|
+
};
|
|
2121
|
+
graphStateClassifier: {
|
|
2122
|
+
classifyNode(input: ClassifyNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphStateClassification>>;
|
|
2123
|
+
classifyTopic(input: ClassifyTopicInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ListResult<GraphStateClassification, "classifications">>>;
|
|
2124
|
+
listClassifications(input: ListGraphStateClassificationsInput): Promise<PlatformGatewaySuccess<ListResult<GraphStateClassification, "classifications">>>;
|
|
2125
|
+
recordClassification(input: RecordGraphStateClassificationInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GraphStateClassification>>;
|
|
2126
|
+
};
|
|
1679
2127
|
decisions: {
|
|
1680
2128
|
listJudgments(query: ListJudgmentsInput): Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>;
|
|
1681
2129
|
getJudgment(judgmentId: string): Promise<PlatformGatewaySuccess<GetJudgmentResponse>>;
|
|
@@ -1731,7 +2179,13 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1731
2179
|
} & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
1732
2180
|
listWorktrees(query: {
|
|
1733
2181
|
topicId?: string;
|
|
1734
|
-
branchId
|
|
2182
|
+
branchId
|
|
2183
|
+
/** Lucern platform session token for interactive/user-scoped requests. */
|
|
2184
|
+
? /**
|
|
2185
|
+
* Optional Clerk JWT for per-user identity and RBAC.
|
|
2186
|
+
* When present, the SDK operates in user-scoped mode with
|
|
2187
|
+
* pack-aware tool filtering. When absent, operates in agent mode.
|
|
2188
|
+
*/: string;
|
|
1735
2189
|
status?: WorkflowWorktreeStatus;
|
|
1736
2190
|
groupBy?: "campaign" | "lane" | "flat";
|
|
1737
2191
|
lane?: string;
|
|
@@ -1810,6 +2264,10 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1810
2264
|
limit?: number;
|
|
1811
2265
|
} & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<any, "events">>>;
|
|
1812
2266
|
};
|
|
2267
|
+
authDevice: {
|
|
2268
|
+
createDeviceCode(input?: DeviceCodeInput): Promise<DeviceCodeResponse>;
|
|
2269
|
+
pollDeviceToken(deviceCode: string): Promise<DeviceTokenResponse>;
|
|
2270
|
+
};
|
|
1813
2271
|
admin: {
|
|
1814
2272
|
listTenants(query?: {
|
|
1815
2273
|
status?: "provisioning" | "active" | "disabled" | "suspended" | "archived";
|
|
@@ -2000,7 +2458,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2000
2458
|
identity: {
|
|
2001
2459
|
whoami(): Promise<PlatformGatewaySuccess<{
|
|
2002
2460
|
principalId: string;
|
|
2003
|
-
principalType: "
|
|
2461
|
+
principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
|
|
2004
2462
|
tenantId: string | null;
|
|
2005
2463
|
workspaceId: string | null;
|
|
2006
2464
|
scopes: string[];
|
|
@@ -2074,6 +2532,14 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2074
2532
|
reason?: string;
|
|
2075
2533
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
2076
2534
|
searchClerkUsers(q: string): Promise<PlatformGatewaySuccess<ClerkUserSearchResult[]>>;
|
|
2535
|
+
getTenantConfig(input: TenantIdentityScope): Promise<PlatformGatewaySuccess<TenantIdentityConfigRecord>>;
|
|
2536
|
+
updateTenantConfig(input: UpdateTenantConfigInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TenantIdentityConfigRecord>>;
|
|
2537
|
+
listIntegrations(input: TenantIdentityScope): Promise<PlatformGatewaySuccess<ListResult<TenantIntegrationRecord, "integrations">>>;
|
|
2538
|
+
upsertIntegration(input: UpsertTenantIntegrationInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TenantIntegrationRecord>>;
|
|
2539
|
+
listSecrets(input: TenantIdentityScope): Promise<PlatformGatewaySuccess<ListResult<TenantSecretReference, "secrets">>>;
|
|
2540
|
+
putSecretReference(input: PutTenantSecretReferenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TenantSecretReference>>;
|
|
2541
|
+
evaluatePolicy(input: PolicyEvaluationInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
|
|
2542
|
+
recordPolicyDecision(input: RecordPolicyDecisionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PolicyDecisionRecord>>;
|
|
2077
2543
|
};
|
|
2078
2544
|
policy: {
|
|
2079
2545
|
listDecisions(query?: GatewayScope & {
|
|
@@ -2269,6 +2735,18 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2269
2735
|
listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
|
|
2270
2736
|
listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
|
|
2271
2737
|
};
|
|
2738
|
+
ontologyLinks: {
|
|
2739
|
+
createLink(input: OntologyLinkWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
2740
|
+
upsertLink(input: OntologyLinkWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
2741
|
+
listLinksForNode(input: ListOntologyLinksForNodeInput): Promise<PlatformGatewaySuccess<ListResult<OntologyLinkRecord, "links">>>;
|
|
2742
|
+
updateLinkStatus(input: UpdateOntologyLinkStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
2743
|
+
};
|
|
2744
|
+
orgGraphSearch: {
|
|
2745
|
+
search(input: OrgGraphSearchInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResponse>>;
|
|
2746
|
+
getNode(input: GetOrgGraphNodeInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResult>>;
|
|
2747
|
+
listByProvenance(input: ListOrgGraphByProvenanceInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResponse>>;
|
|
2748
|
+
listPublishedFromWorkspace(input: ListPublishedFromWorkspaceInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResponse>>;
|
|
2749
|
+
};
|
|
2272
2750
|
functionSurface: {
|
|
2273
2751
|
sessionId: string;
|
|
2274
2752
|
activateWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -2282,6 +2760,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2282
2760
|
archiveBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2283
2761
|
archiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2284
2762
|
archiveQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2763
|
+
beginBuildSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2285
2764
|
bisectConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2286
2765
|
broadcastMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2287
2766
|
checkPermission(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -2381,6 +2860,30 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2381
2860
|
updateWorktreeMetadata(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2382
2861
|
updateWorktreeTargets(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2383
2862
|
};
|
|
2863
|
+
toolRegistry: {
|
|
2864
|
+
listCatalog(input: ToolRegistryQuery): Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
2865
|
+
listExecutable(input: ToolRegistryQuery): Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
2866
|
+
listEffectiveTools(input: ToolRegistryQuery): Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
2867
|
+
upsertCoreTools(input: UpsertCoreToolsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
2868
|
+
setPackToolsStatus(input: SetPackToolsStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
2869
|
+
createAcl(input: CreateToolAclInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ToolAclRecord>>;
|
|
2870
|
+
deleteAcl(input: DeleteToolAclInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
2871
|
+
aclId: string;
|
|
2872
|
+
deleted: boolean;
|
|
2873
|
+
}>>;
|
|
2874
|
+
registerCustomTool(input: RegisterCustomToolInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ToolCatalogEntry>>;
|
|
2875
|
+
};
|
|
2876
|
+
modelRuntime: {
|
|
2877
|
+
listModels(input: ModelRuntimeScope): Promise<PlatformGatewaySuccess<ListResult<ModelRegistryRecord, "models">>>;
|
|
2878
|
+
getModel(input: ModelRuntimeScope & {
|
|
2879
|
+
modelId: string;
|
|
2880
|
+
}): Promise<PlatformGatewaySuccess<ModelRegistryRecord>>;
|
|
2881
|
+
listFunctionSlots(input: ModelRuntimeScope & {
|
|
2882
|
+
functionName?: string;
|
|
2883
|
+
}): Promise<PlatformGatewaySuccess<ListResult<ModelFunctionSlot, "slots">>>;
|
|
2884
|
+
resolveSlot(input: ResolveModelSlotInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ModelFunctionSlot>>;
|
|
2885
|
+
updateSlotConfig(input: UpdateModelSlotConfigInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<ModelFunctionSlot>>;
|
|
2886
|
+
};
|
|
2384
2887
|
packs: {
|
|
2385
2888
|
listCatalog(): Promise<PlatformGatewaySuccess<ListResult<any, "catalog">>>;
|
|
2386
2889
|
getCatalog(): Promise<PlatformGatewaySuccess<ListResult<any, "catalog">>>;
|
|
@@ -2440,6 +2943,42 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2440
2943
|
hours?: number;
|
|
2441
2944
|
} & TopicIdentifierInput): Promise<PlatformGatewaySuccess<unknown>>;
|
|
2442
2945
|
};
|
|
2946
|
+
mcp: {
|
|
2947
|
+
bootstrapSession(input?: McpBootstrapSessionInput): Promise<McpBootstrapSessionResponse>;
|
|
2948
|
+
checkWritePolicy(input: McpCheckWritePolicyInput): Promise<McpCheckWritePolicyResponse>;
|
|
2949
|
+
beginBuildSession(input: McpBeginBuildSessionInput): Promise<McpBeginBuildSessionResponse>;
|
|
2950
|
+
evaluateEngineeringContract(input: McpEvaluateEngineeringContractInput): Promise<McpContractEvaluationResponse>;
|
|
2951
|
+
evaluateResearchContract(input: McpEvaluateResearchContractInput): Promise<McpContractEvaluationResponse>;
|
|
2952
|
+
};
|
|
2953
|
+
jobs: {
|
|
2954
|
+
enqueue(input: EnqueueJobInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
2955
|
+
list(input: JobsScope): Promise<PlatformGatewaySuccess<ListResult<JobRecord, "jobs">>>;
|
|
2956
|
+
claim(input: ClaimJobInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
2957
|
+
updateStatus(input: UpdateJobStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
2958
|
+
retry(input: RetryJobInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRecord>>;
|
|
2959
|
+
recordRunStart(input: RecordJobRunStartInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRunRecord>>;
|
|
2960
|
+
recordRunFinish(input: RecordJobRunFinishInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<JobRunRecord>>;
|
|
2961
|
+
};
|
|
2962
|
+
telemetry: {
|
|
2963
|
+
logSystemEvent(input: LogSystemEventInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
2964
|
+
eventId?: string;
|
|
2965
|
+
recorded: boolean;
|
|
2966
|
+
}>>;
|
|
2967
|
+
logToolCallsBatch(input: LogToolCallsBatchInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
2968
|
+
recorded: number;
|
|
2969
|
+
}>>;
|
|
2970
|
+
recordEpistemicAudit(input: RecordEpistemicAuditInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
2971
|
+
auditId?: string;
|
|
2972
|
+
recorded: boolean;
|
|
2973
|
+
}>>;
|
|
2974
|
+
recordPolicyDecision(input: RecordTelemetryPolicyDecisionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
2975
|
+
decisionId?: string;
|
|
2976
|
+
recorded: boolean;
|
|
2977
|
+
}>>;
|
|
2978
|
+
startRun(input: StartTelemetryRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TelemetryRunRecord>>;
|
|
2979
|
+
finishRun(input: FinishTelemetryRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TelemetryRunRecord>>;
|
|
2980
|
+
listRuns(input: TelemetryScope): Promise<PlatformGatewaySuccess<ListResult<TelemetryRunRecord, "runs">>>;
|
|
2981
|
+
};
|
|
2443
2982
|
harness: {
|
|
2444
2983
|
listAgentDefinitions(scope?: GatewayScope & {
|
|
2445
2984
|
status?: string;
|