@outerlayer/cli 0.36.0-next.20261031112440 → 0.36.0-next.20261031161320
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-KM6UILOZ.js → build-XZGB4JPQ.js} +5 -5
- package/dist/{build-disk-GCEB5EJC.js → build-disk-YLQT3UHL.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-NRPJGNXU.js → builder-TS3QFXN4.js} +3 -3
- package/dist/{caller-XHNAY4E2.js → caller-VHISEQAD.js} +6 -6
- package/dist/{check-MENIW2MN.js → check-ARDGJYVM.js} +17 -17
- package/dist/{chunk-OPF6OJAT.js → chunk-27DQ3DDF.js} +3 -3
- package/dist/{chunk-4PH4DVV4.js → chunk-46OBCATR.js} +4 -0
- package/dist/{chunk-MMDGO77D.js → chunk-4NMAJYYE.js} +1 -1
- package/dist/{chunk-FRDYAKH3.js → chunk-4RSTPRMH.js} +2 -2
- package/dist/{chunk-PJZKKFQO.js → chunk-6O33JZ3X.js} +2 -2
- package/dist/{chunk-K2YG2HZN.js → chunk-7SDVHXP7.js} +10 -10
- package/dist/{chunk-TV5ITSVY.js → chunk-CIUD3436.js} +1 -1
- package/dist/{chunk-3QLHEGXK.js → chunk-H3S5LJI2.js} +3 -3
- package/dist/{chunk-AVJWMOEY.js → chunk-IGHAPIKZ.js} +1 -1
- package/dist/{chunk-MVSC7GCE.js → chunk-IP7F4CQH.js} +2 -2
- package/dist/{chunk-25GQP6NR.js → chunk-JVQYYVDS.js} +282 -108
- package/dist/{chunk-H3MLZ4EA.js → chunk-KB5B6ZT5.js} +1 -1
- package/dist/{chunk-3YRJUX6J.js → chunk-LXYWSGEW.js} +1 -1
- package/dist/{chunk-VJYNMGCE.js → chunk-MR5MAX77.js} +2 -2
- package/dist/{chunk-34YFGWHR.js → chunk-NRTRPGCW.js} +1 -1
- package/dist/{chunk-7SO2VHTQ.js → chunk-OUPQTA7N.js} +2 -2
- package/dist/{chunk-4AMSCAHT.js → chunk-PGWK2FH5.js} +5 -5
- package/dist/{chunk-LESWXCKZ.js → chunk-RUK7QHSH.js} +4 -4
- package/dist/{chunk-5AJZGYWC.js → chunk-SK7ZXQIV.js} +1 -1
- package/dist/{chunk-6T2JWCSZ.js → chunk-TXJMHMPO.js} +4 -4
- package/dist/{chunk-BFF6AJXM.js → chunk-VHR3WQTP.js} +3 -3
- package/dist/{cli-TAFO3WOQ.js → cli-YLO3M2X4.js} +47 -47
- package/dist/{command-TRSFSBT5.js → command-IANIXN6N.js} +13 -13
- package/dist/{config-YCQV3OQK.js → config-FF3E73ZE.js} +5 -5
- package/dist/{container-start-UY2YVY3L.js → container-start-EUTOX4EU.js} +14 -14
- package/dist/{demo-record-cmd-NUGDPXWS.js → demo-record-cmd-Y57UWBCX.js} +3 -3
- package/dist/{demo-voice-cmd-QAH7KPVO.js → demo-voice-cmd-QFVATHAQ.js} +2 -2
- package/dist/{docker-2247NBIK.js → docker-6QIZVYF3.js} +3 -3
- package/dist/{doctor-VVFPHFS4.js → doctor-VSPDIR6T.js} +14 -14
- package/dist/{emit-demo-cmd-V7CP333I.js → emit-demo-cmd-ZYMLB5R5.js} +2 -2
- package/dist/{exec-client-UHL7WPDO.js → exec-client-FGGPQSYQ.js} +1 -1
- package/dist/{find-unit-FEYD4IHC.js → find-unit-EX5ETHGL.js} +7 -7
- package/dist/{host-checks-TX22YEFD.js → host-checks-3QBPJLSG.js} +12 -12
- package/dist/index.js +1 -1
- package/dist/{init-IYL3YXEM.js → init-5QYRPZ63.js} +12 -12
- package/dist/{init-36AY3ZQZ.js → init-JLOGNKPC.js} +12 -12
- package/dist/{init-cmd-JK2OGQU5.js → init-cmd-NDXN2XPU.js} +1 -1
- package/dist/{loop-U72FDFQR.js → loop-I7ZM4CEZ.js} +16 -16
- package/dist/{machine-S2TYJJPP.js → machine-7NYF2WBI.js} +12 -12
- package/dist/{runner-env-OPRWKIKI.js → runner-env-LWKAYARL.js} +7 -7
- package/dist/{runner-identity-OY75LG6G.js → runner-identity-WUAQLGRY.js} +3 -3
- package/dist/{runner-key-6WN67PRU.js → runner-key-VVLYZFP6.js} +12 -12
- package/dist/{status-WCQG6SX4.js → status-I3TV7ZZV.js} +12 -12
- package/dist/{update-steps-BOKCWGQ6.js → update-steps-VOSUXXMS.js} +13 -13
- package/dist/{work-claim-cmd-2A6D5EYO.js → work-claim-cmd-KG3VBBZ2.js} +5 -5
- package/dist/{work-proofs-cmd-RPVVD2SC.js → work-proofs-cmd-74Z72ZG6.js} +1 -1
- package/dist/{work-proofs-record-ULCY5QEP.js → work-proofs-record-LT7UXHNZ.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-RUK7QHSH.js';
|
|
4
|
+
import './chunk-KB5B6ZT5.js';
|
|
5
5
|
import './chunk-WAZJPDR2.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
export { RecipeError } from './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-6O33JZ3X.js';
|
|
8
|
+
export { RecipeError } from './chunk-CIUD3436.js';
|
|
9
|
+
import './chunk-OUPQTA7N.js';
|
|
10
10
|
import './chunk-4DJZSNVT.js';
|
|
11
11
|
import './chunk-MXWPLGO6.js';
|
|
12
12
|
import './chunk-VUG4IZ7H.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-IGHAPIKZ.js';
|
|
4
|
+
import './chunk-6O33JZ3X.js';
|
|
5
|
+
import './chunk-CIUD3436.js';
|
|
6
|
+
import './chunk-OUPQTA7N.js';
|
|
7
7
|
import './chunk-4DJZSNVT.js';
|
|
8
8
|
import './chunk-MXWPLGO6.js';
|
|
9
9
|
import './chunk-VUG4IZ7H.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-
|
|
1
|
+
{"id":"2026-10-31T16:15:33.663Z+418c02a","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-6O33JZ3X.js';
|
|
4
|
+
import './chunk-CIUD3436.js';
|
|
5
|
+
import './chunk-OUPQTA7N.js';
|
|
6
6
|
import './chunk-4DJZSNVT.js';
|
|
7
7
|
import './chunk-MXWPLGO6.js';
|
|
8
8
|
import './chunk-VUG4IZ7H.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-LXYWSGEW.js';
|
|
4
|
+
import './chunk-H3S5LJI2.js';
|
|
5
|
+
import './chunk-IGHAPIKZ.js';
|
|
6
|
+
import './chunk-6O33JZ3X.js';
|
|
7
|
+
import './chunk-CIUD3436.js';
|
|
8
|
+
import './chunk-OUPQTA7N.js';
|
|
9
9
|
import './chunk-4DJZSNVT.js';
|
|
10
10
|
import './chunk-MXWPLGO6.js';
|
|
11
11
|
import './chunk-VUG4IZ7H.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-7SDVHXP7.js';
|
|
4
4
|
import './chunk-7Y5VW4JG.js';
|
|
5
5
|
import './chunk-3JVYMD4G.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-27DQ3DDF.js';
|
|
8
|
+
import './chunk-MR5MAX77.js';
|
|
9
9
|
import './chunk-3LCXSD26.js';
|
|
10
10
|
import './chunk-LGV5N5DG.js';
|
|
11
11
|
import './chunk-EZRAR5YG.js';
|
|
12
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
12
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-PGWK2FH5.js';
|
|
13
13
|
import './chunk-AF6DQJ5W.js';
|
|
14
|
-
import { findServiceUnit } from './chunk-
|
|
15
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
14
|
+
import { findServiceUnit } from './chunk-4NMAJYYE.js';
|
|
15
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-JVQYYVDS.js';
|
|
16
16
|
import './chunk-GDIVOYDA.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-2PGI6RDE.js';
|
|
@@ -24,25 +24,25 @@ import './chunk-AAGU5FJF.js';
|
|
|
24
24
|
import './chunk-ZVB57WI6.js';
|
|
25
25
|
import './chunk-ALEUIS35.js';
|
|
26
26
|
import './chunk-TQMI335S.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
27
|
+
import './chunk-NRTRPGCW.js';
|
|
28
|
+
import './chunk-IP7F4CQH.js';
|
|
29
29
|
import './chunk-NN33FYXG.js';
|
|
30
|
-
import './chunk-
|
|
31
|
-
import './chunk-
|
|
30
|
+
import './chunk-RUK7QHSH.js';
|
|
31
|
+
import './chunk-KB5B6ZT5.js';
|
|
32
32
|
import './chunk-WAZJPDR2.js';
|
|
33
33
|
import './chunk-OGFGZQA3.js';
|
|
34
|
-
import './chunk-
|
|
34
|
+
import './chunk-46OBCATR.js';
|
|
35
35
|
import './chunk-LZ7PAU55.js';
|
|
36
36
|
import './chunk-55PYF6S2.js';
|
|
37
37
|
import './chunk-JBJTC3UU.js';
|
|
38
38
|
import './chunk-UZGQT6OF.js';
|
|
39
39
|
import './chunk-MKSZHT6S.js';
|
|
40
|
-
import './chunk-
|
|
41
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
42
|
-
import './chunk-
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
40
|
+
import './chunk-LXYWSGEW.js';
|
|
41
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-H3S5LJI2.js';
|
|
42
|
+
import './chunk-IGHAPIKZ.js';
|
|
43
|
+
import './chunk-6O33JZ3X.js';
|
|
44
|
+
import './chunk-CIUD3436.js';
|
|
45
|
+
import './chunk-OUPQTA7N.js';
|
|
46
46
|
import './chunk-OHQMGLJP.js';
|
|
47
47
|
import './chunk-3SQZ5LIK.js';
|
|
48
48
|
import './chunk-S6OD32NC.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
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-JVQYYVDS.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-IP7F4CQH.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-WAZJPDR2.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { keyRunnerFactory } from './chunk-
|
|
7
|
+
import { keyRunnerFactory } from './chunk-H3S5LJI2.js';
|
|
8
8
|
import { isSignatureRefusal, postJson } from './chunk-S6OD32NC.js';
|
|
9
9
|
import { signerFor } from './chunk-4DJZSNVT.js';
|
|
10
10
|
import { pidFilePath } from './chunk-WT7J2627.js';
|
|
@@ -70,11 +70,13 @@ function runExec(socketPath, request, io = {}) {
|
|
|
70
70
|
settled = true;
|
|
71
71
|
clearTimeout(handshakeTimer);
|
|
72
72
|
io.signal?.removeEventListener("abort", kill);
|
|
73
|
+
io.disconnect?.removeEventListener("abort", drop);
|
|
73
74
|
void stdinIterator?.return?.();
|
|
74
75
|
socket.destroy();
|
|
75
76
|
if (outcome instanceof Error) reject(outcome);
|
|
76
77
|
else resolve(outcome);
|
|
77
78
|
};
|
|
79
|
+
const drop = () => finish(new ExecConnectionError("the connection to the exec agent was closed on purpose"));
|
|
78
80
|
const send = (type, payload) => socket.destroyed ? true : socket.write(encodeFrame(type, payload));
|
|
79
81
|
function kill() {
|
|
80
82
|
if (killed || !greeted) return;
|
|
@@ -159,6 +161,8 @@ function runExec(socketPath, request, io = {}) {
|
|
|
159
161
|
socket.on("error", (err) => finish(new ExecConnectionError(`the exec agent at ${socketPath} could not be reached: ${err.message}`)));
|
|
160
162
|
socket.on("close", () => finish(new ExecConnectionError("the connection to the exec agent ended before the command did")));
|
|
161
163
|
io.signal?.addEventListener("abort", kill, { once: true });
|
|
164
|
+
if (io.disconnect?.aborted === true) drop();
|
|
165
|
+
else io.disconnect?.addEventListener("abort", drop, { once: true });
|
|
162
166
|
});
|
|
163
167
|
}
|
|
164
168
|
async function execCapture(socketPath, request, io = {}) {
|
|
@@ -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-IP7F4CQH.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,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-JVQYYVDS.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-IP7F4CQH.js';
|
|
5
5
|
import { runnerDir } from './chunk-WT7J2627.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -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-CIUD3436.js';
|
|
4
|
+
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-OUPQTA7N.js';
|
|
5
5
|
import { ensureHostKey } from './chunk-4DJZSNVT.js';
|
|
6
6
|
import { compareVersions } from './chunk-MXWPLGO6.js';
|
|
7
7
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-WT7J2627.js';
|
|
@@ -3,26 +3,26 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-7Y5VW4JG.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-
|
|
6
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-27DQ3DDF.js';
|
|
7
|
+
import { renderUpdateSteps } from './chunk-MR5MAX77.js';
|
|
8
8
|
import { RUNNER_PROTOCOL } from './chunk-3LCXSD26.js';
|
|
9
9
|
import { writeFleetState } from './chunk-LGV5N5DG.js';
|
|
10
10
|
import { writePendingUpdate } from './chunk-EZRAR5YG.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-PGWK2FH5.js';
|
|
12
12
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-AF6DQJ5W.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, provisionProcess, 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, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } 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, provisionProcess, 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, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-JVQYYVDS.js';
|
|
14
14
|
import { RepoFilter } from './chunk-XTVVKNRP.js';
|
|
15
15
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
16
16
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-ALEUIS35.js';
|
|
17
17
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
18
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
18
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-IP7F4CQH.js';
|
|
19
19
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-WAZJPDR2.js';
|
|
20
20
|
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-LZ7PAU55.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
23
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
24
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
25
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
22
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-LXYWSGEW.js';
|
|
23
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-H3S5LJI2.js';
|
|
24
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-IGHAPIKZ.js';
|
|
25
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-6O33JZ3X.js';
|
|
26
26
|
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-S6OD32NC.js';
|
|
27
27
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-4DJZSNVT.js';
|
|
28
28
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -3542,7 +3542,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3542
3542
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3543
3543
|
const held = heldClaudeCredential();
|
|
3544
3544
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3545
|
-
return (await import('./check-
|
|
3545
|
+
return (await import('./check-ARDGJYVM.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3546
3546
|
},
|
|
3547
3547
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3548
3548
|
log
|
|
@@ -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-OUPQTA7N.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';
|
|
@@ -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-IGHAPIKZ.js';
|
|
4
|
+
import { parseSize } from './chunk-6O33JZ3X.js';
|
|
5
|
+
import { builderDiskPinned } from './chunk-OUPQTA7N.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';
|
|
@@ -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-6O33JZ3X.js';
|
|
4
4
|
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-WT7J2627.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
@@ -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-H3S5LJI2.js';
|
|
4
|
+
import { parseSize } from './chunk-6O33JZ3X.js';
|
|
5
5
|
import { runnerDir } from './chunk-WT7J2627.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';
|