@lucern/sdk 0.3.0-alpha.3 → 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.js +4 -3
- package/dist/adminClient.js.map +1 -1
- package/dist/answersClient.js +4 -3
- package/dist/answersClient.js.map +1 -1
- package/dist/audiencesClient.js +4 -3
- package/dist/audiencesClient.js.map +1 -1
- package/dist/auditClient.js +4 -3
- package/dist/auditClient.js.map +1 -1
- package/dist/authContext.js +4 -3
- package/dist/authContext.js.map +1 -1
- package/dist/beliefs/index.d.ts +1 -1
- package/dist/beliefs/index.js +301 -7
- package/dist/beliefs/index.js.map +1 -1
- package/dist/beliefsClient.js +4 -3
- package/dist/beliefsClient.js.map +1 -1
- package/dist/{client-EiG9nJOY.d.ts → client-DOLqClbU.d.ts} +183 -3
- package/dist/client.d.ts +1 -1
- package/dist/client.js +301 -7
- package/dist/client.js.map +1 -1
- package/dist/contextClient.js +4 -3
- 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.js.map +1 -1
- package/dist/contradictions/index.d.ts +1 -1
- package/dist/contradictions/index.js +301 -7
- package/dist/contradictions/index.js.map +1 -1
- package/dist/coreClient.js +4 -3
- package/dist/coreClient.js.map +1 -1
- package/dist/decisions/index.d.ts +1 -1
- package/dist/decisions/index.js +301 -7
- package/dist/decisions/index.js.map +1 -1
- package/dist/decisionsClient.js +4 -3
- package/dist/decisionsClient.js.map +1 -1
- package/dist/edges/index.d.ts +1 -1
- package/dist/edges/index.js +301 -7
- package/dist/edges/index.js.map +1 -1
- package/dist/embeddingsClient.js +4 -3
- package/dist/embeddingsClient.js.map +1 -1
- package/dist/eventingClient.js +4 -3
- package/dist/eventingClient.js.map +1 -1
- package/dist/eventsCore.js +4 -3
- package/dist/eventsCore.js.map +1 -1
- package/dist/evidence/index.d.ts +1 -1
- package/dist/evidence/index.js +301 -7
- package/dist/evidence/index.js.map +1 -1
- package/dist/evidenceClient.js +4 -3
- package/dist/evidenceClient.js.map +1 -1
- package/dist/gatewayFacades.d.ts +34 -1
- package/dist/gatewayFacades.js +4 -3
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/graphAnalysisClient.d.ts +7 -0
- package/dist/graphAnalysisClient.js +7 -4
- package/dist/graphAnalysisClient.js.map +1 -1
- package/dist/graphClient.js +4 -3
- package/dist/graphClient.js.map +1 -1
- package/dist/graphRecommendationsClient.js +4 -3
- package/dist/graphRecommendationsClient.js.map +1 -1
- package/dist/graphStateClassifierClient.js +4 -3
- package/dist/graphStateClassifierClient.js.map +1 -1
- package/dist/harnessClient.js +4 -3
- package/dist/harnessClient.js.map +1 -1
- package/dist/identityClient.js +4 -3
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +593 -8
- 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.js +4 -3
- package/dist/jobsClient.js.map +1 -1
- package/dist/learningClient.js +4 -3
- package/dist/learningClient.js.map +1 -1
- package/dist/lenses/index.d.ts +25 -1
- package/dist/lenses/index.js +301 -7
- package/dist/lenses/index.js.map +1 -1
- package/dist/mcpClient.js +4 -3
- package/dist/mcpClient.js.map +1 -1
- package/dist/modelRuntimeClient.js +4 -3
- package/dist/modelRuntimeClient.js.map +1 -1
- package/dist/nodes/index.d.ts +19 -1
- package/dist/nodes/index.js +301 -7
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.d.ts +1 -1
- package/dist/ontologies/index.js +301 -7
- package/dist/ontologies/index.js.map +1 -1
- package/dist/ontologyClient.js +4 -3
- package/dist/ontologyClient.js.map +1 -1
- package/dist/ontologyLinksClient.js +4 -3
- package/dist/ontologyLinksClient.js.map +1 -1
- package/dist/orgGraphSearchClient.js +4 -3
- package/dist/orgGraphSearchClient.js.map +1 -1
- package/dist/packsClient.js +4 -3
- package/dist/packsClient.js.map +1 -1
- package/dist/policyClient.js +4 -3
- package/dist/policyClient.js.map +1 -1
- package/dist/questions/index.d.ts +1 -1
- package/dist/questions/index.js +301 -7
- package/dist/questions/index.js.map +1 -1
- package/dist/reportsClient.js +4 -3
- package/dist/reportsClient.js.map +1 -1
- package/dist/schemaClient.js +4 -3
- package/dist/schemaClient.js.map +1 -1
- package/dist/sourcesClient.js +4 -3
- package/dist/sourcesClient.js.map +1 -1
- package/dist/telemetryClient.js +4 -3
- package/dist/telemetryClient.js.map +1 -1
- package/dist/toolRegistryClient.js +4 -3
- package/dist/toolRegistryClient.js.map +1 -1
- package/dist/topics/index.d.ts +1 -1
- package/dist/topics/index.js +301 -7
- package/dist/topics/index.js.map +1 -1
- package/dist/topicsClient.js +4 -3
- package/dist/topicsClient.js.map +1 -1
- package/dist/workflowClient.d.ts +41 -7
- package/dist/workflowClient.js +4 -3
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.d.ts +25 -1
- package/dist/worktrees/index.js +301 -7
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -41,7 +41,7 @@ import { WorkflowClientConfig, WorkflowLensPerspectiveType, WorkflowLensStatus,
|
|
|
41
41
|
type FunctionSurfaceClientConfig = GatewayClientConfig;
|
|
42
42
|
type FunctionSurfaceInput = JsonObject;
|
|
43
43
|
type FunctionSurfaceResult<T = unknown> = Promise<PlatformGatewaySuccess<T>>;
|
|
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.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"];
|
|
45
45
|
declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfig): {
|
|
46
46
|
sessionId: string;
|
|
47
47
|
activateWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -55,6 +55,7 @@ declare function createFunctionSurfaceClient(config?: FunctionSurfaceClientConfi
|
|
|
55
55
|
archiveBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
56
56
|
archiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
57
57
|
archiveQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
58
|
+
beginBuildSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
58
59
|
bisectConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
59
60
|
broadcastMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
60
61
|
checkPermission(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
@@ -869,6 +870,24 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
869
870
|
create(input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
870
871
|
update(input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
871
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>>>;
|
|
872
891
|
supersede(input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
873
892
|
verify(input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
874
893
|
hardDelete(input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
@@ -1002,6 +1021,44 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1002
1021
|
questions: unknown;
|
|
1003
1022
|
}>;
|
|
1004
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
|
+
};
|
|
1005
1062
|
judgments: {
|
|
1006
1063
|
create(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
1007
1064
|
record(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
@@ -1018,6 +1075,18 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1018
1075
|
includePassing?: boolean;
|
|
1019
1076
|
}): Promise<PlatformGatewaySuccess<JudgmentTransitionAuditIntegrityResponse>>;
|
|
1020
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
|
+
};
|
|
1021
1090
|
worktrees: {
|
|
1022
1091
|
createBranch(input: Parameters<(input: {
|
|
1023
1092
|
name: string;
|
|
@@ -1059,7 +1128,13 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1059
1128
|
}>>;
|
|
1060
1129
|
list(query: Parameters<(query: {
|
|
1061
1130
|
topicId?: string;
|
|
1062
|
-
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;
|
|
1063
1138
|
status?: WorkflowWorktreeStatus;
|
|
1064
1139
|
groupBy?: "campaign" | "lane" | "flat";
|
|
1065
1140
|
lane?: string;
|
|
@@ -1075,6 +1150,36 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1075
1150
|
[x: string]: unknown;
|
|
1076
1151
|
}[];
|
|
1077
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;
|
|
1162
|
+
status?: WorkflowWorktreeStatus;
|
|
1163
|
+
groupBy?: "campaign" | "lane" | "flat";
|
|
1164
|
+
lane?: string;
|
|
1165
|
+
campaign?: number;
|
|
1166
|
+
limit?: number;
|
|
1167
|
+
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
1168
|
+
[x: string]: unknown;
|
|
1169
|
+
} & {
|
|
1170
|
+
cursor?: string;
|
|
1171
|
+
total?: number;
|
|
1172
|
+
} & {
|
|
1173
|
+
worktrees?: {
|
|
1174
|
+
[x: string]: unknown;
|
|
1175
|
+
}[];
|
|
1176
|
+
}>>;
|
|
1177
|
+
findByPairedSprint(input: {
|
|
1178
|
+
sprintId: string;
|
|
1179
|
+
topicId?: string;
|
|
1180
|
+
projectId?: string;
|
|
1181
|
+
limit?: number;
|
|
1182
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1078
1183
|
activate(worktreeId: string): Promise<PlatformGatewaySuccess<{
|
|
1079
1184
|
[x: string]: unknown;
|
|
1080
1185
|
}>>;
|
|
@@ -1177,6 +1282,31 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1177
1282
|
[x: string]: unknown;
|
|
1178
1283
|
}[];
|
|
1179
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>>>;
|
|
1180
1310
|
};
|
|
1181
1311
|
topics: {
|
|
1182
1312
|
list(input?: Parameters<(query?: TopicListInput) => Promise<PlatformGatewaySuccess<TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<TopicListResponse>>;
|
|
@@ -1611,6 +1741,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1611
1741
|
listPublishedFromWorkspace(input: ListPublishedFromWorkspaceInput): Promise<PlatformGatewaySuccess<OrgGraphSearchResponse>>;
|
|
1612
1742
|
};
|
|
1613
1743
|
ontologyLinks: {
|
|
1744
|
+
resolveThemeSource(input: JsonObject): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1614
1745
|
createLink(input: OntologyLinkWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
1615
1746
|
upsertLink(input: OntologyLinkWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<OntologyLinkRecord>>;
|
|
1616
1747
|
listLinksForNode(input: ListOntologyLinksForNodeInput): Promise<PlatformGatewaySuccess<ListResult<OntologyLinkRecord, "links">>>;
|
|
@@ -1662,6 +1793,30 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1662
1793
|
finishRun(input: FinishTelemetryRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TelemetryRunRecord>>;
|
|
1663
1794
|
listRuns(input: TelemetryScope): Promise<PlatformGatewaySuccess<ListResult<TelemetryRunRecord, "runs">>>;
|
|
1664
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
|
+
};
|
|
1665
1820
|
tools: {
|
|
1666
1821
|
listCatalog: (input: ToolRegistryQuery) => Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
1667
1822
|
listExecutable: (input: ToolRegistryQuery) => Promise<PlatformGatewaySuccess<ListResult<ToolCatalogEntry, "tools">>>;
|
|
@@ -1706,6 +1861,24 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1706
1861
|
create(input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1707
1862
|
update(input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1708
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>>>;
|
|
1709
1882
|
supersede(input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1710
1883
|
verify(input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1711
1884
|
hardDelete(input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
@@ -2006,7 +2179,13 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2006
2179
|
} & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
2007
2180
|
listWorktrees(query: {
|
|
2008
2181
|
topicId?: string;
|
|
2009
|
-
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;
|
|
2010
2189
|
status?: WorkflowWorktreeStatus;
|
|
2011
2190
|
groupBy?: "campaign" | "lane" | "flat";
|
|
2012
2191
|
lane?: string;
|
|
@@ -2581,6 +2760,7 @@ declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
2581
2760
|
archiveBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2582
2761
|
archiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2583
2762
|
archiveQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2763
|
+
beginBuildSession(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2584
2764
|
bisectConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2585
2765
|
broadcastMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
|
2586
2766
|
checkPermission(input?: FunctionSurfaceInput, idempotencyKey?: string): FunctionSurfaceResult<unknown>;
|
package/dist/client.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ import './topicsClient.js';
|
|
|
27
27
|
import './answersClient.js';
|
|
28
28
|
import './auditClient.js';
|
|
29
29
|
import './types.js';
|
|
30
|
-
export { L as LucernClientConfig, c as createLucernClient } from './client-
|
|
30
|
+
export { L as LucernClientConfig, c as createLucernClient } from './client-DOLqClbU.js';
|
|
31
31
|
import './contextClient.js';
|
|
32
32
|
import './contracts/lens-workflow.contract.js';
|
|
33
33
|
import './decisionsClient.js';
|