@aeolus-fleet/common 0.24.1 → 0.25.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.
- package/dist/fleet/index.d.ts +19 -6
- package/dist/fleet/index.js +24 -4
- package/dist/fleet/index.js.map +1 -1
- package/dist/schemas/crew-request.d.ts +4 -4
- package/dist/schemas/crew-request.js +4 -4
- package/dist/schemas/delivery.d.ts +97 -0
- package/dist/schemas/delivery.js +37 -0
- package/dist/schemas/delivery.js.map +1 -1
- package/dist/schemas/fleet.d.ts +19 -7
- package/dist/schemas/fleet.js +2 -2
- package/dist/schemas/fleet.js.map +1 -1
- package/dist/schemas/follow.d.ts +7 -1
- package/dist/schemas/history.d.ts +391 -12
- package/dist/schemas/history.js +99 -9
- package/dist/schemas/history.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/installation.d.ts +14 -0
- package/dist/schemas/installation.js +13 -0
- package/dist/schemas/installation.js.map +1 -1
- package/dist/schemas/needs-attention.d.ts +166 -6
- package/dist/schemas/needs-attention.js +47 -11
- package/dist/schemas/needs-attention.js.map +1 -1
- package/dist/schemas/operator-inbox.d.ts +8 -2
- package/dist/schemas/turn.d.ts +26 -0
- package/dist/schemas/turn.js +15 -0
- package/dist/schemas/turn.js.map +1 -0
- package/dist/trierarch/configuration.d.ts +8 -0
- package/dist/trierarch/configuration.js +14 -0
- package/dist/trierarch/configuration.js.map +1 -1
- package/dist/trierarch/crew-settings.d.ts +19 -1
- package/dist/trierarch/crew-settings.js +25 -1
- package/dist/trierarch/crew-settings.js.map +1 -1
- package/dist/trierarch/report-details.d.ts +6 -0
- package/dist/trierarch/report-details.js +8 -0
- package/dist/trierarch/report-details.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.js","sourceRoot":"","sources":["../../src/schemas/history.ts"],"names":[],"mapp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OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;KAClE,CAAC;SACD,QAAQ,EAAE;IACb,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,MAAM,EAAE,CAAC;SACN,MAAM,CAAC;QACN,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC;QAC9B,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;QACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,iBAAiB,EAAE,CAAC;KAC/H,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC"}
|
package/dist/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
@@ -59,6 +59,13 @@ export declare const installationFleetSchema: z.ZodObject<{
|
|
|
59
59
|
applies: z.ZodNullable<z.ZodInt>;
|
|
60
60
|
}, z.core.$strip>;
|
|
61
61
|
}, z.core.$strip>;
|
|
62
|
+
health: z.ZodObject<{
|
|
63
|
+
oldestPendingAt: z.ZodNullable<z.ZodISODateTime>;
|
|
64
|
+
oldestInFlightAt: z.ZodNullable<z.ZodISODateTime>;
|
|
65
|
+
noShipCanTake: z.ZodInt;
|
|
66
|
+
needsAttention: z.ZodInt;
|
|
67
|
+
overdue: z.ZodInt;
|
|
68
|
+
}, z.core.$strip>;
|
|
62
69
|
}, z.core.$strip>;
|
|
63
70
|
export type InstallationFleet = z.infer<typeof installationFleetSchema>;
|
|
64
71
|
export declare const installationFleetsListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -95,6 +102,13 @@ export declare const installationFleetsListOutputSchema: z.ZodArray<z.ZodObject<
|
|
|
95
102
|
applies: z.ZodNullable<z.ZodInt>;
|
|
96
103
|
}, z.core.$strip>;
|
|
97
104
|
}, z.core.$strip>;
|
|
105
|
+
health: z.ZodObject<{
|
|
106
|
+
oldestPendingAt: z.ZodNullable<z.ZodISODateTime>;
|
|
107
|
+
oldestInFlightAt: z.ZodNullable<z.ZodISODateTime>;
|
|
108
|
+
noShipCanTake: z.ZodInt;
|
|
109
|
+
needsAttention: z.ZodInt;
|
|
110
|
+
overdue: z.ZodInt;
|
|
111
|
+
}, z.core.$strip>;
|
|
98
112
|
}, z.core.$strip>>;
|
|
99
113
|
export declare const installationFleetsGetInputSchema: z.ZodObject<{
|
|
100
114
|
fleetId: z.ZodType<`flt_${string}`, unknown, z.core.$ZodTypeInternals<`flt_${string}`, unknown>>;
|
|
@@ -50,6 +50,19 @@ export const installationFleetSchema = z.object({
|
|
|
50
50
|
messagesPerDay: z.array(z.object({ date: z.iso.date(), count: z.int().min(0) })),
|
|
51
51
|
/** How each limit is set and the limit that applies (null: none). */
|
|
52
52
|
limits: z.object({ ships: fleetLimitSchema, dailyMessages: fleetLimitSchema }),
|
|
53
|
+
/** Whether its deliveries reach their ships (#304). */
|
|
54
|
+
health: z.object({
|
|
55
|
+
/** When its oldest pending delivery was sent; null when none is pending. */
|
|
56
|
+
oldestPendingAt: z.iso.datetime().nullable(),
|
|
57
|
+
/** Since when its oldest delivery in flight (received or handed) is in its state; null when none is. */
|
|
58
|
+
oldestInFlightAt: z.iso.datetime().nullable(),
|
|
59
|
+
/** Pending deliveries to a type no active ship can take. */
|
|
60
|
+
noShipCanTake: z.int().min(0),
|
|
61
|
+
/** Undeliverable and not handled deliveries, as Needs attention lists them. */
|
|
62
|
+
needsAttention: z.int().min(0),
|
|
63
|
+
/** Overdue deliveries argo was told of that still stand. */
|
|
64
|
+
overdue: z.int().min(0),
|
|
65
|
+
}),
|
|
53
66
|
});
|
|
54
67
|
export const installationFleetsListOutputSchema = z.array(installationFleetSchema);
|
|
55
68
|
export const installationFleetsGetInputSchema = z.strictObject({ fleetId: idSchema('fleet') });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installation.js","sourceRoot":"","sources":["../../src/schemas/installation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;GAKG;AAEH,0GAA0G;AAC1G,MAAM,WAAW,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;AAE9C,mIAAmI;AACnI,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAClE,CAAC,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC;IAC9C,CAAC,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;CACjE,CAAC,CAAC;AAIH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;AAE9F,kGAAkG;AAClG,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,YAAY,CAAC;IAChE,SAAS,EAAE,oBAAoB;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC;IACtE,qHAAqH;IACrH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CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AACnG;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,gBAAgB,EAAE,WAAW;IAC7B,wBAAwB,EAAE,WAAW;IACrC,QAAQ,EAAE,WAAW;CACtB,CAAC,CAAC;AAIH,yGAAyG;AACzG,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC;IAC1B,KAAK,EAAE,gBAAgB;IACvB,aAAa,EAAE,gBAAgB;CAChC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,YAAY,CAAC;IACnE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC;IAC1B,KAAK,EAAE,uBAAuB,CAAC,QAAQ,EAAE;IACzC,aAAa,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/** One
|
|
3
|
-
export declare const
|
|
2
|
+
/** One delivery in Needs attention: its state, its claims, since when, and its whole message. */
|
|
3
|
+
export declare const needsAttentionDeliverySchema: z.ZodObject<{
|
|
4
4
|
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
5
|
+
state: z.ZodEnum<{
|
|
6
|
+
notHandled: "notHandled";
|
|
7
|
+
undeliverable: "undeliverable";
|
|
8
|
+
}>;
|
|
5
9
|
attempts: z.ZodInt;
|
|
10
|
+
isPushed: z.ZodBoolean;
|
|
6
11
|
since: z.ZodISODateTime;
|
|
7
12
|
message: z.ZodObject<{
|
|
8
13
|
id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
|
|
@@ -27,11 +32,16 @@ export declare const undeliverableDeliverySchema: z.ZodObject<{
|
|
|
27
32
|
payload: z.ZodString;
|
|
28
33
|
}, z.core.$strip>;
|
|
29
34
|
}, z.core.$strip>;
|
|
30
|
-
export type
|
|
31
|
-
/** Output of `fleet.needsAttention`: every undeliverable delivery of the fleet, oldest first. */
|
|
35
|
+
export type NeedsAttentionDelivery = z.infer<typeof needsAttentionDeliverySchema>;
|
|
36
|
+
/** Output of `fleet.needsAttention`: every undeliverable or not handled delivery of the fleet, oldest first. */
|
|
32
37
|
export declare const needsAttentionOutputSchema: z.ZodArray<z.ZodObject<{
|
|
33
38
|
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
39
|
+
state: z.ZodEnum<{
|
|
40
|
+
notHandled: "notHandled";
|
|
41
|
+
undeliverable: "undeliverable";
|
|
42
|
+
}>;
|
|
34
43
|
attempts: z.ZodInt;
|
|
44
|
+
isPushed: z.ZodBoolean;
|
|
35
45
|
since: z.ZodISODateTime;
|
|
36
46
|
message: z.ZodObject<{
|
|
37
47
|
id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
|
|
@@ -56,14 +66,164 @@ export declare const needsAttentionOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
56
66
|
payload: z.ZodString;
|
|
57
67
|
}, z.core.$strip>;
|
|
58
68
|
}, z.core.$strip>>;
|
|
59
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* One delivery argo was told is overdue (decision 0040): the ship whose 10 or
|
|
71
|
+
* 60 minute clock ran out, the state it waits in, which clock, when argo was
|
|
72
|
+
* told, and its whole message. It clears by itself; nothing resends or
|
|
73
|
+
* dismisses it.
|
|
74
|
+
*/
|
|
75
|
+
export declare const overdueDeliverySchema: z.ZodObject<{
|
|
76
|
+
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
77
|
+
ship: z.ZodObject<{
|
|
78
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
79
|
+
name: z.ZodString;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
state: z.ZodEnum<{
|
|
82
|
+
pending: "pending";
|
|
83
|
+
received: "received";
|
|
84
|
+
handed: "handed";
|
|
85
|
+
}>;
|
|
86
|
+
clock: z.ZodEnum<{
|
|
87
|
+
idle: "idle";
|
|
88
|
+
busy: "busy";
|
|
89
|
+
notConfirmed: "notConfirmed";
|
|
90
|
+
}>;
|
|
91
|
+
minutes: z.ZodInt;
|
|
92
|
+
toldAt: z.ZodISODateTime;
|
|
93
|
+
message: z.ZodObject<{
|
|
94
|
+
id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
|
|
95
|
+
sender: z.ZodObject<{
|
|
96
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
97
|
+
name: z.ZodString;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
100
|
+
kind: z.ZodLiteral<"ship">;
|
|
101
|
+
ship: z.ZodObject<{
|
|
102
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
103
|
+
name: z.ZodString;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
106
|
+
kind: z.ZodLiteral<"type">;
|
|
107
|
+
type: z.ZodString;
|
|
108
|
+
}, z.core.$strip>], "kind">;
|
|
109
|
+
inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
|
|
110
|
+
sentAt: z.ZodISODateTime;
|
|
111
|
+
contentType: z.ZodString;
|
|
112
|
+
isPing: z.ZodBoolean;
|
|
113
|
+
payload: z.ZodString;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
export type OverdueDelivery = z.infer<typeof overdueDeliverySchema>;
|
|
117
|
+
/** Output of `fleet.overdue`: every overdue delivery of the fleet that still stands, oldest told first. */
|
|
118
|
+
export declare const overdueOutputSchema: z.ZodArray<z.ZodObject<{
|
|
119
|
+
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
120
|
+
ship: z.ZodObject<{
|
|
121
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
122
|
+
name: z.ZodString;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
state: z.ZodEnum<{
|
|
125
|
+
pending: "pending";
|
|
126
|
+
received: "received";
|
|
127
|
+
handed: "handed";
|
|
128
|
+
}>;
|
|
129
|
+
clock: z.ZodEnum<{
|
|
130
|
+
idle: "idle";
|
|
131
|
+
busy: "busy";
|
|
132
|
+
notConfirmed: "notConfirmed";
|
|
133
|
+
}>;
|
|
134
|
+
minutes: z.ZodInt;
|
|
135
|
+
toldAt: z.ZodISODateTime;
|
|
136
|
+
message: z.ZodObject<{
|
|
137
|
+
id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
|
|
138
|
+
sender: z.ZodObject<{
|
|
139
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
140
|
+
name: z.ZodString;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
143
|
+
kind: z.ZodLiteral<"ship">;
|
|
144
|
+
ship: z.ZodObject<{
|
|
145
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
kind: z.ZodLiteral<"type">;
|
|
150
|
+
type: z.ZodString;
|
|
151
|
+
}, z.core.$strip>], "kind">;
|
|
152
|
+
inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
|
|
153
|
+
sentAt: z.ZodISODateTime;
|
|
154
|
+
contentType: z.ZodString;
|
|
155
|
+
isPing: z.ZodBoolean;
|
|
156
|
+
payload: z.ZodString;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
}, z.core.$strip>>;
|
|
159
|
+
/**
|
|
160
|
+
* One pending delivery to a type no active ship can take (decision 0041):
|
|
161
|
+
* none of the type is left, or none its sender may reach (decision 0034). Its
|
|
162
|
+
* type and its whole message. It clears by itself once a ship can take it;
|
|
163
|
+
* nothing resends or dismisses it.
|
|
164
|
+
*/
|
|
165
|
+
export declare const noShipCanTakeDeliverySchema: z.ZodObject<{
|
|
166
|
+
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
167
|
+
type: z.ZodString;
|
|
168
|
+
message: z.ZodObject<{
|
|
169
|
+
id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
|
|
170
|
+
sender: z.ZodObject<{
|
|
171
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
172
|
+
name: z.ZodString;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
175
|
+
kind: z.ZodLiteral<"ship">;
|
|
176
|
+
ship: z.ZodObject<{
|
|
177
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
178
|
+
name: z.ZodString;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"type">;
|
|
182
|
+
type: z.ZodString;
|
|
183
|
+
}, z.core.$strip>], "kind">;
|
|
184
|
+
inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
|
|
185
|
+
sentAt: z.ZodISODateTime;
|
|
186
|
+
contentType: z.ZodString;
|
|
187
|
+
isPing: z.ZodBoolean;
|
|
188
|
+
payload: z.ZodString;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export type NoShipCanTakeDelivery = z.infer<typeof noShipCanTakeDeliverySchema>;
|
|
192
|
+
/** Output of `fleet.noShipCanTake`: every pending delivery of the fleet no ship can take, oldest sent first. */
|
|
193
|
+
export declare const noShipCanTakeOutputSchema: z.ZodArray<z.ZodObject<{
|
|
194
|
+
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
195
|
+
type: z.ZodString;
|
|
196
|
+
message: z.ZodObject<{
|
|
197
|
+
id: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
|
|
198
|
+
sender: z.ZodObject<{
|
|
199
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
200
|
+
name: z.ZodString;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
203
|
+
kind: z.ZodLiteral<"ship">;
|
|
204
|
+
ship: z.ZodObject<{
|
|
205
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
206
|
+
name: z.ZodString;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
kind: z.ZodLiteral<"type">;
|
|
210
|
+
type: z.ZodString;
|
|
211
|
+
}, z.core.$strip>], "kind">;
|
|
212
|
+
inReplyTo: z.ZodNullable<z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>>;
|
|
213
|
+
sentAt: z.ZodISODateTime;
|
|
214
|
+
contentType: z.ZodString;
|
|
215
|
+
isPing: z.ZodBoolean;
|
|
216
|
+
payload: z.ZodString;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
219
|
+
/** Input of `fleet.dismiss`: the undeliverable or not handled delivery the operator lets go. It stays in history, dismissed. */
|
|
60
220
|
export declare const dismissDeliveryInputSchema: z.ZodObject<{
|
|
61
221
|
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
62
222
|
}, z.core.$strip>;
|
|
63
223
|
/** Output of `fleet.dismiss`: nothing; the OK is the answer. */
|
|
64
224
|
export declare const dismissDeliveryOutputSchema: z.ZodObject<{}, z.core.$strict>;
|
|
65
225
|
/**
|
|
66
|
-
* Input of `fleet.resend`: the undeliverable delivery to send again, as a new
|
|
226
|
+
* Input of `fleet.resend`: the undeliverable or not handled delivery to send again, as a new
|
|
67
227
|
* message from the same sender to the same recipient that names the original.
|
|
68
228
|
*/
|
|
69
229
|
export declare const resendDeliveryInputSchema: z.ZodObject<{
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { idSchema } from '../ids/index.js';
|
|
3
|
-
import { messageRecipientSchema, partySchema } from './history.js';
|
|
3
|
+
import { messageRecipientSchema, overdueClockSchema, partySchema } from './history.js';
|
|
4
4
|
/**
|
|
5
5
|
* Inputs and outputs of Needs attention (docs/blueprint.md, 'Domain events'):
|
|
6
|
-
* the undeliverable deliveries, oldest first, which the
|
|
7
|
-
* dismisses. The list reads with fleet:read; resend and dismiss need
|
|
6
|
+
* the undeliverable and not handled deliveries, oldest first, which the
|
|
7
|
+
* operator resends or dismisses. The list reads with fleet:read; resend and dismiss need
|
|
8
8
|
* fleet:manage.
|
|
9
9
|
*/
|
|
10
10
|
/** ISO 8601 in UTC. */
|
|
11
11
|
const isoTime = z.iso.datetime();
|
|
12
|
-
/** One
|
|
13
|
-
export const
|
|
12
|
+
/** One delivery in Needs attention: its state, its claims, since when, and its whole message. */
|
|
13
|
+
export const needsAttentionDeliverySchema = z.object({
|
|
14
14
|
deliveryId: idSchema('delivery'),
|
|
15
|
-
/**
|
|
15
|
+
/** Undeliverable: handed again and again, never acknowledged. Not handled: acknowledged, and its turn died twice (decision 0040). */
|
|
16
|
+
state: z.enum(['undeliverable', 'notHandled']),
|
|
17
|
+
/** The claims counted. */
|
|
16
18
|
attempts: z.int().min(0),
|
|
17
|
-
/**
|
|
19
|
+
/** A pushed crew's computer side handed it over, with numbers; false when plain receives handed it (pulled). */
|
|
20
|
+
isPushed: z.boolean(),
|
|
21
|
+
/** When it became undeliverable, or was reported not handled. */
|
|
18
22
|
since: isoTime,
|
|
19
23
|
message: z.object({
|
|
20
24
|
id: idSchema('message'),
|
|
@@ -28,16 +32,48 @@ export const undeliverableDeliverySchema = z.object({
|
|
|
28
32
|
payload: z.string(),
|
|
29
33
|
}),
|
|
30
34
|
});
|
|
31
|
-
/** Output of `fleet.needsAttention`: every undeliverable delivery of the fleet, oldest first. */
|
|
32
|
-
export const needsAttentionOutputSchema = z.array(
|
|
33
|
-
/**
|
|
35
|
+
/** Output of `fleet.needsAttention`: every undeliverable or not handled delivery of the fleet, oldest first. */
|
|
36
|
+
export const needsAttentionOutputSchema = z.array(needsAttentionDeliverySchema);
|
|
37
|
+
/**
|
|
38
|
+
* One delivery argo was told is overdue (decision 0040): the ship whose 10 or
|
|
39
|
+
* 60 minute clock ran out, the state it waits in, which clock, when argo was
|
|
40
|
+
* told, and its whole message. It clears by itself; nothing resends or
|
|
41
|
+
* dismisses it.
|
|
42
|
+
*/
|
|
43
|
+
export const overdueDeliverySchema = z.object({
|
|
44
|
+
deliveryId: idSchema('delivery'),
|
|
45
|
+
ship: partySchema,
|
|
46
|
+
state: z.enum(['pending', 'received', 'handed']),
|
|
47
|
+
/** Handed and not confirmed, or waiting while the session is idle or busy. */
|
|
48
|
+
clock: overdueClockSchema,
|
|
49
|
+
/** After how long it ran out: 10 or 60. */
|
|
50
|
+
minutes: z.int().min(1),
|
|
51
|
+
toldAt: isoTime,
|
|
52
|
+
message: needsAttentionDeliverySchema.shape.message,
|
|
53
|
+
});
|
|
54
|
+
/** Output of `fleet.overdue`: every overdue delivery of the fleet that still stands, oldest told first. */
|
|
55
|
+
export const overdueOutputSchema = z.array(overdueDeliverySchema);
|
|
56
|
+
/**
|
|
57
|
+
* One pending delivery to a type no active ship can take (decision 0041):
|
|
58
|
+
* none of the type is left, or none its sender may reach (decision 0034). Its
|
|
59
|
+
* type and its whole message. It clears by itself once a ship can take it;
|
|
60
|
+
* nothing resends or dismisses it.
|
|
61
|
+
*/
|
|
62
|
+
export const noShipCanTakeDeliverySchema = z.object({
|
|
63
|
+
deliveryId: idSchema('delivery'),
|
|
64
|
+
type: z.string(),
|
|
65
|
+
message: needsAttentionDeliverySchema.shape.message,
|
|
66
|
+
});
|
|
67
|
+
/** Output of `fleet.noShipCanTake`: every pending delivery of the fleet no ship can take, oldest sent first. */
|
|
68
|
+
export const noShipCanTakeOutputSchema = z.array(noShipCanTakeDeliverySchema);
|
|
69
|
+
/** Input of `fleet.dismiss`: the undeliverable or not handled delivery the operator lets go. It stays in history, dismissed. */
|
|
34
70
|
export const dismissDeliveryInputSchema = z.object({
|
|
35
71
|
deliveryId: idSchema('delivery'),
|
|
36
72
|
});
|
|
37
73
|
/** Output of `fleet.dismiss`: nothing; the OK is the answer. */
|
|
38
74
|
export const dismissDeliveryOutputSchema = z.strictObject({});
|
|
39
75
|
/**
|
|
40
|
-
* Input of `fleet.resend`: the undeliverable delivery to send again, as a new
|
|
76
|
+
* Input of `fleet.resend`: the undeliverable or not handled delivery to send again, as a new
|
|
41
77
|
* message from the same sender to the same recipient that names the original.
|
|
42
78
|
*/
|
|
43
79
|
export const resendDeliveryInputSchema = z.object({
|
|
@@ -1 +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;
|
|
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,kBAAkB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEvF;;;;;GAKG;AAEH,uBAAuB;AACvB,MAAM,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;AAEjC,iGAAiG;AACjG,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC;IAChC,qIAAqI;IACrI,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;IAC9C,0BAA0B;IAC1B,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,gHAAgH;IAChH,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,iEAAiE;IACjE,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,EAAE,EAAE,QAAQ,C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,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;AAE9E,gIAAgI;AAChI,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"}
|
|
@@ -20,8 +20,11 @@ export declare const inboxMessageSchema: z.ZodObject<{
|
|
|
20
20
|
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
21
21
|
state: z.ZodEnum<{
|
|
22
22
|
pending: "pending";
|
|
23
|
-
|
|
23
|
+
received: "received";
|
|
24
|
+
handed: "handed";
|
|
24
25
|
acknowledged: "acknowledged";
|
|
26
|
+
handled: "handled";
|
|
27
|
+
notHandled: "notHandled";
|
|
25
28
|
undeliverable: "undeliverable";
|
|
26
29
|
dismissed: "dismissed";
|
|
27
30
|
abandoned: "abandoned";
|
|
@@ -54,8 +57,11 @@ export declare const operatorInboxOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
54
57
|
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
55
58
|
state: z.ZodEnum<{
|
|
56
59
|
pending: "pending";
|
|
57
|
-
|
|
60
|
+
received: "received";
|
|
61
|
+
handed: "handed";
|
|
58
62
|
acknowledged: "acknowledged";
|
|
63
|
+
handled: "handled";
|
|
64
|
+
notHandled: "notHandled";
|
|
59
65
|
undeliverable: "undeliverable";
|
|
60
66
|
dismissed: "dismissed";
|
|
61
67
|
abandoned: "abandoned";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The turn of a pushed ship's session as its hooks see it (decision 0040):
|
|
4
|
+
* busy while a turn runs, idle between turns.
|
|
5
|
+
*/
|
|
6
|
+
export declare const TURN_STATES: readonly ["idle", "busy"];
|
|
7
|
+
export declare const turnStateSchema: z.ZodEnum<{
|
|
8
|
+
idle: "idle";
|
|
9
|
+
busy: "busy";
|
|
10
|
+
}>;
|
|
11
|
+
export type TurnState = z.infer<typeof turnStateSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* Input of `ship.turn`: the turn, and the time the hook saw it, in ISO 8601,
|
|
14
|
+
* so a report sent again later keeps its own time.
|
|
15
|
+
*/
|
|
16
|
+
export declare const turnInputSchema: z.ZodObject<{
|
|
17
|
+
turn: z.ZodEnum<{
|
|
18
|
+
idle: "idle";
|
|
19
|
+
busy: "busy";
|
|
20
|
+
}>;
|
|
21
|
+
at: z.ZodISODateTime;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type TurnInput = z.infer<typeof turnInputSchema>;
|
|
24
|
+
/** Output of `ship.turn`: nothing; the OK is the answer. */
|
|
25
|
+
export declare const turnOutputSchema: z.ZodObject<{}, z.core.$strict>;
|
|
26
|
+
export type TurnOutput = z.infer<typeof turnOutputSchema>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The turn of a pushed ship's session as its hooks see it (decision 0040):
|
|
4
|
+
* busy while a turn runs, idle between turns.
|
|
5
|
+
*/
|
|
6
|
+
export const TURN_STATES = ['idle', 'busy'];
|
|
7
|
+
export const turnStateSchema = z.enum(TURN_STATES);
|
|
8
|
+
/**
|
|
9
|
+
* Input of `ship.turn`: the turn, and the time the hook saw it, in ISO 8601,
|
|
10
|
+
* so a report sent again later keeps its own time.
|
|
11
|
+
*/
|
|
12
|
+
export const turnInputSchema = z.object({ turn: turnStateSchema, at: z.iso.datetime() });
|
|
13
|
+
/** Output of `ship.turn`: nothing; the OK is the answer. */
|
|
14
|
+
export const turnOutputSchema = z.strictObject({});
|
|
15
|
+
//# sourceMappingURL=turn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"turn.js","sourceRoot":"","sources":["../../src/schemas/turn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAU,CAAC;AACrD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAGnD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;AAIzF,4DAA4D;AAC5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -2,6 +2,14 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const trierarchConfigurationSchema: z.ZodObject<{
|
|
3
3
|
$schema: z.ZodOptional<z.ZodString>;
|
|
4
4
|
worktreeRoot: z.ZodOptional<z.ZodString>;
|
|
5
|
+
runtime: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
|
+
kind: z.ZodLiteral<"host">;
|
|
7
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8
|
+
kind: z.ZodLiteral<"container">;
|
|
9
|
+
binary: z.ZodString;
|
|
10
|
+
memory: z.ZodString;
|
|
11
|
+
cpus: z.ZodNumber;
|
|
12
|
+
}, z.core.$strict>], "kind">>;
|
|
5
13
|
caps: z.ZodObject<{
|
|
6
14
|
ships: z.ZodInt;
|
|
7
15
|
running: z.ZodInt;
|
|
@@ -20,10 +20,24 @@ const harnessConfigurationSchema = z.strictObject({
|
|
|
20
20
|
flags: z.array(z.string()),
|
|
21
21
|
options: z.record(trierarchNameSchema, optionSchema),
|
|
22
22
|
});
|
|
23
|
+
/** A size as a container runtime takes it: bytes, or a whole number of b, k, m or g. */
|
|
24
|
+
const MEMORY_PATTERN = /^[1-9]\d*[bkmg]?$/i;
|
|
25
|
+
/**
|
|
26
|
+
* Where the sessions run (decision 0039): on the host, or each in a
|
|
27
|
+
* container of a rootless runtime, the docker-style binary named here, with
|
|
28
|
+
* the memory and cpu caps of each session. The model token is no part of it:
|
|
29
|
+
* it lives in a file of its own (docs/architecture.md, "Files on the machine").
|
|
30
|
+
*/
|
|
31
|
+
const runtimeSchema = z.discriminatedUnion('kind', [
|
|
32
|
+
z.strictObject({ kind: z.literal('host') }),
|
|
33
|
+
z.strictObject({ kind: z.literal('container'), binary: z.string().min(1), memory: z.string().regex(MEMORY_PATTERN), cpus: z.number().positive() }),
|
|
34
|
+
]);
|
|
23
35
|
export const trierarchConfigurationSchema = z.strictObject({
|
|
24
36
|
$schema: z.string().optional(),
|
|
25
37
|
/** Where worktrees go, one folder per ship; `~/.aeolus/trierarch/worktrees/` when left out. */
|
|
26
38
|
worktreeRoot: z.string().min(1).optional(),
|
|
39
|
+
/** Where the sessions run; on the host when left out. */
|
|
40
|
+
runtime: runtimeSchema.optional(),
|
|
27
41
|
caps: z.strictObject({ ships: z.int().positive(), running: z.int().positive() }),
|
|
28
42
|
repositories: z.record(trierarchNameSchema, placeSchema),
|
|
29
43
|
folders: z.record(trierarchNameSchema, placeSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","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O,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC;IAChF,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,mBAAmB,EAAE,WAAW,CAAC;IACxD,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,mBAAmB,EAAE,WAAW,CAAC;IACnD,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aAAa,EAAE,0BAA0B,CAAC;CAC/D,CAAC,CAAC"}
|
|
@@ -15,7 +15,7 @@ export type TrierarchWorkspace = z.infer<typeof trierarchWorkspaceSchema>;
|
|
|
15
15
|
* A crew request's settings as a trierarch reads them (decision 0027): the
|
|
16
16
|
* fixed core of an optional harness, workspace, an optional squadron, an
|
|
17
17
|
* optional first prompt and options. Without a harness, the trierarch it
|
|
18
|
-
* goes to crews it with its default: the first in its configuration. The server
|
|
18
|
+
* goes to crews it with its default: the first in its configuration. The server refuses a request whose settings this schema refuses (#809) but never acts on them; the trierarch
|
|
19
19
|
* plugin and the trierarch parse them with this schema. Never a path or a
|
|
20
20
|
* command-line flag: a workspace names a repository or folder, options pick
|
|
21
21
|
* named settings, and a first prompt never starts with `-`.
|
|
@@ -41,3 +41,21 @@ export declare const crewSettingsSchema: z.ZodObject<{
|
|
|
41
41
|
*/
|
|
42
42
|
export declare const NO_MACHINE_MATCHES_REASON = "no machine matches its labels";
|
|
43
43
|
export type CrewSettings = z.infer<typeof crewSettingsSchema>;
|
|
44
|
+
/** Why settings are not crew settings: the settings field at fault, or `settings` when the issue has no field, and the reason as one line. */
|
|
45
|
+
export interface CrewSettingsRefusal {
|
|
46
|
+
field: string;
|
|
47
|
+
reason: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Settings read as crew settings, or why they are not: the first issue, as
|
|
51
|
+
* one line with its path. The one reading for the fleet, which refuses a
|
|
52
|
+
* request whose settings are not crew settings, and the trierarch plugin,
|
|
53
|
+
* which places them (#809).
|
|
54
|
+
*/
|
|
55
|
+
export declare function readCrewSettings(settings: unknown): {
|
|
56
|
+
settings: CrewSettings;
|
|
57
|
+
} | {
|
|
58
|
+
refusal: CrewSettingsRefusal;
|
|
59
|
+
};
|
|
60
|
+
/** Why settings are not crew settings, or undefined when they are. */
|
|
61
|
+
export declare function crewSettingsRefusal(settings: unknown): CrewSettingsRefusal | undefined;
|
|
@@ -16,7 +16,7 @@ export const trierarchWorkspaceSchema = z.discriminatedUnion('kind', [
|
|
|
16
16
|
* A crew request's settings as a trierarch reads them (decision 0027): the
|
|
17
17
|
* fixed core of an optional harness, workspace, an optional squadron, an
|
|
18
18
|
* optional first prompt and options. Without a harness, the trierarch it
|
|
19
|
-
* goes to crews it with its default: the first in its configuration. The server
|
|
19
|
+
* goes to crews it with its default: the first in its configuration. The server refuses a request whose settings this schema refuses (#809) but never acts on them; the trierarch
|
|
20
20
|
* plugin and the trierarch parse them with this schema. Never a path or a
|
|
21
21
|
* command-line flag: a workspace names a repository or folder, options pick
|
|
22
22
|
* named settings, and a first prompt never starts with `-`.
|
|
@@ -47,4 +47,28 @@ export const crewSettingsSchema = z.strictObject({
|
|
|
47
47
|
* every machine label of; it waits, and the console words it in full.
|
|
48
48
|
*/
|
|
49
49
|
export const NO_MACHINE_MATCHES_REASON = 'no machine matches its labels';
|
|
50
|
+
/**
|
|
51
|
+
* Settings read as crew settings, or why they are not: the first issue, as
|
|
52
|
+
* one line with its path. The one reading for the fleet, which refuses a
|
|
53
|
+
* request whose settings are not crew settings, and the trierarch plugin,
|
|
54
|
+
* which places them (#809).
|
|
55
|
+
*/
|
|
56
|
+
export function readCrewSettings(settings) {
|
|
57
|
+
const result = crewSettingsSchema.safeParse(settings);
|
|
58
|
+
if (result.success) {
|
|
59
|
+
return { settings: result.data };
|
|
60
|
+
}
|
|
61
|
+
const [issue] = result.error.issues;
|
|
62
|
+
if (issue === undefined) {
|
|
63
|
+
return { refusal: { field: 'settings', reason: 'settings are not valid crew settings: unreadable' } };
|
|
64
|
+
}
|
|
65
|
+
const path = issue.path.map(String);
|
|
66
|
+
const line = path.length === 0 ? issue.message : `${path.join('.')}: ${issue.message}`;
|
|
67
|
+
return { refusal: { field: path[0] ?? 'settings', reason: `settings are not valid crew settings: ${line}` } };
|
|
68
|
+
}
|
|
69
|
+
/** Why settings are not crew settings, or undefined when they are. */
|
|
70
|
+
export function crewSettingsRefusal(settings) {
|
|
71
|
+
const read = readCrewSettings(settings);
|
|
72
|
+
return 'refusal' in read ? read.refusal : undefined;
|
|
73
|
+
}
|
|
50
74
|
//# sourceMappingURL=crew-settings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crew-settings.js","sourceRoot":"","sources":["../../src/trierarch/crew-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,IAAI,GAAG,IAAI,WAAW,EAAE,CAAC;AAE/B,qFAAqF;AACrF,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC;AAE3C,gHAAgH;AAChH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IACnE,CAAC,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,UAAU,EAAE,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC;IACnH,CAAC,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAA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