@sjawhar/pi-legion-envoy 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/envoy.js +16 -4
- package/dist/legion.js +16 -4
- package/package.json +4 -1
package/dist/envoy.js
CHANGED
|
@@ -30216,12 +30216,24 @@ var controllerIssue = strictObject({
|
|
|
30216
30216
|
issue: nonEmptyString
|
|
30217
30217
|
});
|
|
30218
30218
|
var TREE_STATUSES = ["queued", "active", "lingering", "dead", "launch-failed", "closed"];
|
|
30219
|
-
var
|
|
30219
|
+
var stateTmuxLocator = strictObject({
|
|
30220
|
+
runtime: literal("tmux"),
|
|
30220
30221
|
tmuxSession: nonEmptyString,
|
|
30221
30222
|
tmuxWindowId: nonEmptyString,
|
|
30222
30223
|
tmuxPaneId: nonEmptyString.optional()
|
|
30223
30224
|
});
|
|
30224
|
-
var
|
|
30225
|
+
var stateK8sLocator = strictObject({
|
|
30226
|
+
runtime: literal("kubernetes"),
|
|
30227
|
+
namespace: nonEmptyString,
|
|
30228
|
+
podName: nonEmptyString,
|
|
30229
|
+
podUid: nonEmptyString,
|
|
30230
|
+
pvcName: nonEmptyString
|
|
30231
|
+
});
|
|
30232
|
+
var stateLocator = discriminatedUnion("runtime", [stateTmuxLocator, stateK8sLocator]);
|
|
30233
|
+
var stateTreeLocator = discriminatedUnion("runtime", [
|
|
30234
|
+
stateTmuxLocator.extend({ ompSessionFile: nonEmptyString.optional() }),
|
|
30235
|
+
stateK8sLocator.extend({ ompSessionFile: nonEmptyString.optional() })
|
|
30236
|
+
]);
|
|
30225
30237
|
var stateIssue = strictObject({
|
|
30226
30238
|
key: nonEmptyString,
|
|
30227
30239
|
title: string2(),
|
|
@@ -30248,7 +30260,7 @@ var stateRole = strictObject({
|
|
|
30248
30260
|
sessionId: nonEmptyString.optional(),
|
|
30249
30261
|
readyConfirmedAt: number2().optional(),
|
|
30250
30262
|
launchFailures: number2().int().nonnegative().optional(),
|
|
30251
|
-
locator:
|
|
30263
|
+
locator: stateLocator.optional()
|
|
30252
30264
|
});
|
|
30253
30265
|
var LegionDaemonApi = {
|
|
30254
30266
|
State: {
|
|
@@ -30263,7 +30275,7 @@ var LegionDaemonApi = {
|
|
|
30263
30275
|
queue: array(nonEmptyString)
|
|
30264
30276
|
}),
|
|
30265
30277
|
gates: record(string2(), stateGate),
|
|
30266
|
-
controllerLocator:
|
|
30278
|
+
controllerLocator: stateLocator.optional(),
|
|
30267
30279
|
roles: record(string2(), stateRole),
|
|
30268
30280
|
controllerPendingNotices: number2().int().nonnegative(),
|
|
30269
30281
|
pendingStatusWrites: array(nonEmptyString)
|
package/dist/legion.js
CHANGED
|
@@ -30215,12 +30215,24 @@ var controllerIssue = strictObject({
|
|
|
30215
30215
|
issue: nonEmptyString
|
|
30216
30216
|
});
|
|
30217
30217
|
var TREE_STATUSES = ["queued", "active", "lingering", "dead", "launch-failed", "closed"];
|
|
30218
|
-
var
|
|
30218
|
+
var stateTmuxLocator = strictObject({
|
|
30219
|
+
runtime: literal("tmux"),
|
|
30219
30220
|
tmuxSession: nonEmptyString,
|
|
30220
30221
|
tmuxWindowId: nonEmptyString,
|
|
30221
30222
|
tmuxPaneId: nonEmptyString.optional()
|
|
30222
30223
|
});
|
|
30223
|
-
var
|
|
30224
|
+
var stateK8sLocator = strictObject({
|
|
30225
|
+
runtime: literal("kubernetes"),
|
|
30226
|
+
namespace: nonEmptyString,
|
|
30227
|
+
podName: nonEmptyString,
|
|
30228
|
+
podUid: nonEmptyString,
|
|
30229
|
+
pvcName: nonEmptyString
|
|
30230
|
+
});
|
|
30231
|
+
var stateLocator = discriminatedUnion("runtime", [stateTmuxLocator, stateK8sLocator]);
|
|
30232
|
+
var stateTreeLocator = discriminatedUnion("runtime", [
|
|
30233
|
+
stateTmuxLocator.extend({ ompSessionFile: nonEmptyString.optional() }),
|
|
30234
|
+
stateK8sLocator.extend({ ompSessionFile: nonEmptyString.optional() })
|
|
30235
|
+
]);
|
|
30224
30236
|
var stateIssue = strictObject({
|
|
30225
30237
|
key: nonEmptyString,
|
|
30226
30238
|
title: string2(),
|
|
@@ -30247,7 +30259,7 @@ var stateRole = strictObject({
|
|
|
30247
30259
|
sessionId: nonEmptyString.optional(),
|
|
30248
30260
|
readyConfirmedAt: number2().optional(),
|
|
30249
30261
|
launchFailures: number2().int().nonnegative().optional(),
|
|
30250
|
-
locator:
|
|
30262
|
+
locator: stateLocator.optional()
|
|
30251
30263
|
});
|
|
30252
30264
|
var LegionDaemonApi = {
|
|
30253
30265
|
State: {
|
|
@@ -30262,7 +30274,7 @@ var LegionDaemonApi = {
|
|
|
30262
30274
|
queue: array(nonEmptyString)
|
|
30263
30275
|
}),
|
|
30264
30276
|
gates: record(string2(), stateGate),
|
|
30265
|
-
controllerLocator:
|
|
30277
|
+
controllerLocator: stateLocator.optional(),
|
|
30266
30278
|
roles: record(string2(), stateRole),
|
|
30267
30279
|
controllerPendingNotices: number2().int().nonnegative(),
|
|
30268
30280
|
pendingStatusWrites: array(nonEmptyString)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjawhar/pi-legion-envoy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"omp": {
|
|
6
6
|
"extensions": [
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"dist/skills"
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
|
+
"legion": {
|
|
15
|
+
"daemonApiVersion": 1
|
|
16
|
+
},
|
|
14
17
|
"repository": {
|
|
15
18
|
"type": "git",
|
|
16
19
|
"url": "https://github.com/sjawhar/legion"
|