@outerlayer/cli 0.38.0-next.20261109135914 → 0.38.0-next.20261109143949

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 (31) hide show
  1. package/README.md +3 -1
  2. package/dist/build-info.json +1 -1
  3. package/dist/{check-BLT4S3D2.js → check-YUKNUSAS.js} +6 -6
  4. package/dist/{chunk-MLM4BYK2.js → chunk-5TZCV6JB.js} +1 -1
  5. package/dist/{chunk-LCWUVQUI.js → chunk-6JW2L7UV.js} +3 -3
  6. package/dist/{chunk-UVL27UZW.js → chunk-G7HNRAXN.js} +1 -1
  7. package/dist/{chunk-GC7CAT2N.js → chunk-HUP2CGX4.js} +1 -1
  8. package/dist/{chunk-ZGJF4OPI.js → chunk-HW7QPCOP.js} +46 -9
  9. package/dist/{chunk-G7TP233H.js → chunk-NR3FDUWS.js} +1 -1
  10. package/dist/{chunk-7N75UQ3J.js → chunk-O4Q7GPKU.js} +1 -1
  11. package/dist/{chunk-DYHDUG2S.js → chunk-RVDXHF2M.js} +6 -6
  12. package/dist/{chunk-RGHHH3K5.js → chunk-TFR6S7ZB.js} +1 -1
  13. package/dist/{cli-YZUSUBAY.js → cli-7VKJRQWW.js} +25 -25
  14. package/dist/{command-5HL4C2VH.js → command-3WAJBJWX.js} +2 -2
  15. package/dist/{container-start-4M2RTEIX.js → container-start-T4GH4WLX.js} +3 -3
  16. package/dist/{doctor-YB5GRCLW.js → doctor-KHAB6YWH.js} +3 -3
  17. package/dist/{host-checks-ZMWJM23Z.js → host-checks-HZLHQ6WH.js} +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/{init-OSSS3TDT.js → init-7F2KP6XU.js} +1 -1
  20. package/dist/{init-MPQKWZES.js → init-XTTWPX6J.js} +1 -1
  21. package/dist/{init-agent-A257RKPJ.js → init-agent-RJSMNEWD.js} +1 -1
  22. package/dist/{init-cmd-KV24ZVEK.js → init-cmd-F72BWVFC.js} +1 -1
  23. package/dist/{loop-3BEQNXZN.js → loop-O5JBFZXP.js} +6 -6
  24. package/dist/{machine-QZ2YQWCN.js → machine-LGJSYGQS.js} +1 -1
  25. package/dist/{runner-key-OXEPM7UD.js → runner-key-TFFPQCGE.js} +1 -1
  26. package/dist/{status-CA5BTEQ6.js → status-KGZWBU26.js} +1 -1
  27. package/dist/{update-steps-7RBEK5YJ.js → update-steps-3LU3NZQL.js} +2 -2
  28. package/dist/{work-claim-cmd-ANXDKSAU.js → work-claim-cmd-FNE2ZMVG.js} +1 -1
  29. package/dist/{work-proofs-cmd-VRHB5NLE.js → work-proofs-cmd-2XWS5N2R.js} +1 -1
  30. package/dist/{work-proofs-record-GOS6TXUM.js → work-proofs-record-KEZ6Z4QH.js} +1 -1
  31. package/package.json +1 -1
package/README.md CHANGED
@@ -340,7 +340,9 @@ content:
340
340
  and whether its commits were authored by the GitHub App's bot account and
341
341
  credited the member who asked for the build. The runner sets that author in
342
342
  the build's environment and adds the `Co-authored-by` line with git hooks it
343
- writes into the build's own directory.
343
+ writes into the build's own directory. When the built-in code review ends,
344
+ `runner/code-review-report.ts` sends its result to your gateway with
345
+ `POST /v1/work-items/{id}/claim/code-review`.
344
346
  - **`outerlayer runner start` with `builtin:sandbox` hooks** runs each build
345
347
  in a sandbox, a microVM that a sandbox provider hosts. The runner calls
346
348
  the provider's API at `SANDBOX_API_URL` with the provider's API key
@@ -1 +1 @@
1
- {"id":"2026-11-09T14:07:56.989Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
1
+ {"id":"2026-11-09T14:46:58.671Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { probeCredentials } from './chunk-DYHDUG2S.js';
3
+ import { probeCredentials } from './chunk-RVDXHF2M.js';
4
4
  import './chunk-3JVYMD4G.js';
5
- import './chunk-G7TP233H.js';
5
+ import './chunk-NR3FDUWS.js';
6
6
  import './chunk-E7R2GIAW.js';
7
7
  import './chunk-DX27B42J.js';
8
8
  import './chunk-4EQQS3VJ.js';
9
- import './chunk-7N75UQ3J.js';
9
+ import './chunk-O4Q7GPKU.js';
10
10
  import './chunk-MMSFADKC.js';
11
- import './chunk-MLM4BYK2.js';
12
- import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-RGHHH3K5.js';
11
+ import './chunk-5TZCV6JB.js';
12
+ import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-TFR6S7ZB.js';
13
13
  import './chunk-X45WDWSV.js';
14
14
  import { findServiceUnit } from './chunk-LYWLBZ37.js';
15
- import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-ZGJF4OPI.js';
15
+ import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-HW7QPCOP.js';
16
16
  import './chunk-LIH6CIVB.js';
17
17
  import './chunk-2PGI6RDE.js';
18
18
  import './chunk-I3LTIAOR.js';
@@ -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 = 46;
7
+ var RUNNER_PROTOCOL = 47;
8
8
 
9
9
  export { RUNNER_PROTOCOL };
@@ -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-ZMWJM23Z.js');
132
+ const { testProofIn } = await import('./host-checks-HZLHQ6WH.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-ZMWJM23Z.js');
139
+ const { checksIn, isJudgeCheck } = await import('./host-checks-HZLHQ6WH.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) {
375
- const { runWorkProofsRecord } = await import('./work-proofs-record-GOS6TXUM.js');
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-KEZ6Z4QH.js');
376
376
  const result2 = await runWorkProofsRecord(opts);
377
377
  process.exitCode = result2.exitCode;
378
378
  return;
@@ -1080,7 +1080,7 @@ async function gatherDoctorChecks(options = {}) {
1080
1080
  const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
1081
1081
  checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
1082
1082
  } else if (hasRunnerBlock(configPath)) {
1083
- const { runnerHostChecks } = await import('./doctor-YB5GRCLW.js');
1083
+ const { runnerHostChecks } = await import('./doctor-KHAB6YWH.js');
1084
1084
  const gateway = (() => {
1085
1085
  try {
1086
1086
  const loaded = loadRunnerConfig(configPath);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { helperSocketPath } from './chunk-ZGJF4OPI.js';
3
+ import { helperSocketPath } from './chunk-HW7QPCOP.js';
4
4
  import { UNIT_MARKER } from './chunk-4K2EMRJP.js';
5
5
  import { runnerDir } from './chunk-LO3PSFNT.js';
6
6
  import { createHash } from 'crypto';
@@ -7846,6 +7846,28 @@ function unreviewedItem(changed, reviewed, commit) {
7846
7846
  return { id: UNREVIEWED_FILES_ITEM_ID, result: "skipped", commit, reason: `${reason}.` };
7847
7847
  }
7848
7848
 
7849
+ // src/runner/code-review-report.ts
7850
+ var REPORT_RETRY_WINDOW_MS = 2e4;
7851
+ var MAX_REASON_LENGTH = 2e3;
7852
+ async function reportCodeReview(config, job, report, deps) {
7853
+ if (job.codeReview !== true) return;
7854
+ const tag = itemTag(job);
7855
+ try {
7856
+ const calls = claimCalls(config, job);
7857
+ const item = claimItem(config, job);
7858
+ const body = report.result === "failed" ? { ...report, runnerReason: report.runnerReason.slice(0, MAX_REASON_LENGTH) } : report;
7859
+ const signer = await signerFor(calls.configPath);
7860
+ const sent = await retrySend(() => postJson(calls.url, `/v1/work-items/${item}/claim/code-review`, calls.apiKey, calls.appId, body, deps.fetchImpl, void 0, signer), {
7861
+ now: deps.now,
7862
+ sleep: deps.sleep,
7863
+ windowMs: REPORT_RETRY_WINDOW_MS
7864
+ });
7865
+ if (!sent.ok) deps.log.line(`${tag} the code review's report was not recorded: ${sent.reason}`);
7866
+ } catch (err) {
7867
+ deps.log.line(`${tag} the code review's report was not sent: ${describeCallFailure(err)}`);
7868
+ }
7869
+ }
7870
+
7849
7871
  // src/runner/judge.ts
7850
7872
  var LIMIT_KEY_TAIL = " (runner.checks.timeLimitMinutes)";
7851
7873
  var MAX_DIFF_BYTES = 4 * 1024 * 1024;
@@ -7997,9 +8019,11 @@ async function runJudge(input) {
7997
8019
  log.line(`${tag} judge started (${checks.map((check) => check.name).join(", ")})`);
7998
8020
  const startedMs = now().getTime();
7999
8021
  const record = makeRecorder({ config, job, jobDir, deps });
8000
- const fail = (check, reason) => {
8022
+ const reportReview = (check, what) => check.builtIn === true ? reportCodeReview(config, job, what, deps) : Promise.resolve();
8023
+ const fail = async (check, reason) => {
8001
8024
  log.error(`${tag} judge failed: ${reason}`);
8002
- return record(check.name, "fail", reason, check.judge.subjects === "none" ? { items: notRunItems(reason) } : {});
8025
+ await record(check.name, "fail", reason, check.judge.subjects === "none" ? { items: notRunItems(reason) } : {});
8026
+ await reportReview(check, { result: "failed", reason: "review_not_run", runnerReason: oneLineReason(cleanReason(reason)) ?? "the code review did not run" });
8003
8027
  };
8004
8028
  try {
8005
8029
  for (const check of checks) {
@@ -8015,17 +8039,19 @@ async function runJudge(input) {
8015
8039
  }
8016
8040
  async function noReview() {
8017
8041
  const started = job.container ?? job.microvm;
8018
- if (started === void 0) return "this build ran under a provision hook of the host's own";
8042
+ if (started === void 0) return { text: "this build ran under a provision hook of the host's own", report: { result: "skipped", reason: "own_provision_hook" } };
8019
8043
  const workItem = await readItem();
8020
8044
  const open = openPullRequests(workItem);
8021
- if (open.length > 1) return "the item has more than one open pull request";
8022
- if (open.length === 1 && open[0].toLowerCase() !== repo.toLowerCase()) return "the item's open pull request is in another repository";
8045
+ if (open.length > 1) return { text: "the item has more than one open pull request", report: { result: "skipped", reason: "several_pull_requests" } };
8046
+ if (open.length === 1 && open[0].toLowerCase() !== repo.toLowerCase()) {
8047
+ return { text: "the item's open pull request is in another repository", report: { result: "skipped", reason: "other_repository" } };
8048
+ }
8023
8049
  if (job.branch === void 0) return void 0;
8024
8050
  const read = await (deps.readBranch ?? readBranchHead)({ remote: remoteOf(), dir: scratch, branch: job.branch, token: readToken });
8025
8051
  if (read.kind === "unreadable") return void 0;
8026
- if (read.kind === "absent" || read.sha === started.startCommit) return "the branch holds nothing to review";
8052
+ if (read.kind === "absent" || read.sha === started.startCommit) return { text: "the branch holds nothing to review", report: { result: "skipped", reason: "nothing_new" } };
8027
8053
  try {
8028
- return await hostReviewed(itemCalls(config, job), workItem, read.sha, deps.fetchImpl) ? "a host result already covers the branch head" : void 0;
8054
+ return await hostReviewed(itemCalls(config, job), workItem, read.sha, deps.fetchImpl) ? { text: "a host result already covers the branch head", report: { result: "skipped", reason: "already_reviewed", commit: read.sha } } : void 0;
8029
8055
  } catch (err) {
8030
8056
  log.line(`${tag} the item's results could not be read, so the head is reviewed: ${describeCallFailure(err)}`);
8031
8057
  return void 0;
@@ -8040,7 +8066,8 @@ async function runJudge(input) {
8040
8066
  return await fail(check, `the item could not be read: ${describeCallFailure(err)}`);
8041
8067
  }
8042
8068
  if (skipped !== void 0) {
8043
- log.line(`${tag} no code review: ${skipped}`);
8069
+ log.line(`${tag} no code review: ${skipped.text}`);
8070
+ await reportReview(check, skipped.report);
8044
8071
  return;
8045
8072
  }
8046
8073
  }
@@ -8338,6 +8365,12 @@ async function runJudge(input) {
8338
8365
  const complete = at.result === "fail" ? named.some((item) => item.result === "fail") : named.some((item) => item.commit !== void 0);
8339
8366
  const items = check.builtIn === true && !notRun && !complete ? [...named, { id: REVIEWED_COMMIT_ITEM_ID, result: at.result, commit: at.head, ...at.reason === void 0 ? {} : { reason: at.reason } }] : at.items;
8340
8367
  await record(check.name, at.result, at.reason, { keyTail: at.limitKey === true ? LIMIT_KEY_TAIL : "", link, items: sendable(items) });
8368
+ if (notRun) {
8369
+ await reportReview(check, { result: "failed", reason: "review_not_run", runnerReason: oneLineReason(cleanReason(at.reason ?? "")) ?? "the judge did not run" });
8370
+ } else {
8371
+ const failing = named.filter((item) => item.result === "fail").length;
8372
+ await reportReview(check, { result: "reviewed", reason: "reviewed", commit: at.head, problems: at.result === "fail" ? Math.max(failing, 1) : failing });
8373
+ }
8341
8374
  }
8342
8375
  function sendable(items) {
8343
8376
  if (items === void 0) return void 0;
@@ -9099,10 +9132,14 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
9099
9132
  log.error(`${tag} the host's proof recording stopped: ${describeCallFailure(err)} \xB7 continuing`);
9100
9133
  }
9101
9134
  }
9102
- if (valuesNotHeld && outcome === "ok" && !job.cleanupRan) log.error(`${tag} the host's judge and checks skipped: ${VALUES_NOT_HELD}`);
9135
+ if (valuesNotHeld && outcome === "ok" && !job.cleanupRan) {
9136
+ log.error(`${tag} the host's judge and checks skipped: ${VALUES_NOT_HELD}`);
9137
+ await reportCodeReview(config, job, { result: "skipped", reason: "variables_lost" }, { fetchImpl: deps.fetchImpl, log, now: deps.now, sleep: deps.sleep });
9138
+ }
9103
9139
  if (outcome === "ok" && !job.cleanupRan && job.sandbox !== void 0 && job.judgeRan !== true) {
9104
9140
  job.judgeNotRun = "the host's judge and checks do not run for a build in a sandbox";
9105
9141
  log.line(`${tag} the host's judge and checks are not run for a build in a sandbox`);
9142
+ await reportCodeReview(config, job, { result: "skipped", reason: "sandbox" }, { fetchImpl: deps.fetchImpl, log, now: deps.now, sleep: deps.sleep });
9106
9143
  }
9107
9144
  if (outcome === "ok" && !job.cleanupRan && job.judgeRan !== true && !valuesNotHeld && job.sandbox === void 0) {
9108
9145
  setStage(job, jobDirPath, "judge");
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { scrubReason, stripTerminalControls } from './chunk-ZGJF4OPI.js';
3
+ import { scrubReason, stripTerminalControls } from './chunk-HW7QPCOP.js';
4
4
  import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-4K2EMRJP.js';
5
5
  import { RunnerAlreadyRunningError, readPidFile } from './chunk-DEWD22FA.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 { stripTerminalControls } from './chunk-ZGJF4OPI.js';
3
+ import { stripTerminalControls } from './chunk-HW7QPCOP.js';
4
4
  import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-6EN72I2O.js';
5
5
  import { readFileSync } from 'fs';
6
6
 
@@ -1,16 +1,16 @@
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-G7TP233H.js';
4
+ import { reportFailedStart, fitImageBuildMemory } from './chunk-NR3FDUWS.js';
5
5
  import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
6
6
  import { writeFleetState } from './chunk-DX27B42J.js';
7
7
  import { writePendingUpdate } from './chunk-4EQQS3VJ.js';
8
- import { renderUpdateSteps } from './chunk-7N75UQ3J.js';
8
+ import { renderUpdateSteps } from './chunk-O4Q7GPKU.js';
9
9
  import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-MMSFADKC.js';
10
- import { RUNNER_PROTOCOL } from './chunk-MLM4BYK2.js';
11
- import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-RGHHH3K5.js';
10
+ import { RUNNER_PROTOCOL } from './chunk-5TZCV6JB.js';
11
+ import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-TFR6S7ZB.js';
12
12
  import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-X45WDWSV.js';
13
- import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, 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, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-ZGJF4OPI.js';
13
+ import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, 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, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-HW7QPCOP.js';
14
14
  import { RUNNER_RESERVE_BYTES } from './chunk-4K2EMRJP.js';
15
15
  import { RepoFilter } from './chunk-4LUHKCDO.js';
16
16
  import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
@@ -3772,7 +3772,7 @@ async function startRunner(configPath, deps, startup) {
3772
3772
  check: update.check ? () => update.check(configPath) : async () => {
3773
3773
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
3774
3774
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
3775
- return (await import('./check-BLT4S3D2.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
3775
+ return (await import('./check-YUKNUSAS.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
3776
3776
  },
3777
3777
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
3778
3778
  log
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-ZGJF4OPI.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-HW7QPCOP.js';
4
4
  import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-4K2EMRJP.js';
5
5
  import { getJson, WorkCommandError } from './chunk-7TM2E4RI.js';
6
6
  import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-KX4JKW4Z.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-UVL27UZW.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-G7HNRAXN.js';
4
4
  import './chunk-LIMJRKIU.js';
5
5
  import { verifiedTrackerNames, TRACKERS } from './chunk-7TM2E4RI.js';
6
6
  import './chunk-KIYP5TML.js';
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3944
3944
  if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
3945
3945
  `);
3946
3946
  }
3947
- const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-KV24ZVEK.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3947
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-F72BWVFC.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3948
3948
  if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
3949
3949
  else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
3950
3950
  return;
3951
3951
  }
3952
3952
  await installMachineSkillsForSetup();
3953
- const { runInitCommand } = await import('./init-cmd-KV24ZVEK.js');
3953
+ const { runInitCommand } = await import('./init-cmd-F72BWVFC.js');
3954
3954
  const code = await runInitCommand(
3955
3955
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3956
3956
  {
@@ -5057,7 +5057,7 @@ stops at once if a tracked file differs from HEAD.
5057
5057
  fail(trackerNumberError("--pr", opts.pr));
5058
5058
  return;
5059
5059
  }
5060
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-VRHB5NLE.js');
5060
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-2XWS5N2R.js');
5061
5061
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5062
5062
  });
5063
5063
  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) => {
@@ -5082,7 +5082,7 @@ by a different key is refused; claiming again with the same key extends
5082
5082
  it. --host is a label only.
5083
5083
  `
5084
5084
  ).action(async (opts) => {
5085
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-ANXDKSAU.js');
5085
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-FNE2ZMVG.js');
5086
5086
  try {
5087
5087
  await runWorkClaim(opts);
5088
5088
  } catch (err) {
@@ -5102,7 +5102,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5102
5102
  lease has expired, or a 403 if a different key holds it.
5103
5103
  `
5104
5104
  ).action(async (opts) => {
5105
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-ANXDKSAU.js');
5105
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-FNE2ZMVG.js');
5106
5106
  try {
5107
5107
  await runWorkRenew(opts);
5108
5108
  } catch (err) {
@@ -5134,7 +5134,7 @@ applies to a host's lease only. A later tool call in the session
5134
5134
  takes the lease again.
5135
5135
  `
5136
5136
  ).action(async (opts) => {
5137
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-ANXDKSAU.js');
5137
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-FNE2ZMVG.js');
5138
5138
  try {
5139
5139
  await runWorkRelease(opts);
5140
5140
  } catch (err) {
@@ -5280,7 +5280,7 @@ function registerRunnerCommands(program2) {
5280
5280
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5281
5281
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5282
5282
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
5283
- const { start, RunnerStartError } = await import('./loop-3BEQNXZN.js');
5283
+ const { start, RunnerStartError } = await import('./loop-O5JBFZXP.js');
5284
5284
  const { RunnerAlreadyRunningError } = await import('./pidfile-TTIUEDXW.js');
5285
5285
  const configPath = opts.config ?? defaultRunnerConfigPath();
5286
5286
  try {
@@ -5304,8 +5304,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5304
5304
  `
5305
5305
  ).action(async () => {
5306
5306
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
5307
- const { containerStart, containerStartExit } = await import('./container-start-4M2RTEIX.js');
5308
- const { start, RunnerStartError } = await import('./loop-3BEQNXZN.js');
5307
+ const { containerStart, containerStartExit } = await import('./container-start-T4GH4WLX.js');
5308
+ const { start, RunnerStartError } = await import('./loop-O5JBFZXP.js');
5309
5309
  const { RunnerAlreadyRunningError } = await import('./pidfile-TTIUEDXW.js');
5310
5310
  try {
5311
5311
  const outcome = containerStartExit(await containerStart({
@@ -5329,14 +5329,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5329
5329
  ).action(async (opts) => {
5330
5330
  const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5331
5331
  const { runnerDir } = await import('./paths-CSZZQK3X.js');
5332
- const { runUpdateSteps } = await import('./update-steps-7RBEK5YJ.js');
5332
+ const { runUpdateSteps } = await import('./update-steps-3LU3NZQL.js');
5333
5333
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5334
5334
  process.stdout.write(`${text}
5335
5335
  `);
5336
5336
  });
5337
5337
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5338
5338
  const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5339
- const { runRunnerCheck } = await import('./check-BLT4S3D2.js');
5339
+ const { runRunnerCheck } = await import('./check-YUKNUSAS.js');
5340
5340
  const configPath = opts.config ?? defaultRunnerConfigPath();
5341
5341
  const result = await runRunnerCheck(configPath);
5342
5342
  if (!result.ok) {
@@ -5370,13 +5370,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5370
5370
  }
5371
5371
  }
5372
5372
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5373
- if (buildCpusMax !== void 0 && !(await import('./command-5HL4C2VH.js')).cpusAreValid(buildCpusMax)) {
5373
+ if (buildCpusMax !== void 0 && !(await import('./command-3WAJBJWX.js')).cpusAreValid(buildCpusMax)) {
5374
5374
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5375
5375
  return;
5376
5376
  }
5377
5377
  try {
5378
5378
  if (opts.service === true) {
5379
- const { installServiceCommand, serviceSuccessText } = await import('./command-5HL4C2VH.js');
5379
+ const { installServiceCommand, serviceSuccessText } = await import('./command-3WAJBJWX.js');
5380
5380
  const result2 = await installServiceCommand({
5381
5381
  configPath,
5382
5382
  print: opts.print,
@@ -5431,7 +5431,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5431
5431
  return;
5432
5432
  }
5433
5433
  const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5434
- const { uninstallServiceCommand } = await import('./command-5HL4C2VH.js');
5434
+ const { uninstallServiceCommand } = await import('./command-3WAJBJWX.js');
5435
5435
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5436
5436
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5437
5437
  `);
@@ -5462,10 +5462,10 @@ already in ${words().envFile} is used.
5462
5462
  `
5463
5463
  ).action(async (opts) => {
5464
5464
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
5465
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-MPQKWZES.js');
5466
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-OXEPM7UD.js');
5467
- const { detectMachine } = await import('./machine-QZ2YQWCN.js');
5468
- const { chooseVm, runVmInit, VmInitError } = await import('./init-OSSS3TDT.js');
5465
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-XTTWPX6J.js');
5466
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-TFFPQCGE.js');
5467
+ const { detectMachine } = await import('./machine-LGJSYGQS.js');
5468
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-7F2KP6XU.js');
5469
5469
  const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-RGYTHURZ.js');
5470
5470
  const { headlessNames: headlessNames2 } = await import('./runner-agents-32J743FJ.js');
5471
5471
  const configPath = opts.config ?? defaultRunnerConfigPath();
@@ -5479,7 +5479,7 @@ already in ${words().envFile} is used.
5479
5479
  return;
5480
5480
  }
5481
5481
  try {
5482
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-A257RKPJ.js');
5482
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-RJSMNEWD.js');
5483
5483
  agent = await initAgent({
5484
5484
  flag: agent,
5485
5485
  handOff: opts.configStdin === true,
@@ -5619,7 +5619,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5619
5619
  let serviceUp = false;
5620
5620
  let restart;
5621
5621
  if (installedLayout) {
5622
- const { installServiceCommand } = await import('./command-5HL4C2VH.js');
5622
+ const { installServiceCommand } = await import('./command-3WAJBJWX.js');
5623
5623
  const service = await installServiceCommand({
5624
5624
  configPath,
5625
5625
  entryPath: process.argv[1] ?? "",
@@ -5757,7 +5757,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5757
5757
  });
5758
5758
  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) => {
5759
5759
  const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5760
- const { requestStop } = await import('./loop-3BEQNXZN.js');
5760
+ const { requestStop } = await import('./loop-O5JBFZXP.js');
5761
5761
  const configPath = opts.config ?? defaultRunnerConfigPath();
5762
5762
  const { runnerImageVersion } = await import('./image-tag-EX2R462S.js');
5763
5763
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
@@ -5765,8 +5765,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5765
5765
  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) => {
5766
5766
  const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-O2LJAZJZ.js');
5767
5767
  const { jobsDir, runnerDir } = await import('./paths-CSZZQK3X.js');
5768
- const { listJobFiles, runnerProcessState } = await import('./loop-3BEQNXZN.js');
5769
- const { renderStatus } = await import('./status-CA5BTEQ6.js');
5768
+ const { listJobFiles, runnerProcessState } = await import('./loop-O5JBFZXP.js');
5769
+ const { renderStatus } = await import('./status-KGZWBU26.js');
5770
5770
  const { readHousekeepingRecord } = await import('./record-U7DU6IVT.js');
5771
5771
  const path2 = await import('path');
5772
5772
  const configPath = opts.config ?? defaultRunnerConfigPath();
@@ -5832,7 +5832,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5832
5832
  });
5833
5833
  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) => {
5834
5834
  const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5835
- const { listJobFiles } = await import('./loop-3BEQNXZN.js');
5835
+ const { listJobFiles } = await import('./loop-O5JBFZXP.js');
5836
5836
  const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-BWGJ2BVT.js');
5837
5837
  const configPath = opts.config ?? defaultRunnerConfigPath();
5838
5838
  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-IG5ZZG7R.js';
4
- import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-GC7CAT2N.js';
4
+ import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-HUP2CGX4.js';
5
5
  import './chunk-RMXRQ3OC.js';
6
6
  import { currentLink, execStartCommand } from './chunk-X45WDWSV.js';
7
- import { detectMachine, ensureFirecrackerAndJailer } from './chunk-ZGJF4OPI.js';
7
+ import { detectMachine, ensureFirecrackerAndJailer } from './chunk-HW7QPCOP.js';
8
8
  import './chunk-LIH6CIVB.js';
9
9
  import './chunk-2PGI6RDE.js';
10
10
  import './chunk-I3LTIAOR.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-G7TP233H.js';
4
- import { readOwnContainer } from './chunk-7N75UQ3J.js';
5
- import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-ZGJF4OPI.js';
3
+ import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-NR3FDUWS.js';
4
+ import { readOwnContainer } from './chunk-O4Q7GPKU.js';
5
+ import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-HW7QPCOP.js';
6
6
  import './chunk-LIH6CIVB.js';
7
7
  import './chunk-2PGI6RDE.js';
8
8
  import './chunk-I3LTIAOR.js';
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { helperBinaryFor } from './chunk-GC7CAT2N.js';
3
+ import { helperBinaryFor } from './chunk-HUP2CGX4.js';
4
4
  import { launcherCheck } from './chunk-RMXRQ3OC.js';
5
- import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-RGHHH3K5.js';
5
+ import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-TFR6S7ZB.js';
6
6
  import './chunk-X45WDWSV.js';
7
- import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-ZGJF4OPI.js';
7
+ import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-HW7QPCOP.js';
8
8
  import './chunk-LIH6CIVB.js';
9
9
  import './chunk-2PGI6RDE.js';
10
10
  import './chunk-I3LTIAOR.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, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-ZGJF4OPI.js';
3
+ export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-HW7QPCOP.js';
4
4
  import './chunk-LIH6CIVB.js';
5
5
  import './chunk-2PGI6RDE.js';
6
6
  import './chunk-I3LTIAOR.js';
package/dist/index.js CHANGED
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-DCOPM2NX.js');
25
25
  var launcherCode = await runSubcommand(argv);
26
26
  if (launcherCode !== void 0) process.exit(launcherCode);
27
27
  (await import('./hook-fast-2ENS5AKU.js')).recordLinkExitFailure(argv);
28
- var { runCli } = await import('./cli-YZUSUBAY.js');
28
+ var { runCli } = await import('./cli-7VKJRQWW.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-ZGJF4OPI.js';
4
+ import { RunnerInitError, readConfigObject } from './chunk-HW7QPCOP.js';
5
5
  import './chunk-LIH6CIVB.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.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-ZGJF4OPI.js';
3
+ export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-HW7QPCOP.js';
4
4
  import './chunk-LIH6CIVB.js';
5
5
  import './chunk-2PGI6RDE.js';
6
6
  import './chunk-I3LTIAOR.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RunnerInitError } from './chunk-ZGJF4OPI.js';
3
+ import { RunnerInitError } from './chunk-HW7QPCOP.js';
4
4
  import './chunk-LIH6CIVB.js';
5
5
  import './chunk-2PGI6RDE.js';
6
6
  import './chunk-I3LTIAOR.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-UVL27UZW.js';
3
+ import { summarizeChecks, summaryText, renderDoctorText } from './chunk-G7HNRAXN.js';
4
4
  import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
5
5
  import './chunk-LIMJRKIU.js';
6
6
  import './chunk-7TM2E4RI.js';
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { LAPSED_REASON, RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-DYHDUG2S.js';
3
+ export { LAPSED_REASON, RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-RVDXHF2M.js';
4
4
  import './chunk-3JVYMD4G.js';
5
- import './chunk-G7TP233H.js';
5
+ import './chunk-NR3FDUWS.js';
6
6
  import './chunk-E7R2GIAW.js';
7
7
  import './chunk-DX27B42J.js';
8
8
  import './chunk-4EQQS3VJ.js';
9
- import './chunk-7N75UQ3J.js';
9
+ import './chunk-O4Q7GPKU.js';
10
10
  import './chunk-MMSFADKC.js';
11
- import './chunk-MLM4BYK2.js';
12
- import './chunk-RGHHH3K5.js';
11
+ import './chunk-5TZCV6JB.js';
12
+ import './chunk-TFR6S7ZB.js';
13
13
  import './chunk-X45WDWSV.js';
14
- import './chunk-ZGJF4OPI.js';
14
+ import './chunk-HW7QPCOP.js';
15
15
  import './chunk-LIH6CIVB.js';
16
16
  import './chunk-2PGI6RDE.js';
17
17
  import './chunk-I3LTIAOR.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-ZGJF4OPI.js';
3
+ export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-HW7QPCOP.js';
4
4
  import './chunk-LIH6CIVB.js';
5
5
  import './chunk-2PGI6RDE.js';
6
6
  import './chunk-I3LTIAOR.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { readConfigObject, RunnerInitError } from './chunk-ZGJF4OPI.js';
3
+ import { readConfigObject, RunnerInitError } from './chunk-HW7QPCOP.js';
4
4
  import './chunk-LIH6CIVB.js';
5
5
  import './chunk-2PGI6RDE.js';
6
6
  import './chunk-I3LTIAOR.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-ZGJF4OPI.js';
3
+ import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-HW7QPCOP.js';
4
4
  import './chunk-LIH6CIVB.js';
5
5
  import './chunk-2PGI6RDE.js';
6
6
  import './chunk-I3LTIAOR.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-7N75UQ3J.js';
4
- import './chunk-ZGJF4OPI.js';
3
+ export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-O4Q7GPKU.js';
4
+ import './chunk-HW7QPCOP.js';
5
5
  import './chunk-LIH6CIVB.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-I3LTIAOR.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_PROTOCOL } from './chunk-MLM4BYK2.js';
3
+ import { RUNNER_PROTOCOL } from './chunk-5TZCV6JB.js';
4
4
  import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-7TM2E4RI.js';
5
5
  export { WorkCommandError } from './chunk-7TM2E4RI.js';
6
6
  import './chunk-KIYP5TML.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-LCWUVQUI.js';
3
+ export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-6JW2L7UV.js';
4
4
  import './chunk-LIH6CIVB.js';
5
5
  import './chunk-7TM2E4RI.js';
6
6
  import './chunk-KIYP5TML.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, proofsCommentBody } from './chunk-LCWUVQUI.js';
3
+ import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, proofsCommentBody } from './chunk-6JW2L7UV.js';
4
4
  import { runEmitDemo } from './chunk-OYBBYENC.js';
5
5
  import { readNewestDemo } from './chunk-ER6KQCVJ.js';
6
6
  import { runWorkComment } from './chunk-UNA4YIHE.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outerlayer/cli",
3
- "version": "0.38.0-next.20261109135914",
3
+ "version": "0.38.0-next.20261109143949",
4
4
  "description": "OuterLayer CLI — commands: init, claude, opencode, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, 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.",