@cloop/runner 0.3.67 → 0.3.69
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/{box-NMG35YB2.js → box-UOJ6ET2B.js} +203 -522
- package/dist/{chunk-7LPSTDZE.js → chunk-4JTIWZHB.js} +1 -1
- package/dist/{chunk-IK7YYRMU.js → chunk-57E5WOOP.js} +574 -1673
- package/dist/{chunk-5RB7XKPB.js → chunk-AZQGERT7.js} +13 -1
- package/dist/{chunk-TCNIRZLU.js → chunk-CLOYOD2X.js} +10 -6
- package/dist/{chunk-6LYMSWSB.js → chunk-DN6TQALA.js} +265 -1961
- package/dist/{chunk-KYDTE53W.js → chunk-DTUNRKBC.js} +1 -1
- package/dist/chunk-EEG5JOZ7.js +939 -0
- package/dist/chunk-GAEZIKCK.js +626 -0
- package/dist/chunk-HIBAH65V.js +1178 -0
- package/dist/{chunk-7ZL3Z3IO.js → chunk-JI5FWLDU.js} +6 -6
- package/dist/chunk-JJWSPBM4.js +40 -0
- package/dist/{chunk-OIHUQBA4.js → chunk-KIYCULVE.js} +4 -2
- package/dist/{chunk-QKRGJKJN.js → chunk-SJAGZNFF.js} +3 -83
- package/dist/chunk-TPKYD3JF.js +43 -0
- package/dist/chunk-WCKW2Z2G.js +459 -0
- package/dist/chunk-ZHQSGJCE.js +85 -0
- package/dist/{connect-3GG5D7XC.js → connect-HVOAYXWM.js} +12 -48
- package/dist/disconnect-DQ6WSDR7.js +163 -0
- package/dist/existing-runner-BSSRQFFP.js +15 -0
- package/dist/index.js +14 -14
- package/dist/{login-COK223KI.js → login-4HWP4PF4.js} +3 -2
- package/dist/{mcp-server-5525QT5K.js → mcp-server-DTJVCFRG.js} +10 -10
- package/dist/{runner-NSFLXWNP.js → runner-4XWS2RJL.js} +4 -3
- package/dist/{runs-DOFU45TW.js → runs-TWUGWGNU.js} +4 -2
- package/dist/{statusline-QHEED6IO.js → statusline-C2FH3YQ4.js} +1 -1
- package/dist/{takeover-U2EHJ5GW.js → takeover-5QSP6YAG.js} +6 -4
- package/dist/{use-J6CNF6JU.js → use-U3E55XBK.js} +20 -13
- package/package.json +1 -1
- package/dist/disconnect-VK3CZIDQ.js +0 -30
- package/dist/existing-runner-NNXJGK2R.js +0 -20
|
@@ -79,6 +79,16 @@ function callOutcome(input) {
|
|
|
79
79
|
function outcomeLine(o) {
|
|
80
80
|
return `call tool=${o.tool} call=${o.call ?? "-"} work=${o.work ?? "-"} ms=${o.ms} ok=${o.ok}${o.error ? ` error=${o.error}` : ""}`;
|
|
81
81
|
}
|
|
82
|
+
var STAY_REASONS = [
|
|
83
|
+
"no_latest",
|
|
84
|
+
"current",
|
|
85
|
+
"failed_before",
|
|
86
|
+
"not_a_release",
|
|
87
|
+
"no_service",
|
|
88
|
+
"not_our_service",
|
|
89
|
+
"no_detach",
|
|
90
|
+
"busy"
|
|
91
|
+
];
|
|
82
92
|
var PLATFORMS = ["darwin", "linux", "win32", "freebsd", "openbsd", "aix", "sunos"];
|
|
83
93
|
var ARCHES = ["arm64", "x64", "arm", "ia32", "ppc64", "s390x"];
|
|
84
94
|
var iso = (value) => typeof value === "string" && !Number.isNaN(Date.parse(value)) && /^\d{4}-\d\d-\d\dT[\d:.]+Z$/.test(value) ? value : null;
|
|
@@ -99,7 +109,9 @@ function buildDiag(input) {
|
|
|
99
109
|
update: {
|
|
100
110
|
checked_at: iso(input.update.checked_at),
|
|
101
111
|
latest: version(input.update.latest) ?? null,
|
|
102
|
-
error: errorCode(input.update.error) ?? null
|
|
112
|
+
error: errorCode(input.update.error) ?? null,
|
|
113
|
+
stay: oneOf(STAY_REASONS)(input.update.stay) ?? null,
|
|
114
|
+
failed: version(input.update.failed) ?? null
|
|
103
115
|
},
|
|
104
116
|
unacked_results: count(input.unacked) ?? 0,
|
|
105
117
|
clock_offset_ms: typeof input.clockOffsetMs === "number" && Number.isInteger(input.clockOffsetMs) && Math.abs(input.clockOffsetMs) <= 1e12 ? input.clockOffsetMs : null,
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
STOPPED_SUMMARY,
|
|
4
|
-
isEndLogLine,
|
|
5
|
-
isLocal,
|
|
6
3
|
localRunsFilePath,
|
|
7
4
|
readRunRecords,
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
runHarness
|
|
6
|
+
} from "./chunk-HIBAH65V.js";
|
|
7
|
+
import {
|
|
8
|
+
STOPPED_SUMMARY,
|
|
9
|
+
isEndLogLine,
|
|
10
10
|
runLogDir,
|
|
11
11
|
runLogPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DN6TQALA.js";
|
|
13
|
+
import {
|
|
14
|
+
isLocal,
|
|
15
|
+
readRunnerConfig
|
|
16
|
+
} from "./chunk-GAEZIKCK.js";
|
|
13
17
|
import {
|
|
14
18
|
sanitizeLabel,
|
|
15
19
|
stripControl
|