@outerlayer/cli 0.34.0-next.20261029100612 → 0.34.0-next.20261029100627
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-UBZNVGY2.js → build-ZWUKJL5I.js} +5 -5
- package/dist/{build-disk-Y3MMWFYE.js → build-disk-BF56FZBB.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-SX4W5VF3.js → builder-PDLGG4DQ.js} +3 -3
- package/dist/{caller-IIA2TPAA.js → caller-LJDOBQTM.js} +6 -6
- package/dist/{check-PVB3GPFQ.js → check-ZGD773U7.js} +17 -17
- package/dist/{chunk-NM3L4JBB.js → chunk-2I6VHGJA.js} +2 -2
- package/dist/{chunk-VO46IHB4.js → chunk-4ZJI3IG2.js} +3 -3
- package/dist/{chunk-EQ5Y2OMK.js → chunk-5XV27STP.js} +4 -4
- package/dist/{chunk-ADI2CCDX.js → chunk-6WVUXK3M.js} +6 -6
- package/dist/{chunk-RW3YMQVQ.js → chunk-BETYII72.js} +1 -1
- package/dist/{chunk-LFXLFDEA.js → chunk-BGADM7E5.js} +4 -4
- package/dist/{chunk-7G35LX5D.js → chunk-CNN7JBVU.js} +3 -3
- package/dist/{chunk-MOG4XCYS.js → chunk-DM4TDEYF.js} +7 -7
- package/dist/{chunk-WDIZT56W.js → chunk-DPXJ5RJU.js} +3 -3
- package/dist/{chunk-SYCZTZXD.js → chunk-E2NZMEVD.js} +11 -11
- package/dist/{chunk-XBECMHJW.js → chunk-F26I6GKL.js} +1 -1
- package/dist/{chunk-5C7QZBLI.js → chunk-FAA2URUR.js} +1 -1
- package/dist/{chunk-WK4OTIAN.js → chunk-JJ7YQWYS.js} +2 -2
- package/dist/{chunk-TKTVKEES.js → chunk-LGCXRKIG.js} +2 -2
- package/dist/{chunk-FNKCMOQY.js → chunk-MCK4XMV5.js} +1 -1
- package/dist/{chunk-CM4J53WZ.js → chunk-NGT2CCGM.js} +1 -1
- package/dist/{chunk-D3CT6XQ4.js → chunk-PZN4L2DN.js} +2 -2
- package/dist/{chunk-WDDVPDLQ.js → chunk-URKE5WTV.js} +1 -1
- package/dist/{chunk-KZUHEN26.js → chunk-WN45SWHR.js} +1 -1
- package/dist/{chunk-4PWOZU7R.js → chunk-ZO4ZOPYX.js} +41 -23
- package/dist/{cli-W4B35KDN.js → cli-TCDMN5CR.js} +46 -46
- package/dist/{command-SKJHW4C4.js → command-WP6ZOCWH.js} +11 -11
- package/dist/{config-ZDENMTEW.js → config-SGSBDXW2.js} +5 -5
- package/dist/{container-start-PAUJUXJX.js → container-start-3RUFM2G2.js} +14 -14
- package/dist/{demo-record-cmd-KXLLIMOP.js → demo-record-cmd-5QCGW3F2.js} +3 -3
- package/dist/{demo-voice-cmd-TY2OX2CZ.js → demo-voice-cmd-7FHRYSCX.js} +2 -2
- package/dist/{docker-SKD6VTBD.js → docker-UYJ2BXB2.js} +3 -3
- package/dist/{doctor-DX6N3L5T.js → doctor-GS6VC336.js} +12 -12
- package/dist/{emit-demo-cmd-FRJFQKED.js → emit-demo-cmd-4PVJYO5S.js} +2 -2
- package/dist/{find-unit-IBL736HQ.js → find-unit-XGGULXYG.js} +7 -7
- package/dist/{host-checks-FWPDGTWF.js → host-checks-5MJC6PH7.js} +12 -12
- package/dist/index.js +1 -1
- package/dist/{init-GF43ZLZI.js → init-PVDEFMUR.js} +11 -11
- package/dist/{init-DWOODP2Q.js → init-ZTQMCBGK.js} +11 -11
- package/dist/{init-cmd-LW4TECQH.js → init-cmd-NHZUAKHE.js} +1 -1
- package/dist/{loop-UBAR3KBZ.js → loop-ZN7G2TXF.js} +16 -16
- package/dist/{machine-H4Y5X424.js → machine-AMVFNL36.js} +11 -11
- package/dist/{runner-env-KCZBSWOB.js → runner-env-FBK4LTZZ.js} +7 -7
- package/dist/{runner-identity-D5HQ22D3.js → runner-identity-YBOC7QII.js} +3 -3
- package/dist/{runner-key-N5YEMI3S.js → runner-key-OLETR57F.js} +11 -11
- package/dist/{status-UPEZZYCT.js → status-YKHTXJ2A.js} +12 -12
- package/dist/{update-steps-46FCWHJZ.js → update-steps-DKSSL2IE.js} +13 -13
- package/dist/{work-claim-cmd-MPH5HFLT.js → work-claim-cmd-BA57U5QT.js} +5 -5
- package/dist/{work-proofs-cmd-S7HZNVFC.js → work-proofs-cmd-AWN5CKL7.js} +1 -1
- package/dist/{work-proofs-record-RJMR37XG.js → work-proofs-record-Y7W4PBM2.js} +3 -3
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-5XV27STP.js';
|
|
4
|
+
import './chunk-F26I6GKL.js';
|
|
5
5
|
import './chunk-AUVJMR3P.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
export { RecipeError } from './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-2I6VHGJA.js';
|
|
8
|
+
export { RecipeError } from './chunk-NGT2CCGM.js';
|
|
9
|
+
import './chunk-PZN4L2DN.js';
|
|
10
10
|
import './chunk-XU5BNWX7.js';
|
|
11
11
|
import './chunk-TV2OQUWE.js';
|
|
12
12
|
import './chunk-YTTESG7K.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-FAA2URUR.js';
|
|
4
|
+
import './chunk-2I6VHGJA.js';
|
|
5
|
+
import './chunk-NGT2CCGM.js';
|
|
6
|
+
import './chunk-PZN4L2DN.js';
|
|
7
7
|
import './chunk-XU5BNWX7.js';
|
|
8
8
|
import './chunk-TV2OQUWE.js';
|
|
9
9
|
import './chunk-YTTESG7K.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-29T10:
|
|
1
|
+
{"id":"2026-10-29T10:22:40.270Z+d4749cf","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-2I6VHGJA.js';
|
|
4
|
+
import './chunk-NGT2CCGM.js';
|
|
5
|
+
import './chunk-PZN4L2DN.js';
|
|
6
6
|
import './chunk-XU5BNWX7.js';
|
|
7
7
|
import './chunk-TV2OQUWE.js';
|
|
8
8
|
import './chunk-YTTESG7K.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
3
|
+
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-BETYII72.js';
|
|
4
|
+
import './chunk-DPXJ5RJU.js';
|
|
5
|
+
import './chunk-FAA2URUR.js';
|
|
6
|
+
import './chunk-2I6VHGJA.js';
|
|
7
|
+
import './chunk-NGT2CCGM.js';
|
|
8
|
+
import './chunk-PZN4L2DN.js';
|
|
9
9
|
import './chunk-XU5BNWX7.js';
|
|
10
10
|
import './chunk-TV2OQUWE.js';
|
|
11
11
|
import './chunk-YTTESG7K.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-E2NZMEVD.js';
|
|
4
4
|
import './chunk-ZI7JENTB.js';
|
|
5
5
|
import './chunk-3JVYMD4G.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-4ZJI3IG2.js';
|
|
8
|
+
import './chunk-JJ7YQWYS.js';
|
|
9
|
+
import './chunk-DM4TDEYF.js';
|
|
10
10
|
import './chunk-2B6EKUBD.js';
|
|
11
11
|
import './chunk-FJ7KTNMD.js';
|
|
12
12
|
import './chunk-LW2A24IA.js';
|
|
@@ -19,15 +19,15 @@ import './chunk-O7CGRDRQ.js';
|
|
|
19
19
|
import './chunk-AGMR4IQE.js';
|
|
20
20
|
import './chunk-W74HQLLZ.js';
|
|
21
21
|
import './chunk-AAGU5FJF.js';
|
|
22
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
22
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-6WVUXK3M.js';
|
|
23
23
|
import './chunk-7R655ODT.js';
|
|
24
24
|
import './chunk-TBT347UY.js';
|
|
25
|
-
import { findServiceUnit } from './chunk-
|
|
25
|
+
import { findServiceUnit } from './chunk-WN45SWHR.js';
|
|
26
26
|
import './chunk-WJTIU2A5.js';
|
|
27
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
27
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-ZO4ZOPYX.js';
|
|
28
28
|
import './chunk-2PGI6RDE.js';
|
|
29
|
-
import './chunk-
|
|
30
|
-
import './chunk-
|
|
29
|
+
import './chunk-5XV27STP.js';
|
|
30
|
+
import './chunk-F26I6GKL.js';
|
|
31
31
|
import './chunk-AUVJMR3P.js';
|
|
32
32
|
import './chunk-JBJTC3UU.js';
|
|
33
33
|
import './chunk-OGFGZQA3.js';
|
|
@@ -36,14 +36,14 @@ import './chunk-UZGQT6OF.js';
|
|
|
36
36
|
import './chunk-HERRKKES.js';
|
|
37
37
|
import './chunk-SQGD4LYW.js';
|
|
38
38
|
import './chunk-TQMI335S.js';
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
42
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
39
|
+
import './chunk-MCK4XMV5.js';
|
|
40
|
+
import './chunk-LGCXRKIG.js';
|
|
41
|
+
import './chunk-BETYII72.js';
|
|
42
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-DPXJ5RJU.js';
|
|
43
|
+
import './chunk-FAA2URUR.js';
|
|
44
|
+
import './chunk-2I6VHGJA.js';
|
|
45
|
+
import './chunk-NGT2CCGM.js';
|
|
46
|
+
import './chunk-PZN4L2DN.js';
|
|
47
47
|
import './chunk-OHQMGLJP.js';
|
|
48
48
|
import './chunk-XGSJNXH2.js';
|
|
49
49
|
import './chunk-JQOET7TF.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
4
|
-
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-NGT2CCGM.js';
|
|
4
|
+
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-PZN4L2DN.js';
|
|
5
5
|
import { ensureHostKey } from './chunk-XU5BNWX7.js';
|
|
6
6
|
import { compareVersions } from './chunk-TV2OQUWE.js';
|
|
7
7
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-YQHUCOUL.js';
|
|
@@ -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-DM4TDEYF.js';
|
|
4
4
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-AUVJMR3P.js';
|
|
5
5
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
7
|
-
import { keyRunnerFactory } from './chunk-
|
|
6
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-LGCXRKIG.js';
|
|
7
|
+
import { keyRunnerFactory } from './chunk-DPXJ5RJU.js';
|
|
8
8
|
import { isSignatureRefusal, postJson } from './chunk-JQOET7TF.js';
|
|
9
9
|
import { signerFor } from './chunk-XU5BNWX7.js';
|
|
10
10
|
import { pidFilePath } from './chunk-YQHUCOUL.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-F26I6GKL.js';
|
|
4
4
|
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-AUVJMR3P.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
8
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, CLAUDE_CODE_VERSION, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-2I6VHGJA.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-NGT2CCGM.js';
|
|
8
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, CLAUDE_CODE_VERSION, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-PZN4L2DN.js';
|
|
9
9
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-YQHUCOUL.js';
|
|
10
10
|
import { withGitConfig, tokenHeader } from './chunk-GANAOCHR.js';
|
|
11
11
|
import { mkdirSync, rmSync, writeFileSync, existsSync, mkdtempSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
5
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
6
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK, volumeBytes } from './chunk-
|
|
7
|
-
import { spawnRun, RUNNER_LABEL, BUILD_LABEL } from './chunk-
|
|
8
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-ZO4ZOPYX.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-LGCXRKIG.js';
|
|
5
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-DPXJ5RJU.js';
|
|
6
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK, volumeBytes } from './chunk-FAA2URUR.js';
|
|
7
|
+
import { spawnRun, RUNNER_LABEL, BUILD_LABEL } from './chunk-2I6VHGJA.js';
|
|
8
|
+
import { builderDiskPinned } from './chunk-PZN4L2DN.js';
|
|
9
9
|
import { getJson, WorkCommandError } from './chunk-JQOET7TF.js';
|
|
10
10
|
import { ensureHostKey } from './chunk-XU5BNWX7.js';
|
|
11
11
|
import { BUILD_SLICE_MEMORY_ENV, FORWARDED_CLAUDE_CREDENTIAL_VARIABLES, claudeCredentialVariablesSet, claudeCredential, claudeEnvPath, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
@@ -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-DPXJ5RJU.js';
|
|
4
4
|
import { orgHomeDir } from './chunk-YQHUCOUL.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1195,8 +1195,8 @@ function doctorExitCode(checks) {
|
|
|
1195
1195
|
|
|
1196
1196
|
// src/doctor-report.ts
|
|
1197
1197
|
async function gatherDoctorChecks() {
|
|
1198
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1199
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1198
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-BF56FZBB.js');
|
|
1199
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-SGSBDXW2.js');
|
|
1200
1200
|
const configPath = defaultRunnerConfigPath();
|
|
1201
1201
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1202
1202
|
const hooks = (() => {
|
|
@@ -1224,7 +1224,7 @@ async function gatherDoctorChecks() {
|
|
|
1224
1224
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1225
1225
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1226
1226
|
} else if (hasRunnerBlock(configPath)) {
|
|
1227
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1227
|
+
const { runnerHostChecks } = await import('./doctor-GS6VC336.js');
|
|
1228
1228
|
const gateway = (() => {
|
|
1229
1229
|
try {
|
|
1230
1230
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1252,7 +1252,7 @@ async function gatherDoctorChecks() {
|
|
|
1252
1252
|
const service = await (async () => {
|
|
1253
1253
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1254
1254
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1255
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1255
|
+
const { inspectRunnerService } = await import('./find-unit-XGGULXYG.js');
|
|
1256
1256
|
return inspectRunnerService(configPath);
|
|
1257
1257
|
})();
|
|
1258
1258
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -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-5MJC6PH7.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-5MJC6PH7.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-Y7W4PBM2.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -8,17 +8,17 @@ import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
|
8
8
|
import { senderPidfile } from './chunk-O7CGRDRQ.js';
|
|
9
9
|
import { installScrubContext } from './chunk-AGMR4IQE.js';
|
|
10
10
|
import { upgradedStarterText } from './chunk-WJTIU2A5.js';
|
|
11
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, provisionWithFreshFallback, itemTag, hasClaudeCredential, AssetError, obtainImage, taggedLog, planSavedState, clockOf, savedStateBase, savedStatesDir, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, agentUidOf, userIdChangedReason, runBuildSteps, setupInputFor, runtimeStepInput, settleFailedSteps, keepRuntimeStep, keepMissingSetupScripts, createContainerRuntime, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, startHostServices, LEASE_SECONDS, itemScope, managedBuildSettingsFor, stopContainer, cleanupContainer, recordProofsInContainer, PROOFS_LOG, outOfMemoryReason, closeHostBuild, dropManagedClaudeKey, dropManagedBuildSettings, startCheckContainer, ranRuntimeStep, provisionRuntimes, lifecycleSteps, lifecycleFailureReason, runSetupScripts, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, discardUnusableState, MANAGED_UNJAILED_REASON, uidFromProbe, saveAndPrune, managedMachineLimits, withFactoryHosts, helperFirecrackerNote, said, managedClaudeKeyValuesFor, managedBuildSettingValuesFor, managedClaudeKeyValues, managedBuildSettingValues, stopJailed, deleteBuildDisk, RECORD_PROOFS_ARGV, managedClaudeKeyFor, ROOT_DISK_ID_PREFIX, copyTranscripts, writeRecord, containerJudgeEnvironment, deleteRecord, senderSignalScript, copyJudgeTree } from './chunk-
|
|
12
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
11
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, provisionWithFreshFallback, itemTag, hasClaudeCredential, AssetError, obtainImage, taggedLog, planSavedState, clockOf, savedStateBase, savedStatesDir, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, agentUidOf, userIdChangedReason, runBuildSteps, setupInputFor, runtimeStepInput, settleFailedSteps, keepRuntimeStep, keepMissingSetupScripts, createContainerRuntime, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, startHostServices, LEASE_SECONDS, itemScope, managedBuildSettingsFor, stopContainer, cleanupContainer, recordProofsInContainer, PROOFS_LOG, outOfMemoryReason, closeHostBuild, dropManagedClaudeKey, dropManagedBuildSettings, startCheckContainer, ranRuntimeStep, provisionRuntimes, lifecycleSteps, lifecycleFailureReason, runSetupScripts, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, discardUnusableState, MANAGED_UNJAILED_REASON, uidFromProbe, saveAndPrune, managedMachineLimits, withFactoryHosts, helperFirecrackerNote, said, managedClaudeKeyValuesFor, managedBuildSettingValuesFor, managedClaudeKeyValues, managedBuildSettingValues, stopJailed, deleteBuildDisk, RECORD_PROOFS_ARGV, managedClaudeKeyFor, ROOT_DISK_ID_PREFIX, copyTranscripts, writeRecord, containerJudgeEnvironment, deleteRecord, senderSignalScript, copyJudgeTree } from './chunk-ZO4ZOPYX.js';
|
|
12
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-5XV27STP.js';
|
|
13
13
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
14
14
|
import { waitForAgent, vmExecArgs } from './chunk-4PH4DVV4.js';
|
|
15
15
|
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-UZGQT6OF.js';
|
|
16
16
|
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, retrySend, formatClock, keptContextTree, WORKFLOW_PERMISSION_REASON } from './chunk-HERRKKES.js';
|
|
17
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
18
|
-
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, optionalEgress } from './chunk-
|
|
19
|
-
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-
|
|
20
|
-
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, parseSize, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-
|
|
21
|
-
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-
|
|
17
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-BETYII72.js';
|
|
18
|
+
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, optionalEgress } from './chunk-DPXJ5RJU.js';
|
|
19
|
+
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-FAA2URUR.js';
|
|
20
|
+
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, parseSize, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-2I6VHGJA.js';
|
|
21
|
+
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-PZN4L2DN.js';
|
|
22
22
|
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-JQOET7TF.js';
|
|
23
23
|
import { planArtifactUpload } from './chunk-PDK35AR4.js';
|
|
24
24
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-FAA2URUR.js';
|
|
4
|
+
import { parseSize } from './chunk-2I6VHGJA.js';
|
|
5
|
+
import { builderDiskPinned } from './chunk-PZN4L2DN.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
7
7
|
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-GANAOCHR.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
@@ -3,27 +3,27 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-ZI7JENTB.js';
|
|
4
4
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
7
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
-
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-
|
|
6
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-4ZJI3IG2.js';
|
|
7
|
+
import { renderUpdateSteps } from './chunk-JJ7YQWYS.js';
|
|
8
|
+
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-DM4TDEYF.js';
|
|
9
9
|
import { RUNNER_PROTOCOL } from './chunk-FJ7KTNMD.js';
|
|
10
10
|
import { writeFleetState } from './chunk-LW2A24IA.js';
|
|
11
11
|
import { writePendingUpdate } from './chunk-SHPCVBT3.js';
|
|
12
12
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
13
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL, askFleetMachine } from './chunk-
|
|
13
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL, askFleetMachine } from './chunk-6WVUXK3M.js';
|
|
14
14
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-7R655ODT.js';
|
|
15
15
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
16
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, itemTag, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, HELPER_ENV, setUpRunnerCgroup, sweepImageBuilders, usableCpus, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, selectStaleIncomplete, selectExpired, selectToFit, removeSavedState } from './chunk-
|
|
16
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, itemTag, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, HELPER_ENV, setUpRunnerCgroup, sweepImageBuilders, usableCpus, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, selectStaleIncomplete, selectExpired, selectToFit, removeSavedState } from './chunk-ZO4ZOPYX.js';
|
|
17
17
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-AUVJMR3P.js';
|
|
18
18
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
19
19
|
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-HERRKKES.js';
|
|
20
20
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-SQGD4LYW.js';
|
|
21
21
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
22
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
23
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, 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, readJobFileChecked } from './chunk-
|
|
22
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-LGCXRKIG.js';
|
|
23
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-BETYII72.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-DPXJ5RJU.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-FAA2URUR.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, readJobFileChecked } from './chunk-2I6VHGJA.js';
|
|
27
27
|
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-JQOET7TF.js';
|
|
28
28
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-XU5BNWX7.js';
|
|
29
29
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -3679,7 +3679,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3679
3679
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3680
3680
|
const held = heldClaudeCredential();
|
|
3681
3681
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3682
|
-
return (await import('./check-
|
|
3682
|
+
return (await import('./check-ZGD773U7.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3683
3683
|
},
|
|
3684
3684
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3685
3685
|
log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-
|
|
3
|
+
import { GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-PZN4L2DN.js';
|
|
4
4
|
import { PROXY_WARNING_FLAG } from './chunk-GANAOCHR.js';
|
|
5
5
|
import { RELAY_ID, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
6
6
|
|
|
@@ -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-2I6VHGJA.js';
|
|
4
4
|
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-YQHUCOUL.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
@@ -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-DM4TDEYF.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-SQGD4LYW.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-UYJ2BXB2.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,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-DPXJ5RJU.js';
|
|
4
|
+
import { parseSize } from './chunk-2I6VHGJA.js';
|
|
5
5
|
import { runnerDir } from './chunk-YQHUCOUL.js';
|
|
6
6
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, CLAUDE_CREDENTIAL_ID, CLAUDE_ENV_FILE, credentialLineIn, withoutCredentialLines } from './chunk-GANAOCHR.js';
|
|
7
7
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
@@ -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-LGCXRKIG.js';
|
|
4
4
|
import { RUNNER_FILE_MODE } from './chunk-YQHUCOUL.js';
|
|
5
5
|
import { claudeEnvPath, withoutCredentialLines, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
6
6
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-PZN4L2DN.js';
|
|
4
4
|
import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, resolve, relative, dirname, sep, basename } from 'path';
|
|
6
6
|
import { createRequire as createRequire$1 } from 'module';
|
|
@@ -135,8 +135,8 @@ var PLAYWRIGHT_FFMPEG = {
|
|
|
135
135
|
};
|
|
136
136
|
var MEDIA_PINS = `${VOICE_PACK_VERSION}+${FFMPEG_BUILD_TAG}+${HEADLESS_SHELL_VERSION}+${PLAYWRIGHT_FFMPEG_REVISION}`;
|
|
137
137
|
var UNIVERSAL_IMAGE_REPOSITORY = "ghcr.io/outerlayerai/universal";
|
|
138
|
-
var UNIVERSAL_IMAGE_SOURCE = "src-
|
|
139
|
-
var UNIVERSAL_IMAGE_DIGEST = "sha256:
|
|
138
|
+
var UNIVERSAL_IMAGE_SOURCE = "src-2f7fee52a9cd6e694f2f797fdb162e5591e1eab1943b23343fd7f317a4cbf39e";
|
|
139
|
+
var UNIVERSAL_IMAGE_DIGEST = "sha256:33fe194b2a39c5b914f8da709531726ff48662fd7b5f89f97fdba516334dca09";
|
|
140
140
|
var UNIVERSAL_IMAGE = `${UNIVERSAL_IMAGE_REPOSITORY}:${UNIVERSAL_IMAGE_SOURCE}@${UNIVERSAL_IMAGE_DIGEST}`;
|
|
141
141
|
function universalImagePinned(digest = UNIVERSAL_IMAGE_DIGEST) {
|
|
142
142
|
return digest !== `sha256:${"0".repeat(64)}`;
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
4
|
import { runEmitArtifact } from './chunk-3EEJGQEJ.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
6
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-PZN4L2DN.js';
|
|
7
7
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
8
8
|
import { autoConnect } from './chunk-UGPJIKN4.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
@@ -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-LGCXRKIG.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-GANAOCHR.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
4
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
5
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
4
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-5XV27STP.js';
|
|
5
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-F26I6GKL.js';
|
|
6
6
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
7
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
8
8
|
import { runExec, execCapture, waitForAgent } from './chunk-4PH4DVV4.js';
|
|
9
9
|
import { GUEST_CID, linkVsockSockets } from './chunk-UZGQT6OF.js';
|
|
10
10
|
import { retrySend, describeCallFailure, formatDuration, keepStagedContext, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, prefetchGovernedContext, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-HERRKKES.js';
|
|
11
11
|
import { runnerImageVersion } from './chunk-SQGD4LYW.js';
|
|
12
|
-
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
13
|
-
import { claimCalls } from './chunk-
|
|
14
|
-
import { optionalEgress, runnerCredentialProblem, builtinKind, keyRunnerFactory, DEFAULT_SETUP_MINUTES, allowHostProblem, DEFAULT_SAVED_STATE_MAX_BYTES, systemClock, emptyEgressCounts, hostAllowed } from './chunk-
|
|
15
|
-
import { DEFAULT_BUILD_DISK, formatBytes, allocatedBytes } from './chunk-
|
|
16
|
-
import { parseSize, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, networkHelperName, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, NETWORK_READY_FILE, spawnRun, identityRunArgs, parseIdentity, networkHelperRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
17
|
-
import { RecipeError, DOCKER_FEATURE, universalImagePending, writeSanitizedRecipe, classifyProperties } from './chunk-
|
|
18
|
-
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, CLAUDE_CODE_VERSION, builderDiskPinned, guestAssetsPinned, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE } from './chunk-
|
|
12
|
+
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-MCK4XMV5.js';
|
|
13
|
+
import { claimCalls } from './chunk-BETYII72.js';
|
|
14
|
+
import { optionalEgress, runnerCredentialProblem, builtinKind, keyRunnerFactory, DEFAULT_SETUP_MINUTES, allowHostProblem, DEFAULT_SAVED_STATE_MAX_BYTES, systemClock, emptyEgressCounts, hostAllowed } from './chunk-DPXJ5RJU.js';
|
|
15
|
+
import { DEFAULT_BUILD_DISK, formatBytes, allocatedBytes } from './chunk-FAA2URUR.js';
|
|
16
|
+
import { parseSize, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, networkHelperName, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, NETWORK_READY_FILE, spawnRun, identityRunArgs, parseIdentity, networkHelperRunArgs, SAVED_STATE_LABEL } from './chunk-2I6VHGJA.js';
|
|
17
|
+
import { RecipeError, DOCKER_FEATURE, universalImagePending, writeSanitizedRecipe, classifyProperties } from './chunk-NGT2CCGM.js';
|
|
18
|
+
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, CLAUDE_CODE_VERSION, builderDiskPinned, guestAssetsPinned, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE } from './chunk-PZN4L2DN.js';
|
|
19
19
|
import { postJson, WorkCommandError, getJson } from './chunk-JQOET7TF.js';
|
|
20
20
|
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
21
21
|
import { signerFor } from './chunk-XU5BNWX7.js';
|
|
@@ -421,24 +421,42 @@ function createContainerHost(deps = {}) {
|
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
// src/runner/microvm/disks.ts
|
|
424
|
-
function
|
|
424
|
+
function fillRootDisk() {
|
|
425
425
|
return [
|
|
426
|
-
"set -eu",
|
|
427
|
-
`rootfs=${workDir}`,
|
|
428
|
-
'mkdir -p "$rootfs"',
|
|
429
|
-
'tar -xf - -C "$rootfs"',
|
|
430
426
|
'used_kb=$(du -sk "$rootfs" | cut -f1)',
|
|
431
427
|
'files=$(find "$rootfs" | wc -l)',
|
|
432
|
-
// The file is made roomy and sparse, so that populating it cannot run out of space, and is shrunk to the smallest size that holds the files afterwards.
|
|
433
428
|
"total_kb=$(( used_kb * 2 + 262144 ))",
|
|
434
429
|
'truncate -s "${total_kb}K" "/out/$OUT_NAME"',
|
|
435
|
-
'mke2fs -q -F -t ext4 -m 0 -N $(( files + files / 4 + 4096 )) -d "$rootfs" "/out/$OUT_NAME"'
|
|
430
|
+
'mke2fs -q -F -t ext4 -m 0 -N $(( files + files / 4 + 4096 )) -d "$rootfs" "/out/$OUT_NAME"'
|
|
431
|
+
];
|
|
432
|
+
}
|
|
433
|
+
function shrinkRootDisk() {
|
|
434
|
+
return [
|
|
436
435
|
// e2fsck exits 1 when it repaired something; resize2fs -M needs the check to have run.
|
|
437
436
|
'e2fsck -f -y "/out/$OUT_NAME" > /dev/null || [ $? -lt 4 ]',
|
|
438
437
|
'resize2fs -M "/out/$OUT_NAME" > /dev/null 2>&1',
|
|
439
|
-
'chown "$HOST_UID:$HOST_GID" "/out/$OUT_NAME"'
|
|
440
|
-
|
|
441
|
-
|
|
438
|
+
'chown "$HOST_UID:$HOST_GID" "/out/$OUT_NAME"'
|
|
439
|
+
];
|
|
440
|
+
}
|
|
441
|
+
function converterScript() {
|
|
442
|
+
return ["set -eu", "rootfs=/tmp/rootfs", 'mkdir -p "$rootfs"', 'tar -xf - -C "$rootfs"', ...fillRootDisk(), ...shrinkRootDisk()].join("\n");
|
|
443
|
+
}
|
|
444
|
+
var LAYER_MOUNT = "/run/builder/rootfs";
|
|
445
|
+
function layerConverterScript() {
|
|
446
|
+
return [
|
|
447
|
+
"set -eu",
|
|
448
|
+
`graph=$(docker container inspect --format '{{.GraphDriver.Name}} {{.GraphDriver.Data.UpperDir}}' "$1")`,
|
|
449
|
+
"driver=${graph%% *}",
|
|
450
|
+
`[ "$driver" = overlay2 ] || { echo "the builder's Docker engine stores layers with $driver, and the root disk is made only from overlay2 layers" >&2; exit 1; }`,
|
|
451
|
+
'layer=$(dirname "${graph#* }")',
|
|
452
|
+
`rootfs=${LAYER_MOUNT}`,
|
|
453
|
+
'mkdir -p "$rootfs"',
|
|
454
|
+
'( cd "$(dirname "$layer")" && mount -t overlay overlay -o "ro,lowerdir=l/$(cat "$layer/link"):$(cat "$layer/lower")" "$rootfs" )',
|
|
455
|
+
`trap 'umount "$rootfs"' EXIT`,
|
|
456
|
+
...fillRootDisk(),
|
|
457
|
+
'umount "$rootfs"',
|
|
458
|
+
"trap - EXIT",
|
|
459
|
+
...shrinkRootDisk()
|
|
442
460
|
].join("\n");
|
|
443
461
|
}
|
|
444
462
|
var ids = () => ({ uid: String(process.getuid?.() ?? 0), gid: String(process.getgid?.() ?? 0) });
|
|
@@ -2145,7 +2163,7 @@ function builderGuestScript(parts) {
|
|
|
2145
2163
|
JSON.stringify(clientConfig(), null, 2),
|
|
2146
2164
|
"OL_CLIENT_JSON",
|
|
2147
2165
|
"cat > /run/builder/convert.sh <<'OL_CONVERT'",
|
|
2148
|
-
|
|
2166
|
+
layerConverterScript(),
|
|
2149
2167
|
"OL_CONVERT",
|
|
2150
2168
|
// The forwarder binds the bridge address before the engine makes the bridge.
|
|
2151
2169
|
"echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind",
|
|
@@ -2162,12 +2180,12 @@ function builderGuestScript(parts) {
|
|
|
2162
2180
|
build,
|
|
2163
2181
|
`docker build --progress plain --tag ${buildTag} --file /work/tools/Dockerfile /work/tools`,
|
|
2164
2182
|
`docker image inspect --format '{{json .Config}}' ${buildTag} > /run/builder/config.json`,
|
|
2165
|
-
// The conversion puts the
|
|
2166
|
-
//
|
|
2183
|
+
// The conversion puts the root disk beside the layers. The inputs and Docker's copies of the build contexts are not
|
|
2184
|
+
// needed for it, and the tool files in them are large, so they go first.
|
|
2167
2185
|
"rm -rf /work/repo /work/recipe /work/tools/fetched",
|
|
2168
2186
|
"docker builder prune --force --filter type=source.local > /dev/null 2>&1 || true",
|
|
2169
2187
|
`container=$(docker create ${buildTag} none)`,
|
|
2170
|
-
'
|
|
2188
|
+
'OUT_NAME=rootfs.ext4 HOST_UID=0 HOST_GID=0 sh /run/builder/convert.sh "$container"',
|
|
2171
2189
|
'docker rm --force --volumes "$container" > /dev/null',
|
|
2172
2190
|
`printf '${RESULT_PREFIX}{"config":%s,"bytes":%s}\\n' "$(cat /run/builder/config.json)" "$(stat -c %s ${GUEST_OUTPUT})"`,
|
|
2173
2191
|
""
|