@fleettools/events 0.1.1 → 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/base.d.ts +2 -2
- package/dist/src/types/checkpoints.d.ts +8 -8
- package/dist/src/types/coordination.d.ts +12 -12
- package/dist/src/types/index.d.ts +62 -62
- package/dist/src/types/messages.d.ts +10 -10
- package/dist/src/types/missions.d.ts +8 -8
- package/dist/src/types/pilots.d.ts +6 -6
- package/dist/src/types/reservations.d.ts +6 -6
- package/dist/src/types/sorties.d.ts +12 -12
- 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC3E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,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"}
|
package/dist/src/types/base.d.ts
CHANGED
|
@@ -15,15 +15,15 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
15
15
|
sequence: z.ZodNumber;
|
|
16
16
|
data: z.ZodUnknown;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
type: string;
|
|
19
18
|
id: string;
|
|
19
|
+
type: string;
|
|
20
20
|
project_key: string;
|
|
21
21
|
timestamp: string;
|
|
22
22
|
sequence: number;
|
|
23
23
|
data?: unknown;
|
|
24
24
|
}, {
|
|
25
|
-
type: string;
|
|
26
25
|
id: string;
|
|
26
|
+
type: string;
|
|
27
27
|
project_key: string;
|
|
28
28
|
timestamp: string;
|
|
29
29
|
sequence: number;
|
|
@@ -43,8 +43,8 @@ export declare const CheckpointCreatedSchema: z.ZodObject<{
|
|
|
43
43
|
context_data?: Record<string, unknown> | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
type: "checkpoint_created";
|
|
47
46
|
id: string;
|
|
47
|
+
type: "checkpoint_created";
|
|
48
48
|
project_key: string;
|
|
49
49
|
timestamp: string;
|
|
50
50
|
sequence: number;
|
|
@@ -59,8 +59,8 @@ export declare const CheckpointCreatedSchema: z.ZodObject<{
|
|
|
59
59
|
context_data?: Record<string, unknown> | undefined;
|
|
60
60
|
};
|
|
61
61
|
}, {
|
|
62
|
-
type: "checkpoint_created";
|
|
63
62
|
id: string;
|
|
63
|
+
type: "checkpoint_created";
|
|
64
64
|
project_key: string;
|
|
65
65
|
timestamp: string;
|
|
66
66
|
sequence: number;
|
|
@@ -108,8 +108,8 @@ export declare const ContextCompactedSchema: z.ZodObject<{
|
|
|
108
108
|
compacted_at: string;
|
|
109
109
|
}>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
type: "context_compacted";
|
|
112
111
|
id: string;
|
|
112
|
+
type: "context_compacted";
|
|
113
113
|
project_key: string;
|
|
114
114
|
timestamp: string;
|
|
115
115
|
sequence: number;
|
|
@@ -122,8 +122,8 @@ export declare const ContextCompactedSchema: z.ZodObject<{
|
|
|
122
122
|
compacted_at: string;
|
|
123
123
|
};
|
|
124
124
|
}, {
|
|
125
|
-
type: "context_compacted";
|
|
126
125
|
id: string;
|
|
126
|
+
type: "context_compacted";
|
|
127
127
|
project_key: string;
|
|
128
128
|
timestamp: string;
|
|
129
129
|
sequence: number;
|
|
@@ -169,8 +169,8 @@ export declare const CheckpointRestoredSchema: z.ZodObject<{
|
|
|
169
169
|
notes?: string | undefined;
|
|
170
170
|
}>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
type: "checkpoint_restored";
|
|
173
172
|
id: string;
|
|
173
|
+
type: "checkpoint_restored";
|
|
174
174
|
project_key: string;
|
|
175
175
|
timestamp: string;
|
|
176
176
|
sequence: number;
|
|
@@ -183,8 +183,8 @@ export declare const CheckpointRestoredSchema: z.ZodObject<{
|
|
|
183
183
|
notes?: string | undefined;
|
|
184
184
|
};
|
|
185
185
|
}, {
|
|
186
|
-
type: "checkpoint_restored";
|
|
187
186
|
id: string;
|
|
187
|
+
type: "checkpoint_restored";
|
|
188
188
|
project_key: string;
|
|
189
189
|
timestamp: string;
|
|
190
190
|
sequence: number;
|
|
@@ -224,8 +224,8 @@ export declare const CheckpointDeletedSchema: z.ZodObject<{
|
|
|
224
224
|
deleted_at: string;
|
|
225
225
|
}>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
type: "checkpoint_deleted";
|
|
228
227
|
id: string;
|
|
228
|
+
type: "checkpoint_deleted";
|
|
229
229
|
project_key: string;
|
|
230
230
|
timestamp: string;
|
|
231
231
|
sequence: number;
|
|
@@ -236,8 +236,8 @@ export declare const CheckpointDeletedSchema: z.ZodObject<{
|
|
|
236
236
|
deleted_at: string;
|
|
237
237
|
};
|
|
238
238
|
}, {
|
|
239
|
-
type: "checkpoint_deleted";
|
|
240
239
|
id: string;
|
|
240
|
+
type: "checkpoint_deleted";
|
|
241
241
|
project_key: string;
|
|
242
242
|
timestamp: string;
|
|
243
243
|
sequence: number;
|
|
@@ -40,8 +40,8 @@ export declare const CoordinatorDecisionSchema: z.ZodObject<{
|
|
|
40
40
|
reasoning?: string | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
type: "coordinator_decision";
|
|
44
43
|
id: string;
|
|
44
|
+
type: "coordinator_decision";
|
|
45
45
|
project_key: string;
|
|
46
46
|
timestamp: string;
|
|
47
47
|
sequence: number;
|
|
@@ -55,8 +55,8 @@ export declare const CoordinatorDecisionSchema: z.ZodObject<{
|
|
|
55
55
|
reasoning?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
}, {
|
|
58
|
-
type: "coordinator_decision";
|
|
59
58
|
id: string;
|
|
59
|
+
type: "coordinator_decision";
|
|
60
60
|
project_key: string;
|
|
61
61
|
timestamp: string;
|
|
62
62
|
sequence: number;
|
|
@@ -100,8 +100,8 @@ export declare const PilotSpawnedSchema: z.ZodObject<{
|
|
|
100
100
|
config?: Record<string, unknown> | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
type: "pilot_spawned";
|
|
104
103
|
id: string;
|
|
104
|
+
type: "pilot_spawned";
|
|
105
105
|
project_key: string;
|
|
106
106
|
timestamp: string;
|
|
107
107
|
sequence: number;
|
|
@@ -113,8 +113,8 @@ export declare const PilotSpawnedSchema: z.ZodObject<{
|
|
|
113
113
|
config?: Record<string, unknown> | undefined;
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
|
-
type: "pilot_spawned";
|
|
117
116
|
id: string;
|
|
117
|
+
type: "pilot_spawned";
|
|
118
118
|
project_key: string;
|
|
119
119
|
timestamp: string;
|
|
120
120
|
sequence: number;
|
|
@@ -156,8 +156,8 @@ export declare const PilotTerminatedSchema: z.ZodObject<{
|
|
|
156
156
|
final_state?: Record<string, unknown> | undefined;
|
|
157
157
|
}>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
type: "pilot_terminated";
|
|
160
159
|
id: string;
|
|
160
|
+
type: "pilot_terminated";
|
|
161
161
|
project_key: string;
|
|
162
162
|
timestamp: string;
|
|
163
163
|
sequence: number;
|
|
@@ -169,8 +169,8 @@ export declare const PilotTerminatedSchema: z.ZodObject<{
|
|
|
169
169
|
final_state?: Record<string, unknown> | undefined;
|
|
170
170
|
};
|
|
171
171
|
}, {
|
|
172
|
-
type: "pilot_terminated";
|
|
173
172
|
id: string;
|
|
173
|
+
type: "pilot_terminated";
|
|
174
174
|
project_key: string;
|
|
175
175
|
timestamp: string;
|
|
176
176
|
sequence: number;
|
|
@@ -212,8 +212,8 @@ export declare const LockAcquiredSchema: z.ZodObject<{
|
|
|
212
212
|
acquired_at: string;
|
|
213
213
|
}>;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
|
-
type: "lock_acquired";
|
|
216
215
|
id: string;
|
|
216
|
+
type: "lock_acquired";
|
|
217
217
|
project_key: string;
|
|
218
218
|
timestamp: string;
|
|
219
219
|
sequence: number;
|
|
@@ -225,8 +225,8 @@ export declare const LockAcquiredSchema: z.ZodObject<{
|
|
|
225
225
|
acquired_at: string;
|
|
226
226
|
};
|
|
227
227
|
}, {
|
|
228
|
-
type: "lock_acquired";
|
|
229
228
|
id: string;
|
|
229
|
+
type: "lock_acquired";
|
|
230
230
|
project_key: string;
|
|
231
231
|
timestamp: string;
|
|
232
232
|
sequence: number;
|
|
@@ -268,8 +268,8 @@ export declare const LockReleasedSchema: z.ZodObject<{
|
|
|
268
268
|
held_duration_ms: number;
|
|
269
269
|
}>;
|
|
270
270
|
}, "strip", z.ZodTypeAny, {
|
|
271
|
-
type: "lock_released";
|
|
272
271
|
id: string;
|
|
272
|
+
type: "lock_released";
|
|
273
273
|
project_key: string;
|
|
274
274
|
timestamp: string;
|
|
275
275
|
sequence: number;
|
|
@@ -281,8 +281,8 @@ export declare const LockReleasedSchema: z.ZodObject<{
|
|
|
281
281
|
held_duration_ms: number;
|
|
282
282
|
};
|
|
283
283
|
}, {
|
|
284
|
-
type: "lock_released";
|
|
285
284
|
id: string;
|
|
285
|
+
type: "lock_released";
|
|
286
286
|
project_key: string;
|
|
287
287
|
timestamp: string;
|
|
288
288
|
sequence: number;
|
|
@@ -327,8 +327,8 @@ export declare const CursorMovedSchema: z.ZodObject<{
|
|
|
327
327
|
batch_size?: number | undefined;
|
|
328
328
|
}>;
|
|
329
329
|
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
type: "cursor_moved";
|
|
331
330
|
id: string;
|
|
331
|
+
type: "cursor_moved";
|
|
332
332
|
project_key: string;
|
|
333
333
|
timestamp: string;
|
|
334
334
|
sequence: number;
|
|
@@ -341,8 +341,8 @@ export declare const CursorMovedSchema: z.ZodObject<{
|
|
|
341
341
|
batch_size?: number | undefined;
|
|
342
342
|
};
|
|
343
343
|
}, {
|
|
344
|
-
type: "cursor_moved";
|
|
345
344
|
id: string;
|
|
345
|
+
type: "cursor_moved";
|
|
346
346
|
project_key: string;
|
|
347
347
|
timestamp: string;
|
|
348
348
|
sequence: number;
|