@lucern/sdk 0.3.0-alpha.17 → 0.3.0-alpha.3
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 +0 -12
- package/README.md +4 -110
- package/dist/adminClient.d.ts +8 -8
- package/dist/adminClient.js +40 -70
- package/dist/adminClient.js.map +1 -1
- package/dist/answersClient.js +12 -49
- package/dist/answersClient.js.map +1 -1
- package/dist/audience/index.d.ts +1 -2
- package/dist/audience/index.js +3 -1
- package/dist/audience/index.js.map +1 -1
- package/dist/audiencesClient.d.ts +16 -16
- package/dist/audiencesClient.js +91 -125
- package/dist/audiencesClient.js.map +1 -1
- package/dist/auditClient.js +14 -53
- package/dist/auditClient.js.map +1 -1
- package/dist/authContext.d.ts +2 -2
- package/dist/authContext.js +3 -4
- package/dist/authContext.js.map +1 -1
- package/dist/authDeviceClient.js +3 -16
- package/dist/authDeviceClient.js.map +1 -1
- package/dist/beliefs/index.d.ts +4 -9
- package/dist/beliefs/index.js +1305 -1943
- package/dist/beliefs/index.js.map +1 -1
- package/dist/beliefsClient.d.ts +2 -2
- package/dist/beliefsClient.js +23 -54
- package/dist/beliefsClient.js.map +1 -1
- package/dist/boundaryClientSurface.js +3 -10
- package/dist/boundaryClientSurface.js.map +1 -1
- package/dist/client-EiG9nJOY.d.ts +2911 -0
- package/dist/client.d.ts +41 -3038
- package/dist/client.js +1305 -1943
- package/dist/client.js.map +1 -1
- package/dist/contextClient.d.ts +3 -4
- package/dist/contextClient.js +30 -79
- package/dist/contextClient.js.map +1 -1
- package/dist/contextFacade.js +16 -25
- package/dist/contextFacade.js.map +1 -1
- package/dist/contextPackCompiler.js +30 -19
- package/dist/contextPackCompiler.js.map +1 -1
- package/dist/contextPackPolicy.js +17 -7
- package/dist/contextPackPolicy.js.map +1 -1
- package/dist/contextTypes.d.ts +0 -2
- package/dist/contracts/api-enums.contract.d.ts +2 -2
- package/dist/contracts/api-enums.contract.js +1 -6
- package/dist/contracts/api-enums.contract.js.map +1 -1
- package/dist/contracts/auth-session.contract.d.ts +1 -1
- package/dist/contracts/auth-session.contract.js +2 -14
- package/dist/contracts/auth-session.contract.js.map +1 -1
- package/dist/contracts/index.js +6 -30
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/lens-filter.contract.js +3 -4
- package/dist/contracts/lens-filter.contract.js.map +1 -1
- package/dist/contracts/lens-workflow.contract.js +3 -4
- package/dist/contracts/lens-workflow.contract.js.map +1 -1
- package/dist/contracts/lensFilter.js +3 -4
- package/dist/contracts/lensFilter.js.map +1 -1
- package/dist/contracts/lensWorkflow.js +3 -4
- package/dist/contracts/lensWorkflow.js.map +1 -1
- package/dist/contracts/mcpTools.js +0 -6
- package/dist/contracts/mcpTools.js.map +1 -1
- package/dist/contradictions/index.d.ts +3 -8
- package/dist/contradictions/index.js +1305 -1943
- package/dist/contradictions/index.js.map +1 -1
- package/dist/coreClient.d.ts +2 -19
- package/dist/coreClient.js +15 -50
- package/dist/coreClient.js.map +1 -1
- package/dist/decisions/index.d.ts +13 -18
- package/dist/decisions/index.js +1305 -1943
- package/dist/decisions/index.js.map +1 -1
- package/dist/decisionsClient.d.ts +12 -4
- package/dist/decisionsClient.js +35 -60
- package/dist/decisionsClient.js.map +1 -1
- package/dist/edges/index.d.ts +86 -31
- package/dist/edges/index.js +1305 -1943
- package/dist/edges/index.js.map +1 -1
- package/dist/embeddingsClient.js +18 -60
- package/dist/embeddingsClient.js.map +1 -1
- package/dist/eventingClient.js +18 -60
- package/dist/eventingClient.js.map +1 -1
- package/dist/events.js +3 -6
- package/dist/events.js.map +1 -1
- package/dist/eventsCore.d.ts +1 -1
- package/dist/eventsCore.js +15 -50
- package/dist/eventsCore.js.map +1 -1
- package/dist/evidence/index.d.ts +3 -8
- package/dist/evidence/index.js +1305 -1943
- package/dist/evidence/index.js.map +1 -1
- package/dist/evidenceClient.js +15 -50
- package/dist/evidenceClient.js.map +1 -1
- package/dist/facade/context.d.ts +1 -2
- package/dist/facade/context.js +16 -25
- package/dist/facade/context.js.map +1 -1
- package/dist/gatewayFacades.d.ts +48 -90
- package/dist/gatewayFacades.js +128 -251
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/graphAnalysisClient.d.ts +1 -53
- package/dist/graphAnalysisClient.js +17 -81
- package/dist/graphAnalysisClient.js.map +1 -1
- package/dist/graphClient.d.ts +13 -6
- package/dist/graphClient.js +39 -65
- package/dist/graphClient.js.map +1 -1
- package/dist/graphRecommendationsClient.js +17 -54
- package/dist/graphRecommendationsClient.js.map +1 -1
- package/dist/graphStateClassifierClient.js +19 -60
- package/dist/graphStateClassifierClient.js.map +1 -1
- package/dist/harnessClient.d.ts +24 -13
- package/dist/harnessClient.js +41 -61
- package/dist/harnessClient.js.map +1 -1
- package/dist/identityClient.d.ts +9 -27
- package/dist/identityClient.js +39 -203
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +6 -15
- package/dist/index.js +1171 -2256
- package/dist/index.js.map +1 -1
- package/dist/jobsClient.js +19 -60
- package/dist/jobsClient.js.map +1 -1
- package/dist/learningClient.d.ts +6 -6
- package/dist/learningClient.js +43 -78
- package/dist/learningClient.js.map +1 -1
- package/dist/lenses/index.d.ts +37 -60
- package/dist/lenses/index.js +1305 -1943
- package/dist/lenses/index.js.map +1 -1
- package/dist/mcpClient.js +13 -51
- package/dist/mcpClient.js.map +1 -1
- package/dist/modelRuntimeClient.js +18 -60
- package/dist/modelRuntimeClient.js.map +1 -1
- package/dist/nodes/index.d.ts +22 -49
- package/dist/nodes/index.js +1305 -1943
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.d.ts +31 -37
- package/dist/ontologies/index.js +1305 -1943
- package/dist/ontologies/index.js.map +1 -1
- package/dist/ontologyClient.d.ts +25 -17
- package/dist/ontologyClient.js +41 -86
- package/dist/ontologyClient.js.map +1 -1
- package/dist/ontologyLinksClient.js +19 -60
- package/dist/ontologyLinksClient.js.map +1 -1
- package/dist/orgGraphSearchClient.js +14 -53
- package/dist/orgGraphSearchClient.js.map +1 -1
- package/dist/packRuntime.d.ts +1 -2
- package/dist/packsClient.d.ts +23 -9
- package/dist/packsClient.js +47 -62
- package/dist/packsClient.js.map +1 -1
- package/dist/policyClient.d.ts +10 -11
- package/dist/policyClient.js +26 -71
- package/dist/policyClient.js.map +1 -1
- package/dist/questions/index.d.ts +3 -8
- package/dist/questions/index.js +1305 -1943
- package/dist/questions/index.js.map +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/reportsClient.d.ts +7 -7
- package/dist/reportsClient.js +52 -107
- package/dist/reportsClient.js.map +1 -1
- package/dist/schemaClient.d.ts +3 -3
- package/dist/schemaClient.js +30 -63
- package/dist/schemaClient.js.map +1 -1
- package/dist/sdkSurface.d.ts +3 -6
- package/dist/sdkSurface.js +6 -10
- package/dist/sdkSurface.js.map +1 -1
- package/dist/sourcesClient.js +15 -50
- package/dist/sourcesClient.js.map +1 -1
- package/dist/telemetryClient.js +19 -60
- package/dist/telemetryClient.js.map +1 -1
- package/dist/toolRegistryClient.d.ts +2 -10
- package/dist/toolRegistryClient.js +20 -73
- package/dist/toolRegistryClient.js.map +1 -1
- package/dist/topics/index.d.ts +8 -19
- package/dist/topics/index.js +1305 -1945
- package/dist/topics/index.js.map +1 -1
- package/dist/topicsClient.d.ts +0 -2
- package/dist/topicsClient.js +20 -60
- package/dist/topicsClient.js.map +1 -1
- package/dist/types.d.ts +0 -17
- 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 +40 -58
- package/dist/workflowClient.js +54 -66
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.d.ts +33 -54
- package/dist/worktrees/index.js +1305 -1943
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +3 -17
- package/dist/accessControl.d.ts +0 -79
- package/dist/accessControl.js +0 -1270
- package/dist/accessControl.js.map +0 -1
- package/dist/clientHelpers.d.ts +0 -48
- package/dist/clientHelpers.js +0 -137
- package/dist/clientHelpers.js.map +0 -1
- package/dist/control-plane.d.ts +0 -69
- package/dist/control-plane.js +0 -674
- package/dist/control-plane.js.map +0 -1
- package/dist/functionSurface.d.ts +0 -144
- package/dist/functionSurface.js +0 -1227
- package/dist/functionSurface.js.map +0 -1
- package/dist/functionSurfaceClient.d.ts +0 -8
- package/dist/functionSurfaceClient.js +0 -1227
- package/dist/functionSurfaceClient.js.map +0 -1
- package/dist/graphIntel.d.ts +0 -4
- package/dist/graphIntel.js +0 -3
- package/dist/graphIntel.js.map +0 -1
- package/dist/graphIntelligence.d.ts +0 -2
- package/dist/graphIntelligence.js +0 -47
- package/dist/graphIntelligence.js.map +0 -1
- package/dist/infisicalRuntime.d.ts +0 -43
- package/dist/infisicalRuntime.js +0 -346
- package/dist/infisicalRuntime.js.map +0 -1
- package/dist/secrets.d.ts +0 -1
- package/dist/secrets.js +0 -3
- package/dist/secrets.js.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { LensPromptTemplateReference, LensWorkflowTemplate, LensTaskTemplate } from '../contracts/lens-workflow.contract.js';
|
|
2
|
-
import { FunctionSurfaceInput, FunctionSurfaceResult } from '../
|
|
2
|
+
import { L as LucernClientConfig, a as FunctionSurfaceInput, b as FunctionSurfaceResult } from '../client-EiG9nJOY.js';
|
|
3
3
|
import { TopicIdentifierInput, ListResult, WorkflowWorktreeRecord, JsonObject, WorkflowBranchRecord, WorkflowLensRecord, WorkflowLensBindingRecord, ListWorktreesResponse, PushWorktreeResponse, OpenPullRequestResponse } from '../types.js';
|
|
4
4
|
import { PlatformGatewaySuccess } from '../coreClient.js';
|
|
5
5
|
import { AddWorktreeInput, WorkflowWorktreeStatus, UpdateWorktreeTargetsInput, MergeInput, WorkflowLensPerspectiveType, WorkflowLensStatus } from '../workflowClient.js';
|
|
6
|
-
import { LucernClientConfig } from '../client.js';
|
|
7
6
|
import * as v1 from '@lucern/contracts/worktrees/v1';
|
|
8
7
|
export { v1 as worktreeContracts };
|
|
9
8
|
import * as sdkMethods_contract from '@lucern/contracts/sdk-methods.contract';
|
|
@@ -11,10 +10,10 @@ export { sdkMethods_contract as methodSchemas };
|
|
|
11
10
|
import * as toolContracts from '@lucern/contracts/tool-contracts';
|
|
12
11
|
export { toolContracts as toolSchemas };
|
|
13
12
|
import '../contracts/lens-filter.contract.js';
|
|
14
|
-
import '../
|
|
13
|
+
import '../audiencesClient.js';
|
|
15
14
|
import '../authContext.js';
|
|
16
15
|
import '../contracts/auth-session.contract.js';
|
|
17
|
-
import '../
|
|
16
|
+
import '../contracts/workflow-runtime.contract.js';
|
|
18
17
|
import '../schemaClient.js';
|
|
19
18
|
import '../harnessClient.js';
|
|
20
19
|
import '../adminClient.js';
|
|
@@ -25,9 +24,9 @@ import '../authDeviceClient.js';
|
|
|
25
24
|
import '../mcpClient.js';
|
|
26
25
|
import '@lucern/contracts/mcp-gateway-boundary.contract';
|
|
27
26
|
import '../identityClient.js';
|
|
28
|
-
import '../control-plane.js';
|
|
29
|
-
import '../accessControl.js';
|
|
30
27
|
import '../packsClient.js';
|
|
28
|
+
import '../customTools.js';
|
|
29
|
+
import 'zod';
|
|
31
30
|
import '../toolRegistryClient.js';
|
|
32
31
|
import '../telemetryClient.js';
|
|
33
32
|
import '../jobsClient.js';
|
|
@@ -38,7 +37,6 @@ import '../ontologyLinksClient.js';
|
|
|
38
37
|
import '../orgGraphSearchClient.js';
|
|
39
38
|
import '../graphRecommendationsClient.js';
|
|
40
39
|
import '../graphAnalysisClient.js';
|
|
41
|
-
import '@lucern/contracts';
|
|
42
40
|
import '../embeddingsClient.js';
|
|
43
41
|
import '../policyClient.js';
|
|
44
42
|
import '../ontologyClient.js';
|
|
@@ -47,8 +45,6 @@ import '../topicsClient.js';
|
|
|
47
45
|
import '../answersClient.js';
|
|
48
46
|
import '../auditClient.js';
|
|
49
47
|
import '../contextClient.js';
|
|
50
|
-
import '../customTools.js';
|
|
51
|
-
import 'zod';
|
|
52
48
|
import '../decisionsClient.js';
|
|
53
49
|
import '../evidenceClient.js';
|
|
54
50
|
import '../eventingClient.js';
|
|
@@ -56,7 +52,6 @@ import '../graphClient.js';
|
|
|
56
52
|
import '../learningClient.js';
|
|
57
53
|
import '../reportsClient.js';
|
|
58
54
|
import '../sourcesClient.js';
|
|
59
|
-
import '../clientHelpers.js';
|
|
60
55
|
|
|
61
56
|
type WorktreesClientConfig = LucernClientConfig;
|
|
62
57
|
type WorktreesClient = ReturnType<typeof createWorktreesClient>;
|
|
@@ -94,22 +89,24 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
94
89
|
mergeWorktree: (worktreeId: string, input: MergeInput) => Promise<PlatformGatewaySuccess<{
|
|
95
90
|
[x: string]: unknown;
|
|
96
91
|
}>>;
|
|
97
|
-
completeWorktree: (input: {
|
|
92
|
+
completeWorktree: (input: Parameters<(input: {
|
|
98
93
|
worktreeId: string;
|
|
99
94
|
keyFindings?: string[];
|
|
100
95
|
decisionsReached?: string[];
|
|
101
96
|
nextSteps?: string[];
|
|
102
97
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
103
98
|
[x: string]: unknown;
|
|
99
|
+
}>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
100
|
+
[x: string]: unknown;
|
|
104
101
|
}>>;
|
|
105
102
|
raw: {
|
|
106
|
-
createBranch: (input: {
|
|
103
|
+
createBranch(input: Parameters<(input: {
|
|
107
104
|
name: string;
|
|
108
105
|
topicId?: string;
|
|
109
106
|
description?: string;
|
|
110
107
|
metadata?: JsonObject;
|
|
111
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
|
|
112
|
-
createLens: (input: {
|
|
108
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
|
|
109
|
+
createLens(input: Parameters<(input: {
|
|
113
110
|
name: string;
|
|
114
111
|
workspaceId?: string;
|
|
115
112
|
topicId?: string;
|
|
@@ -119,22 +116,22 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
119
116
|
workflowTemplates?: LensWorkflowTemplate[];
|
|
120
117
|
taskTemplates?: LensTaskTemplate[];
|
|
121
118
|
filterCriteria?: JsonObject;
|
|
122
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
|
|
123
|
-
listLenses: (query: {
|
|
119
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
|
|
120
|
+
listLenses(query: Parameters<(query: {
|
|
124
121
|
workspaceId?: string;
|
|
125
122
|
topicId?: string;
|
|
126
123
|
status?: WorkflowLensStatus;
|
|
127
124
|
perspectiveType?: WorkflowLensPerspectiveType;
|
|
128
|
-
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
|
|
129
|
-
applyLensToTopic: (input: {
|
|
125
|
+
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
|
|
126
|
+
applyLensToTopic(input: Parameters<(input: {
|
|
130
127
|
lensId: string;
|
|
131
128
|
topicId?: string;
|
|
132
129
|
metadata?: JsonObject;
|
|
133
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
134
|
-
removeLensFromTopic: (input: {
|
|
130
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
131
|
+
removeLensFromTopic(input: Parameters<(input: {
|
|
135
132
|
lensId: string;
|
|
136
133
|
topicId?: string;
|
|
137
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
134
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
138
135
|
create(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
|
|
139
136
|
[x: string]: unknown;
|
|
140
137
|
}>>;
|
|
@@ -159,30 +156,6 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
159
156
|
[x: string]: unknown;
|
|
160
157
|
}[];
|
|
161
158
|
}>>;
|
|
162
|
-
listByTopic(query: Parameters<(query: {
|
|
163
|
-
topicId?: string;
|
|
164
|
-
branchId?: string;
|
|
165
|
-
status?: WorkflowWorktreeStatus;
|
|
166
|
-
groupBy?: "campaign" | "lane" | "flat";
|
|
167
|
-
lane?: string;
|
|
168
|
-
campaign?: number;
|
|
169
|
-
limit?: number;
|
|
170
|
-
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
171
|
-
[x: string]: unknown;
|
|
172
|
-
} & {
|
|
173
|
-
cursor?: string;
|
|
174
|
-
total?: number;
|
|
175
|
-
} & {
|
|
176
|
-
worktrees?: {
|
|
177
|
-
[x: string]: unknown;
|
|
178
|
-
}[];
|
|
179
|
-
}>>;
|
|
180
|
-
findByPairedSprint(input: {
|
|
181
|
-
sprintId: string;
|
|
182
|
-
topicId?: string;
|
|
183
|
-
projectId?: string;
|
|
184
|
-
limit?: number;
|
|
185
|
-
}): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
186
159
|
activate(worktreeId: string): Promise<PlatformGatewaySuccess<{
|
|
187
160
|
[x: string]: unknown;
|
|
188
161
|
}>>;
|
|
@@ -195,34 +168,36 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
195
168
|
updateTargets(input: Parameters<(input: UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
196
169
|
[x: string]: unknown;
|
|
197
170
|
}>>;
|
|
198
|
-
listAll
|
|
171
|
+
listAll(query?: Parameters<(query?: {
|
|
199
172
|
status?: WorkflowWorktreeStatus;
|
|
200
173
|
groupBy?: "campaign" | "lane" | "flat";
|
|
201
174
|
lane?: string;
|
|
202
175
|
campaign?: number;
|
|
203
176
|
limit?: number;
|
|
204
|
-
}) => Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
|
|
177
|
+
}) => Promise<PlatformGatewaySuccess<ListWorktreesResponse>>>[0]): Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
|
|
205
178
|
merge(worktreeId: string, input: MergeInput): Promise<PlatformGatewaySuccess<{
|
|
206
179
|
[x: string]: unknown;
|
|
207
180
|
}>>;
|
|
208
|
-
push: (worktreeId: string, input: {
|
|
181
|
+
push(worktreeId: string, input: Parameters<(worktreeId: string, input: {
|
|
209
182
|
targetContext: string;
|
|
210
183
|
beliefIds?: string[];
|
|
211
184
|
metadata?: JsonObject;
|
|
212
|
-
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
|
|
213
|
-
openPullRequest: (worktreeId: string, input: {
|
|
185
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>>[1]): Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
|
|
186
|
+
openPullRequest(worktreeId: string, input: Parameters<(worktreeId: string, input: {
|
|
214
187
|
summary: string;
|
|
215
188
|
reviewers?: string[];
|
|
216
189
|
status?: "pending_review" | "changes_requested" | "approved" | "blocked";
|
|
217
|
-
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
|
|
190
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>>[1]): Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
|
|
218
191
|
pipelineSnapshot(topicId: string): FunctionSurfaceResult<unknown>;
|
|
219
|
-
complete: (input: {
|
|
192
|
+
complete(input: Parameters<(input: {
|
|
220
193
|
worktreeId: string;
|
|
221
194
|
keyFindings?: string[];
|
|
222
195
|
decisionsReached?: string[];
|
|
223
196
|
nextSteps?: string[];
|
|
224
197
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
225
198
|
[x: string]: unknown;
|
|
199
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
200
|
+
[x: string]: unknown;
|
|
226
201
|
}>>;
|
|
227
202
|
advancePhase(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
228
203
|
[x: string]: unknown;
|
|
@@ -230,18 +205,22 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
230
205
|
setPhase(worktreeId: string, phase: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
231
206
|
[x: string]: unknown;
|
|
232
207
|
}>>;
|
|
233
|
-
patchState: (input: {
|
|
208
|
+
patchState(input: Parameters<(input: {
|
|
234
209
|
worktreeId: string;
|
|
235
210
|
patch: {
|
|
236
211
|
[x: string]: unknown;
|
|
237
212
|
};
|
|
238
213
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
239
214
|
[x: string]: unknown;
|
|
215
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
216
|
+
[x: string]: unknown;
|
|
240
217
|
}>>;
|
|
241
|
-
bulkCreate: (input: {
|
|
218
|
+
bulkCreate(input: Parameters<(input: {
|
|
242
219
|
worktrees: unknown[];
|
|
243
220
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
244
221
|
[x: string]: unknown;
|
|
222
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
223
|
+
[x: string]: unknown;
|
|
245
224
|
}>>;
|
|
246
225
|
};
|
|
247
226
|
};
|