@spencerboucher/switchyard-client 0.14.0 → 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/dist/index.js +1498 -1333
- package/dist/types/protocol/api.d.ts +38 -0
- package/dist/types/protocol/client-wire.d.ts +76 -0
- package/dist/types/protocol/entities.d.ts +39 -0
- package/dist/types/protocol/events.d.ts +38 -0
- package/dist/types/protocol/host-wire.d.ts +61 -0
- package/dist/types/protocol/ids.d.ts +1 -1
- package/dist/types/protocol/index.d.ts +1 -0
- package/dist/types/protocol/trackers.d.ts +244 -0
- package/dist/types/protocol/views.d.ts +3 -1
- package/package.json +5 -1
|
@@ -71,6 +71,8 @@ export declare const UpdateProjectRequest: z.ZodObject<{
|
|
|
71
71
|
single_writer: "single_writer";
|
|
72
72
|
}>>;
|
|
73
73
|
worktreeDir: z.ZodOptional<z.ZodString>;
|
|
74
|
+
ensureSessions: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
removeLanded: z.ZodOptional<z.ZodBoolean>;
|
|
74
76
|
}, z.core.$strip>;
|
|
75
77
|
export declare const AddCheckoutRequest: z.ZodObject<{
|
|
76
78
|
hostId: z.ZodString;
|
|
@@ -624,6 +626,9 @@ export declare const BranchResult: z.ZodObject<{
|
|
|
624
626
|
lastAssistantText: z.ZodNullable<z.ZodString>;
|
|
625
627
|
createdAt: z.ZodString;
|
|
626
628
|
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
629
|
+
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
630
|
+
client: z.ZodNullable<z.ZodString>;
|
|
631
|
+
}, z.core.$strip>>>;
|
|
627
632
|
unreadSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
628
633
|
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
629
634
|
transcriptEpoch: z.ZodOptional<z.ZodNumber>;
|
|
@@ -894,6 +899,7 @@ export declare const UpdateTaskRequest: z.ZodObject<{
|
|
|
894
899
|
githubIssueUrl: z.ZodOptional<z.ZodNever>;
|
|
895
900
|
githubIssue: z.ZodOptional<z.ZodNever>;
|
|
896
901
|
launchPrompt: z.ZodOptional<z.ZodNever>;
|
|
902
|
+
tracker: z.ZodOptional<z.ZodNever>;
|
|
897
903
|
title: z.ZodOptional<z.ZodString>;
|
|
898
904
|
objective: z.ZodOptional<z.ZodString>;
|
|
899
905
|
acceptanceCriteria: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1012,6 +1018,36 @@ export declare const MoveTaskResult: z.ZodObject<{
|
|
|
1012
1018
|
url: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1013
1019
|
launchPrompt: z.ZodString;
|
|
1014
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>>;
|
|
1015
1051
|
currentRunId: z.ZodNullable<z.ZodString>;
|
|
1016
1052
|
sessionId: z.ZodNullable<z.ZodString>;
|
|
1017
1053
|
review: z.ZodObject<{
|
|
@@ -1431,6 +1467,7 @@ export declare const ViewInput: z.ZodObject<{
|
|
|
1431
1467
|
}>>;
|
|
1432
1468
|
projectIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1433
1469
|
hostIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1470
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1434
1471
|
}, z.core.$strip>;
|
|
1435
1472
|
export declare const ViewPatch: z.ZodObject<{
|
|
1436
1473
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1440,6 +1477,7 @@ export declare const ViewPatch: z.ZodObject<{
|
|
|
1440
1477
|
}>>>;
|
|
1441
1478
|
projectIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
1442
1479
|
hostIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
1480
|
+
clientId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1443
1481
|
}, z.core.$strip>;
|
|
1444
1482
|
export declare const ViewClientReport: z.ZodObject<{
|
|
1445
1483
|
id: z.ZodString;
|
|
@@ -100,6 +100,8 @@ export declare const SyncState: z.ZodObject<{
|
|
|
100
100
|
single_writer: "single_writer";
|
|
101
101
|
}>;
|
|
102
102
|
worktreeDir: z.ZodDefault<z.ZodString>;
|
|
103
|
+
ensureSessions: z.ZodDefault<z.ZodBoolean>;
|
|
104
|
+
removeLanded: z.ZodDefault<z.ZodBoolean>;
|
|
103
105
|
createdAt: z.ZodString;
|
|
104
106
|
updatedAt: z.ZodString;
|
|
105
107
|
}, z.core.$strip>>;
|
|
@@ -131,6 +133,7 @@ export declare const SyncState: z.ZodObject<{
|
|
|
131
133
|
ahead: z.ZodNumber;
|
|
132
134
|
behind: z.ZodNumber;
|
|
133
135
|
unmerged: z.ZodBoolean;
|
|
136
|
+
head: z.ZodOptional<z.ZodString>;
|
|
134
137
|
}, z.core.$strip>;
|
|
135
138
|
setup: z.ZodObject<{
|
|
136
139
|
state: z.ZodEnum<{
|
|
@@ -278,6 +281,8 @@ export declare const SyncState: z.ZodObject<{
|
|
|
278
281
|
machine: z.ZodString;
|
|
279
282
|
lastSeenAt: z.ZodString;
|
|
280
283
|
}, z.core.$strip>>;
|
|
284
|
+
trackerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
281
286
|
createdAt: z.ZodString;
|
|
282
287
|
updatedAt: z.ZodString;
|
|
283
288
|
}, z.core.$strip>>;
|
|
@@ -394,6 +399,9 @@ export declare const SyncState: z.ZodObject<{
|
|
|
394
399
|
lastAssistantText: z.ZodNullable<z.ZodString>;
|
|
395
400
|
createdAt: z.ZodString;
|
|
396
401
|
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
+
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
403
|
+
client: z.ZodNullable<z.ZodString>;
|
|
404
|
+
}, z.core.$strip>>>;
|
|
397
405
|
unreadSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
398
406
|
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
399
407
|
transcriptEpoch: z.ZodOptional<z.ZodNumber>;
|
|
@@ -495,6 +503,36 @@ export declare const SyncState: z.ZodObject<{
|
|
|
495
503
|
url: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
496
504
|
launchPrompt: z.ZodString;
|
|
497
505
|
}, z.core.$strict>>;
|
|
506
|
+
tracker: z.ZodOptional<z.ZodObject<{
|
|
507
|
+
trackerId: z.ZodString;
|
|
508
|
+
itemId: z.ZodString;
|
|
509
|
+
repository: z.ZodString;
|
|
510
|
+
number: z.ZodNumber;
|
|
511
|
+
assignees: z.ZodArray<z.ZodString>;
|
|
512
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
513
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
514
|
+
pullRequest: z.ZodNullable<z.ZodObject<{
|
|
515
|
+
number: z.ZodNumber;
|
|
516
|
+
state: z.ZodEnum<{
|
|
517
|
+
CLOSED: "CLOSED";
|
|
518
|
+
MERGED: "MERGED";
|
|
519
|
+
OPEN: "OPEN";
|
|
520
|
+
}>;
|
|
521
|
+
url: z.ZodString;
|
|
522
|
+
headRefName: z.ZodString;
|
|
523
|
+
}, z.core.$strip>>;
|
|
524
|
+
board: z.ZodNullable<z.ZodObject<{
|
|
525
|
+
projectId: z.ZodString;
|
|
526
|
+
projectItemId: z.ZodString;
|
|
527
|
+
fieldId: z.ZodString;
|
|
528
|
+
status: z.ZodNullable<z.ZodString>;
|
|
529
|
+
statusOptionId: z.ZodNullable<z.ZodString>;
|
|
530
|
+
options: z.ZodArray<z.ZodObject<{
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
name: z.ZodString;
|
|
533
|
+
}, z.core.$strip>>;
|
|
534
|
+
}, z.core.$strip>>;
|
|
535
|
+
}, z.core.$strip>>;
|
|
498
536
|
currentRunId: z.ZodNullable<z.ZodString>;
|
|
499
537
|
sessionId: z.ZodNullable<z.ZodString>;
|
|
500
538
|
review: z.ZodObject<{
|
|
@@ -970,6 +1008,8 @@ export declare const ServerToClient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
970
1008
|
single_writer: "single_writer";
|
|
971
1009
|
}>;
|
|
972
1010
|
worktreeDir: z.ZodDefault<z.ZodString>;
|
|
1011
|
+
ensureSessions: z.ZodDefault<z.ZodBoolean>;
|
|
1012
|
+
removeLanded: z.ZodDefault<z.ZodBoolean>;
|
|
973
1013
|
createdAt: z.ZodString;
|
|
974
1014
|
updatedAt: z.ZodString;
|
|
975
1015
|
}, z.core.$strip>>;
|
|
@@ -1001,6 +1041,7 @@ export declare const ServerToClient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1001
1041
|
ahead: z.ZodNumber;
|
|
1002
1042
|
behind: z.ZodNumber;
|
|
1003
1043
|
unmerged: z.ZodBoolean;
|
|
1044
|
+
head: z.ZodOptional<z.ZodString>;
|
|
1004
1045
|
}, z.core.$strip>;
|
|
1005
1046
|
setup: z.ZodObject<{
|
|
1006
1047
|
state: z.ZodEnum<{
|
|
@@ -1148,6 +1189,8 @@ export declare const ServerToClient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1148
1189
|
machine: z.ZodString;
|
|
1149
1190
|
lastSeenAt: z.ZodString;
|
|
1150
1191
|
}, z.core.$strip>>;
|
|
1192
|
+
trackerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1193
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
1194
|
createdAt: z.ZodString;
|
|
1152
1195
|
updatedAt: z.ZodString;
|
|
1153
1196
|
}, z.core.$strip>>;
|
|
@@ -1264,6 +1307,9 @@ export declare const ServerToClient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1264
1307
|
lastAssistantText: z.ZodNullable<z.ZodString>;
|
|
1265
1308
|
createdAt: z.ZodString;
|
|
1266
1309
|
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
1310
|
+
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1311
|
+
client: z.ZodNullable<z.ZodString>;
|
|
1312
|
+
}, z.core.$strip>>>;
|
|
1267
1313
|
unreadSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
1314
|
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
1269
1315
|
transcriptEpoch: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1365,6 +1411,36 @@ export declare const ServerToClient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1365
1411
|
url: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1366
1412
|
launchPrompt: z.ZodString;
|
|
1367
1413
|
}, z.core.$strict>>;
|
|
1414
|
+
tracker: z.ZodOptional<z.ZodObject<{
|
|
1415
|
+
trackerId: z.ZodString;
|
|
1416
|
+
itemId: z.ZodString;
|
|
1417
|
+
repository: z.ZodString;
|
|
1418
|
+
number: z.ZodNumber;
|
|
1419
|
+
assignees: z.ZodArray<z.ZodString>;
|
|
1420
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
1421
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
1422
|
+
pullRequest: z.ZodNullable<z.ZodObject<{
|
|
1423
|
+
number: z.ZodNumber;
|
|
1424
|
+
state: z.ZodEnum<{
|
|
1425
|
+
CLOSED: "CLOSED";
|
|
1426
|
+
MERGED: "MERGED";
|
|
1427
|
+
OPEN: "OPEN";
|
|
1428
|
+
}>;
|
|
1429
|
+
url: z.ZodString;
|
|
1430
|
+
headRefName: z.ZodString;
|
|
1431
|
+
}, z.core.$strip>>;
|
|
1432
|
+
board: z.ZodNullable<z.ZodObject<{
|
|
1433
|
+
projectId: z.ZodString;
|
|
1434
|
+
projectItemId: z.ZodString;
|
|
1435
|
+
fieldId: z.ZodString;
|
|
1436
|
+
status: z.ZodNullable<z.ZodString>;
|
|
1437
|
+
statusOptionId: z.ZodNullable<z.ZodString>;
|
|
1438
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1439
|
+
id: z.ZodString;
|
|
1440
|
+
name: z.ZodString;
|
|
1441
|
+
}, z.core.$strip>>;
|
|
1442
|
+
}, z.core.$strip>>;
|
|
1443
|
+
}, z.core.$strip>>;
|
|
1368
1444
|
currentRunId: z.ZodNullable<z.ZodString>;
|
|
1369
1445
|
sessionId: z.ZodNullable<z.ZodString>;
|
|
1370
1446
|
review: z.ZodObject<{
|
|
@@ -225,6 +225,8 @@ export declare const Project: z.ZodObject<{
|
|
|
225
225
|
single_writer: "single_writer";
|
|
226
226
|
}>;
|
|
227
227
|
worktreeDir: z.ZodDefault<z.ZodString>;
|
|
228
|
+
ensureSessions: z.ZodDefault<z.ZodBoolean>;
|
|
229
|
+
removeLanded: z.ZodDefault<z.ZodBoolean>;
|
|
228
230
|
createdAt: z.ZodString;
|
|
229
231
|
updatedAt: z.ZodString;
|
|
230
232
|
}, z.core.$strip>;
|
|
@@ -245,6 +247,7 @@ export declare const GitState: z.ZodObject<{
|
|
|
245
247
|
ahead: z.ZodNumber;
|
|
246
248
|
behind: z.ZodNumber;
|
|
247
249
|
unmerged: z.ZodBoolean;
|
|
250
|
+
head: z.ZodOptional<z.ZodString>;
|
|
248
251
|
}, z.core.$strip>;
|
|
249
252
|
export type GitState = z.infer<typeof GitState>;
|
|
250
253
|
export declare const Workspace: z.ZodObject<{
|
|
@@ -266,6 +269,7 @@ export declare const Workspace: z.ZodObject<{
|
|
|
266
269
|
ahead: z.ZodNumber;
|
|
267
270
|
behind: z.ZodNumber;
|
|
268
271
|
unmerged: z.ZodBoolean;
|
|
272
|
+
head: z.ZodOptional<z.ZodString>;
|
|
269
273
|
}, z.core.$strip>;
|
|
270
274
|
setup: z.ZodObject<{
|
|
271
275
|
state: z.ZodEnum<{
|
|
@@ -479,6 +483,8 @@ export declare const View: z.ZodObject<{
|
|
|
479
483
|
machine: z.ZodString;
|
|
480
484
|
lastSeenAt: z.ZodString;
|
|
481
485
|
}, z.core.$strip>>;
|
|
486
|
+
trackerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
487
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
482
488
|
createdAt: z.ZodString;
|
|
483
489
|
updatedAt: z.ZodString;
|
|
484
490
|
}, z.core.$strip>;
|
|
@@ -635,6 +641,9 @@ export declare const Session: z.ZodObject<{
|
|
|
635
641
|
lastAssistantText: z.ZodNullable<z.ZodString>;
|
|
636
642
|
createdAt: z.ZodString;
|
|
637
643
|
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
644
|
+
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
645
|
+
client: z.ZodNullable<z.ZodString>;
|
|
646
|
+
}, z.core.$strip>>>;
|
|
638
647
|
unreadSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
639
648
|
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
640
649
|
transcriptEpoch: z.ZodOptional<z.ZodNumber>;
|
|
@@ -811,6 +820,36 @@ export declare const Task: z.ZodObject<{
|
|
|
811
820
|
url: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
812
821
|
launchPrompt: z.ZodString;
|
|
813
822
|
}, z.core.$strict>>;
|
|
823
|
+
tracker: z.ZodOptional<z.ZodObject<{
|
|
824
|
+
trackerId: z.ZodString;
|
|
825
|
+
itemId: z.ZodString;
|
|
826
|
+
repository: z.ZodString;
|
|
827
|
+
number: z.ZodNumber;
|
|
828
|
+
assignees: z.ZodArray<z.ZodString>;
|
|
829
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
830
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
831
|
+
pullRequest: z.ZodNullable<z.ZodObject<{
|
|
832
|
+
number: z.ZodNumber;
|
|
833
|
+
state: z.ZodEnum<{
|
|
834
|
+
CLOSED: "CLOSED";
|
|
835
|
+
MERGED: "MERGED";
|
|
836
|
+
OPEN: "OPEN";
|
|
837
|
+
}>;
|
|
838
|
+
url: z.ZodString;
|
|
839
|
+
headRefName: z.ZodString;
|
|
840
|
+
}, z.core.$strip>>;
|
|
841
|
+
board: z.ZodNullable<z.ZodObject<{
|
|
842
|
+
projectId: z.ZodString;
|
|
843
|
+
projectItemId: z.ZodString;
|
|
844
|
+
fieldId: z.ZodString;
|
|
845
|
+
status: z.ZodNullable<z.ZodString>;
|
|
846
|
+
statusOptionId: z.ZodNullable<z.ZodString>;
|
|
847
|
+
options: z.ZodArray<z.ZodObject<{
|
|
848
|
+
id: z.ZodString;
|
|
849
|
+
name: z.ZodString;
|
|
850
|
+
}, z.core.$strip>>;
|
|
851
|
+
}, z.core.$strip>>;
|
|
852
|
+
}, z.core.$strip>>;
|
|
814
853
|
currentRunId: z.ZodNullable<z.ZodString>;
|
|
815
854
|
sessionId: z.ZodNullable<z.ZodString>;
|
|
816
855
|
review: z.ZodObject<{
|
|
@@ -101,6 +101,8 @@ export declare const EventDataSchemas: {
|
|
|
101
101
|
single_writer: "single_writer";
|
|
102
102
|
}>;
|
|
103
103
|
worktreeDir: z.ZodDefault<z.ZodString>;
|
|
104
|
+
ensureSessions: z.ZodDefault<z.ZodBoolean>;
|
|
105
|
+
removeLanded: z.ZodDefault<z.ZodBoolean>;
|
|
104
106
|
createdAt: z.ZodString;
|
|
105
107
|
updatedAt: z.ZodString;
|
|
106
108
|
}, z.core.$strip>;
|
|
@@ -135,6 +137,7 @@ export declare const EventDataSchemas: {
|
|
|
135
137
|
ahead: z.ZodNumber;
|
|
136
138
|
behind: z.ZodNumber;
|
|
137
139
|
unmerged: z.ZodBoolean;
|
|
140
|
+
head: z.ZodOptional<z.ZodString>;
|
|
138
141
|
}, z.core.$strip>;
|
|
139
142
|
setup: z.ZodObject<{
|
|
140
143
|
state: z.ZodEnum<{
|
|
@@ -288,6 +291,8 @@ export declare const EventDataSchemas: {
|
|
|
288
291
|
machine: z.ZodString;
|
|
289
292
|
lastSeenAt: z.ZodString;
|
|
290
293
|
}, z.core.$strip>>;
|
|
294
|
+
trackerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
295
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
296
|
createdAt: z.ZodString;
|
|
292
297
|
updatedAt: z.ZodString;
|
|
293
298
|
}, z.core.$strip>;
|
|
@@ -407,6 +412,9 @@ export declare const EventDataSchemas: {
|
|
|
407
412
|
lastAssistantText: z.ZodNullable<z.ZodString>;
|
|
408
413
|
createdAt: z.ZodString;
|
|
409
414
|
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
+
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
416
|
+
client: z.ZodNullable<z.ZodString>;
|
|
417
|
+
}, z.core.$strip>>>;
|
|
410
418
|
unreadSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
419
|
adapterGeneration: z.ZodOptional<z.ZodString>;
|
|
412
420
|
transcriptEpoch: z.ZodOptional<z.ZodNumber>;
|
|
@@ -722,6 +730,36 @@ export declare const EventDataSchemas: {
|
|
|
722
730
|
url: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
723
731
|
launchPrompt: z.ZodString;
|
|
724
732
|
}, z.core.$strict>>;
|
|
733
|
+
tracker: z.ZodOptional<z.ZodObject<{
|
|
734
|
+
trackerId: z.ZodString;
|
|
735
|
+
itemId: z.ZodString;
|
|
736
|
+
repository: z.ZodString;
|
|
737
|
+
number: z.ZodNumber;
|
|
738
|
+
assignees: z.ZodArray<z.ZodString>;
|
|
739
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
740
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
741
|
+
pullRequest: z.ZodNullable<z.ZodObject<{
|
|
742
|
+
number: z.ZodNumber;
|
|
743
|
+
state: z.ZodEnum<{
|
|
744
|
+
CLOSED: "CLOSED";
|
|
745
|
+
MERGED: "MERGED";
|
|
746
|
+
OPEN: "OPEN";
|
|
747
|
+
}>;
|
|
748
|
+
url: z.ZodString;
|
|
749
|
+
headRefName: z.ZodString;
|
|
750
|
+
}, z.core.$strip>>;
|
|
751
|
+
board: z.ZodNullable<z.ZodObject<{
|
|
752
|
+
projectId: z.ZodString;
|
|
753
|
+
projectItemId: z.ZodString;
|
|
754
|
+
fieldId: z.ZodString;
|
|
755
|
+
status: z.ZodNullable<z.ZodString>;
|
|
756
|
+
statusOptionId: z.ZodNullable<z.ZodString>;
|
|
757
|
+
options: z.ZodArray<z.ZodObject<{
|
|
758
|
+
id: z.ZodString;
|
|
759
|
+
name: z.ZodString;
|
|
760
|
+
}, z.core.$strip>>;
|
|
761
|
+
}, z.core.$strip>>;
|
|
762
|
+
}, z.core.$strip>>;
|
|
725
763
|
currentRunId: z.ZodNullable<z.ZodString>;
|
|
726
764
|
sessionId: z.ZodNullable<z.ZodString>;
|
|
727
765
|
review: z.ZodObject<{
|
|
@@ -238,6 +238,7 @@ export declare const HostCommand: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
238
238
|
dirty: z.ZodBoolean;
|
|
239
239
|
unmerged: z.ZodBoolean;
|
|
240
240
|
}, z.core.$strip>;
|
|
241
|
+
deleteBranch: z.ZodOptional<z.ZodBoolean>;
|
|
241
242
|
}, z.core.$strip>, z.ZodObject<{
|
|
242
243
|
type: z.ZodLiteral<"workspace.diff">;
|
|
243
244
|
path: z.ZodString;
|
|
@@ -268,6 +269,35 @@ export declare const HostCommand: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
268
269
|
expectedPullRequestNodeId: z.ZodString;
|
|
269
270
|
type: z.ZodLiteral<"workspace.prMerge">;
|
|
270
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<{
|
|
271
301
|
type: z.ZodLiteral<"dispatch.start">;
|
|
272
302
|
dispatchKey: z.ZodString;
|
|
273
303
|
runId: z.ZodString;
|
|
@@ -365,6 +395,7 @@ export declare const DiscoveredWorktree: z.ZodObject<{
|
|
|
365
395
|
ahead: z.ZodNumber;
|
|
366
396
|
behind: z.ZodNumber;
|
|
367
397
|
unmerged: z.ZodBoolean;
|
|
398
|
+
head: z.ZodOptional<z.ZodString>;
|
|
368
399
|
}, z.core.$strip>>;
|
|
369
400
|
}, z.core.$strip>;
|
|
370
401
|
export type DiscoveredWorktree = z.infer<typeof DiscoveredWorktree>;
|
|
@@ -1299,6 +1330,7 @@ export declare const CoordinatorToHost: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1299
1330
|
dirty: z.ZodBoolean;
|
|
1300
1331
|
unmerged: z.ZodBoolean;
|
|
1301
1332
|
}, z.core.$strip>;
|
|
1333
|
+
deleteBranch: z.ZodOptional<z.ZodBoolean>;
|
|
1302
1334
|
}, z.core.$strip>, z.ZodObject<{
|
|
1303
1335
|
type: z.ZodLiteral<"workspace.diff">;
|
|
1304
1336
|
path: z.ZodString;
|
|
@@ -1329,6 +1361,35 @@ export declare const CoordinatorToHost: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1329
1361
|
expectedPullRequestNodeId: z.ZodString;
|
|
1330
1362
|
type: z.ZodLiteral<"workspace.prMerge">;
|
|
1331
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<{
|
|
1332
1393
|
type: z.ZodLiteral<"dispatch.start">;
|
|
1333
1394
|
dispatchKey: z.ZodString;
|
|
1334
1395
|
runId: z.ZodString;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ID_PREFIXES: readonly ["prj", "chk", "wsp", "ses", "tsk", "run", "aut", "occ", "int", "att", "dev", "hst", "enr", "cmd", "trm", "evt", "prf", "itm", "viw"];
|
|
1
|
+
export declare const ID_PREFIXES: readonly ["prj", "chk", "wsp", "ses", "tsk", "run", "aut", "occ", "int", "att", "dev", "hst", "enr", "cmd", "trm", "evt", "prf", "itm", "viw", "trk"];
|
|
2
2
|
export type IdPrefix = (typeof ID_PREFIXES)[number];
|
|
3
3
|
/** Stable, sortable, prefixed identifier, e.g. `ses_01J...`. */
|
|
4
4
|
export declare function newId(prefix: IdPrefix): string;
|