@outerlayer/cli 0.40.0-next.20261116195744 → 0.40.0-next.20261116202259
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-info.json +1 -1
- package/dist/{caller-BYIS3VLG.js → caller-YLCG35RW.js} +2 -2
- package/dist/{check-LACTUS44.js → check-XF4J5PFS.js} +10 -10
- package/dist/{chunk-OWIG6HOF.js → chunk-2VYD47YW.js} +1 -1
- package/dist/{chunk-5MSUF63A.js → chunk-3DKYI6V7.js} +1 -1
- package/dist/{chunk-QPJ7PIRE.js → chunk-5EHW7SBY.js} +3 -3
- package/dist/{chunk-KXFHHQ2L.js → chunk-77FYM6CF.js} +1 -1
- package/dist/{chunk-E542ICPA.js → chunk-CYUAZGM5.js} +1 -1
- package/dist/{chunk-CYVOC5G3.js → chunk-EEPR5MSY.js} +8 -8
- package/dist/{chunk-TQN2NY2A.js → chunk-GH7RYZTX.js} +1 -1
- package/dist/{chunk-QMQH5MAW.js → chunk-IVRP4E3F.js} +1 -1
- package/dist/{chunk-WTU7TKC4.js → chunk-JKOSEEDV.js} +3 -3
- package/dist/{chunk-Q2IBBATM.js → chunk-K4AQVH47.js} +2 -2
- package/dist/{chunk-MYAFBEIG.js → chunk-KDLZOXBP.js} +1 -1
- package/dist/{chunk-DPCYPX2G.js → chunk-MTZ43GKQ.js} +3 -3
- package/dist/{chunk-5BNP3YPA.js → chunk-O7QTZ6FY.js} +1 -1
- package/dist/{chunk-LFGVSVZD.js → chunk-OFEHPNPJ.js} +1 -1
- package/dist/{chunk-4DN4ACSX.js → chunk-Y25XOGFX.js} +7 -5
- package/dist/{chunk-Z6YC7Z6I.js → chunk-YB7QOJJ6.js} +3 -3
- package/dist/{cli-Y4BPROIZ.js → cli-E4FIPVXA.js} +45 -45
- package/dist/{command-45KNSVYU.js → command-JOFIZTRB.js} +8 -8
- package/dist/{config-OKFK2D2R.js → config-2FFE76CU.js} +1 -1
- package/dist/{container-start-PJGRJ363.js → container-start-PEWYWFZJ.js} +7 -7
- package/dist/{doctor-MI7NIWW4.js → doctor-IJUVLEOA.js} +7 -7
- package/dist/{find-unit-6FDRYJ4Q.js → find-unit-HCJCNGAO.js} +3 -3
- package/dist/{host-checks-H6OTVGWN.js → host-checks-IHDOXH4L.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/{init-VM6262CD.js → init-IPCLZQTH.js} +5 -5
- package/dist/{init-H2TBGBNQ.js → init-NMALA2L3.js} +5 -5
- package/dist/{init-agent-4AHUYMDM.js → init-agent-O2INKCJ2.js} +5 -5
- package/dist/{init-cmd-YJ7DXPV2.js → init-cmd-EAIFTS3D.js} +2 -2
- package/dist/{install-cmd-BMRV5AGB.js → install-cmd-IGD4QKRJ.js} +2 -2
- package/dist/{launch-agent-7PKKCS3Y.js → launch-agent-MAOBOT2E.js} +3 -3
- package/dist/{loop-D3LSONTC.js → loop-W3SG6T77.js} +9 -9
- package/dist/{machine-OBT4GRPI.js → machine-2JEIPALV.js} +5 -5
- package/dist/{runner-env-J4VFHBTX.js → runner-env-RFL275DT.js} +3 -3
- package/dist/{runner-key-VAJ5VR7E.js → runner-key-QXMG627U.js} +5 -5
- package/dist/{setup-wiring-RBW2GVRE.js → setup-wiring-C7C2RHME.js} +7 -7
- package/dist/{status-3FVEHFDI.js → status-AECB2USQ.js} +5 -5
- package/dist/{update-steps-LOL7GY2Z.js → update-steps-TLG25JY2.js} +6 -6
- package/dist/{work-claim-cmd-GVBGSGQW.js → work-claim-cmd-BXJ5RNWG.js} +1 -1
- package/dist/{work-proofs-cmd-35WUSI5V.js → work-proofs-cmd-VZM2CUGY.js} +1 -1
- package/dist/{work-proofs-record-KAKRVKEW.js → work-proofs-record-LN42LPZM.js} +1 -1
- package/package.json +1 -1
- package/skill-pack/shipped.json +2 -0
- package/skill-pack/template/writing-specs/SKILL.md +2 -2
- package/skill-pack/template/writing-tests/SKILL.md +10 -18
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-16T20:
|
|
1
|
+
{"id":"2026-11-16T20:37:35.118Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
3
|
+
export { claimCalls, claimItem, configForJob, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-2VYD47YW.js';
|
|
4
|
+
import './chunk-3DKYI6V7.js';
|
|
5
5
|
import './chunk-WTX57JCA.js';
|
|
6
6
|
import './chunk-BKN5HQCX.js';
|
|
7
7
|
import './chunk-47NQTKLX.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-EEPR5MSY.js';
|
|
4
4
|
import './chunk-7VW73CPS.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-YB7QOJJ6.js';
|
|
7
|
+
import './chunk-KDLZOXBP.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
9
|
import './chunk-ALJMNIHW.js';
|
|
10
10
|
import './chunk-XYJHIH4N.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-MTZ43GKQ.js';
|
|
12
12
|
import './chunk-F5DIRRMG.js';
|
|
13
|
-
import { findServiceUnit } from './chunk-
|
|
14
|
-
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
13
|
+
import { findServiceUnit } from './chunk-GH7RYZTX.js';
|
|
14
|
+
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-Y25XOGFX.js';
|
|
15
15
|
import './chunk-PM3PXJGE.js';
|
|
16
16
|
import './chunk-46D7LPS3.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-2PGI6RDE.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-O7QTZ6FY.js';
|
|
20
|
+
import './chunk-OFEHPNPJ.js';
|
|
21
21
|
import './chunk-UU3A53VB.js';
|
|
22
22
|
import './chunk-FVTNWJPF.js';
|
|
23
23
|
import './chunk-MDWAL6FD.js';
|
|
@@ -28,7 +28,7 @@ import './chunk-C2PZOLN7.js';
|
|
|
28
28
|
import './chunk-B4XB5QFD.js';
|
|
29
29
|
import './chunk-DIF5NMRF.js';
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-2VYD47YW.js';
|
|
32
32
|
import './chunk-NN33FYXG.js';
|
|
33
33
|
import './chunk-BQUUKECC.js';
|
|
34
34
|
import './chunk-5IDATPRL.js';
|
|
@@ -42,7 +42,7 @@ import './chunk-FJGYU2EK.js';
|
|
|
42
42
|
import './chunk-2EDRIMMQ.js';
|
|
43
43
|
import './chunk-A7M4QXVX.js';
|
|
44
44
|
import './chunk-4OLHKE6K.js';
|
|
45
|
-
import { keyRunnerFactory, loadRunnerConfig, RunnerConfigError, checkHooks } from './chunk-
|
|
45
|
+
import { keyRunnerFactory, loadRunnerConfig, RunnerConfigError, checkHooks } from './chunk-3DKYI6V7.js';
|
|
46
46
|
import './chunk-WTX57JCA.js';
|
|
47
47
|
import './chunk-BKN5HQCX.js';
|
|
48
48
|
import './chunk-47NQTKLX.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-3DKYI6V7.js';
|
|
4
4
|
import { orgHomeDir } from './chunk-AEGLAS4Y.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -134,7 +134,7 @@ function resolveSandbox(block, build, report) {
|
|
|
134
134
|
if (!KEYS.includes(key)) return report(`runner.sandbox.${key}`, `is not a setting; the ones that exist are ${KEYS.join(", ")}`);
|
|
135
135
|
}
|
|
136
136
|
const provider = given["provider"];
|
|
137
|
-
if (provider !== void 0 && provider !== "outerlayer") return report("runner.sandbox.provider",
|
|
137
|
+
if (provider !== void 0 && provider !== "outerlayer") return report("runner.sandbox.provider", 'must be "outerlayer"');
|
|
138
138
|
const managed = provider === "outerlayer";
|
|
139
139
|
if (managed) {
|
|
140
140
|
if (given["snapshot"] !== void 0) return report("runner.sandbox.snapshot", "is not set with runner.sandbox.provider: OuterLayer chooses the snapshot");
|
|
@@ -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-IHDOXH4L.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-IHDOXH4L.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-LN42LPZM.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
|
|
4
4
|
import { execStartArgv } from './chunk-F5DIRRMG.js';
|
|
5
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
5
|
+
import { DEFAULT_UNIT_NAME } from './chunk-OFEHPNPJ.js';
|
|
6
6
|
import { runnerDir } from './chunk-AEGLAS4Y.js';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-JKOSEEDV.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
5
|
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-7DM2GBSI.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-7VW73CPS.js';
|
|
4
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
5
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-YB7QOJJ6.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-KDLZOXBP.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
8
|
import { writeFleetState } from './chunk-ALJMNIHW.js';
|
|
9
9
|
import { writePendingUpdate } from './chunk-XYJHIH4N.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-MTZ43GKQ.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-F5DIRRMG.js';
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, 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, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, 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, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-Y25XOGFX.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-PM3PXJGE.js';
|
|
14
14
|
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-46D7LPS3.js';
|
|
15
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-OFEHPNPJ.js';
|
|
16
16
|
import { RepoFilter } from './chunk-3DUYDFZS.js';
|
|
17
17
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
18
18
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-DIF5NMRF.js';
|
|
19
19
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
20
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
20
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-2VYD47YW.js';
|
|
21
21
|
import { fetchCommit, readBranchHead, diffBetween } from './chunk-BQUUKECC.js';
|
|
22
22
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-C2ZGJRMQ.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
24
|
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-D5RXED56.js';
|
|
25
25
|
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-2EDRIMMQ.js';
|
|
26
|
-
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
26
|
+
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-3DKYI6V7.js';
|
|
27
27
|
import { allocatedBytes, freeBytes, formatBytes } from './chunk-WTX57JCA.js';
|
|
28
28
|
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-BKN5HQCX.js';
|
|
29
29
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-AFSJ4GHZ.js';
|
|
@@ -4865,7 +4865,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4865
4865
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4866
4866
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4867
4867
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4868
|
-
return (await import('./check-
|
|
4868
|
+
return (await import('./check-XF4J5PFS.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4869
4869
|
},
|
|
4870
4870
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4871
4871
|
log
|
|
@@ -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-OFEHPNPJ.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-5XEO7FJW.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-KJCEJOJI.js';
|
|
4
4
|
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-F5DIRRMG.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { defaultRunnerConfigPath } from './chunk-
|
|
6
|
+
import { defaultRunnerConfigPath } from './chunk-3DKYI6V7.js';
|
|
7
7
|
import { runnerDir, RUNNER_DIR_MODE } from './chunk-AEGLAS4Y.js';
|
|
8
8
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
9
9
|
import { dirname, sep, join, resolve } from 'path';
|
|
@@ -1094,7 +1094,7 @@ function doctorExitCode(checks) {
|
|
|
1094
1094
|
// src/doctor-report.ts
|
|
1095
1095
|
async function gatherDoctorChecks(options = {}) {
|
|
1096
1096
|
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-GDBXPKVU.js');
|
|
1097
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1097
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-2FFE76CU.js');
|
|
1098
1098
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1099
1099
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1100
1100
|
const hooks = (() => {
|
|
@@ -1122,7 +1122,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1122
1122
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1123
1123
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1124
1124
|
} else if (hasRunnerBlock(configPath)) {
|
|
1125
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1125
|
+
const { runnerHostChecks } = await import('./doctor-IJUVLEOA.js');
|
|
1126
1126
|
const gateway = (() => {
|
|
1127
1127
|
try {
|
|
1128
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1150,7 +1150,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1150
1150
|
const service = await (async () => {
|
|
1151
1151
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1152
1152
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1153
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1153
|
+
const { inspectRunnerService } = await import('./find-unit-HCJCNGAO.js');
|
|
1154
1154
|
return inspectRunnerService(configPath);
|
|
1155
1155
|
})();
|
|
1156
1156
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-Y25XOGFX.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-OFEHPNPJ.js';
|
|
5
5
|
import { runnerDir } from './chunk-AEGLAS4Y.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 { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-Y25XOGFX.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-DIF5NMRF.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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-Y25XOGFX.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-OFEHPNPJ.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-2EDRIMMQ.js';
|
|
6
|
-
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
6
|
+
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-3DKYI6V7.js';
|
|
7
7
|
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-WTX57JCA.js';
|
|
8
8
|
import { ensureHostKey } from './chunk-AFSJ4GHZ.js';
|
|
9
9
|
import { sandboxSettingsFrom } from './chunk-UTZWCNFV.js';
|
|
@@ -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-OFEHPNPJ.js';
|
|
4
4
|
import { RUNNER_FILE_MODE } from './chunk-AEGLAS4Y.js';
|
|
5
5
|
import { parseRunnerEnv, withoutCredentialLines } from './chunk-5XEO7FJW.js';
|
|
6
6
|
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-MHXUQI67.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-3DKYI6V7.js';
|
|
4
4
|
import { parseSize } from './chunk-BKN5HQCX.js';
|
|
5
5
|
import { runnerDir } from './chunk-AEGLAS4Y.js';
|
|
6
6
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-5XEO7FJW.js';
|
|
@@ -4,7 +4,7 @@ import { RUNNER_PROTOCOL } from './chunk-PM3PXJGE.js';
|
|
|
4
4
|
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-46D7LPS3.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
6
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-O7QTZ6FY.js';
|
|
8
8
|
import { upgradedStarterText } from './chunk-UU3A53VB.js';
|
|
9
9
|
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-FVTNWJPF.js';
|
|
10
10
|
import { writeDockerClientConfig } from './chunk-MDWAL6FD.js';
|
|
@@ -12,7 +12,7 @@ import { senderPidfile } from './chunk-PGF36SYX.js';
|
|
|
12
12
|
import { installScrubContext } from './chunk-3DUYDFZS.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
14
14
|
import { runnerImageVersion } from './chunk-DIF5NMRF.js';
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-2VYD47YW.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
17
|
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-BQUUKECC.js';
|
|
18
18
|
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-5IDATPRL.js';
|
|
@@ -22,7 +22,7 @@ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-EHF2UWZC
|
|
|
22
22
|
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-2TOYDBQE.js';
|
|
23
23
|
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-D5RXED56.js';
|
|
24
24
|
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-2EDRIMMQ.js';
|
|
25
|
-
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-3DKYI6V7.js';
|
|
26
26
|
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-WTX57JCA.js';
|
|
27
27
|
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-BKN5HQCX.js';
|
|
28
28
|
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-47NQTKLX.js';
|
|
@@ -1437,9 +1437,11 @@ function heldReason(reason) {
|
|
|
1437
1437
|
function gatewayRefusalReason(err) {
|
|
1438
1438
|
if (err.code === "managed_build_held") return heldReason(err.reason) ?? `the organization may not start another managed build now (${err.reason ?? "no reason given"})`;
|
|
1439
1439
|
if (err.code === "managed_sandboxes_off") {
|
|
1440
|
-
return "managed sandboxes are not turned on for this organization. Ask OuterLayer to turn them on
|
|
1440
|
+
return "managed sandboxes are not turned on for this organization. Ask OuterLayer to turn them on";
|
|
1441
|
+
}
|
|
1442
|
+
if (err.code === "managed_sandboxes_unavailable") {
|
|
1443
|
+
return "this gateway provides no sandboxes. Build on this machine instead: set runner.hooks to builtin:vm or builtin:container, and remove runner.sandbox";
|
|
1441
1444
|
}
|
|
1442
|
-
if (err.code === "managed_sandboxes_unavailable") return "this gateway provides no sandboxes. Remove runner.sandbox.provider and give the runner a sandbox provider account of its own";
|
|
1443
1445
|
return void 0;
|
|
1444
1446
|
}
|
|
1445
1447
|
function createGatewaySandboxClient(opts) {
|
|
@@ -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-Y25XOGFX.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-OFEHPNPJ.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-C2ZGJRMQ.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
7
|
import { isSignatureRefusal, postJson } from './chunk-2EDRIMMQ.js';
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
8
|
+
import { keyRunnerFactory } from './chunk-3DKYI6V7.js';
|
|
9
9
|
import { signerFor } from './chunk-AFSJ4GHZ.js';
|
|
10
10
|
import { pidFilePath } from './chunk-AEGLAS4Y.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|