@lucern/sdk 0.3.0-alpha.0 → 0.3.0-alpha.10
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/CHANGELOG.md +3 -0
- package/README.md +84 -25
- package/dist/adminClient.d.ts +10 -8
- package/dist/adminClient.js +242 -39
- package/dist/adminClient.js.map +1 -1
- package/dist/answersClient.d.ts +2 -0
- package/dist/answersClient.js +221 -11
- package/dist/answersClient.js.map +1 -1
- package/dist/audience/index.d.ts +2 -1
- package/dist/audience/index.js +1 -3
- package/dist/audience/index.js.map +1 -1
- package/dist/audiencesClient.d.ts +18 -16
- package/dist/audiencesClient.js +297 -90
- package/dist/audiencesClient.js.map +1 -1
- package/dist/auditClient.d.ts +2 -0
- package/dist/auditClient.js +227 -15
- 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 +121 -0
- package/dist/authDeviceClient.js.map +1 -0
- package/dist/beliefs/index.d.ts +31 -11
- package/dist/beliefs/index.js +3347 -1109
- package/dist/beliefs/index.js.map +1 -1
- package/dist/beliefsClient.d.ts +18 -31
- package/dist/beliefsClient.js +264 -97
- package/dist/beliefsClient.js.map +1 -1
- package/dist/boundaryClientSurface.d.ts +20 -0
- package/dist/boundaryClientSurface.js +73 -0
- package/dist/boundaryClientSurface.js.map +1 -0
- package/dist/client.d.ts +2969 -27
- package/dist/client.js +3347 -1109
- package/dist/client.js.map +1 -1
- package/dist/clientHelpers.d.ts +48 -0
- package/dist/clientHelpers.js +137 -0
- package/dist/clientHelpers.js.map +1 -0
- package/dist/contextClient.d.ts +6 -3
- package/dist/contextClient.js +252 -30
- package/dist/contextClient.js.map +1 -1
- package/dist/contextFacade.js +25 -16
- package/dist/contextFacade.js.map +1 -1
- package/dist/contextPackCompiler.js +19 -30
- package/dist/contextPackCompiler.js.map +1 -1
- package/dist/contextPackPolicy.js +7 -17
- package/dist/contextPackPolicy.js.map +1 -1
- package/dist/contextTypes.d.ts +2 -0
- 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 +109 -5
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/lens-filter.contract.js +4 -3
- package/dist/contracts/lens-filter.contract.js.map +1 -1
- package/dist/contracts/lens-workflow.contract.js +4 -3
- package/dist/contracts/lens-workflow.contract.js.map +1 -1
- package/dist/contracts/lensFilter.js +4 -3
- package/dist/contracts/lensFilter.js.map +1 -1
- package/dist/contracts/lensWorkflow.js +4 -3
- package/dist/contracts/lensWorkflow.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/contracts/workflow-runtime.contract.js +1 -1
- package/dist/contracts/workflow-runtime.contract.js.map +1 -1
- package/dist/contracts/workflowRuntime.js +1 -1
- package/dist/contracts/workflowRuntime.js.map +1 -1
- package/dist/contradictions/index.d.ts +24 -4
- package/dist/contradictions/index.js +3347 -1109
- package/dist/contradictions/index.js.map +1 -1
- package/dist/coreClient.d.ts +11 -1
- package/dist/coreClient.js +222 -14
- package/dist/coreClient.js.map +1 -1
- package/dist/decisions/index.d.ts +34 -14
- package/dist/decisions/index.js +3347 -1109
- package/dist/decisions/index.js.map +1 -1
- package/dist/decisionsClient.d.ts +6 -12
- package/dist/decisionsClient.js +235 -37
- package/dist/decisionsClient.js.map +1 -1
- package/dist/edges/index.d.ts +47 -87
- package/dist/edges/index.js +3347 -1109
- package/dist/edges/index.js.map +1 -1
- package/dist/embeddingsClient.d.ts +106 -0
- package/dist/embeddingsClient.js +731 -0
- package/dist/embeddingsClient.js.map +1 -0
- package/dist/eventingClient.d.ts +96 -0
- package/dist/eventingClient.js +728 -0
- package/dist/eventingClient.js.map +1 -0
- package/dist/events.js +6 -3
- package/dist/events.js.map +1 -1
- package/dist/eventsCore.d.ts +3 -1
- package/dist/eventsCore.js +222 -14
- package/dist/eventsCore.js.map +1 -1
- package/dist/evidence/index.d.ts +25 -4
- package/dist/evidence/index.js +3347 -1109
- package/dist/evidence/index.js.map +1 -1
- package/dist/evidenceClient.d.ts +2 -0
- package/dist/evidenceClient.js +222 -14
- package/dist/evidenceClient.js.map +1 -1
- package/dist/facade/context.d.ts +2 -1
- package/dist/facade/context.js +25 -16
- package/dist/facade/context.js.map +1 -1
- package/dist/functionSurface.d.ts +143 -0
- package/dist/functionSurface.js +1204 -0
- package/dist/functionSurface.js.map +1 -0
- package/dist/functionSurfaceClient.d.ts +8 -0
- package/dist/functionSurfaceClient.js +1204 -0
- package/dist/functionSurfaceClient.js.map +1 -0
- package/dist/gatewayFacades.d.ts +81 -52
- package/dist/gatewayFacades.js +483 -169
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/graphAnalysisClient.d.ts +192 -0
- package/dist/graphAnalysisClient.js +799 -0
- package/dist/graphAnalysisClient.js.map +1 -0
- package/dist/graphClient.d.ts +7 -13
- package/dist/graphClient.js +244 -45
- package/dist/graphClient.js.map +1 -1
- package/dist/graphIntel.d.ts +3 -0
- package/dist/graphIntel.js +3 -0
- package/dist/graphIntel.js.map +1 -0
- package/dist/graphIntelligence.d.ts +2 -0
- package/dist/graphIntelligence.js +47 -0
- package/dist/graphIntelligence.js.map +1 -0
- package/dist/graphRecommendationsClient.d.ts +56 -0
- package/dist/graphRecommendationsClient.js +664 -0
- package/dist/graphRecommendationsClient.js.map +1 -0
- package/dist/graphStateClassifierClient.d.ts +73 -0
- package/dist/graphStateClassifierClient.js +716 -0
- package/dist/graphStateClassifierClient.js.map +1 -0
- package/dist/harnessClient.d.ts +15 -24
- package/dist/harnessClient.js +235 -42
- package/dist/harnessClient.js.map +1 -1
- package/dist/identityClient.d.ts +97 -11
- package/dist/identityClient.js +409 -33
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +29 -6
- package/dist/index.js +3936 -1155
- package/dist/index.js.map +1 -1
- package/dist/infisicalRuntime.d.ts +42 -0
- package/dist/infisicalRuntime.js +314 -0
- package/dist/infisicalRuntime.js.map +1 -0
- package/dist/jobsClient.d.ts +98 -0
- package/dist/jobsClient.js +726 -0
- package/dist/jobsClient.js.map +1 -0
- package/dist/learningClient.d.ts +8 -6
- package/dist/learningClient.js +252 -44
- package/dist/learningClient.js.map +1 -1
- package/dist/lenses/index.d.ts +82 -42
- package/dist/lenses/index.js +3347 -1109
- package/dist/lenses/index.js.map +1 -1
- package/dist/mcpClient.d.ts +28 -0
- package/dist/mcpClient.js +668 -0
- package/dist/mcpClient.js.map +1 -0
- package/dist/modelRuntimeClient.d.ts +72 -0
- package/dist/modelRuntimeClient.js +704 -0
- package/dist/modelRuntimeClient.js.map +1 -0
- package/dist/nodes/index.d.ts +63 -21
- package/dist/nodes/index.js +3347 -1109
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.d.ts +53 -32
- package/dist/ontologies/index.js +3347 -1109
- package/dist/ontologies/index.js.map +1 -1
- package/dist/ontologyClient.d.ts +19 -25
- package/dist/ontologyClient.js +258 -40
- package/dist/ontologyClient.js.map +1 -1
- package/dist/ontologyLinksClient.d.ts +71 -0
- package/dist/ontologyLinksClient.js +697 -0
- package/dist/ontologyLinksClient.js.map +1 -0
- package/dist/opinion.d.ts +2 -2
- package/dist/opinion.js +4 -4
- package/dist/opinion.js.map +1 -1
- package/dist/orgGraphSearchClient.d.ts +85 -0
- package/dist/orgGraphSearchClient.js +672 -0
- package/dist/orgGraphSearchClient.js.map +1 -0
- package/dist/packsClient.d.ts +11 -23
- package/dist/packsClient.js +234 -46
- package/dist/packsClient.js.map +1 -1
- package/dist/policyClient.d.ts +13 -10
- package/dist/policyClient.js +243 -25
- package/dist/policyClient.js.map +1 -1
- package/dist/questions/index.d.ts +24 -4
- package/dist/questions/index.js +3347 -1109
- package/dist/questions/index.js.map +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/reportsClient.d.ts +9 -7
- package/dist/reportsClient.js +281 -53
- package/dist/reportsClient.js.map +1 -1
- package/dist/schemaClient.d.ts +5 -3
- package/dist/schemaClient.js +235 -29
- package/dist/schemaClient.js.map +1 -1
- package/dist/sdkSurface.d.ts +8 -3
- package/dist/sdkSurface.js +10 -6
- package/dist/sdkSurface.js.map +1 -1
- package/dist/sourcesClient.d.ts +2 -0
- package/dist/sourcesClient.js +222 -14
- package/dist/sourcesClient.js.map +1 -1
- package/dist/telemetryClient.d.ts +94 -0
- package/dist/telemetryClient.js +741 -0
- package/dist/telemetryClient.js.map +1 -0
- package/dist/toolRegistryClient.d.ts +115 -0
- package/dist/toolRegistryClient.js +767 -0
- package/dist/toolRegistryClient.js.map +1 -0
- package/dist/topics/index.d.ts +35 -9
- package/dist/topics/index.js +3349 -1109
- package/dist/topics/index.js.map +1 -1
- package/dist/topicsClient.d.ts +4 -0
- package/dist/topicsClient.js +237 -24
- package/dist/topicsClient.js.map +1 -1
- package/dist/types.d.ts +12 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/workflowClient.d.ts +76 -45
- package/dist/workflowClient.js +262 -65
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.d.ts +78 -39
- package/dist/worktrees/index.js +3347 -1109
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +13 -3
- package/dist/client-DAuKnDlx.d.ts +0 -2547
package/dist/types.d.ts
CHANGED
|
@@ -337,6 +337,7 @@ type WorkflowWorktreeRecord = {
|
|
|
337
337
|
title?: string;
|
|
338
338
|
status?: string;
|
|
339
339
|
phase?: string;
|
|
340
|
+
campaign?: number;
|
|
340
341
|
hypothesis?: string;
|
|
341
342
|
questionCount?: number;
|
|
342
343
|
taskCount?: number;
|
|
@@ -344,10 +345,9 @@ type WorkflowWorktreeRecord = {
|
|
|
344
345
|
frameworkSuggestions?: JsonValue[];
|
|
345
346
|
dependencySuggestions?: JsonValue[];
|
|
346
347
|
gate?: string;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
executionOrder?: number;
|
|
348
|
+
lane?: string;
|
|
349
|
+
laneOrderInCampaign?: number;
|
|
350
|
+
orderInLane?: number;
|
|
351
351
|
dependsOn?: string[];
|
|
352
352
|
blocks?: string[];
|
|
353
353
|
proofArtifacts?: WorkflowProofArtifact[];
|
|
@@ -405,10 +405,10 @@ type ListLensesResponse = ListResult<WorkflowLensRecord, "lenses">;
|
|
|
405
405
|
type CreateLensResponse = WorkflowLensRecord;
|
|
406
406
|
/** Response returned after binding or unbinding a lens to a topic. */
|
|
407
407
|
type LensTopicBindingResponse = WorkflowLensBindingRecord;
|
|
408
|
-
/** Paginated list of worktrees with optional
|
|
408
|
+
/** Paginated list of worktrees with optional lane and campaign summary counts. */
|
|
409
409
|
type ListWorktreesResponse = ListResult<WorkflowWorktreeRecord, "worktrees"> & {
|
|
410
|
-
|
|
411
|
-
|
|
410
|
+
lanes?: Record<string, number>;
|
|
411
|
+
campaigns?: Record<string, number>;
|
|
412
412
|
};
|
|
413
413
|
/** Response returned after adding a new worktree to a topic. */
|
|
414
414
|
type AddWorktreeResponse = WorkflowWorktreeRecord;
|
|
@@ -473,6 +473,11 @@ type TopicRecord = {
|
|
|
473
473
|
topicId?: string;
|
|
474
474
|
id?: string;
|
|
475
475
|
globalId?: string;
|
|
476
|
+
topicGlobalId?: string;
|
|
477
|
+
epistemicNodeId?: string;
|
|
478
|
+
epistemicNodeGlobalId?: string;
|
|
479
|
+
parentEdgeId?: string;
|
|
480
|
+
parentEdgeGlobalId?: string;
|
|
476
481
|
name?: string;
|
|
477
482
|
description?: string;
|
|
478
483
|
type?: string;
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/version.ts"],"names":[],"mappings":";AACO,IAAM,kBAAA,GAAqB","file":"version.js","sourcesContent":["/** Current SDK package version. */\nexport const LUCERN_SDK_VERSION = \"0.
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"names":[],"mappings":";AACO,IAAM,kBAAA,GAAqB","file":"version.js","sourcesContent":["/** Current SDK package version. */\nexport const LUCERN_SDK_VERSION = \"0.3.0-alpha.10\";\n"]}
|
package/dist/workflowClient.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { TopicIdentifierInput, JsonObject, ListResult, WorkflowBranchRecord, Wor
|
|
|
4
4
|
export { AddWorktreeResponse, CreateBranchResponse, CreateLensResponse, LensTopicBindingResponse, ListBranchesResponse, ListLensesResponse } from './types.js';
|
|
5
5
|
import { LensPerspectiveType, LensStatus, LensPromptTemplateReference, LensWorkflowTemplate, LensTaskTemplate } from './contracts/lens-workflow.contract.js';
|
|
6
6
|
import { WorkflowProofArtifact, WorkflowStaffingHint, WorkflowAutoFixPolicy } from './contracts/workflow-runtime.contract.js';
|
|
7
|
+
import './authContext.js';
|
|
8
|
+
import './contracts/auth-session.contract.js';
|
|
7
9
|
import './contracts/lens-filter.contract.js';
|
|
8
10
|
|
|
9
11
|
/** Configuration for the workflow client. */
|
|
@@ -22,13 +24,53 @@ type WorkflowMergeOutcome = "validated" | "invalidated" | "forked" | "inconclusi
|
|
|
22
24
|
type AddWorktreeInput = {
|
|
23
25
|
title: string;
|
|
24
26
|
topicId?: string;
|
|
27
|
+
topicHint?: string;
|
|
25
28
|
branchId?: string;
|
|
26
29
|
objective?: string;
|
|
27
30
|
hypothesis?: string;
|
|
31
|
+
rationale?: string;
|
|
32
|
+
worktreeType?: string;
|
|
33
|
+
startDate?: number;
|
|
34
|
+
endDate?: number;
|
|
35
|
+
durationWeeks?: number;
|
|
36
|
+
confidenceImpact?: "high" | "medium" | "low";
|
|
37
|
+
beliefFocus?: string;
|
|
28
38
|
beliefIds?: string[];
|
|
39
|
+
targetBeliefIds?: string[];
|
|
40
|
+
targetQuestionIds?: string[];
|
|
41
|
+
keyQuestions?: Array<{
|
|
42
|
+
question: string;
|
|
43
|
+
status?: "open" | "answered" | "forked";
|
|
44
|
+
answer?: string;
|
|
45
|
+
answerConfidence?: "high" | "medium" | "low";
|
|
46
|
+
linkedQuestionId?: string;
|
|
47
|
+
}>;
|
|
48
|
+
evidenceSignals?: Array<{
|
|
49
|
+
signal: string;
|
|
50
|
+
collected?: boolean;
|
|
51
|
+
progress?: string;
|
|
52
|
+
notes?: string;
|
|
53
|
+
}>;
|
|
54
|
+
decisionGate?: {
|
|
55
|
+
goCriteria: string[];
|
|
56
|
+
noGoSignals: string[];
|
|
57
|
+
verdict?: "go" | "no_go" | "pivot" | "pending";
|
|
58
|
+
verdictRationale?: string;
|
|
59
|
+
decidedAt?: number;
|
|
60
|
+
decidedBy?: string;
|
|
61
|
+
};
|
|
62
|
+
goCriteria?: string[];
|
|
63
|
+
noGoSignals?: string[];
|
|
29
64
|
autoShape?: boolean;
|
|
30
65
|
domainPackId?: string;
|
|
31
|
-
|
|
66
|
+
tags?: string[];
|
|
67
|
+
touchedPaths?: string[];
|
|
68
|
+
sourceRef?: string;
|
|
69
|
+
sourceKind?: string;
|
|
70
|
+
campaign?: number;
|
|
71
|
+
lane?: string;
|
|
72
|
+
laneOrderInCampaign?: number;
|
|
73
|
+
orderInLane?: number;
|
|
32
74
|
dependsOn?: string[];
|
|
33
75
|
blocks?: string[];
|
|
34
76
|
gate?: string;
|
|
@@ -36,14 +78,16 @@ type AddWorktreeInput = {
|
|
|
36
78
|
staffingHint?: WorkflowStaffingHint | string;
|
|
37
79
|
lastReconciledAt?: number;
|
|
38
80
|
autoFixPolicy?: WorkflowAutoFixPolicy;
|
|
81
|
+
lensId?: string;
|
|
39
82
|
} & TopicIdentifierInput;
|
|
40
|
-
|
|
83
|
+
type WorkflowMergeInputOutcome = string | {
|
|
84
|
+
beliefId: string;
|
|
85
|
+
confidence: number;
|
|
86
|
+
rationale: string;
|
|
87
|
+
};
|
|
88
|
+
/** Input for merging worktree findings with optional belief confidence outcomes. */
|
|
41
89
|
type MergeInput = {
|
|
42
|
-
outcomes:
|
|
43
|
-
beliefId: string;
|
|
44
|
-
confidence: number;
|
|
45
|
-
rationale: string;
|
|
46
|
-
}>;
|
|
90
|
+
outcomes: WorkflowMergeInputOutcome[];
|
|
47
91
|
summary?: string;
|
|
48
92
|
};
|
|
49
93
|
/** Input for updating the beliefs and questions tracked by a worktree. */
|
|
@@ -183,8 +227,9 @@ declare function createWorkflowClient(config?: WorkflowClientConfig): {
|
|
|
183
227
|
topicId?: string;
|
|
184
228
|
branchId?: string;
|
|
185
229
|
status?: WorkflowWorktreeStatus;
|
|
186
|
-
|
|
187
|
-
|
|
230
|
+
groupBy?: "campaign" | "lane" | "flat";
|
|
231
|
+
lane?: string;
|
|
232
|
+
campaign?: number;
|
|
188
233
|
limit?: number;
|
|
189
234
|
} & TopicIdentifierInput): Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>;
|
|
190
235
|
/**
|
|
@@ -192,18 +237,23 @@ declare function createWorkflowClient(config?: WorkflowClientConfig): {
|
|
|
192
237
|
*/
|
|
193
238
|
listAllWorktrees(query?: {
|
|
194
239
|
status?: WorkflowWorktreeStatus;
|
|
195
|
-
|
|
196
|
-
|
|
240
|
+
groupBy?: "campaign" | "lane" | "flat";
|
|
241
|
+
lane?: string;
|
|
242
|
+
campaign?: number;
|
|
197
243
|
limit?: number;
|
|
198
244
|
}): Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
|
|
199
245
|
/**
|
|
200
|
-
*
|
|
246
|
+
* List compact pipeline campaigns with nested lanes.
|
|
201
247
|
*/
|
|
202
|
-
|
|
248
|
+
listCampaigns(query?: {
|
|
249
|
+
topicId?: string;
|
|
250
|
+
status?: WorkflowWorktreeStatus;
|
|
251
|
+
limit?: number;
|
|
252
|
+
} & TopicIdentifierInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
203
253
|
/**
|
|
204
|
-
*
|
|
254
|
+
* Create a workflow worktree.
|
|
205
255
|
*/
|
|
206
|
-
|
|
256
|
+
createWorktree(input: AddWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
|
|
207
257
|
/**
|
|
208
258
|
* Merge a worktree into the main belief line.
|
|
209
259
|
*/
|
|
@@ -272,45 +322,26 @@ declare function createWorkflowClient(config?: WorkflowClientConfig): {
|
|
|
272
322
|
* Update a workflow task.
|
|
273
323
|
*/
|
|
274
324
|
updateTask(taskId: string, input: UpdateTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<UpdateTaskResponse>>;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
createPillar(input: {
|
|
325
|
+
} & {
|
|
326
|
+
addWorktree: (input: AddWorktreeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
|
|
327
|
+
createPillar: (input: {
|
|
279
328
|
name: string;
|
|
280
329
|
topicId?: string;
|
|
281
330
|
description?: string;
|
|
282
331
|
metadata?: JsonObject;
|
|
283
|
-
} & TopicIdentifierInput, idempotencyKey?: string)
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
createSprint(input: {
|
|
288
|
-
title: string;
|
|
289
|
-
topicId?: string;
|
|
290
|
-
branchId?: string;
|
|
291
|
-
hypothesis?: string;
|
|
292
|
-
beliefIds?: string[];
|
|
293
|
-
} & TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
|
|
294
|
-
/**
|
|
295
|
-
* @deprecated Use merge.
|
|
296
|
-
*/
|
|
297
|
-
completeSprint(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<MergeWorktreeResponse>>;
|
|
298
|
-
/**
|
|
299
|
-
* @deprecated Use openPullRequest.
|
|
300
|
-
*/
|
|
301
|
-
requestReview(worktreeId: string, input: {
|
|
332
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
|
|
333
|
+
createSprint: (input: AddWorktreeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>;
|
|
334
|
+
completeSprint: (worktreeId: string, input: MergeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<MergeWorktreeResponse>>;
|
|
335
|
+
requestReview: (worktreeId: string, input: {
|
|
302
336
|
summary: string;
|
|
303
337
|
reviewers?: string[];
|
|
304
338
|
status?: "pending_review" | "changes_requested" | "approved" | "blocked";
|
|
305
|
-
}, idempotencyKey?: string)
|
|
306
|
-
|
|
307
|
-
* @deprecated Use push.
|
|
308
|
-
*/
|
|
309
|
-
publishFindings(worktreeId: string, input: {
|
|
339
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
|
|
340
|
+
publishFindings: (worktreeId: string, input: {
|
|
310
341
|
targetContext: string;
|
|
311
342
|
beliefIds?: string[];
|
|
312
343
|
metadata?: JsonObject;
|
|
313
|
-
}, idempotencyKey?: string)
|
|
344
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
|
|
314
345
|
};
|
|
315
346
|
|
|
316
|
-
export { type AddWorktreeInput, type AdvanceWorktreePhaseInput, type BulkCreateWorktreesInput, type CompleteTaskInput, CompleteTaskResponse, type CompleteWorktreeInput, type CreateTaskInput, CreateTaskResponse, type ListTopicsInput, ListTopicsResponse, ListWorktreesResponse, type MergeInput, MergeWorktreeResponse, OpenPullRequestResponse, type PatchWorktreeStateInput, PlatformGatewaySuccess, PushWorktreeResponse, type SetWorktreePhaseInput, type SwitchTopicContextInput, SwitchTopicContextResponse, type UpdateTaskInput, UpdateTaskResponse, type UpdateWorktreeTargetsInput, type WorkflowBranchStatus, type WorkflowClientConfig, type WorkflowLensPerspectiveType, type WorkflowLensStatus, type WorkflowMergeOutcome, type WorkflowWorktreeStatus, createWorkflowClient };
|
|
347
|
+
export { type AddWorktreeInput, type AdvanceWorktreePhaseInput, type BulkCreateWorktreesInput, type CompleteTaskInput, CompleteTaskResponse, type CompleteWorktreeInput, type CreateTaskInput, CreateTaskResponse, type ListTopicsInput, ListTopicsResponse, ListWorktreesResponse, type MergeInput, MergeWorktreeResponse, OpenPullRequestResponse, type PatchWorktreeStateInput, PlatformGatewaySuccess, PushWorktreeResponse, type SetWorktreePhaseInput, type SwitchTopicContextInput, SwitchTopicContextResponse, type UpdateTaskInput, UpdateTaskResponse, type UpdateWorktreeTargetsInput, type WorkflowBranchStatus, type WorkflowClientConfig, type WorkflowLensPerspectiveType, type WorkflowLensStatus, type WorkflowMergeInputOutcome, type WorkflowMergeOutcome, type WorkflowWorktreeStatus, createWorkflowClient };
|