@fleettools/events 0.1.0 → 0.1.1

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.
@@ -36,8 +36,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
36
36
  task_description?: string | undefined;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- id: string;
40
39
  type: "pilot_registered";
40
+ id: string;
41
41
  project_key: string;
42
42
  timestamp: string;
43
43
  sequence: number;
@@ -48,8 +48,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
48
48
  task_description?: string | undefined;
49
49
  };
50
50
  }, {
51
- id: string;
52
51
  type: "pilot_registered";
52
+ id: string;
53
53
  project_key: string;
54
54
  timestamp: string;
55
55
  sequence: number;
@@ -80,8 +80,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
80
80
  current_task?: string | undefined;
81
81
  }>;
82
82
  }, "strip", z.ZodTypeAny, {
83
- id: string;
84
83
  type: "pilot_active";
84
+ id: string;
85
85
  project_key: string;
86
86
  timestamp: string;
87
87
  sequence: number;
@@ -91,8 +91,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
91
91
  current_task?: string | undefined;
92
92
  };
93
93
  }, {
94
- id: string;
95
94
  type: "pilot_active";
95
+ id: string;
96
96
  project_key: string;
97
97
  timestamp: string;
98
98
  sequence: number;
@@ -122,8 +122,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
122
122
  final_status?: string | undefined;
123
123
  }>;
124
124
  }, "strip", z.ZodTypeAny, {
125
- id: string;
126
125
  type: "pilot_deregistered";
126
+ id: string;
127
127
  project_key: string;
128
128
  timestamp: string;
129
129
  sequence: number;
@@ -133,8 +133,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
133
133
  final_status?: string | undefined;
134
134
  };
135
135
  }, {
136
- id: string;
137
136
  type: "pilot_deregistered";
137
+ id: string;
138
138
  project_key: string;
139
139
  timestamp: string;
140
140
  sequence: number;
@@ -176,8 +176,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
176
176
  ack_required?: boolean | undefined;
177
177
  }>;
178
178
  }, "strip", z.ZodTypeAny, {
179
- id: string;
180
179
  type: "message_sent";
180
+ id: string;
181
181
  project_key: string;
182
182
  timestamp: string;
183
183
  sequence: number;
@@ -191,8 +191,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
191
191
  thread_id?: string | undefined;
192
192
  };
193
193
  }, {
194
- id: string;
195
194
  type: "message_sent";
195
+ id: string;
196
196
  project_key: string;
197
197
  timestamp: string;
198
198
  sequence: number;
@@ -226,8 +226,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
226
226
  read_at: string;
227
227
  }>;
228
228
  }, "strip", z.ZodTypeAny, {
229
- id: string;
230
229
  type: "message_read";
230
+ id: string;
231
231
  project_key: string;
232
232
  timestamp: string;
233
233
  sequence: number;
@@ -237,8 +237,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
237
237
  read_at: string;
238
238
  };
239
239
  }, {
240
- id: string;
241
240
  type: "message_read";
241
+ id: string;
242
242
  project_key: string;
243
243
  timestamp: string;
244
244
  sequence: number;
@@ -271,8 +271,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
271
271
  notes?: string | undefined;
272
272
  }>;
273
273
  }, "strip", z.ZodTypeAny, {
274
- id: string;
275
274
  type: "message_acknowledged";
275
+ id: string;
276
276
  project_key: string;
277
277
  timestamp: string;
278
278
  sequence: number;
@@ -283,8 +283,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
283
283
  notes?: string | undefined;
284
284
  };
285
285
  }, {
286
- id: string;
287
286
  type: "message_acknowledged";
287
+ id: string;
288
288
  project_key: string;
289
289
  timestamp: string;
290
290
  sequence: number;
@@ -335,8 +335,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
335
335
  }[];
336
336
  }>;
337
337
  }, "strip", z.ZodTypeAny, {
338
- id: string;
339
338
  type: "message_updated";
339
+ id: string;
340
340
  project_key: string;
341
341
  timestamp: string;
342
342
  sequence: number;
@@ -350,8 +350,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
350
350
  }[];
351
351
  };
352
352
  }, {
353
- id: string;
354
353
  type: "message_updated";
354
+ id: string;
355
355
  project_key: string;
356
356
  timestamp: string;
357
357
  sequence: number;
@@ -385,8 +385,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
385
385
  reason?: string | undefined;
386
386
  }>;
387
387
  }, "strip", z.ZodTypeAny, {
388
- id: string;
389
388
  type: "message_deleted";
389
+ id: string;
390
390
  project_key: string;
391
391
  timestamp: string;
392
392
  sequence: number;
@@ -396,8 +396,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
396
396
  reason?: string | undefined;
397
397
  };
398
398
  }, {
399
- id: string;
400
399
  type: "message_deleted";
400
+ id: string;
401
401
  project_key: string;
402
402
  timestamp: string;
403
403
  sequence: number;
@@ -421,8 +421,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
421
421
  ttl_seconds: z.ZodOptional<z.ZodNumber>;
422
422
  }, "strip", z.ZodTypeAny, {
423
423
  callsign: string;
424
- exclusive: boolean;
425
424
  path_pattern: string;
425
+ exclusive: boolean;
426
426
  reason?: string | undefined;
427
427
  ttl_seconds?: number | undefined;
428
428
  }, {
@@ -433,21 +433,21 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
433
433
  ttl_seconds?: number | undefined;
434
434
  }>;
435
435
  }, "strip", z.ZodTypeAny, {
436
- id: string;
437
436
  type: "file_reserved";
437
+ id: string;
438
438
  project_key: string;
439
439
  timestamp: string;
440
440
  sequence: number;
441
441
  data: {
442
442
  callsign: string;
443
- exclusive: boolean;
444
443
  path_pattern: string;
444
+ exclusive: boolean;
445
445
  reason?: string | undefined;
446
446
  ttl_seconds?: number | undefined;
447
447
  };
448
448
  }, {
449
- id: string;
450
449
  type: "file_reserved";
450
+ id: string;
451
451
  project_key: string;
452
452
  timestamp: string;
453
453
  sequence: number;
@@ -482,8 +482,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
482
482
  released_by?: string | undefined;
483
483
  }>;
484
484
  }, "strip", z.ZodTypeAny, {
485
- id: string;
486
485
  type: "file_released";
486
+ id: string;
487
487
  project_key: string;
488
488
  timestamp: string;
489
489
  sequence: number;
@@ -494,8 +494,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
494
494
  released_by?: string | undefined;
495
495
  };
496
496
  }, {
497
- id: string;
498
497
  type: "file_released";
498
+ id: string;
499
499
  project_key: string;
500
500
  timestamp: string;
501
501
  sequence: number;
@@ -532,8 +532,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
532
532
  resolved?: boolean | undefined;
533
533
  }>;
534
534
  }, "strip", z.ZodTypeAny, {
535
- id: string;
536
535
  type: "file_conflict";
536
+ id: string;
537
537
  project_key: string;
538
538
  timestamp: string;
539
539
  sequence: number;
@@ -545,8 +545,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
545
545
  resolved: boolean;
546
546
  };
547
547
  }, {
548
- id: string;
549
548
  type: "file_conflict";
549
+ id: string;
550
550
  project_key: string;
551
551
  timestamp: string;
552
552
  sequence: number;
@@ -593,8 +593,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
593
593
  estimated_hours?: number | undefined;
594
594
  }>;
595
595
  }, "strip", z.ZodTypeAny, {
596
- id: string;
597
596
  type: "sortie_created";
597
+ id: string;
598
598
  project_key: string;
599
599
  timestamp: string;
600
600
  sequence: number;
@@ -609,8 +609,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
609
609
  estimated_hours?: number | undefined;
610
610
  };
611
611
  }, {
612
- id: string;
613
612
  type: "sortie_created";
613
+ id: string;
614
614
  project_key: string;
615
615
  timestamp: string;
616
616
  sequence: number;
@@ -645,8 +645,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
645
645
  started_at: string;
646
646
  }>;
647
647
  }, "strip", z.ZodTypeAny, {
648
- id: string;
649
648
  type: "sortie_started";
649
+ id: string;
650
650
  project_key: string;
651
651
  timestamp: string;
652
652
  sequence: number;
@@ -656,8 +656,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
656
656
  started_at: string;
657
657
  };
658
658
  }, {
659
- id: string;
660
659
  type: "sortie_started";
660
+ id: string;
661
661
  project_key: string;
662
662
  timestamp: string;
663
663
  sequence: number;
@@ -693,8 +693,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
693
693
  notes?: string | undefined;
694
694
  }>;
695
695
  }, "strip", z.ZodTypeAny, {
696
- id: string;
697
696
  type: "sortie_completed";
697
+ id: string;
698
698
  project_key: string;
699
699
  timestamp: string;
700
700
  sequence: number;
@@ -706,8 +706,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
706
706
  notes?: string | undefined;
707
707
  };
708
708
  }, {
709
- id: string;
710
709
  type: "sortie_completed";
710
+ id: string;
711
711
  project_key: string;
712
712
  timestamp: string;
713
713
  sequence: number;
@@ -745,8 +745,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
745
745
  blocked_by_callsign?: string | undefined;
746
746
  }>;
747
747
  }, "strip", z.ZodTypeAny, {
748
- id: string;
749
748
  type: "sortie_blocked";
749
+ id: string;
750
750
  project_key: string;
751
751
  timestamp: string;
752
752
  sequence: number;
@@ -758,8 +758,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
758
758
  blocked_by_callsign?: string | undefined;
759
759
  };
760
760
  }, {
761
- id: string;
762
761
  type: "sortie_blocked";
762
+ id: string;
763
763
  project_key: string;
764
764
  timestamp: string;
765
765
  sequence: number;
@@ -794,8 +794,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
794
794
  previous_state: string;
795
795
  }>;
796
796
  }, "strip", z.ZodTypeAny, {
797
- id: string;
798
797
  type: "sortie_resumed";
798
+ id: string;
799
799
  project_key: string;
800
800
  timestamp: string;
801
801
  sequence: number;
@@ -806,8 +806,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
806
806
  previous_state: string;
807
807
  };
808
808
  }, {
809
- id: string;
810
809
  type: "sortie_resumed";
810
+ id: string;
811
811
  project_key: string;
812
812
  timestamp: string;
813
813
  sequence: number;
@@ -861,8 +861,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
861
861
  updated_at: string;
862
862
  }>;
863
863
  }, "strip", z.ZodTypeAny, {
864
- id: string;
865
864
  type: "sortie_updated";
865
+ id: string;
866
866
  project_key: string;
867
867
  timestamp: string;
868
868
  sequence: number;
@@ -877,8 +877,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
877
877
  updated_at: string;
878
878
  };
879
879
  }, {
880
- id: string;
881
880
  type: "sortie_updated";
881
+ id: string;
882
882
  project_key: string;
883
883
  timestamp: string;
884
884
  sequence: number;
@@ -922,8 +922,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
922
922
  estimated_duration_hours?: number | undefined;
923
923
  }>;
924
924
  }, "strip", z.ZodTypeAny, {
925
- id: string;
926
925
  type: "mission_created";
926
+ id: string;
927
927
  project_key: string;
928
928
  timestamp: string;
929
929
  sequence: number;
@@ -936,8 +936,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
936
936
  estimated_duration_hours?: number | undefined;
937
937
  };
938
938
  }, {
939
- id: string;
940
939
  type: "mission_created";
940
+ id: string;
941
941
  project_key: string;
942
942
  timestamp: string;
943
943
  sequence: number;
@@ -970,8 +970,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
970
970
  started_at: string;
971
971
  }>;
972
972
  }, "strip", z.ZodTypeAny, {
973
- id: string;
974
973
  type: "mission_started";
974
+ id: string;
975
975
  project_key: string;
976
976
  timestamp: string;
977
977
  sequence: number;
@@ -981,8 +981,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
981
981
  started_at: string;
982
982
  };
983
983
  }, {
984
- id: string;
985
984
  type: "mission_started";
985
+ id: string;
986
986
  project_key: string;
987
987
  timestamp: string;
988
988
  sequence: number;
@@ -1021,8 +1021,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1021
1021
  metrics?: Record<string, number> | undefined;
1022
1022
  }>;
1023
1023
  }, "strip", z.ZodTypeAny, {
1024
- id: string;
1025
1024
  type: "mission_completed";
1025
+ id: string;
1026
1026
  project_key: string;
1027
1027
  timestamp: string;
1028
1028
  sequence: number;
@@ -1035,8 +1035,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1035
1035
  metrics?: Record<string, number> | undefined;
1036
1036
  };
1037
1037
  }, {
1038
- id: string;
1039
1038
  type: "mission_completed";
1039
+ id: string;
1040
1040
  project_key: string;
1041
1041
  timestamp: string;
1042
1042
  sequence: number;
@@ -1092,8 +1092,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1092
1092
  updated_at: string;
1093
1093
  }>;
1094
1094
  }, "strip", z.ZodTypeAny, {
1095
- id: string;
1096
1095
  type: "mission_updated";
1096
+ id: string;
1097
1097
  project_key: string;
1098
1098
  timestamp: string;
1099
1099
  sequence: number;
@@ -1108,8 +1108,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1108
1108
  updated_at: string;
1109
1109
  };
1110
1110
  }, {
1111
- id: string;
1112
1111
  type: "mission_updated";
1112
+ id: string;
1113
1113
  project_key: string;
1114
1114
  timestamp: string;
1115
1115
  sequence: number;
@@ -1159,8 +1159,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1159
1159
  context_data?: Record<string, unknown> | undefined;
1160
1160
  }>;
1161
1161
  }, "strip", z.ZodTypeAny, {
1162
- id: string;
1163
1162
  type: "checkpoint_created";
1163
+ id: string;
1164
1164
  project_key: string;
1165
1165
  timestamp: string;
1166
1166
  sequence: number;
@@ -1175,8 +1175,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1175
1175
  context_data?: Record<string, unknown> | undefined;
1176
1176
  };
1177
1177
  }, {
1178
- id: string;
1179
1178
  type: "checkpoint_created";
1179
+ id: string;
1180
1180
  project_key: string;
1181
1181
  timestamp: string;
1182
1182
  sequence: number;
@@ -1220,8 +1220,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1220
1220
  compacted_at: string;
1221
1221
  }>;
1222
1222
  }, "strip", z.ZodTypeAny, {
1223
- id: string;
1224
1223
  type: "context_compacted";
1224
+ id: string;
1225
1225
  project_key: string;
1226
1226
  timestamp: string;
1227
1227
  sequence: number;
@@ -1234,8 +1234,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1234
1234
  compacted_at: string;
1235
1235
  };
1236
1236
  }, {
1237
- id: string;
1238
1237
  type: "context_compacted";
1238
+ id: string;
1239
1239
  project_key: string;
1240
1240
  timestamp: string;
1241
1241
  sequence: number;
@@ -1277,8 +1277,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1277
1277
  notes?: string | undefined;
1278
1278
  }>;
1279
1279
  }, "strip", z.ZodTypeAny, {
1280
- id: string;
1281
1280
  type: "checkpoint_restored";
1281
+ id: string;
1282
1282
  project_key: string;
1283
1283
  timestamp: string;
1284
1284
  sequence: number;
@@ -1291,8 +1291,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1291
1291
  notes?: string | undefined;
1292
1292
  };
1293
1293
  }, {
1294
- id: string;
1295
1294
  type: "checkpoint_restored";
1295
+ id: string;
1296
1296
  project_key: string;
1297
1297
  timestamp: string;
1298
1298
  sequence: number;
@@ -1328,8 +1328,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1328
1328
  deleted_at: string;
1329
1329
  }>;
1330
1330
  }, "strip", z.ZodTypeAny, {
1331
- id: string;
1332
1331
  type: "checkpoint_deleted";
1332
+ id: string;
1333
1333
  project_key: string;
1334
1334
  timestamp: string;
1335
1335
  sequence: number;
@@ -1340,8 +1340,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1340
1340
  deleted_at: string;
1341
1341
  };
1342
1342
  }, {
1343
- id: string;
1344
1343
  type: "checkpoint_deleted";
1344
+ id: string;
1345
1345
  project_key: string;
1346
1346
  timestamp: string;
1347
1347
  sequence: number;
@@ -1384,8 +1384,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1384
1384
  reasoning?: string | undefined;
1385
1385
  }>;
1386
1386
  }, "strip", z.ZodTypeAny, {
1387
- id: string;
1388
1387
  type: "coordinator_decision";
1388
+ id: string;
1389
1389
  project_key: string;
1390
1390
  timestamp: string;
1391
1391
  sequence: number;
@@ -1399,8 +1399,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1399
1399
  reasoning?: string | undefined;
1400
1400
  };
1401
1401
  }, {
1402
- id: string;
1403
1402
  type: "coordinator_decision";
1403
+ id: string;
1404
1404
  project_key: string;
1405
1405
  timestamp: string;
1406
1406
  sequence: number;
@@ -1440,8 +1440,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1440
1440
  config?: Record<string, unknown> | undefined;
1441
1441
  }>;
1442
1442
  }, "strip", z.ZodTypeAny, {
1443
- id: string;
1444
1443
  type: "pilot_spawned";
1444
+ id: string;
1445
1445
  project_key: string;
1446
1446
  timestamp: string;
1447
1447
  sequence: number;
@@ -1453,8 +1453,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1453
1453
  config?: Record<string, unknown> | undefined;
1454
1454
  };
1455
1455
  }, {
1456
- id: string;
1457
1456
  type: "pilot_spawned";
1457
+ id: string;
1458
1458
  project_key: string;
1459
1459
  timestamp: string;
1460
1460
  sequence: number;
@@ -1480,40 +1480,40 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1480
1480
  final_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1481
1481
  }, "strip", z.ZodTypeAny, {
1482
1482
  callsign: string;
1483
- terminated_by: string;
1484
1483
  reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
1484
+ terminated_by: string;
1485
1485
  exit_code?: number | undefined;
1486
1486
  final_state?: Record<string, unknown> | undefined;
1487
1487
  }, {
1488
1488
  callsign: string;
1489
- terminated_by: string;
1490
1489
  reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
1490
+ terminated_by: string;
1491
1491
  exit_code?: number | undefined;
1492
1492
  final_state?: Record<string, unknown> | undefined;
1493
1493
  }>;
1494
1494
  }, "strip", z.ZodTypeAny, {
1495
- id: string;
1496
1495
  type: "pilot_terminated";
1496
+ id: string;
1497
1497
  project_key: string;
1498
1498
  timestamp: string;
1499
1499
  sequence: number;
1500
1500
  data: {
1501
1501
  callsign: string;
1502
- terminated_by: string;
1503
1502
  reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
1503
+ terminated_by: string;
1504
1504
  exit_code?: number | undefined;
1505
1505
  final_state?: Record<string, unknown> | undefined;
1506
1506
  };
1507
1507
  }, {
1508
- id: string;
1509
1508
  type: "pilot_terminated";
1509
+ id: string;
1510
1510
  project_key: string;
1511
1511
  timestamp: string;
1512
1512
  sequence: number;
1513
1513
  data: {
1514
1514
  callsign: string;
1515
- terminated_by: string;
1516
1515
  reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
1516
+ terminated_by: string;
1517
1517
  exit_code?: number | undefined;
1518
1518
  final_state?: Record<string, unknown> | undefined;
1519
1519
  };
@@ -1531,42 +1531,42 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1531
1531
  ttl_seconds: z.ZodNumber;
1532
1532
  acquired_at: z.ZodString;
1533
1533
  }, "strip", z.ZodTypeAny, {
1534
+ ttl_seconds: number;
1534
1535
  lock_key: string;
1535
1536
  holder_id: string;
1536
1537
  lock_type: "exclusive" | "shared";
1537
- ttl_seconds: number;
1538
1538
  acquired_at: string;
1539
1539
  }, {
1540
+ ttl_seconds: number;
1540
1541
  lock_key: string;
1541
1542
  holder_id: string;
1542
1543
  lock_type: "exclusive" | "shared";
1543
- ttl_seconds: number;
1544
1544
  acquired_at: string;
1545
1545
  }>;
1546
1546
  }, "strip", z.ZodTypeAny, {
1547
- id: string;
1548
1547
  type: "lock_acquired";
1548
+ id: string;
1549
1549
  project_key: string;
1550
1550
  timestamp: string;
1551
1551
  sequence: number;
1552
1552
  data: {
1553
+ ttl_seconds: number;
1553
1554
  lock_key: string;
1554
1555
  holder_id: string;
1555
1556
  lock_type: "exclusive" | "shared";
1556
- ttl_seconds: number;
1557
1557
  acquired_at: string;
1558
1558
  };
1559
1559
  }, {
1560
- id: string;
1561
1560
  type: "lock_acquired";
1561
+ id: string;
1562
1562
  project_key: string;
1563
1563
  timestamp: string;
1564
1564
  sequence: number;
1565
1565
  data: {
1566
+ ttl_seconds: number;
1566
1567
  lock_key: string;
1567
1568
  holder_id: string;
1568
1569
  lock_type: "exclusive" | "shared";
1569
- ttl_seconds: number;
1570
1570
  acquired_at: string;
1571
1571
  };
1572
1572
  }>, z.ZodObject<{
@@ -1583,41 +1583,41 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1583
1583
  released_at: z.ZodString;
1584
1584
  held_duration_ms: z.ZodNumber;
1585
1585
  }, "strip", z.ZodTypeAny, {
1586
+ released_by: string;
1586
1587
  lock_key: string;
1587
1588
  holder_id: string;
1588
- released_by: string;
1589
1589
  released_at: string;
1590
1590
  held_duration_ms: number;
1591
1591
  }, {
1592
+ released_by: string;
1592
1593
  lock_key: string;
1593
1594
  holder_id: string;
1594
- released_by: string;
1595
1595
  released_at: string;
1596
1596
  held_duration_ms: number;
1597
1597
  }>;
1598
1598
  }, "strip", z.ZodTypeAny, {
1599
- id: string;
1600
1599
  type: "lock_released";
1600
+ id: string;
1601
1601
  project_key: string;
1602
1602
  timestamp: string;
1603
1603
  sequence: number;
1604
1604
  data: {
1605
+ released_by: string;
1605
1606
  lock_key: string;
1606
1607
  holder_id: string;
1607
- released_by: string;
1608
1608
  released_at: string;
1609
1609
  held_duration_ms: number;
1610
1610
  };
1611
1611
  }, {
1612
- id: string;
1613
1612
  type: "lock_released";
1613
+ id: string;
1614
1614
  project_key: string;
1615
1615
  timestamp: string;
1616
1616
  sequence: number;
1617
1617
  data: {
1618
+ released_by: string;
1618
1619
  lock_key: string;
1619
1620
  holder_id: string;
1620
- released_by: string;
1621
1621
  released_at: string;
1622
1622
  held_duration_ms: number;
1623
1623
  };
@@ -1651,8 +1651,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1651
1651
  batch_size?: number | undefined;
1652
1652
  }>;
1653
1653
  }, "strip", z.ZodTypeAny, {
1654
- id: string;
1655
1654
  type: "cursor_moved";
1655
+ id: string;
1656
1656
  project_key: string;
1657
1657
  timestamp: string;
1658
1658
  sequence: number;
@@ -1665,8 +1665,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
1665
1665
  batch_size?: number | undefined;
1666
1666
  };
1667
1667
  }, {
1668
- id: string;
1669
1668
  type: "cursor_moved";
1669
+ id: string;
1670
1670
  project_key: string;
1671
1671
  timestamp: string;
1672
1672
  sequence: number;