@outerlayer/cli 0.40.0-next.20261114141332 → 0.40.0-next.20261114141534

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.
Files changed (30) hide show
  1. package/dist/build-info.json +1 -1
  2. package/dist/{check-WZBT5JLI.js → check-ARWWJ2ED.js} +6 -6
  3. package/dist/{chunk-HIQ3NVBX.js → chunk-3JJ6JIYS.js} +3 -3
  4. package/dist/{chunk-OEOIKUUY.js → chunk-3ZYSB2V7.js} +1 -1
  5. package/dist/{chunk-WEAYLRPJ.js → chunk-6O5LXVFE.js} +1 -1
  6. package/dist/{chunk-ZV3YJFOG.js → chunk-BN6NRJ66.js} +6 -6
  7. package/dist/{chunk-NRSMXWUG.js → chunk-FF5TPCQ7.js} +1 -1
  8. package/dist/{chunk-LTQOGRYT.js → chunk-IYDHMOTC.js} +1 -1
  9. package/dist/{chunk-MOPFZXA7.js → chunk-PIXRISH7.js} +13 -9
  10. package/dist/{chunk-OCVQAHQD.js → chunk-QAOEOSSE.js} +1 -1
  11. package/dist/{chunk-G4DY6M4N.js → chunk-WW6LIFKM.js} +1 -1
  12. package/dist/{cli-SHFL3UG3.js → cli-EZTI4WK3.js} +26 -26
  13. package/dist/{command-EOPDBE5V.js → command-EQ4LIIPO.js} +3 -3
  14. package/dist/{container-start-SLO564RB.js → container-start-ZX2HJUEQ.js} +4 -4
  15. package/dist/{doctor-M4LYRU72.js → doctor-J4DD52YY.js} +4 -4
  16. package/dist/{host-checks-LEGAWS4P.js → host-checks-3PYYUHVK.js} +2 -2
  17. package/dist/index.js +1 -1
  18. package/dist/{init-LTZDJHZN.js → init-4J5U5KA7.js} +2 -2
  19. package/dist/{init-7VJMGE5J.js → init-OBLM3BDH.js} +2 -2
  20. package/dist/{init-agent-ROLUCLOH.js → init-agent-ZYT24CNV.js} +2 -2
  21. package/dist/{init-cmd-JNY333QI.js → init-cmd-4U45BP3X.js} +1 -1
  22. package/dist/{loop-EA5HISX2.js → loop-7GZBLOZ6.js} +6 -6
  23. package/dist/{machine-MUSRMWLN.js → machine-DP32IH24.js} +2 -2
  24. package/dist/{runner-key-2HJWN4IF.js → runner-key-VAQXB2WA.js} +2 -2
  25. package/dist/{status-TWBBVHZ5.js → status-AAEAC2GN.js} +2 -2
  26. package/dist/{update-steps-5YPJTFYY.js → update-steps-AVUMGWFH.js} +3 -3
  27. package/dist/{work-claim-cmd-HCCEBBZC.js → work-claim-cmd-E6I6VZNS.js} +1 -1
  28. package/dist/{work-proofs-cmd-AT4Q2SZM.js → work-proofs-cmd-DPC5M65G.js} +1 -1
  29. package/dist/{work-proofs-record-VQYVY5G5.js → work-proofs-record-PFPGBKXM.js} +1 -1
  30. package/package.json +1 -1
@@ -1 +1 @@
1
- {"id":"2026-11-14T14:21:43.384Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
1
+ {"id":"2026-11-14T14:38:24.403Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
@@ -1,19 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { probeCredentials } from './chunk-ZV3YJFOG.js';
3
+ import { probeCredentials } from './chunk-BN6NRJ66.js';
4
4
  import './chunk-3JVYMD4G.js';
5
- import './chunk-WEAYLRPJ.js';
5
+ import './chunk-6O5LXVFE.js';
6
6
  import './chunk-E7R2GIAW.js';
7
7
  import './chunk-7LZYS7BO.js';
8
8
  import './chunk-3LORQC4Z.js';
9
- import './chunk-LTQOGRYT.js';
9
+ import './chunk-IYDHMOTC.js';
10
10
  import './chunk-CYZQDC6N.js';
11
- import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-G4DY6M4N.js';
11
+ import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-WW6LIFKM.js';
12
12
  import './chunk-ZM7AL7UV.js';
13
13
  import { findServiceUnit } from './chunk-I2BO2QBH.js';
14
- import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-MOPFZXA7.js';
14
+ import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-PIXRISH7.js';
15
15
  import './chunk-BY4SXNUL.js';
16
- import './chunk-OCVQAHQD.js';
16
+ import './chunk-QAOEOSSE.js';
17
17
  import './chunk-2PGI6RDE.js';
18
18
  import './chunk-I3LTIAOR.js';
19
19
  import './chunk-RC5ENCHK.js';
@@ -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-LEGAWS4P.js');
132
+ const { testProofIn } = await import('./host-checks-3PYYUHVK.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-LEGAWS4P.js');
139
+ const { checksIn, isJudgeCheck } = await import('./host-checks-3PYYUHVK.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-VQYVY5G5.js');
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-PFPGBKXM.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 { helperSocketPath } from './chunk-MOPFZXA7.js';
3
+ import { helperSocketPath } from './chunk-PIXRISH7.js';
4
4
  import { UNIT_MARKER } from './chunk-ZKZD4CGD.js';
5
5
  import { runnerDir } from './chunk-I6MLYOGL.js';
6
6
  import { createHash } from 'crypto';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { scrubReason, stripTerminalControls } from './chunk-MOPFZXA7.js';
3
+ import { scrubReason, stripTerminalControls } from './chunk-PIXRISH7.js';
4
4
  import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZKZD4CGD.js';
5
5
  import { RunnerAlreadyRunningError, readPidFile } from './chunk-ZI5MT4TT.js';
6
6
  import { isSameProcess } from './chunk-JBJTC3UU.js';
@@ -1,17 +1,17 @@
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-WEAYLRPJ.js';
4
+ import { reportFailedStart, fitImageBuildMemory } from './chunk-6O5LXVFE.js';
5
5
  import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
6
6
  import { writeFleetState } from './chunk-7LZYS7BO.js';
7
7
  import { writePendingUpdate } from './chunk-3LORQC4Z.js';
8
- import { renderUpdateSteps } from './chunk-LTQOGRYT.js';
8
+ import { renderUpdateSteps } from './chunk-IYDHMOTC.js';
9
9
  import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-CYZQDC6N.js';
10
- import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-G4DY6M4N.js';
10
+ import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-WW6LIFKM.js';
11
11
  import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-ZM7AL7UV.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, 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, 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-MOPFZXA7.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, 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, 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-PIXRISH7.js';
13
13
  import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-BY4SXNUL.js';
14
- import { RUNNER_PROTOCOL } from './chunk-OCVQAHQD.js';
14
+ import { RUNNER_PROTOCOL } from './chunk-QAOEOSSE.js';
15
15
  import { RUNNER_RESERVE_BYTES } from './chunk-ZKZD4CGD.js';
16
16
  import { RepoFilter } from './chunk-EANGK4AM.js';
17
17
  import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
@@ -4782,7 +4782,7 @@ async function startRunner(configPath, deps, startup) {
4782
4782
  check: update.check ? () => update.check(configPath) : async () => {
4783
4783
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
4784
4784
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
4785
- return (await import('./check-WZBT5JLI.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4785
+ return (await import('./check-ARWWJ2ED.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4786
4786
  },
4787
4787
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
4788
4788
  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-M4LYRU72.js');
1084
+ const { runnerHostChecks } = await import('./doctor-J4DD52YY.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 { stripTerminalControls } from './chunk-MOPFZXA7.js';
3
+ import { stripTerminalControls } from './chunk-PIXRISH7.js';
4
4
  import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-7QDAAW2N.js';
5
5
  import { readFileSync } from 'fs';
6
6
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-BY4SXNUL.js';
4
- import { RUNNER_PROTOCOL } from './chunk-OCVQAHQD.js';
4
+ import { RUNNER_PROTOCOL } from './chunk-QAOEOSSE.js';
5
5
  import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
6
6
  import { zodProblem } from './chunk-I3LTIAOR.js';
7
7
  import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-RC5ENCHK.js';
@@ -341,13 +341,14 @@ async function restoreSession(input) {
341
341
  }
342
342
  }
343
343
  var NAMES_A_FAILURE = /\b(error|failed|fatal|denied|refused|cannot|could not|unable|not found|timed out|timeout)\b/i;
344
+ var PROPERTY_LINE = /^(?:[{}\]\[]+,?|(?:[A-Za-z_$][\w$]*|\[Symbol\([^)]*\)\]): (?:'[^']*'|"[^"]*"|-?\d+(?:\.\d+)?|true|false|null|undefined),?)$/;
344
345
  function failedStepLine(log) {
345
346
  const lines = log.split(/\r?\n/);
346
347
  const end = lines.findLastIndex((line2) => /^#\d+ ERROR: /.test(line2));
347
348
  if (end === -1) return void 0;
348
349
  const step = /^#(\d+) /.exec(lines[end])[1];
349
350
  const prefix = new RegExp(`^#${step} \\d+(?:\\.\\d+)? (.*)$`);
350
- const output = lines.map((line2) => (prefix.exec(line2)?.[1] ?? "").trim()).filter((line2) => line2 !== "");
351
+ const output = lines.map((line2) => (prefix.exec(line2)?.[1] ?? "").trim()).filter((line2) => line2 !== "" && !PROPERTY_LINE.test(line2));
351
352
  return output.filter((line2) => !line2.startsWith("at ") && NAMES_A_FAILURE.test(line2)).at(-1) ?? output.at(-1);
352
353
  }
353
354
  function failedStepLineOf(path) {
@@ -9807,12 +9808,12 @@ async function renewLease(config, item, fetchImpl) {
9807
9808
  var ALREADY_RELEASED = "already released";
9808
9809
  var CLAIM_NOT_NEWEST = "claim_not_newest";
9809
9810
  async function releaseLease(config, item, outcome, detail, fetchImpl) {
9810
- const send = async (environment2, sent2, log2, resume2, disk2) => postJson(
9811
+ const send = async (environment2, sent2, log2, resume2, disk2, endedAt2) => postJson(
9811
9812
  config.url,
9812
9813
  `/v1/work-items/${item}/claim/release`,
9813
9814
  config.apiKey,
9814
9815
  config.appId,
9815
- { host: config.host, claimId: detail.claimId, outcome: sent2, stage: detail.stage, exitCode: detail.exitCode, reason: detail.reason, environment: environment2, resume: resume2, disk: disk2, log: log2 },
9816
+ { host: config.host, claimId: detail.claimId, outcome: sent2, stage: detail.stage, exitCode: detail.exitCode, reason: detail.reason, environment: environment2, resume: resume2, disk: disk2, log: log2, endedAt: endedAt2 },
9816
9817
  fetchImpl,
9817
9818
  void 0,
9818
9819
  await signerFor(config.configPath)
@@ -9822,16 +9823,19 @@ async function releaseLease(config, item, outcome, detail, fetchImpl) {
9822
9823
  let log = detail.log;
9823
9824
  let resume = detail.resume;
9824
9825
  let disk = detail.disk;
9826
+ let endedAt = detail.endedAt;
9825
9827
  let data;
9826
9828
  for (; ; ) {
9827
9829
  try {
9828
- ({ data } = await send(environment, sent, log, resume, disk));
9830
+ ({ data } = await send(environment, sent, log, resume, disk, endedAt));
9829
9831
  break;
9830
9832
  } catch (err) {
9831
9833
  if (!(err instanceof WorkCommandError) || err.status !== 400 || err.code !== "invalid_request_body") throw err;
9832
9834
  const namesOutcome = /\boutcome\b/.test(err.message);
9833
9835
  if (sent === "incomplete" && namesOutcome) {
9834
9836
  sent = "ok";
9837
+ } else if (endedAt !== void 0 && /\bendedAt\b/.test(err.message)) {
9838
+ endedAt = void 0;
9835
9839
  } else if (resume !== void 0 && /\bresume\b/.test(err.message)) {
9836
9840
  resume = void 0;
9837
9841
  } else if (disk !== void 0 && /\bdisk\b/.test(err.message)) {
@@ -10396,10 +10400,11 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
10396
10400
  else delete job.environment.guestUsage;
10397
10401
  writeJobFile(jobFilePath, job);
10398
10402
  }
10399
- const sentAtMs = now().getTime();
10403
+ const endedAt = now();
10404
+ const sentAtMs = endedAt.getTime();
10400
10405
  const runnerLog = valuesNotHeld ? `The runner sends no log for this attempt: ${VALUES_NOT_HELD}.
10401
10406
  ` : releaseLogFor(jobDirPath, job, config);
10402
- const detail = outcome === void 0 ? { log: runnerLog } : { stage: job.endStage, exitCode: job.endExitCode, reason: job.reason, environment: job.environment, resume: job.resume, disk: job.disk, log: runnerLog };
10407
+ const detail = outcome === void 0 ? { log: runnerLog, endedAt: endedAt.toISOString() } : { stage: job.endStage, exitCode: job.endExitCode, reason: job.reason, environment: job.environment, resume: job.resume, disk: job.disk, log: runnerLog, endedAt: endedAt.toISOString() };
10403
10408
  const release = await retrySend(() => sendRelease(config, job, outcome, detail, deps.fetchImpl), {
10404
10409
  now: deps.now,
10405
10410
  sleep: deps.sleep
@@ -10410,7 +10415,6 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
10410
10415
  dropManagedBuildSettings(jobDirPath);
10411
10416
  const alreadyReleased = release.ok && wasAlreadyReleased(release.value, outcome, sentAtMs);
10412
10417
  const superseded = !release.ok && release.code === CLAIM_NOT_NEWEST;
10413
- const endedAt = now();
10414
10418
  job.outcome = outcome;
10415
10419
  job.endedAt = endedAt.toISOString();
10416
10420
  job.releaseFailed = release.ok ? alreadyReleased ? ALREADY_RELEASED : void 0 : superseded ? void 0 : release.reason;
@@ -10480,7 +10484,7 @@ async function retryFailedReleases(jobsDirPath, config, deps) {
10480
10484
  continue;
10481
10485
  }
10482
10486
  const runnerLog = readScrubbedReleaseLog(dirPath) ?? releaseLogFor(dirPath, job, config);
10483
- const detail = job.outcome === void 0 ? { log: runnerLog } : { stage: job.endStage, exitCode: job.endExitCode, reason: job.reason, environment: job.environment, resume: job.resume, disk: job.disk, log: runnerLog };
10487
+ const detail = job.outcome === void 0 ? { log: runnerLog, endedAt: job.endedAt } : { stage: job.endStage, exitCode: job.endExitCode, reason: job.reason, environment: job.environment, resume: job.resume, disk: job.disk, log: runnerLog, endedAt: job.endedAt };
10484
10488
  const release = await retrySend(() => sendRelease(config, job, job.outcome, detail, deps.fetchImpl), {
10485
10489
  now: deps.now,
10486
10490
  sleep: deps.sleep
@@ -4,6 +4,6 @@ import { createRequire } from 'node:module';
4
4
  createRequire(import.meta.url);
5
5
 
6
6
  // src/runner/protocol.ts
7
- var RUNNER_PROTOCOL = 59;
7
+ var RUNNER_PROTOCOL = 60;
8
8
 
9
9
  export { RUNNER_PROTOCOL };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-MOPFZXA7.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-PIXRISH7.js';
4
4
  import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZKZD4CGD.js';
5
5
  import { getJson, WorkCommandError } from './chunk-RIZCV7GX.js';
6
6
  import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-T7HMGQH2.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-NRSMXWUG.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-FF5TPCQ7.js';
4
4
  import './chunk-ADXJXXGU.js';
5
5
  import { verifiedTrackerNames, TRACKERS } from './chunk-RIZCV7GX.js';
6
6
  import './chunk-7RDHN455.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-JNY333QI.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3957
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-4U45BP3X.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-JNY333QI.js');
3963
+ const { runInitCommand } = await import('./init-cmd-4U45BP3X.js');
3964
3964
  const code = await runInitCommand(
3965
3965
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3966
3966
  {
@@ -5250,7 +5250,7 @@ a runner build, no row is failed.
5250
5250
  fail(trackerNumberError("--pr", opts.pr));
5251
5251
  return;
5252
5252
  }
5253
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-AT4Q2SZM.js');
5253
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-DPC5M65G.js');
5254
5254
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5255
5255
  });
5256
5256
  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) => {
@@ -5275,7 +5275,7 @@ by a different key is refused; claiming again with the same key extends
5275
5275
  it. --host is a label only.
5276
5276
  `
5277
5277
  ).action(async (opts) => {
5278
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-HCCEBBZC.js');
5278
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-E6I6VZNS.js');
5279
5279
  try {
5280
5280
  await runWorkClaim(opts);
5281
5281
  } catch (err) {
@@ -5295,7 +5295,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5295
5295
  lease has expired, or a 403 if a different key holds it.
5296
5296
  `
5297
5297
  ).action(async (opts) => {
5298
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-HCCEBBZC.js');
5298
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-E6I6VZNS.js');
5299
5299
  try {
5300
5300
  await runWorkRenew(opts);
5301
5301
  } catch (err) {
@@ -5327,7 +5327,7 @@ applies to a host's lease only. A later tool call in the session
5327
5327
  takes the lease again.
5328
5328
  `
5329
5329
  ).action(async (opts) => {
5330
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-HCCEBBZC.js');
5330
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-E6I6VZNS.js');
5331
5331
  try {
5332
5332
  await runWorkRelease(opts);
5333
5333
  } catch (err) {
@@ -5473,7 +5473,7 @@ function registerRunnerCommands(program2) {
5473
5473
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5474
5474
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5475
5475
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-334GXURH.js');
5476
- const { start, RunnerStartError } = await import('./loop-EA5HISX2.js');
5476
+ const { start, RunnerStartError } = await import('./loop-7GZBLOZ6.js');
5477
5477
  const { RunnerAlreadyRunningError } = await import('./pidfile-ERHOAFUE.js');
5478
5478
  const configPath = opts.config ?? defaultRunnerConfigPath();
5479
5479
  try {
@@ -5497,8 +5497,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5497
5497
  `
5498
5498
  ).action(async () => {
5499
5499
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-334GXURH.js');
5500
- const { containerStart, containerStartExit } = await import('./container-start-SLO564RB.js');
5501
- const { start, RunnerStartError } = await import('./loop-EA5HISX2.js');
5500
+ const { containerStart, containerStartExit } = await import('./container-start-ZX2HJUEQ.js');
5501
+ const { start, RunnerStartError } = await import('./loop-7GZBLOZ6.js');
5502
5502
  const { RunnerAlreadyRunningError } = await import('./pidfile-ERHOAFUE.js');
5503
5503
  try {
5504
5504
  const outcome = containerStartExit(await containerStart({
@@ -5522,14 +5522,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5522
5522
  ).action(async (opts) => {
5523
5523
  const { defaultRunnerConfigPath } = await import('./config-334GXURH.js');
5524
5524
  const { runnerDir } = await import('./paths-B5GNVTVC.js');
5525
- const { runUpdateSteps } = await import('./update-steps-5YPJTFYY.js');
5525
+ const { runUpdateSteps } = await import('./update-steps-AVUMGWFH.js');
5526
5526
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5527
5527
  process.stdout.write(`${text}
5528
5528
  `);
5529
5529
  });
5530
5530
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5531
5531
  const { defaultRunnerConfigPath } = await import('./config-334GXURH.js');
5532
- const { runRunnerCheck } = await import('./check-WZBT5JLI.js');
5532
+ const { runRunnerCheck } = await import('./check-ARWWJ2ED.js');
5533
5533
  const configPath = opts.config ?? defaultRunnerConfigPath();
5534
5534
  const result = await runRunnerCheck(configPath);
5535
5535
  if (!result.ok) {
@@ -5563,13 +5563,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5563
5563
  }
5564
5564
  }
5565
5565
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5566
- if (buildCpusMax !== void 0 && !(await import('./command-EOPDBE5V.js')).cpusAreValid(buildCpusMax)) {
5566
+ if (buildCpusMax !== void 0 && !(await import('./command-EQ4LIIPO.js')).cpusAreValid(buildCpusMax)) {
5567
5567
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5568
5568
  return;
5569
5569
  }
5570
5570
  try {
5571
5571
  if (opts.service === true) {
5572
- const { installServiceCommand, serviceSuccessText } = await import('./command-EOPDBE5V.js');
5572
+ const { installServiceCommand, serviceSuccessText } = await import('./command-EQ4LIIPO.js');
5573
5573
  const result2 = await installServiceCommand({
5574
5574
  configPath,
5575
5575
  print: opts.print,
@@ -5624,7 +5624,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5624
5624
  return;
5625
5625
  }
5626
5626
  const { defaultRunnerConfigPath } = await import('./config-334GXURH.js');
5627
- const { uninstallServiceCommand } = await import('./command-EOPDBE5V.js');
5627
+ const { uninstallServiceCommand } = await import('./command-EQ4LIIPO.js');
5628
5628
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5629
5629
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5630
5630
  `);
@@ -5655,11 +5655,11 @@ already in ${words().envFile} is used.
5655
5655
  `
5656
5656
  ).action(async (opts) => {
5657
5657
  const { defaultRunnerConfigPath, loadRunnerConfig, RunnerConfigError } = await import('./config-334GXURH.js');
5658
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, sandboxPlatformRefusal, SANDBOX_MACHINES } = await import('./init-7VJMGE5J.js');
5659
- const { askManagedSandboxes } = await import('./check-WZBT5JLI.js');
5660
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-2HJWN4IF.js');
5661
- const { detectMachine } = await import('./machine-MUSRMWLN.js');
5662
- const { chooseVm, runVmInit, VmInitError } = await import('./init-LTZDJHZN.js');
5658
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, sandboxPlatformRefusal, SANDBOX_MACHINES } = await import('./init-OBLM3BDH.js');
5659
+ const { askManagedSandboxes } = await import('./check-ARWWJ2ED.js');
5660
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-VAQXB2WA.js');
5661
+ const { detectMachine } = await import('./machine-DP32IH24.js');
5662
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-4J5U5KA7.js');
5663
5663
  const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-4PF5MNVO.js');
5664
5664
  const { headlessNames: headlessNames2 } = await import('./runner-agents-FCJR2SGQ.js');
5665
5665
  const configPath = opts.config ?? defaultRunnerConfigPath();
@@ -5695,7 +5695,7 @@ already in ${words().envFile} is used.
5695
5695
  return;
5696
5696
  }
5697
5697
  try {
5698
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-ROLUCLOH.js');
5698
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-ZYT24CNV.js');
5699
5699
  agent = await initAgent({
5700
5700
  flag: agent,
5701
5701
  handOff: opts.configStdin === true,
@@ -5853,7 +5853,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5853
5853
  let serviceUp = false;
5854
5854
  let restart;
5855
5855
  if (installedLayout) {
5856
- const { installServiceCommand } = await import('./command-EOPDBE5V.js');
5856
+ const { installServiceCommand } = await import('./command-EQ4LIIPO.js');
5857
5857
  const service = await installServiceCommand({
5858
5858
  configPath,
5859
5859
  entryPath: process.argv[1] ?? "",
@@ -5991,7 +5991,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5991
5991
  });
5992
5992
  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) => {
5993
5993
  const { defaultRunnerConfigPath } = await import('./config-334GXURH.js');
5994
- const { requestStop } = await import('./loop-EA5HISX2.js');
5994
+ const { requestStop } = await import('./loop-7GZBLOZ6.js');
5995
5995
  const configPath = opts.config ?? defaultRunnerConfigPath();
5996
5996
  const { runnerImageVersion } = await import('./image-tag-CPEVAJDD.js');
5997
5997
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
@@ -5999,8 +5999,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5999
5999
  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) => {
6000
6000
  const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-334GXURH.js');
6001
6001
  const { jobsDir, runnerDir } = await import('./paths-B5GNVTVC.js');
6002
- const { listJobFiles, runnerProcessState } = await import('./loop-EA5HISX2.js');
6003
- const { renderStatus } = await import('./status-TWBBVHZ5.js');
6002
+ const { listJobFiles, runnerProcessState } = await import('./loop-7GZBLOZ6.js');
6003
+ const { renderStatus } = await import('./status-AAEAC2GN.js');
6004
6004
  const { readHousekeepingRecord } = await import('./record-GI6LXXNB.js');
6005
6005
  const path2 = await import('path');
6006
6006
  const configPath = opts.config ?? defaultRunnerConfigPath();
@@ -6066,7 +6066,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
6066
6066
  });
6067
6067
  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) => {
6068
6068
  const { defaultRunnerConfigPath } = await import('./config-334GXURH.js');
6069
- const { listJobFiles } = await import('./loop-EA5HISX2.js');
6069
+ const { listJobFiles } = await import('./loop-7GZBLOZ6.js');
6070
6070
  const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-BQC5UDSI.js');
6071
6071
  const configPath = opts.config ?? defaultRunnerConfigPath();
6072
6072
  const jobs = listJobFiles(configPath);
@@ -1,12 +1,12 @@
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-6G6FOCJW.js';
4
- import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-OEOIKUUY.js';
4
+ import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-3ZYSB2V7.js';
5
5
  import './chunk-SWYBUMUL.js';
6
6
  import { currentLink, execStartCommand } from './chunk-ZM7AL7UV.js';
7
- import { detectMachine, ensureFirecrackerAndJailer } from './chunk-MOPFZXA7.js';
7
+ import { detectMachine, ensureFirecrackerAndJailer } from './chunk-PIXRISH7.js';
8
8
  import './chunk-BY4SXNUL.js';
9
- import './chunk-OCVQAHQD.js';
9
+ import './chunk-QAOEOSSE.js';
10
10
  import './chunk-2PGI6RDE.js';
11
11
  import './chunk-I3LTIAOR.js';
12
12
  import './chunk-RC5ENCHK.js';
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-WEAYLRPJ.js';
4
- import { readOwnContainer } from './chunk-LTQOGRYT.js';
5
- import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-MOPFZXA7.js';
3
+ import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-6O5LXVFE.js';
4
+ import { readOwnContainer } from './chunk-IYDHMOTC.js';
5
+ import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-PIXRISH7.js';
6
6
  import './chunk-BY4SXNUL.js';
7
- import './chunk-OCVQAHQD.js';
7
+ import './chunk-QAOEOSSE.js';
8
8
  import './chunk-2PGI6RDE.js';
9
9
  import './chunk-I3LTIAOR.js';
10
10
  import './chunk-RC5ENCHK.js';
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-G4DY6M4N.js';
4
- import { helperBinaryFor } from './chunk-OEOIKUUY.js';
3
+ import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-WW6LIFKM.js';
4
+ import { helperBinaryFor } from './chunk-3ZYSB2V7.js';
5
5
  import { launcherCheck } from './chunk-SWYBUMUL.js';
6
6
  import './chunk-ZM7AL7UV.js';
7
- import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-MOPFZXA7.js';
7
+ import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-PIXRISH7.js';
8
8
  import './chunk-BY4SXNUL.js';
9
- import './chunk-OCVQAHQD.js';
9
+ import './chunk-QAOEOSSE.js';
10
10
  import './chunk-2PGI6RDE.js';
11
11
  import './chunk-I3LTIAOR.js';
12
12
  import './chunk-RC5ENCHK.js';
@@ -1,8 +1,8 @@
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-MOPFZXA7.js';
3
+ export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-PIXRISH7.js';
4
4
  import './chunk-BY4SXNUL.js';
5
- import './chunk-OCVQAHQD.js';
5
+ import './chunk-QAOEOSSE.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.js';
8
8
  import './chunk-RC5ENCHK.js';
package/dist/index.js CHANGED
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-FFRNWF6T.js');
25
25
  var launcherCode = await runSubcommand(argv);
26
26
  if (launcherCode !== void 0) process.exit(launcherCode);
27
27
  (await import('./hook-fast-CKQWLT6W.js')).recordLinkExitFailure(argv);
28
- var { runCli } = await import('./cli-SHFL3UG3.js');
28
+ var { runCli } = await import('./cli-EZTI4WK3.js');
29
29
  await runCli(process.argv);
@@ -1,9 +1,9 @@
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-MOPFZXA7.js';
4
+ import { RunnerInitError, readConfigObject } from './chunk-PIXRISH7.js';
5
5
  import './chunk-BY4SXNUL.js';
6
- import './chunk-OCVQAHQD.js';
6
+ import './chunk-QAOEOSSE.js';
7
7
  import './chunk-2PGI6RDE.js';
8
8
  import './chunk-I3LTIAOR.js';
9
9
  import './chunk-RC5ENCHK.js';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { PLACEHOLDER_MARKER, RunnerInitError, SANDBOX_MACHINES, isPlaceholderCommand, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, sandboxPlatformRefusal, writeRunnerInit } from './chunk-MOPFZXA7.js';
3
+ export { PLACEHOLDER_MARKER, RunnerInitError, SANDBOX_MACHINES, isPlaceholderCommand, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, sandboxPlatformRefusal, writeRunnerInit } from './chunk-PIXRISH7.js';
4
4
  import './chunk-BY4SXNUL.js';
5
- import './chunk-OCVQAHQD.js';
5
+ import './chunk-QAOEOSSE.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.js';
8
8
  import './chunk-RC5ENCHK.js';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RunnerInitError } from './chunk-MOPFZXA7.js';
3
+ import { RunnerInitError } from './chunk-PIXRISH7.js';
4
4
  import './chunk-BY4SXNUL.js';
5
- import './chunk-OCVQAHQD.js';
5
+ import './chunk-QAOEOSSE.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.js';
8
8
  import './chunk-RC5ENCHK.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-NRSMXWUG.js';
3
+ import { summarizeChecks, summaryText, renderDoctorText } from './chunk-FF5TPCQ7.js';
4
4
  import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
5
5
  import './chunk-ADXJXXGU.js';
6
6
  import './chunk-RIZCV7GX.js';
@@ -1,18 +1,18 @@
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-ZV3YJFOG.js';
3
+ export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-BN6NRJ66.js';
4
4
  import './chunk-3JVYMD4G.js';
5
- import './chunk-WEAYLRPJ.js';
5
+ import './chunk-6O5LXVFE.js';
6
6
  import './chunk-E7R2GIAW.js';
7
7
  import './chunk-7LZYS7BO.js';
8
8
  import './chunk-3LORQC4Z.js';
9
- import './chunk-LTQOGRYT.js';
9
+ import './chunk-IYDHMOTC.js';
10
10
  import './chunk-CYZQDC6N.js';
11
- import './chunk-G4DY6M4N.js';
11
+ import './chunk-WW6LIFKM.js';
12
12
  import './chunk-ZM7AL7UV.js';
13
- import './chunk-MOPFZXA7.js';
13
+ import './chunk-PIXRISH7.js';
14
14
  import './chunk-BY4SXNUL.js';
15
- import './chunk-OCVQAHQD.js';
15
+ import './chunk-QAOEOSSE.js';
16
16
  import './chunk-2PGI6RDE.js';
17
17
  import './chunk-I3LTIAOR.js';
18
18
  import './chunk-RC5ENCHK.js';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-MOPFZXA7.js';
3
+ export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-PIXRISH7.js';
4
4
  import './chunk-BY4SXNUL.js';
5
- import './chunk-OCVQAHQD.js';
5
+ import './chunk-QAOEOSSE.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.js';
8
8
  import './chunk-RC5ENCHK.js';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { readConfigObject, RunnerInitError } from './chunk-MOPFZXA7.js';
3
+ import { readConfigObject, RunnerInitError } from './chunk-PIXRISH7.js';
4
4
  import './chunk-BY4SXNUL.js';
5
- import './chunk-OCVQAHQD.js';
5
+ import './chunk-QAOEOSSE.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.js';
8
8
  import './chunk-RC5ENCHK.js';
@@ -1,8 +1,8 @@
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-MOPFZXA7.js';
3
+ import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-PIXRISH7.js';
4
4
  import './chunk-BY4SXNUL.js';
5
- import './chunk-OCVQAHQD.js';
5
+ import './chunk-QAOEOSSE.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.js';
8
8
  import './chunk-RC5ENCHK.js';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-LTQOGRYT.js';
4
- import './chunk-MOPFZXA7.js';
3
+ export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-IYDHMOTC.js';
4
+ import './chunk-PIXRISH7.js';
5
5
  import './chunk-BY4SXNUL.js';
6
- import './chunk-OCVQAHQD.js';
6
+ import './chunk-QAOEOSSE.js';
7
7
  import './chunk-2PGI6RDE.js';
8
8
  import './chunk-I3LTIAOR.js';
9
9
  import './chunk-RC5ENCHK.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_PROTOCOL } from './chunk-OCVQAHQD.js';
3
+ import { RUNNER_PROTOCOL } from './chunk-QAOEOSSE.js';
4
4
  import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-RIZCV7GX.js';
5
5
  export { WorkCommandError } from './chunk-RIZCV7GX.js';
6
6
  import './chunk-7RDHN455.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-HIQ3NVBX.js';
3
+ export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-3JJ6JIYS.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-RIZCV7GX.js';
6
6
  import './chunk-7RDHN455.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { runWorkComment } from './chunk-4J5KDIHZ.js';
4
- import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-HIQ3NVBX.js';
4
+ import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-3JJ6JIYS.js';
5
5
  import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-QNHHD75P.js';
6
6
  import { readNewestDemo } from './chunk-ER6KQCVJ.js';
7
7
  import { runEmitArtifact } from './chunk-GD2LIK6W.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outerlayer/cli",
3
- "version": "0.40.0-next.20261114141332",
3
+ "version": "0.40.0-next.20261114141534",
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.",