@outerlayer/cli 0.36.0 → 0.36.1-next.20261103221424
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-4R4PUGPT.js → build-5RXY5MG3.js} +2 -2
- package/dist/{build-disk-LYHGWH4G.js → build-disk-BS3LA3TN.js} +2 -2
- package/dist/build-info.json +1 -1
- package/dist/{builder-ER6LUZBQ.js → builder-FS4BB6Y6.js} +1 -1
- package/dist/{caller-PCOQRDGJ.js → caller-CV2ANJ2W.js} +4 -4
- package/dist/{check-27MDV3T5.js → check-FC4I4ZTM.js} +13 -13
- package/dist/{chunk-2BTDFRRQ.js → chunk-4LJ4LTOK.js} +23 -5
- package/dist/{chunk-BOUW2CV6.js → chunk-6NR24FKU.js} +1 -1
- package/dist/{chunk-K3GWZRRK.js → chunk-C45EFKBZ.js} +1 -1
- package/dist/{chunk-PCWNDYQO.js → chunk-E6J6SPFA.js} +4 -4
- package/dist/{chunk-7V4ZEB2R.js → chunk-H25KYIO7.js} +2 -2
- package/dist/{chunk-D7TMGSZN.js → chunk-HOMHZPMD.js} +2 -2
- package/dist/{chunk-7TZP5JBS.js → chunk-HOQMMMSM.js} +1 -1
- package/dist/{chunk-LIJMW36Q.js → chunk-IL2Y4OK6.js} +7 -7
- package/dist/{chunk-KJ424QKG.js → chunk-M2ZEQS7E.js} +2 -2
- package/dist/{chunk-Z27IIHHE.js → chunk-MJDH3P23.js} +10 -10
- package/dist/{chunk-6LPBK4XU.js → chunk-OEVWL356.js} +3 -3
- package/dist/{chunk-C4OYAXLQ.js → chunk-OQJSFWPZ.js} +3 -3
- package/dist/{chunk-QBDQ64QF.js → chunk-OZEL5BWW.js} +1 -1
- package/dist/{chunk-MLO33RMW.js → chunk-TCBN5UX5.js} +4 -4
- package/dist/{chunk-4KYPJE3D.js → chunk-U4VKDB7R.js} +2 -2
- package/dist/{chunk-ENWGIREE.js → chunk-WVNQXYR7.js} +1 -1
- package/dist/{cli-RCLYJFIL.js → cli-LDHTZWDW.js} +43 -43
- package/dist/{command-XGIJADGX.js → command-LQ77DEWJ.js} +9 -9
- package/dist/{config-VHJI645L.js → config-AUMW46GF.js} +3 -3
- package/dist/{container-start-S5EL4HIH.js → container-start-QMWBV4TL.js} +10 -10
- package/dist/{docker-BP7AD65K.js → docker-ILVTK2GR.js} +1 -1
- package/dist/{doctor-TZIHEPIW.js → doctor-RLKFNNZB.js} +10 -10
- package/dist/{find-unit-L2JIUL4D.js → find-unit-AIXKASFJ.js} +5 -5
- package/dist/{host-checks-FEYDTZKZ.js → host-checks-RF3ER7US.js} +8 -8
- package/dist/index.js +1 -1
- package/dist/{init-RSKNY7WL.js → init-VB73MMYI.js} +8 -8
- package/dist/{init-6FLEEVZY.js → init-WNPSZNXW.js} +8 -8
- package/dist/{init-cmd-UD6QSHH2.js → init-cmd-XOUXK2C7.js} +1 -1
- package/dist/{loop-VCH4UOQ4.js → loop-S5AG6MH7.js} +12 -12
- package/dist/{machine-ZU7XA2IC.js → machine-DYSDAKOK.js} +8 -8
- package/dist/{runner-env-XX2NZOEJ.js → runner-env-DXGJIUBT.js} +5 -5
- package/dist/{runner-identity-HHW4UKYE.js → runner-identity-TLNJZ5GX.js} +1 -1
- package/dist/{runner-key-FNNAF36Q.js → runner-key-SCZBL34Z.js} +8 -8
- package/dist/{status-FQ5AIDWL.js → status-67RF4KJ5.js} +8 -8
- package/dist/{update-steps-TR2A4Z6Q.js → update-steps-CXWUNWCN.js} +9 -9
- package/dist/{work-claim-cmd-PBW4QDJH.js → work-claim-cmd-ABWLXEVY.js} +3 -3
- package/dist/{work-proofs-cmd-NINHCBZW.js → work-proofs-cmd-AMH2EPX5.js} +1 -1
- package/dist/{work-proofs-record-7XH374TO.js → work-proofs-record-W75LA4IR.js} +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
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, universalBase, writeRecord } from './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-C45EFKBZ.js';
|
|
4
4
|
import './chunk-5MN6VZZH.js';
|
|
5
5
|
import './chunk-KQDTORGF.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-4LJ4LTOK.js';
|
|
8
8
|
export { RecipeError } from './chunk-XLCAYPLV.js';
|
|
9
9
|
import './chunk-EKDQDOSS.js';
|
|
10
10
|
import './chunk-PYPHE6FZ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-6NR24FKU.js';
|
|
4
|
+
import './chunk-4LJ4LTOK.js';
|
|
5
5
|
import './chunk-XLCAYPLV.js';
|
|
6
6
|
import './chunk-EKDQDOSS.js';
|
|
7
7
|
import './chunk-PYPHE6FZ.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-03T22:23:37.410Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfDisk, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-4LJ4LTOK.js';
|
|
4
4
|
import './chunk-XLCAYPLV.js';
|
|
5
5
|
import './chunk-EKDQDOSS.js';
|
|
6
6
|
import './chunk-PYPHE6FZ.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-HOQMMMSM.js';
|
|
4
|
+
import './chunk-H25KYIO7.js';
|
|
5
|
+
import './chunk-6NR24FKU.js';
|
|
6
|
+
import './chunk-4LJ4LTOK.js';
|
|
7
7
|
import './chunk-XLCAYPLV.js';
|
|
8
8
|
import './chunk-EKDQDOSS.js';
|
|
9
9
|
import './chunk-PYPHE6FZ.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-MJDH3P23.js';
|
|
4
4
|
import './chunk-GAPNTRA5.js';
|
|
5
5
|
import './chunk-PUEIXGZ4.js';
|
|
6
6
|
import './chunk-FDRQZALU.js';
|
|
7
7
|
import './chunk-3JVYMD4G.js';
|
|
8
8
|
import './chunk-E7R2GIAW.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-OQJSFWPZ.js';
|
|
10
|
+
import './chunk-HOMHZPMD.js';
|
|
11
11
|
import './chunk-IDYLPN4X.js';
|
|
12
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
12
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-E6J6SPFA.js';
|
|
13
13
|
import './chunk-W3ZKWZ6G.js';
|
|
14
|
-
import { findServiceUnit } from './chunk-
|
|
15
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
14
|
+
import { findServiceUnit } from './chunk-OZEL5BWW.js';
|
|
15
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-IL2Y4OK6.js';
|
|
16
16
|
import './chunk-JJ63MLE5.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
18
18
|
import './chunk-I3LTIAOR.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-WVNQXYR7.js';
|
|
20
|
+
import './chunk-M2ZEQS7E.js';
|
|
21
21
|
import './chunk-OM3XGJBY.js';
|
|
22
22
|
import './chunk-GNLAORSW.js';
|
|
23
23
|
import './chunk-2HOSCIV6.js';
|
|
@@ -28,9 +28,9 @@ import './chunk-WGC7UFRM.js';
|
|
|
28
28
|
import './chunk-ZVB57WI6.js';
|
|
29
29
|
import './chunk-T4J5VR7B.js';
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-HOQMMMSM.js';
|
|
32
32
|
import './chunk-NN33FYXG.js';
|
|
33
|
-
import './chunk-
|
|
33
|
+
import './chunk-C45EFKBZ.js';
|
|
34
34
|
import './chunk-5MN6VZZH.js';
|
|
35
35
|
import './chunk-KQDTORGF.js';
|
|
36
36
|
import './chunk-JBJTC3UU.js';
|
|
@@ -41,9 +41,9 @@ import './chunk-H5CWIV56.js';
|
|
|
41
41
|
import './chunk-DE64NSOH.js';
|
|
42
42
|
import './chunk-NE2A2ZIY.js';
|
|
43
43
|
import './chunk-WVZ6EKJ3.js';
|
|
44
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
44
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-H25KYIO7.js';
|
|
45
|
+
import './chunk-6NR24FKU.js';
|
|
46
|
+
import './chunk-4LJ4LTOK.js';
|
|
47
47
|
import './chunk-XLCAYPLV.js';
|
|
48
48
|
import './chunk-I5EZW66W.js';
|
|
49
49
|
import './chunk-S7YLAN2P.js';
|
|
@@ -149,6 +149,18 @@ function layoutDigest(layout) {
|
|
|
149
149
|
if (digest === void 0) throw new Error(`${join(layout, "index.json")} lists no image`);
|
|
150
150
|
return digest;
|
|
151
151
|
}
|
|
152
|
+
function outOfDisk(logPath) {
|
|
153
|
+
return new RecipeError(
|
|
154
|
+
"image_build_out_of_disk",
|
|
155
|
+
`the image build ran out of disk: Docker's storage on this host has no space left. Free space with docker system df and docker image prune, or give Docker more disk; the build log is at ${logPath}`,
|
|
156
|
+
logPath
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
function buildFailure(builder, output, logPath) {
|
|
160
|
+
if (isOutOfDisk(output)) return outOfDisk(logPath);
|
|
161
|
+
if (isOutOfMemory(output)) return outOfMemory(builder, logPath);
|
|
162
|
+
return void 0;
|
|
163
|
+
}
|
|
152
164
|
function outOfMemory(builder, logPath) {
|
|
153
165
|
return new RecipeError(
|
|
154
166
|
"image_build_out_of_memory",
|
|
@@ -230,8 +242,9 @@ function createDockerHost(deps = {}) {
|
|
|
230
242
|
req.context
|
|
231
243
|
];
|
|
232
244
|
const result = await trackImageBuild(() => run("docker", args, { logPath: req.logPath, input: req.dockerfile }));
|
|
233
|
-
|
|
234
|
-
${result.stderr}
|
|
245
|
+
const failure = result.status === 0 ? void 0 : buildFailure(builder, `${result.stdout}
|
|
246
|
+
${result.stderr}`, req.logPath);
|
|
247
|
+
if (failure !== void 0) throw failure;
|
|
235
248
|
return result.status;
|
|
236
249
|
},
|
|
237
250
|
async devcontainerBuild(req) {
|
|
@@ -241,8 +254,9 @@ ${result.stderr}`)) throw outOfMemory(builder, req.logPath);
|
|
|
241
254
|
rmSync(req.layoutOut, { recursive: true, force: true });
|
|
242
255
|
}
|
|
243
256
|
const result = await trackImageBuild(() => run(command, args, { logPath: req.logPath, env: { BUILDX_BUILDER: builder.name } }));
|
|
244
|
-
|
|
245
|
-
${result.stderr}
|
|
257
|
+
const failure = result.status === 0 ? void 0 : buildFailure(builder, `${result.stdout}
|
|
258
|
+
${result.stderr}`, req.logPath);
|
|
259
|
+
if (failure !== void 0) throw failure;
|
|
246
260
|
return result.status;
|
|
247
261
|
},
|
|
248
262
|
async remove(id) {
|
|
@@ -769,7 +783,11 @@ async function buildxState(run) {
|
|
|
769
783
|
}
|
|
770
784
|
return "usable";
|
|
771
785
|
}
|
|
786
|
+
function isOutOfDisk(output) {
|
|
787
|
+
return /no space left on device/i.test(output);
|
|
788
|
+
}
|
|
772
789
|
function isOutOfMemory(output) {
|
|
790
|
+
if (isOutOfDisk(output)) return false;
|
|
773
791
|
if (/cannot allocate memory/i.test(output)) return true;
|
|
774
792
|
if (/did not complete successfully: (exit code: 137|signal: killed)/i.test(output)) return true;
|
|
775
793
|
return /ResourceExhausted/i.test(output) && !/larger than max|message size|too large/i.test(output);
|
|
@@ -873,4 +891,4 @@ function ensureBuilder(rawRun, spec, options = {}) {
|
|
|
873
891
|
);
|
|
874
892
|
}
|
|
875
893
|
|
|
876
|
-
export { BUILD_LABEL, COMMAND_DIR, JUDGE_DIR, JUDGE_ITEMS, JUDGE_MAX_TURNS, JUDGE_REPORT, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, MIN_BUILDX_VERSION, NETWORK_HELPER_MEMORY, NETWORK_READY_FILE, RUNNER_LABEL, SAVED_STATE_LABEL, WORKSPACE_LABEL, builderName, builderNameFor, builderSpec, buildxState, childEnvironment, containerExecArgs, containerRunArgs, createDockerHost, dockerIdentity, ensureBuilder, ensureFailureCount, ensureRunnerIdentity, exceedsDisk, firstLine, hashJudgeProgram, homeCopyArgs, homeCopyRunArgs, homeCopyScript, identityArgs, identityDockerFor, identityRunArgs, identityScript, isOutOfMemory, judgeCommand, judgeProgramRecord, mountableHome, networkHelperName, networkHelperRunArgs, parseIdentity, parseSize, pathLabelValue, prepareRunArgs, proxyEnvironment, readDu, readJobFile, readJobFileChecked, readRunnerIdentity, runnerLabelValue, said, spawnRun, trackImageBuild, withAnswerProtocol, writeJobFile };
|
|
894
|
+
export { BUILD_LABEL, COMMAND_DIR, JUDGE_DIR, JUDGE_ITEMS, JUDGE_MAX_TURNS, JUDGE_REPORT, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, MIN_BUILDX_VERSION, NETWORK_HELPER_MEMORY, NETWORK_READY_FILE, RUNNER_LABEL, SAVED_STATE_LABEL, WORKSPACE_LABEL, builderName, builderNameFor, builderSpec, buildxState, childEnvironment, containerExecArgs, containerRunArgs, createDockerHost, dockerIdentity, ensureBuilder, ensureFailureCount, ensureRunnerIdentity, exceedsDisk, firstLine, hashJudgeProgram, homeCopyArgs, homeCopyRunArgs, homeCopyScript, identityArgs, identityDockerFor, identityRunArgs, identityScript, isOutOfDisk, isOutOfMemory, judgeCommand, judgeProgramRecord, mountableHome, networkHelperName, networkHelperRunArgs, parseIdentity, parseSize, pathLabelValue, prepareRunArgs, proxyEnvironment, readDu, readJobFile, readJobFileChecked, readRunnerIdentity, runnerLabelValue, said, spawnRun, trackImageBuild, withAnswerProtocol, writeJobFile };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-4LJ4LTOK.js';
|
|
4
4
|
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-PYPHE6FZ.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { toolsDockerfile } from './chunk-5MN6VZZH.js';
|
|
4
4
|
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-KQDTORGF.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-4LJ4LTOK.js';
|
|
7
7
|
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-XLCAYPLV.js';
|
|
8
8
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-PYPHE6FZ.js';
|
|
9
9
|
import { withGitConfig, tokenHeader } from './chunk-B5BLIHJZ.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-IL2Y4OK6.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-M2ZEQS7E.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-DE64NSOH.js';
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-H25KYIO7.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-6NR24FKU.js';
|
|
8
8
|
import { ensureHostKey } from './chunk-EKDQDOSS.js';
|
|
9
9
|
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-DDOD4YOQ.js';
|
|
10
10
|
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-NDIV6GDC.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-6NR24FKU.js';
|
|
4
|
+
import { parseSize } from './chunk-4LJ4LTOK.js';
|
|
5
5
|
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-B5BLIHJZ.js';
|
|
6
6
|
import { builderDiskPinned } from './chunk-NDIV6GDC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.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-IL2Y4OK6.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-T4J5VR7B.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-ILVTK2GR.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-H25KYIO7.js';
|
|
4
4
|
import { orgHomeDir } from './chunk-PYPHE6FZ.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-JJ63MLE5.js';
|
|
4
4
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
|
-
import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
6
|
+
import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-WVNQXYR7.js';
|
|
7
7
|
import { upgradedStarterText } from './chunk-OM3XGJBY.js';
|
|
8
8
|
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-GNLAORSW.js';
|
|
9
9
|
import { writeDockerClientConfig } from './chunk-2HOSCIV6.js';
|
|
@@ -11,9 +11,9 @@ import { senderPidfile } from './chunk-COPXXXNB.js';
|
|
|
11
11
|
import { installScrubContext } from './chunk-4HMOBW7H.js';
|
|
12
12
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
13
13
|
import { runnerImageVersion } from './chunk-T4J5VR7B.js';
|
|
14
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
14
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-HOQMMMSM.js';
|
|
15
15
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
16
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
16
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-C45EFKBZ.js';
|
|
17
17
|
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-5MN6VZZH.js';
|
|
18
18
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
19
19
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
@@ -21,9 +21,9 @@ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-AZXFZGHQ
|
|
|
21
21
|
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-2I654QYW.js';
|
|
22
22
|
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-H5CWIV56.js';
|
|
23
23
|
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-DE64NSOH.js';
|
|
24
|
-
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
25
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
26
|
-
import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
24
|
+
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-H25KYIO7.js';
|
|
25
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-6NR24FKU.js';
|
|
26
|
+
import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-4LJ4LTOK.js';
|
|
27
27
|
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-XLCAYPLV.js';
|
|
28
28
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-F3T5QJ24.js';
|
|
29
29
|
import { sharedSkillNames, skillConflictMessage } from './chunk-BQUI64BU.js';
|
|
@@ -10360,7 +10360,7 @@ async function obtainImage(input) {
|
|
|
10360
10360
|
if (err instanceof AssetError) return { ok: false, reason: err.message };
|
|
10361
10361
|
if (err instanceof RecipeError) {
|
|
10362
10362
|
log.error(`${tag} image build for ${repository} failed: ${err.code}: ${err.message}`);
|
|
10363
|
-
const says = err.code === "image_build_out_of_memory" || err.code === "image_builder_unavailable" || err.code === "image_builder_failed";
|
|
10363
|
+
const says = err.code === "image_build_out_of_memory" || err.code === "image_build_out_of_disk" || err.code === "image_builder_unavailable" || err.code === "image_builder_failed";
|
|
10364
10364
|
return { ok: false, reason: says ? err.message : err.code };
|
|
10365
10365
|
}
|
|
10366
10366
|
return { ok: false, reason: `the image build failed: ${describeCallFailure(err)}` };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-H25KYIO7.js';
|
|
4
|
+
import { parseSize } from './chunk-4LJ4LTOK.js';
|
|
5
5
|
import { runnerDir } from './chunk-PYPHE6FZ.js';
|
|
6
6
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-DDOD4YOQ.js';
|
|
7
7
|
import { credentialAgent, credentialNames, credentialForms } from './chunk-NDIV6GDC.js';
|
|
@@ -5,25 +5,25 @@ import { writePendingUpdate } from './chunk-PUEIXGZ4.js';
|
|
|
5
5
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-FDRQZALU.js';
|
|
6
6
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
7
7
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
8
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
9
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-OQJSFWPZ.js';
|
|
9
|
+
import { renderUpdateSteps } from './chunk-HOMHZPMD.js';
|
|
10
10
|
import { RUNNER_PROTOCOL } from './chunk-IDYLPN4X.js';
|
|
11
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-E6J6SPFA.js';
|
|
12
12
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-W3ZKWZ6G.js';
|
|
13
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-IL2Y4OK6.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-M2ZEQS7E.js';
|
|
15
15
|
import { RepoFilter } from './chunk-4HMOBW7H.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
17
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-T4J5VR7B.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-HOQMMMSM.js';
|
|
20
20
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-KQDTORGF.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
22
|
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-H5CWIV56.js';
|
|
23
23
|
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-DE64NSOH.js';
|
|
24
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-H25KYIO7.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-6NR24FKU.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-4LJ4LTOK.js';
|
|
27
27
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-EKDQDOSS.js';
|
|
28
28
|
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-PYPHE6FZ.js';
|
|
29
29
|
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-B5BLIHJZ.js';
|
|
@@ -3559,7 +3559,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3559
3559
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3560
3560
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3561
3561
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3562
|
-
return (await import('./check-
|
|
3562
|
+
return (await import('./check-FC4I4ZTM.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3563
3563
|
},
|
|
3564
3564
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3565
3565
|
log
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-RF3ER7US.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-RF3ER7US.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-W75LA4IR.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-IL2Y4OK6.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-M2ZEQS7E.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-KQDTORGF.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
7
|
import { isSignatureRefusal, postJson } from './chunk-DE64NSOH.js';
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
8
|
+
import { keyRunnerFactory } from './chunk-H25KYIO7.js';
|
|
9
9
|
import { signerFor } from './chunk-EKDQDOSS.js';
|
|
10
10
|
import { pidFilePath } from './chunk-PYPHE6FZ.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-M2ZEQS7E.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-DDOD4YOQ.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1050,8 +1050,8 @@ function doctorExitCode(checks) {
|
|
|
1050
1050
|
|
|
1051
1051
|
// src/doctor-report.ts
|
|
1052
1052
|
async function gatherDoctorChecks() {
|
|
1053
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1054
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1053
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-BS3LA3TN.js');
|
|
1054
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-AUMW46GF.js');
|
|
1055
1055
|
const configPath = defaultRunnerConfigPath();
|
|
1056
1056
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1057
1057
|
const hooks = (() => {
|
|
@@ -1079,7 +1079,7 @@ async function gatherDoctorChecks() {
|
|
|
1079
1079
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1080
1080
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1081
1081
|
} else if (hasRunnerBlock(configPath)) {
|
|
1082
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1082
|
+
const { runnerHostChecks } = await import('./doctor-RLKFNNZB.js');
|
|
1083
1083
|
const gateway = (() => {
|
|
1084
1084
|
try {
|
|
1085
1085
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1107,7 +1107,7 @@ async function gatherDoctorChecks() {
|
|
|
1107
1107
|
const service = await (async () => {
|
|
1108
1108
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1109
1109
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1110
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1110
|
+
const { inspectRunnerService } = await import('./find-unit-AIXKASFJ.js');
|
|
1111
1111
|
return inspectRunnerService(configPath);
|
|
1112
1112
|
})();
|
|
1113
1113
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-IL2Y4OK6.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-M2ZEQS7E.js';
|
|
5
5
|
import { runnerDir } from './chunk-PYPHE6FZ.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-M2ZEQS7E.js';
|
|
4
4
|
import { RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
5
5
|
import { withoutCredentialLines, parseRunnerEnv } from './chunk-DDOD4YOQ.js';
|
|
6
6
|
import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-NDIV6GDC.js';
|