@aeolus-fleet/common 0.4.1 → 0.6.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.
@@ -63,7 +63,7 @@ export declare const deliveryStateSchema: z.ZodEnum<{
63
63
  }>;
64
64
  export type DeliveryState = z.infer<typeof deliveryStateSchema>;
65
65
  /** The event types written so far. Each later slice adds the ones it writes. */
66
- export declare const EVENT_TYPES: readonly ["FleetInitialised", "ShipCommissioned", "ShipClaimed", "LeaseRevoked", "CredentialRevoked", "StartingPromptIssued", "OperatorPasswordReset", "MessageAccepted", "DeliveryClaimed", "DeliveryAcknowledged", "DeliveryUndeliverable", "DeliveryReturned"];
66
+ export declare const EVENT_TYPES: readonly ["FleetInitialised", "ShipCommissioned", "ShipClaimed", "LeaseRevoked", "CredentialRevoked", "StartingPromptIssued", "OperatorPasswordReset", "MessageAccepted", "DeliveryClaimed", "DeliveryAcknowledged", "DeliveryUndeliverable", "DeliveryReturned", "ShipRetired", "DeliveryAbandoned", "DeliveryDismissed"];
67
67
  export declare const eventTypeSchema: z.ZodEnum<{
68
68
  FleetInitialised: "FleetInitialised";
69
69
  ShipCommissioned: "ShipCommissioned";
@@ -77,5 +77,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
77
77
  DeliveryAcknowledged: "DeliveryAcknowledged";
78
78
  DeliveryUndeliverable: "DeliveryUndeliverable";
79
79
  DeliveryReturned: "DeliveryReturned";
80
+ ShipRetired: "ShipRetired";
81
+ DeliveryAbandoned: "DeliveryAbandoned";
82
+ DeliveryDismissed: "DeliveryDismissed";
80
83
  }>;
81
84
  export type EventType = z.infer<typeof eventTypeSchema>;
@@ -43,6 +43,9 @@ export const EVENT_TYPES = [
43
43
  'DeliveryAcknowledged',
44
44
  'DeliveryUndeliverable',
45
45
  'DeliveryReturned',
46
+ 'ShipRetired',
47
+ 'DeliveryAbandoned',
48
+ 'DeliveryDismissed',
46
49
  ];
47
50
  export const eventTypeSchema = z.enum(EVENT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a,CAAC,CAAC;AAGtD,2GAA2G;AAC3G,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,MAAM,CAAU,CAAC;AACxD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;AAGzD;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,CAAU,CAAC;AAC5H,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAG3D,gFAAgF;AAChF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,kBAAkB;IAClB,kBAAkB;IAClB,aAAa;IACb,cAAc;IACd,mBAAmB;IACnB,sBAAsB;IACtB,uBAAuB;IACvB,iBAAiB;IACjB,iBAAiB;IACjB,sBAAsB;IACtB,uBAAuB;IACvB,kBAAkB;IAClB,aAAa;IACb,mBAAmB;IACnB,mBAAmB;CACX,CAAC;AACX,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC"}
@@ -38,6 +38,21 @@ export declare const releaseShipInputSchema: z.ZodObject<{
38
38
  export type ReleaseShipInput = z.infer<typeof releaseShipInputSchema>;
39
39
  /** Output of `fleet.release`: nothing; the OK is the answer. */
40
40
  export declare const releaseShipOutputSchema: z.ZodObject<{}, z.core.$strict>;
41
+ /** Input of `fleet.retire`: the ship to end for good. Never argo. */
42
+ export declare const retireShipInputSchema: z.ZodObject<{
43
+ shipId: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
44
+ }, z.core.$strip>;
45
+ /** Output of `fleet.retire`: how many of its direct deliveries it abandoned. */
46
+ export declare const retireShipOutputSchema: z.ZodObject<{
47
+ abandonedDeliveries: z.ZodInt;
48
+ }, z.core.$strip>;
49
+ /**
50
+ * Input of `fleet.recrew`: a crewed ship whose session is gone. The answer is
51
+ * a new starting prompt, as from `fleet.getStartingPrompt`.
52
+ */
53
+ export declare const recrewShipInputSchema: z.ZodObject<{
54
+ shipId: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
55
+ }, z.core.$strip>;
41
56
  /**
42
57
  * One ship in `fleet.list`. `startingPrompt` is the prompt holding the ship's
43
58
  * valid secret, when there is one: when it was issued and whether a session
@@ -131,6 +146,9 @@ export declare const liveFleetEventSchema: z.ZodObject<{
131
146
  DeliveryAcknowledged: "DeliveryAcknowledged";
132
147
  DeliveryUndeliverable: "DeliveryUndeliverable";
133
148
  DeliveryReturned: "DeliveryReturned";
149
+ ShipRetired: "ShipRetired";
150
+ DeliveryAbandoned: "DeliveryAbandoned";
151
+ DeliveryDismissed: "DeliveryDismissed";
134
152
  }>;
135
153
  occurredAt: z.ZodISODateTime;
136
154
  actorShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
@@ -161,6 +179,9 @@ export declare const fleetStreamItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject
161
179
  DeliveryAcknowledged: "DeliveryAcknowledged";
162
180
  DeliveryUndeliverable: "DeliveryUndeliverable";
163
181
  DeliveryReturned: "DeliveryReturned";
182
+ ShipRetired: "ShipRetired";
183
+ DeliveryAbandoned: "DeliveryAbandoned";
184
+ DeliveryDismissed: "DeliveryDismissed";
164
185
  }>;
165
186
  occurredAt: z.ZodISODateTime;
166
187
  actorShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
@@ -42,6 +42,15 @@ export const startingPromptOutputSchema = z.object({
42
42
  export const releaseShipInputSchema = z.object({ shipId: idSchema('ship') });
43
43
  /** Output of `fleet.release`: nothing; the OK is the answer. */
44
44
  export const releaseShipOutputSchema = z.strictObject({});
45
+ /** Input of `fleet.retire`: the ship to end for good. Never argo. */
46
+ export const retireShipInputSchema = z.object({ shipId: idSchema('ship') });
47
+ /** Output of `fleet.retire`: how many of its direct deliveries it abandoned. */
48
+ export const retireShipOutputSchema = z.object({ abandonedDeliveries: z.int().min(0) });
49
+ /**
50
+ * Input of `fleet.recrew`: a crewed ship whose session is gone. The answer is
51
+ * a new starting prompt, as from `fleet.getStartingPrompt`.
52
+ */
53
+ export const recrewShipInputSchema = z.object({ shipId: idSchema('ship') });
45
54
  /**
46
55
  * One ship in `fleet.list`. `startingPrompt` is the prompt holding the ship's
47
56
  * valid secret, when there is one: when it was issued and whether a session
@@ -1 +1 @@
1
- {"version":3,"file":"fleet.js","sourceRoot":"","sources":["../../src/schemas/fleet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1G,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C;;;GAGG;AAEH,0EAA0E;AAC1E,MAAM,CAAC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AACzC,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAClD,MAAM,cAAc,GAAG,YAAY,sBAAsB,uCAAuC,CAAC;AAEjG,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,MAAM,EAAE;KACR,GAAG,CAAC,sBAAsB,EAAE,cAAc,CAAC;KAC3C,KAAK,CAAC,mBAAmB,EAAE,cAAc,CAAC,CAAC;AAE9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAC;AAExC,4GAA4G;AAC5G,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE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zC,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAChE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,oBAAoB,EAAE,CAAC;IACnE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;CACxC,CAAC,CAAC"}
@@ -55,6 +55,8 @@ export declare const shipDetailOutputSchema: z.ZodObject<{
55
55
  commissionedAt: z.ZodISODateTime;
56
56
  crewedSince: z.ZodNullable<z.ZodISODateTime>;
57
57
  retiredAt: z.ZodNullable<z.ZodISODateTime>;
58
+ inFlightDeliveries: z.ZodInt;
59
+ openDeliveries: z.ZodInt;
58
60
  }, z.core.$strip>;
59
61
  export type ShipDetail = z.infer<typeof shipDetailOutputSchema>;
60
62
  /** One event on a ship's timeline: its number, type and time, its parties and its small flat details. */
@@ -74,6 +76,9 @@ export declare const timelineEntrySchema: z.ZodObject<{
74
76
  DeliveryAcknowledged: "DeliveryAcknowledged";
75
77
  DeliveryUndeliverable: "DeliveryUndeliverable";
76
78
  DeliveryReturned: "DeliveryReturned";
79
+ ShipRetired: "ShipRetired";
80
+ DeliveryAbandoned: "DeliveryAbandoned";
81
+ DeliveryDismissed: "DeliveryDismissed";
77
82
  }>;
78
83
  occurredAt: z.ZodISODateTime;
79
84
  actor: z.ZodNullable<z.ZodObject<{
@@ -121,6 +126,9 @@ export declare const shipTimelineOutputSchema: z.ZodArray<z.ZodObject<{
121
126
  DeliveryAcknowledged: "DeliveryAcknowledged";
122
127
  DeliveryUndeliverable: "DeliveryUndeliverable";
123
128
  DeliveryReturned: "DeliveryReturned";
129
+ ShipRetired: "ShipRetired";
130
+ DeliveryAbandoned: "DeliveryAbandoned";
131
+ DeliveryDismissed: "DeliveryDismissed";
124
132
  }>;
125
133
  occurredAt: z.ZodISODateTime;
126
134
  actor: z.ZodNullable<z.ZodObject<{
@@ -230,7 +238,7 @@ export declare const messageInputSchema: z.ZodObject<{
230
238
  messageId: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
231
239
  }, z.core.$strip>;
232
240
  /** The event types that change a delivery: its history. */
233
- export declare const DELIVERY_HISTORY_TYPES: readonly ["MessageAccepted", "DeliveryClaimed", "DeliveryReturned", "DeliveryAcknowledged", "DeliveryUndeliverable"];
241
+ export declare const DELIVERY_HISTORY_TYPES: readonly ["MessageAccepted", "DeliveryClaimed", "DeliveryReturned", "DeliveryAcknowledged", "DeliveryUndeliverable", "DeliveryAbandoned", "DeliveryDismissed"];
234
242
  /** One change to a delivery: when, which ship held it and where its session ran, and the claims counted by then. */
235
243
  export declare const deliveryHistoryEntrySchema: z.ZodObject<{
236
244
  seq: z.ZodNumber;
@@ -240,6 +248,8 @@ export declare const deliveryHistoryEntrySchema: z.ZodObject<{
240
248
  DeliveryAcknowledged: "DeliveryAcknowledged";
241
249
  DeliveryUndeliverable: "DeliveryUndeliverable";
242
250
  DeliveryReturned: "DeliveryReturned";
251
+ DeliveryAbandoned: "DeliveryAbandoned";
252
+ DeliveryDismissed: "DeliveryDismissed";
243
253
  }>;
244
254
  occurredAt: z.ZodISODateTime;
245
255
  ship: z.ZodNullable<z.ZodObject<{
@@ -302,6 +312,8 @@ export declare const messageOutputSchema: z.ZodObject<{
302
312
  DeliveryAcknowledged: "DeliveryAcknowledged";
303
313
  DeliveryUndeliverable: "DeliveryUndeliverable";
304
314
  DeliveryReturned: "DeliveryReturned";
315
+ DeliveryAbandoned: "DeliveryAbandoned";
316
+ DeliveryDismissed: "DeliveryDismissed";
305
317
  }>;
306
318
  occurredAt: z.ZodISODateTime;
307
319
  ship: z.ZodNullable<z.ZodObject<{
@@ -27,6 +27,10 @@ export const shipDetailOutputSchema = listedShipSchema.extend({
27
27
  commissionedAt: isoTime,
28
28
  crewedSince: isoTime.nullable(),
29
29
  retiredAt: isoTime.nullable(),
30
+ /** What its crew holds in flight now: what a release or a re-crew returns to pending. */
31
+ inFlightDeliveries: z.int().min(0),
32
+ /** Its direct deliveries pending or in flight: what a retire abandons. */
33
+ openDeliveries: z.int().min(0),
30
34
  });
31
35
  /** One event on a ship's timeline: its number, type and time, its parties and its small flat details. */
32
36
  export const timelineEntrySchema = z.object({
@@ -74,6 +78,8 @@ export const DELIVERY_HISTORY_TYPES = [
74
78
  'DeliveryReturned',
75
79
  'DeliveryAcknowledged',
76
80
  'DeliveryUndeliverable',
81
+ 'DeliveryAbandoned',
82
+ 'DeliveryDismissed',
77
83
  ];
78
84
  /** One change to a delivery: when, which ship held it and where its session ran, and the claims counted by then. */
79
85
  export const deliveryHistoryEntrySchema = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"history.js","sourceRoot":"","sources":["../../src/schemas/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;GAIG;AAEH,uBAAuB;AACvB,MAAM,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;AAEjC,2FAA2F;AAC3F,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAIhF,uEAAuE;AACvE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CA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AQ,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/F,+DAA+D;IAC/D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAIH,4GAA4G;AAC5G,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;IACpG,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,EAAE,EAAE,QAAQ,CAAC,UAAU,CAAC;QACxB,KAAK,EAAE,mBAAmB;QAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;QACxC,SAAS,EAAE,WAAW,CAAC,QAAQ,EAAE;QACjC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;KAC7C,CAAC;CACH,CAAC,CAAC"}
@@ -3,5 +3,7 @@ export * from './delivery.js';
3
3
  export * from './fleet.js';
4
4
  export * from './history.js';
5
5
  export * from './message.js';
6
+ export * from './needs-attention.js';
7
+ export * from './operator-inbox.js';
6
8
  export * from './ship.js';
7
9
  export * from './system.js';
@@ -3,6 +3,8 @@ export * from './delivery.js';
3
3
  export * from './fleet.js';
4
4
  export * from './history.js';
5
5
  export * from './message.js';
6
+ export * from './needs-attention.js';
7
+ export * from './operator-inbox.js';
6
8
  export * from './ship.js';
7
9
  export * from './system.js';
8
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,73 @@
1
+ import { z } from 'zod';
2
+ /** One undeliverable delivery: its claims, since when it is undeliverable, and its whole message. */
3
+ export declare const undeliverableDeliverySchema: z.ZodObject<{
4
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
5
+ attempts: z.ZodInt;
6
+ since: z.ZodISODateTime;
7
+ message: z.ZodObject<{
8
+ id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
9
+ sender: z.ZodObject<{
10
+ id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
11
+ name: z.ZodString;
12
+ }, z.core.$strip>;
13
+ recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
14
+ kind: z.ZodLiteral<"ship">;
15
+ ship: z.ZodObject<{
16
+ id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
17
+ name: z.ZodString;
18
+ }, z.core.$strip>;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ kind: z.ZodLiteral<"type">;
21
+ type: z.ZodString;
22
+ }, z.core.$strip>], "kind">;
23
+ inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
24
+ sentAt: z.ZodISODateTime;
25
+ contentType: z.ZodString;
26
+ payload: z.ZodString;
27
+ }, z.core.$strip>;
28
+ }, z.core.$strip>;
29
+ export type UndeliverableDelivery = z.infer<typeof undeliverableDeliverySchema>;
30
+ /** Output of `fleet.needsAttention`: every undeliverable delivery of the fleet, oldest first. */
31
+ export declare const needsAttentionOutputSchema: z.ZodArray<z.ZodObject<{
32
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
33
+ attempts: z.ZodInt;
34
+ since: z.ZodISODateTime;
35
+ message: z.ZodObject<{
36
+ id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
37
+ sender: z.ZodObject<{
38
+ id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
39
+ name: z.ZodString;
40
+ }, z.core.$strip>;
41
+ recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
42
+ kind: z.ZodLiteral<"ship">;
43
+ ship: z.ZodObject<{
44
+ id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
45
+ name: z.ZodString;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ kind: z.ZodLiteral<"type">;
49
+ type: z.ZodString;
50
+ }, z.core.$strip>], "kind">;
51
+ inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
52
+ sentAt: z.ZodISODateTime;
53
+ contentType: z.ZodString;
54
+ payload: z.ZodString;
55
+ }, z.core.$strip>;
56
+ }, z.core.$strip>>;
57
+ /** Input of `fleet.dismiss`: the undeliverable delivery the operator lets go. It stays in history, dismissed. */
58
+ export declare const dismissDeliveryInputSchema: z.ZodObject<{
59
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
60
+ }, z.core.$strip>;
61
+ /** Output of `fleet.dismiss`: nothing; the OK is the answer. */
62
+ export declare const dismissDeliveryOutputSchema: z.ZodObject<{}, z.core.$strict>;
63
+ /**
64
+ * Input of `fleet.resend`: the undeliverable delivery to send again, as a new
65
+ * message from the same sender to the same recipient that names the original.
66
+ */
67
+ export declare const resendDeliveryInputSchema: z.ZodObject<{
68
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
69
+ }, z.core.$strip>;
70
+ /** Output of `fleet.resend`: the new message. */
71
+ export declare const resendDeliveryOutputSchema: z.ZodObject<{
72
+ messageId: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
73
+ }, z.core.$strip>;
@@ -0,0 +1,48 @@
1
+ import { z } from 'zod';
2
+ import { idSchema } from '../ids/index.js';
3
+ import { messageRecipientSchema, partySchema } from './history.js';
4
+ /**
5
+ * Inputs and outputs of Needs attention (docs/blueprint.md, 'Domain events'):
6
+ * the undeliverable deliveries, oldest first, which the operator resends or
7
+ * dismisses. The list reads with fleet:read; resend and dismiss need
8
+ * fleet:manage.
9
+ */
10
+ /** ISO 8601 in UTC. */
11
+ const isoTime = z.iso.datetime();
12
+ /** One undeliverable delivery: its claims, since when it is undeliverable, and its whole message. */
13
+ export const undeliverableDeliverySchema = z.object({
14
+ deliveryId: idSchema('delivery'),
15
+ /** The claims counted, none of them acknowledged. */
16
+ attempts: z.int().min(0),
17
+ /** When it became undeliverable. */
18
+ since: isoTime,
19
+ message: z.object({
20
+ id: idSchema('message'),
21
+ sender: partySchema,
22
+ recipient: messageRecipientSchema,
23
+ inReplyTo: idSchema('message').nullable(),
24
+ sentAt: isoTime,
25
+ contentType: z.string(),
26
+ payload: z.string(),
27
+ }),
28
+ });
29
+ /** Output of `fleet.needsAttention`: every undeliverable delivery of the fleet, oldest first. */
30
+ export const needsAttentionOutputSchema = z.array(undeliverableDeliverySchema);
31
+ /** Input of `fleet.dismiss`: the undeliverable delivery the operator lets go. It stays in history, dismissed. */
32
+ export const dismissDeliveryInputSchema = z.object({
33
+ deliveryId: idSchema('delivery'),
34
+ });
35
+ /** Output of `fleet.dismiss`: nothing; the OK is the answer. */
36
+ export const dismissDeliveryOutputSchema = z.strictObject({});
37
+ /**
38
+ * Input of `fleet.resend`: the undeliverable delivery to send again, as a new
39
+ * message from the same sender to the same recipient that names the original.
40
+ */
41
+ export const resendDeliveryInputSchema = z.object({
42
+ deliveryId: idSchema('delivery'),
43
+ });
44
+ /** Output of `fleet.resend`: the new message. */
45
+ export const resendDeliveryOutputSchema = z.object({
46
+ messageId: idSchema('message'),
47
+ });
48
+ //# sourceMappingURL=needs-attention.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"needs-attention.js","sourceRoot":"","sources":["../../src/schemas/needs-attention.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEnE;;;;;GAKG;AAEH,uBAAuB;AACvB,MAAM,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;AAEjC,qGAAqG;AACrG,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC;IAChC,qDAAqD;IACrD,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,oCAAoC;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,EAAE,EAAE,QAAQ,CAAC,SAAS,CAAC;QACvB,MAAM,EAAE,WAAW;QACnB,SAAS,EAAE,sBAAsB;QACjC,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;QACzC,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;QACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC;CACH,CAAC,CAAC;AAIH,iGAAiG;AACjG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;AAE/E,iHAAiH;AACjH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC;CACjC,CAAC,CAAC;AAEH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAE9D;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC;CACjC,CAAC,CAAC;AAEH,iDAAiD;AACjD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC;CAC/B,CAAC,CAAC"}
@@ -0,0 +1,94 @@
1
+ import { z } from 'zod';
2
+ /** Open: not done yet. Done: acknowledged. All: both. */
3
+ export declare const INBOX_FILTERS: readonly ["open", "done", "all"];
4
+ export declare const inboxFilterSchema: z.ZodEnum<{
5
+ done: "done";
6
+ open: "open";
7
+ all: "all";
8
+ }>;
9
+ export type InboxFilter = z.infer<typeof inboxFilterSchema>;
10
+ /** Input of `fleet.inbox`. */
11
+ export declare const operatorInboxInputSchema: z.ZodObject<{
12
+ filter: z.ZodEnum<{
13
+ done: "done";
14
+ open: "open";
15
+ all: "all";
16
+ }>;
17
+ }, z.core.$strip>;
18
+ /** One message to argo: its delivery's state, when it was read and done, the reply that made it done, and the message. */
19
+ export declare const inboxMessageSchema: z.ZodObject<{
20
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
21
+ state: z.ZodEnum<{
22
+ pending: "pending";
23
+ delivered: "delivered";
24
+ acknowledged: "acknowledged";
25
+ undeliverable: "undeliverable";
26
+ dismissed: "dismissed";
27
+ abandoned: "abandoned";
28
+ }>;
29
+ readAt: z.ZodNullable<z.ZodISODateTime>;
30
+ doneAt: z.ZodNullable<z.ZodISODateTime>;
31
+ repliedWith: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
32
+ message: z.ZodObject<{
33
+ id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
34
+ sender: z.ZodObject<{
35
+ id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
36
+ name: z.ZodString;
37
+ }, z.core.$strip>;
38
+ inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
39
+ sentAt: z.ZodISODateTime;
40
+ contentType: z.ZodString;
41
+ payload: z.ZodString;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
44
+ export type InboxMessage = z.infer<typeof inboxMessageSchema>;
45
+ /** Output of `fleet.inbox`: the messages to argo the filter keeps, newest first. */
46
+ export declare const operatorInboxOutputSchema: z.ZodArray<z.ZodObject<{
47
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
48
+ state: z.ZodEnum<{
49
+ pending: "pending";
50
+ delivered: "delivered";
51
+ acknowledged: "acknowledged";
52
+ undeliverable: "undeliverable";
53
+ dismissed: "dismissed";
54
+ abandoned: "abandoned";
55
+ }>;
56
+ readAt: z.ZodNullable<z.ZodISODateTime>;
57
+ doneAt: z.ZodNullable<z.ZodISODateTime>;
58
+ repliedWith: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
59
+ message: z.ZodObject<{
60
+ id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
61
+ sender: z.ZodObject<{
62
+ id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
63
+ name: z.ZodString;
64
+ }, z.core.$strip>;
65
+ inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
66
+ sentAt: z.ZodISODateTime;
67
+ contentType: z.ZodString;
68
+ payload: z.ZodString;
69
+ }, z.core.$strip>;
70
+ }, z.core.$strip>>;
71
+ /** Input of `fleet.markRead`: a delivery to argo, read or unread again. */
72
+ export declare const markReadInputSchema: z.ZodObject<{
73
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
74
+ isRead: z.ZodBoolean;
75
+ }, z.core.$strip>;
76
+ /** Output of `fleet.markRead` and `fleet.markDone`: nothing; the OK is the answer. */
77
+ export declare const inboxActionOutputSchema: z.ZodObject<{}, z.core.$strict>;
78
+ /** Input of `fleet.markDone`: a delivery to argo, acknowledged without a reply. */
79
+ export declare const markDoneInputSchema: z.ZodObject<{
80
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
81
+ }, z.core.$strip>;
82
+ /**
83
+ * Input of `fleet.reply`: an answer to a message sent to argo, named by its
84
+ * delivery, as plain text to its sender, which also marks the message done.
85
+ */
86
+ export declare const replyInputSchema: z.ZodObject<{
87
+ deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
88
+ payload: z.ZodString;
89
+ idempotencyKey: z.ZodString;
90
+ }, z.core.$strip>;
91
+ /** Output of `fleet.reply`: the reply. */
92
+ export declare const replyOutputSchema: z.ZodObject<{
93
+ messageId: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
94
+ }, z.core.$strip>;
@@ -0,0 +1,56 @@
1
+ import { z } from 'zod';
2
+ import { deliveryStateSchema } from '../fleet/index.js';
3
+ import { idSchema } from '../ids/index.js';
4
+ import { partySchema } from './history.js';
5
+ import { sendInputSchema } from './message.js';
6
+ /**
7
+ * Inputs and outputs of the operator inbox (docs/blueprint.md, "Inbox"): the
8
+ * messages ships sent to argo. Opening one marks it read; read is not done.
9
+ * Mark done or Reply acknowledges it. Only argo's console session calls them.
10
+ */
11
+ /** ISO 8601 in UTC. */
12
+ const isoTime = z.iso.datetime();
13
+ /** Open: not done yet. Done: acknowledged. All: both. */
14
+ export const INBOX_FILTERS = ['open', 'done', 'all'];
15
+ export const inboxFilterSchema = z.enum(INBOX_FILTERS);
16
+ /** Input of `fleet.inbox`. */
17
+ export const operatorInboxInputSchema = z.object({ filter: inboxFilterSchema });
18
+ /** One message to argo: its delivery's state, when it was read and done, the reply that made it done, and the message. */
19
+ export const inboxMessageSchema = z.object({
20
+ deliveryId: idSchema('delivery'),
21
+ state: deliveryStateSchema,
22
+ /** When the operator opened it; null while unread. */
23
+ readAt: isoTime.nullable(),
24
+ /** When it was acknowledged; null while open. */
25
+ doneAt: isoTime.nullable(),
26
+ /** The reply that acknowledged it, when a reply did. */
27
+ repliedWith: idSchema('message').nullable(),
28
+ message: z.object({
29
+ id: idSchema('message'),
30
+ sender: partySchema,
31
+ inReplyTo: idSchema('message').nullable(),
32
+ sentAt: isoTime,
33
+ contentType: z.string(),
34
+ payload: z.string(),
35
+ }),
36
+ });
37
+ /** Output of `fleet.inbox`: the messages to argo the filter keeps, newest first. */
38
+ export const operatorInboxOutputSchema = z.array(inboxMessageSchema);
39
+ /** Input of `fleet.markRead`: a delivery to argo, read or unread again. */
40
+ export const markReadInputSchema = z.object({ deliveryId: idSchema('delivery'), isRead: z.boolean() });
41
+ /** Output of `fleet.markRead` and `fleet.markDone`: nothing; the OK is the answer. */
42
+ export const inboxActionOutputSchema = z.strictObject({});
43
+ /** Input of `fleet.markDone`: a delivery to argo, acknowledged without a reply. */
44
+ export const markDoneInputSchema = z.object({ deliveryId: idSchema('delivery') });
45
+ /**
46
+ * Input of `fleet.reply`: an answer to a message sent to argo, named by its
47
+ * delivery, as plain text to its sender, which also marks the message done.
48
+ */
49
+ export const replyInputSchema = z.object({
50
+ deliveryId: idSchema('delivery'),
51
+ payload: sendInputSchema.shape.payload,
52
+ idempotencyKey: sendInputSchema.shape.idempotencyKey,
53
+ });
54
+ /** Output of `fleet.reply`: the reply. */
55
+ export const replyOutputSchema = z.object({ messageId: idSchema('message') });
56
+ //# sourceMappingURL=operator-inbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator-inbox.js","sourceRoot":"","sources":["../../src/schemas/operator-inbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C;;;;GAIG;AAEH,uBAAuB;AACvB,MAAM,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;AAEjC,yDAAyD;AACzD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAU,CAAC;AAC9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAGvD,8BAA8B;AAC9B,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC,CAAC;AAEhF,0HAA0H;AAC1H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AU,EAAE,QAAQ,CAAC,UAAU,CAAC;IAChC,OAAO,EAAE,eAAe,CAAC,KAAK,CAAC,OAAO;IACtC,cAAc,EAAE,eAAe,CAAC,KAAK,CAAC,cAAc;CACrD,CAAC,CAAC;AAEH,0CAA0C;AAC1C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeolus-fleet/common",
3
- "version": "0.4.1",
3
+ "version": "0.6.0",
4
4
  "description": "Aeolus shared schemas, prefixed ids and types.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",