@outerlayer/cli 0.40.0-next.20261115113038 → 0.40.0-next.20261115113313
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/{build-JX6ITGKI.js → build-YXBIEJLS.js} +1 -1
- package/dist/build-info.json +1 -1
- package/dist/{check-OS4D4LN6.js → check-BPXM64SW.js} +8 -8
- package/dist/{chunk-H4RY2T6I.js → chunk-36E4TC2U.js} +2 -2
- package/dist/{chunk-TPVQLW5Q.js → chunk-BHX4FW7O.js} +2 -2
- package/dist/{chunk-ZHT7IJDC.js → chunk-BXMYXZAB.js} +1 -1
- package/dist/{chunk-IEU2WSC4.js → chunk-CX5SISHJ.js} +1 -1
- package/dist/{chunk-7NX2ROFF.js → chunk-E7WZCKYT.js} +1 -1
- package/dist/{chunk-2YKDXSZX.js → chunk-GNX75MQI.js} +33 -5
- package/dist/{chunk-4GYGOWO5.js → chunk-GZVMAEHO.js} +2 -2
- package/dist/{chunk-6B636UWA.js → chunk-H6J7CQSV.js} +15 -5
- package/dist/{chunk-3BPM4FIB.js → chunk-O5MO3RWQ.js} +9 -9
- package/dist/{chunk-LSUYPZDQ.js → chunk-R7OBHPWQ.js} +7 -3
- package/dist/{chunk-XSNB2SKN.js → chunk-UFHXL6PT.js} +1 -1
- package/dist/{chunk-T4D2ZDCC.js → chunk-Z34SKGVB.js} +4 -4
- package/dist/{cli-YGHAHE6B.js → cli-645WJ5EQ.js} +66 -66
- package/dist/{command-YFFSOJFG.js → command-RJ2ASVL7.js} +5 -5
- package/dist/{container-start-E3BHNHAX.js → container-start-BCIJQO5U.js} +6 -6
- package/dist/{doctor-S4B74VR6.js → doctor-3UWBBRMX.js} +6 -6
- package/dist/{governing-source-323OKKIB.js → governing-source-GPRZHSLC.js} +2 -2
- package/dist/{host-checks-O45NM3FR.js → host-checks-AOWHQL3V.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{init-GY555FEJ.js → init-4T5EC67K.js} +4 -4
- package/dist/{init-JCNL6KIH.js → init-OOYKPYJM.js} +4 -4
- package/dist/{init-agent-NAUXPN72.js → init-agent-GPEDGDHA.js} +4 -4
- package/dist/{init-cmd-QRUGFWFU.js → init-cmd-GIAREDPB.js} +2 -2
- package/dist/{loop-VWRPT6RZ.js → loop-USCXKLCB.js} +8 -8
- package/dist/{machine-ELMFTAMF.js → machine-RJ6QMO3N.js} +4 -4
- package/dist/{run-cmd-FQDKFHPW.js → run-cmd-65YREGHO.js} +1 -1
- package/dist/{runner-key-KBTAINMI.js → runner-key-LYLDFK3T.js} +4 -4
- package/dist/{spec-cmd-HMWQQQTD.js → spec-cmd-NJLCH63H.js} +1 -1
- package/dist/{status-XFXBD6AT.js → status-IYUTS2RN.js} +4 -4
- package/dist/{update-steps-66PD5IUI.js → update-steps-4I6LRYM7.js} +5 -5
- package/dist/{work-claim-cmd-Z5HYNHUR.js → work-claim-cmd-UZAV6F5V.js} +2 -2
- package/dist/{work-cmd-DP3TL3PK.js → work-cmd-HL6ZYYFT.js} +1 -1
- package/dist/{work-comment-cmd-MYQU3AQR.js → work-comment-cmd-WO4OP4CW.js} +2 -2
- package/dist/{work-demo-cmd-TFQBM4QZ.js → work-demo-cmd-FSSCNRKZ.js} +1 -1
- package/dist/{work-logs-cmd-AY7L52OM.js → work-logs-cmd-R4DZGKR2.js} +1 -1
- package/dist/{work-mock-cmd-PSGGXCSY.js → work-mock-cmd-J3E53N3Y.js} +1 -1
- package/dist/{work-needs-attention-cmd-QF6J4QKV.js → work-needs-attention-cmd-PSLU7AC5.js} +1 -1
- package/dist/{work-no-change-cmd-TJB23FY5.js → work-no-change-cmd-FTMU7IOE.js} +1 -1
- package/dist/{work-open-pr-cmd-YD5QYZPP.js → work-open-pr-cmd-KFX3F6MB.js} +1 -1
- package/dist/{work-proofs-cmd-BZ4QMJSB.js → work-proofs-cmd-3NHA732I.js} +2 -2
- package/dist/{work-proofs-record-L4T6SLPP.js → work-proofs-record-IJRJLWOX.js} +3 -3
- package/dist/{work-stop-cmd-EARW2MXW.js → work-stop-cmd-EJ7Y7I4F.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, readRepositoryRecipe, universalBase, writeRecord } from './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, readRepositoryRecipe, universalBase, writeRecord } from './chunk-GNX75MQI.js';
|
|
4
4
|
import './chunk-RIURJ7G6.js';
|
|
5
5
|
import './chunk-LPTLGM24.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-15T11:
|
|
1
|
+
{"id":"2026-11-15T11:55:54.090Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-O5MO3RWQ.js';
|
|
4
4
|
import './chunk-E7R2GIAW.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-GZVMAEHO.js';
|
|
6
6
|
import './chunk-TXKHD4Q6.js';
|
|
7
7
|
import './chunk-X5SZ3MB6.js';
|
|
8
8
|
import './chunk-PJZ7RTXX.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-BXMYXZAB.js';
|
|
10
10
|
import './chunk-GWT2XAGQ.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-BHX4FW7O.js';
|
|
12
12
|
import './chunk-7RSR6ESV.js';
|
|
13
13
|
import { findServiceUnit } from './chunk-FOT3WJNH.js';
|
|
14
|
-
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
14
|
+
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-R7OBHPWQ.js';
|
|
15
15
|
import './chunk-6R5JI7LV.js';
|
|
16
16
|
import './chunk-2UBMDLUF.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
@@ -30,16 +30,16 @@ import './chunk-7YVZIUOX.js';
|
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
31
|
import './chunk-7DCFL2MK.js';
|
|
32
32
|
import './chunk-NN33FYXG.js';
|
|
33
|
-
import './chunk-
|
|
33
|
+
import './chunk-GNX75MQI.js';
|
|
34
34
|
import './chunk-RIURJ7G6.js';
|
|
35
35
|
import './chunk-LPTLGM24.js';
|
|
36
36
|
import './chunk-JBJTC3UU.js';
|
|
37
37
|
import './chunk-OGFGZQA3.js';
|
|
38
38
|
import './chunk-V64FGZNM.js';
|
|
39
39
|
import './chunk-B2EEVHR7.js';
|
|
40
|
-
import { describeCallFailure } from './chunk-
|
|
40
|
+
import { describeCallFailure } from './chunk-H6J7CQSV.js';
|
|
41
41
|
import './chunk-FJGYU2EK.js';
|
|
42
|
-
import './chunk-
|
|
42
|
+
import './chunk-CX5SISHJ.js';
|
|
43
43
|
import './chunk-MUCWOHFZ.js';
|
|
44
44
|
import './chunk-DOIXXWA5.js';
|
|
45
45
|
import { keyRunnerFactory, loadRunnerConfig, RunnerConfigError, checkHooks } from './chunk-EA2GVFAF.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-VBAXFWTK.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-CX5SISHJ.js';
|
|
5
5
|
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-3FJGWAYD.js';
|
|
6
6
|
import { withInjectedPrograms } from './chunk-UC2JHW7P.js';
|
|
7
7
|
import { isLinkedRepository } from './chunk-7UXZOTF2.js';
|
|
@@ -1122,7 +1122,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1122
1122
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1123
1123
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1124
1124
|
} else if (hasRunnerBlock(configPath)) {
|
|
1125
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1125
|
+
const { runnerHostChecks } = await import('./doctor-3UWBBRMX.js');
|
|
1126
1126
|
const gateway = (() => {
|
|
1127
1127
|
try {
|
|
1128
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-R7OBHPWQ.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-Z5LGWR5H.js';
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-CX5SISHJ.js';
|
|
6
6
|
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-EA2GVFAF.js';
|
|
7
7
|
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MT5NUKSC.js';
|
|
8
8
|
import { ensureHostKey } from './chunk-BU7PN6MB.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-R7OBHPWQ.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-7YVZIUOX.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -77,7 +77,7 @@ var MESSAGES = /* @__PURE__ */ new Map([
|
|
|
77
77
|
],
|
|
78
78
|
[
|
|
79
79
|
"runner_key_signature_stale",
|
|
80
|
-
"the signature's time is more than five minutes from the gateway's clock. The clock of this host is the likely cause
|
|
80
|
+
"the signature's time is more than five minutes from the gateway's clock. The clock of this host is the likely cause. It is wrong for a few seconds after the host was paused or asleep. Check that it is set correctly and synchronised"
|
|
81
81
|
],
|
|
82
82
|
[
|
|
83
83
|
"runner_key_signature_replayed",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-R7OBHPWQ.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-Z5LGWR5H.js';
|
|
5
5
|
import { runnerDir } from './chunk-TPC6MXKS.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
@@ -17,6 +17,34 @@ import { execFile } from 'child_process';
|
|
|
17
17
|
import { createHash } from 'crypto';
|
|
18
18
|
|
|
19
19
|
createRequire(import.meta.url);
|
|
20
|
+
|
|
21
|
+
// src/runner/image/transport-retry.ts
|
|
22
|
+
var TRANSPORT_FAILURE = /curl (?:7|18|28|35|52|55|56)\b|RPC failed|connection (?:reset|timed out|refused|closed)|timed out|no answer within|could not resolve host|early EOF|unexpected disconnect|remote end hung up|broken pipe|TLS|SSL_|network is unreachable|temporary failure in name resolution/i;
|
|
23
|
+
var ANSWERED = /\b(?:401|403|404)\b|authentication failed|repository not found|could not read username|terminal prompts disabled|not our ref|couldn't find remote ref|did not match any|invalid refspec/i;
|
|
24
|
+
function isTransportFailure(err) {
|
|
25
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
26
|
+
return !ANSWERED.test(message) && TRANSPORT_FAILURE.test(message);
|
|
27
|
+
}
|
|
28
|
+
var transportRetry = {
|
|
29
|
+
waitsMs: [1e3, 2e3, 4e3, 8e3, 15e3],
|
|
30
|
+
sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
31
|
+
};
|
|
32
|
+
async function withTransportRetry(run) {
|
|
33
|
+
for (let attempt = 0; ; attempt++) {
|
|
34
|
+
try {
|
|
35
|
+
return await run();
|
|
36
|
+
} catch (err) {
|
|
37
|
+
const wait = transportRetry.waitsMs[attempt];
|
|
38
|
+
if (wait === void 0 || !isTransportFailure(err)) throw err;
|
|
39
|
+
await transportRetry.sleep(wait);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// src/runner/image/checkout.ts
|
|
45
|
+
function withNewTokenRetry2(credential, run) {
|
|
46
|
+
return withNewTokenRetry(credential, () => withTransportRetry(run));
|
|
47
|
+
}
|
|
20
48
|
var INHERITED_REPOSITORY_VARIABLES = ["GIT_DIR", "GIT_WORK_TREE", "GIT_INDEX_FILE", "GIT_COMMON_DIR"];
|
|
21
49
|
function gitEnvironment(base) {
|
|
22
50
|
const env = { ...base, GIT_TERMINAL_PROMPT: "0" };
|
|
@@ -54,7 +82,7 @@ async function fetchDefaultBranch(opts) {
|
|
|
54
82
|
mkdirSync(opts.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
55
83
|
if (opts.owned === true) removeLeftoverGitLocks(join(opts.dir, ".git"));
|
|
56
84
|
const credential = opts.token === void 0 ? void 0 : tokenSettings(opts.remote, opts.token);
|
|
57
|
-
const over = (args) =>
|
|
85
|
+
const over = (args) => withNewTokenRetry2(credential, () => git(opts.dir, args, void 0, credential));
|
|
58
86
|
try {
|
|
59
87
|
const defaultBranch = defaultBranchOf(await over(["ls-remote", "--symref", opts.remote, "HEAD"]));
|
|
60
88
|
if (defaultBranch === null) {
|
|
@@ -97,7 +125,7 @@ async function readBranchHead(input) {
|
|
|
97
125
|
mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
98
126
|
let out;
|
|
99
127
|
try {
|
|
100
|
-
out = await
|
|
128
|
+
out = await withNewTokenRetry2(credential, () => git(input.dir, ["ls-remote", "--heads", input.remote, `refs/heads/${input.branch}`], HEAD_TIMEOUT_MS, credential));
|
|
101
129
|
} catch (err) {
|
|
102
130
|
return { kind: "unreadable", reason: gitFailureLine(err) };
|
|
103
131
|
}
|
|
@@ -110,7 +138,7 @@ async function fetchCommit(input) {
|
|
|
110
138
|
mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
111
139
|
if (input.owned === true) removeLeftoverGitLocks(join(input.dir, ".git"));
|
|
112
140
|
await git(input.dir, ["init", "--quiet"]);
|
|
113
|
-
await
|
|
141
|
+
await withNewTokenRetry2(credential, () => git(input.dir, ["fetch", "--quiet", "--depth", "1", "--no-tags", input.remote, input.commit], CLONE_TIMEOUT_MS, credential));
|
|
114
142
|
await git(input.dir, ["checkout", "--quiet", "--detach", "--force", "FETCH_HEAD"]);
|
|
115
143
|
if (input.clean === true) await git(input.dir, ["clean", "-ffdx", "--quiet"]);
|
|
116
144
|
return { ok: true };
|
|
@@ -125,7 +153,7 @@ async function diffBetween(input) {
|
|
|
125
153
|
mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
126
154
|
await git(input.dir, ["init", "--quiet"]);
|
|
127
155
|
const base = input.base === void 0 ? [] : [input.base];
|
|
128
|
-
await
|
|
156
|
+
await withNewTokenRetry2(credential, () => git(input.dir, ["fetch", "--quiet", "--no-tags", "--filter=blob:none", input.remote, ...base, input.head, `+HEAD:${DIFF_DEFAULT_REF}`], CLONE_TIMEOUT_MS, credential));
|
|
129
157
|
const from = await git(input.dir, ["merge-base", input.head, DIFF_DEFAULT_REF, ...base]);
|
|
130
158
|
await git(
|
|
131
159
|
input.dir,
|
|
@@ -143,7 +171,7 @@ var DIFF_DEFAULT_REF = "refs/outerlayer/default-branch";
|
|
|
143
171
|
var CLONE_TIMEOUT_MS = 6e5;
|
|
144
172
|
async function readDefaultBranchFiles(input) {
|
|
145
173
|
const credential = input.token === void 0 ? void 0 : tokenSettings(input.remote, input.token);
|
|
146
|
-
const over = (args, timeoutMs = CLONE_TIMEOUT_MS, raw = false) =>
|
|
174
|
+
const over = (args, timeoutMs = CLONE_TIMEOUT_MS, raw = false) => withNewTokenRetry2(credential, () => git(input.dir, args, timeoutMs, credential, raw));
|
|
147
175
|
try {
|
|
148
176
|
mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
149
177
|
const defaultBranch = defaultBranchOf(await over(["ls-remote", "--symref", input.remote, "HEAD"], HEAD_TIMEOUT_MS));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-R7OBHPWQ.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-Z5LGWR5H.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-LPTLGM24.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-CX5SISHJ.js';
|
|
8
8
|
import { keyRunnerFactory } from './chunk-EA2GVFAF.js';
|
|
9
9
|
import { signerFor } from './chunk-BU7PN6MB.js';
|
|
10
10
|
import { pidFilePath } from './chunk-TPC6MXKS.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { newTokenRetry } from './chunk-FJGYU2EK.js';
|
|
4
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, postJson } from './chunk-CX5SISHJ.js';
|
|
5
5
|
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-ZIPXFVRF.js';
|
|
6
6
|
import { buildRefusalReason } from './chunk-CEVYSNA4.js';
|
|
7
7
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-SQFSYAPO.js';
|
|
@@ -74,15 +74,22 @@ function describeCallFailure(err) {
|
|
|
74
74
|
var RETRY_WINDOW_MS = 12e4;
|
|
75
75
|
var FIRST_BACKOFF_MS = 1e3;
|
|
76
76
|
var MAX_BACKOFF_MS = 15e3;
|
|
77
|
+
var STALE_SIGNATURE = "runner_key_signature_stale";
|
|
78
|
+
var CLOCK_JUMP_MS = 3e4;
|
|
79
|
+
var PAUSED_NOTE = ". The host's clock jumped while this was retried, so the host was paused or asleep";
|
|
77
80
|
function isRetryable(err) {
|
|
78
|
-
if (err instanceof WorkCommandError) return err.retryable;
|
|
81
|
+
if (err instanceof WorkCommandError) return err.retryable || err.code === STALE_SIGNATURE;
|
|
79
82
|
return true;
|
|
80
83
|
}
|
|
81
84
|
async function retrySend(send, deps = {}) {
|
|
82
85
|
const now = deps.now ?? (() => /* @__PURE__ */ new Date());
|
|
83
86
|
const sleep = deps.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
84
87
|
const windowMs = deps.windowMs ?? RETRY_WINDOW_MS;
|
|
85
|
-
const
|
|
88
|
+
const sample = () => {
|
|
89
|
+
const wallMs = now().getTime();
|
|
90
|
+
return { wallMs, monoMs: deps.monotonic?.() ?? (deps.now === void 0 ? performance.now() : wallMs) };
|
|
91
|
+
};
|
|
92
|
+
const started = sample();
|
|
86
93
|
let attempts = 0;
|
|
87
94
|
let backoffMs = FIRST_BACKOFF_MS;
|
|
88
95
|
for (; ; ) {
|
|
@@ -90,13 +97,16 @@ async function retrySend(send, deps = {}) {
|
|
|
90
97
|
try {
|
|
91
98
|
return { ok: true, value: await send(), attempts };
|
|
92
99
|
} catch (err) {
|
|
93
|
-
const
|
|
100
|
+
const at = sample();
|
|
101
|
+
const wallElapsedMs = at.wallMs - started.wallMs;
|
|
102
|
+
const elapsedMs = at.monoMs - started.monoMs;
|
|
103
|
+
const paused = Math.abs(wallElapsedMs - elapsedMs) > CLOCK_JUMP_MS;
|
|
104
|
+
const reason = describeCallFailure(err) + (paused ? PAUSED_NOTE : "");
|
|
94
105
|
const code = err instanceof WorkCommandError ? err.code : void 0;
|
|
95
106
|
const status = err instanceof WorkCommandError ? err.status : void 0;
|
|
96
107
|
const message = err instanceof WorkCommandError ? err.message : void 0;
|
|
97
108
|
const lowestVersion = err instanceof WorkCommandError ? err.lowestVersion : void 0;
|
|
98
109
|
if (!isRetryable(err)) return { ok: false, attempts, reason, retryable: false, code, status, message, lowestVersion };
|
|
99
|
-
const elapsedMs = now().getTime() - startedMs;
|
|
100
110
|
if (elapsedMs + backoffMs >= windowMs) return { ok: false, attempts, reason, retryable: true, code, status, message, lowestVersion };
|
|
101
111
|
await sleep(backoffMs);
|
|
102
112
|
backoffMs = Math.min(backoffMs * 2, MAX_BACKOFF_MS);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-GZVMAEHO.js';
|
|
5
5
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
6
6
|
import { writeFleetState } from './chunk-X5SZ3MB6.js';
|
|
7
7
|
import { writePendingUpdate } from './chunk-PJZ7RTXX.js';
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { renderUpdateSteps } from './chunk-BXMYXZAB.js';
|
|
9
9
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-GWT2XAGQ.js';
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-BHX4FW7O.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-7RSR6ESV.js';
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-R7OBHPWQ.js';
|
|
13
13
|
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-6R5JI7LV.js';
|
|
14
14
|
import { RUNNER_PROTOCOL } from './chunk-2UBMDLUF.js';
|
|
15
15
|
import { RUNNER_RESERVE_BYTES } from './chunk-Z5LGWR5H.js';
|
|
@@ -18,11 +18,11 @@ import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5
|
|
|
18
18
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-7YVZIUOX.js';
|
|
19
19
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
20
20
|
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-7DCFL2MK.js';
|
|
21
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
21
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-GNX75MQI.js';
|
|
22
22
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-LPTLGM24.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
25
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
24
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-H6J7CQSV.js';
|
|
25
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-CX5SISHJ.js';
|
|
26
26
|
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-EA2GVFAF.js';
|
|
27
27
|
import { allocatedBytes, freeBytes, formatBytes } from './chunk-MT5NUKSC.js';
|
|
28
28
|
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-WGYAMFBU.js';
|
|
@@ -3176,7 +3176,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3176
3176
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3177
3177
|
);
|
|
3178
3178
|
async function tryClaimAndStart(state, item, queue) {
|
|
3179
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3179
|
+
const { postJson: postJson2 } = await import('./work-cmd-HL6ZYYFT.js');
|
|
3180
3180
|
const log = logOf(state);
|
|
3181
3181
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3182
3182
|
const claim = await retrySend(
|
|
@@ -4803,7 +4803,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4803
4803
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4804
4804
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4805
4805
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4806
|
-
return (await import('./check-
|
|
4806
|
+
return (await import('./check-BPXM64SW.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4807
4807
|
},
|
|
4808
4808
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4809
4809
|
log
|
|
@@ -14,14 +14,14 @@ import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk
|
|
|
14
14
|
import { runnerImageVersion } from './chunk-7YVZIUOX.js';
|
|
15
15
|
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-7DCFL2MK.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
17
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-GNX75MQI.js';
|
|
18
18
|
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-RIURJ7G6.js';
|
|
19
19
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
20
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
21
|
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-V64FGZNM.js';
|
|
22
22
|
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-B2EEVHR7.js';
|
|
23
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
24
|
-
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-H6J7CQSV.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-CX5SISHJ.js';
|
|
25
25
|
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-EA2GVFAF.js';
|
|
26
26
|
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-MT5NUKSC.js';
|
|
27
27
|
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-WGYAMFBU.js';
|
|
@@ -10073,6 +10073,10 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
|
|
|
10073
10073
|
writeJobFile(jobFilePath, job);
|
|
10074
10074
|
}
|
|
10075
10075
|
const uploadSessions = async (workdir) => {
|
|
10076
|
+
if (job.queue === "review") {
|
|
10077
|
+
log.line(`${tag} sync skipped: a review job has no session to upload`);
|
|
10078
|
+
return;
|
|
10079
|
+
}
|
|
10076
10080
|
if (valuesNotHeld) {
|
|
10077
10081
|
log.error(`${tag} sync skipped: ${VALUES_NOT_HELD}`);
|
|
10078
10082
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-CX5SISHJ.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-MUCWOHFZ.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-6R5JI7LV.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-CX5SISHJ.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { defaultFetch } from './chunk-YH7RGFKK.js';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-AOWHQL3V.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-AOWHQL3V.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-IJRJLWOX.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|