@outerlayer/cli 0.38.0-next.20261112043334 → 0.38.0-next.20261112060830
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/README.md +3 -1
- package/dist/{build-FNUOBMFG.js → build-F6G4J2FW.js} +2 -2
- package/dist/{build-disk-4PCVGMAT.js → build-disk-AC32UE6Q.js} +2 -2
- package/dist/build-info.json +1 -1
- package/dist/{builder-JG2DHKSN.js → builder-BXWJDPFD.js} +1 -1
- package/dist/{caller-A2K7SLSL.js → caller-2CWKZUMK.js} +4 -4
- package/dist/{check-6JV4M2U6.js → check-Y37I4WJY.js} +13 -13
- package/dist/{chunk-6M3GJTGE.js → chunk-4QBKDMMR.js} +2 -2
- package/dist/{chunk-A4NWDCWS.js → chunk-4VJAUAUZ.js} +1 -1
- package/dist/{chunk-WG5OBUIZ.js → chunk-5BNJCTX3.js} +2 -2
- package/dist/{chunk-EUHUIIGT.js → chunk-AE5RNDFC.js} +2 -2
- package/dist/{chunk-2PJO6QS2.js → chunk-AY37L45W.js} +3 -3
- package/dist/{chunk-5AVYYNGU.js → chunk-C4ODIVBE.js} +1 -1
- package/dist/{chunk-KRYTOYH5.js → chunk-D2HVKCAP.js} +10 -10
- package/dist/{chunk-LM2MCACJ.js → chunk-E3AFLETW.js} +4 -4
- package/dist/{chunk-C5NJHYLO.js → chunk-FOXLLZL2.js} +3 -3
- package/dist/{chunk-OAPWDSBW.js → chunk-K4BL5PKW.js} +1 -1
- package/dist/{chunk-37WGI6GZ.js → chunk-NWFGPL72.js} +4 -4
- package/dist/{chunk-ERG3WCEC.js → chunk-QZSYYHWU.js} +2 -0
- package/dist/{chunk-RTMIEV5N.js → chunk-SUQYLS7Z.js} +2 -2
- package/dist/{chunk-BBIFZCCB.js → chunk-TE6II3DH.js} +163 -73
- package/dist/{chunk-RCK2MJRG.js → chunk-WNKNY3ON.js} +1 -1
- package/dist/{chunk-3C23ZPWR.js → chunk-XWPDXQYX.js} +1 -1
- package/dist/{cli-7MJFFRYI.js → cli-6YLSLHV5.js} +59 -52
- package/dist/{command-XLJ75AS5.js → command-COOL6ZO7.js} +9 -9
- package/dist/{config-5KMNGNK5.js → config-BVXXJ42A.js} +3 -3
- package/dist/{container-start-F6T3JPRM.js → container-start-45KGI3FK.js} +10 -10
- package/dist/{docker-T7A6GZDD.js → docker-AN3FVXDR.js} +1 -1
- package/dist/{doctor-F7TCZO3O.js → doctor-ZJBJNHGD.js} +10 -10
- package/dist/{find-unit-3QYPTK6A.js → find-unit-Q4PYWSZK.js} +5 -5
- package/dist/{host-checks-VWWXDWV2.js → host-checks-GH3ZZU25.js} +8 -8
- package/dist/index.js +1 -1
- package/dist/{init-OIHCYS4S.js → init-FL7HNYBZ.js} +8 -8
- package/dist/{init-W4X47BR5.js → init-RWEVJLEY.js} +8 -8
- package/dist/{init-agent-QQF3VGIJ.js → init-agent-453OBSZF.js} +8 -8
- package/dist/{init-cmd-QXAL75UY.js → init-cmd-7KXNQUBQ.js} +1 -1
- package/dist/{loop-U5AUIWQG.js → loop-OFKJO3OD.js} +12 -12
- package/dist/{machine-6DFKQ3LQ.js → machine-BUYUGQZV.js} +8 -8
- package/dist/{relay-V7LX2WR6.js → relay-EWL5ENEI.js} +19 -4
- package/dist/{runner-env-3QPJQ2H2.js → runner-env-D5KKKJTW.js} +5 -5
- package/dist/{runner-identity-GTWFQEIN.js → runner-identity-5WSI6HPW.js} +1 -1
- package/dist/{runner-key-WZXU64C7.js → runner-key-M5L3Q7AF.js} +8 -8
- package/dist/{status-QBQAN35R.js → status-7EUPBDYS.js} +8 -8
- package/dist/{update-steps-QRRCMRL4.js → update-steps-MMOH7GAJ.js} +9 -9
- package/dist/{work-claim-cmd-QDNRGX2N.js → work-claim-cmd-RDRFNBL3.js} +3 -3
- package/dist/{work-proofs-cmd-DSDVAM6V.js → work-proofs-cmd-CD5YQDSS.js} +1 -1
- package/dist/{work-proofs-record-AC5UQ2ME.js → work-proofs-record-PR3UHFMU.js} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -365,7 +365,9 @@ content:
|
|
|
365
365
|
host accepts no inbound connection and the sandbox needs no route to it. The
|
|
366
366
|
first message of that WebSocket holds a join secret the runner made for the
|
|
367
367
|
build, and the relay in the sandbox closes a connection that does not send
|
|
368
|
-
it.
|
|
368
|
+
it. When the sandbox's kernel gives a TUN device, the runner also sends the
|
|
369
|
+
guest helper it pins to the sandbox, and the build's container joins the
|
|
370
|
+
network of a helper container there. The sandbox reaches only the hosts in `runner.sandbox.allowHosts`. No
|
|
369
371
|
model credential, item key or push token enters the sandbox: the runner adds
|
|
370
372
|
each one to a request that leaves through its tunnel.
|
|
371
373
|
When a build of a work item ends, the runner removes the build's container
|
|
@@ -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, readRepositoryRecipe, universalBase, writeRecord } from './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, readRepositoryRecipe, universalBase, writeRecord } from './chunk-C4ODIVBE.js';
|
|
4
4
|
import './chunk-NO4N4D32.js';
|
|
5
5
|
import './chunk-NDQC2WUJ.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-QZSYYHWU.js';
|
|
8
8
|
export { RecipeError } from './chunk-FUZEOWF4.js';
|
|
9
9
|
import './chunk-I5U6CFH4.js';
|
|
10
10
|
import './chunk-JIANCWJ3.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-XWPDXQYX.js';
|
|
4
|
+
import './chunk-QZSYYHWU.js';
|
|
5
5
|
import './chunk-FUZEOWF4.js';
|
|
6
6
|
import './chunk-I5U6CFH4.js';
|
|
7
7
|
import './chunk-JIANCWJ3.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-12T06:16:09.117Z","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, isOutOfDisk, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfDisk, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-QZSYYHWU.js';
|
|
4
4
|
import './chunk-FUZEOWF4.js';
|
|
5
5
|
import './chunk-I5U6CFH4.js';
|
|
6
6
|
import './chunk-JIANCWJ3.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { claimCalls, claimItem, configForJob, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { claimCalls, claimItem, configForJob, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-WNKNY3ON.js';
|
|
4
|
+
import './chunk-AE5RNDFC.js';
|
|
5
|
+
import './chunk-XWPDXQYX.js';
|
|
6
|
+
import './chunk-QZSYYHWU.js';
|
|
7
7
|
import './chunk-FUZEOWF4.js';
|
|
8
8
|
import './chunk-I5U6CFH4.js';
|
|
9
9
|
import './chunk-JIANCWJ3.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-D2HVKCAP.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-AY37L45W.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-6X2BSMRM.js';
|
|
8
8
|
import './chunk-WFYKTAXZ.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-SUQYLS7Z.js';
|
|
10
10
|
import './chunk-2UCTMANO.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-NWFGPL72.js';
|
|
12
12
|
import './chunk-POBH5YCG.js';
|
|
13
|
-
import { findServiceUnit } from './chunk-
|
|
14
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
13
|
+
import { findServiceUnit } from './chunk-K4BL5PKW.js';
|
|
14
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-TE6II3DH.js';
|
|
15
15
|
import './chunk-722KABMV.js';
|
|
16
16
|
import './chunk-KVWFAAAQ.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
18
18
|
import './chunk-I3LTIAOR.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-4VJAUAUZ.js';
|
|
20
|
+
import './chunk-5BNJCTX3.js';
|
|
21
21
|
import './chunk-4T2NBVC4.js';
|
|
22
22
|
import './chunk-DZFIRKDZ.js';
|
|
23
23
|
import './chunk-N6BNN6ZD.js';
|
|
@@ -28,9 +28,9 @@ import './chunk-C2PZOLN7.js';
|
|
|
28
28
|
import './chunk-ZVB57WI6.js';
|
|
29
29
|
import './chunk-UXARYJQ4.js';
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-WNKNY3ON.js';
|
|
32
32
|
import './chunk-NN33FYXG.js';
|
|
33
|
-
import './chunk-
|
|
33
|
+
import './chunk-C4ODIVBE.js';
|
|
34
34
|
import './chunk-NO4N4D32.js';
|
|
35
35
|
import './chunk-NDQC2WUJ.js';
|
|
36
36
|
import './chunk-JBJTC3UU.js';
|
|
@@ -41,9 +41,9 @@ import './chunk-SFN7K33S.js';
|
|
|
41
41
|
import './chunk-DNXYI22V.js';
|
|
42
42
|
import './chunk-2VJVPP5Y.js';
|
|
43
43
|
import './chunk-5UFAWMET.js';
|
|
44
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
44
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-AE5RNDFC.js';
|
|
45
|
+
import './chunk-XWPDXQYX.js';
|
|
46
|
+
import './chunk-QZSYYHWU.js';
|
|
47
47
|
import './chunk-FUZEOWF4.js';
|
|
48
48
|
import './chunk-SLORYOL4.js';
|
|
49
49
|
import './chunk-KZU5WQK5.js';
|
|
@@ -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-TE6II3DH.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-5BNJCTX3.js';
|
|
5
5
|
import { runnerDir } from './chunk-JIANCWJ3.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-5BNJCTX3.js';
|
|
4
4
|
import { RUNNER_FILE_MODE } from './chunk-JIANCWJ3.js';
|
|
5
5
|
import { parseRunnerEnv, withoutCredentialLines } from './chunk-EJ7ZXBXS.js';
|
|
6
6
|
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-J6KKJGR7.js';
|
|
@@ -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-AE5RNDFC.js';
|
|
4
|
+
import { parseSize } from './chunk-QZSYYHWU.js';
|
|
5
5
|
import { runnerDir } from './chunk-JIANCWJ3.js';
|
|
6
6
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-EJ7ZXBXS.js';
|
|
7
7
|
import { credentialAgent, credentialNames, credentialForms } from './chunk-J6KKJGR7.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-XWPDXQYX.js';
|
|
4
|
+
import { parseSize } from './chunk-QZSYYHWU.js';
|
|
5
5
|
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-4FHDVWKO.js';
|
|
6
6
|
import { builderDiskPinned } from './chunk-J6KKJGR7.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -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-TE6II3DH.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-5BNJCTX3.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-NDQC2WUJ.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
7
|
import { isSignatureRefusal, postJson } from './chunk-DNXYI22V.js';
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
8
|
+
import { keyRunnerFactory } from './chunk-AE5RNDFC.js';
|
|
9
9
|
import { signerFor } from './chunk-I5U6CFH4.js';
|
|
10
10
|
import { pidFilePath } from './chunk-JIANCWJ3.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { toolsDockerfile } from './chunk-NO4N4D32.js';
|
|
4
4
|
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-NDQC2WUJ.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-QZSYYHWU.js';
|
|
7
7
|
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-FUZEOWF4.js';
|
|
8
8
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-JIANCWJ3.js';
|
|
9
9
|
import { withGitConfig, tokenHeader } from './chunk-4FHDVWKO.js';
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-AY37L45W.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
6
|
import { writeFleetState } from './chunk-6X2BSMRM.js';
|
|
7
7
|
import { writePendingUpdate } from './chunk-WFYKTAXZ.js';
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { renderUpdateSteps } from './chunk-SUQYLS7Z.js';
|
|
9
9
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-2UCTMANO.js';
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-NWFGPL72.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-POBH5YCG.js';
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-TE6II3DH.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-KVWFAAAQ.js';
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-5BNJCTX3.js';
|
|
15
15
|
import { RepoFilter } from './chunk-3T7PXUHN.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
17
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-UXARYJQ4.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-WNKNY3ON.js';
|
|
20
20
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-NDQC2WUJ.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-SFN7K33S.js';
|
|
23
23
|
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-DNXYI22V.js';
|
|
24
|
-
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
24
|
+
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-AE5RNDFC.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-XWPDXQYX.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-QZSYYHWU.js';
|
|
27
27
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-I5U6CFH4.js';
|
|
28
28
|
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-JIANCWJ3.js';
|
|
29
29
|
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-4FHDVWKO.js';
|
|
@@ -4127,7 +4127,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4127
4127
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4128
4128
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4129
4129
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4130
|
-
return (await import('./check-
|
|
4130
|
+
return (await import('./check-Y37I4WJY.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4131
4131
|
},
|
|
4132
4132
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4133
4133
|
log
|
|
@@ -1052,8 +1052,8 @@ function doctorExitCode(checks) {
|
|
|
1052
1052
|
|
|
1053
1053
|
// src/doctor-report.ts
|
|
1054
1054
|
async function gatherDoctorChecks(options = {}) {
|
|
1055
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1056
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1055
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-AC32UE6Q.js');
|
|
1056
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-BVXXJ42A.js');
|
|
1057
1057
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1058
1058
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1059
1059
|
const hooks = (() => {
|
|
@@ -1081,7 +1081,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1081
1081
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1082
1082
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1083
1083
|
} else if (hasRunnerBlock(configPath)) {
|
|
1084
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1084
|
+
const { runnerHostChecks } = await import('./doctor-ZJBJNHGD.js');
|
|
1085
1085
|
const gateway = (() => {
|
|
1086
1086
|
try {
|
|
1087
1087
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1109,7 +1109,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1109
1109
|
const service = await (async () => {
|
|
1110
1110
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1111
1111
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1112
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1112
|
+
const { inspectRunnerService } = await import('./find-unit-Q4PYWSZK.js');
|
|
1113
1113
|
return inspectRunnerService(configPath);
|
|
1114
1114
|
})();
|
|
1115
1115
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-GH3ZZU25.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-GH3ZZU25.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-PR3UHFMU.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -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-5BNJCTX3.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-EJ7ZXBXS.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -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-TE6II3DH.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-5BNJCTX3.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-DNXYI22V.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-AE5RNDFC.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-XWPDXQYX.js';
|
|
8
8
|
import { ensureHostKey } from './chunk-I5U6CFH4.js';
|
|
9
9
|
import { sandboxSettingsFrom } from './chunk-4FHDVWKO.js';
|
|
10
10
|
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-EJ7ZXBXS.js';
|
|
@@ -716,6 +716,8 @@ function networkHelperRunArgs(input) {
|
|
|
716
716
|
...input.limits.cpuset === void 0 ? [] : ["--cpuset-cpus", input.limits.cpuset],
|
|
717
717
|
"--pids-limit",
|
|
718
718
|
String(NETWORK_HELPER_PIDS),
|
|
719
|
+
// An image that was not built by this runner may hold no helper, or another version's: the runner's own is mounted over it.
|
|
720
|
+
...input.helperFile === void 0 ? [] : ["--mount", `type=bind,src=${input.helperFile},dst=${NETWORK_HELPER_PROGRAM},readonly`],
|
|
719
721
|
"--entrypoint",
|
|
720
722
|
NETWORK_HELPER_PROGRAM,
|
|
721
723
|
input.image,
|
|
@@ -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-TE6II3DH.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-UXARYJQ4.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-AN3FVXDR.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 = "";
|