@spencerboucher/switchyard-client 0.0.0-stage → 0.16.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/LICENSE +21 -0
- package/README.md +24 -2
- package/dist/index.js +4007 -0
- package/dist/types/api.d.ts +28 -0
- package/dist/types/client.d.ts +56 -0
- package/dist/types/connection.d.ts +66 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/protocol/adapter-preview.d.ts +455 -0
- package/dist/types/protocol/adapters.d.ts +113 -0
- package/dist/types/protocol/agent-wire.d.ts +269 -0
- package/dist/types/protocol/api.d.ts +1501 -0
- package/dist/types/protocol/backoff.d.ts +5 -0
- package/dist/types/protocol/client-wire.d.ts +1806 -0
- package/dist/types/protocol/contributions.d.ts +62 -0
- package/dist/types/protocol/entities.d.ts +1389 -0
- package/dist/types/protocol/errors.d.ts +115 -0
- package/dist/types/protocol/events.d.ts +1136 -0
- package/dist/types/protocol/github.d.ts +510 -0
- package/dist/types/protocol/host-wire.d.ts +1517 -0
- package/dist/types/protocol/ids.d.ts +7 -0
- package/dist/types/protocol/index.d.ts +29 -0
- package/dist/types/protocol/policies.d.ts +576 -0
- package/dist/types/protocol/terminal-wire.d.ts +45 -0
- package/dist/types/protocol/titles.d.ts +9 -0
- package/dist/types/protocol/trackers.d.ts +244 -0
- package/dist/types/protocol/ui.d.ts +164 -0
- package/dist/types/protocol/views.d.ts +14 -0
- package/dist/types/protocol/web-bridge.d.ts +30 -0
- package/dist/types/store.d.ts +59 -0
- package/dist/types/wait.d.ts +20 -0
- package/package.json +32 -4
|
@@ -0,0 +1,1501 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { Task } from "./entities.js";
|
|
3
|
+
/** REST request bodies. Responses return entities from `entities.ts` unless noted. */
|
|
4
|
+
export declare const EnrollRequest: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
kind: z.ZodEnum<{
|
|
8
|
+
browser: "browser";
|
|
9
|
+
cli: "cli";
|
|
10
|
+
pwa: "pwa";
|
|
11
|
+
terminal: "terminal";
|
|
12
|
+
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export declare const EnrollResponse: z.ZodObject<{
|
|
15
|
+
deviceId: z.ZodString;
|
|
16
|
+
credential: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export declare const CreateEnrollmentRequest: z.ZodObject<{
|
|
19
|
+
kind: z.ZodEnum<{
|
|
20
|
+
device: "device";
|
|
21
|
+
host: "host";
|
|
22
|
+
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export declare const CreateEnrollmentResponse: z.ZodObject<{
|
|
25
|
+
token: z.ZodString;
|
|
26
|
+
url: z.ZodString;
|
|
27
|
+
expiresAt: z.ZodString;
|
|
28
|
+
qrSvg: z.ZodString;
|
|
29
|
+
command: z.ZodNullable<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type CreateEnrollmentResponse = z.infer<typeof CreateEnrollmentResponse>;
|
|
32
|
+
export declare const HostEnrollRequest: z.ZodUnion<readonly [z.ZodObject<{
|
|
33
|
+
token: z.ZodString;
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
platform: z.ZodEnum<{
|
|
36
|
+
darwin: "darwin";
|
|
37
|
+
linux: "linux";
|
|
38
|
+
}>;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
secret: z.ZodString;
|
|
41
|
+
name: z.ZodString;
|
|
42
|
+
platform: z.ZodEnum<{
|
|
43
|
+
darwin: "darwin";
|
|
44
|
+
linux: "linux";
|
|
45
|
+
}>;
|
|
46
|
+
}, z.core.$strip>]>;
|
|
47
|
+
export declare const HostEnrollResponse: z.ZodObject<{
|
|
48
|
+
hostId: z.ZodString;
|
|
49
|
+
credential: z.ZodString;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
export declare const CreateProjectRequest: z.ZodObject<{
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
hostId: z.ZodString;
|
|
54
|
+
path: z.ZodString;
|
|
55
|
+
defaultProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
setupCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
maxConcurrentRuns: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
worktreeDir: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
export declare const UpdateProjectRequest: z.ZodObject<{
|
|
62
|
+
name: z.ZodOptional<z.ZodString>;
|
|
63
|
+
defaultProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
defaultHostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
maxConcurrentRuns: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
automationEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
setupCommand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
|
+
workspaceSharing: z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
shared: "shared";
|
|
71
|
+
single_writer: "single_writer";
|
|
72
|
+
}>>;
|
|
73
|
+
worktreeDir: z.ZodOptional<z.ZodString>;
|
|
74
|
+
ensureSessions: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
removeLanded: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export declare const AddCheckoutRequest: z.ZodObject<{
|
|
78
|
+
hostId: z.ZodString;
|
|
79
|
+
path: z.ZodString;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
/** A host project folder: absolute, or relative to the host user's home with `~`. */
|
|
82
|
+
export declare function isProjectFolderPath(s: string): boolean;
|
|
83
|
+
export declare const ProjectFolder: z.ZodString;
|
|
84
|
+
export declare const UpdateHostRequest: z.ZodObject<{
|
|
85
|
+
projectFolders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
export declare const ProjectScanResult: z.ZodObject<{
|
|
88
|
+
state: z.ZodEnum<{
|
|
89
|
+
done: "done";
|
|
90
|
+
failed: "failed";
|
|
91
|
+
running: "running";
|
|
92
|
+
}>;
|
|
93
|
+
startedAt: z.ZodString;
|
|
94
|
+
finishedAt: z.ZodNullable<z.ZodString>;
|
|
95
|
+
repositories: z.ZodNumber;
|
|
96
|
+
projectsCreated: z.ZodNumber;
|
|
97
|
+
checkoutsAdded: z.ZodNumber;
|
|
98
|
+
errors: z.ZodArray<z.ZodString>;
|
|
99
|
+
added: z.ZodArray<z.ZodObject<{
|
|
100
|
+
projectId: z.ZodString;
|
|
101
|
+
name: z.ZodString;
|
|
102
|
+
path: z.ZodString;
|
|
103
|
+
newProject: z.ZodBoolean;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
export type ProjectScanResult = z.infer<typeof ProjectScanResult>;
|
|
107
|
+
export declare const ProfileInput: z.ZodObject<{
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
provider: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
110
|
+
model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
thinking: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
112
|
+
high: "high";
|
|
113
|
+
low: "low";
|
|
114
|
+
max: "max";
|
|
115
|
+
medium: "medium";
|
|
116
|
+
minimal: "minimal";
|
|
117
|
+
off: "off";
|
|
118
|
+
xhigh: "xhigh";
|
|
119
|
+
}>>>;
|
|
120
|
+
projectTrust: z.ZodDefault<z.ZodEnum<{
|
|
121
|
+
approve: "approve";
|
|
122
|
+
ask: "ask";
|
|
123
|
+
ignore: "ignore";
|
|
124
|
+
}>>;
|
|
125
|
+
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
126
|
+
resources: z.ZodDefault<z.ZodEnum<{
|
|
127
|
+
all: "all";
|
|
128
|
+
vanilla: "vanilla";
|
|
129
|
+
}>>;
|
|
130
|
+
}, z.core.$strip>;
|
|
131
|
+
export declare const CreateWorkspaceRequest: z.ZodObject<{
|
|
132
|
+
checkoutId: z.ZodString;
|
|
133
|
+
branch: z.ZodString;
|
|
134
|
+
base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
export declare const RemoveWorkspaceRequest: z.ZodObject<{
|
|
137
|
+
force: z.ZodDefault<z.ZodObject<{
|
|
138
|
+
dirty: z.ZodBoolean;
|
|
139
|
+
unmerged: z.ZodBoolean;
|
|
140
|
+
}, z.core.$strip>>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
export declare const CreateSessionRequest: z.ZodObject<{
|
|
143
|
+
projectId: z.ZodString;
|
|
144
|
+
workspace: z.ZodUnion<readonly [z.ZodObject<{
|
|
145
|
+
existingId: z.ZodString;
|
|
146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
147
|
+
checkoutId: z.ZodString;
|
|
148
|
+
newBranch: z.ZodString;
|
|
149
|
+
base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
+
}, z.core.$strip>]>;
|
|
151
|
+
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
prompt: z.ZodDefault<z.ZodString>;
|
|
153
|
+
title: z.ZodOptional<z.ZodString>;
|
|
154
|
+
viewId: z.ZodOptional<z.ZodString>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
export declare const PromptRequest: z.ZodObject<{
|
|
157
|
+
text: z.ZodString;
|
|
158
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
159
|
+
followUp: "followUp";
|
|
160
|
+
prompt: "prompt";
|
|
161
|
+
steer: "steer";
|
|
162
|
+
}>>;
|
|
163
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
164
|
+
mimeType: z.ZodString;
|
|
165
|
+
data: z.ZodString;
|
|
166
|
+
}, z.core.$strip>>>;
|
|
167
|
+
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
export declare const CacheAlertRequest: z.ZodObject<{
|
|
170
|
+
enabled: z.ZodBoolean;
|
|
171
|
+
ttlSec: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
export declare const RenameRequest: z.ZodObject<{
|
|
174
|
+
title: z.ZodString;
|
|
175
|
+
}, z.core.$strip>;
|
|
176
|
+
export declare const SetModelRequest: z.ZodObject<{
|
|
177
|
+
provider: z.ZodString;
|
|
178
|
+
modelId: z.ZodString;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
export declare const SetThinkingRequest: z.ZodObject<{
|
|
181
|
+
level: z.ZodEnum<{
|
|
182
|
+
high: "high";
|
|
183
|
+
low: "low";
|
|
184
|
+
max: "max";
|
|
185
|
+
medium: "medium";
|
|
186
|
+
minimal: "minimal";
|
|
187
|
+
off: "off";
|
|
188
|
+
xhigh: "xhigh";
|
|
189
|
+
}>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export declare const CompactRequest: z.ZodObject<{
|
|
192
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
export declare const SessionModelsResult: z.ZodObject<{
|
|
195
|
+
models: z.ZodArray<z.ZodObject<{
|
|
196
|
+
provider: z.ZodString;
|
|
197
|
+
id: z.ZodString;
|
|
198
|
+
name: z.ZodNullable<z.ZodString>;
|
|
199
|
+
contextWindow: z.ZodNullable<z.ZodNumber>;
|
|
200
|
+
reasoning: z.ZodBoolean;
|
|
201
|
+
scoped: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
thinkingLevels: z.ZodArray<z.ZodEnum<{
|
|
203
|
+
high: "high";
|
|
204
|
+
low: "low";
|
|
205
|
+
max: "max";
|
|
206
|
+
medium: "medium";
|
|
207
|
+
minimal: "minimal";
|
|
208
|
+
off: "off";
|
|
209
|
+
xhigh: "xhigh";
|
|
210
|
+
}>>;
|
|
211
|
+
promptCache: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
212
|
+
short: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
long: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
}, z.core.$strip>>>;
|
|
215
|
+
}, z.core.$strip>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
export declare const SessionCommandsResult: z.ZodObject<{
|
|
218
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
219
|
+
name: z.ZodString;
|
|
220
|
+
description: z.ZodNullable<z.ZodString>;
|
|
221
|
+
source: z.ZodEnum<{
|
|
222
|
+
extension: "extension";
|
|
223
|
+
prompt: "prompt";
|
|
224
|
+
skill: "skill";
|
|
225
|
+
}>;
|
|
226
|
+
argumentHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
export declare const CompleteRequest: z.ZodObject<{
|
|
230
|
+
text: z.ZodString;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
export declare const CompletionItem: z.ZodObject<{
|
|
233
|
+
value: z.ZodString;
|
|
234
|
+
label: z.ZodString;
|
|
235
|
+
description: z.ZodNullable<z.ZodString>;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
export type CompletionItem = z.infer<typeof CompletionItem>;
|
|
238
|
+
export declare const SessionCompleteResult: z.ZodObject<{
|
|
239
|
+
items: z.ZodArray<z.ZodObject<{
|
|
240
|
+
value: z.ZodString;
|
|
241
|
+
label: z.ZodString;
|
|
242
|
+
description: z.ZodNullable<z.ZodString>;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
prefix: z.ZodString;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
export type SessionCompleteResult = z.infer<typeof SessionCompleteResult>;
|
|
247
|
+
export declare const TreeRow: z.ZodObject<{
|
|
248
|
+
entryId: z.ZodString;
|
|
249
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
250
|
+
depth: z.ZodNumber;
|
|
251
|
+
role: z.ZodEnum<{
|
|
252
|
+
assistant: "assistant";
|
|
253
|
+
user: "user";
|
|
254
|
+
}>;
|
|
255
|
+
text: z.ZodString;
|
|
256
|
+
activeBranch: z.ZodBoolean;
|
|
257
|
+
leaf: z.ZodBoolean;
|
|
258
|
+
label: z.ZodNullable<z.ZodString>;
|
|
259
|
+
at: z.ZodNullable<z.ZodString>;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
export type TreeRow = z.infer<typeof TreeRow>;
|
|
262
|
+
export declare const SessionTreeResult: z.ZodObject<{
|
|
263
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
264
|
+
entryId: z.ZodString;
|
|
265
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
266
|
+
depth: z.ZodNumber;
|
|
267
|
+
role: z.ZodEnum<{
|
|
268
|
+
assistant: "assistant";
|
|
269
|
+
user: "user";
|
|
270
|
+
}>;
|
|
271
|
+
text: z.ZodString;
|
|
272
|
+
activeBranch: z.ZodBoolean;
|
|
273
|
+
leaf: z.ZodBoolean;
|
|
274
|
+
label: z.ZodNullable<z.ZodString>;
|
|
275
|
+
at: z.ZodNullable<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
}, z.core.$strip>;
|
|
278
|
+
export declare const BranchRequest: z.ZodObject<{
|
|
279
|
+
entryId: z.ZodNullable<z.ZodString>;
|
|
280
|
+
fork: z.ZodDefault<z.ZodBoolean>;
|
|
281
|
+
}, z.core.$strip>;
|
|
282
|
+
export declare const HostBranchResult: z.ZodObject<{
|
|
283
|
+
sessionFile: z.ZodNullable<z.ZodString>;
|
|
284
|
+
prefill: z.ZodNullable<z.ZodString>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
export declare const TranscriptPage: z.ZodObject<{
|
|
287
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
288
|
+
id: z.ZodString;
|
|
289
|
+
sessionId: z.ZodString;
|
|
290
|
+
order: z.ZodNumber;
|
|
291
|
+
at: z.ZodString;
|
|
292
|
+
kind: z.ZodLiteral<"user">;
|
|
293
|
+
data: z.ZodObject<{
|
|
294
|
+
text: z.ZodString;
|
|
295
|
+
images: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
entryId: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strip>;
|
|
298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
sessionId: z.ZodString;
|
|
301
|
+
order: z.ZodNumber;
|
|
302
|
+
at: z.ZodString;
|
|
303
|
+
kind: z.ZodLiteral<"assistant">;
|
|
304
|
+
data: z.ZodObject<{
|
|
305
|
+
text: z.ZodString;
|
|
306
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
309
|
+
id: z.ZodString;
|
|
310
|
+
sessionId: z.ZodString;
|
|
311
|
+
order: z.ZodNumber;
|
|
312
|
+
at: z.ZodString;
|
|
313
|
+
kind: z.ZodLiteral<"thinking">;
|
|
314
|
+
data: z.ZodObject<{
|
|
315
|
+
text: z.ZodString;
|
|
316
|
+
}, z.core.$strip>;
|
|
317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
318
|
+
id: z.ZodString;
|
|
319
|
+
sessionId: z.ZodString;
|
|
320
|
+
order: z.ZodNumber;
|
|
321
|
+
at: z.ZodString;
|
|
322
|
+
kind: z.ZodLiteral<"tool">;
|
|
323
|
+
data: z.ZodObject<{
|
|
324
|
+
toolCallId: z.ZodString;
|
|
325
|
+
name: z.ZodString;
|
|
326
|
+
status: z.ZodEnum<{
|
|
327
|
+
error: "error";
|
|
328
|
+
ok: "ok";
|
|
329
|
+
running: "running";
|
|
330
|
+
}>;
|
|
331
|
+
args: z.ZodUnknown;
|
|
332
|
+
summary: z.ZodString;
|
|
333
|
+
output: z.ZodString;
|
|
334
|
+
startedAt: z.ZodString;
|
|
335
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
336
|
+
card: z.ZodNullable<z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>>;
|
|
337
|
+
adapterId: z.ZodNullable<z.ZodString>;
|
|
338
|
+
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
339
|
+
}, z.core.$strip>;
|
|
340
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
341
|
+
id: z.ZodString;
|
|
342
|
+
sessionId: z.ZodString;
|
|
343
|
+
order: z.ZodNumber;
|
|
344
|
+
at: z.ZodString;
|
|
345
|
+
kind: z.ZodLiteral<"notice">;
|
|
346
|
+
data: z.ZodObject<{
|
|
347
|
+
level: z.ZodEnum<{
|
|
348
|
+
error: "error";
|
|
349
|
+
info: "info";
|
|
350
|
+
warning: "warning";
|
|
351
|
+
}>;
|
|
352
|
+
text: z.ZodString;
|
|
353
|
+
customType: z.ZodOptional<z.ZodString>;
|
|
354
|
+
card: z.ZodOptional<z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>>;
|
|
355
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
356
|
+
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
|
+
id: z.ZodString;
|
|
360
|
+
sessionId: z.ZodString;
|
|
361
|
+
order: z.ZodNumber;
|
|
362
|
+
at: z.ZodString;
|
|
363
|
+
kind: z.ZodLiteral<"interaction">;
|
|
364
|
+
data: z.ZodObject<{
|
|
365
|
+
interactionId: z.ZodString;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
id: z.ZodString;
|
|
369
|
+
sessionId: z.ZodString;
|
|
370
|
+
order: z.ZodNumber;
|
|
371
|
+
at: z.ZodString;
|
|
372
|
+
kind: z.ZodLiteral<"subagent">;
|
|
373
|
+
data: z.ZodObject<{
|
|
374
|
+
runId: z.ZodString;
|
|
375
|
+
label: z.ZodString;
|
|
376
|
+
status: z.ZodString;
|
|
377
|
+
sessionFile: z.ZodNullable<z.ZodString>;
|
|
378
|
+
linkedSessionId: z.ZodNullable<z.ZodString>;
|
|
379
|
+
}, z.core.$strip>;
|
|
380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
381
|
+
id: z.ZodString;
|
|
382
|
+
sessionId: z.ZodString;
|
|
383
|
+
order: z.ZodNumber;
|
|
384
|
+
at: z.ZodString;
|
|
385
|
+
kind: z.ZodLiteral<"system">;
|
|
386
|
+
data: z.ZodObject<{
|
|
387
|
+
text: z.ZodString;
|
|
388
|
+
suggestion: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
}, z.core.$strip>;
|
|
390
|
+
}, z.core.$strip>], "kind">>;
|
|
391
|
+
hasMore: z.ZodBoolean;
|
|
392
|
+
epoch: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
rev: z.ZodOptional<z.ZodNumber>;
|
|
394
|
+
delta: z.ZodOptional<z.ZodBoolean>;
|
|
395
|
+
reset: z.ZodOptional<z.ZodBoolean>;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
export type TranscriptPage = z.infer<typeof TranscriptPage>;
|
|
398
|
+
export declare const NavigateRequest: z.ZodObject<{
|
|
399
|
+
entryId: z.ZodString;
|
|
400
|
+
summarize: z.ZodDefault<z.ZodBoolean>;
|
|
401
|
+
instructions: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
export declare const HostNavigateResult: z.ZodObject<{
|
|
404
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
405
|
+
id: z.ZodString;
|
|
406
|
+
sessionId: z.ZodString;
|
|
407
|
+
order: z.ZodNumber;
|
|
408
|
+
at: z.ZodString;
|
|
409
|
+
kind: z.ZodLiteral<"user">;
|
|
410
|
+
data: z.ZodObject<{
|
|
411
|
+
text: z.ZodString;
|
|
412
|
+
images: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
entryId: z.ZodOptional<z.ZodString>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
416
|
+
id: z.ZodString;
|
|
417
|
+
sessionId: z.ZodString;
|
|
418
|
+
order: z.ZodNumber;
|
|
419
|
+
at: z.ZodString;
|
|
420
|
+
kind: z.ZodLiteral<"assistant">;
|
|
421
|
+
data: z.ZodObject<{
|
|
422
|
+
text: z.ZodString;
|
|
423
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
426
|
+
id: z.ZodString;
|
|
427
|
+
sessionId: z.ZodString;
|
|
428
|
+
order: z.ZodNumber;
|
|
429
|
+
at: z.ZodString;
|
|
430
|
+
kind: z.ZodLiteral<"thinking">;
|
|
431
|
+
data: z.ZodObject<{
|
|
432
|
+
text: z.ZodString;
|
|
433
|
+
}, z.core.$strip>;
|
|
434
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
435
|
+
id: z.ZodString;
|
|
436
|
+
sessionId: z.ZodString;
|
|
437
|
+
order: z.ZodNumber;
|
|
438
|
+
at: z.ZodString;
|
|
439
|
+
kind: z.ZodLiteral<"tool">;
|
|
440
|
+
data: z.ZodObject<{
|
|
441
|
+
toolCallId: z.ZodString;
|
|
442
|
+
name: z.ZodString;
|
|
443
|
+
status: z.ZodEnum<{
|
|
444
|
+
error: "error";
|
|
445
|
+
ok: "ok";
|
|
446
|
+
running: "running";
|
|
447
|
+
}>;
|
|
448
|
+
args: z.ZodUnknown;
|
|
449
|
+
summary: z.ZodString;
|
|
450
|
+
output: z.ZodString;
|
|
451
|
+
startedAt: z.ZodString;
|
|
452
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
453
|
+
card: z.ZodNullable<z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>>;
|
|
454
|
+
adapterId: z.ZodNullable<z.ZodString>;
|
|
455
|
+
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
456
|
+
}, z.core.$strip>;
|
|
457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
458
|
+
id: z.ZodString;
|
|
459
|
+
sessionId: z.ZodString;
|
|
460
|
+
order: z.ZodNumber;
|
|
461
|
+
at: z.ZodString;
|
|
462
|
+
kind: z.ZodLiteral<"notice">;
|
|
463
|
+
data: z.ZodObject<{
|
|
464
|
+
level: z.ZodEnum<{
|
|
465
|
+
error: "error";
|
|
466
|
+
info: "info";
|
|
467
|
+
warning: "warning";
|
|
468
|
+
}>;
|
|
469
|
+
text: z.ZodString;
|
|
470
|
+
customType: z.ZodOptional<z.ZodString>;
|
|
471
|
+
card: z.ZodOptional<z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>>;
|
|
472
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
473
|
+
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
476
|
+
id: z.ZodString;
|
|
477
|
+
sessionId: z.ZodString;
|
|
478
|
+
order: z.ZodNumber;
|
|
479
|
+
at: z.ZodString;
|
|
480
|
+
kind: z.ZodLiteral<"interaction">;
|
|
481
|
+
data: z.ZodObject<{
|
|
482
|
+
interactionId: z.ZodString;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
485
|
+
id: z.ZodString;
|
|
486
|
+
sessionId: z.ZodString;
|
|
487
|
+
order: z.ZodNumber;
|
|
488
|
+
at: z.ZodString;
|
|
489
|
+
kind: z.ZodLiteral<"subagent">;
|
|
490
|
+
data: z.ZodObject<{
|
|
491
|
+
runId: z.ZodString;
|
|
492
|
+
label: z.ZodString;
|
|
493
|
+
status: z.ZodString;
|
|
494
|
+
sessionFile: z.ZodNullable<z.ZodString>;
|
|
495
|
+
linkedSessionId: z.ZodNullable<z.ZodString>;
|
|
496
|
+
}, z.core.$strip>;
|
|
497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
498
|
+
id: z.ZodString;
|
|
499
|
+
sessionId: z.ZodString;
|
|
500
|
+
order: z.ZodNumber;
|
|
501
|
+
at: z.ZodString;
|
|
502
|
+
kind: z.ZodLiteral<"system">;
|
|
503
|
+
data: z.ZodObject<{
|
|
504
|
+
text: z.ZodString;
|
|
505
|
+
suggestion: z.ZodOptional<z.ZodBoolean>;
|
|
506
|
+
}, z.core.$strip>;
|
|
507
|
+
}, z.core.$strip>], "kind">>;
|
|
508
|
+
prefill: z.ZodNullable<z.ZodString>;
|
|
509
|
+
}, z.core.$strip>;
|
|
510
|
+
export declare const NavigateResult: z.ZodObject<{
|
|
511
|
+
prefill: z.ZodNullable<z.ZodString>;
|
|
512
|
+
epoch: z.ZodNumber;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
export type NavigateResult = z.infer<typeof NavigateResult>;
|
|
515
|
+
export declare const BranchResult: z.ZodObject<{
|
|
516
|
+
session: z.ZodNullable<z.ZodObject<{
|
|
517
|
+
id: z.ZodString;
|
|
518
|
+
title: z.ZodString;
|
|
519
|
+
subtitle: z.ZodNullable<z.ZodString>;
|
|
520
|
+
hostId: z.ZodString;
|
|
521
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
522
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
523
|
+
cwd: z.ZodString;
|
|
524
|
+
nativeHandle: z.ZodNullable<z.ZodObject<{
|
|
525
|
+
sessionId: z.ZodString;
|
|
526
|
+
sessionFile: z.ZodString;
|
|
527
|
+
}, z.core.$strip>>;
|
|
528
|
+
profileSnapshot: z.ZodObject<{
|
|
529
|
+
id: z.ZodString;
|
|
530
|
+
name: z.ZodString;
|
|
531
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
532
|
+
model: z.ZodNullable<z.ZodString>;
|
|
533
|
+
thinking: z.ZodNullable<z.ZodEnum<{
|
|
534
|
+
high: "high";
|
|
535
|
+
low: "low";
|
|
536
|
+
max: "max";
|
|
537
|
+
medium: "medium";
|
|
538
|
+
minimal: "minimal";
|
|
539
|
+
off: "off";
|
|
540
|
+
xhigh: "xhigh";
|
|
541
|
+
}>>;
|
|
542
|
+
projectTrust: z.ZodEnum<{
|
|
543
|
+
approve: "approve";
|
|
544
|
+
ask: "ask";
|
|
545
|
+
ignore: "ignore";
|
|
546
|
+
}>;
|
|
547
|
+
extraArgs: z.ZodArray<z.ZodString>;
|
|
548
|
+
resources: z.ZodOptional<z.ZodEnum<{
|
|
549
|
+
all: "all";
|
|
550
|
+
vanilla: "vanilla";
|
|
551
|
+
}>>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
runtime: z.ZodEnum<{
|
|
554
|
+
failed: "failed";
|
|
555
|
+
idle: "idle";
|
|
556
|
+
interrupted: "interrupted";
|
|
557
|
+
running: "running";
|
|
558
|
+
starting: "starting";
|
|
559
|
+
stopped: "stopped";
|
|
560
|
+
waiting_input: "waiting_input";
|
|
561
|
+
}>;
|
|
562
|
+
runtimeDetail: z.ZodNullable<z.ZodString>;
|
|
563
|
+
connectivity: z.ZodEnum<{
|
|
564
|
+
connected: "connected";
|
|
565
|
+
reconnecting: "reconnecting";
|
|
566
|
+
unreachable: "unreachable";
|
|
567
|
+
}>;
|
|
568
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
569
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
570
|
+
provenance: z.ZodEnum<{
|
|
571
|
+
created: "created";
|
|
572
|
+
imported: "imported";
|
|
573
|
+
subagent: "subagent";
|
|
574
|
+
}>;
|
|
575
|
+
readOnly: z.ZodBoolean;
|
|
576
|
+
lastActivityAt: z.ZodString;
|
|
577
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
578
|
+
queue: z.ZodObject<{
|
|
579
|
+
steering: z.ZodArray<z.ZodString>;
|
|
580
|
+
followUp: z.ZodArray<z.ZodString>;
|
|
581
|
+
}, z.core.$strip>;
|
|
582
|
+
stats: z.ZodNullable<z.ZodObject<{
|
|
583
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
584
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
585
|
+
watermark: z.ZodOptional<z.ZodObject<{
|
|
586
|
+
runtimeId: z.ZodString;
|
|
587
|
+
settleSeq: z.ZodNumber;
|
|
588
|
+
}, z.core.$strict>>;
|
|
589
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
590
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
591
|
+
window: z.ZodNumber;
|
|
592
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
593
|
+
}, z.core.$strip>>>;
|
|
594
|
+
}, z.core.$strip>>;
|
|
595
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
596
|
+
provider: z.ZodString;
|
|
597
|
+
id: z.ZodString;
|
|
598
|
+
name: z.ZodNullable<z.ZodString>;
|
|
599
|
+
contextWindow: z.ZodNullable<z.ZodNumber>;
|
|
600
|
+
reasoning: z.ZodBoolean;
|
|
601
|
+
scoped: z.ZodOptional<z.ZodBoolean>;
|
|
602
|
+
thinkingLevels: z.ZodArray<z.ZodEnum<{
|
|
603
|
+
high: "high";
|
|
604
|
+
low: "low";
|
|
605
|
+
max: "max";
|
|
606
|
+
medium: "medium";
|
|
607
|
+
minimal: "minimal";
|
|
608
|
+
off: "off";
|
|
609
|
+
xhigh: "xhigh";
|
|
610
|
+
}>>;
|
|
611
|
+
promptCache: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
612
|
+
short: z.ZodOptional<z.ZodNumber>;
|
|
613
|
+
long: z.ZodOptional<z.ZodNumber>;
|
|
614
|
+
}, z.core.$strip>>>;
|
|
615
|
+
}, z.core.$strip>>>;
|
|
616
|
+
thinking: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
617
|
+
high: "high";
|
|
618
|
+
low: "low";
|
|
619
|
+
max: "max";
|
|
620
|
+
medium: "medium";
|
|
621
|
+
minimal: "minimal";
|
|
622
|
+
off: "off";
|
|
623
|
+
xhigh: "xhigh";
|
|
624
|
+
}>>>;
|
|
625
|
+
compacting: z.ZodOptional<z.ZodBoolean>;
|
|
626
|
+
lastAssistantText: z.ZodNullable<z.ZodString>;
|
|
627
|
+
createdAt: z.ZodString;
|
|
628
|
+
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
629
|
+
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
630
|
+
client: z.ZodNullable<z.ZodString>;
|
|
631
|
+
}, z.core.$strip>>>;
|
|
632
|
+
unreadSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
633
|
+
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
634
|
+
transcriptEpoch: z.ZodOptional<z.ZodNumber>;
|
|
635
|
+
bridge: z.ZodOptional<z.ZodObject<{
|
|
636
|
+
version: z.ZodLiteral<1>;
|
|
637
|
+
runtimeId: z.ZodString;
|
|
638
|
+
nativeSessionId: z.ZodString;
|
|
639
|
+
controllerEpoch: z.ZodOptional<z.ZodString>;
|
|
640
|
+
agentTools: z.ZodBoolean;
|
|
641
|
+
messageDelivery: z.ZodBoolean;
|
|
642
|
+
policyState: z.ZodEnum<{
|
|
643
|
+
active: "active";
|
|
644
|
+
initializing: "initializing";
|
|
645
|
+
lost: "lost";
|
|
646
|
+
unsupported: "unsupported";
|
|
647
|
+
}>;
|
|
648
|
+
policyPhases: z.ZodArray<z.ZodEnum<{
|
|
649
|
+
request: "request";
|
|
650
|
+
tool_call: "tool_call";
|
|
651
|
+
}>>;
|
|
652
|
+
}, z.core.$strip>>;
|
|
653
|
+
promptCache: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
654
|
+
at: z.ZodString;
|
|
655
|
+
provider: z.ZodString;
|
|
656
|
+
model: z.ZodString;
|
|
657
|
+
cacheRead: z.ZodNumber;
|
|
658
|
+
cacheWrite: z.ZodNumber;
|
|
659
|
+
cacheWrite1h: z.ZodNumber;
|
|
660
|
+
}, z.core.$strip>>>;
|
|
661
|
+
cacheAlert: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
662
|
+
ttlSec: z.ZodNullable<z.ZodNumber>;
|
|
663
|
+
warnedFor: z.ZodNullable<z.ZodString>;
|
|
664
|
+
}, z.core.$strip>>>;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
prefill: z.ZodNullable<z.ZodString>;
|
|
667
|
+
}, z.core.$strip>;
|
|
668
|
+
export declare const SessionExportResult: z.ZodObject<{
|
|
669
|
+
fileName: z.ZodString;
|
|
670
|
+
content: z.ZodString;
|
|
671
|
+
}, z.core.$strip>;
|
|
672
|
+
export declare const CommandViewAction: z.ZodObject<{
|
|
673
|
+
label: z.ZodString;
|
|
674
|
+
command: z.ZodString;
|
|
675
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
676
|
+
danger: "danger";
|
|
677
|
+
default: "default";
|
|
678
|
+
primary: "primary";
|
|
679
|
+
}>>;
|
|
680
|
+
}, z.core.$strip>;
|
|
681
|
+
export declare const CommandView: z.ZodObject<{
|
|
682
|
+
title: z.ZodString;
|
|
683
|
+
body: z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>;
|
|
684
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
685
|
+
label: z.ZodString;
|
|
686
|
+
command: z.ZodString;
|
|
687
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
688
|
+
danger: "danger";
|
|
689
|
+
default: "default";
|
|
690
|
+
primary: "primary";
|
|
691
|
+
}>>;
|
|
692
|
+
}, z.core.$strip>>>;
|
|
693
|
+
}, z.core.$strip>;
|
|
694
|
+
export type CommandView = z.infer<typeof CommandView>;
|
|
695
|
+
export declare const ModelStateResult: z.ZodObject<{
|
|
696
|
+
model: z.ZodNullable<z.ZodObject<{
|
|
697
|
+
provider: z.ZodString;
|
|
698
|
+
id: z.ZodString;
|
|
699
|
+
name: z.ZodNullable<z.ZodString>;
|
|
700
|
+
contextWindow: z.ZodNullable<z.ZodNumber>;
|
|
701
|
+
reasoning: z.ZodBoolean;
|
|
702
|
+
scoped: z.ZodOptional<z.ZodBoolean>;
|
|
703
|
+
thinkingLevels: z.ZodArray<z.ZodEnum<{
|
|
704
|
+
high: "high";
|
|
705
|
+
low: "low";
|
|
706
|
+
max: "max";
|
|
707
|
+
medium: "medium";
|
|
708
|
+
minimal: "minimal";
|
|
709
|
+
off: "off";
|
|
710
|
+
xhigh: "xhigh";
|
|
711
|
+
}>>;
|
|
712
|
+
promptCache: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
713
|
+
short: z.ZodOptional<z.ZodNumber>;
|
|
714
|
+
long: z.ZodOptional<z.ZodNumber>;
|
|
715
|
+
}, z.core.$strip>>>;
|
|
716
|
+
}, z.core.$strip>>;
|
|
717
|
+
thinking: z.ZodNullable<z.ZodEnum<{
|
|
718
|
+
high: "high";
|
|
719
|
+
low: "low";
|
|
720
|
+
max: "max";
|
|
721
|
+
medium: "medium";
|
|
722
|
+
minimal: "minimal";
|
|
723
|
+
off: "off";
|
|
724
|
+
xhigh: "xhigh";
|
|
725
|
+
}>>;
|
|
726
|
+
}, z.core.$strip>;
|
|
727
|
+
export type ModelStateResult = z.infer<typeof ModelStateResult>;
|
|
728
|
+
export declare const ImportSessionRequest: z.ZodObject<{
|
|
729
|
+
hostId: z.ZodString;
|
|
730
|
+
sessionFile: z.ZodString;
|
|
731
|
+
projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
732
|
+
}, z.core.$strip>;
|
|
733
|
+
export declare const AnswerRequest: z.ZodObject<{
|
|
734
|
+
revision: z.ZodNumber;
|
|
735
|
+
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
736
|
+
kind: z.ZodLiteral<"form">;
|
|
737
|
+
values: z.ZodRecord<z.ZodString, z.ZodType<import("./ui.js").FormValue, unknown, z.core.$ZodTypeInternals<import("./ui.js").FormValue, unknown>>>;
|
|
738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
739
|
+
kind: z.ZodLiteral<"confirm">;
|
|
740
|
+
confirmed: z.ZodBoolean;
|
|
741
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
742
|
+
kind: z.ZodLiteral<"action">;
|
|
743
|
+
actionId: z.ZodString;
|
|
744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
745
|
+
kind: z.ZodLiteral<"cancel">;
|
|
746
|
+
}, z.core.$strip>], "kind">;
|
|
747
|
+
}, z.core.$strip>;
|
|
748
|
+
export declare const AdapterActionRequest: z.ZodObject<{
|
|
749
|
+
generation: z.ZodOptional<z.ZodString>;
|
|
750
|
+
adapterId: z.ZodString;
|
|
751
|
+
actionId: z.ZodString;
|
|
752
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
753
|
+
}, z.core.$strip>;
|
|
754
|
+
/** A task policy update: every nested field is optional, so a patch can change one field. */
|
|
755
|
+
export declare const TaskPolicyPatch: z.ZodObject<{
|
|
756
|
+
hostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
757
|
+
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
758
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
759
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
760
|
+
existing: "existing";
|
|
761
|
+
new_worktree: "new_worktree";
|
|
762
|
+
}>>;
|
|
763
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
764
|
+
base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
765
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
766
|
+
}, z.core.$strip>>;
|
|
767
|
+
continuation: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
769
|
+
objective: z.ZodOptional<z.ZodString>;
|
|
770
|
+
maxContinuations: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
maxElapsedMinutes: z.ZodOptional<z.ZodNumber>;
|
|
772
|
+
maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
773
|
+
maxCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
774
|
+
}, z.core.$strip>>;
|
|
775
|
+
completion: z.ZodOptional<z.ZodObject<{
|
|
776
|
+
checks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
777
|
+
requireHumanReview: z.ZodOptional<z.ZodBoolean>;
|
|
778
|
+
}, z.core.$strip>>;
|
|
779
|
+
}, z.core.$strip>;
|
|
780
|
+
export type TaskPolicyPatch = z.infer<typeof TaskPolicyPatch>;
|
|
781
|
+
/**
|
|
782
|
+
* JSON merge patch (RFC 7396) except that null is a value: plain objects merge key by key,
|
|
783
|
+
* any other value (null, arrays, scalars) replaces, absent/undefined keeps the base.
|
|
784
|
+
*/
|
|
785
|
+
export declare function mergePatch(base: unknown, patch: unknown): unknown;
|
|
786
|
+
export declare const CreateTaskRequest: z.ZodPipe<z.ZodObject<{
|
|
787
|
+
projectId: z.ZodString;
|
|
788
|
+
title: z.ZodOptional<z.ZodString>;
|
|
789
|
+
githubIssueUrl: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
790
|
+
githubIssue: z.ZodOptional<z.ZodNever>;
|
|
791
|
+
launchPrompt: z.ZodOptional<z.ZodNever>;
|
|
792
|
+
objective: z.ZodDefault<z.ZodString>;
|
|
793
|
+
acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
794
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
795
|
+
parentTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
796
|
+
priority: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
797
|
+
state: z.ZodDefault<z.ZodEnum<{
|
|
798
|
+
backlog: "backlog";
|
|
799
|
+
ready: "ready";
|
|
800
|
+
}>>;
|
|
801
|
+
notBefore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
802
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
803
|
+
hostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
804
|
+
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
805
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
806
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
807
|
+
existing: "existing";
|
|
808
|
+
new_worktree: "new_worktree";
|
|
809
|
+
}>>;
|
|
810
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
811
|
+
base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
812
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
813
|
+
}, z.core.$strip>>;
|
|
814
|
+
continuation: z.ZodOptional<z.ZodObject<{
|
|
815
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
816
|
+
objective: z.ZodOptional<z.ZodString>;
|
|
817
|
+
maxContinuations: z.ZodOptional<z.ZodNumber>;
|
|
818
|
+
maxElapsedMinutes: z.ZodOptional<z.ZodNumber>;
|
|
819
|
+
maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
820
|
+
maxCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
821
|
+
}, z.core.$strip>>;
|
|
822
|
+
completion: z.ZodOptional<z.ZodObject<{
|
|
823
|
+
checks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
824
|
+
requireHumanReview: z.ZodOptional<z.ZodBoolean>;
|
|
825
|
+
}, z.core.$strip>>;
|
|
826
|
+
}, z.core.$strip>>;
|
|
827
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
828
|
+
projectId: string;
|
|
829
|
+
githubIssueUrl?: string | undefined;
|
|
830
|
+
githubIssue?: undefined;
|
|
831
|
+
launchPrompt?: undefined;
|
|
832
|
+
objective: string;
|
|
833
|
+
acceptanceCriteria: string[];
|
|
834
|
+
dependencies: string[];
|
|
835
|
+
parentTaskId?: string | null | undefined;
|
|
836
|
+
priority: 0 | 1 | 2 | 3;
|
|
837
|
+
state: "backlog" | "ready";
|
|
838
|
+
notBefore?: string | null | undefined;
|
|
839
|
+
policy?: {
|
|
840
|
+
hostId?: string | null | undefined;
|
|
841
|
+
profileId?: string | null | undefined;
|
|
842
|
+
workspace?: {
|
|
843
|
+
mode?: "existing" | "new_worktree" | undefined;
|
|
844
|
+
branch?: string | null | undefined;
|
|
845
|
+
base?: string | null | undefined;
|
|
846
|
+
workspaceId?: string | undefined;
|
|
847
|
+
} | undefined;
|
|
848
|
+
continuation?: {
|
|
849
|
+
enabled?: boolean | undefined;
|
|
850
|
+
objective?: string | undefined;
|
|
851
|
+
maxContinuations?: number | undefined;
|
|
852
|
+
maxElapsedMinutes?: number | undefined;
|
|
853
|
+
maxTokens?: number | null | undefined;
|
|
854
|
+
maxCostUsd?: number | null | undefined;
|
|
855
|
+
} | undefined;
|
|
856
|
+
completion?: {
|
|
857
|
+
checks?: string[] | null | undefined;
|
|
858
|
+
requireHumanReview?: boolean | undefined;
|
|
859
|
+
} | undefined;
|
|
860
|
+
} | undefined;
|
|
861
|
+
title: string;
|
|
862
|
+
}, {
|
|
863
|
+
projectId: string;
|
|
864
|
+
title?: string | undefined;
|
|
865
|
+
githubIssueUrl?: string | undefined;
|
|
866
|
+
githubIssue?: undefined;
|
|
867
|
+
launchPrompt?: undefined;
|
|
868
|
+
objective: string;
|
|
869
|
+
acceptanceCriteria: string[];
|
|
870
|
+
dependencies: string[];
|
|
871
|
+
parentTaskId?: string | null | undefined;
|
|
872
|
+
priority: 0 | 1 | 2 | 3;
|
|
873
|
+
state: "backlog" | "ready";
|
|
874
|
+
notBefore?: string | null | undefined;
|
|
875
|
+
policy?: {
|
|
876
|
+
hostId?: string | null | undefined;
|
|
877
|
+
profileId?: string | null | undefined;
|
|
878
|
+
workspace?: {
|
|
879
|
+
mode?: "existing" | "new_worktree" | undefined;
|
|
880
|
+
branch?: string | null | undefined;
|
|
881
|
+
base?: string | null | undefined;
|
|
882
|
+
workspaceId?: string | undefined;
|
|
883
|
+
} | undefined;
|
|
884
|
+
continuation?: {
|
|
885
|
+
enabled?: boolean | undefined;
|
|
886
|
+
objective?: string | undefined;
|
|
887
|
+
maxContinuations?: number | undefined;
|
|
888
|
+
maxElapsedMinutes?: number | undefined;
|
|
889
|
+
maxTokens?: number | null | undefined;
|
|
890
|
+
maxCostUsd?: number | null | undefined;
|
|
891
|
+
} | undefined;
|
|
892
|
+
completion?: {
|
|
893
|
+
checks?: string[] | null | undefined;
|
|
894
|
+
requireHumanReview?: boolean | undefined;
|
|
895
|
+
} | undefined;
|
|
896
|
+
} | undefined;
|
|
897
|
+
}>>;
|
|
898
|
+
export declare const UpdateTaskRequest: z.ZodObject<{
|
|
899
|
+
githubIssueUrl: z.ZodOptional<z.ZodNever>;
|
|
900
|
+
githubIssue: z.ZodOptional<z.ZodNever>;
|
|
901
|
+
launchPrompt: z.ZodOptional<z.ZodNever>;
|
|
902
|
+
tracker: z.ZodOptional<z.ZodNever>;
|
|
903
|
+
title: z.ZodOptional<z.ZodString>;
|
|
904
|
+
objective: z.ZodOptional<z.ZodString>;
|
|
905
|
+
acceptanceCriteria: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
906
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
907
|
+
parentTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
908
|
+
priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
909
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
910
|
+
notBefore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
911
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
hostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
913
|
+
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
914
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
915
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
916
|
+
existing: "existing";
|
|
917
|
+
new_worktree: "new_worktree";
|
|
918
|
+
}>>;
|
|
919
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
920
|
+
base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
921
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
922
|
+
}, z.core.$strip>>;
|
|
923
|
+
continuation: z.ZodOptional<z.ZodObject<{
|
|
924
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
925
|
+
objective: z.ZodOptional<z.ZodString>;
|
|
926
|
+
maxContinuations: z.ZodOptional<z.ZodNumber>;
|
|
927
|
+
maxElapsedMinutes: z.ZodOptional<z.ZodNumber>;
|
|
928
|
+
maxTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
929
|
+
maxCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
930
|
+
}, z.core.$strip>>;
|
|
931
|
+
completion: z.ZodOptional<z.ZodObject<{
|
|
932
|
+
checks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
933
|
+
requireHumanReview: z.ZodOptional<z.ZodBoolean>;
|
|
934
|
+
}, z.core.$strip>>;
|
|
935
|
+
}, z.core.$strip>>;
|
|
936
|
+
}, z.core.$strip>;
|
|
937
|
+
export declare const MoveTaskRequest: z.ZodObject<{
|
|
938
|
+
to: z.ZodEnum<{
|
|
939
|
+
backlog: "backlog";
|
|
940
|
+
canceled: "canceled";
|
|
941
|
+
done: "done";
|
|
942
|
+
in_progress: "in_progress";
|
|
943
|
+
ready: "ready";
|
|
944
|
+
review: "review";
|
|
945
|
+
}>;
|
|
946
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
947
|
+
onRunning: z.ZodOptional<z.ZodEnum<{
|
|
948
|
+
pause: "pause";
|
|
949
|
+
stop: "stop";
|
|
950
|
+
}>>;
|
|
951
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
952
|
+
}, z.core.$strip>;
|
|
953
|
+
/** POST /api/tasks/:id/move (and accept, reopen, cancel) returns the updated task. */
|
|
954
|
+
export declare const MoveTaskResult: z.ZodObject<{
|
|
955
|
+
id: z.ZodString;
|
|
956
|
+
projectId: z.ZodString;
|
|
957
|
+
title: z.ZodString;
|
|
958
|
+
objective: z.ZodString;
|
|
959
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
960
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
961
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
962
|
+
position: z.ZodNumber;
|
|
963
|
+
state: z.ZodEnum<{
|
|
964
|
+
backlog: "backlog";
|
|
965
|
+
canceled: "canceled";
|
|
966
|
+
done: "done";
|
|
967
|
+
in_progress: "in_progress";
|
|
968
|
+
ready: "ready";
|
|
969
|
+
review: "review";
|
|
970
|
+
}>;
|
|
971
|
+
blocked: z.ZodNullable<z.ZodObject<{
|
|
972
|
+
reason: z.ZodString;
|
|
973
|
+
}, z.core.$strip>>;
|
|
974
|
+
notBefore: z.ZodNullable<z.ZodString>;
|
|
975
|
+
policy: z.ZodObject<{
|
|
976
|
+
hostId: z.ZodNullable<z.ZodString>;
|
|
977
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
978
|
+
workspace: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
979
|
+
mode: z.ZodLiteral<"new_worktree">;
|
|
980
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
981
|
+
base: z.ZodNullable<z.ZodString>;
|
|
982
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
983
|
+
mode: z.ZodLiteral<"existing">;
|
|
984
|
+
workspaceId: z.ZodString;
|
|
985
|
+
}, z.core.$strip>], "mode">;
|
|
986
|
+
continuation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
987
|
+
enabled: z.ZodLiteral<false>;
|
|
988
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
989
|
+
enabled: z.ZodLiteral<true>;
|
|
990
|
+
objective: z.ZodString;
|
|
991
|
+
maxContinuations: z.ZodNumber;
|
|
992
|
+
maxElapsedMinutes: z.ZodNumber;
|
|
993
|
+
maxTokens: z.ZodNullable<z.ZodNumber>;
|
|
994
|
+
maxCostUsd: z.ZodNullable<z.ZodNumber>;
|
|
995
|
+
}, z.core.$strip>], "enabled">;
|
|
996
|
+
completion: z.ZodObject<{
|
|
997
|
+
checks: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
998
|
+
requireHumanReview: z.ZodBoolean;
|
|
999
|
+
}, z.core.$strip>;
|
|
1000
|
+
}, z.core.$strip>;
|
|
1001
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1002
|
+
kind: z.ZodLiteral<"manual">;
|
|
1003
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1004
|
+
kind: z.ZodLiteral<"automation">;
|
|
1005
|
+
automationId: z.ZodString;
|
|
1006
|
+
occurrenceId: z.ZodString;
|
|
1007
|
+
routine: z.ZodBoolean;
|
|
1008
|
+
}, z.core.$strip>], "kind">;
|
|
1009
|
+
groupingKey: z.ZodNullable<z.ZodString>;
|
|
1010
|
+
parentTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1011
|
+
agentOrigin: z.ZodOptional<z.ZodObject<{
|
|
1012
|
+
sessionId: z.ZodString;
|
|
1013
|
+
toolCallId: z.ZodString;
|
|
1014
|
+
}, z.core.$strip>>;
|
|
1015
|
+
githubIssue: z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
repository: z.ZodString;
|
|
1017
|
+
number: z.ZodNumber;
|
|
1018
|
+
url: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1019
|
+
launchPrompt: z.ZodString;
|
|
1020
|
+
}, z.core.$strict>>;
|
|
1021
|
+
tracker: z.ZodOptional<z.ZodObject<{
|
|
1022
|
+
trackerId: z.ZodString;
|
|
1023
|
+
itemId: z.ZodString;
|
|
1024
|
+
repository: z.ZodString;
|
|
1025
|
+
number: z.ZodNumber;
|
|
1026
|
+
assignees: z.ZodArray<z.ZodString>;
|
|
1027
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
1028
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
1029
|
+
pullRequest: z.ZodNullable<z.ZodObject<{
|
|
1030
|
+
number: z.ZodNumber;
|
|
1031
|
+
state: z.ZodEnum<{
|
|
1032
|
+
CLOSED: "CLOSED";
|
|
1033
|
+
MERGED: "MERGED";
|
|
1034
|
+
OPEN: "OPEN";
|
|
1035
|
+
}>;
|
|
1036
|
+
url: z.ZodString;
|
|
1037
|
+
headRefName: z.ZodString;
|
|
1038
|
+
}, z.core.$strip>>;
|
|
1039
|
+
board: z.ZodNullable<z.ZodObject<{
|
|
1040
|
+
projectId: z.ZodString;
|
|
1041
|
+
projectItemId: z.ZodString;
|
|
1042
|
+
fieldId: z.ZodString;
|
|
1043
|
+
status: z.ZodNullable<z.ZodString>;
|
|
1044
|
+
statusOptionId: z.ZodNullable<z.ZodString>;
|
|
1045
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1046
|
+
id: z.ZodString;
|
|
1047
|
+
name: z.ZodString;
|
|
1048
|
+
}, z.core.$strip>>;
|
|
1049
|
+
}, z.core.$strip>>;
|
|
1050
|
+
}, z.core.$strip>>;
|
|
1051
|
+
currentRunId: z.ZodNullable<z.ZodString>;
|
|
1052
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1053
|
+
review: z.ZodObject<{
|
|
1054
|
+
feedback: z.ZodArray<z.ZodString>;
|
|
1055
|
+
changesRequested: z.ZodBoolean;
|
|
1056
|
+
}, z.core.$strip>;
|
|
1057
|
+
hiddenFromBoard: z.ZodBoolean;
|
|
1058
|
+
lastActivityAt: z.ZodString;
|
|
1059
|
+
createdAt: z.ZodString;
|
|
1060
|
+
updatedAt: z.ZodString;
|
|
1061
|
+
}, z.core.$strip>;
|
|
1062
|
+
export type MoveTaskResult = Task;
|
|
1063
|
+
export declare const RequestChangesRequest: z.ZodObject<{
|
|
1064
|
+
feedback: z.ZodArray<z.ZodString>;
|
|
1065
|
+
}, z.core.$strip>;
|
|
1066
|
+
export declare const Eligibility: z.ZodUnion<readonly [z.ZodObject<{
|
|
1067
|
+
eligible: z.ZodLiteral<true>;
|
|
1068
|
+
hostId: z.ZodString;
|
|
1069
|
+
hostName: z.ZodString;
|
|
1070
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1071
|
+
eligible: z.ZodLiteral<false>;
|
|
1072
|
+
wait: z.ZodEnum<{
|
|
1073
|
+
already_dispatched: "already_dispatched";
|
|
1074
|
+
dependency: "dependency";
|
|
1075
|
+
dispatch_paused: "dispatch_paused";
|
|
1076
|
+
host_offline: "host_offline";
|
|
1077
|
+
invalid_configuration: "invalid_configuration";
|
|
1078
|
+
not_ready: "not_ready";
|
|
1079
|
+
project_automation_disabled: "project_automation_disabled";
|
|
1080
|
+
project_limit: "project_limit";
|
|
1081
|
+
retry_backoff: "retry_backoff";
|
|
1082
|
+
scheduled_time: "scheduled_time";
|
|
1083
|
+
workspace_occupied: "workspace_occupied";
|
|
1084
|
+
}>;
|
|
1085
|
+
message: z.ZodString;
|
|
1086
|
+
}, z.core.$strip>]>;
|
|
1087
|
+
export type Eligibility = z.infer<typeof Eligibility>;
|
|
1088
|
+
export declare const NowResponse: z.ZodObject<{
|
|
1089
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1090
|
+
taskId: z.ZodString;
|
|
1091
|
+
runId: z.ZodString;
|
|
1092
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1093
|
+
}, z.core.$strip>>;
|
|
1094
|
+
queued: z.ZodArray<z.ZodObject<{
|
|
1095
|
+
taskId: z.ZodString;
|
|
1096
|
+
eligibility: z.ZodUnion<readonly [z.ZodObject<{
|
|
1097
|
+
eligible: z.ZodLiteral<true>;
|
|
1098
|
+
hostId: z.ZodString;
|
|
1099
|
+
hostName: z.ZodString;
|
|
1100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1101
|
+
eligible: z.ZodLiteral<false>;
|
|
1102
|
+
wait: z.ZodEnum<{
|
|
1103
|
+
already_dispatched: "already_dispatched";
|
|
1104
|
+
dependency: "dependency";
|
|
1105
|
+
dispatch_paused: "dispatch_paused";
|
|
1106
|
+
host_offline: "host_offline";
|
|
1107
|
+
invalid_configuration: "invalid_configuration";
|
|
1108
|
+
not_ready: "not_ready";
|
|
1109
|
+
project_automation_disabled: "project_automation_disabled";
|
|
1110
|
+
project_limit: "project_limit";
|
|
1111
|
+
retry_backoff: "retry_backoff";
|
|
1112
|
+
scheduled_time: "scheduled_time";
|
|
1113
|
+
workspace_occupied: "workspace_occupied";
|
|
1114
|
+
}>;
|
|
1115
|
+
message: z.ZodString;
|
|
1116
|
+
}, z.core.$strip>]>;
|
|
1117
|
+
}, z.core.$strip>>;
|
|
1118
|
+
dispatchPaused: z.ZodBoolean;
|
|
1119
|
+
}, z.core.$strip>;
|
|
1120
|
+
export type NowResponse = z.infer<typeof NowResponse>;
|
|
1121
|
+
export declare const AutomationInput: z.ZodObject<{
|
|
1122
|
+
name: z.ZodString;
|
|
1123
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1124
|
+
projectId: z.ZodString;
|
|
1125
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1126
|
+
kind: z.ZodLiteral<"manual">;
|
|
1127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1128
|
+
kind: z.ZodLiteral<"once">;
|
|
1129
|
+
at: z.ZodString;
|
|
1130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1131
|
+
kind: z.ZodLiteral<"cron">;
|
|
1132
|
+
expr: z.ZodString;
|
|
1133
|
+
timezone: z.ZodString;
|
|
1134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1135
|
+
kind: z.ZodLiteral<"webhook">;
|
|
1136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1137
|
+
kind: z.ZodLiteral<"dependency">;
|
|
1138
|
+
taskId: z.ZodString;
|
|
1139
|
+
}, z.core.$strip>], "kind">;
|
|
1140
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1141
|
+
path: z.ZodString;
|
|
1142
|
+
equals: z.ZodString;
|
|
1143
|
+
}, z.core.$strip>>>;
|
|
1144
|
+
template: z.ZodObject<{
|
|
1145
|
+
title: z.ZodString;
|
|
1146
|
+
objective: z.ZodString;
|
|
1147
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
1148
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
1149
|
+
}, z.core.$strip>;
|
|
1150
|
+
hostId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1151
|
+
profileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1152
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
1153
|
+
continue: "continue";
|
|
1154
|
+
fresh: "fresh";
|
|
1155
|
+
watch: "watch";
|
|
1156
|
+
}>>;
|
|
1157
|
+
groupingKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1158
|
+
overlap: z.ZodDefault<z.ZodEnum<{
|
|
1159
|
+
append: "append";
|
|
1160
|
+
queue_one: "queue_one";
|
|
1161
|
+
skip: "skip";
|
|
1162
|
+
}>>;
|
|
1163
|
+
missed: z.ZodDefault<z.ZodEnum<{
|
|
1164
|
+
run_once: "run_once";
|
|
1165
|
+
skip: "skip";
|
|
1166
|
+
}>>;
|
|
1167
|
+
continuation: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1168
|
+
enabled: z.ZodLiteral<false>;
|
|
1169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1170
|
+
enabled: z.ZodLiteral<true>;
|
|
1171
|
+
objective: z.ZodString;
|
|
1172
|
+
maxContinuations: z.ZodNumber;
|
|
1173
|
+
maxElapsedMinutes: z.ZodNumber;
|
|
1174
|
+
maxTokens: z.ZodNullable<z.ZodNumber>;
|
|
1175
|
+
maxCostUsd: z.ZodNullable<z.ZodNumber>;
|
|
1176
|
+
}, z.core.$strip>], "enabled">>;
|
|
1177
|
+
completion: z.ZodDefault<z.ZodObject<{
|
|
1178
|
+
checks: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1179
|
+
requireHumanReview: z.ZodBoolean;
|
|
1180
|
+
}, z.core.$strip>>;
|
|
1181
|
+
}, z.core.$strip>;
|
|
1182
|
+
export type AutomationInput = z.infer<typeof AutomationInput>;
|
|
1183
|
+
/** GET /api/automations items and the automation routes' responses: the automation plus its trigger summary. */
|
|
1184
|
+
export declare const AutomationView: z.ZodObject<{
|
|
1185
|
+
id: z.ZodString;
|
|
1186
|
+
name: z.ZodString;
|
|
1187
|
+
enabled: z.ZodBoolean;
|
|
1188
|
+
projectId: z.ZodString;
|
|
1189
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1190
|
+
kind: z.ZodLiteral<"manual">;
|
|
1191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1192
|
+
kind: z.ZodLiteral<"once">;
|
|
1193
|
+
at: z.ZodString;
|
|
1194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1195
|
+
kind: z.ZodLiteral<"cron">;
|
|
1196
|
+
expr: z.ZodString;
|
|
1197
|
+
timezone: z.ZodString;
|
|
1198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1199
|
+
kind: z.ZodLiteral<"webhook">;
|
|
1200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1201
|
+
kind: z.ZodLiteral<"dependency">;
|
|
1202
|
+
taskId: z.ZodString;
|
|
1203
|
+
}, z.core.$strip>], "kind">;
|
|
1204
|
+
filters: z.ZodArray<z.ZodObject<{
|
|
1205
|
+
path: z.ZodString;
|
|
1206
|
+
equals: z.ZodString;
|
|
1207
|
+
}, z.core.$strip>>;
|
|
1208
|
+
template: z.ZodObject<{
|
|
1209
|
+
title: z.ZodString;
|
|
1210
|
+
objective: z.ZodString;
|
|
1211
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
1212
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
1213
|
+
}, z.core.$strip>;
|
|
1214
|
+
hostId: z.ZodNullable<z.ZodString>;
|
|
1215
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
1216
|
+
mode: z.ZodEnum<{
|
|
1217
|
+
continue: "continue";
|
|
1218
|
+
fresh: "fresh";
|
|
1219
|
+
watch: "watch";
|
|
1220
|
+
}>;
|
|
1221
|
+
groupingKey: z.ZodNullable<z.ZodString>;
|
|
1222
|
+
overlap: z.ZodEnum<{
|
|
1223
|
+
append: "append";
|
|
1224
|
+
queue_one: "queue_one";
|
|
1225
|
+
skip: "skip";
|
|
1226
|
+
}>;
|
|
1227
|
+
missed: z.ZodEnum<{
|
|
1228
|
+
run_once: "run_once";
|
|
1229
|
+
skip: "skip";
|
|
1230
|
+
}>;
|
|
1231
|
+
continuation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1232
|
+
enabled: z.ZodLiteral<false>;
|
|
1233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1234
|
+
enabled: z.ZodLiteral<true>;
|
|
1235
|
+
objective: z.ZodString;
|
|
1236
|
+
maxContinuations: z.ZodNumber;
|
|
1237
|
+
maxElapsedMinutes: z.ZodNumber;
|
|
1238
|
+
maxTokens: z.ZodNullable<z.ZodNumber>;
|
|
1239
|
+
maxCostUsd: z.ZodNullable<z.ZodNumber>;
|
|
1240
|
+
}, z.core.$strip>], "enabled">;
|
|
1241
|
+
completion: z.ZodObject<{
|
|
1242
|
+
checks: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1243
|
+
requireHumanReview: z.ZodBoolean;
|
|
1244
|
+
}, z.core.$strip>;
|
|
1245
|
+
nextAt: z.ZodNullable<z.ZodString>;
|
|
1246
|
+
lastEvaluatedAt: z.ZodNullable<z.ZodString>;
|
|
1247
|
+
lastOutcome: z.ZodNullable<z.ZodString>;
|
|
1248
|
+
failureCount: z.ZodNumber;
|
|
1249
|
+
webhookTokenSet: z.ZodBoolean;
|
|
1250
|
+
createdAt: z.ZodString;
|
|
1251
|
+
updatedAt: z.ZodString;
|
|
1252
|
+
summary: z.ZodString;
|
|
1253
|
+
}, z.core.$strip>;
|
|
1254
|
+
export type AutomationView = z.infer<typeof AutomationView>;
|
|
1255
|
+
export declare const AutomationPreview: z.ZodObject<{
|
|
1256
|
+
summary: z.ZodString;
|
|
1257
|
+
task: z.ZodObject<{
|
|
1258
|
+
title: z.ZodString;
|
|
1259
|
+
objective: z.ZodString;
|
|
1260
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
1261
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
1262
|
+
}, z.core.$strip>;
|
|
1263
|
+
next: z.ZodArray<z.ZodString>;
|
|
1264
|
+
}, z.core.$strip>;
|
|
1265
|
+
export type AutomationPreview = z.infer<typeof AutomationPreview>;
|
|
1266
|
+
export declare const WebhookTokenResponse: z.ZodObject<{
|
|
1267
|
+
token: z.ZodString;
|
|
1268
|
+
url: z.ZodString;
|
|
1269
|
+
}, z.core.$strip>;
|
|
1270
|
+
export declare const PushSubscriptionRequest: z.ZodObject<{
|
|
1271
|
+
endpoint: z.ZodString;
|
|
1272
|
+
keys: z.ZodObject<{
|
|
1273
|
+
p256dh: z.ZodString;
|
|
1274
|
+
auth: z.ZodString;
|
|
1275
|
+
}, z.core.$strip>;
|
|
1276
|
+
permission: z.ZodDefault<z.ZodEnum<{
|
|
1277
|
+
default: "default";
|
|
1278
|
+
denied: "denied";
|
|
1279
|
+
granted: "granted";
|
|
1280
|
+
unknown: "unknown";
|
|
1281
|
+
}>>;
|
|
1282
|
+
}, z.core.$strip>;
|
|
1283
|
+
export declare const NotificationSettings: z.ZodObject<{
|
|
1284
|
+
quietHours: z.ZodNullable<z.ZodObject<{
|
|
1285
|
+
start: z.ZodString;
|
|
1286
|
+
end: z.ZodString;
|
|
1287
|
+
timezone: z.ZodString;
|
|
1288
|
+
}, z.core.$strip>>;
|
|
1289
|
+
privatePreviews: z.ZodBoolean;
|
|
1290
|
+
preferredDeviceId: z.ZodNullable<z.ZodString>;
|
|
1291
|
+
}, z.core.$strip>;
|
|
1292
|
+
export type NotificationSettings = z.infer<typeof NotificationSettings>;
|
|
1293
|
+
export declare const PushPayload: z.ZodUnion<readonly [z.ZodObject<{
|
|
1294
|
+
type: z.ZodLiteral<"show">;
|
|
1295
|
+
title: z.ZodString;
|
|
1296
|
+
body: z.ZodString;
|
|
1297
|
+
tag: z.ZodString;
|
|
1298
|
+
url: z.ZodString;
|
|
1299
|
+
renotify: z.ZodBoolean;
|
|
1300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1301
|
+
type: z.ZodLiteral<"clear">;
|
|
1302
|
+
tag: z.ZodString;
|
|
1303
|
+
}, z.core.$strip>]>;
|
|
1304
|
+
export type PushPayload = z.infer<typeof PushPayload>;
|
|
1305
|
+
/** Owner sign-in (see docs/auth.md). */
|
|
1306
|
+
export declare const SetupState: z.ZodObject<{
|
|
1307
|
+
passkey: z.ZodObject<{
|
|
1308
|
+
available: z.ZodBoolean;
|
|
1309
|
+
registered: z.ZodBoolean;
|
|
1310
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1311
|
+
}, z.core.$strip>;
|
|
1312
|
+
oidc: z.ZodNullable<z.ZodObject<{
|
|
1313
|
+
label: z.ZodString;
|
|
1314
|
+
}, z.core.$strip>>;
|
|
1315
|
+
}, z.core.$strip>;
|
|
1316
|
+
export type SetupState = z.infer<typeof SetupState>;
|
|
1317
|
+
export declare const PasskeyRegisterOptionsResponse: z.ZodObject<{
|
|
1318
|
+
challengeId: z.ZodString;
|
|
1319
|
+
options: z.ZodUnknown;
|
|
1320
|
+
}, z.core.$strip>;
|
|
1321
|
+
export declare const PasskeyRegisterVerifyRequest: z.ZodObject<{
|
|
1322
|
+
challengeId: z.ZodString;
|
|
1323
|
+
name: z.ZodString;
|
|
1324
|
+
response: z.ZodUnknown;
|
|
1325
|
+
}, z.core.$strip>;
|
|
1326
|
+
export declare const PasskeySignInOptionsResponse: z.ZodObject<{
|
|
1327
|
+
challengeId: z.ZodString;
|
|
1328
|
+
options: z.ZodUnknown;
|
|
1329
|
+
}, z.core.$strip>;
|
|
1330
|
+
export declare const PasskeySignInVerifyRequest: z.ZodObject<{
|
|
1331
|
+
challengeId: z.ZodString;
|
|
1332
|
+
response: z.ZodUnknown;
|
|
1333
|
+
deviceName: z.ZodString;
|
|
1334
|
+
kind: z.ZodEnum<{
|
|
1335
|
+
browser: "browser";
|
|
1336
|
+
pwa: "pwa";
|
|
1337
|
+
}>;
|
|
1338
|
+
}, z.core.$strip>;
|
|
1339
|
+
export declare const OidcBeginRequest: z.ZodObject<{
|
|
1340
|
+
deviceName: z.ZodString;
|
|
1341
|
+
kind: z.ZodEnum<{
|
|
1342
|
+
browser: "browser";
|
|
1343
|
+
pwa: "pwa";
|
|
1344
|
+
}>;
|
|
1345
|
+
next: z.ZodDefault<z.ZodString>;
|
|
1346
|
+
handoff: z.ZodDefault<z.ZodBoolean>;
|
|
1347
|
+
}, z.core.$strip>;
|
|
1348
|
+
export declare const OidcBeginResponse: z.ZodObject<{
|
|
1349
|
+
authorizeUrl: z.ZodString;
|
|
1350
|
+
flowId: z.ZodNullable<z.ZodString>;
|
|
1351
|
+
pollToken: z.ZodNullable<z.ZodString>;
|
|
1352
|
+
}, z.core.$strip>;
|
|
1353
|
+
export type OidcBeginResponse = z.infer<typeof OidcBeginResponse>;
|
|
1354
|
+
export declare const OidcClaimRequest: z.ZodObject<{
|
|
1355
|
+
flowId: z.ZodString;
|
|
1356
|
+
pollToken: z.ZodString;
|
|
1357
|
+
}, z.core.$strip>;
|
|
1358
|
+
export declare const OidcClaimResponse: z.ZodUnion<readonly [z.ZodObject<{
|
|
1359
|
+
status: z.ZodLiteral<"pending">;
|
|
1360
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1361
|
+
status: z.ZodLiteral<"done">;
|
|
1362
|
+
deviceId: z.ZodString;
|
|
1363
|
+
}, z.core.$strip>]>;
|
|
1364
|
+
export type OidcClaimResponse = z.infer<typeof OidcClaimResponse>;
|
|
1365
|
+
export declare const TerminalLoginStartRequest: z.ZodObject<{
|
|
1366
|
+
name: z.ZodString;
|
|
1367
|
+
}, z.core.$strip>;
|
|
1368
|
+
export declare const TerminalLoginStartResponse: z.ZodObject<{
|
|
1369
|
+
userCode: z.ZodString;
|
|
1370
|
+
pollToken: z.ZodString;
|
|
1371
|
+
verifyUrl: z.ZodString;
|
|
1372
|
+
expiresAt: z.ZodString;
|
|
1373
|
+
intervalMs: z.ZodNumber;
|
|
1374
|
+
}, z.core.$strip>;
|
|
1375
|
+
export type TerminalLoginStartResponse = z.infer<typeof TerminalLoginStartResponse>;
|
|
1376
|
+
export declare const TerminalLoginClaimRequest: z.ZodObject<{
|
|
1377
|
+
userCode: z.ZodString;
|
|
1378
|
+
pollToken: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>;
|
|
1380
|
+
export declare const TerminalLoginClaimResponse: z.ZodUnion<readonly [z.ZodObject<{
|
|
1381
|
+
status: z.ZodLiteral<"pending">;
|
|
1382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1383
|
+
status: z.ZodLiteral<"denied">;
|
|
1384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1385
|
+
status: z.ZodLiteral<"done">;
|
|
1386
|
+
deviceId: z.ZodString;
|
|
1387
|
+
credential: z.ZodString;
|
|
1388
|
+
}, z.core.$strip>]>;
|
|
1389
|
+
export type TerminalLoginClaimResponse = z.infer<typeof TerminalLoginClaimResponse>;
|
|
1390
|
+
export declare const TerminalLoginRequest: z.ZodObject<{
|
|
1391
|
+
userCode: z.ZodString;
|
|
1392
|
+
name: z.ZodString;
|
|
1393
|
+
requestedFrom: z.ZodString;
|
|
1394
|
+
createdAt: z.ZodString;
|
|
1395
|
+
expiresAt: z.ZodString;
|
|
1396
|
+
status: z.ZodEnum<{
|
|
1397
|
+
approved: "approved";
|
|
1398
|
+
denied: "denied";
|
|
1399
|
+
pending: "pending";
|
|
1400
|
+
}>;
|
|
1401
|
+
}, z.core.$strip>;
|
|
1402
|
+
export type TerminalLoginRequest = z.infer<typeof TerminalLoginRequest>;
|
|
1403
|
+
export declare const AuthMethods: z.ZodObject<{
|
|
1404
|
+
passkeys: z.ZodArray<z.ZodObject<{
|
|
1405
|
+
id: z.ZodString;
|
|
1406
|
+
name: z.ZodString;
|
|
1407
|
+
createdAt: z.ZodString;
|
|
1408
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
1409
|
+
transports: z.ZodArray<z.ZodString>;
|
|
1410
|
+
}, z.core.$strip>>;
|
|
1411
|
+
passkeyAvailability: z.ZodObject<{
|
|
1412
|
+
available: z.ZodBoolean;
|
|
1413
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1414
|
+
}, z.core.$strip>;
|
|
1415
|
+
oidc: z.ZodNullable<z.ZodObject<{
|
|
1416
|
+
issuer: z.ZodString;
|
|
1417
|
+
label: z.ZodString;
|
|
1418
|
+
ownerMatch: z.ZodString;
|
|
1419
|
+
status: z.ZodEnum<{
|
|
1420
|
+
error: "error";
|
|
1421
|
+
ready: "ready";
|
|
1422
|
+
}>;
|
|
1423
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1424
|
+
}, z.core.$strip>>;
|
|
1425
|
+
}, z.core.$strip>;
|
|
1426
|
+
export type AuthMethods = z.infer<typeof AuthMethods>;
|
|
1427
|
+
export declare const MeResponse: z.ZodObject<{
|
|
1428
|
+
device: z.ZodObject<{
|
|
1429
|
+
id: z.ZodString;
|
|
1430
|
+
name: z.ZodString;
|
|
1431
|
+
kind: z.ZodEnum<{
|
|
1432
|
+
browser: "browser";
|
|
1433
|
+
cli: "cli";
|
|
1434
|
+
pwa: "pwa";
|
|
1435
|
+
terminal: "terminal";
|
|
1436
|
+
}>;
|
|
1437
|
+
createdAt: z.ZodString;
|
|
1438
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
1439
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
1440
|
+
push: z.ZodObject<{
|
|
1441
|
+
subscribed: z.ZodBoolean;
|
|
1442
|
+
permission: z.ZodEnum<{
|
|
1443
|
+
default: "default";
|
|
1444
|
+
denied: "denied";
|
|
1445
|
+
granted: "granted";
|
|
1446
|
+
unknown: "unknown";
|
|
1447
|
+
}>;
|
|
1448
|
+
}, z.core.$strip>;
|
|
1449
|
+
preferredMobile: z.ZodBoolean;
|
|
1450
|
+
enrolledVia: z.ZodDefault<z.ZodEnum<{
|
|
1451
|
+
admin: "admin";
|
|
1452
|
+
approval: "approval";
|
|
1453
|
+
enrollment: "enrollment";
|
|
1454
|
+
oidc: "oidc";
|
|
1455
|
+
passkey: "passkey";
|
|
1456
|
+
}>>;
|
|
1457
|
+
}, z.core.$strip>;
|
|
1458
|
+
admin: z.ZodBoolean;
|
|
1459
|
+
publicUrl: z.ZodString;
|
|
1460
|
+
}, z.core.$strip>;
|
|
1461
|
+
export type MeResponse = z.infer<typeof MeResponse>;
|
|
1462
|
+
export declare const ViewInput: z.ZodObject<{
|
|
1463
|
+
name: z.ZodString;
|
|
1464
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1465
|
+
all: "all";
|
|
1466
|
+
pinned: "pinned";
|
|
1467
|
+
}>>;
|
|
1468
|
+
projectIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1469
|
+
hostIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1470
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1471
|
+
}, z.core.$strip>;
|
|
1472
|
+
export declare const ViewPatch: z.ZodObject<{
|
|
1473
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1475
|
+
all: "all";
|
|
1476
|
+
pinned: "pinned";
|
|
1477
|
+
}>>>;
|
|
1478
|
+
projectIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
1479
|
+
hostIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
1480
|
+
clientId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1481
|
+
}, z.core.$strip>;
|
|
1482
|
+
export declare const ViewClientReport: z.ZodObject<{
|
|
1483
|
+
id: z.ZodString;
|
|
1484
|
+
kind: z.ZodEnum<{
|
|
1485
|
+
herdr: "herdr";
|
|
1486
|
+
tmux: "tmux";
|
|
1487
|
+
}>;
|
|
1488
|
+
name: z.ZodString;
|
|
1489
|
+
machine: z.ZodString;
|
|
1490
|
+
}, z.core.$strip>;
|
|
1491
|
+
export declare const ProjectSuggestionsResponse: z.ZodObject<{
|
|
1492
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
1493
|
+
rootPath: z.ZodString;
|
|
1494
|
+
sessionCount: z.ZodNumber;
|
|
1495
|
+
lastActivityAt: z.ZodString;
|
|
1496
|
+
name: z.ZodString;
|
|
1497
|
+
preselected: z.ZodBoolean;
|
|
1498
|
+
}, z.core.$strip>>;
|
|
1499
|
+
}, z.core.$strip>;
|
|
1500
|
+
export type ProjectSuggestionsResponse = z.infer<typeof ProjectSuggestionsResponse>;
|
|
1501
|
+
//# sourceMappingURL=api.d.ts.map
|