@outerlayer/cli 0.40.0-next.20261114214913 → 0.40.0-next.20261115004954

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 (28) hide show
  1. package/dist/build-info.json +1 -1
  2. package/dist/{check-2MAB2XOX.js → check-T27N6LQM.js} +5 -5
  3. package/dist/{chunk-IOKR7Z7Z.js → chunk-3FWY4H6N.js} +1 -1
  4. package/dist/{chunk-OHJOC2H2.js → chunk-AEKBDXWH.js} +1 -1
  5. package/dist/{chunk-TIDPEU6D.js → chunk-FZXC3WER.js} +30 -9
  6. package/dist/{chunk-3SOB6LWY.js → chunk-NSO6IY24.js} +5 -2
  7. package/dist/{chunk-5ZVZ7MVD.js → chunk-PIBJDYIC.js} +3 -3
  8. package/dist/{chunk-ODWWDOK5.js → chunk-R7VMDX33.js} +1 -1
  9. package/dist/{chunk-SWSPRGJL.js → chunk-WFBHEF4N.js} +9 -4
  10. package/dist/{chunk-3MCO6PFW.js → chunk-Y6FNWOKT.js} +2 -2
  11. package/dist/{cli-AUEXVGLP.js → cli-UBD53T43.js} +23 -23
  12. package/dist/{command-G3B5IT5T.js → command-FL2WIRXN.js} +2 -2
  13. package/dist/{container-start-JHQMAKWD.js → container-start-CFNWJMHZ.js} +3 -3
  14. package/dist/{doctor-4JZJQOGE.js → doctor-HDHZV4DG.js} +5 -5
  15. package/dist/{host-checks-TTY663DX.js → host-checks-6BJKUV4I.js} +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/{init-3D6C7GI2.js → init-KKOUW5M7.js} +1 -1
  18. package/dist/{init-GPS5KJQV.js → init-KRJU32VG.js} +1 -1
  19. package/dist/{init-agent-RXCIPMQ6.js → init-agent-KTD5YU6D.js} +1 -1
  20. package/dist/{init-cmd-5NUDQ6DV.js → init-cmd-UDWRDVBE.js} +1 -1
  21. package/dist/{loop-5VIKTHCW.js → loop-ZYC5NTQG.js} +5 -5
  22. package/dist/{machine-MP4YXEVG.js → machine-M5UU7HWR.js} +1 -1
  23. package/dist/{runner-key-O7SMLAEA.js → runner-key-JAMOE6OP.js} +1 -1
  24. package/dist/{status-4EU2RICM.js → status-QKRBAWZX.js} +1 -1
  25. package/dist/{update-steps-3YS3E7BW.js → update-steps-LCKPYIWI.js} +2 -2
  26. package/dist/{work-proofs-cmd-GU2BPOGW.js → work-proofs-cmd-P5NOMUJQ.js} +1 -1
  27. package/dist/{work-proofs-record-M2T5FGC4.js → work-proofs-record-MPBQ3FHV.js} +1 -1
  28. package/package.json +1 -1
@@ -1 +1 @@
1
- {"id":"2026-11-14T21:56:19.552Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
1
+ {"id":"2026-11-15T00:57:38.478Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { probeCredentials } from './chunk-TIDPEU6D.js';
3
+ import { probeCredentials } from './chunk-FZXC3WER.js';
4
4
  import './chunk-E7R2GIAW.js';
5
- import './chunk-IOKR7Z7Z.js';
5
+ import './chunk-3FWY4H6N.js';
6
6
  import './chunk-TXKHD4Q6.js';
7
7
  import './chunk-YY64D4FA.js';
8
8
  import './chunk-RSW5AXPT.js';
9
- import './chunk-OHJOC2H2.js';
9
+ import './chunk-AEKBDXWH.js';
10
10
  import './chunk-T3X3FZIR.js';
11
- import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-SWSPRGJL.js';
11
+ import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-WFBHEF4N.js';
12
12
  import './chunk-WR2TR6BC.js';
13
13
  import { findServiceUnit } from './chunk-4ATFANLO.js';
14
- import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-3SOB6LWY.js';
14
+ import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-NSO6IY24.js';
15
15
  import './chunk-BY4SXNUL.js';
16
16
  import './chunk-2UBMDLUF.js';
17
17
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { scrubReason, stripTerminalControls } from './chunk-3SOB6LWY.js';
3
+ import { scrubReason, stripTerminalControls } from './chunk-NSO6IY24.js';
4
4
  import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-PNZMJFVP.js';
5
5
  import { RunnerAlreadyRunningError, readPidFile } from './chunk-DMAAKDGD.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-3SOB6LWY.js';
3
+ import { stripTerminalControls } from './chunk-NSO6IY24.js';
4
4
  import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-N6DWNOEF.js';
5
5
  import { readFileSync } from 'fs';
6
6
 
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
4
- import { reportFailedStart, fitImageBuildMemory } from './chunk-IOKR7Z7Z.js';
4
+ import { reportFailedStart, fitImageBuildMemory } from './chunk-3FWY4H6N.js';
5
5
  import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
6
6
  import { writeFleetState } from './chunk-YY64D4FA.js';
7
7
  import { writePendingUpdate } from './chunk-RSW5AXPT.js';
8
- import { renderUpdateSteps } from './chunk-OHJOC2H2.js';
8
+ import { renderUpdateSteps } from './chunk-AEKBDXWH.js';
9
9
  import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-T3X3FZIR.js';
10
- import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-SWSPRGJL.js';
10
+ import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-WFBHEF4N.js';
11
11
  import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-WR2TR6BC.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-3SOB6LWY.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-NSO6IY24.js';
13
13
  import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-BY4SXNUL.js';
14
14
  import { RUNNER_PROTOCOL } from './chunk-2UBMDLUF.js';
15
15
  import { RUNNER_RESERVE_BYTES } from './chunk-PNZMJFVP.js';
@@ -68,6 +68,18 @@ function fleetRoom(facts, jobs, held, draining) {
68
68
  }
69
69
  };
70
70
  }
71
+ function sandboxFleetRoom(concurrency, jobs, held, draining) {
72
+ if (draining || held) return { total: { ...NONE }, free: { ...NONE } };
73
+ const large = BUILD_SIZES.large;
74
+ const total = { memoryGiB: concurrency * large.memoryGiB, vcpus: concurrency * large.vcpus, diskGB: concurrency * large.diskGB };
75
+ if (jobs.length >= concurrency) return { total, free: { ...NONE } };
76
+ const sizes = jobs.map((job) => BUILD_SIZES[job.size ?? "large"]);
77
+ const sum = (key) => sizes.reduce((all, size) => all + size[key], 0);
78
+ return {
79
+ total,
80
+ free: { memoryGiB: total.memoryGiB - sum("memoryGiB"), vcpus: total.vcpus - sum("vcpus"), diskGB: total.diskGB - sum("diskGB") }
81
+ };
82
+ }
71
83
  var MAX_IMAGES = 500;
72
84
  function names(path) {
73
85
  try {
@@ -128,6 +140,14 @@ function record(ports, memory) {
128
140
  } catch {
129
141
  }
130
142
  }
143
+ function roomOf(ports, held) {
144
+ const config = ports.config();
145
+ if (isBuiltinSandbox(config.hooks.provision)) return sandboxFleetRoom(config.concurrency, ports.jobs(), held, ports.draining());
146
+ return fleetRoom(ports.facts(), ports.jobs(), held, ports.draining());
147
+ }
148
+ function imagesOf(ports) {
149
+ return isBuiltinSandbox(ports.config().hooks.provision) ? [] : ports.images();
150
+ }
131
151
  async function checkFleet(ports, memory) {
132
152
  const config = ports.config();
133
153
  const at = ports.now().toISOString();
@@ -244,10 +264,10 @@ async function runFleetTick(ports, memory) {
244
264
  if (!await checkFleet(ports, memory)) return;
245
265
  const held = await ports.held();
246
266
  memory.held = held;
247
- const images = ports.images();
267
+ const images = imagesOf(ports);
248
268
  const disks = ports.disks();
249
269
  for (let called = 0; called < MAX_CLAIMS_PER_POLL; called++) {
250
- const room = fleetRoom(ports.facts(), ports.jobs(), held, ports.draining());
270
+ const room = roomOf(ports, held);
251
271
  const answer = await callFleetRoute(ports, memory, room, images, disks);
252
272
  if (answer === void 0) return;
253
273
  memory.last = {
@@ -284,8 +304,8 @@ async function runFleetKeepalive(ports, memory, minGapMs) {
284
304
  if (memory.calling) return;
285
305
  if (memory.lastAnsweredMs !== void 0 && ports.now().getTime() - memory.lastAnsweredMs < minGapMs) return;
286
306
  if (memory.keyDoubted || fleetConfigProblem(ports.config()) !== void 0) return;
287
- const room = fleetRoom(ports.facts(), ports.jobs(), memory.held, ports.draining());
288
- const answer = await callFleetRoute(ports, memory, { total: room.total, free: NO_ROOM }, ports.images(), ports.disks());
307
+ const room = roomOf(ports, memory.held);
308
+ const answer = await callFleetRoute(ports, memory, { total: room.total, free: NO_ROOM }, imagesOf(ports), ports.disks());
289
309
  if (answer === void 0) return;
290
310
  memory.last = {
291
311
  calledAt: ports.now().toISOString(),
@@ -4525,6 +4545,7 @@ async function adoptTrackedSandboxes(state, jobsDirPath) {
4525
4545
  found = await rejoinSandboxBuild({
4526
4546
  runtime,
4527
4547
  config: configForJob(state.config, job),
4548
+ organizationId: job.organizationId,
4528
4549
  own,
4529
4550
  jobDir: dirPath,
4530
4551
  itemKey: job.itemKey,
@@ -4782,7 +4803,7 @@ async function startRunner(configPath, deps, startup) {
4782
4803
  check: update.check ? () => update.check(configPath) : async () => {
4783
4804
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
4784
4805
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
4785
- return (await import('./check-2MAB2XOX.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4806
+ return (await import('./check-T27N6LQM.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4786
4807
  },
4787
4808
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
4788
4809
  log
@@ -4789,6 +4789,8 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
4789
4789
  if (governingSource.kind === "governed") {
4790
4790
  const unfetched = await prefetchGovernedContext({
4791
4791
  configPath: config.configPath,
4792
+ // A fleet runner keeps each organization's control-plane cache in that organization's folder.
4793
+ ...input.organizationId === void 0 ? {} : { organizationId: input.organizationId },
4792
4794
  repository,
4793
4795
  source: governingSource,
4794
4796
  controlPlaneUrl,
@@ -4894,7 +4896,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
4894
4896
  environment.credentials = tokens.used();
4895
4897
  let services;
4896
4898
  try {
4897
- const gitRemote = gitRemoteFor(runtime, { repositories, tokens, buildDir: buildDir2, log: (line2) => log.line(`${tag} ${line2}`), ...readOnlyOption(input.queue) });
4899
+ const gitRemote = gitRemoteFor(runtime, { repositories, tokens, buildDir: buildDir2, organizationId: input.organizationId, log: (line2) => log.line(`${tag} ${line2}`), ...readOnlyOption(input.queue) });
4898
4900
  services = await startServicesFor(runtime, config, buildDir2, jobDir, itemKey, true, gitRemote, "stream", input.leaseExpiryMs === void 0 ? void 0 : leaseFor(runtime, buildId, input.leaseExpiryMs), void 0, (line2) => log.line(`${tag} ${line2}`));
4899
4901
  runtime.tunnels.set(buildId, services);
4900
4902
  } catch (err) {
@@ -5087,6 +5089,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
5087
5089
  aborted: input.aborted,
5088
5090
  stageContext: () => stageGovernedContext({
5089
5091
  config,
5092
+ ...input.organizationId === void 0 ? {} : { organizationId: input.organizationId },
5090
5093
  repository,
5091
5094
  source: pinnedSourceOf(governingSource),
5092
5095
  buildId,
@@ -5134,7 +5137,7 @@ async function rejoinSandboxBuild(input) {
5134
5137
  const joinSecret = Buffer.from(read.stdout, "base64");
5135
5138
  if (read.exitCode !== 0 || joinSecret.length === 0) throw new Error(`the build's join secret could not be read from its sandbox (exit ${read.exitCode ?? "none"})${said(read.stderr)}`);
5136
5139
  const repositories = repositoriesOf({ repositories: input.repositories, repository: state.repository, branch: input.branch });
5137
- const gitRemote = gitRemoteFor(runtime, { repositories, tokens: input.tokens, buildDir: state.buildDir, log, ...readOnlyOption(input.queue) });
5140
+ const gitRemote = gitRemoteFor(runtime, { repositories, tokens: input.tokens, buildDir: state.buildDir, organizationId: input.organizationId, log, ...readOnlyOption(input.queue) });
5138
5141
  const lease = leaseFor(runtime, state.buildId, input.leaseExpiryMs);
5139
5142
  const services = await startServicesFor(runtime, input.config, state.buildDir, input.jobDir, input.itemKey, true, gitRemote, "stream", lease, void 0, log);
5140
5143
  runtime.tunnels.set(state.buildId, services);
@@ -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-TTY663DX.js');
132
+ const { testProofIn } = await import('./host-checks-6BJKUV4I.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-TTY663DX.js');
139
+ const { checksIn, isJudgeCheck } = await import('./host-checks-6BJKUV4I.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-M2T5FGC4.js');
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-MPBQ3FHV.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-3SOB6LWY.js';
3
+ import { helperSocketPath } from './chunk-NSO6IY24.js';
4
4
  import { UNIT_MARKER } from './chunk-PNZMJFVP.js';
5
5
  import { runnerDir } from './chunk-2OSEUHWY.js';
6
6
  import { createHash } from 'crypto';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-3SOB6LWY.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-NSO6IY24.js';
4
4
  import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-PNZMJFVP.js';
5
5
  import { getJson, WorkCommandError } from './chunk-TG3O6CAF.js';
6
- import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-MP6INWPC.js';
6
+ import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-MP6INWPC.js';
7
7
  import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-ST5S3P2C.js';
8
8
  import { ensureHostKey } from './chunk-D5YKPIHV.js';
9
9
  import { sandboxSettingsFrom } from './chunk-IB4SVQNB.js';
@@ -26,8 +26,13 @@ function fleetConfigProblem(config) {
26
26
  if (config.appId !== void 0) {
27
27
  return `fleet: the config names an appId (${config.appId}), and a fleet machine belongs to no factory. Remove appId from the config`;
28
28
  }
29
- if (!isBuiltinVm(config.hooks.provision) || !isBuiltinVm(config.hooks.cleanup)) {
30
- return "fleet: runner.hooks.provision and runner.hooks.cleanup must be builtin:vm, because a fleet runner runs microVM builds only";
29
+ const vm = isBuiltinVm(config.hooks.provision) && isBuiltinVm(config.hooks.cleanup);
30
+ const sandbox = isBuiltinSandbox(config.hooks.provision) && isBuiltinSandbox(config.hooks.cleanup);
31
+ if (!vm && !sandbox) {
32
+ return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:vm or both be builtin:sandbox, because each build of a fleet runner runs in a machine of its own";
33
+ }
34
+ if (sandbox && config.sandbox?.provider === "outerlayer") {
35
+ return `fleet: runner.sandbox.provider is "outerlayer", and a fleet runner needs a sandbox provider account of its own. Remove runner.sandbox.provider, name the snapshot in runner.sandbox.snapshot, and give the runner the provider's credentials`;
31
36
  }
32
37
  return void 0;
33
38
  }
@@ -1081,12 +1081,12 @@ 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-4JZJQOGE.js');
1084
+ const { runnerHostChecks } = await import('./doctor-HDHZV4DG.js');
1085
1085
  const gateway = (() => {
1086
1086
  try {
1087
1087
  const loaded = loadRunnerConfig(configPath);
1088
1088
  const { url, apiKey } = loaded;
1089
- return loaded.fleet === true ? { url, apiKey, fleet: true, ...loaded.appId === void 0 ? {} : { appId: loaded.appId } } : { url, apiKey, appId: keyRunnerFactory(loaded) };
1089
+ return loaded.fleet === true ? { url, apiKey, fleet: true, ...loaded.appId === void 0 ? {} : { appId: loaded.appId }, ...loaded.sandbox?.provider === void 0 ? {} : { sandboxProvider: loaded.sandbox.provider } } : { url, apiKey, appId: keyRunnerFactory(loaded) };
1090
1090
  } catch {
1091
1091
  return void 0;
1092
1092
  }
@@ -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-3MCO6PFW.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-Y6FNWOKT.js';
4
4
  import './chunk-ADXJXXGU.js';
5
5
  import { verifiedTrackerNames, TRACKERS } from './chunk-TG3O6CAF.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-5NUDQ6DV.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-UDWRDVBE.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-5NUDQ6DV.js');
3963
+ const { runInitCommand } = await import('./init-cmd-UDWRDVBE.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-GU2BPOGW.js');
5253
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-P5NOMUJQ.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) => {
@@ -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-PFQRCT5B.js');
5476
- const { start, RunnerStartError } = await import('./loop-5VIKTHCW.js');
5476
+ const { start, RunnerStartError } = await import('./loop-ZYC5NTQG.js');
5477
5477
  const { RunnerAlreadyRunningError } = await import('./pidfile-4C23LXPN.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-PFQRCT5B.js');
5500
- const { containerStart, containerStartExit } = await import('./container-start-JHQMAKWD.js');
5501
- const { start, RunnerStartError } = await import('./loop-5VIKTHCW.js');
5500
+ const { containerStart, containerStartExit } = await import('./container-start-CFNWJMHZ.js');
5501
+ const { start, RunnerStartError } = await import('./loop-ZYC5NTQG.js');
5502
5502
  const { RunnerAlreadyRunningError } = await import('./pidfile-4C23LXPN.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-PFQRCT5B.js');
5524
5524
  const { runnerDir } = await import('./paths-BZKRN5J3.js');
5525
- const { runUpdateSteps } = await import('./update-steps-3YS3E7BW.js');
5525
+ const { runUpdateSteps } = await import('./update-steps-LCKPYIWI.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-PFQRCT5B.js');
5532
- const { runRunnerCheck } = await import('./check-2MAB2XOX.js');
5532
+ const { runRunnerCheck } = await import('./check-T27N6LQM.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-G3B5IT5T.js')).cpusAreValid(buildCpusMax)) {
5566
+ if (buildCpusMax !== void 0 && !(await import('./command-FL2WIRXN.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-G3B5IT5T.js');
5572
+ const { installServiceCommand, serviceSuccessText } = await import('./command-FL2WIRXN.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-PFQRCT5B.js');
5627
- const { uninstallServiceCommand } = await import('./command-G3B5IT5T.js');
5627
+ const { uninstallServiceCommand } = await import('./command-FL2WIRXN.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-PFQRCT5B.js');
5658
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal, SANDBOX_MACHINES } = await import('./init-GPS5KJQV.js');
5659
- const { askManagedSandboxes } = await import('./check-2MAB2XOX.js');
5660
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-O7SMLAEA.js');
5661
- const { detectMachine } = await import('./machine-MP4YXEVG.js');
5662
- const { chooseVm, runVmInit, VmInitError } = await import('./init-3D6C7GI2.js');
5658
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal, SANDBOX_MACHINES } = await import('./init-KRJU32VG.js');
5659
+ const { askManagedSandboxes } = await import('./check-T27N6LQM.js');
5660
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-JAMOE6OP.js');
5661
+ const { detectMachine } = await import('./machine-M5UU7HWR.js');
5662
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-KKOUW5M7.js');
5663
5663
  const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-AJWM62J2.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-RXCIPMQ6.js');
5698
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-KTD5YU6D.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-G3B5IT5T.js');
5856
+ const { installServiceCommand } = await import('./command-FL2WIRXN.js');
5857
5857
  const service = await installServiceCommand({
5858
5858
  configPath,
5859
5859
  entryPath: process.argv[1] ?? "",
@@ -5993,7 +5993,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5993
5993
  });
5994
5994
  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) => {
5995
5995
  const { defaultRunnerConfigPath } = await import('./config-PFQRCT5B.js');
5996
- const { requestStop } = await import('./loop-5VIKTHCW.js');
5996
+ const { requestStop } = await import('./loop-ZYC5NTQG.js');
5997
5997
  const configPath = opts.config ?? defaultRunnerConfigPath();
5998
5998
  const { runnerImageVersion } = await import('./image-tag-7PALJT67.js');
5999
5999
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
@@ -6001,8 +6001,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
6001
6001
  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) => {
6002
6002
  const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-PFQRCT5B.js');
6003
6003
  const { jobsDir, runnerDir } = await import('./paths-BZKRN5J3.js');
6004
- const { listJobFiles, runnerProcessState } = await import('./loop-5VIKTHCW.js');
6005
- const { renderStatus } = await import('./status-4EU2RICM.js');
6004
+ const { listJobFiles, runnerProcessState } = await import('./loop-ZYC5NTQG.js');
6005
+ const { renderStatus } = await import('./status-QKRBAWZX.js');
6006
6006
  const { readHousekeepingRecord } = await import('./record-ABSHWHSO.js');
6007
6007
  const path2 = await import('path');
6008
6008
  const configPath = opts.config ?? defaultRunnerConfigPath();
@@ -6074,7 +6074,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
6074
6074
  });
6075
6075
  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) => {
6076
6076
  const { defaultRunnerConfigPath } = await import('./config-PFQRCT5B.js');
6077
- const { listJobFiles } = await import('./loop-5VIKTHCW.js');
6077
+ const { listJobFiles } = await import('./loop-ZYC5NTQG.js');
6078
6078
  const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-6DZKJJ22.js');
6079
6079
  const configPath = opts.config ?? defaultRunnerConfigPath();
6080
6080
  const jobs = listJobFiles(configPath);
@@ -4,10 +4,10 @@ import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummar
4
4
  import { installSandboxAgent, uninstallSandboxAgent } from './chunk-HMVOTDEQ.js';
5
5
  import './chunk-TXKHD4Q6.js';
6
6
  import { realLaunchAgentHost } from './chunk-3FCYURWW.js';
7
- import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-ODWWDOK5.js';
7
+ import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-R7VMDX33.js';
8
8
  import './chunk-Y2US5RDK.js';
9
9
  import { currentLink, execStartCommand } from './chunk-WR2TR6BC.js';
10
- import { detectMachine, ensureFirecrackerAndJailer } from './chunk-3SOB6LWY.js';
10
+ import { detectMachine, ensureFirecrackerAndJailer } from './chunk-NSO6IY24.js';
11
11
  import './chunk-BY4SXNUL.js';
12
12
  import './chunk-2UBMDLUF.js';
13
13
  import './chunk-2PGI6RDE.js';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-IOKR7Z7Z.js';
4
- import { readOwnContainer } from './chunk-OHJOC2H2.js';
5
- import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-3SOB6LWY.js';
3
+ import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-3FWY4H6N.js';
4
+ import { readOwnContainer } from './chunk-AEKBDXWH.js';
5
+ import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-NSO6IY24.js';
6
6
  import './chunk-BY4SXNUL.js';
7
7
  import './chunk-2UBMDLUF.js';
8
8
  import './chunk-2PGI6RDE.js';
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-SWSPRGJL.js';
4
- import { helperBinaryFor } from './chunk-ODWWDOK5.js';
3
+ import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-WFBHEF4N.js';
4
+ import { helperBinaryFor } from './chunk-R7VMDX33.js';
5
5
  import { launcherCheck } from './chunk-Y2US5RDK.js';
6
6
  import './chunk-WR2TR6BC.js';
7
- import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-3SOB6LWY.js';
7
+ import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-NSO6IY24.js';
8
8
  import './chunk-BY4SXNUL.js';
9
9
  import './chunk-2UBMDLUF.js';
10
10
  import './chunk-2PGI6RDE.js';
@@ -971,8 +971,8 @@ function dockerCheck(available, env) {
971
971
  }
972
972
  async function fleetDoctorCheck(env, fetchImpl) {
973
973
  const name = "fleet";
974
- const problem = env.hooks === void 0 ? void 0 : fleetConfigProblem({ apiKey: env.gateway.apiKey, hooks: env.hooks, ...env.gateway.appId === void 0 ? {} : { appId: env.gateway.appId } });
975
- if (problem !== void 0) return { name, status: "fail", detail: problem, fix: "edit the runner config: a fleet runner needs a fleet machine key, no appId and builtin:vm hooks" };
974
+ const problem = env.hooks === void 0 ? void 0 : fleetConfigProblem({ apiKey: env.gateway.apiKey, hooks: env.hooks, ...env.gateway.appId === void 0 ? {} : { appId: env.gateway.appId }, sandbox: { provider: env.gateway.sandboxProvider } });
975
+ if (problem !== void 0) return { name, status: "fail", detail: problem, fix: "edit the runner config: a fleet runner needs a fleet machine key, no appId, and builtin:vm hooks or builtin:sandbox hooks with a sandbox provider account of its own" };
976
976
  const machine = await askFleetMachine({ url: env.gateway.url, apiKey: env.gateway.apiKey, configPath: env.configPath }, fetchImpl);
977
977
  if (machine.ok) return { name, status: "pass", detail: `the gateway accepted the key of fleet machine ${machine.name}` };
978
978
  if (machine.refused) return { name, status: "fail", detail: machine.message, fix: "ask a platform admin for the machine's key on the fleet machines page, or add the machine if it was revoked" };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-3SOB6LWY.js';
3
+ export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-NSO6IY24.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-2UBMDLUF.js';
6
6
  import './chunk-2PGI6RDE.js';
package/dist/index.js CHANGED
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-PVTVR4VJ.js');
25
25
  var launcherCode = await runSubcommand(argv);
26
26
  if (launcherCode !== void 0) process.exit(launcherCode);
27
27
  (await import('./hook-fast-A5LADBOU.js')).recordLinkExitFailure(argv);
28
- var { runCli } = await import('./cli-AUEXVGLP.js');
28
+ var { runCli } = await import('./cli-UBD53T43.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-3SOB6LWY.js';
4
+ import { RunnerInitError, readConfigObject } from './chunk-NSO6IY24.js';
5
5
  import './chunk-BY4SXNUL.js';
6
6
  import './chunk-2UBMDLUF.js';
7
7
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { PLACEHOLDER_MARKER, RunnerInitError, SANDBOX_MACHINES, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-3SOB6LWY.js';
3
+ export { PLACEHOLDER_MARKER, RunnerInitError, SANDBOX_MACHINES, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-NSO6IY24.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-2UBMDLUF.js';
6
6
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RunnerInitError } from './chunk-3SOB6LWY.js';
3
+ import { RunnerInitError } from './chunk-NSO6IY24.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-2UBMDLUF.js';
6
6
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { summarizeChecks, summaryText, renderDoctorText } from './chunk-3MCO6PFW.js';
3
+ import { summarizeChecks, summaryText, renderDoctorText } from './chunk-Y6FNWOKT.js';
4
4
  import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
5
5
  import './chunk-ADXJXXGU.js';
6
6
  import './chunk-TG3O6CAF.js';
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-TIDPEU6D.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-FZXC3WER.js';
4
4
  import './chunk-E7R2GIAW.js';
5
- import './chunk-IOKR7Z7Z.js';
5
+ import './chunk-3FWY4H6N.js';
6
6
  import './chunk-TXKHD4Q6.js';
7
7
  import './chunk-YY64D4FA.js';
8
8
  import './chunk-RSW5AXPT.js';
9
- import './chunk-OHJOC2H2.js';
9
+ import './chunk-AEKBDXWH.js';
10
10
  import './chunk-T3X3FZIR.js';
11
- import './chunk-SWSPRGJL.js';
11
+ import './chunk-WFBHEF4N.js';
12
12
  import './chunk-WR2TR6BC.js';
13
- import './chunk-3SOB6LWY.js';
13
+ import './chunk-NSO6IY24.js';
14
14
  import './chunk-BY4SXNUL.js';
15
15
  import './chunk-2UBMDLUF.js';
16
16
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-3SOB6LWY.js';
3
+ export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-NSO6IY24.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-2UBMDLUF.js';
6
6
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { readConfigObject, RunnerInitError } from './chunk-3SOB6LWY.js';
3
+ import { readConfigObject, RunnerInitError } from './chunk-NSO6IY24.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-2UBMDLUF.js';
6
6
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-3SOB6LWY.js';
3
+ import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-NSO6IY24.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-2UBMDLUF.js';
6
6
  import './chunk-2PGI6RDE.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-OHJOC2H2.js';
4
- import './chunk-3SOB6LWY.js';
3
+ export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-AEKBDXWH.js';
4
+ import './chunk-NSO6IY24.js';
5
5
  import './chunk-BY4SXNUL.js';
6
6
  import './chunk-2UBMDLUF.js';
7
7
  import './chunk-2PGI6RDE.js';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-5ZVZ7MVD.js';
3
+ export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-PIBJDYIC.js';
4
4
  import './chunk-BY4SXNUL.js';
5
5
  import './chunk-TG3O6CAF.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-W3K7TKYW.js';
4
- import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-5ZVZ7MVD.js';
4
+ import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-PIBJDYIC.js';
5
5
  import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-5I4PLRFO.js';
6
6
  import { readNewestDemo } from './chunk-ER6KQCVJ.js';
7
7
  import { runEmitArtifact } from './chunk-YRH4DL4O.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outerlayer/cli",
3
- "version": "0.40.0-next.20261114214913",
3
+ "version": "0.40.0-next.20261115004954",
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.",