@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.
@@ -0,0 +1,1517 @@
1
+ import { z } from "zod";
2
+ export declare const HostCommand: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
+ type: z.ZodLiteral<"session.start">;
4
+ sessionId: z.ZodString;
5
+ title: z.ZodString;
6
+ workspacePath: z.ZodString;
7
+ projectId: z.ZodNullable<z.ZodString>;
8
+ profile: z.ZodObject<{
9
+ id: z.ZodString;
10
+ name: z.ZodString;
11
+ provider: z.ZodNullable<z.ZodString>;
12
+ model: z.ZodNullable<z.ZodString>;
13
+ thinking: z.ZodNullable<z.ZodEnum<{
14
+ high: "high";
15
+ low: "low";
16
+ max: "max";
17
+ medium: "medium";
18
+ minimal: "minimal";
19
+ off: "off";
20
+ xhigh: "xhigh";
21
+ }>>;
22
+ projectTrust: z.ZodEnum<{
23
+ approve: "approve";
24
+ ask: "ask";
25
+ ignore: "ignore";
26
+ }>;
27
+ extraArgs: z.ZodArray<z.ZodString>;
28
+ resources: z.ZodOptional<z.ZodEnum<{
29
+ all: "all";
30
+ vanilla: "vanilla";
31
+ }>>;
32
+ }, z.core.$strip>;
33
+ nativeHandle: z.ZodNullable<z.ZodObject<{
34
+ sessionId: z.ZodString;
35
+ sessionFile: z.ZodString;
36
+ }, z.core.$strip>>;
37
+ initialPrompt: z.ZodNullable<z.ZodString>;
38
+ dispatchKey: z.ZodNullable<z.ZodString>;
39
+ controlRevision: z.ZodNumber;
40
+ controlMode: z.ZodEnum<{
41
+ automation: "automation";
42
+ human: "human";
43
+ }>;
44
+ origin: z.ZodEnum<{
45
+ automation: "automation";
46
+ human: "human";
47
+ }>;
48
+ readOnly: z.ZodDefault<z.ZodBoolean>;
49
+ policyRequired: z.ZodOptional<z.ZodBoolean>;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ type: z.ZodLiteral<"session.deliverMessage">;
52
+ sessionId: z.ZodString;
53
+ messageId: z.ZodString;
54
+ payload: z.ZodObject<{
55
+ deliveryId: z.ZodString;
56
+ kind: z.ZodEnum<{
57
+ completion: "completion";
58
+ message: "message";
59
+ }>;
60
+ text: z.ZodString;
61
+ }, z.core.$strip>;
62
+ mode: z.ZodEnum<{
63
+ queue: "queue";
64
+ steer: "steer";
65
+ }>;
66
+ holdUntil: z.ZodString;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ sessionId: z.ZodString;
69
+ nativeSessionId: z.ZodString;
70
+ runtimeId: z.ZodString;
71
+ sampleId: z.ZodString;
72
+ tool: z.ZodObject<{
73
+ name: z.ZodString;
74
+ args: z.ZodCustom<Record<string, import("./policies.js").JsonValue>, Record<string, import("./policies.js").JsonValue>>;
75
+ }, z.core.$strict>;
76
+ type: z.ZodLiteral<"session.classifyPolicySample">;
77
+ }, z.core.$strict>, z.ZodObject<{
78
+ type: z.ZodLiteral<"session.messageStatus">;
79
+ sessionId: z.ZodString;
80
+ messageIds: z.ZodArray<z.ZodString>;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ type: z.ZodLiteral<"session.prompt">;
83
+ sessionId: z.ZodString;
84
+ text: z.ZodString;
85
+ images: z.ZodDefault<z.ZodArray<z.ZodObject<{
86
+ mimeType: z.ZodString;
87
+ data: z.ZodString;
88
+ }, z.core.$strip>>>;
89
+ mode: z.ZodEnum<{
90
+ followUp: "followUp";
91
+ prompt: "prompt";
92
+ steer: "steer";
93
+ }>;
94
+ origin: z.ZodEnum<{
95
+ automation: "automation";
96
+ human: "human";
97
+ }>;
98
+ controlRevision: z.ZodNumber;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ type: z.ZodLiteral<"session.abort">;
101
+ sessionId: z.ZodString;
102
+ clearQueue: z.ZodBoolean;
103
+ }, z.core.$strip>, z.ZodObject<{
104
+ type: z.ZodLiteral<"session.stop">;
105
+ sessionId: z.ZodString;
106
+ }, z.core.$strip>, z.ZodObject<{
107
+ type: z.ZodLiteral<"session.answer">;
108
+ sessionId: z.ZodString;
109
+ interactionId: z.ZodString;
110
+ revision: z.ZodNumber;
111
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
112
+ kind: z.ZodLiteral<"form">;
113
+ values: z.ZodRecord<z.ZodString, z.ZodType<import("./ui.js").FormValue, unknown, z.core.$ZodTypeInternals<import("./ui.js").FormValue, unknown>>>;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ kind: z.ZodLiteral<"confirm">;
116
+ confirmed: z.ZodBoolean;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ kind: z.ZodLiteral<"action">;
119
+ actionId: z.ZodString;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ kind: z.ZodLiteral<"cancel">;
122
+ }, z.core.$strip>], "kind">;
123
+ deviceId: z.ZodString;
124
+ }, z.core.$strip>, z.ZodObject<{
125
+ type: z.ZodLiteral<"session.adapterAction">;
126
+ sessionId: z.ZodString;
127
+ generation: z.ZodOptional<z.ZodString>;
128
+ adapterId: z.ZodString;
129
+ actionId: z.ZodString;
130
+ payload: z.ZodUnknown;
131
+ }, z.core.$strip>, z.ZodObject<{
132
+ type: z.ZodLiteral<"session.setControl">;
133
+ sessionId: z.ZodString;
134
+ controlRevision: z.ZodNumber;
135
+ mode: z.ZodEnum<{
136
+ automation: "automation";
137
+ human: "human";
138
+ }>;
139
+ }, z.core.$strip>, z.ZodObject<{
140
+ type: z.ZodLiteral<"session.rename">;
141
+ sessionId: z.ZodString;
142
+ title: z.ZodString;
143
+ }, z.core.$strip>, z.ZodObject<{
144
+ type: z.ZodLiteral<"session.importable">;
145
+ }, z.core.$strip>, z.ZodObject<{
146
+ type: z.ZodLiteral<"session.readNative">;
147
+ sessionFile: z.ZodString;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ type: z.ZodLiteral<"session.snapshot">;
150
+ sessionId: z.ZodString;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ type: z.ZodLiteral<"session.models">;
153
+ sessionId: z.ZodString;
154
+ }, z.core.$strip>, z.ZodObject<{
155
+ type: z.ZodLiteral<"session.commands">;
156
+ sessionId: z.ZodString;
157
+ }, z.core.$strip>, z.ZodObject<{
158
+ type: z.ZodLiteral<"session.complete">;
159
+ sessionId: z.ZodString;
160
+ text: z.ZodString;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ type: z.ZodLiteral<"session.tree">;
163
+ sessionId: z.ZodString;
164
+ }, z.core.$strip>, z.ZodObject<{
165
+ type: z.ZodLiteral<"session.branch">;
166
+ sessionId: z.ZodString;
167
+ entryId: z.ZodNullable<z.ZodString>;
168
+ fork: z.ZodBoolean;
169
+ }, z.core.$strip>, z.ZodObject<{
170
+ type: z.ZodLiteral<"session.navigate">;
171
+ sessionId: z.ZodString;
172
+ entryId: z.ZodString;
173
+ summarize: z.ZodBoolean;
174
+ instructions: z.ZodNullable<z.ZodString>;
175
+ }, z.core.$strip>, z.ZodObject<{
176
+ type: z.ZodLiteral<"session.reload">;
177
+ sessionId: z.ZodString;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ type: z.ZodLiteral<"session.adapters">;
180
+ sessionId: z.ZodString;
181
+ }, z.core.$strip>, z.ZodObject<{
182
+ type: z.ZodLiteral<"session.reloadAdapters">;
183
+ sessionId: z.ZodString;
184
+ }, z.core.$strip>, z.ZodObject<{
185
+ type: z.ZodLiteral<"session.export">;
186
+ sessionId: z.ZodString;
187
+ }, z.core.$strip>, z.ZodObject<{
188
+ type: z.ZodLiteral<"session.setModel">;
189
+ sessionId: z.ZodString;
190
+ provider: z.ZodString;
191
+ modelId: z.ZodString;
192
+ }, z.core.$strip>, z.ZodObject<{
193
+ type: z.ZodLiteral<"session.setThinking">;
194
+ sessionId: z.ZodString;
195
+ level: z.ZodEnum<{
196
+ high: "high";
197
+ low: "low";
198
+ max: "max";
199
+ medium: "medium";
200
+ minimal: "minimal";
201
+ off: "off";
202
+ xhigh: "xhigh";
203
+ }>;
204
+ }, z.core.$strip>, z.ZodObject<{
205
+ type: z.ZodLiteral<"session.compact">;
206
+ sessionId: z.ZodString;
207
+ instructions: z.ZodNullable<z.ZodString>;
208
+ }, z.core.$strip>, z.ZodObject<{
209
+ type: z.ZodLiteral<"checkout.inspect">;
210
+ path: z.ZodString;
211
+ }, z.core.$strip>, z.ZodObject<{
212
+ type: z.ZodLiteral<"projects.scan">;
213
+ folder: z.ZodString;
214
+ }, z.core.$strip>, z.ZodObject<{
215
+ type: z.ZodLiteral<"projects.suggest">;
216
+ days: z.ZodDefault<z.ZodNumber>;
217
+ }, z.core.$strip>, z.ZodObject<{
218
+ type: z.ZodLiteral<"workspace.discover">;
219
+ checkoutPath: z.ZodString;
220
+ worktreeDir: z.ZodDefault<z.ZodString>;
221
+ }, z.core.$strip>, z.ZodObject<{
222
+ type: z.ZodLiteral<"workspace.create">;
223
+ checkoutPath: z.ZodString;
224
+ branch: z.ZodString;
225
+ base: z.ZodString;
226
+ setupCommand: z.ZodNullable<z.ZodString>;
227
+ worktreeDir: z.ZodDefault<z.ZodString>;
228
+ }, z.core.$strip>, z.ZodObject<{
229
+ type: z.ZodLiteral<"workspace.status">;
230
+ path: z.ZodString;
231
+ base: z.ZodNullable<z.ZodString>;
232
+ }, z.core.$strip>, z.ZodObject<{
233
+ type: z.ZodLiteral<"workspace.remove">;
234
+ path: z.ZodString;
235
+ checkoutPath: z.ZodString;
236
+ base: z.ZodNullable<z.ZodString>;
237
+ force: z.ZodObject<{
238
+ dirty: z.ZodBoolean;
239
+ unmerged: z.ZodBoolean;
240
+ }, z.core.$strip>;
241
+ deleteBranch: z.ZodOptional<z.ZodBoolean>;
242
+ }, z.core.$strip>, z.ZodObject<{
243
+ type: z.ZodLiteral<"workspace.diff">;
244
+ path: z.ZodString;
245
+ base: z.ZodNullable<z.ZodString>;
246
+ file: z.ZodNullable<z.ZodString>;
247
+ }, z.core.$strip>, z.ZodObject<{
248
+ type: z.ZodLiteral<"workspace.files">;
249
+ path: z.ZodString;
250
+ dir: z.ZodString;
251
+ }, z.core.$strip>, z.ZodObject<{
252
+ type: z.ZodLiteral<"workspace.readFile">;
253
+ path: z.ZodString;
254
+ file: z.ZodString;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ path: z.ZodString;
257
+ type: z.ZodLiteral<"workspace.prView">;
258
+ }, z.core.$strict>, z.ZodObject<{
259
+ path: z.ZodString;
260
+ repository: z.ZodString;
261
+ number: z.ZodNumber;
262
+ expectedHeadOid: z.ZodString;
263
+ type: z.ZodLiteral<"workspace.prFailedLogs">;
264
+ }, z.core.$strict>, z.ZodObject<{
265
+ path: z.ZodString;
266
+ repository: z.ZodString;
267
+ number: z.ZodNumber;
268
+ expectedHeadOid: z.ZodString;
269
+ expectedPullRequestNodeId: z.ZodString;
270
+ type: z.ZodLiteral<"workspace.prMerge">;
271
+ }, z.core.$strict>, z.ZodObject<{
272
+ owner: z.ZodString;
273
+ repositories: z.ZodNullable<z.ZodArray<z.ZodString>>;
274
+ board: z.ZodNullable<z.ZodObject<{
275
+ projectNumber: z.ZodNumber;
276
+ statusField: z.ZodString;
277
+ }, z.core.$strip>>;
278
+ type: z.ZodLiteral<"tracker.sync">;
279
+ }, z.core.$strip>, z.ZodObject<{
280
+ checkoutPath: z.ZodString;
281
+ branch: z.ZodString;
282
+ type: z.ZodLiteral<"tracker.prepareBranch">;
283
+ }, z.core.$strip>, z.ZodObject<{
284
+ checkoutPath: z.ZodString;
285
+ repository: z.ZodString;
286
+ number: z.ZodNumber;
287
+ branch: z.ZodString;
288
+ base: z.ZodString;
289
+ type: z.ZodLiteral<"tracker.startIssue">;
290
+ }, z.core.$strip>, z.ZodObject<{
291
+ projectId: z.ZodString;
292
+ projectItemId: z.ZodString;
293
+ fieldId: z.ZodString;
294
+ statusField: z.ZodString;
295
+ optionId: z.ZodString;
296
+ expectedOptionId: z.ZodNullable<z.ZodString>;
297
+ login: z.ZodString;
298
+ allowShared: z.ZodBoolean;
299
+ type: z.ZodLiteral<"tracker.setStatus">;
300
+ }, z.core.$strip>, z.ZodObject<{
301
+ type: z.ZodLiteral<"dispatch.start">;
302
+ dispatchKey: z.ZodString;
303
+ runId: z.ZodString;
304
+ taskId: z.ZodString;
305
+ sessionId: z.ZodString;
306
+ projectId: z.ZodString;
307
+ title: z.ZodString;
308
+ workspace: z.ZodUnion<readonly [z.ZodObject<{
309
+ path: z.ZodString;
310
+ }, z.core.$strip>, z.ZodObject<{
311
+ createFrom: z.ZodObject<{
312
+ checkoutPath: z.ZodString;
313
+ branch: z.ZodString;
314
+ base: z.ZodString;
315
+ setupCommand: z.ZodNullable<z.ZodString>;
316
+ worktreeDir: z.ZodDefault<z.ZodString>;
317
+ }, z.core.$strip>;
318
+ }, z.core.$strip>]>;
319
+ nativeHandle: z.ZodNullable<z.ZodObject<{
320
+ sessionId: z.ZodString;
321
+ sessionFile: z.ZodString;
322
+ }, z.core.$strip>>;
323
+ profile: z.ZodObject<{
324
+ id: z.ZodString;
325
+ name: z.ZodString;
326
+ provider: z.ZodNullable<z.ZodString>;
327
+ model: z.ZodNullable<z.ZodString>;
328
+ thinking: z.ZodNullable<z.ZodEnum<{
329
+ high: "high";
330
+ low: "low";
331
+ max: "max";
332
+ medium: "medium";
333
+ minimal: "minimal";
334
+ off: "off";
335
+ xhigh: "xhigh";
336
+ }>>;
337
+ projectTrust: z.ZodEnum<{
338
+ approve: "approve";
339
+ ask: "ask";
340
+ ignore: "ignore";
341
+ }>;
342
+ extraArgs: z.ZodArray<z.ZodString>;
343
+ resources: z.ZodOptional<z.ZodEnum<{
344
+ all: "all";
345
+ vanilla: "vanilla";
346
+ }>>;
347
+ }, z.core.$strip>;
348
+ prompt: z.ZodString;
349
+ controlRevision: z.ZodNumber;
350
+ controlMode: z.ZodDefault<z.ZodEnum<{
351
+ automation: "automation";
352
+ human: "human";
353
+ }>>;
354
+ policyRequired: z.ZodOptional<z.ZodBoolean>;
355
+ }, z.core.$strip>, z.ZodObject<{
356
+ type: z.ZodLiteral<"dispatch.reconcile">;
357
+ dispatchKey: z.ZodString;
358
+ }, z.core.$strip>, z.ZodObject<{
359
+ type: z.ZodLiteral<"checks.run">;
360
+ sessionId: z.ZodString;
361
+ path: z.ZodString;
362
+ commands: z.ZodArray<z.ZodString>;
363
+ }, z.core.$strip>], "type">;
364
+ export type HostCommand = z.infer<typeof HostCommand>;
365
+ export type HostCommandType = HostCommand["type"];
366
+ export type HostCommandOf<T extends HostCommandType> = Extract<HostCommand, {
367
+ type: T;
368
+ }>;
369
+ /** Result payloads for commands that return data. */
370
+ export declare const ImportableSession: z.ZodObject<{
371
+ sessionFile: z.ZodString;
372
+ sessionId: z.ZodString;
373
+ cwd: z.ZodString;
374
+ name: z.ZodNullable<z.ZodString>;
375
+ mtime: z.ZodString;
376
+ inactive: z.ZodBoolean;
377
+ }, z.core.$strip>;
378
+ export type ImportableSession = z.infer<typeof ImportableSession>;
379
+ export declare const DiscoveredWorktree: z.ZodObject<{
380
+ path: z.ZodString;
381
+ head: z.ZodNullable<z.ZodString>;
382
+ branch: z.ZodNullable<z.ZodString>;
383
+ bare: z.ZodBoolean;
384
+ detached: z.ZodBoolean;
385
+ locked: z.ZodBoolean;
386
+ prunable: z.ZodBoolean;
387
+ provenance: z.ZodEnum<{
388
+ discovered: "discovered";
389
+ main: "main";
390
+ managed: "managed";
391
+ }>;
392
+ git: z.ZodNullable<z.ZodObject<{
393
+ dirty: z.ZodBoolean;
394
+ changedFiles: z.ZodNumber;
395
+ ahead: z.ZodNumber;
396
+ behind: z.ZodNumber;
397
+ unmerged: z.ZodBoolean;
398
+ head: z.ZodOptional<z.ZodString>;
399
+ }, z.core.$strip>>;
400
+ }, z.core.$strip>;
401
+ export type DiscoveredWorktree = z.infer<typeof DiscoveredWorktree>;
402
+ export declare const CheckoutInfo: z.ZodObject<{
403
+ root: z.ZodString;
404
+ commonDir: z.ZodString;
405
+ repoIdentity: z.ZodString;
406
+ defaultBranch: z.ZodString;
407
+ }, z.core.$strip>;
408
+ export type CheckoutInfo = z.infer<typeof CheckoutInfo>;
409
+ export declare const ScannedRepository: z.ZodObject<{
410
+ root: z.ZodString;
411
+ commonDir: z.ZodString;
412
+ repoIdentity: z.ZodString;
413
+ defaultBranch: z.ZodString;
414
+ name: z.ZodString;
415
+ }, z.core.$strip>;
416
+ export type ScannedRepository = z.infer<typeof ScannedRepository>;
417
+ export declare const ProjectFolderScan: z.ZodObject<{
418
+ folder: z.ZodString;
419
+ repositories: z.ZodArray<z.ZodObject<{
420
+ root: z.ZodString;
421
+ commonDir: z.ZodString;
422
+ repoIdentity: z.ZodString;
423
+ defaultBranch: z.ZodString;
424
+ name: z.ZodString;
425
+ }, z.core.$strip>>;
426
+ }, z.core.$strip>;
427
+ export type ProjectFolderScan = z.infer<typeof ProjectFolderScan>;
428
+ export declare const ProjectSuggestion: z.ZodObject<{
429
+ rootPath: z.ZodString;
430
+ sessionCount: z.ZodNumber;
431
+ lastActivityAt: z.ZodString;
432
+ }, z.core.$strip>;
433
+ export type ProjectSuggestion = z.infer<typeof ProjectSuggestion>;
434
+ export declare const ProjectSuggestions: z.ZodObject<{
435
+ suggestions: z.ZodArray<z.ZodObject<{
436
+ rootPath: z.ZodString;
437
+ sessionCount: z.ZodNumber;
438
+ lastActivityAt: z.ZodString;
439
+ }, z.core.$strip>>;
440
+ }, z.core.$strip>;
441
+ export type ProjectSuggestions = z.infer<typeof ProjectSuggestions>;
442
+ export declare const DiffFile: z.ZodObject<{
443
+ path: z.ZodString;
444
+ oldPath: z.ZodNullable<z.ZodString>;
445
+ added: z.ZodNumber;
446
+ deleted: z.ZodNumber;
447
+ status: z.ZodEnum<{
448
+ added: "added";
449
+ binary: "binary";
450
+ deleted: "deleted";
451
+ modified: "modified";
452
+ renamed: "renamed";
453
+ untracked: "untracked";
454
+ }>;
455
+ }, z.core.$strip>;
456
+ export type DiffFile = z.infer<typeof DiffFile>;
457
+ export declare const DiffResult: z.ZodObject<{
458
+ base: z.ZodString;
459
+ files: z.ZodArray<z.ZodObject<{
460
+ path: z.ZodString;
461
+ oldPath: z.ZodNullable<z.ZodString>;
462
+ added: z.ZodNumber;
463
+ deleted: z.ZodNumber;
464
+ status: z.ZodEnum<{
465
+ added: "added";
466
+ binary: "binary";
467
+ deleted: "deleted";
468
+ modified: "modified";
469
+ renamed: "renamed";
470
+ untracked: "untracked";
471
+ }>;
472
+ }, z.core.$strip>>;
473
+ patch: z.ZodNullable<z.ZodString>;
474
+ }, z.core.$strip>;
475
+ export type DiffResult = z.infer<typeof DiffResult>;
476
+ export declare const FileEntry: z.ZodObject<{
477
+ name: z.ZodString;
478
+ path: z.ZodString;
479
+ kind: z.ZodEnum<{
480
+ dir: "dir";
481
+ file: "file";
482
+ symlink: "symlink";
483
+ }>;
484
+ size: z.ZodNullable<z.ZodNumber>;
485
+ }, z.core.$strip>;
486
+ export type FileEntry = z.infer<typeof FileEntry>;
487
+ export declare const ReconcileResult: z.ZodUnion<readonly [z.ZodObject<{
488
+ known: z.ZodLiteral<false>;
489
+ }, z.core.$strip>, z.ZodObject<{
490
+ known: z.ZodLiteral<true>;
491
+ sessionId: z.ZodNullable<z.ZodString>;
492
+ state: z.ZodEnum<{
493
+ accepted: "accepted";
494
+ failed: "failed";
495
+ started: "started";
496
+ workspace_ready: "workspace_ready";
497
+ }>;
498
+ runtime: z.ZodNullable<z.ZodEnum<{
499
+ failed: "failed";
500
+ idle: "idle";
501
+ interrupted: "interrupted";
502
+ running: "running";
503
+ starting: "starting";
504
+ stopped: "stopped";
505
+ waiting_input: "waiting_input";
506
+ }>>;
507
+ workspacePath: z.ZodNullable<z.ZodString>;
508
+ nativeHandle: z.ZodNullable<z.ZodObject<{
509
+ sessionId: z.ZodString;
510
+ sessionFile: z.ZodString;
511
+ }, z.core.$strip>>;
512
+ error: z.ZodNullable<z.ZodString>;
513
+ errorDetails: z.ZodDefault<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
514
+ }, z.core.$strip>]>;
515
+ export type ReconcileResult = z.infer<typeof ReconcileResult>;
516
+ export declare const DispatchStartResult: z.ZodObject<{
517
+ sessionId: z.ZodString;
518
+ workspacePath: z.ZodString;
519
+ nativeHandle: z.ZodNullable<z.ZodObject<{
520
+ sessionId: z.ZodString;
521
+ sessionFile: z.ZodString;
522
+ }, z.core.$strip>>;
523
+ reused: z.ZodBoolean;
524
+ promptError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
525
+ }, z.core.$strip>;
526
+ export type DispatchStartResult = z.infer<typeof DispatchStartResult>;
527
+ export declare const AnswerResult: z.ZodObject<{
528
+ status: z.ZodEnum<{
529
+ already_answered: "already_answered";
530
+ answered: "answered";
531
+ }>;
532
+ interaction: z.ZodObject<{
533
+ id: z.ZodString;
534
+ sessionId: z.ZodString;
535
+ revision: z.ZodNumber;
536
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
537
+ kind: z.ZodLiteral<"extension_ui">;
538
+ method: z.ZodEnum<{
539
+ confirm: "confirm";
540
+ editor: "editor";
541
+ input: "input";
542
+ select: "select";
543
+ }>;
544
+ piRequestIds: z.ZodArray<z.ZodString>;
545
+ }, z.core.$strip>, z.ZodObject<{
546
+ kind: z.ZodLiteral<"unsupported_custom">;
547
+ title: z.ZodNullable<z.ZodString>;
548
+ }, z.core.$strip>], "kind">;
549
+ adapterId: z.ZodNullable<z.ZodString>;
550
+ permission: z.ZodOptional<z.ZodObject<{
551
+ kind: z.ZodLiteral<"policy">;
552
+ decisionId: z.ZodString;
553
+ rootTaskId: z.ZodNullable<z.ZodString>;
554
+ ruleId: z.ZodString;
555
+ ruleRevision: z.ZodNumber;
556
+ fingerprint: z.ZodString;
557
+ }, z.core.$strict>>;
558
+ title: z.ZodString;
559
+ presentation: z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>;
560
+ state: z.ZodPreprocess<z.ZodEnum<{
561
+ canceled: "canceled";
562
+ expired: "expired";
563
+ pending: "pending";
564
+ resolved: "resolved";
565
+ unsupported: "unsupported";
566
+ }>, unknown>;
567
+ resolution: z.ZodNullable<z.ZodObject<{
568
+ by: z.ZodString;
569
+ summary: z.ZodString;
570
+ at: z.ZodString;
571
+ }, z.core.$strip>>;
572
+ createdAt: z.ZodString;
573
+ }, z.core.$strip>;
574
+ }, z.core.$strip>;
575
+ export type AnswerResult = z.infer<typeof AnswerResult>;
576
+ export declare const SnapshotResult: z.ZodObject<{
577
+ partial: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
578
+ id: z.ZodString;
579
+ sessionId: z.ZodString;
580
+ order: z.ZodNumber;
581
+ at: z.ZodString;
582
+ kind: z.ZodLiteral<"user">;
583
+ data: z.ZodObject<{
584
+ text: z.ZodString;
585
+ images: z.ZodOptional<z.ZodNumber>;
586
+ entryId: z.ZodOptional<z.ZodString>;
587
+ }, z.core.$strip>;
588
+ }, z.core.$strip>, z.ZodObject<{
589
+ id: z.ZodString;
590
+ sessionId: z.ZodString;
591
+ order: z.ZodNumber;
592
+ at: z.ZodString;
593
+ kind: z.ZodLiteral<"assistant">;
594
+ data: z.ZodObject<{
595
+ text: z.ZodString;
596
+ streaming: z.ZodOptional<z.ZodBoolean>;
597
+ }, z.core.$strip>;
598
+ }, z.core.$strip>, z.ZodObject<{
599
+ id: z.ZodString;
600
+ sessionId: z.ZodString;
601
+ order: z.ZodNumber;
602
+ at: z.ZodString;
603
+ kind: z.ZodLiteral<"thinking">;
604
+ data: z.ZodObject<{
605
+ text: z.ZodString;
606
+ }, z.core.$strip>;
607
+ }, z.core.$strip>, z.ZodObject<{
608
+ id: z.ZodString;
609
+ sessionId: z.ZodString;
610
+ order: z.ZodNumber;
611
+ at: z.ZodString;
612
+ kind: z.ZodLiteral<"tool">;
613
+ data: z.ZodObject<{
614
+ toolCallId: z.ZodString;
615
+ name: z.ZodString;
616
+ status: z.ZodEnum<{
617
+ error: "error";
618
+ ok: "ok";
619
+ running: "running";
620
+ }>;
621
+ args: z.ZodUnknown;
622
+ summary: z.ZodString;
623
+ output: z.ZodString;
624
+ startedAt: z.ZodString;
625
+ durationMs: z.ZodNullable<z.ZodNumber>;
626
+ card: z.ZodNullable<z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>>;
627
+ adapterId: z.ZodNullable<z.ZodString>;
628
+ adapterGeneration: z.ZodOptional<z.ZodString>;
629
+ }, z.core.$strip>;
630
+ }, z.core.$strip>, z.ZodObject<{
631
+ id: z.ZodString;
632
+ sessionId: z.ZodString;
633
+ order: z.ZodNumber;
634
+ at: z.ZodString;
635
+ kind: z.ZodLiteral<"notice">;
636
+ data: z.ZodObject<{
637
+ level: z.ZodEnum<{
638
+ error: "error";
639
+ info: "info";
640
+ warning: "warning";
641
+ }>;
642
+ text: z.ZodString;
643
+ customType: z.ZodOptional<z.ZodString>;
644
+ card: z.ZodOptional<z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>>;
645
+ adapterId: z.ZodOptional<z.ZodString>;
646
+ adapterGeneration: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strip>;
648
+ }, z.core.$strip>, z.ZodObject<{
649
+ id: z.ZodString;
650
+ sessionId: z.ZodString;
651
+ order: z.ZodNumber;
652
+ at: z.ZodString;
653
+ kind: z.ZodLiteral<"interaction">;
654
+ data: z.ZodObject<{
655
+ interactionId: z.ZodString;
656
+ }, z.core.$strip>;
657
+ }, z.core.$strip>, z.ZodObject<{
658
+ id: z.ZodString;
659
+ sessionId: z.ZodString;
660
+ order: z.ZodNumber;
661
+ at: z.ZodString;
662
+ kind: z.ZodLiteral<"subagent">;
663
+ data: z.ZodObject<{
664
+ runId: z.ZodString;
665
+ label: z.ZodString;
666
+ status: z.ZodString;
667
+ sessionFile: z.ZodNullable<z.ZodString>;
668
+ linkedSessionId: z.ZodNullable<z.ZodString>;
669
+ }, z.core.$strip>;
670
+ }, z.core.$strip>, z.ZodObject<{
671
+ id: z.ZodString;
672
+ sessionId: z.ZodString;
673
+ order: z.ZodNumber;
674
+ at: z.ZodString;
675
+ kind: z.ZodLiteral<"system">;
676
+ data: z.ZodObject<{
677
+ text: z.ZodString;
678
+ suggestion: z.ZodOptional<z.ZodBoolean>;
679
+ }, z.core.$strip>;
680
+ }, z.core.$strip>], "kind">>;
681
+ pendingInteractions: z.ZodArray<z.ZodObject<{
682
+ id: z.ZodString;
683
+ sessionId: z.ZodString;
684
+ revision: z.ZodNumber;
685
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
686
+ kind: z.ZodLiteral<"extension_ui">;
687
+ method: z.ZodEnum<{
688
+ confirm: "confirm";
689
+ editor: "editor";
690
+ input: "input";
691
+ select: "select";
692
+ }>;
693
+ piRequestIds: z.ZodArray<z.ZodString>;
694
+ }, z.core.$strip>, z.ZodObject<{
695
+ kind: z.ZodLiteral<"unsupported_custom">;
696
+ title: z.ZodNullable<z.ZodString>;
697
+ }, z.core.$strip>], "kind">;
698
+ adapterId: z.ZodNullable<z.ZodString>;
699
+ permission: z.ZodOptional<z.ZodObject<{
700
+ kind: z.ZodLiteral<"policy">;
701
+ decisionId: z.ZodString;
702
+ rootTaskId: z.ZodNullable<z.ZodString>;
703
+ ruleId: z.ZodString;
704
+ ruleRevision: z.ZodNumber;
705
+ fingerprint: z.ZodString;
706
+ }, z.core.$strict>>;
707
+ title: z.ZodString;
708
+ presentation: z.ZodType<import("./ui.js").UINode, unknown, z.core.$ZodTypeInternals<import("./ui.js").UINode, unknown>>;
709
+ state: z.ZodPreprocess<z.ZodEnum<{
710
+ canceled: "canceled";
711
+ expired: "expired";
712
+ pending: "pending";
713
+ resolved: "resolved";
714
+ unsupported: "unsupported";
715
+ }>, unknown>;
716
+ resolution: z.ZodNullable<z.ZodObject<{
717
+ by: z.ZodString;
718
+ summary: z.ZodString;
719
+ at: z.ZodString;
720
+ }, z.core.$strip>>;
721
+ createdAt: z.ZodString;
722
+ }, z.core.$strip>>;
723
+ }, z.core.$strip>;
724
+ export type SnapshotResult = z.infer<typeof SnapshotResult>;
725
+ export declare const ChecksResult: z.ZodObject<{
726
+ results: z.ZodArray<z.ZodObject<{
727
+ command: z.ZodString;
728
+ exitCode: z.ZodNullable<z.ZodNumber>;
729
+ outputTail: z.ZodString;
730
+ }, z.core.$strip>>;
731
+ }, z.core.$strip>;
732
+ export type ChecksResult = z.infer<typeof ChecksResult>;
733
+ export declare const Receipt: z.ZodUnion<readonly [z.ZodObject<{
734
+ commandId: z.ZodString;
735
+ ok: z.ZodLiteral<true>;
736
+ result: z.ZodUnknown;
737
+ }, z.core.$strip>, z.ZodObject<{
738
+ commandId: z.ZodString;
739
+ ok: z.ZodLiteral<false>;
740
+ error: z.ZodObject<{
741
+ code: z.ZodEnum<{
742
+ already_answered: "already_answered";
743
+ branch_invalid: "branch_invalid";
744
+ conflict: "conflict";
745
+ dependency_cycle: "dependency_cycle";
746
+ device_revoked: "device_revoked";
747
+ enrollment_expired: "enrollment_expired";
748
+ enrollment_used: "enrollment_used";
749
+ forbidden: "forbidden";
750
+ host_unreachable: "host_unreachable";
751
+ internal: "internal";
752
+ invalid_request: "invalid_request";
753
+ invalid_transition: "invalid_transition";
754
+ native_session_missing: "native_session_missing";
755
+ not_a_git_repo: "not_a_git_repo";
756
+ not_found: "not_found";
757
+ path_collision: "path_collision";
758
+ pi_incompatible: "pi_incompatible";
759
+ rate_limited: "rate_limited";
760
+ repo_mismatch: "repo_mismatch";
761
+ stale_control: "stale_control";
762
+ timeout: "timeout";
763
+ too_large: "too_large";
764
+ ui_tree_too_large: "ui_tree_too_large";
765
+ unauthorized: "unauthorized";
766
+ unsupported_capability: "unsupported_capability";
767
+ workspace_active_sessions: "workspace_active_sessions";
768
+ workspace_dirty: "workspace_dirty";
769
+ workspace_unmerged: "workspace_unmerged";
770
+ }>;
771
+ message: z.ZodString;
772
+ details: z.ZodOptional<z.ZodUnknown>;
773
+ }, z.core.$strip>;
774
+ }, z.core.$strip>]>;
775
+ export type Receipt = z.infer<typeof Receipt>;
776
+ /** Trusted host attestation is not part of the extension's global/local request envelope. */
777
+ export declare const HostAgentRequestFrame: z.ZodObject<{
778
+ type: z.ZodLiteral<"agent.request">;
779
+ requestId: z.ZodString;
780
+ sessionId: z.ZodString;
781
+ nativeSessionId: z.ZodString;
782
+ runtimeId: z.ZodString;
783
+ context: z.ZodObject<{
784
+ humanInputId: z.ZodNullable<z.ZodString>;
785
+ causalMessageId: z.ZodNullable<z.ZodString>;
786
+ }, z.core.$strict>;
787
+ toolCallId: z.ZodOptional<z.ZodString>;
788
+ receiptReplay: z.ZodOptional<z.ZodObject<{
789
+ requestHash: z.ZodString;
790
+ }, z.core.$strict>>;
791
+ deadlineAt: z.ZodOptional<z.ZodString>;
792
+ method: z.ZodEnum<{
793
+ "inbox.read": "inbox.read";
794
+ "message.send": "message.send";
795
+ "policy.cancel": "policy.cancel";
796
+ "policy.evaluate": "policy.evaluate";
797
+ "policy.status": "policy.status";
798
+ "receipt.peek": "receipt.peek";
799
+ "session.bind": "session.bind";
800
+ "task.create": "task.create";
801
+ }>;
802
+ args: z.ZodUnknown;
803
+ policyContext: z.ZodOptional<z.ZodObject<{
804
+ version: z.ZodLiteral<1>;
805
+ toolCallId: z.ZodString;
806
+ toolHash: z.ZodString;
807
+ boundary: z.ZodObject<{
808
+ cwd: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
809
+ workspaceRoot: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
810
+ cwdReal: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
811
+ workspaceRootReal: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
812
+ }, z.core.$strict>;
813
+ defaultBranch: z.ZodNullable<z.ZodString>;
814
+ safety: z.ZodObject<{
815
+ destructiveDelete: z.ZodBoolean;
816
+ forcePush: z.ZodBoolean;
817
+ defaultBranchPush: z.ZodBoolean;
818
+ uncertain: z.ZodBoolean;
819
+ reasons: z.ZodArray<z.ZodString>;
820
+ }, z.core.$strict>;
821
+ }, z.core.$strict>>;
822
+ }, z.core.$strict>;
823
+ export type HostAgentRequestFrame = z.infer<typeof HostAgentRequestFrame>;
824
+ /** Host -> coordinator frames. */
825
+ export declare const HostToCoordinator: z.ZodDiscriminatedUnion<[z.ZodObject<{
826
+ type: z.ZodLiteral<"hello">;
827
+ hostId: z.ZodString;
828
+ credential: z.ZodString;
829
+ name: z.ZodString;
830
+ agentVersion: z.ZodString;
831
+ piVersion: z.ZodNullable<z.ZodString>;
832
+ piCompatible: z.ZodBoolean;
833
+ platform: z.ZodEnum<{
834
+ darwin: "darwin";
835
+ linux: "linux";
836
+ }>;
837
+ capabilities: z.ZodNullable<z.ZodObject<{
838
+ prompt: z.ZodBoolean;
839
+ steer: z.ZodBoolean;
840
+ followUp: z.ZodBoolean;
841
+ abort: z.ZodBoolean;
842
+ resume: z.ZodBoolean;
843
+ rename: z.ZodBoolean;
844
+ importInactive: z.ZodBoolean;
845
+ extensionDialogs: z.ZodBoolean;
846
+ customUi: z.ZodBoolean;
847
+ widgetsText: z.ZodBoolean;
848
+ widgetsComponent: z.ZodBoolean;
849
+ tokenAccounting: z.ZodBoolean;
850
+ costAccounting: z.ZodBoolean;
851
+ terminal: z.ZodOptional<z.ZodBoolean>;
852
+ sessionControls: z.ZodOptional<z.ZodBoolean>;
853
+ treeNavigation: z.ZodOptional<z.ZodBoolean>;
854
+ agentRequests: z.ZodOptional<z.ZodBoolean>;
855
+ messageDelivery: z.ZodOptional<z.ZodBoolean>;
856
+ policies: z.ZodOptional<z.ZodBoolean>;
857
+ adapterDevelopment: z.ZodOptional<z.ZodBoolean>;
858
+ unsupported: z.ZodArray<z.ZodObject<{
859
+ capability: z.ZodString;
860
+ reason: z.ZodString;
861
+ }, z.core.$strip>>;
862
+ }, z.core.$strip>>;
863
+ github: z.ZodOptional<z.ZodObject<{
864
+ available: z.ZodBoolean;
865
+ reason: z.ZodNullable<z.ZodString>;
866
+ }, z.core.$strict>>;
867
+ protocolVersion: z.ZodNumber;
868
+ features: z.ZodOptional<z.ZodArray<z.ZodString>>;
869
+ }, z.core.$strip>, z.ZodObject<{
870
+ type: z.ZodLiteral<"agent.request">;
871
+ requestId: z.ZodString;
872
+ sessionId: z.ZodString;
873
+ nativeSessionId: z.ZodString;
874
+ runtimeId: z.ZodString;
875
+ context: z.ZodObject<{
876
+ humanInputId: z.ZodNullable<z.ZodString>;
877
+ causalMessageId: z.ZodNullable<z.ZodString>;
878
+ }, z.core.$strict>;
879
+ toolCallId: z.ZodOptional<z.ZodString>;
880
+ receiptReplay: z.ZodOptional<z.ZodObject<{
881
+ requestHash: z.ZodString;
882
+ }, z.core.$strict>>;
883
+ deadlineAt: z.ZodOptional<z.ZodString>;
884
+ method: z.ZodEnum<{
885
+ "inbox.read": "inbox.read";
886
+ "message.send": "message.send";
887
+ "policy.cancel": "policy.cancel";
888
+ "policy.evaluate": "policy.evaluate";
889
+ "policy.status": "policy.status";
890
+ "receipt.peek": "receipt.peek";
891
+ "session.bind": "session.bind";
892
+ "task.create": "task.create";
893
+ }>;
894
+ args: z.ZodUnknown;
895
+ policyContext: z.ZodOptional<z.ZodObject<{
896
+ version: z.ZodLiteral<1>;
897
+ toolCallId: z.ZodString;
898
+ toolHash: z.ZodString;
899
+ boundary: z.ZodObject<{
900
+ cwd: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
901
+ workspaceRoot: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
902
+ cwdReal: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
903
+ workspaceRootReal: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
904
+ }, z.core.$strict>;
905
+ defaultBranch: z.ZodNullable<z.ZodString>;
906
+ safety: z.ZodObject<{
907
+ destructiveDelete: z.ZodBoolean;
908
+ forcePush: z.ZodBoolean;
909
+ defaultBranchPush: z.ZodBoolean;
910
+ uncertain: z.ZodBoolean;
911
+ reasons: z.ZodArray<z.ZodString>;
912
+ }, z.core.$strict>;
913
+ }, z.core.$strict>>;
914
+ }, z.core.$strict>, z.ZodObject<{
915
+ type: z.ZodLiteral<"event">;
916
+ hostSeq: z.ZodNumber;
917
+ event: z.ZodObject<{
918
+ hostId: z.ZodOptional<z.ZodString>;
919
+ sessionId: z.ZodOptional<z.ZodString>;
920
+ taskId: z.ZodOptional<z.ZodString>;
921
+ projectId: z.ZodOptional<z.ZodString>;
922
+ eventId: z.ZodString;
923
+ type: z.ZodPreprocess<z.ZodEnum<{
924
+ "adapters.updated": "adapters.updated";
925
+ diagnostic: "diagnostic";
926
+ "interaction.updated": "interaction.updated";
927
+ "panel.updated": "panel.updated";
928
+ "session.updated": "session.updated";
929
+ "transcript.item": "transcript.item";
930
+ "workspace.deleted": "workspace.deleted";
931
+ "workspace.updated": "workspace.updated";
932
+ }>, unknown>;
933
+ at: z.ZodString;
934
+ data: z.ZodUnknown;
935
+ }, z.core.$strip>;
936
+ }, z.core.$strip>, z.ZodObject<{
937
+ type: z.ZodLiteral<"stream">;
938
+ delta: z.ZodObject<{
939
+ sessionId: z.ZodString;
940
+ itemId: z.ZodString;
941
+ kind: z.ZodEnum<{
942
+ text: "text";
943
+ thinking: "thinking";
944
+ tool_args: "tool_args";
945
+ tool_output: "tool_output";
946
+ }>;
947
+ delta: z.ZodString;
948
+ order: z.ZodOptional<z.ZodNumber>;
949
+ }, z.core.$strip>;
950
+ }, z.core.$strip>, z.ZodObject<{
951
+ type: z.ZodLiteral<"receipt">;
952
+ receipt: z.ZodUnion<readonly [z.ZodObject<{
953
+ commandId: z.ZodString;
954
+ ok: z.ZodLiteral<true>;
955
+ result: z.ZodUnknown;
956
+ }, z.core.$strip>, z.ZodObject<{
957
+ commandId: z.ZodString;
958
+ ok: z.ZodLiteral<false>;
959
+ error: z.ZodObject<{
960
+ code: z.ZodEnum<{
961
+ already_answered: "already_answered";
962
+ branch_invalid: "branch_invalid";
963
+ conflict: "conflict";
964
+ dependency_cycle: "dependency_cycle";
965
+ device_revoked: "device_revoked";
966
+ enrollment_expired: "enrollment_expired";
967
+ enrollment_used: "enrollment_used";
968
+ forbidden: "forbidden";
969
+ host_unreachable: "host_unreachable";
970
+ internal: "internal";
971
+ invalid_request: "invalid_request";
972
+ invalid_transition: "invalid_transition";
973
+ native_session_missing: "native_session_missing";
974
+ not_a_git_repo: "not_a_git_repo";
975
+ not_found: "not_found";
976
+ path_collision: "path_collision";
977
+ pi_incompatible: "pi_incompatible";
978
+ rate_limited: "rate_limited";
979
+ repo_mismatch: "repo_mismatch";
980
+ stale_control: "stale_control";
981
+ timeout: "timeout";
982
+ too_large: "too_large";
983
+ ui_tree_too_large: "ui_tree_too_large";
984
+ unauthorized: "unauthorized";
985
+ unsupported_capability: "unsupported_capability";
986
+ workspace_active_sessions: "workspace_active_sessions";
987
+ workspace_dirty: "workspace_dirty";
988
+ workspace_unmerged: "workspace_unmerged";
989
+ }>;
990
+ message: z.ZodString;
991
+ details: z.ZodOptional<z.ZodUnknown>;
992
+ }, z.core.$strip>;
993
+ }, z.core.$strip>]>;
994
+ }, z.core.$strip>, z.ZodObject<{
995
+ type: z.ZodLiteral<"pong">;
996
+ }, z.core.$strip>, z.ZodObject<{
997
+ type: z.ZodLiteral<"usage">;
998
+ usage: z.ZodArray<z.ZodObject<{
999
+ provider: z.ZodEnum<{
1000
+ anthropic: "anthropic";
1001
+ "openai-codex": "openai-codex";
1002
+ }>;
1003
+ status: z.ZodEnum<{
1004
+ available: "available";
1005
+ error: "error";
1006
+ expired: "expired";
1007
+ rejected: "rejected";
1008
+ }>;
1009
+ message: z.ZodNullable<z.ZodString>;
1010
+ windows: z.ZodArray<z.ZodObject<{
1011
+ id: z.ZodEnum<{
1012
+ five_hour: "five_hour";
1013
+ weekly: "weekly";
1014
+ }>;
1015
+ usedPct: z.ZodNumber;
1016
+ resetsAt: z.ZodNullable<z.ZodString>;
1017
+ }, z.core.$strip>>;
1018
+ fetchedAt: z.ZodString;
1019
+ }, z.core.$strip>>;
1020
+ }, z.core.$strip>, z.ZodObject<{
1021
+ type: z.ZodLiteral<"term">;
1022
+ streamId: z.ZodString;
1023
+ msg: z.ZodDiscriminatedUnion<[z.ZodObject<{
1024
+ t: z.ZodLiteral<"out">;
1025
+ d: z.ZodString;
1026
+ }, z.core.$strip>, z.ZodObject<{
1027
+ t: z.ZodLiteral<"closed">;
1028
+ reason: z.ZodString;
1029
+ }, z.core.$strip>, z.ZodObject<{
1030
+ t: z.ZodLiteral<"size">;
1031
+ cols: z.ZodNumber;
1032
+ rows: z.ZodNumber;
1033
+ owner: z.ZodBoolean;
1034
+ }, z.core.$strip>], "t">;
1035
+ }, z.core.$strip>], "type">;
1036
+ export type HostToCoordinator = z.infer<typeof HostToCoordinator>;
1037
+ /** Coordinator -> host frames. */
1038
+ export declare const CoordinatorToHost: z.ZodDiscriminatedUnion<[z.ZodObject<{
1039
+ type: z.ZodLiteral<"welcome">;
1040
+ coordinatorVersion: z.ZodString;
1041
+ ackedHostSeq: z.ZodNumber;
1042
+ features: z.ZodOptional<z.ZodArray<z.ZodString>>;
1043
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1044
+ type: z.ZodLiteral<"agent.result">;
1045
+ requestId: z.ZodString;
1046
+ runtimeId: z.ZodString;
1047
+ ok: z.ZodLiteral<true>;
1048
+ result: z.ZodUnknown;
1049
+ }, z.core.$strip>, z.ZodObject<{
1050
+ type: z.ZodLiteral<"agent.result">;
1051
+ requestId: z.ZodString;
1052
+ runtimeId: z.ZodString;
1053
+ ok: z.ZodLiteral<false>;
1054
+ error: z.ZodObject<{
1055
+ code: z.ZodEnum<{
1056
+ already_answered: "already_answered";
1057
+ branch_invalid: "branch_invalid";
1058
+ conflict: "conflict";
1059
+ dependency_cycle: "dependency_cycle";
1060
+ device_revoked: "device_revoked";
1061
+ enrollment_expired: "enrollment_expired";
1062
+ enrollment_used: "enrollment_used";
1063
+ forbidden: "forbidden";
1064
+ host_unreachable: "host_unreachable";
1065
+ internal: "internal";
1066
+ invalid_request: "invalid_request";
1067
+ invalid_transition: "invalid_transition";
1068
+ native_session_missing: "native_session_missing";
1069
+ not_a_git_repo: "not_a_git_repo";
1070
+ not_found: "not_found";
1071
+ path_collision: "path_collision";
1072
+ pi_incompatible: "pi_incompatible";
1073
+ rate_limited: "rate_limited";
1074
+ repo_mismatch: "repo_mismatch";
1075
+ stale_control: "stale_control";
1076
+ timeout: "timeout";
1077
+ too_large: "too_large";
1078
+ ui_tree_too_large: "ui_tree_too_large";
1079
+ unauthorized: "unauthorized";
1080
+ unsupported_capability: "unsupported_capability";
1081
+ workspace_active_sessions: "workspace_active_sessions";
1082
+ workspace_dirty: "workspace_dirty";
1083
+ workspace_unmerged: "workspace_unmerged";
1084
+ }>;
1085
+ message: z.ZodString;
1086
+ details: z.ZodOptional<z.ZodUnknown>;
1087
+ }, z.core.$strip>;
1088
+ }, z.core.$strip>], "ok">, z.ZodObject<{
1089
+ type: z.ZodLiteral<"ack">;
1090
+ hostSeq: z.ZodNumber;
1091
+ }, z.core.$strip>, z.ZodObject<{
1092
+ type: z.ZodLiteral<"command">;
1093
+ commandId: z.ZodString;
1094
+ command: z.ZodDiscriminatedUnion<[z.ZodObject<{
1095
+ type: z.ZodLiteral<"session.start">;
1096
+ sessionId: z.ZodString;
1097
+ title: z.ZodString;
1098
+ workspacePath: z.ZodString;
1099
+ projectId: z.ZodNullable<z.ZodString>;
1100
+ profile: z.ZodObject<{
1101
+ id: z.ZodString;
1102
+ name: z.ZodString;
1103
+ provider: z.ZodNullable<z.ZodString>;
1104
+ model: z.ZodNullable<z.ZodString>;
1105
+ thinking: z.ZodNullable<z.ZodEnum<{
1106
+ high: "high";
1107
+ low: "low";
1108
+ max: "max";
1109
+ medium: "medium";
1110
+ minimal: "minimal";
1111
+ off: "off";
1112
+ xhigh: "xhigh";
1113
+ }>>;
1114
+ projectTrust: z.ZodEnum<{
1115
+ approve: "approve";
1116
+ ask: "ask";
1117
+ ignore: "ignore";
1118
+ }>;
1119
+ extraArgs: z.ZodArray<z.ZodString>;
1120
+ resources: z.ZodOptional<z.ZodEnum<{
1121
+ all: "all";
1122
+ vanilla: "vanilla";
1123
+ }>>;
1124
+ }, z.core.$strip>;
1125
+ nativeHandle: z.ZodNullable<z.ZodObject<{
1126
+ sessionId: z.ZodString;
1127
+ sessionFile: z.ZodString;
1128
+ }, z.core.$strip>>;
1129
+ initialPrompt: z.ZodNullable<z.ZodString>;
1130
+ dispatchKey: z.ZodNullable<z.ZodString>;
1131
+ controlRevision: z.ZodNumber;
1132
+ controlMode: z.ZodEnum<{
1133
+ automation: "automation";
1134
+ human: "human";
1135
+ }>;
1136
+ origin: z.ZodEnum<{
1137
+ automation: "automation";
1138
+ human: "human";
1139
+ }>;
1140
+ readOnly: z.ZodDefault<z.ZodBoolean>;
1141
+ policyRequired: z.ZodOptional<z.ZodBoolean>;
1142
+ }, z.core.$strip>, z.ZodObject<{
1143
+ type: z.ZodLiteral<"session.deliverMessage">;
1144
+ sessionId: z.ZodString;
1145
+ messageId: z.ZodString;
1146
+ payload: z.ZodObject<{
1147
+ deliveryId: z.ZodString;
1148
+ kind: z.ZodEnum<{
1149
+ completion: "completion";
1150
+ message: "message";
1151
+ }>;
1152
+ text: z.ZodString;
1153
+ }, z.core.$strip>;
1154
+ mode: z.ZodEnum<{
1155
+ queue: "queue";
1156
+ steer: "steer";
1157
+ }>;
1158
+ holdUntil: z.ZodString;
1159
+ }, z.core.$strip>, z.ZodObject<{
1160
+ sessionId: z.ZodString;
1161
+ nativeSessionId: z.ZodString;
1162
+ runtimeId: z.ZodString;
1163
+ sampleId: z.ZodString;
1164
+ tool: z.ZodObject<{
1165
+ name: z.ZodString;
1166
+ args: z.ZodCustom<Record<string, import("./policies.js").JsonValue>, Record<string, import("./policies.js").JsonValue>>;
1167
+ }, z.core.$strict>;
1168
+ type: z.ZodLiteral<"session.classifyPolicySample">;
1169
+ }, z.core.$strict>, z.ZodObject<{
1170
+ type: z.ZodLiteral<"session.messageStatus">;
1171
+ sessionId: z.ZodString;
1172
+ messageIds: z.ZodArray<z.ZodString>;
1173
+ }, z.core.$strip>, z.ZodObject<{
1174
+ type: z.ZodLiteral<"session.prompt">;
1175
+ sessionId: z.ZodString;
1176
+ text: z.ZodString;
1177
+ images: z.ZodDefault<z.ZodArray<z.ZodObject<{
1178
+ mimeType: z.ZodString;
1179
+ data: z.ZodString;
1180
+ }, z.core.$strip>>>;
1181
+ mode: z.ZodEnum<{
1182
+ followUp: "followUp";
1183
+ prompt: "prompt";
1184
+ steer: "steer";
1185
+ }>;
1186
+ origin: z.ZodEnum<{
1187
+ automation: "automation";
1188
+ human: "human";
1189
+ }>;
1190
+ controlRevision: z.ZodNumber;
1191
+ }, z.core.$strip>, z.ZodObject<{
1192
+ type: z.ZodLiteral<"session.abort">;
1193
+ sessionId: z.ZodString;
1194
+ clearQueue: z.ZodBoolean;
1195
+ }, z.core.$strip>, z.ZodObject<{
1196
+ type: z.ZodLiteral<"session.stop">;
1197
+ sessionId: z.ZodString;
1198
+ }, z.core.$strip>, z.ZodObject<{
1199
+ type: z.ZodLiteral<"session.answer">;
1200
+ sessionId: z.ZodString;
1201
+ interactionId: z.ZodString;
1202
+ revision: z.ZodNumber;
1203
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
1204
+ kind: z.ZodLiteral<"form">;
1205
+ values: z.ZodRecord<z.ZodString, z.ZodType<import("./ui.js").FormValue, unknown, z.core.$ZodTypeInternals<import("./ui.js").FormValue, unknown>>>;
1206
+ }, z.core.$strip>, z.ZodObject<{
1207
+ kind: z.ZodLiteral<"confirm">;
1208
+ confirmed: z.ZodBoolean;
1209
+ }, z.core.$strip>, z.ZodObject<{
1210
+ kind: z.ZodLiteral<"action">;
1211
+ actionId: z.ZodString;
1212
+ }, z.core.$strip>, z.ZodObject<{
1213
+ kind: z.ZodLiteral<"cancel">;
1214
+ }, z.core.$strip>], "kind">;
1215
+ deviceId: z.ZodString;
1216
+ }, z.core.$strip>, z.ZodObject<{
1217
+ type: z.ZodLiteral<"session.adapterAction">;
1218
+ sessionId: z.ZodString;
1219
+ generation: z.ZodOptional<z.ZodString>;
1220
+ adapterId: z.ZodString;
1221
+ actionId: z.ZodString;
1222
+ payload: z.ZodUnknown;
1223
+ }, z.core.$strip>, z.ZodObject<{
1224
+ type: z.ZodLiteral<"session.setControl">;
1225
+ sessionId: z.ZodString;
1226
+ controlRevision: z.ZodNumber;
1227
+ mode: z.ZodEnum<{
1228
+ automation: "automation";
1229
+ human: "human";
1230
+ }>;
1231
+ }, z.core.$strip>, z.ZodObject<{
1232
+ type: z.ZodLiteral<"session.rename">;
1233
+ sessionId: z.ZodString;
1234
+ title: z.ZodString;
1235
+ }, z.core.$strip>, z.ZodObject<{
1236
+ type: z.ZodLiteral<"session.importable">;
1237
+ }, z.core.$strip>, z.ZodObject<{
1238
+ type: z.ZodLiteral<"session.readNative">;
1239
+ sessionFile: z.ZodString;
1240
+ }, z.core.$strip>, z.ZodObject<{
1241
+ type: z.ZodLiteral<"session.snapshot">;
1242
+ sessionId: z.ZodString;
1243
+ }, z.core.$strip>, z.ZodObject<{
1244
+ type: z.ZodLiteral<"session.models">;
1245
+ sessionId: z.ZodString;
1246
+ }, z.core.$strip>, z.ZodObject<{
1247
+ type: z.ZodLiteral<"session.commands">;
1248
+ sessionId: z.ZodString;
1249
+ }, z.core.$strip>, z.ZodObject<{
1250
+ type: z.ZodLiteral<"session.complete">;
1251
+ sessionId: z.ZodString;
1252
+ text: z.ZodString;
1253
+ }, z.core.$strip>, z.ZodObject<{
1254
+ type: z.ZodLiteral<"session.tree">;
1255
+ sessionId: z.ZodString;
1256
+ }, z.core.$strip>, z.ZodObject<{
1257
+ type: z.ZodLiteral<"session.branch">;
1258
+ sessionId: z.ZodString;
1259
+ entryId: z.ZodNullable<z.ZodString>;
1260
+ fork: z.ZodBoolean;
1261
+ }, z.core.$strip>, z.ZodObject<{
1262
+ type: z.ZodLiteral<"session.navigate">;
1263
+ sessionId: z.ZodString;
1264
+ entryId: z.ZodString;
1265
+ summarize: z.ZodBoolean;
1266
+ instructions: z.ZodNullable<z.ZodString>;
1267
+ }, z.core.$strip>, z.ZodObject<{
1268
+ type: z.ZodLiteral<"session.reload">;
1269
+ sessionId: z.ZodString;
1270
+ }, z.core.$strip>, z.ZodObject<{
1271
+ type: z.ZodLiteral<"session.adapters">;
1272
+ sessionId: z.ZodString;
1273
+ }, z.core.$strip>, z.ZodObject<{
1274
+ type: z.ZodLiteral<"session.reloadAdapters">;
1275
+ sessionId: z.ZodString;
1276
+ }, z.core.$strip>, z.ZodObject<{
1277
+ type: z.ZodLiteral<"session.export">;
1278
+ sessionId: z.ZodString;
1279
+ }, z.core.$strip>, z.ZodObject<{
1280
+ type: z.ZodLiteral<"session.setModel">;
1281
+ sessionId: z.ZodString;
1282
+ provider: z.ZodString;
1283
+ modelId: z.ZodString;
1284
+ }, z.core.$strip>, z.ZodObject<{
1285
+ type: z.ZodLiteral<"session.setThinking">;
1286
+ sessionId: z.ZodString;
1287
+ level: z.ZodEnum<{
1288
+ high: "high";
1289
+ low: "low";
1290
+ max: "max";
1291
+ medium: "medium";
1292
+ minimal: "minimal";
1293
+ off: "off";
1294
+ xhigh: "xhigh";
1295
+ }>;
1296
+ }, z.core.$strip>, z.ZodObject<{
1297
+ type: z.ZodLiteral<"session.compact">;
1298
+ sessionId: z.ZodString;
1299
+ instructions: z.ZodNullable<z.ZodString>;
1300
+ }, z.core.$strip>, z.ZodObject<{
1301
+ type: z.ZodLiteral<"checkout.inspect">;
1302
+ path: z.ZodString;
1303
+ }, z.core.$strip>, z.ZodObject<{
1304
+ type: z.ZodLiteral<"projects.scan">;
1305
+ folder: z.ZodString;
1306
+ }, z.core.$strip>, z.ZodObject<{
1307
+ type: z.ZodLiteral<"projects.suggest">;
1308
+ days: z.ZodDefault<z.ZodNumber>;
1309
+ }, z.core.$strip>, z.ZodObject<{
1310
+ type: z.ZodLiteral<"workspace.discover">;
1311
+ checkoutPath: z.ZodString;
1312
+ worktreeDir: z.ZodDefault<z.ZodString>;
1313
+ }, z.core.$strip>, z.ZodObject<{
1314
+ type: z.ZodLiteral<"workspace.create">;
1315
+ checkoutPath: z.ZodString;
1316
+ branch: z.ZodString;
1317
+ base: z.ZodString;
1318
+ setupCommand: z.ZodNullable<z.ZodString>;
1319
+ worktreeDir: z.ZodDefault<z.ZodString>;
1320
+ }, z.core.$strip>, z.ZodObject<{
1321
+ type: z.ZodLiteral<"workspace.status">;
1322
+ path: z.ZodString;
1323
+ base: z.ZodNullable<z.ZodString>;
1324
+ }, z.core.$strip>, z.ZodObject<{
1325
+ type: z.ZodLiteral<"workspace.remove">;
1326
+ path: z.ZodString;
1327
+ checkoutPath: z.ZodString;
1328
+ base: z.ZodNullable<z.ZodString>;
1329
+ force: z.ZodObject<{
1330
+ dirty: z.ZodBoolean;
1331
+ unmerged: z.ZodBoolean;
1332
+ }, z.core.$strip>;
1333
+ deleteBranch: z.ZodOptional<z.ZodBoolean>;
1334
+ }, z.core.$strip>, z.ZodObject<{
1335
+ type: z.ZodLiteral<"workspace.diff">;
1336
+ path: z.ZodString;
1337
+ base: z.ZodNullable<z.ZodString>;
1338
+ file: z.ZodNullable<z.ZodString>;
1339
+ }, z.core.$strip>, z.ZodObject<{
1340
+ type: z.ZodLiteral<"workspace.files">;
1341
+ path: z.ZodString;
1342
+ dir: z.ZodString;
1343
+ }, z.core.$strip>, z.ZodObject<{
1344
+ type: z.ZodLiteral<"workspace.readFile">;
1345
+ path: z.ZodString;
1346
+ file: z.ZodString;
1347
+ }, z.core.$strip>, z.ZodObject<{
1348
+ path: z.ZodString;
1349
+ type: z.ZodLiteral<"workspace.prView">;
1350
+ }, z.core.$strict>, z.ZodObject<{
1351
+ path: z.ZodString;
1352
+ repository: z.ZodString;
1353
+ number: z.ZodNumber;
1354
+ expectedHeadOid: z.ZodString;
1355
+ type: z.ZodLiteral<"workspace.prFailedLogs">;
1356
+ }, z.core.$strict>, z.ZodObject<{
1357
+ path: z.ZodString;
1358
+ repository: z.ZodString;
1359
+ number: z.ZodNumber;
1360
+ expectedHeadOid: z.ZodString;
1361
+ expectedPullRequestNodeId: z.ZodString;
1362
+ type: z.ZodLiteral<"workspace.prMerge">;
1363
+ }, z.core.$strict>, z.ZodObject<{
1364
+ owner: z.ZodString;
1365
+ repositories: z.ZodNullable<z.ZodArray<z.ZodString>>;
1366
+ board: z.ZodNullable<z.ZodObject<{
1367
+ projectNumber: z.ZodNumber;
1368
+ statusField: z.ZodString;
1369
+ }, z.core.$strip>>;
1370
+ type: z.ZodLiteral<"tracker.sync">;
1371
+ }, z.core.$strip>, z.ZodObject<{
1372
+ checkoutPath: z.ZodString;
1373
+ branch: z.ZodString;
1374
+ type: z.ZodLiteral<"tracker.prepareBranch">;
1375
+ }, z.core.$strip>, z.ZodObject<{
1376
+ checkoutPath: z.ZodString;
1377
+ repository: z.ZodString;
1378
+ number: z.ZodNumber;
1379
+ branch: z.ZodString;
1380
+ base: z.ZodString;
1381
+ type: z.ZodLiteral<"tracker.startIssue">;
1382
+ }, z.core.$strip>, z.ZodObject<{
1383
+ projectId: z.ZodString;
1384
+ projectItemId: z.ZodString;
1385
+ fieldId: z.ZodString;
1386
+ statusField: z.ZodString;
1387
+ optionId: z.ZodString;
1388
+ expectedOptionId: z.ZodNullable<z.ZodString>;
1389
+ login: z.ZodString;
1390
+ allowShared: z.ZodBoolean;
1391
+ type: z.ZodLiteral<"tracker.setStatus">;
1392
+ }, z.core.$strip>, z.ZodObject<{
1393
+ type: z.ZodLiteral<"dispatch.start">;
1394
+ dispatchKey: z.ZodString;
1395
+ runId: z.ZodString;
1396
+ taskId: z.ZodString;
1397
+ sessionId: z.ZodString;
1398
+ projectId: z.ZodString;
1399
+ title: z.ZodString;
1400
+ workspace: z.ZodUnion<readonly [z.ZodObject<{
1401
+ path: z.ZodString;
1402
+ }, z.core.$strip>, z.ZodObject<{
1403
+ createFrom: z.ZodObject<{
1404
+ checkoutPath: z.ZodString;
1405
+ branch: z.ZodString;
1406
+ base: z.ZodString;
1407
+ setupCommand: z.ZodNullable<z.ZodString>;
1408
+ worktreeDir: z.ZodDefault<z.ZodString>;
1409
+ }, z.core.$strip>;
1410
+ }, z.core.$strip>]>;
1411
+ nativeHandle: z.ZodNullable<z.ZodObject<{
1412
+ sessionId: z.ZodString;
1413
+ sessionFile: z.ZodString;
1414
+ }, z.core.$strip>>;
1415
+ profile: z.ZodObject<{
1416
+ id: z.ZodString;
1417
+ name: z.ZodString;
1418
+ provider: z.ZodNullable<z.ZodString>;
1419
+ model: z.ZodNullable<z.ZodString>;
1420
+ thinking: z.ZodNullable<z.ZodEnum<{
1421
+ high: "high";
1422
+ low: "low";
1423
+ max: "max";
1424
+ medium: "medium";
1425
+ minimal: "minimal";
1426
+ off: "off";
1427
+ xhigh: "xhigh";
1428
+ }>>;
1429
+ projectTrust: z.ZodEnum<{
1430
+ approve: "approve";
1431
+ ask: "ask";
1432
+ ignore: "ignore";
1433
+ }>;
1434
+ extraArgs: z.ZodArray<z.ZodString>;
1435
+ resources: z.ZodOptional<z.ZodEnum<{
1436
+ all: "all";
1437
+ vanilla: "vanilla";
1438
+ }>>;
1439
+ }, z.core.$strip>;
1440
+ prompt: z.ZodString;
1441
+ controlRevision: z.ZodNumber;
1442
+ controlMode: z.ZodDefault<z.ZodEnum<{
1443
+ automation: "automation";
1444
+ human: "human";
1445
+ }>>;
1446
+ policyRequired: z.ZodOptional<z.ZodBoolean>;
1447
+ }, z.core.$strip>, z.ZodObject<{
1448
+ type: z.ZodLiteral<"dispatch.reconcile">;
1449
+ dispatchKey: z.ZodString;
1450
+ }, z.core.$strip>, z.ZodObject<{
1451
+ type: z.ZodLiteral<"checks.run">;
1452
+ sessionId: z.ZodString;
1453
+ path: z.ZodString;
1454
+ commands: z.ZodArray<z.ZodString>;
1455
+ }, z.core.$strip>], "type">;
1456
+ }, z.core.$strip>, z.ZodObject<{
1457
+ type: z.ZodLiteral<"ping">;
1458
+ }, z.core.$strip>, z.ZodObject<{
1459
+ type: z.ZodLiteral<"reject">;
1460
+ error: z.ZodObject<{
1461
+ code: z.ZodEnum<{
1462
+ already_answered: "already_answered";
1463
+ branch_invalid: "branch_invalid";
1464
+ conflict: "conflict";
1465
+ dependency_cycle: "dependency_cycle";
1466
+ device_revoked: "device_revoked";
1467
+ enrollment_expired: "enrollment_expired";
1468
+ enrollment_used: "enrollment_used";
1469
+ forbidden: "forbidden";
1470
+ host_unreachable: "host_unreachable";
1471
+ internal: "internal";
1472
+ invalid_request: "invalid_request";
1473
+ invalid_transition: "invalid_transition";
1474
+ native_session_missing: "native_session_missing";
1475
+ not_a_git_repo: "not_a_git_repo";
1476
+ not_found: "not_found";
1477
+ path_collision: "path_collision";
1478
+ pi_incompatible: "pi_incompatible";
1479
+ rate_limited: "rate_limited";
1480
+ repo_mismatch: "repo_mismatch";
1481
+ stale_control: "stale_control";
1482
+ timeout: "timeout";
1483
+ too_large: "too_large";
1484
+ ui_tree_too_large: "ui_tree_too_large";
1485
+ unauthorized: "unauthorized";
1486
+ unsupported_capability: "unsupported_capability";
1487
+ workspace_active_sessions: "workspace_active_sessions";
1488
+ workspace_dirty: "workspace_dirty";
1489
+ workspace_unmerged: "workspace_unmerged";
1490
+ }>;
1491
+ message: z.ZodString;
1492
+ details: z.ZodOptional<z.ZodUnknown>;
1493
+ }, z.core.$strip>;
1494
+ }, z.core.$strip>, z.ZodObject<{
1495
+ type: z.ZodLiteral<"term">;
1496
+ streamId: z.ZodString;
1497
+ msg: z.ZodDiscriminatedUnion<[z.ZodObject<{
1498
+ t: z.ZodLiteral<"open">;
1499
+ sessionId: z.ZodString;
1500
+ cols: z.ZodNumber;
1501
+ rows: z.ZodNumber;
1502
+ passive: z.ZodOptional<z.ZodBoolean>;
1503
+ }, z.core.$strip>, z.ZodObject<{
1504
+ t: z.ZodLiteral<"claim">;
1505
+ }, z.core.$strip>, z.ZodObject<{
1506
+ t: z.ZodLiteral<"in">;
1507
+ d: z.ZodString;
1508
+ }, z.core.$strip>, z.ZodObject<{
1509
+ t: z.ZodLiteral<"resize">;
1510
+ cols: z.ZodNumber;
1511
+ rows: z.ZodNumber;
1512
+ }, z.core.$strip>, z.ZodObject<{
1513
+ t: z.ZodLiteral<"close">;
1514
+ }, z.core.$strip>], "t">;
1515
+ }, z.core.$strip>], "type">;
1516
+ export type CoordinatorToHost = z.infer<typeof CoordinatorToHost>;
1517
+ //# sourceMappingURL=host-wire.d.ts.map