@fleettools/events 0.1.0 → 0.2.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/src/types/agents.d.ts +1005 -0
- package/dist/src/types/agents.d.ts.map +1 -0
- package/dist/src/types/coordination.d.ts +12 -12
- package/dist/src/types/index.d.ts +14 -14
- package/dist/src/types/reservations.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/helpers.d.ts +0 -72
- package/dist/index.d.ts +0 -10
- package/dist/projections/index.d.ts +0 -16
- package/dist/projections/pilots.d.ts +0 -19
- package/dist/replay.d.ts +0 -19
- package/dist/store.d.ts +0 -56
- package/dist/types/base.d.ts +0 -32
- package/dist/types/checkpoints.d.ts +0 -254
- package/dist/types/coordination.d.ts +0 -363
- package/dist/types/index.d.ts +0 -1691
- package/dist/types/messages.d.ts +0 -294
- package/dist/types/missions.d.ts +0 -257
- package/dist/types/pilots.d.ts +0 -152
- package/dist/types/reservations.d.ts +0 -172
- package/dist/types/sorties.d.ts +0 -371
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,eAAe,8VAiB1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAahC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWxC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -144,14 +144,14 @@ export declare const PilotTerminatedSchema: z.ZodObject<{
|
|
|
144
144
|
final_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
callsign: string;
|
|
147
|
-
terminated_by: string;
|
|
148
147
|
reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
|
|
148
|
+
terminated_by: string;
|
|
149
149
|
exit_code?: number | undefined;
|
|
150
150
|
final_state?: Record<string, unknown> | undefined;
|
|
151
151
|
}, {
|
|
152
152
|
callsign: string;
|
|
153
|
-
terminated_by: string;
|
|
154
153
|
reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
|
|
154
|
+
terminated_by: string;
|
|
155
155
|
exit_code?: number | undefined;
|
|
156
156
|
final_state?: Record<string, unknown> | undefined;
|
|
157
157
|
}>;
|
|
@@ -163,8 +163,8 @@ export declare const PilotTerminatedSchema: z.ZodObject<{
|
|
|
163
163
|
sequence: number;
|
|
164
164
|
data: {
|
|
165
165
|
callsign: string;
|
|
166
|
-
terminated_by: string;
|
|
167
166
|
reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
|
|
167
|
+
terminated_by: string;
|
|
168
168
|
exit_code?: number | undefined;
|
|
169
169
|
final_state?: Record<string, unknown> | undefined;
|
|
170
170
|
};
|
|
@@ -176,8 +176,8 @@ export declare const PilotTerminatedSchema: z.ZodObject<{
|
|
|
176
176
|
sequence: number;
|
|
177
177
|
data: {
|
|
178
178
|
callsign: string;
|
|
179
|
-
terminated_by: string;
|
|
180
179
|
reason: "completed" | "error" | "timeout" | "manual" | "resource_limit";
|
|
180
|
+
terminated_by: string;
|
|
181
181
|
exit_code?: number | undefined;
|
|
182
182
|
final_state?: Record<string, unknown> | undefined;
|
|
183
183
|
};
|
|
@@ -199,16 +199,16 @@ export declare const LockAcquiredSchema: z.ZodObject<{
|
|
|
199
199
|
ttl_seconds: z.ZodNumber;
|
|
200
200
|
acquired_at: z.ZodString;
|
|
201
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
ttl_seconds: number;
|
|
202
203
|
lock_key: string;
|
|
203
204
|
holder_id: string;
|
|
204
205
|
lock_type: "exclusive" | "shared";
|
|
205
|
-
ttl_seconds: number;
|
|
206
206
|
acquired_at: string;
|
|
207
207
|
}, {
|
|
208
|
+
ttl_seconds: number;
|
|
208
209
|
lock_key: string;
|
|
209
210
|
holder_id: string;
|
|
210
211
|
lock_type: "exclusive" | "shared";
|
|
211
|
-
ttl_seconds: number;
|
|
212
212
|
acquired_at: string;
|
|
213
213
|
}>;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -218,10 +218,10 @@ export declare const LockAcquiredSchema: z.ZodObject<{
|
|
|
218
218
|
timestamp: string;
|
|
219
219
|
sequence: number;
|
|
220
220
|
data: {
|
|
221
|
+
ttl_seconds: number;
|
|
221
222
|
lock_key: string;
|
|
222
223
|
holder_id: string;
|
|
223
224
|
lock_type: "exclusive" | "shared";
|
|
224
|
-
ttl_seconds: number;
|
|
225
225
|
acquired_at: string;
|
|
226
226
|
};
|
|
227
227
|
}, {
|
|
@@ -231,10 +231,10 @@ export declare const LockAcquiredSchema: z.ZodObject<{
|
|
|
231
231
|
timestamp: string;
|
|
232
232
|
sequence: number;
|
|
233
233
|
data: {
|
|
234
|
+
ttl_seconds: number;
|
|
234
235
|
lock_key: string;
|
|
235
236
|
holder_id: string;
|
|
236
237
|
lock_type: "exclusive" | "shared";
|
|
237
|
-
ttl_seconds: number;
|
|
238
238
|
acquired_at: string;
|
|
239
239
|
};
|
|
240
240
|
}>;
|
|
@@ -255,15 +255,15 @@ export declare const LockReleasedSchema: z.ZodObject<{
|
|
|
255
255
|
released_at: z.ZodString;
|
|
256
256
|
held_duration_ms: z.ZodNumber;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
released_by: string;
|
|
258
259
|
lock_key: string;
|
|
259
260
|
holder_id: string;
|
|
260
|
-
released_by: string;
|
|
261
261
|
released_at: string;
|
|
262
262
|
held_duration_ms: number;
|
|
263
263
|
}, {
|
|
264
|
+
released_by: string;
|
|
264
265
|
lock_key: string;
|
|
265
266
|
holder_id: string;
|
|
266
|
-
released_by: string;
|
|
267
267
|
released_at: string;
|
|
268
268
|
held_duration_ms: number;
|
|
269
269
|
}>;
|
|
@@ -274,9 +274,9 @@ export declare const LockReleasedSchema: z.ZodObject<{
|
|
|
274
274
|
timestamp: string;
|
|
275
275
|
sequence: number;
|
|
276
276
|
data: {
|
|
277
|
+
released_by: string;
|
|
277
278
|
lock_key: string;
|
|
278
279
|
holder_id: string;
|
|
279
|
-
released_by: string;
|
|
280
280
|
released_at: string;
|
|
281
281
|
held_duration_ms: number;
|
|
282
282
|
};
|
|
@@ -287,9 +287,9 @@ export declare const LockReleasedSchema: z.ZodObject<{
|
|
|
287
287
|
timestamp: string;
|
|
288
288
|
sequence: number;
|
|
289
289
|
data: {
|
|
290
|
+
released_by: string;
|
|
290
291
|
lock_key: string;
|
|
291
292
|
holder_id: string;
|
|
292
|
-
released_by: string;
|
|
293
293
|
released_at: string;
|
|
294
294
|
held_duration_ms: number;
|
|
295
295
|
};
|
|
@@ -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
|
}, {
|
|
@@ -440,8 +440,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
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
|
};
|
|
@@ -1480,14 +1480,14 @@ 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
|
}>;
|
|
@@ -1499,8 +1499,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
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
|
};
|
|
@@ -1512,8 +1512,8 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
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,16 +1531,16 @@ 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, {
|
|
@@ -1550,10 +1550,10 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
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
|
}, {
|
|
@@ -1563,10 +1563,10 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
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,15 +1583,15 @@ 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
|
}>;
|
|
@@ -1602,9 +1602,9 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
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
|
};
|
|
@@ -1615,9 +1615,9 @@ export declare const FleetEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
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
|
};
|
|
@@ -22,8 +22,8 @@ export declare const FileReservedSchema: z.ZodObject<{
|
|
|
22
22
|
ttl_seconds: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
callsign: string;
|
|
25
|
-
exclusive: boolean;
|
|
26
25
|
path_pattern: string;
|
|
26
|
+
exclusive: boolean;
|
|
27
27
|
reason?: string | undefined;
|
|
28
28
|
ttl_seconds?: number | undefined;
|
|
29
29
|
}, {
|
|
@@ -41,8 +41,8 @@ export declare const FileReservedSchema: z.ZodObject<{
|
|
|
41
41
|
sequence: number;
|
|
42
42
|
data: {
|
|
43
43
|
callsign: string;
|
|
44
|
-
exclusive: boolean;
|
|
45
44
|
path_pattern: string;
|
|
45
|
+
exclusive: boolean;
|
|
46
46
|
reason?: string | undefined;
|
|
47
47
|
ttl_seconds?: number | undefined;
|
|
48
48
|
};
|