@outerlayer/cli 0.38.1-next.20261112141120 → 0.38.1-next.20261112172530
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/{check-UDFYSLLU.js → check-RVBFJIED.js} +5 -5
- package/dist/{chunk-IU3KBEOQ.js → chunk-2S7IIXVH.js} +5 -5
- package/dist/{chunk-ZEL75KOE.js → chunk-4RX7VI5S.js} +1 -1
- package/dist/{chunk-KVN2IBEL.js → chunk-IQ6VCXT5.js} +1 -1
- package/dist/{chunk-6ZVQ6EDJ.js → chunk-OE5CHFWW.js} +1 -1
- package/dist/{chunk-WVNWBBCM.js → chunk-OIMM6Y36.js} +1 -1
- package/dist/{chunk-R4BLYCWI.js → chunk-QLEQ5PIC.js} +20 -4
- package/dist/{chunk-ZIS4D2RA.js → chunk-VTLPXNGV.js} +3 -3
- package/dist/{chunk-7GENMCIA.js → chunk-WCLBEDE7.js} +1 -1
- package/dist/{cli-XGGAGHRE.js → cli-XHOW32QR.js} +22 -22
- package/dist/{command-2NR45HUV.js → command-5UWT3UHH.js} +2 -2
- package/dist/{container-start-3RDBQ7EK.js → container-start-JRDKYUE7.js} +3 -3
- package/dist/{doctor-ECBVUDDV.js → doctor-CEYDNGLY.js} +3 -3
- package/dist/{host-checks-HZA3P2DD.js → host-checks-Z4SFOTCI.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-5QXTCJVG.js → init-LE43SGBD.js} +1 -1
- package/dist/{init-MWLDA46R.js → init-NAYHAIZE.js} +1 -1
- package/dist/{init-agent-CPECHSZ3.js → init-agent-SGMISWO2.js} +1 -1
- package/dist/{init-cmd-23HPJPFY.js → init-cmd-K7K63VE3.js} +1 -1
- package/dist/{loop-2BIKVOB2.js → loop-56NYGUUD.js} +5 -5
- package/dist/{machine-C6G7U7HM.js → machine-CVWOLH65.js} +1 -1
- package/dist/{runner-key-RJJ4QCFN.js → runner-key-XKA62EQT.js} +1 -1
- package/dist/{status-5TX3TIVS.js → status-MGKWGABE.js} +1 -1
- package/dist/{update-steps-77ZU36A6.js → update-steps-EQJQJUFL.js} +2 -2
- package/dist/{work-proofs-cmd-WK7RCKLL.js → work-proofs-cmd-3IPMDIJX.js} +1 -1
- package/dist/{work-proofs-record-TCNJYJZP.js → work-proofs-record-AJP5VKWQ.js} +1 -1
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +1 -1
- package/skill-pack/maintained/outerlayer-build/references/release.md +1 -1
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +1 -1
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -3
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-12T17:32:51.441Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-2S7IIXVH.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-WCLBEDE7.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-QQCU7MNF.js';
|
|
8
8
|
import './chunk-MLGVXWRC.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-OE5CHFWW.js';
|
|
10
10
|
import './chunk-RZOTU34V.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-IQ6VCXT5.js';
|
|
12
12
|
import './chunk-BVHJT6DL.js';
|
|
13
13
|
import { findServiceUnit } from './chunk-AR54XNZZ.js';
|
|
14
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
14
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-QLEQ5PIC.js';
|
|
15
15
|
import './chunk-KBWBPZKP.js';
|
|
16
16
|
import './chunk-KVWFAAAQ.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
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-WCLBEDE7.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
6
|
import { writeFleetState } from './chunk-QQCU7MNF.js';
|
|
7
7
|
import { writePendingUpdate } from './chunk-MLGVXWRC.js';
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { renderUpdateSteps } from './chunk-OE5CHFWW.js';
|
|
9
9
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-RZOTU34V.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-IQ6VCXT5.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-BVHJT6DL.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-QLEQ5PIC.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-KVWFAAAQ.js';
|
|
14
14
|
import { RUNNER_RESERVE_BYTES } from './chunk-AIDBLUCF.js';
|
|
15
15
|
import { RepoFilter } from './chunk-5ADLHX2J.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-RVBFJIED.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4131
4131
|
},
|
|
4132
4132
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4133
4133
|
log
|
|
@@ -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-CEYDNGLY.js');
|
|
1085
1085
|
const gateway = (() => {
|
|
1086
1086
|
try {
|
|
1087
1087
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-AIDBLUCF.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-FHCF37R6.js';
|
|
6
6
|
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-MMNGQJRE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-BK3L7334.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-AIDBLUCF.js';
|
|
5
5
|
import { runnerDir } from './chunk-UUJU45BE.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
@@ -1541,9 +1541,20 @@ function decideFromEvaluation(read) {
|
|
|
1541
1541
|
}
|
|
1542
1542
|
return { outcome: "incomplete", reason: fit("the item's verdict is not passing: ", [evaluation.sentence || evaluation.verdict]) };
|
|
1543
1543
|
}
|
|
1544
|
+
var RECORDING_LEFT = " \xB7 the host's recording left proofs out of date";
|
|
1545
|
+
var CAUSE_MIN = 24;
|
|
1544
1546
|
function incompleteReason(reason, judgeNotRun, proofsNotCurrent) {
|
|
1545
|
-
const
|
|
1546
|
-
|
|
1547
|
+
const verdict = judgeNotRun === void 0 ? reason : `the judge did not run (${judgeNotRun}) \xB7 ${reason}`;
|
|
1548
|
+
if (proofsNotCurrent === void 0) return verdict;
|
|
1549
|
+
const room = REASON_MAX - verdict.length - RECORDING_LEFT.length - 3;
|
|
1550
|
+
if (proofsNotCurrent.length <= room) return `${verdict}${RECORDING_LEFT} (${proofsNotCurrent})`;
|
|
1551
|
+
if (room < CAUSE_MIN) return `${verdict}${RECORDING_LEFT}`;
|
|
1552
|
+
return `${verdict}${RECORDING_LEFT} (${cutAtWord(proofsNotCurrent, room - 1)}\u2026)`;
|
|
1553
|
+
}
|
|
1554
|
+
function cutAtWord(text2, max) {
|
|
1555
|
+
const kept = text2.slice(0, max);
|
|
1556
|
+
const space = kept.lastIndexOf(" ");
|
|
1557
|
+
return space > kept.length / 2 ? kept.slice(0, space) : kept;
|
|
1547
1558
|
}
|
|
1548
1559
|
function unfinishedRelease(verdictReason, learned) {
|
|
1549
1560
|
return learned === WORKFLOW_PERMISSION_REASON ? { outcome: "failed", reason: WORKFLOW_PERMISSION_REASON } : { outcome: "incomplete", reason: verdictReason };
|
|
@@ -3563,10 +3574,15 @@ function recordsProofsOnly(row) {
|
|
|
3563
3574
|
return row.recordProofsOnly === true;
|
|
3564
3575
|
}
|
|
3565
3576
|
var MAX_CAUSE_LENGTH = 300;
|
|
3577
|
+
var SETUP_FAILED = "setup failed: ";
|
|
3566
3578
|
function recordingCause(log) {
|
|
3567
3579
|
const lines = log.split("\n").map((line2) => line2.trimEnd());
|
|
3568
|
-
const
|
|
3569
|
-
|
|
3580
|
+
const named = lines.flatMap((line2) => {
|
|
3581
|
+
const match = /^Not (?:current|recorded), ([^:]+): (.+)$/.exec(line2);
|
|
3582
|
+
if (match === null) return [];
|
|
3583
|
+
return [match[2].startsWith(SETUP_FAILED) ? match[2] : `${match[1]}: ${match[2]}`];
|
|
3584
|
+
})[0];
|
|
3585
|
+
const cause = named ?? lines.find((line2) => line2.startsWith(SETUP_FAILED));
|
|
3570
3586
|
return cause === void 0 ? void 0 : cause.slice(0, MAX_CAUSE_LENGTH);
|
|
3571
3587
|
}
|
|
3572
3588
|
function savedStatesDir(runnerDirPath) {
|
|
@@ -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-Z4SFOTCI.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-Z4SFOTCI.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-AJP5VKWQ.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 { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-AIDBLUCF.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-WLPKWTVV.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-4RX7VI5S.js';
|
|
4
4
|
import './chunk-OHGA3RLF.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-FHCF37R6.js';
|
|
6
6
|
import './chunk-7YS6SFMI.js';
|
|
@@ -3954,13 +3954,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3954
3954
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3955
3955
|
`);
|
|
3956
3956
|
}
|
|
3957
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3957
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-K7K63VE3.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3958
3958
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3959
3959
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3960
3960
|
return;
|
|
3961
3961
|
}
|
|
3962
3962
|
await installMachineSkillsForSetup();
|
|
3963
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3963
|
+
const { runInitCommand } = await import('./init-cmd-K7K63VE3.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -5171,7 +5171,7 @@ a runner build, no row is failed.
|
|
|
5171
5171
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5172
5172
|
return;
|
|
5173
5173
|
}
|
|
5174
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5174
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-3IPMDIJX.js');
|
|
5175
5175
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5176
5176
|
});
|
|
5177
5177
|
workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
@@ -5394,7 +5394,7 @@ function registerRunnerCommands(program2) {
|
|
|
5394
5394
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5395
5395
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5396
5396
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-UUXWLDPS.js');
|
|
5397
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5397
|
+
const { start, RunnerStartError } = await import('./loop-56NYGUUD.js');
|
|
5398
5398
|
const { RunnerAlreadyRunningError } = await import('./pidfile-Y7M5OWTN.js');
|
|
5399
5399
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5400
5400
|
try {
|
|
@@ -5418,8 +5418,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5418
5418
|
`
|
|
5419
5419
|
).action(async () => {
|
|
5420
5420
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-UUXWLDPS.js');
|
|
5421
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5422
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5421
|
+
const { containerStart, containerStartExit } = await import('./container-start-JRDKYUE7.js');
|
|
5422
|
+
const { start, RunnerStartError } = await import('./loop-56NYGUUD.js');
|
|
5423
5423
|
const { RunnerAlreadyRunningError } = await import('./pidfile-Y7M5OWTN.js');
|
|
5424
5424
|
try {
|
|
5425
5425
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5443,14 +5443,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5443
5443
|
).action(async (opts) => {
|
|
5444
5444
|
const { defaultRunnerConfigPath } = await import('./config-UUXWLDPS.js');
|
|
5445
5445
|
const { runnerDir } = await import('./paths-V3L3V7KL.js');
|
|
5446
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5446
|
+
const { runUpdateSteps } = await import('./update-steps-EQJQJUFL.js');
|
|
5447
5447
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5448
5448
|
process.stdout.write(`${text}
|
|
5449
5449
|
`);
|
|
5450
5450
|
});
|
|
5451
5451
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5452
5452
|
const { defaultRunnerConfigPath } = await import('./config-UUXWLDPS.js');
|
|
5453
|
-
const { runRunnerCheck } = await import('./check-
|
|
5453
|
+
const { runRunnerCheck } = await import('./check-RVBFJIED.js');
|
|
5454
5454
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5455
5455
|
const result = await runRunnerCheck(configPath);
|
|
5456
5456
|
if (!result.ok) {
|
|
@@ -5484,13 +5484,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5484
5484
|
}
|
|
5485
5485
|
}
|
|
5486
5486
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5487
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5487
|
+
if (buildCpusMax !== void 0 && !(await import('./command-5UWT3UHH.js')).cpusAreValid(buildCpusMax)) {
|
|
5488
5488
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5489
5489
|
return;
|
|
5490
5490
|
}
|
|
5491
5491
|
try {
|
|
5492
5492
|
if (opts.service === true) {
|
|
5493
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5493
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-5UWT3UHH.js');
|
|
5494
5494
|
const result2 = await installServiceCommand({
|
|
5495
5495
|
configPath,
|
|
5496
5496
|
print: opts.print,
|
|
@@ -5545,7 +5545,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5545
5545
|
return;
|
|
5546
5546
|
}
|
|
5547
5547
|
const { defaultRunnerConfigPath } = await import('./config-UUXWLDPS.js');
|
|
5548
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5548
|
+
const { uninstallServiceCommand } = await import('./command-5UWT3UHH.js');
|
|
5549
5549
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5550
5550
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5551
5551
|
`);
|
|
@@ -5576,10 +5576,10 @@ already in ${words().envFile} is used.
|
|
|
5576
5576
|
`
|
|
5577
5577
|
).action(async (opts) => {
|
|
5578
5578
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-UUXWLDPS.js');
|
|
5579
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5580
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5581
|
-
const { detectMachine } = await import('./machine-
|
|
5582
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5579
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-NAYHAIZE.js');
|
|
5580
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-XKA62EQT.js');
|
|
5581
|
+
const { detectMachine } = await import('./machine-CVWOLH65.js');
|
|
5582
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-LE43SGBD.js');
|
|
5583
5583
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-O7ST6E4U.js');
|
|
5584
5584
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-4WZYSEWM.js');
|
|
5585
5585
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5593,7 +5593,7 @@ already in ${words().envFile} is used.
|
|
|
5593
5593
|
return;
|
|
5594
5594
|
}
|
|
5595
5595
|
try {
|
|
5596
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5596
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-SGMISWO2.js');
|
|
5597
5597
|
agent = await initAgent({
|
|
5598
5598
|
flag: agent,
|
|
5599
5599
|
handOff: opts.configStdin === true,
|
|
@@ -5733,7 +5733,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5733
5733
|
let serviceUp = false;
|
|
5734
5734
|
let restart;
|
|
5735
5735
|
if (installedLayout) {
|
|
5736
|
-
const { installServiceCommand } = await import('./command-
|
|
5736
|
+
const { installServiceCommand } = await import('./command-5UWT3UHH.js');
|
|
5737
5737
|
const service = await installServiceCommand({
|
|
5738
5738
|
configPath,
|
|
5739
5739
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5871,7 +5871,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5871
5871
|
});
|
|
5872
5872
|
runnerCmd.command("stop").description("Take no more work; finish running jobs, then exit").option("--config <path>", "the cloud config file naming the runner to stop").option("--now", "end running jobs immediately, with outcome stopped").action(async (opts) => {
|
|
5873
5873
|
const { defaultRunnerConfigPath } = await import('./config-UUXWLDPS.js');
|
|
5874
|
-
const { requestStop } = await import('./loop-
|
|
5874
|
+
const { requestStop } = await import('./loop-56NYGUUD.js');
|
|
5875
5875
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5876
5876
|
const { runnerImageVersion } = await import('./image-tag-PEZBWLGJ.js');
|
|
5877
5877
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -5879,8 +5879,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5879
5879
|
runnerCmd.command("status").description("List running jobs; with --recent, finished ones too").option("--config <path>", "the cloud config file naming the runner to inspect").option("--recent", "also list finished jobs, newest first, capped at 20").option("--json", "machine-readable JSON output").action(async (opts) => {
|
|
5880
5880
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-UUXWLDPS.js');
|
|
5881
5881
|
const { jobsDir, runnerDir } = await import('./paths-V3L3V7KL.js');
|
|
5882
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5883
|
-
const { renderStatus } = await import('./status-
|
|
5882
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-56NYGUUD.js');
|
|
5883
|
+
const { renderStatus } = await import('./status-MGKWGABE.js');
|
|
5884
5884
|
const { readHousekeepingRecord } = await import('./record-DCVX3LFD.js');
|
|
5885
5885
|
const path2 = await import('path');
|
|
5886
5886
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5946,7 +5946,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5946
5946
|
});
|
|
5947
5947
|
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory, or a build's claim id").description("Print the newest attempt's log for one item or claim id").option("--config <path>", "the cloud config file naming the runner to inspect").option("-f, --follow", "keep printing as the log grows").action(async (itemArg, opts) => {
|
|
5948
5948
|
const { defaultRunnerConfigPath } = await import('./config-UUXWLDPS.js');
|
|
5949
|
-
const { listJobFiles } = await import('./loop-
|
|
5949
|
+
const { listJobFiles } = await import('./loop-56NYGUUD.js');
|
|
5950
5950
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-XHVFG5DV.js');
|
|
5951
5951
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5952
5952
|
const jobs = listJobFiles(configPath);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-KGWJLMWY.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-OIMM6Y36.js';
|
|
5
5
|
import './chunk-CLH2HOAT.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-BVHJT6DL.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-QLEQ5PIC.js';
|
|
8
8
|
import './chunk-KBWBPZKP.js';
|
|
9
9
|
import './chunk-KVWFAAAQ.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-
|
|
4
|
-
import { readOwnContainer } from './chunk-
|
|
5
|
-
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-WCLBEDE7.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-OE5CHFWW.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-QLEQ5PIC.js';
|
|
6
6
|
import './chunk-KBWBPZKP.js';
|
|
7
7
|
import './chunk-KVWFAAAQ.js';
|
|
8
8
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperBinaryFor } from './chunk-
|
|
3
|
+
import { helperBinaryFor } from './chunk-OIMM6Y36.js';
|
|
4
4
|
import { launcherCheck } from './chunk-CLH2HOAT.js';
|
|
5
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
5
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-IQ6VCXT5.js';
|
|
6
6
|
import './chunk-BVHJT6DL.js';
|
|
7
|
-
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
7
|
+
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-QLEQ5PIC.js';
|
|
8
8
|
import './chunk-KBWBPZKP.js';
|
|
9
9
|
import './chunk-KVWFAAAQ.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-
|
|
3
|
+
export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-ELOX2HFU.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-XTJ6AYB7.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-XHOW32QR.js');
|
|
29
29
|
await runCli(process.argv);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { npmSupportsProvenance } from './chunk-E7R2GIAW.js';
|
|
4
|
-
import { RunnerInitError, readConfigObject } from './chunk-
|
|
4
|
+
import { RunnerInitError, readConfigObject } from './chunk-QLEQ5PIC.js';
|
|
5
5
|
import './chunk-KBWBPZKP.js';
|
|
6
6
|
import './chunk-KVWFAAAQ.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RunnerInitError } from './chunk-
|
|
3
|
+
import { RunnerInitError } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -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-4RX7VI5S.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
|
|
5
5
|
import './chunk-OHGA3RLF.js';
|
|
6
6
|
import './chunk-FHCF37R6.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-
|
|
3
|
+
export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-2S7IIXVH.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-WCLBEDE7.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-QQCU7MNF.js';
|
|
8
8
|
import './chunk-MLGVXWRC.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-OE5CHFWW.js';
|
|
10
10
|
import './chunk-RZOTU34V.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-IQ6VCXT5.js';
|
|
12
12
|
import './chunk-BVHJT6DL.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-QLEQ5PIC.js';
|
|
14
14
|
import './chunk-KBWBPZKP.js';
|
|
15
15
|
import './chunk-KVWFAAAQ.js';
|
|
16
16
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-
|
|
3
|
+
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readConfigObject, RunnerInitError } from './chunk-
|
|
3
|
+
import { readConfigObject, RunnerInitError } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-
|
|
3
|
+
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-QLEQ5PIC.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-OE5CHFWW.js';
|
|
4
|
+
import './chunk-QLEQ5PIC.js';
|
|
5
5
|
import './chunk-KBWBPZKP.js';
|
|
6
6
|
import './chunk-KVWFAAAQ.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-
|
|
3
|
+
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-VTLPXNGV.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-FHCF37R6.js';
|
|
6
6
|
import './chunk-7YS6SFMI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { runWorkComment } from './chunk-KAXJVGON.js';
|
|
4
|
-
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-
|
|
4
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-VTLPXNGV.js';
|
|
5
5
|
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-FX4242RX.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
7
7
|
import { runEmitArtifact } from './chunk-WGLOCLUA.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.38.1-next.
|
|
3
|
+
"version": "0.38.1-next.20261112172530",
|
|
4
4
|
"description": "OuterLayer CLI — commands: init, claude, opencode, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, run, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Magu Studios, Inc.",
|
|
@@ -306,7 +306,7 @@ Run them in order.
|
|
|
306
306
|
reason in the final report and open no pull request.
|
|
307
307
|
2. **Criteria.** Run `outerlayer emit step "Criteria" --item "$OUTERLAYER_WORK"`,
|
|
308
308
|
then apply the team's changes for this phase. Record the issue's criteria on the item, so the
|
|
309
|
-
|
|
309
|
+
Criteria tab, the item's status and the judge hold the pull request to one
|
|
310
310
|
list. Read the whole issue and find its acceptance criteria in whatever
|
|
311
311
|
form they are written: under a heading of any wording, as a checklist or
|
|
312
312
|
numbered items, as "done when" prose, with ids or without. There is no
|
|
@@ -68,7 +68,7 @@ criterion it finds not satisfied before the build ends.
|
|
|
68
68
|
In a build on a factory host (`OUTERLAYER_JOB_DIR` is set), keep the report in
|
|
69
69
|
`build-reports/` and emit nothing: the host's judge records the verdict for
|
|
70
70
|
the pull request. In a local session, which has no host judge, link each
|
|
71
|
-
criterion to the tests the judge named, which the
|
|
71
|
+
criterion to the tests the judge named, which the Criteria tab lists, and emit
|
|
72
72
|
the report. The judge writes those tests beside its report, in
|
|
73
73
|
`<judge-report>.tests.json`. With several judges, merge their tests files into
|
|
74
74
|
one, then link the merged report:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// Links each criterion to the tests the criteria judge named for it, by
|
|
3
3
|
// writing a `criterion-citations` JSON block into the judge's HTML report. The
|
|
4
|
-
// work item's
|
|
4
|
+
// work item's Criteria tab reads that block to list a criterion's tests. Run
|
|
5
5
|
// it on the report just before emitting it. Needs only Node and git.
|
|
6
6
|
//
|
|
7
7
|
// node criterion-citations.mjs --report <path> --tests <path>
|
|
@@ -63,7 +63,7 @@ The file is `{"criteria": [{"id": "LOGIN-01", "text": "…", "proof": null}]}`,
|
|
|
63
63
|
one entry per criterion as your team wrote it. `proof` is the artifact kind
|
|
64
64
|
that proves it (`video`, `screenshot`, `report`, `log`, `test`, `file`) or `null`. The
|
|
65
65
|
id is yours, 1 to 64 characters of `A-Z a-z 0-9 . _ : -`. The list is the
|
|
66
|
-
only source for the item's
|
|
66
|
+
only source for the item's Criteria tab: nothing reads criteria out of the
|
|
67
67
|
issue. Once an item has a list, an agent session cannot replace it; ask a
|
|
68
68
|
person to run the command again outside the session.
|
|
69
69
|
|
|
@@ -73,7 +73,7 @@ recorded id:
|
|
|
73
73
|
outerlayer emit artifact shot.png --caption "…" --for LOGIN-01
|
|
74
74
|
|
|
75
75
|
The PR comment's Evidence section shows the id next to the artifact, and the
|
|
76
|
-
dashboard's
|
|
76
|
+
dashboard's Criteria tab lists the artifact on that criterion's row. An id
|
|
77
77
|
the recorded list does not hold gets no row.
|
|
78
78
|
|
|
79
79
|
## Record a demo
|
|
@@ -136,7 +136,7 @@ A session writes no review report and records no result for a review. On a runne
|
|
|
136
136
|
|
|
137
137
|
## The criteria report and the `acceptance-criteria` check
|
|
138
138
|
|
|
139
|
-
Bind the judge's report on each criterion, an HTML file, with `--for acceptance-criteria`. The item page links it at the top of its
|
|
139
|
+
Bind the judge's report on each criterion, an HTML file, with `--for acceptance-criteria`. The item page links it at the top of its Criteria tab for the reviewer. Emit it only when the item has recorded criteria.
|
|
140
140
|
|
|
141
141
|
Then run `outerlayer sync`. It prints a line for the report that ends with its link (`outerlayer sync --json` lists them under `uploadedArtifacts`). Take the link from that line. If `sync` printed no line for the report, another sync already uploaded it: run `outerlayer sync --link <the artifact id>`, with the id `emit artifact` printed. Never build the link by hand, and never link a pull request comment. Record the judge's verdict on the `acceptance-criteria` check that `outerlayer init` writes:
|
|
142
142
|
|