@lucern/sdk 0.2.0-alpha.9 → 0.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/adminClient.d.ts +15 -9
- package/dist/adminClient.js.map +1 -1
- package/dist/audience/index.d.ts +38 -0
- package/dist/audience/index.js +110 -0
- package/dist/audience/index.js.map +1 -0
- package/dist/beliefs/index.d.ts +463 -0
- package/dist/beliefs/index.js +6694 -0
- package/dist/beliefs/index.js.map +1 -0
- package/dist/beliefs/lifecycle.d.ts +24 -0
- package/dist/beliefs/lifecycle.js +98 -0
- package/dist/beliefs/lifecycle.js.map +1 -0
- package/dist/beliefsClient.d.ts +91 -12
- package/dist/beliefsClient.js +176 -7
- package/dist/beliefsClient.js.map +1 -1
- package/dist/client-DAuKnDlx.d.ts +2547 -0
- package/dist/client.d.ts +31 -2377
- package/dist/client.js +783 -245
- package/dist/client.js.map +1 -1
- package/dist/contracts/api-enums.contract.d.ts +1 -1
- package/dist/contracts/api-enums.contract.js +8 -2
- package/dist/contracts/api-enums.contract.js.map +1 -1
- package/dist/contracts/index.d.ts +4 -2
- package/dist/contracts/index.js +118 -4282
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/mcpTools.d.ts +2 -1
- package/dist/contracts/mcpTools.js +22 -2981
- package/dist/contracts/mcpTools.js.map +1 -1
- package/dist/contracts/sdk-tools.contract.d.ts +1 -2
- package/dist/contracts/sdk-tools.contract.js +1 -4132
- package/dist/contracts/sdk-tools.contract.js.map +1 -1
- package/dist/contracts/sdkTools.d.ts +1 -2
- package/dist/contracts/sdkTools.js +20 -4127
- package/dist/contracts/sdkTools.js.map +1 -1
- package/dist/contracts/tool-contracts.d.ts +1 -0
- package/dist/contracts/tool-contracts.js +3 -0
- package/dist/contracts/tool-contracts.js.map +1 -0
- package/dist/contradictions/index.d.ts +156 -0
- package/dist/contradictions/index.js +6688 -0
- package/dist/contradictions/index.js.map +1 -0
- package/dist/customTools.d.ts +1 -1
- package/dist/decisions/index.d.ts +66 -0
- package/dist/decisions/index.js +6690 -0
- package/dist/decisions/index.js.map +1 -0
- package/dist/edges/index.d.ts +202 -0
- package/dist/edges/index.js +6689 -0
- package/dist/edges/index.js.map +1 -0
- package/dist/events.js +7 -5
- package/dist/events.js.map +1 -1
- package/dist/evidence/index.d.ts +293 -0
- package/dist/evidence/index.js +6689 -0
- package/dist/evidence/index.js.map +1 -0
- package/dist/evidenceClient.d.ts +119 -0
- package/dist/evidenceClient.js +350 -0
- package/dist/evidenceClient.js.map +1 -0
- package/dist/gatewayFacades.d.ts +8 -10
- package/dist/gatewayFacades.js +54 -1
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/identityClient.d.ts +3 -3
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index.js +1092 -3294
- package/dist/index.js.map +1 -1
- package/dist/lenses/index.d.ts +192 -0
- package/dist/lenses/index.js +6688 -0
- package/dist/lenses/index.js.map +1 -0
- package/dist/nodes/index.d.ts +61 -0
- package/dist/nodes/index.js +6690 -0
- package/dist/nodes/index.js.map +1 -0
- package/dist/ontologies/index.d.ts +179 -0
- package/dist/ontologies/index.js +6691 -0
- package/dist/ontologies/index.js.map +1 -0
- package/dist/opinion.d.ts +11 -0
- package/dist/opinion.js +35 -0
- package/dist/opinion.js.map +1 -0
- package/dist/questions/index.d.ts +295 -0
- package/dist/questions/index.js +6691 -0
- package/dist/questions/index.js.map +1 -0
- package/dist/sdk-tools.contract-B4c1Zr1o.d.ts +22 -0
- package/dist/sourcesClient.d.ts +24 -0
- package/dist/{mcpParityClient.js → sourcesClient.js} +15 -192
- package/dist/sourcesClient.js.map +1 -0
- package/dist/tool-contracts-BUiL9P6z.d.ts +22 -0
- package/dist/topics/index.d.ts +66 -0
- package/dist/topics/index.js +6689 -0
- package/dist/topics/index.js.map +1 -0
- package/dist/types.d.ts +20 -1
- package/dist/worktrees/index.d.ts +208 -0
- package/dist/worktrees/index.js +6691 -0
- package/dist/worktrees/index.js.map +1 -0
- package/package.json +55 -3
- package/dist/contracts/mcp-tools.contract.d.ts +0 -1
- package/dist/contracts/mcp-tools.contract.js +0 -2986
- package/dist/contracts/mcp-tools.contract.js.map +0 -1
- package/dist/mcpParityClient.d.ts +0 -74
- package/dist/mcpParityClient.js.map +0 -1
- package/dist/mcpParitySurface.d.ts +0 -12
- package/dist/mcpParitySurface.js +0 -65
- package/dist/mcpParitySurface.js.map +0 -1
- package/dist/mcpTools-DPZxowDX.d.ts +0 -254
- package/dist/sdkTools-CwXJDACb.d.ts +0 -150
package/dist/types.d.ts
CHANGED
|
@@ -177,6 +177,25 @@ type PlatformEvidenceRecord = {
|
|
|
177
177
|
updatedAt?: number;
|
|
178
178
|
createdBy?: string;
|
|
179
179
|
};
|
|
180
|
+
/** Source node record returned by source lifecycle APIs. */
|
|
181
|
+
type PlatformSourceRecord = {
|
|
182
|
+
nodeId?: string;
|
|
183
|
+
sourceId?: string;
|
|
184
|
+
globalId?: string;
|
|
185
|
+
topicId?: string;
|
|
186
|
+
url?: string;
|
|
187
|
+
contentSha?: string;
|
|
188
|
+
kind?: string;
|
|
189
|
+
title?: string;
|
|
190
|
+
metadata?: JsonObject | null;
|
|
191
|
+
createdAt?: number;
|
|
192
|
+
updatedAt?: number;
|
|
193
|
+
createdBy?: string;
|
|
194
|
+
};
|
|
195
|
+
/** Response returned after creating or updating a source node. */
|
|
196
|
+
type UpsertSourceResponse = PlatformSourceRecord;
|
|
197
|
+
/** Response returned when fetching a single source node. */
|
|
198
|
+
type GetSourceResponse = PlatformSourceRecord;
|
|
180
199
|
/** Question node record returned by question lifecycle APIs. */
|
|
181
200
|
type PlatformQuestionRecord = {
|
|
182
201
|
nodeId?: string;
|
|
@@ -693,4 +712,4 @@ type ReportWithSectionsResponse = {
|
|
|
693
712
|
sections?: ReportSectionRecord[];
|
|
694
713
|
};
|
|
695
714
|
|
|
696
|
-
export type { AddWorktreeResponse, CompleteTaskResponse, CreateBeliefResponse, CreateBranchResponse, CreateEdgeResponse, CreateLensResponse, CreateNodeResponse, CreateTaskResponse, DeleteEdgeCountResponse, DeleteEdgeResponse, ForkBeliefResponse, GetJudgmentResponse, GraphAnalyticsMetric, GraphAnalyticsResponse, GraphNeighborhoodResponse, GraphPathResponse, JsonArray, JsonObject, JsonValue, JudgmentCalibrationBucket, JudgmentCalibrationResponse, JudgmentReadinessResponse, JudgmentRecord, JudgmentTransitionAuditIntegrityCheck, JudgmentTransitionAuditIntegrityIssue, JudgmentTransitionAuditIntegrityResponse, LensTopicBindingResponse, ListBranchesResponse, ListJudgmentsResponse, ListLensesResponse, ListProjectsResponse, ListResult, ListTopicsResponse, ListWorktreesResponse, MergeWorktreeResponse, ModulateConfidenceResponse, OpenPullRequestResponse, PendingJudgmentOutcomeRecord, PendingJudgmentOutcomeReviewResponse, PlatformAnswerRecord, PlatformBeliefRecord, PlatformContract, PlatformContractEvaluation, PlatformEvidenceRecord, PlatformGraphEdge, PlatformGraphNode, PlatformQuestionRecord, ProjectReportRecord, ProjectReportsResponse, PushWorktreeResponse, QueryEdgesResponse, QueryNodesResponse, RecordJudgmentOutcomeResponse, RecordJudgmentResponse, ReportSectionRecord, ReportTemplateRecord, ReportTemplatesResponse, ReportWithSectionsResponse, SdkPrincipalContext, SwitchProjectContextResponse, SwitchTopicContextResponse, TextAliasInput, TopicCoverageRecord, TopicCoverageResponse, TopicCoverageSummary, TopicIdentifierInput, TopicListResponse, TopicRecord, TopicTreeNode, TopicTreeResponse, UpdateNodeResponse, UpdateTaskResponse, WorkflowBranchRecord, WorkflowLensBindingRecord, WorkflowLensRecord, WorkflowProjectRecord, WorkflowTopicRecord, WorkflowWorktreeRecord };
|
|
715
|
+
export type { AddWorktreeResponse, CompleteTaskResponse, CreateBeliefResponse, CreateBranchResponse, CreateEdgeResponse, CreateLensResponse, CreateNodeResponse, CreateTaskResponse, DeleteEdgeCountResponse, DeleteEdgeResponse, ForkBeliefResponse, GetJudgmentResponse, GetSourceResponse, GraphAnalyticsMetric, GraphAnalyticsResponse, GraphNeighborhoodResponse, GraphPathResponse, JsonArray, JsonObject, JsonValue, JudgmentCalibrationBucket, JudgmentCalibrationResponse, JudgmentReadinessResponse, JudgmentRecord, JudgmentTransitionAuditIntegrityCheck, JudgmentTransitionAuditIntegrityIssue, JudgmentTransitionAuditIntegrityResponse, LensTopicBindingResponse, ListBranchesResponse, ListJudgmentsResponse, ListLensesResponse, ListProjectsResponse, ListResult, ListTopicsResponse, ListWorktreesResponse, MergeWorktreeResponse, ModulateConfidenceResponse, OpenPullRequestResponse, PendingJudgmentOutcomeRecord, PendingJudgmentOutcomeReviewResponse, PlatformAnswerRecord, PlatformBeliefRecord, PlatformContract, PlatformContractEvaluation, PlatformEvidenceRecord, PlatformGraphEdge, PlatformGraphNode, PlatformQuestionRecord, PlatformSourceRecord, ProjectReportRecord, ProjectReportsResponse, PushWorktreeResponse, QueryEdgesResponse, QueryNodesResponse, RecordJudgmentOutcomeResponse, RecordJudgmentResponse, ReportSectionRecord, ReportTemplateRecord, ReportTemplatesResponse, ReportWithSectionsResponse, SdkPrincipalContext, SwitchProjectContextResponse, SwitchTopicContextResponse, TextAliasInput, TopicCoverageRecord, TopicCoverageResponse, TopicCoverageSummary, TopicIdentifierInput, TopicListResponse, TopicRecord, TopicTreeNode, TopicTreeResponse, UpdateNodeResponse, UpdateTaskResponse, UpsertSourceResponse, WorkflowBranchRecord, WorkflowLensBindingRecord, WorkflowLensRecord, WorkflowProjectRecord, WorkflowTopicRecord, WorkflowWorktreeRecord };
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { LensPromptTemplateReference, LensWorkflowTemplate, LensTaskTemplate } from '../contracts/lens-workflow.contract.js';
|
|
2
|
+
import { L as LucernClientConfig, a as FunctionSurfaceInput, b as FunctionSurfaceResult } from '../client-DAuKnDlx.js';
|
|
3
|
+
import { TopicIdentifierInput, ListResult, WorkflowWorktreeRecord, JsonObject, WorkflowBranchRecord, WorkflowLensRecord, WorkflowLensBindingRecord, ListWorktreesResponse, PushWorktreeResponse, OpenPullRequestResponse } from '../types.js';
|
|
4
|
+
import { PlatformGatewaySuccess } from '../coreClient.js';
|
|
5
|
+
import { AddWorktreeInput, WorkflowWorktreeStatus, UpdateWorktreeTargetsInput, MergeInput, WorkflowLensPerspectiveType, WorkflowLensStatus } from '../workflowClient.js';
|
|
6
|
+
import * as v1 from '@lucern/contracts/worktrees/v1';
|
|
7
|
+
export { v1 as worktreeContracts };
|
|
8
|
+
import * as sdkMethods_contract from '@lucern/contracts/sdk-methods.contract';
|
|
9
|
+
export { sdkMethods_contract as methodSchemas };
|
|
10
|
+
import * as toolContracts from '@lucern/contracts/tool-contracts';
|
|
11
|
+
export { toolContracts as toolSchemas };
|
|
12
|
+
import '../contracts/lens-filter.contract.js';
|
|
13
|
+
import '../audiencesClient.js';
|
|
14
|
+
import '../contracts/workflow-runtime.contract.js';
|
|
15
|
+
import '../schemaClient.js';
|
|
16
|
+
import '../harnessClient.js';
|
|
17
|
+
import '../identityClient.js';
|
|
18
|
+
import '../adminClient.js';
|
|
19
|
+
import '../controlObjectOwnership.js';
|
|
20
|
+
import '../beliefsClient.js';
|
|
21
|
+
import '../opinion.js';
|
|
22
|
+
import '../packsClient.js';
|
|
23
|
+
import '../customTools.js';
|
|
24
|
+
import 'zod';
|
|
25
|
+
import '../policyClient.js';
|
|
26
|
+
import '../ontologyClient.js';
|
|
27
|
+
import '../contextTypes.js';
|
|
28
|
+
import '../topicsClient.js';
|
|
29
|
+
import '../answersClient.js';
|
|
30
|
+
import '../auditClient.js';
|
|
31
|
+
import '../contextClient.js';
|
|
32
|
+
import '../decisionsClient.js';
|
|
33
|
+
import '../evidenceClient.js';
|
|
34
|
+
import '../graphClient.js';
|
|
35
|
+
import '../learningClient.js';
|
|
36
|
+
import '../reportsClient.js';
|
|
37
|
+
import '../sourcesClient.js';
|
|
38
|
+
|
|
39
|
+
type WorktreesClientConfig = LucernClientConfig;
|
|
40
|
+
type WorktreesClient = ReturnType<typeof createWorktreesClient>;
|
|
41
|
+
declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
42
|
+
createWorktree: (input: AddWorktreeInput) => Promise<PlatformGatewaySuccess<{
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
}>>;
|
|
45
|
+
listWorktrees: (query: Parameters<(query: {
|
|
46
|
+
topicId?: string;
|
|
47
|
+
branchId?: string;
|
|
48
|
+
status?: WorkflowWorktreeStatus;
|
|
49
|
+
track?: string;
|
|
50
|
+
executionBand?: number;
|
|
51
|
+
limit?: number;
|
|
52
|
+
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>>[0]) => Promise<PlatformGatewaySuccess<{
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
} & {
|
|
55
|
+
cursor?: string;
|
|
56
|
+
total?: number;
|
|
57
|
+
} & {
|
|
58
|
+
worktrees?: {
|
|
59
|
+
[x: string]: unknown;
|
|
60
|
+
}[];
|
|
61
|
+
}>>;
|
|
62
|
+
activateWorktree: (worktreeId: string) => Promise<PlatformGatewaySuccess<{
|
|
63
|
+
[x: string]: unknown;
|
|
64
|
+
}>>;
|
|
65
|
+
updateWorktreeMetadata: (input: FunctionSurfaceInput) => Promise<PlatformGatewaySuccess<{
|
|
66
|
+
[x: string]: unknown;
|
|
67
|
+
}>>;
|
|
68
|
+
updateWorktreeTargets: (input: Parameters<(input: UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>>[0]) => Promise<PlatformGatewaySuccess<{
|
|
69
|
+
[x: string]: unknown;
|
|
70
|
+
}>>;
|
|
71
|
+
mergeWorktree: (worktreeId: string, input: MergeInput) => Promise<PlatformGatewaySuccess<{
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>>;
|
|
74
|
+
completeWorktree: (input: Parameters<(input: {
|
|
75
|
+
worktreeId: string;
|
|
76
|
+
keyFindings?: string[];
|
|
77
|
+
decisionsReached?: string[];
|
|
78
|
+
nextSteps?: string[];
|
|
79
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
80
|
+
[x: string]: unknown;
|
|
81
|
+
}>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
82
|
+
[x: string]: unknown;
|
|
83
|
+
}>>;
|
|
84
|
+
raw: {
|
|
85
|
+
createBranch(input: Parameters<(input: {
|
|
86
|
+
name: string;
|
|
87
|
+
topicId?: string;
|
|
88
|
+
description?: string;
|
|
89
|
+
metadata?: JsonObject;
|
|
90
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
|
|
91
|
+
createLens(input: Parameters<(input: {
|
|
92
|
+
name: string;
|
|
93
|
+
workspaceId?: string;
|
|
94
|
+
topicId?: string;
|
|
95
|
+
description?: string;
|
|
96
|
+
perspectiveType: WorkflowLensPerspectiveType;
|
|
97
|
+
promptTemplates?: LensPromptTemplateReference[];
|
|
98
|
+
workflowTemplates?: LensWorkflowTemplate[];
|
|
99
|
+
taskTemplates?: LensTaskTemplate[];
|
|
100
|
+
filterCriteria?: JsonObject;
|
|
101
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
|
|
102
|
+
listLenses(query: Parameters<(query: {
|
|
103
|
+
workspaceId?: string;
|
|
104
|
+
topicId?: string;
|
|
105
|
+
status?: WorkflowLensStatus;
|
|
106
|
+
perspectiveType?: WorkflowLensPerspectiveType;
|
|
107
|
+
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
|
|
108
|
+
applyLensToTopic(input: Parameters<(input: {
|
|
109
|
+
lensId: string;
|
|
110
|
+
topicId?: string;
|
|
111
|
+
metadata?: JsonObject;
|
|
112
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
113
|
+
removeLensFromTopic(input: Parameters<(input: {
|
|
114
|
+
lensId: string;
|
|
115
|
+
topicId?: string;
|
|
116
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
117
|
+
create(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
|
|
118
|
+
[x: string]: unknown;
|
|
119
|
+
}>>;
|
|
120
|
+
add(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
|
|
121
|
+
[x: string]: unknown;
|
|
122
|
+
}>>;
|
|
123
|
+
list(query: Parameters<(query: {
|
|
124
|
+
topicId?: string;
|
|
125
|
+
branchId?: string;
|
|
126
|
+
status?: WorkflowWorktreeStatus;
|
|
127
|
+
track?: string;
|
|
128
|
+
executionBand?: number;
|
|
129
|
+
limit?: number;
|
|
130
|
+
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
131
|
+
[x: string]: unknown;
|
|
132
|
+
} & {
|
|
133
|
+
cursor?: string;
|
|
134
|
+
total?: number;
|
|
135
|
+
} & {
|
|
136
|
+
worktrees?: {
|
|
137
|
+
[x: string]: unknown;
|
|
138
|
+
}[];
|
|
139
|
+
}>>;
|
|
140
|
+
activate(worktreeId: string): Promise<PlatformGatewaySuccess<{
|
|
141
|
+
[x: string]: unknown;
|
|
142
|
+
}>>;
|
|
143
|
+
updateMetadata(input: FunctionSurfaceInput): Promise<PlatformGatewaySuccess<{
|
|
144
|
+
[x: string]: unknown;
|
|
145
|
+
}>>;
|
|
146
|
+
update(input: FunctionSurfaceInput): Promise<PlatformGatewaySuccess<{
|
|
147
|
+
[x: string]: unknown;
|
|
148
|
+
}>>;
|
|
149
|
+
updateTargets(input: Parameters<(input: UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
150
|
+
[x: string]: unknown;
|
|
151
|
+
}>>;
|
|
152
|
+
listAll(query?: Parameters<(query?: {
|
|
153
|
+
status?: WorkflowWorktreeStatus;
|
|
154
|
+
track?: string;
|
|
155
|
+
executionBand?: number;
|
|
156
|
+
limit?: number;
|
|
157
|
+
}) => Promise<PlatformGatewaySuccess<ListWorktreesResponse>>>[0]): Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
|
|
158
|
+
merge(worktreeId: string, input: MergeInput): Promise<PlatformGatewaySuccess<{
|
|
159
|
+
[x: string]: unknown;
|
|
160
|
+
}>>;
|
|
161
|
+
push(worktreeId: string, input: Parameters<(worktreeId: string, input: {
|
|
162
|
+
targetContext: string;
|
|
163
|
+
beliefIds?: string[];
|
|
164
|
+
metadata?: JsonObject;
|
|
165
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>>[1]): Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
|
|
166
|
+
openPullRequest(worktreeId: string, input: Parameters<(worktreeId: string, input: {
|
|
167
|
+
summary: string;
|
|
168
|
+
reviewers?: string[];
|
|
169
|
+
status?: "pending_review" | "changes_requested" | "approved" | "blocked";
|
|
170
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>>[1]): Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
|
|
171
|
+
pipelineSnapshot(topicId: string): FunctionSurfaceResult<unknown>;
|
|
172
|
+
complete(input: Parameters<(input: {
|
|
173
|
+
worktreeId: string;
|
|
174
|
+
keyFindings?: string[];
|
|
175
|
+
decisionsReached?: string[];
|
|
176
|
+
nextSteps?: string[];
|
|
177
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
178
|
+
[x: string]: unknown;
|
|
179
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
180
|
+
[x: string]: unknown;
|
|
181
|
+
}>>;
|
|
182
|
+
advancePhase(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
183
|
+
[x: string]: unknown;
|
|
184
|
+
}>>;
|
|
185
|
+
setPhase(worktreeId: string, phase: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
186
|
+
[x: string]: unknown;
|
|
187
|
+
}>>;
|
|
188
|
+
patchState(input: Parameters<(input: {
|
|
189
|
+
worktreeId: string;
|
|
190
|
+
patch: {
|
|
191
|
+
[x: string]: unknown;
|
|
192
|
+
};
|
|
193
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
194
|
+
[x: string]: unknown;
|
|
195
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
196
|
+
[x: string]: unknown;
|
|
197
|
+
}>>;
|
|
198
|
+
bulkCreate(input: Parameters<(input: {
|
|
199
|
+
worktrees: unknown[];
|
|
200
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
201
|
+
[x: string]: unknown;
|
|
202
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
203
|
+
[x: string]: unknown;
|
|
204
|
+
}>>;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
export { type WorktreesClient, type WorktreesClientConfig, createWorktreesClient };
|