@outerlayer/cli 0.39.0-next.20261113015721 → 0.39.0-next.20261113021627

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.
@@ -1 +1 @@
1
- {"id":"2026-11-13T02:05:01.186Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
1
+ {"id":"2026-11-13T02:32:03.863Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { probeCredentials } from './chunk-6UDQH74L.js';
3
+ import { probeCredentials } from './chunk-7LDL72QW.js';
4
4
  import './chunk-3JVYMD4G.js';
5
5
  import './chunk-SYCWBLXF.js';
6
6
  import './chunk-E7R2GIAW.js';
@@ -1510,6 +1510,10 @@ function reloadConfig(state) {
1510
1510
  logOf(state).error(`config re-read rejected: ${hookProblem} \xB7 keeping the last good config`);
1511
1511
  return;
1512
1512
  }
1513
+ if (state.config.sandbox?.provider !== reloaded.sandbox?.provider) {
1514
+ logOf(state).error("config re-read rejected: runner.sandbox.provider changed, and a runner keeps the sandbox provider it started with. Restart the runner to use this file \xB7 keeping the last good config");
1515
+ return;
1516
+ }
1513
1517
  state.config = fitForImage(state.deps, reloaded).config;
1514
1518
  delete state.reviseListRefusedAtMs;
1515
1519
  const timerNote = state.pollTimerSeconds !== void 0 && state.pollTimerSeconds !== reloaded.pollSeconds ? ` \xB7 still polling every ${state.pollTimerSeconds}s until the runner restarts` : "";
@@ -4167,7 +4171,7 @@ async function startRunner(configPath, deps, startup) {
4167
4171
  check: update.check ? () => update.check(configPath) : async () => {
4168
4172
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
4169
4173
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
4170
- return (await import('./check-WIHP4Q3L.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4174
+ return (await import('./check-MKZCEGZX.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
4171
4175
  },
4172
4176
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
4173
4177
  log
@@ -5450,7 +5450,7 @@ function registerRunnerCommands(program2) {
5450
5450
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5451
5451
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5452
5452
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA7BDDLJ.js');
5453
- const { start, RunnerStartError } = await import('./loop-QUW6VDS6.js');
5453
+ const { start, RunnerStartError } = await import('./loop-LZI7X2FK.js');
5454
5454
  const { RunnerAlreadyRunningError } = await import('./pidfile-EEXY7U2F.js');
5455
5455
  const configPath = opts.config ?? defaultRunnerConfigPath();
5456
5456
  try {
@@ -5475,7 +5475,7 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5475
5475
  ).action(async () => {
5476
5476
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA7BDDLJ.js');
5477
5477
  const { containerStart, containerStartExit } = await import('./container-start-UN3TBX37.js');
5478
- const { start, RunnerStartError } = await import('./loop-QUW6VDS6.js');
5478
+ const { start, RunnerStartError } = await import('./loop-LZI7X2FK.js');
5479
5479
  const { RunnerAlreadyRunningError } = await import('./pidfile-EEXY7U2F.js');
5480
5480
  try {
5481
5481
  const outcome = containerStartExit(await containerStart({
@@ -5506,7 +5506,7 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5506
5506
  });
5507
5507
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5508
5508
  const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
5509
- const { runRunnerCheck } = await import('./check-WIHP4Q3L.js');
5509
+ const { runRunnerCheck } = await import('./check-MKZCEGZX.js');
5510
5510
  const configPath = opts.config ?? defaultRunnerConfigPath();
5511
5511
  const result = await runRunnerCheck(configPath);
5512
5512
  if (!result.ok) {
@@ -5927,7 +5927,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5927
5927
  });
5928
5928
  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) => {
5929
5929
  const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
5930
- const { requestStop } = await import('./loop-QUW6VDS6.js');
5930
+ const { requestStop } = await import('./loop-LZI7X2FK.js');
5931
5931
  const configPath = opts.config ?? defaultRunnerConfigPath();
5932
5932
  const { runnerImageVersion } = await import('./image-tag-S2735X3D.js');
5933
5933
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
@@ -5935,7 +5935,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5935
5935
  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) => {
5936
5936
  const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-EA7BDDLJ.js');
5937
5937
  const { jobsDir, runnerDir } = await import('./paths-R6LKQ7X5.js');
5938
- const { listJobFiles, runnerProcessState } = await import('./loop-QUW6VDS6.js');
5938
+ const { listJobFiles, runnerProcessState } = await import('./loop-LZI7X2FK.js');
5939
5939
  const { renderStatus } = await import('./status-WIHXEMTP.js');
5940
5940
  const { readHousekeepingRecord } = await import('./record-WUWDGFWW.js');
5941
5941
  const path2 = await import('path');
@@ -6002,7 +6002,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
6002
6002
  });
6003
6003
  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) => {
6004
6004
  const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
6005
- const { listJobFiles } = await import('./loop-QUW6VDS6.js');
6005
+ const { listJobFiles } = await import('./loop-LZI7X2FK.js');
6006
6006
  const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-KD2IT244.js');
6007
6007
  const configPath = opts.config ?? defaultRunnerConfigPath();
6008
6008
  const jobs = listJobFiles(configPath);
package/dist/index.js CHANGED
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-Q7A5VB4S.js');
25
25
  var launcherCode = await runSubcommand(argv);
26
26
  if (launcherCode !== void 0) process.exit(launcherCode);
27
27
  (await import('./hook-fast-BBOPSFA6.js')).recordLinkExitFailure(argv);
28
- var { runCli } = await import('./cli-6XEZ522E.js');
28
+ var { runCli } = await import('./cli-5B6TDHBG.js');
29
29
  await runCli(process.argv);
@@ -1,6 +1,6 @@
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-6UDQH74L.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-7LDL72QW.js';
4
4
  import './chunk-3JVYMD4G.js';
5
5
  import './chunk-SYCWBLXF.js';
6
6
  import './chunk-E7R2GIAW.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outerlayer/cli",
3
- "version": "0.39.0-next.20261113015721",
3
+ "version": "0.39.0-next.20261113021627",
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.",