@aeolus-fleet/common 0.27.0 → 0.28.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.
Files changed (46) hide show
  1. package/dist/fleet/core-version.d.ts +20 -0
  2. package/dist/fleet/core-version.js +59 -0
  3. package/dist/fleet/core-version.js.map +1 -0
  4. package/dist/fleet/index.d.ts +27 -4
  5. package/dist/fleet/index.js +43 -2
  6. package/dist/fleet/index.js.map +1 -1
  7. package/dist/ids/index.d.ts +3 -0
  8. package/dist/ids/index.js +2 -0
  9. package/dist/ids/index.js.map +1 -1
  10. package/dist/schemas/account-token.d.ts +49 -0
  11. package/dist/schemas/account-token.js +51 -0
  12. package/dist/schemas/account-token.js.map +1 -0
  13. package/dist/schemas/console.d.ts +8 -0
  14. package/dist/schemas/console.js +3 -1
  15. package/dist/schemas/console.js.map +1 -1
  16. package/dist/schemas/delivery.d.ts +69 -3
  17. package/dist/schemas/delivery.js +35 -3
  18. package/dist/schemas/delivery.js.map +1 -1
  19. package/dist/schemas/fleet.d.ts +40 -2
  20. package/dist/schemas/fleet.js +21 -4
  21. package/dist/schemas/fleet.js.map +1 -1
  22. package/dist/schemas/follow.d.ts +14 -0
  23. package/dist/schemas/history.d.ts +111 -9
  24. package/dist/schemas/history.js +19 -3
  25. package/dist/schemas/history.js.map +1 -1
  26. package/dist/schemas/index.d.ts +2 -0
  27. package/dist/schemas/index.js +2 -0
  28. package/dist/schemas/index.js.map +1 -1
  29. package/dist/schemas/installation.d.ts +12 -0
  30. package/dist/schemas/installation.js +14 -1
  31. package/dist/schemas/installation.js.map +1 -1
  32. package/dist/schemas/label.d.ts +19 -5
  33. package/dist/schemas/label.js +7 -2
  34. package/dist/schemas/label.js.map +1 -1
  35. package/dist/schemas/network.d.ts +409 -90
  36. package/dist/schemas/network.js +76 -51
  37. package/dist/schemas/network.js.map +1 -1
  38. package/dist/schemas/statement.d.ts +94 -4
  39. package/dist/schemas/statement.js +33 -4
  40. package/dist/schemas/statement.js.map +1 -1
  41. package/dist/schemas/verified-fact.d.ts +109 -0
  42. package/dist/schemas/verified-fact.js +57 -0
  43. package/dist/schemas/verified-fact.js.map +1 -0
  44. package/dist/trierarch/crew-settings.js +1 -1
  45. package/dist/trierarch/report-details.js +2 -2
  46. package/package.json +1 -3
@@ -1,5 +1,7 @@
1
1
  import { z } from 'zod';
2
+ import { deliveryStateSchema } from '../fleet/index.js';
2
3
  import { idSchema } from '../ids/index.js';
4
+ import { leaseWakerSchema, messageRecipientSchema } from './history.js';
3
5
  import { isOneLine } from './report.js';
4
6
  /**
5
7
  * Inputs and outputs of receiving and acknowledging deliveries (`ship.receive`
@@ -56,6 +58,11 @@ export const receivedDeliverySchema = z.object({
56
58
  export const receiveOutputSchema = z.object({
57
59
  deliveries: z.array(receivedDeliverySchema).max(RECEIVE_MAX_UPPER_BOUND),
58
60
  });
61
+ /**
62
+ * Input of `ship.receiveReply`: the message whose reply to receive. Its
63
+ * output is `receiveOutputSchema`, with one delivery at most.
64
+ */
65
+ export const receiveReplyInputSchema = z.object({ messageId: idSchema('message') });
59
66
  /**
60
67
  * One delivery a push receive takes for the crew's computer side (decision
61
68
  * 0040): received, not yet handed to the agent and with no attempt counted,
@@ -68,6 +75,16 @@ export const pushReceivedDeliverySchema = receivedDeliverySchema.extend({
68
75
  /** The last hand-over number the crew reported with handed; null while received, or when a plain receive handed it. */
69
76
  handOverNumber: z.int().positive().nullable(),
70
77
  });
78
+ /**
79
+ * Input of `ship.pushReceive`: at most how many deliveries to take, 1 to 10,
80
+ * one without it, and what wakes the ship, kept from the lease's first push
81
+ * receive (interop 5.1).
82
+ */
83
+ export const pushReceiveInputSchema = z
84
+ .object({ max: z.int().min(1).max(RECEIVE_MAX_UPPER_BOUND).optional(), waker: leaseWakerSchema.optional() })
85
+ .optional();
86
+ /** The channel of a hand-over: 1 to 32 of a-z, 0-9, `/`, `.` and `-`, such as `tmux` or `tools/call`. */
87
+ const CHANNEL = /^[a-z0-9/.-]{1,32}$/;
71
88
  /** Output of `ship.pushReceive`: the deliveries taken, none when the wait ended without one. */
72
89
  export const pushReceiveOutputSchema = z.object({
73
90
  deliveries: z.array(pushReceivedDeliverySchema).max(RECEIVE_MAX_UPPER_BOUND),
@@ -76,12 +93,14 @@ export const pushReceiveOutputSchema = z.object({
76
93
  * Input of `ship.handed`: the delivery the computer side handed to the agent,
77
94
  * and the number of that hand-over, counting from 1 under the crew's lease.
78
95
  * Once more: it hands a confirmed message once more, after the turn that took
79
- * it died (decision 0040).
96
+ * it died (decision 0040). The channel it handed it through, kept with
97
+ * DeliveryHanded (interop 5.1).
80
98
  */
81
99
  export const handedInputSchema = z.object({
82
100
  deliveryId: idSchema('delivery'),
83
101
  handOverNumber: z.int().positive(),
84
102
  isOnceMore: z.boolean().optional(),
103
+ channel: z.string().regex(CHANNEL, 'A channel is 1 to 32 of a-z, 0-9, /, . and -').optional(),
85
104
  });
86
105
  /** Output of `ship.handed`: where the delivery stands now. Undeliverable: that was the fifth attempt, and nothing is handed. */
87
106
  export const handedOutputSchema = z.object({ state: z.enum(['handed', 'acknowledged', 'undeliverable']) });
@@ -94,8 +113,9 @@ export const NOT_HANDLED_REASON_MAX_LENGTH = 200;
94
113
  const REASON_MESSAGE = `A reason is one line of at most ${String(NOT_HANDLED_REASON_MAX_LENGTH)} characters`;
95
114
  /**
96
115
  * Input of `ship.notHandled`: the delivery handed once more whose turn died
97
- * too, and why the crew's computer side judged so (#847), which Needs
98
- * attention shows with the entry.
116
+ * too, or handed and not confirmed and unsafe to hand again, and why the
117
+ * crew's computer side judged so (#847), which Needs attention shows with the
118
+ * entry. The use case requires the reason for one not confirmed.
99
119
  */
100
120
  export const notHandledInputSchema = z.object({
101
121
  deliveryId: idSchema('delivery'),
@@ -122,4 +142,16 @@ export const inboxInputSchema = z
122
142
  * a computer side hands over at once, busy turn or not (decision 0040).
123
143
  */
124
144
  export const inboxOutputSchema = z.object({ waiting: z.int().min(0), forced: z.int().min(0) });
145
+ /** Input of `ship.sentMessage`: a message the caller sent. */
146
+ export const sentMessageInputSchema = z.object({ messageId: idSchema('message') });
147
+ /**
148
+ * Output of `ship.sentMessage`: where the delivery of a message its sender
149
+ * sent stands, and since when, with its recipient by name or type. No payload.
150
+ */
151
+ export const sentMessageOutputSchema = z.object({
152
+ messageId: idSchema('message'),
153
+ sentAt: z.iso.datetime(),
154
+ recipient: messageRecipientSchema,
155
+ delivery: z.object({ deliveryId: idSchema('delivery'), state: deliveryStateSchema, since: z.iso.datetime() }),
156
+ });
125
157
  //# sourceMappingURL=delivery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"delivery.js","sourceRoot":"","sources":["../../src/schemas/delivery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;;;GAKG;AAEH,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAE1C,gGAAgG;AAChG,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC;KACvE,QAAQ,EAAE,CAAC;AAId;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC1D,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;IAC/D,CAAC,CAAC,MAAM,CAAC,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E,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC;KAC9E,QAAQ,EAAE,CAAC;AAId;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAI/F,8DAA8D;AAC9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;AAInF;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IACxB,SAAS,EAAE,sBAAsB;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC;CAC9G,CAAC,CAAC"}
@@ -23,7 +23,9 @@ export declare const commissionShipInputSchema: z.ZodObject<{
23
23
  app: "app";
24
24
  }>>;
25
25
  scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
+ valueIds: z.ZodOptional<z.ZodArray<z.ZodType<`lbv_${string}`, unknown, z.core.$ZodTypeInternals<`lbv_${string}`, unknown>>>>;
26
27
  ownerOf: z.ZodOptional<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
28
+ owner: z.ZodOptional<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
27
29
  note: z.ZodOptional<z.ZodString>;
28
30
  idempotencyKey: z.ZodString;
29
31
  }, z.core.$strip>;
@@ -92,6 +94,12 @@ export declare const renameShipInputSchema: z.ZodObject<{
92
94
  }, z.core.$strip>;
93
95
  /** Output of `fleet.rename`: nothing; the OK is the answer. */
94
96
  export declare const renameShipOutputSchema: z.ZodObject<{}, z.core.$strict>;
97
+ /** Input of `fleet.connectPlugin`: the ship argo connects as a plugin, which then reads every ship (decision 0034). argo's only. */
98
+ export declare const connectPluginInputSchema: z.ZodObject<{
99
+ shipId: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
100
+ }, z.core.$strip>;
101
+ /** Output of `fleet.connectPlugin`: nothing; the OK is the answer. */
102
+ export declare const connectPluginOutputSchema: z.ZodObject<{}, z.core.$strict>;
95
103
  /** Input of `fleet.setOwner`: the ship and its new owner, an active person's ship or argo (decision 0045). argo's only. */
96
104
  export declare const setOwnerInputSchema: z.ZodObject<{
97
105
  shipId: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
@@ -231,6 +239,7 @@ export declare const listedShipSchema: z.ZodObject<{
231
239
  }, z.core.$strip>>;
232
240
  awaitingCrewSince: z.ZodNullable<z.ZodISODateTime>;
233
241
  retiredAt: z.ZodNullable<z.ZodISODateTime>;
242
+ ownerShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
234
243
  }, z.core.$strip>;
235
244
  export type ListedShip = z.infer<typeof listedShipSchema>;
236
245
  /** A ship outside the caller's read reach (decision 0034): its name, type and status only. */
@@ -343,6 +352,7 @@ export declare const fleetListOutputSchema: z.ZodArray<z.ZodUnion<readonly [z.Zo
343
352
  }, z.core.$strip>>;
344
353
  awaitingCrewSince: z.ZodNullable<z.ZodISODateTime>;
345
354
  retiredAt: z.ZodNullable<z.ZodISODateTime>;
355
+ ownerShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
346
356
  }, z.core.$strip>, z.ZodObject<{
347
357
  id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
348
358
  name: z.ZodString;
@@ -365,8 +375,8 @@ export declare const fleetEventsInputSchema: z.ZodObject<{
365
375
  export type FleetEventsInput = z.infer<typeof fleetEventsInputSchema>;
366
376
  /**
367
377
  * One committed event as the live fleet view hears it: its number in the
368
- * fleet's stream (commit order, without gaps), what happened and when, which
369
- * ship caused it, and which ship, message and delivery it concerns. Never its
378
+ * fleet's stream (commit order, without gaps), what happened and when, who
379
+ * caused it, and which ship, message and delivery it concerns. Never its
370
380
  * details.
371
381
  */
372
382
  export declare const liveFleetEventSchema: z.ZodObject<{
@@ -419,14 +429,28 @@ export declare const liveFleetEventSchema: z.ZodObject<{
419
429
  WorktreeClearRemoved: "WorktreeClearRemoved";
420
430
  NetworkRulesSet: "NetworkRulesSet";
421
431
  NetworkRulesDeclared: "NetworkRulesDeclared";
432
+ NetworkRulesDraftSaved: "NetworkRulesDraftSaved";
433
+ NetworkRulesDraftDiscarded: "NetworkRulesDraftDiscarded";
422
434
  NetworkPluginRegistered: "NetworkPluginRegistered";
423
435
  NetworkPluginUnregistered: "NetworkPluginUnregistered";
424
436
  BuiltInRuleChanged: "BuiltInRuleChanged";
425
437
  ScopesDeclared: "ScopesDeclared";
426
438
  ScopesChanged: "ScopesChanged";
439
+ PluginConnected: "PluginConnected";
440
+ PluginDisconnected: "PluginDisconnected";
441
+ VerifiedFactsSet: "VerifiedFactsSet";
442
+ VerifiedFactsRemoved: "VerifiedFactsRemoved";
427
443
  }>;
428
444
  occurredAt: z.ZodISODateTime;
445
+ actorKind: z.ZodEnum<{
446
+ ship: "ship";
447
+ system: "system";
448
+ installation: "installation";
449
+ account: "account";
450
+ }>;
429
451
  actorShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
452
+ actorAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
453
+ actorSignedInAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
430
454
  shipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
431
455
  messageId: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
432
456
  deliveryId: z.ZodNullable<z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>>;
@@ -488,14 +512,28 @@ export declare const fleetStreamItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject
488
512
  WorktreeClearRemoved: "WorktreeClearRemoved";
489
513
  NetworkRulesSet: "NetworkRulesSet";
490
514
  NetworkRulesDeclared: "NetworkRulesDeclared";
515
+ NetworkRulesDraftSaved: "NetworkRulesDraftSaved";
516
+ NetworkRulesDraftDiscarded: "NetworkRulesDraftDiscarded";
491
517
  NetworkPluginRegistered: "NetworkPluginRegistered";
492
518
  NetworkPluginUnregistered: "NetworkPluginUnregistered";
493
519
  BuiltInRuleChanged: "BuiltInRuleChanged";
494
520
  ScopesDeclared: "ScopesDeclared";
495
521
  ScopesChanged: "ScopesChanged";
522
+ PluginConnected: "PluginConnected";
523
+ PluginDisconnected: "PluginDisconnected";
524
+ VerifiedFactsSet: "VerifiedFactsSet";
525
+ VerifiedFactsRemoved: "VerifiedFactsRemoved";
496
526
  }>;
497
527
  occurredAt: z.ZodISODateTime;
528
+ actorKind: z.ZodEnum<{
529
+ ship: "ship";
530
+ system: "system";
531
+ installation: "installation";
532
+ account: "account";
533
+ }>;
498
534
  actorShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
535
+ actorAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
536
+ actorSignedInAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
499
537
  shipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
500
538
  messageId: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
501
539
  deliveryId: z.ZodNullable<z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>>;
@@ -1,10 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  import { commissionedShipKindSchema, eventTypeSchema, locationKindSchema, scopeNameSchema, shipKindSchema, shipStatusSchema } from '../fleet/index.js';
3
3
  import { idSchema } from '../ids/index.js';
4
+ import { accountIdSchema } from './account-token.js';
4
5
  import { SHIP_HANDLE_MAX_LENGTH, SHIP_HANDLE_MESSAGE, SHIP_HANDLE_PATTERN } from '../rules/ship-handle.js';
5
6
  import { idempotencyKeySchema } from './idempotency-key.js';
6
7
  import { listedCrewRequestSchema } from './crew-request.js';
7
- import { carriedLabelSchema } from './label.js';
8
+ import { carriedLabelSchema, SHIP_LABELS_MAX } from './label.js';
8
9
  import { listedReportSchema } from './report.js';
9
10
  /**
10
11
  * Inputs and outputs of the fleet procedures: commission a ship, get its
@@ -30,8 +31,12 @@ export const commissionShipInputSchema = z.object({
30
31
  /** What the ship is; an agent when left out (decision 0044). */
31
32
  kind: commissionedShipKindSchema.optional(),
32
33
  scopes: z.array(scopeNameSchema).optional(),
34
+ /** The label values it carries from the start: each of a label the commissioner defined, or one it carries (decision 0053). */
35
+ valueIds: z.array(idSchema('labelValue')).max(SHIP_LABELS_MAX).optional(),
33
36
  /** The ship that asked a plugin's ship for this one, whose owner it gets; naming one needs fleet:on-behalf (decision 0045). */
34
37
  ownerOf: idSchema('ship').optional(),
38
+ /** The owner argo picked for an app ship the gateway commissions, a person's ship or argo; naming one needs fleet:on-behalf (decision 0045). */
39
+ owner: idSchema('ship').optional(),
35
40
  note: z
36
41
  .string()
37
42
  .trim()
@@ -81,6 +86,10 @@ export const releaseShipOutputSchema = z.strictObject({});
81
86
  export const renameShipInputSchema = z.object({ shipId: idSchema('ship'), name: shipHandleSchema });
82
87
  /** Output of `fleet.rename`: nothing; the OK is the answer. */
83
88
  export const renameShipOutputSchema = z.strictObject({});
89
+ /** Input of `fleet.connectPlugin`: the ship argo connects as a plugin, which then reads every ship (decision 0034). argo's only. */
90
+ export const connectPluginInputSchema = z.object({ shipId: idSchema('ship') });
91
+ /** Output of `fleet.connectPlugin`: nothing; the OK is the answer. */
92
+ export const connectPluginOutputSchema = z.strictObject({});
84
93
  /** Input of `fleet.setOwner`: the ship and its new owner, an active person's ship or argo (decision 0045). argo's only. */
85
94
  export const setOwnerInputSchema = z.object({ shipId: idSchema('ship'), ownerShipId: idSchema('ship') });
86
95
  /** Output of `fleet.setOwner`: nothing; the OK is the answer. */
@@ -168,6 +177,8 @@ export const listedShipSchema = z.object({
168
177
  awaitingCrewSince: z.iso.datetime().nullable(),
169
178
  /** When the operator retired the ship (ISO 8601 in UTC); null while it is active. */
170
179
  retiredAt: z.iso.datetime().nullable(),
180
+ /** The ship that owns it (decision 0045); null for argo and the viewer, which no ship owns. */
181
+ ownerShipId: idSchema('ship').nullable(),
171
182
  });
172
183
  /** A ship outside the caller's read reach (decision 0034): its name, type and status only. */
173
184
  export const shipOutsideReadReachSchema = z.object({
@@ -192,8 +203,8 @@ export const fleetEventsInputSchema = z.object({
192
203
  });
193
204
  /**
194
205
  * One committed event as the live fleet view hears it: its number in the
195
- * fleet's stream (commit order, without gaps), what happened and when, which
196
- * ship caused it, and which ship, message and delivery it concerns. Never its
206
+ * fleet's stream (commit order, without gaps), what happened and when, who
207
+ * caused it, and which ship, message and delivery it concerns. Never its
197
208
  * details.
198
209
  */
199
210
  export const liveFleetEventSchema = z.object({
@@ -202,8 +213,14 @@ export const liveFleetEventSchema = z.object({
202
213
  type: eventTypeSchema,
203
214
  /** ISO 8601 in UTC. */
204
215
  occurredAt: z.iso.datetime(),
205
- /** The ship that caused it; null for the system. */
216
+ /** Who caused it (decision 0057): a ship, an account, the installation or the system. */
217
+ actorKind: z.enum(['ship', 'account', 'installation', 'system']),
218
+ /** The ship that caused it; null for any other actor. */
206
219
  actorShipId: idSchema('ship').nullable(),
220
+ /** The account that caused it, by its id only; null for any other actor. */
221
+ actorAccountId: accountIdSchema.nullable(),
222
+ /** The account signed in to the console as argo when argo caused it, by its id only; null otherwise (decision 0054). */
223
+ actorSignedInAccountId: accountIdSchema.nullable(),
207
224
  shipId: idSchema('ship').nullable(),
208
225
  messageId: idSchema('message').nullable(),
209
226
  deliveryId: idSchema('delivery').nullable(),
@@ -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,0BAA0B,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACvJ,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC3G,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEtF,kEAAkE;AAClE,MAAM,CAAC,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.ZodObject<{
68
68
  WorktreeClearRemoved: "WorktreeClearRemoved";
69
69
  NetworkRulesSet: "NetworkRulesSet";
70
70
  NetworkRulesDeclared: "NetworkRulesDeclared";
71
+ NetworkRulesDraftSaved: "NetworkRulesDraftSaved";
72
+ NetworkRulesDraftDiscarded: "NetworkRulesDraftDiscarded";
71
73
  NetworkPluginRegistered: "NetworkPluginRegistered";
72
74
  NetworkPluginUnregistered: "NetworkPluginUnregistered";
73
75
  BuiltInRuleChanged: "BuiltInRuleChanged";
74
76
  ScopesDeclared: "ScopesDeclared";
75
77
  ScopesChanged: "ScopesChanged";
78
+ PluginConnected: "PluginConnected";
79
+ PluginDisconnected: "PluginDisconnected";
80
+ VerifiedFactsSet: "VerifiedFactsSet";
81
+ VerifiedFactsRemoved: "VerifiedFactsRemoved";
76
82
  }>;
77
83
  occurredAt: z.ZodISODateTime;
84
+ actorKind: z.ZodEnum<{
85
+ ship: "ship";
86
+ system: "system";
87
+ installation: "installation";
88
+ account: "account";
89
+ }>;
78
90
  actorShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
91
+ actorAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
92
+ actorSignedInAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
79
93
  shipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
80
94
  messageId: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
81
95
  deliveryId: z.ZodNullable<z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>>;
@@ -80,6 +80,7 @@ export declare const shipDetailOutputSchema: z.ZodObject<{
80
80
  }, z.core.$strip>>;
81
81
  awaitingCrewSince: z.ZodNullable<z.ZodISODateTime>;
82
82
  retiredAt: z.ZodNullable<z.ZodISODateTime>;
83
+ ownerShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
83
84
  report: z.ZodNullable<z.ZodObject<{
84
85
  state: z.ZodEnum<{
85
86
  working: "working";
@@ -189,6 +190,7 @@ export declare const shipOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
189
190
  }, z.core.$strip>>;
190
191
  awaitingCrewSince: z.ZodNullable<z.ZodISODateTime>;
191
192
  retiredAt: z.ZodNullable<z.ZodISODateTime>;
193
+ ownerShipId: z.ZodNullable<z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>>;
192
194
  report: z.ZodNullable<z.ZodObject<{
193
195
  state: z.ZodEnum<{
194
196
  working: "working";
@@ -303,17 +305,24 @@ export declare const timelineEntrySchema: z.ZodObject<{
303
305
  WorktreeClearRemoved: "WorktreeClearRemoved";
304
306
  NetworkRulesSet: "NetworkRulesSet";
305
307
  NetworkRulesDeclared: "NetworkRulesDeclared";
308
+ NetworkRulesDraftSaved: "NetworkRulesDraftSaved";
309
+ NetworkRulesDraftDiscarded: "NetworkRulesDraftDiscarded";
306
310
  NetworkPluginRegistered: "NetworkPluginRegistered";
307
311
  NetworkPluginUnregistered: "NetworkPluginUnregistered";
308
312
  BuiltInRuleChanged: "BuiltInRuleChanged";
309
313
  ScopesDeclared: "ScopesDeclared";
310
314
  ScopesChanged: "ScopesChanged";
315
+ PluginConnected: "PluginConnected";
316
+ PluginDisconnected: "PluginDisconnected";
317
+ VerifiedFactsSet: "VerifiedFactsSet";
318
+ VerifiedFactsRemoved: "VerifiedFactsRemoved";
311
319
  }>;
312
320
  occurredAt: z.ZodISODateTime;
313
321
  actor: z.ZodNullable<z.ZodObject<{
314
322
  id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
315
323
  name: z.ZodString;
316
324
  }, z.core.$strip>>;
325
+ signedInAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
317
326
  ship: z.ZodNullable<z.ZodObject<{
318
327
  id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
319
328
  name: z.ZodString;
@@ -392,17 +401,24 @@ export declare const shipTimelineOutputSchema: z.ZodArray<z.ZodObject<{
392
401
  WorktreeClearRemoved: "WorktreeClearRemoved";
393
402
  NetworkRulesSet: "NetworkRulesSet";
394
403
  NetworkRulesDeclared: "NetworkRulesDeclared";
404
+ NetworkRulesDraftSaved: "NetworkRulesDraftSaved";
405
+ NetworkRulesDraftDiscarded: "NetworkRulesDraftDiscarded";
395
406
  NetworkPluginRegistered: "NetworkPluginRegistered";
396
407
  NetworkPluginUnregistered: "NetworkPluginUnregistered";
397
408
  BuiltInRuleChanged: "BuiltInRuleChanged";
398
409
  ScopesDeclared: "ScopesDeclared";
399
410
  ScopesChanged: "ScopesChanged";
411
+ PluginConnected: "PluginConnected";
412
+ PluginDisconnected: "PluginDisconnected";
413
+ VerifiedFactsSet: "VerifiedFactsSet";
414
+ VerifiedFactsRemoved: "VerifiedFactsRemoved";
400
415
  }>;
401
416
  occurredAt: z.ZodISODateTime;
402
417
  actor: z.ZodNullable<z.ZodObject<{
403
418
  id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
404
419
  name: z.ZodString;
405
420
  }, z.core.$strip>>;
421
+ signedInAccountId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
406
422
  ship: z.ZodNullable<z.ZodObject<{
407
423
  id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
408
424
  name: z.ZodString;
@@ -529,7 +545,7 @@ export declare const overdueClockSchema: z.ZodEnum<{
529
545
  }>;
530
546
  export type OverdueClock = z.infer<typeof overdueClockSchema>;
531
547
  /** Why a lease ended, as its LeaseRevoked says. */
532
- export declare const LEASE_END_REASONS: readonly ["released", "retired", "deregistered", "takenOver", "signedOut", "passwordReset"];
548
+ export declare const LEASE_END_REASONS: readonly ["released", "retired", "deregistered", "takenOver", "signedOut", "passwordReset", "accountCutOff"];
533
549
  export declare const leaseEndReasonSchema: z.ZodEnum<{
534
550
  retired: "retired";
535
551
  released: "released";
@@ -537,13 +553,29 @@ export declare const leaseEndReasonSchema: z.ZodEnum<{
537
553
  takenOver: "takenOver";
538
554
  signedOut: "signedOut";
539
555
  passwordReset: "passwordReset";
556
+ accountCutOff: "accountCutOff";
540
557
  }>;
541
558
  export type LeaseEndReason = z.infer<typeof leaseEndReasonSchema>;
559
+ /**
560
+ * What wakes a pushed ship, as its first push receive states it (decision
561
+ * 0040, interop 5.1): the trierarch, the plugin watcher, a person's app, the
562
+ * gateway, or an app's own adapter.
563
+ */
564
+ export declare const LEASE_WAKERS: readonly ["trierarch", "pluginWatcher", "personApp", "gateway", "adapter"];
565
+ export declare const leaseWakerSchema: z.ZodEnum<{
566
+ trierarch: "trierarch";
567
+ pluginWatcher: "pluginWatcher";
568
+ personApp: "personApp";
569
+ gateway: "gateway";
570
+ adapter: "adapter";
571
+ }>;
572
+ export type LeaseWaker = z.infer<typeof leaseWakerSchema>;
542
573
  /**
543
574
  * The computer side of a pushed lease, which receives and hands over for its
544
575
  * session (decision 0040): the trierarch that crewed it, named by its ship,
545
- * which is named for its computer, or the plugin watcher of a session crewed
546
- * by hand.
576
+ * which is named for its computer, the plugin watcher of a session crewed
577
+ * by hand, or what the lease stated wakes it: a person's app, the gateway or
578
+ * an app's adapter.
547
579
  */
548
580
  export declare const computerSideSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
549
581
  kind: z.ZodLiteral<"trierarch">;
@@ -553,6 +585,12 @@ export declare const computerSideSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
553
585
  }, z.core.$strip>;
554
586
  }, z.core.$strip>, z.ZodObject<{
555
587
  kind: z.ZodLiteral<"pluginWatcher">;
588
+ }, z.core.$strip>, z.ZodObject<{
589
+ kind: z.ZodLiteral<"personApp">;
590
+ }, z.core.$strip>, z.ZodObject<{
591
+ kind: z.ZodLiteral<"gateway">;
592
+ }, z.core.$strip>, z.ZodObject<{
593
+ kind: z.ZodLiteral<"adapter">;
556
594
  }, z.core.$strip>], "kind">;
557
595
  export type ComputerSide = z.infer<typeof computerSideSchema>;
558
596
  /** Who holds a delivery now: the fleet, a computer side, or the agent. */
@@ -566,6 +604,12 @@ export declare const deliveryHolderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
566
604
  }, z.core.$strip>;
567
605
  }, z.core.$strip>, z.ZodObject<{
568
606
  kind: z.ZodLiteral<"pluginWatcher">;
607
+ }, z.core.$strip>, z.ZodObject<{
608
+ kind: z.ZodLiteral<"personApp">;
609
+ }, z.core.$strip>, z.ZodObject<{
610
+ kind: z.ZodLiteral<"gateway">;
611
+ }, z.core.$strip>, z.ZodObject<{
612
+ kind: z.ZodLiteral<"adapter">;
569
613
  }, z.core.$strip>, z.ZodObject<{
570
614
  kind: z.ZodLiteral<"agent">;
571
615
  }, z.core.$strip>], "kind">;
@@ -610,8 +654,15 @@ export declare const deliveryHistoryEntrySchema: z.ZodObject<{
610
654
  }, z.core.$strip>;
611
655
  }, z.core.$strip>, z.ZodObject<{
612
656
  kind: z.ZodLiteral<"pluginWatcher">;
657
+ }, z.core.$strip>, z.ZodObject<{
658
+ kind: z.ZodLiteral<"personApp">;
659
+ }, z.core.$strip>, z.ZodObject<{
660
+ kind: z.ZodLiteral<"gateway">;
661
+ }, z.core.$strip>, z.ZodObject<{
662
+ kind: z.ZodLiteral<"adapter">;
613
663
  }, z.core.$strip>], "kind">>;
614
664
  handOverNumber: z.ZodNullable<z.ZodInt>;
665
+ channel: z.ZodNullable<z.ZodString>;
615
666
  isAgain: z.ZodBoolean;
616
667
  isOnceMore: z.ZodBoolean;
617
668
  overdue: z.ZodNullable<z.ZodObject<{
@@ -629,6 +680,7 @@ export declare const deliveryHistoryEntrySchema: z.ZodObject<{
629
680
  takenOver: "takenOver";
630
681
  signedOut: "signedOut";
631
682
  passwordReset: "passwordReset";
683
+ accountCutOff: "accountCutOff";
632
684
  }>>;
633
685
  }, z.core.$strip>;
634
686
  export type DeliveryHistoryEntry = z.infer<typeof deliveryHistoryEntrySchema>;
@@ -649,6 +701,12 @@ export declare const deliveryWaySchema: z.ZodObject<{
649
701
  }, z.core.$strip>;
650
702
  }, z.core.$strip>, z.ZodObject<{
651
703
  kind: z.ZodLiteral<"pluginWatcher">;
704
+ }, z.core.$strip>, z.ZodObject<{
705
+ kind: z.ZodLiteral<"personApp">;
706
+ }, z.core.$strip>, z.ZodObject<{
707
+ kind: z.ZodLiteral<"gateway">;
708
+ }, z.core.$strip>, z.ZodObject<{
709
+ kind: z.ZodLiteral<"adapter">;
652
710
  }, z.core.$strip>, z.ZodObject<{
653
711
  kind: z.ZodLiteral<"agent">;
654
712
  }, z.core.$strip>], "kind">>;
@@ -672,6 +730,12 @@ export declare const deliveryWaySchema: z.ZodObject<{
672
730
  }, z.core.$strip>;
673
731
  }, z.core.$strip>, z.ZodObject<{
674
732
  kind: z.ZodLiteral<"pluginWatcher">;
733
+ }, z.core.$strip>, z.ZodObject<{
734
+ kind: z.ZodLiteral<"personApp">;
735
+ }, z.core.$strip>, z.ZodObject<{
736
+ kind: z.ZodLiteral<"gateway">;
737
+ }, z.core.$strip>, z.ZodObject<{
738
+ kind: z.ZodLiteral<"adapter">;
675
739
  }, z.core.$strip>], "kind">>;
676
740
  isEnded: z.ZodBoolean;
677
741
  turn: z.ZodNullable<z.ZodObject<{
@@ -708,6 +772,12 @@ export type MessageReply = z.infer<typeof messageReplySchema>;
708
772
  /** Output of `fleet.message`: the envelope, the payload, its replies and the delivery with its way and its history, newest first. */
709
773
  export declare const messageOutputSchema: z.ZodObject<{
710
774
  id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
775
+ sentAt: z.ZodISODateTime;
776
+ model: z.ZodNullable<z.ZodString>;
777
+ sender: z.ZodObject<{
778
+ id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
779
+ name: z.ZodString;
780
+ }, z.core.$strip>;
711
781
  recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
712
782
  kind: z.ZodLiteral<"ship">;
713
783
  ship: z.ZodObject<{
@@ -719,13 +789,7 @@ export declare const messageOutputSchema: z.ZodObject<{
719
789
  type: z.ZodString;
720
790
  }, z.core.$strip>], "kind">;
721
791
  contentType: z.ZodString;
722
- model: z.ZodNullable<z.ZodString>;
723
792
  inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
724
- sentAt: z.ZodISODateTime;
725
- sender: z.ZodObject<{
726
- id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
727
- name: z.ZodString;
728
- }, z.core.$strip>;
729
793
  payload: z.ZodString;
730
794
  replies: z.ZodArray<z.ZodObject<{
731
795
  id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
@@ -764,6 +828,12 @@ export declare const messageOutputSchema: z.ZodObject<{
764
828
  }, z.core.$strip>;
765
829
  }, z.core.$strip>, z.ZodObject<{
766
830
  kind: z.ZodLiteral<"pluginWatcher">;
831
+ }, z.core.$strip>, z.ZodObject<{
832
+ kind: z.ZodLiteral<"personApp">;
833
+ }, z.core.$strip>, z.ZodObject<{
834
+ kind: z.ZodLiteral<"gateway">;
835
+ }, z.core.$strip>, z.ZodObject<{
836
+ kind: z.ZodLiteral<"adapter">;
767
837
  }, z.core.$strip>, z.ZodObject<{
768
838
  kind: z.ZodLiteral<"agent">;
769
839
  }, z.core.$strip>], "kind">>;
@@ -787,6 +857,12 @@ export declare const messageOutputSchema: z.ZodObject<{
787
857
  }, z.core.$strip>;
788
858
  }, z.core.$strip>, z.ZodObject<{
789
859
  kind: z.ZodLiteral<"pluginWatcher">;
860
+ }, z.core.$strip>, z.ZodObject<{
861
+ kind: z.ZodLiteral<"personApp">;
862
+ }, z.core.$strip>, z.ZodObject<{
863
+ kind: z.ZodLiteral<"gateway">;
864
+ }, z.core.$strip>, z.ZodObject<{
865
+ kind: z.ZodLiteral<"adapter">;
790
866
  }, z.core.$strip>], "kind">>;
791
867
  isEnded: z.ZodBoolean;
792
868
  turn: z.ZodNullable<z.ZodObject<{
@@ -848,8 +924,15 @@ export declare const messageOutputSchema: z.ZodObject<{
848
924
  }, z.core.$strip>;
849
925
  }, z.core.$strip>, z.ZodObject<{
850
926
  kind: z.ZodLiteral<"pluginWatcher">;
927
+ }, z.core.$strip>, z.ZodObject<{
928
+ kind: z.ZodLiteral<"personApp">;
929
+ }, z.core.$strip>, z.ZodObject<{
930
+ kind: z.ZodLiteral<"gateway">;
931
+ }, z.core.$strip>, z.ZodObject<{
932
+ kind: z.ZodLiteral<"adapter">;
851
933
  }, z.core.$strip>], "kind">>;
852
934
  handOverNumber: z.ZodNullable<z.ZodInt>;
935
+ channel: z.ZodNullable<z.ZodString>;
853
936
  isAgain: z.ZodBoolean;
854
937
  isOnceMore: z.ZodBoolean;
855
938
  overdue: z.ZodNullable<z.ZodObject<{
@@ -867,6 +950,7 @@ export declare const messageOutputSchema: z.ZodObject<{
867
950
  takenOver: "takenOver";
868
951
  signedOut: "signedOut";
869
952
  passwordReset: "passwordReset";
953
+ accountCutOff: "accountCutOff";
870
954
  }>>;
871
955
  }, z.core.$strip>>;
872
956
  }, z.core.$strip>;
@@ -889,6 +973,12 @@ export declare const shipWayOutputSchema: z.ZodObject<{
889
973
  }, z.core.$strip>;
890
974
  }, z.core.$strip>, z.ZodObject<{
891
975
  kind: z.ZodLiteral<"pluginWatcher">;
976
+ }, z.core.$strip>, z.ZodObject<{
977
+ kind: z.ZodLiteral<"personApp">;
978
+ }, z.core.$strip>, z.ZodObject<{
979
+ kind: z.ZodLiteral<"gateway">;
980
+ }, z.core.$strip>, z.ZodObject<{
981
+ kind: z.ZodLiteral<"adapter">;
892
982
  }, z.core.$strip>], "kind">>;
893
983
  turn: z.ZodNullable<z.ZodObject<{
894
984
  turn: z.ZodEnum<{
@@ -928,6 +1018,12 @@ export declare const shipWayOutputSchema: z.ZodObject<{
928
1018
  }, z.core.$strip>;
929
1019
  }, z.core.$strip>, z.ZodObject<{
930
1020
  kind: z.ZodLiteral<"pluginWatcher">;
1021
+ }, z.core.$strip>, z.ZodObject<{
1022
+ kind: z.ZodLiteral<"personApp">;
1023
+ }, z.core.$strip>, z.ZodObject<{
1024
+ kind: z.ZodLiteral<"gateway">;
1025
+ }, z.core.$strip>, z.ZodObject<{
1026
+ kind: z.ZodLiteral<"adapter">;
931
1027
  }, z.core.$strip>, z.ZodObject<{
932
1028
  kind: z.ZodLiteral<"agent">;
933
1029
  }, z.core.$strip>], "kind">>;
@@ -951,6 +1047,12 @@ export declare const shipWayOutputSchema: z.ZodObject<{
951
1047
  }, z.core.$strip>;
952
1048
  }, z.core.$strip>, z.ZodObject<{
953
1049
  kind: z.ZodLiteral<"pluginWatcher">;
1050
+ }, z.core.$strip>, z.ZodObject<{
1051
+ kind: z.ZodLiteral<"personApp">;
1052
+ }, z.core.$strip>, z.ZodObject<{
1053
+ kind: z.ZodLiteral<"gateway">;
1054
+ }, z.core.$strip>, z.ZodObject<{
1055
+ kind: z.ZodLiteral<"adapter">;
954
1056
  }, z.core.$strip>], "kind">>;
955
1057
  isEnded: z.ZodBoolean;
956
1058
  turn: z.ZodNullable<z.ZodObject<{