@outerlayer/cli 0.41.1 → 0.42.0-next.20261119011332

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 (44) hide show
  1. package/README.md +1 -1
  2. package/dist/{agent-setup-BJRTAU3H.js → agent-setup-RWS247BZ.js} +1 -1
  3. package/dist/build-info.json +1 -1
  4. package/dist/{caller-ZUQVRQMY.js → caller-WLYRCJKR.js} +1 -1
  5. package/dist/{check-YN3NMNHB.js → check-HABHY27Y.js} +7 -7
  6. package/dist/{chunk-7TDLQUJ5.js → chunk-BWDUZJ4K.js} +1 -1
  7. package/dist/chunk-CBSURJ2P.js +88 -0
  8. package/dist/{chunk-B2TOGQHU.js → chunk-CUPEP5D2.js} +3 -2
  9. package/dist/{chunk-F2FZG6FG.js → chunk-H7L6XTQQ.js} +1 -1
  10. package/dist/{chunk-ND6R4UHO.js → chunk-HNWNJ6QK.js} +1 -1
  11. package/dist/{chunk-QLHEU44A.js → chunk-HT6HMUC3.js} +1 -1
  12. package/dist/chunk-IMGBXZUX.js +41 -0
  13. package/dist/{chunk-UE6OJBU6.js → chunk-IOWXXJUM.js} +1 -1
  14. package/dist/{chunk-6XSVJ7O7.js → chunk-K476DEC7.js} +2 -2
  15. package/dist/{chunk-MI3YC7JL.js → chunk-M4V46N7A.js} +66 -9
  16. package/dist/{chunk-7CMRGY4Z.js → chunk-QHZZUINX.js} +1 -1
  17. package/dist/{chunk-SVALMZJU.js → chunk-UE6ZEQAL.js} +14 -10
  18. package/dist/{chunk-S3VUP7LF.js → chunk-V3T36H4O.js} +2 -2
  19. package/dist/{chunk-U74IJMMN.js → chunk-WXGEDDUO.js} +114 -30
  20. package/dist/{chunk-4JVYALPL.js → chunk-YPS6YOYK.js} +12 -8
  21. package/dist/{chunk-4GXROH35.js → chunk-ZN3RUNOZ.js} +5 -87
  22. package/dist/{cli-B7VPNSJB.js → cli-KDLYNUNH.js} +55 -38
  23. package/dist/{command-23WALNEO.js → command-GZJHU5QD.js} +4 -4
  24. package/dist/{container-start-ZWE4BSMK.js → container-start-R2C2UNL6.js} +5 -5
  25. package/dist/{doctor-N4USOXZL.js → doctor-D7B4Z7Y7.js} +5 -5
  26. package/dist/{fleet-readiness-6WFZ6DSU.js → fleet-readiness-452TASWD.js} +2 -1
  27. package/dist/{host-checks-QYSWXJHF.js → host-checks-SMVSA55L.js} +3 -3
  28. package/dist/index.js +1 -1
  29. package/dist/{init-OFLW5CQN.js → init-RWDQWHCW.js} +3 -3
  30. package/dist/{init-5XO6SUSS.js → init-ZCNI5SFB.js} +3 -3
  31. package/dist/{init-agent-K7GN7NAJ.js → init-agent-YGLQSRVI.js} +3 -3
  32. package/dist/{init-cmd-OEPA6SZX.js → init-cmd-N35UZUCM.js} +4 -3
  33. package/dist/{init-update-ZBCOQJEX.js → init-update-TKH2L4VO.js} +3 -2
  34. package/dist/{loop-6CVDHR4M.js → loop-YMGQKGIS.js} +7 -7
  35. package/dist/{machine-7SELY76I.js → machine-AFXMDA56.js} +3 -3
  36. package/dist/{runner-key-ZT6HBAUY.js → runner-key-H3CKD4UB.js} +3 -3
  37. package/dist/{setup-cmd-VFKTGD52.js → setup-cmd-IBGMGFMJ.js} +97 -13
  38. package/dist/{setup-wiring-MF3FYG4U.js → setup-wiring-O5SJZBTP.js} +19 -12
  39. package/dist/{status-XSXYRYU6.js → status-GC2RXFMJ.js} +3 -3
  40. package/dist/{update-steps-U6LUOXPF.js → update-steps-U7JDUYLU.js} +4 -4
  41. package/dist/{work-claim-cmd-BZ5RFKVN.js → work-claim-cmd-2WWN4XB7.js} +1 -1
  42. package/dist/{work-proofs-cmd-UXBOOBIG.js → work-proofs-cmd-EJPH5GY3.js} +1 -1
  43. package/dist/{work-proofs-record-BQOPO3NI.js → work-proofs-record-B25ZFR2P.js} +1 -1
  44. package/package.json +1 -1
@@ -1,11 +1,13 @@
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-B2TOGQHU.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-CUPEP5D2.js';
4
4
  import './chunk-CNEOUUPF.js';
5
+ import { SETUP_AGENTS, setupAgentLabel } from './chunk-IMGBXZUX.js';
5
6
  import { verifiedTrackerNames, TRACKERS } from './chunk-ASAIS67T.js';
6
7
  import './chunk-XGXGS54U.js';
7
8
  import './chunk-EKJ37Z6K.js';
8
- import './chunk-4GXROH35.js';
9
+ import './chunk-CBSURJ2P.js';
10
+ import './chunk-ZN3RUNOZ.js';
9
11
  import './chunk-ZQHGY6K2.js';
10
12
  import './chunk-B5ENFQHF.js';
11
13
  import './chunk-WHXF2MLU.js';
@@ -3907,8 +3909,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
3907
3909
  what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
3908
3910
  ).action(async (opts) => {
3909
3911
  if (opts.update || opts.dryRun) {
3910
- const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-ZBCOQJEX.js');
3911
- const { fleetReadiness } = await import('./fleet-readiness-6WFZ6DSU.js');
3912
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-TKH2L4VO.js');
3913
+ const { fleetReadiness } = await import('./fleet-readiness-452TASWD.js');
3912
3914
  const problem = updateFlagProblem(opts);
3913
3915
  if (problem !== void 0) {
3914
3916
  fail(problem);
@@ -3959,13 +3961,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3959
3961
  if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
3960
3962
  `);
3961
3963
  }
3962
- const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-OEPA6SZX.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3964
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-N35UZUCM.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3963
3965
  if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
3964
3966
  else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
3965
3967
  return;
3966
3968
  }
3967
3969
  await installMachineSkillsForSetup();
3968
- const { runInitCommand } = await import('./init-cmd-OEPA6SZX.js');
3970
+ const { runInitCommand } = await import('./init-cmd-N35UZUCM.js');
3969
3971
  const code = await runInitCommand(
3970
3972
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3971
3973
  {
@@ -3977,7 +3979,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3977
3979
  return { ok, text, detail };
3978
3980
  },
3979
3981
  runAgentSetup: async () => {
3980
- const { runAgentSetup } = await import('./agent-setup-BJRTAU3H.js');
3982
+ const { runAgentSetup } = await import('./agent-setup-RWS247BZ.js');
3981
3983
  return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
3982
3984
  },
3983
3985
  runDoctorChecks: gatherDoctorChecks,
@@ -4001,7 +4003,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
4001
4003
  );
4002
4004
  if (code !== 0) process.exitCode = code;
4003
4005
  });
4004
- program2.command("setup").description("Set up this repository and a runner, step by step; run again to go on").option("--factory <org/factory>", "the factory to set up, as <org>/<factory> from its dashboard address").option("--dashboard <address>", "the dashboard to sign in on (default: https://app.outerlayer.ai)").option("--open-pr", "push the setup files to a new branch and open its pull request").option("--no-browser", "print the sign-in link without opening a browser").option("--json", "machine-readable JSON output").addHelpText(
4006
+ program2.command("setup").description("Set up this repository and a runner, step by step; run again to go on").option("--factory <org/factory>", "the factory to set up, as <org>/<factory> from its dashboard address").option("--dashboard <address>", "the dashboard to sign in on (default: https://app.outerlayer.ai)").addOption(new Option("--agent <id>", "the agent to set this repository up for").choices([...SETUP_AGENTS])).option("--open-pr", "push the setup files to a new branch and open its pull request").option("--no-browser", "print the sign-in link without opening a browser").option("--json", "machine-readable JSON output").addHelpText(
4005
4007
  "after",
4006
4008
  `
4007
4009
  Setup does each step it can, then stops at the first one that waits on you,
@@ -4015,29 +4017,44 @@ for a person. It never prints a secret. The sign-in is approved in your
4015
4017
  browser. The runner key and the agent credential are typed into
4016
4018
  \`${cliInvocation()} runner init\`, which setup tells you to run in your own terminal.
4017
4019
 
4020
+ --agent chooses the agent: ${SETUP_AGENTS.join(" or ")}. Without it, setup takes the
4021
+ agent that .outerlayer/config.json names, then the agent whose session runs
4022
+ setup, then ${setupAgentLabel(SETUP_AGENTS[0])}. It says which agent it chose and why. For Codex, a
4023
+ new config names codex as the target and as the agent that builds the
4024
+ repository's items. On managed runners, setup asks for the chosen agent's
4025
+ model key.
4026
+
4018
4027
  --open-pr creates the outerlayer-setup branch from the base branch, commits the
4019
4028
  setup files alone, pushes it, and opens the pull request with \`gh\` where gh is
4020
- signed in. Without gh it prints GitHub's page to open it. It refuses when the
4029
+ signed in to github.com. A file setup wrote is committed even when a
4030
+ .gitignore rule matches it, and setup names the rule. A rule that names a
4031
+ whole setup path keeps that path out. When gh cannot open the pull request,
4032
+ setup says why, then prints GitHub's page to open it. It refuses when the
4021
4033
  checkout is on another branch, or the base branch has commits origin does
4022
4034
  not have, and prints the commit commands instead.
4035
+
4036
+ The setup is merged when the base branch holds .outerlayer/config.json and the
4037
+ build skill. With the config alone, setup names the missing file, why it is
4038
+ missing and the commands that add it, and exits 1.
4023
4039
  `
4024
4040
  ).action(async (opts) => {
4025
- const { runSetupCommand } = await import('./setup-cmd-VFKTGD52.js');
4026
- const { realSetupDeps } = await import('./setup-wiring-MF3FYG4U.js');
4041
+ const { runSetupCommand } = await import('./setup-cmd-IBGMGFMJ.js');
4042
+ const { realSetupDeps } = await import('./setup-wiring-O5SJZBTP.js');
4027
4043
  const cliBin = resolveCliBin();
4028
4044
  const agentWords = runnerHelpWords();
4029
4045
  const code = await runSetupCommand(
4030
- { factory: opts.factory, dashboard: opts.dashboard, openPr: opts.openPr, json: opts.json, browser: opts.browser },
4046
+ { factory: opts.factory, dashboard: opts.dashboard, agent: opts.agent, openPr: opts.openPr, json: opts.json, browser: opts.browser },
4031
4047
  realSetupDeps({
4032
4048
  home: homeFromEnv(),
4033
4049
  cwd: process.cwd(),
4034
4050
  stdout: process.stdout,
4035
4051
  installMachineSkills: installMachineSkillsForSetup,
4036
4052
  installHooks: (connected) => installHooks({ wrapHooks: true, statusline: true }, cliBin, connected, void 0, false),
4037
- runAgentSetup: async () => (await import('./agent-setup-BJRTAU3H.js')).runAgentSetup({ cwd: process.cwd(), skillsLink: true }),
4053
+ runAgentSetup: async (agent) => (await import('./agent-setup-RWS247BZ.js')).runAgentSetup({ cwd: process.cwd(), skillsLink: true, configAgent: agent }),
4038
4054
  connectDeps: realConnectDepsForCwd,
4039
4055
  runDoctorChecks: gatherDoctorChecks,
4040
- runnerAgent: { name: agentWords.runnerName, label: agentWords.label, setupCommand: agentWords.setupCommand }
4056
+ runnerAgent: { name: agentWords.runnerName, label: agentWords.label, setupCommand: agentWords.setupCommand },
4057
+ env: process.env
4041
4058
  })
4042
4059
  );
4043
4060
  if (code !== 0) process.exitCode = code;
@@ -5249,7 +5266,7 @@ a runner build, no row is failed.
5249
5266
  fail(trackerNumberError("--pr", opts.pr));
5250
5267
  return;
5251
5268
  }
5252
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-UXBOOBIG.js');
5269
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-EJPH5GY3.js');
5253
5270
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5254
5271
  });
5255
5272
  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) => {
@@ -5274,7 +5291,7 @@ by a different key is refused; claiming again with the same key extends
5274
5291
  it. --host is a label only.
5275
5292
  `
5276
5293
  ).action(async (opts) => {
5277
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-BZ5RFKVN.js');
5294
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-2WWN4XB7.js');
5278
5295
  try {
5279
5296
  await runWorkClaim(opts);
5280
5297
  } catch (err) {
@@ -5294,7 +5311,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5294
5311
  lease has expired, or a 403 if a different key holds it.
5295
5312
  `
5296
5313
  ).action(async (opts) => {
5297
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-BZ5RFKVN.js');
5314
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-2WWN4XB7.js');
5298
5315
  try {
5299
5316
  await runWorkRenew(opts);
5300
5317
  } catch (err) {
@@ -5326,7 +5343,7 @@ applies to a host's lease only. A later tool call in the session
5326
5343
  takes the lease again.
5327
5344
  `
5328
5345
  ).action(async (opts) => {
5329
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-BZ5RFKVN.js');
5346
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-2WWN4XB7.js');
5330
5347
  try {
5331
5348
  await runWorkRelease(opts);
5332
5349
  } catch (err) {
@@ -5473,7 +5490,7 @@ function registerRunnerCommands(program2) {
5473
5490
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5474
5491
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5475
5492
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-Y4PCLHUG.js');
5476
- const { start, RunnerStartError } = await import('./loop-6CVDHR4M.js');
5493
+ const { start, RunnerStartError } = await import('./loop-YMGQKGIS.js');
5477
5494
  const { RunnerAlreadyRunningError } = await import('./pidfile-J774ZYPM.js');
5478
5495
  const configPath = opts.config ?? defaultRunnerConfigPath();
5479
5496
  try {
@@ -5497,8 +5514,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5497
5514
  `
5498
5515
  ).action(async () => {
5499
5516
  const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-Y4PCLHUG.js');
5500
- const { containerStart, containerStartExit } = await import('./container-start-ZWE4BSMK.js');
5501
- const { start, RunnerStartError } = await import('./loop-6CVDHR4M.js');
5517
+ const { containerStart, containerStartExit } = await import('./container-start-R2C2UNL6.js');
5518
+ const { start, RunnerStartError } = await import('./loop-YMGQKGIS.js');
5502
5519
  const { RunnerAlreadyRunningError } = await import('./pidfile-J774ZYPM.js');
5503
5520
  try {
5504
5521
  const outcome = containerStartExit(await containerStart({
@@ -5522,14 +5539,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5522
5539
  ).action(async (opts) => {
5523
5540
  const { defaultRunnerConfigPath } = await import('./config-Y4PCLHUG.js');
5524
5541
  const { runnerDir } = await import('./paths-2NB6OM44.js');
5525
- const { runUpdateSteps } = await import('./update-steps-U6LUOXPF.js');
5542
+ const { runUpdateSteps } = await import('./update-steps-U7JDUYLU.js');
5526
5543
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5527
5544
  process.stdout.write(`${text}
5528
5545
  `);
5529
5546
  });
5530
5547
  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
5548
  const { defaultRunnerConfigPath } = await import('./config-Y4PCLHUG.js');
5532
- const { runRunnerCheck } = await import('./check-YN3NMNHB.js');
5549
+ const { runRunnerCheck } = await import('./check-HABHY27Y.js');
5533
5550
  const configPath = opts.config ?? defaultRunnerConfigPath();
5534
5551
  const result = await runRunnerCheck(configPath);
5535
5552
  if (!result.ok) {
@@ -5563,13 +5580,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5563
5580
  }
5564
5581
  }
5565
5582
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5566
- if (buildCpusMax !== void 0 && !(await import('./command-23WALNEO.js')).cpusAreValid(buildCpusMax)) {
5583
+ if (buildCpusMax !== void 0 && !(await import('./command-GZJHU5QD.js')).cpusAreValid(buildCpusMax)) {
5567
5584
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5568
5585
  return;
5569
5586
  }
5570
5587
  try {
5571
5588
  if (opts.service === true) {
5572
- const { installServiceCommand, serviceSuccessText } = await import('./command-23WALNEO.js');
5589
+ const { installServiceCommand, serviceSuccessText } = await import('./command-GZJHU5QD.js');
5573
5590
  const result2 = await installServiceCommand({
5574
5591
  configPath,
5575
5592
  print: opts.print,
@@ -5624,7 +5641,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5624
5641
  return;
5625
5642
  }
5626
5643
  const { defaultRunnerConfigPath } = await import('./config-Y4PCLHUG.js');
5627
- const { uninstallServiceCommand } = await import('./command-23WALNEO.js');
5644
+ const { uninstallServiceCommand } = await import('./command-GZJHU5QD.js');
5628
5645
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5629
5646
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5630
5647
  `);
@@ -5657,11 +5674,11 @@ On a runner that already builds with ${words().agent}, it replaces the credentia
5657
5674
  `
5658
5675
  ).action(async (opts) => {
5659
5676
  const { defaultRunnerConfigPath, loadRunnerConfig, RunnerConfigError } = await import('./config-Y4PCLHUG.js');
5660
- const { addRunnerAgent, hasRunnerBlock, prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal } = await import('./init-OFLW5CQN.js');
5661
- const { askManagedSandboxes } = await import('./check-YN3NMNHB.js');
5662
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-ZT6HBAUY.js');
5663
- const { detectMachine } = await import('./machine-7SELY76I.js');
5664
- const { chooseVm, runVmInit, VmInitError } = await import('./init-5XO6SUSS.js');
5677
+ const { addRunnerAgent, hasRunnerBlock, prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal } = await import('./init-RWDQWHCW.js');
5678
+ const { askManagedSandboxes } = await import('./check-HABHY27Y.js');
5679
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-H3CKD4UB.js');
5680
+ const { detectMachine } = await import('./machine-AFXMDA56.js');
5681
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-ZCNI5SFB.js');
5665
5682
  const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-UIHWITLB.js');
5666
5683
  const { headlessNames: headlessNames2 } = await import('./runner-agents-YGVCO7DM.js');
5667
5684
  const configPath = opts.config ?? defaultRunnerConfigPath();
@@ -5687,7 +5704,7 @@ On a runner that already builds with ${words().agent}, it replaces the credentia
5687
5704
  return;
5688
5705
  }
5689
5706
  try {
5690
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-K7GN7NAJ.js');
5707
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-YGLQSRVI.js');
5691
5708
  agent = await initAgent({
5692
5709
  flag: agent,
5693
5710
  handOff: opts.configStdin === true,
@@ -5869,7 +5886,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5869
5886
  let serviceUp = false;
5870
5887
  let restart;
5871
5888
  if (installedLayout) {
5872
- const { installServiceCommand } = await import('./command-23WALNEO.js');
5889
+ const { installServiceCommand } = await import('./command-GZJHU5QD.js');
5873
5890
  const service = await installServiceCommand({
5874
5891
  configPath,
5875
5892
  entryPath: process.argv[1] ?? "",
@@ -5944,7 +5961,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5944
5961
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5945
5962
  });
5946
5963
  const { imageTargetFor } = await import('./governing-source-66AXUDVZ.js');
5947
- const { runnerCalls } = await import('./caller-ZUQVRQMY.js');
5964
+ const { runnerCalls } = await import('./caller-WLYRCJKR.js');
5948
5965
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5949
5966
  if (!target.ok) {
5950
5967
  if (opts.json) {
@@ -6009,7 +6026,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
6009
6026
  });
6010
6027
  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) => {
6011
6028
  const { defaultRunnerConfigPath } = await import('./config-Y4PCLHUG.js');
6012
- const { requestStop } = await import('./loop-6CVDHR4M.js');
6029
+ const { requestStop } = await import('./loop-YMGQKGIS.js');
6013
6030
  const configPath = opts.config ?? defaultRunnerConfigPath();
6014
6031
  const { runnerImageVersion } = await import('./image-tag-UI33PH7Y.js');
6015
6032
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
@@ -6017,8 +6034,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
6017
6034
  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) => {
6018
6035
  const { builtinKind, defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-Y4PCLHUG.js');
6019
6036
  const { jobsDir, runnerDir } = await import('./paths-2NB6OM44.js');
6020
- const { listJobFiles, runnerProcessState } = await import('./loop-6CVDHR4M.js');
6021
- const { renderStatus } = await import('./status-XSXYRYU6.js');
6037
+ const { listJobFiles, runnerProcessState } = await import('./loop-YMGQKGIS.js');
6038
+ const { renderStatus } = await import('./status-GC2RXFMJ.js');
6022
6039
  const { readHousekeepingRecord } = await import('./record-FQ2LFBZH.js');
6023
6040
  const path2 = await import('path');
6024
6041
  const configPath = opts.config ?? defaultRunnerConfigPath();
@@ -6101,7 +6118,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
6101
6118
  });
6102
6119
  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) => {
6103
6120
  const { defaultRunnerConfigPath } = await import('./config-Y4PCLHUG.js');
6104
- const { listJobFiles } = await import('./loop-6CVDHR4M.js');
6121
+ const { listJobFiles } = await import('./loop-YMGQKGIS.js');
6105
6122
  const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-EVHVINVW.js');
6106
6123
  const configPath = opts.config ?? defaultRunnerConfigPath();
6107
6124
  const jobs = listJobFiles(configPath);
@@ -4,11 +4,11 @@ import { realLaunchAgentHost } from './chunk-3FCYURWW.js';
4
4
  import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-KRYJAO4X.js';
5
5
  import { installSandboxAgent, uninstallSandboxAgent } from './chunk-57F62BIL.js';
6
6
  import './chunk-TXKHD4Q6.js';
7
- import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-QLHEU44A.js';
7
+ import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-HT6HMUC3.js';
8
8
  import './chunk-RFBEF4AF.js';
9
9
  import { currentLink, execStartCommand } from './chunk-CYQSTT5N.js';
10
- import { detectMachine, ensureFirecrackerAndJailer } from './chunk-SVALMZJU.js';
11
- import './chunk-7TDLQUJ5.js';
10
+ import { detectMachine, ensureFirecrackerAndJailer } from './chunk-UE6ZEQAL.js';
11
+ import './chunk-BWDUZJ4K.js';
12
12
  import './chunk-2QK7L3WV.js';
13
13
  import './chunk-2PGI6RDE.js';
14
14
  import './chunk-57MLWALQ.js';
@@ -23,7 +23,7 @@ import './chunk-B4XB5QFD.js';
23
23
  import './chunk-NXYTICCS.js';
24
24
  import './chunk-TQMI335S.js';
25
25
  import { writeLaunchAgent, launchAgentPath } from './chunk-LF6MLJCY.js';
26
- import './chunk-S3VUP7LF.js';
26
+ import './chunk-V3T36H4O.js';
27
27
  import './chunk-NN33FYXG.js';
28
28
  import './chunk-XETFYRKD.js';
29
29
  import './chunk-CQKCNDPP.js';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-ND6R4UHO.js';
4
- import { readOwnContainer } from './chunk-UE6OJBU6.js';
5
- import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-SVALMZJU.js';
6
- import './chunk-7TDLQUJ5.js';
3
+ import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-HNWNJ6QK.js';
4
+ import { readOwnContainer } from './chunk-IOWXXJUM.js';
5
+ import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-UE6ZEQAL.js';
6
+ import './chunk-BWDUZJ4K.js';
7
7
  import './chunk-2QK7L3WV.js';
8
8
  import './chunk-2PGI6RDE.js';
9
9
  import './chunk-57MLWALQ.js';
@@ -17,7 +17,7 @@ import './chunk-C2PZOLN7.js';
17
17
  import './chunk-B4XB5QFD.js';
18
18
  import { runnerImageVersion, IMAGE_VERSION_VARIABLE } from './chunk-NXYTICCS.js';
19
19
  import './chunk-TQMI335S.js';
20
- import './chunk-S3VUP7LF.js';
20
+ import './chunk-V3T36H4O.js';
21
21
  import './chunk-NN33FYXG.js';
22
22
  import './chunk-XETFYRKD.js';
23
23
  import './chunk-CQKCNDPP.js';
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { helperBinaryFor } from './chunk-QLHEU44A.js';
4
- import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-7CMRGY4Z.js';
3
+ import { helperBinaryFor } from './chunk-HT6HMUC3.js';
4
+ import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-QHZZUINX.js';
5
5
  import { launcherCheck } from './chunk-RFBEF4AF.js';
6
6
  import './chunk-CYQSTT5N.js';
7
- import { credentialVerdict, needsAgentCredential, agentCredentialFromFiles, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-SVALMZJU.js';
8
- import './chunk-7TDLQUJ5.js';
7
+ import { credentialVerdict, needsAgentCredential, agentCredentialFromFiles, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-UE6ZEQAL.js';
8
+ import './chunk-BWDUZJ4K.js';
9
9
  import './chunk-2QK7L3WV.js';
10
10
  import './chunk-2PGI6RDE.js';
11
11
  import './chunk-57MLWALQ.js';
@@ -19,7 +19,7 @@ import './chunk-C2PZOLN7.js';
19
19
  import './chunk-B4XB5QFD.js';
20
20
  import { runnerImageVersion, imageAdvice, readUpdateStatus, imageTag, pullInstruction } from './chunk-NXYTICCS.js';
21
21
  import './chunk-TQMI335S.js';
22
- import './chunk-S3VUP7LF.js';
22
+ import './chunk-V3T36H4O.js';
23
23
  import './chunk-NN33FYXG.js';
24
24
  import './chunk-XETFYRKD.js';
25
25
  import './chunk-CQKCNDPP.js';
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { describeFleet, fleetCheck, fleetReadiness } from './chunk-4GXROH35.js';
3
+ export { describeFleet, fleetCheck, fleetReadiness } from './chunk-CBSURJ2P.js';
4
+ import './chunk-ZN3RUNOZ.js';
4
5
  import './chunk-B5ENFQHF.js';
5
6
  import './chunk-V3NMSDOC.js';
6
7
  import './chunk-IEVG36GC.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { builtOf, checksIn, makeRecorder, readDefinitions, timeoutAfter } from './chunk-SVALMZJU.js';
4
- import './chunk-7TDLQUJ5.js';
3
+ export { builtOf, checksIn, makeRecorder, readDefinitions, timeoutAfter } from './chunk-UE6ZEQAL.js';
4
+ import './chunk-BWDUZJ4K.js';
5
5
  import './chunk-2QK7L3WV.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-57MLWALQ.js';
@@ -15,7 +15,7 @@ import './chunk-C2PZOLN7.js';
15
15
  import './chunk-B4XB5QFD.js';
16
16
  import './chunk-NXYTICCS.js';
17
17
  import './chunk-TQMI335S.js';
18
- import './chunk-S3VUP7LF.js';
18
+ import './chunk-V3T36H4O.js';
19
19
  import './chunk-NN33FYXG.js';
20
20
  import './chunk-XETFYRKD.js';
21
21
  import './chunk-CQKCNDPP.js';
package/dist/index.js CHANGED
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-EJNVXLNB.js');
25
25
  var launcherCode = await runSubcommand(argv);
26
26
  if (launcherCode !== void 0) process.exit(launcherCode);
27
27
  (await import('./hook-fast-PUFMMGLY.js')).recordLinkExitFailure(argv);
28
- var { runCli } = await import('./cli-B7VPNSJB.js');
28
+ var { runCli } = await import('./cli-KDLYNUNH.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
- export { PLACEHOLDER_MARKER, RunnerInitError, addRunnerAgent, hasRunnerBlock, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-SVALMZJU.js';
4
- import './chunk-7TDLQUJ5.js';
3
+ export { PLACEHOLDER_MARKER, RunnerInitError, addRunnerAgent, hasRunnerBlock, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-UE6ZEQAL.js';
4
+ import './chunk-BWDUZJ4K.js';
5
5
  import './chunk-2QK7L3WV.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-57MLWALQ.js';
@@ -15,7 +15,7 @@ import './chunk-C2PZOLN7.js';
15
15
  import './chunk-B4XB5QFD.js';
16
16
  import './chunk-NXYTICCS.js';
17
17
  import './chunk-TQMI335S.js';
18
- import './chunk-S3VUP7LF.js';
18
+ import './chunk-V3T36H4O.js';
19
19
  import './chunk-NN33FYXG.js';
20
20
  import './chunk-XETFYRKD.js';
21
21
  import './chunk-CQKCNDPP.js';
@@ -1,8 +1,8 @@
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-SVALMZJU.js';
5
- import './chunk-7TDLQUJ5.js';
4
+ import { RunnerInitError, readConfigObject } from './chunk-UE6ZEQAL.js';
5
+ import './chunk-BWDUZJ4K.js';
6
6
  import './chunk-2QK7L3WV.js';
7
7
  import './chunk-2PGI6RDE.js';
8
8
  import './chunk-57MLWALQ.js';
@@ -17,7 +17,7 @@ import './chunk-B4XB5QFD.js';
17
17
  import './chunk-NXYTICCS.js';
18
18
  import './chunk-TQMI335S.js';
19
19
  import { writeLaunchAgent } from './chunk-LF6MLJCY.js';
20
- import './chunk-S3VUP7LF.js';
20
+ import './chunk-V3T36H4O.js';
21
21
  import './chunk-NN33FYXG.js';
22
22
  import './chunk-XETFYRKD.js';
23
23
  import './chunk-CQKCNDPP.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RunnerInitError } from './chunk-SVALMZJU.js';
4
- import './chunk-7TDLQUJ5.js';
3
+ import { RunnerInitError } from './chunk-UE6ZEQAL.js';
4
+ import './chunk-BWDUZJ4K.js';
5
5
  import './chunk-2QK7L3WV.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-57MLWALQ.js';
@@ -15,7 +15,7 @@ import './chunk-C2PZOLN7.js';
15
15
  import './chunk-B4XB5QFD.js';
16
16
  import './chunk-NXYTICCS.js';
17
17
  import './chunk-TQMI335S.js';
18
- import './chunk-S3VUP7LF.js';
18
+ import './chunk-V3T36H4O.js';
19
19
  import './chunk-NN33FYXG.js';
20
20
  import './chunk-XETFYRKD.js';
21
21
  import './chunk-CQKCNDPP.js';
@@ -1,13 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { applyShellFunctionFlag, runInitCommand } from './chunk-F2FZG6FG.js';
4
- import './chunk-B2TOGQHU.js';
3
+ export { applyShellFunctionFlag, runInitCommand } from './chunk-H7L6XTQQ.js';
4
+ import './chunk-CUPEP5D2.js';
5
5
  import './chunk-CNEOUUPF.js';
6
6
  import './chunk-UWRXRSCE.js';
7
7
  import './chunk-ASAIS67T.js';
8
8
  import './chunk-XGXGS54U.js';
9
9
  import './chunk-EKJ37Z6K.js';
10
- import './chunk-4GXROH35.js';
10
+ import './chunk-CBSURJ2P.js';
11
+ import './chunk-ZN3RUNOZ.js';
11
12
  import './chunk-ZQHGY6K2.js';
12
13
  import './chunk-B5ENFQHF.js';
13
14
  import './chunk-WHXF2MLU.js';
@@ -1,10 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { contextIsGoverned, inspectStarterFiles, readShippedManifest, contentHash, canonical } from './chunk-CNEOUUPF.js';
4
- import { keepHandWritten } from './chunk-4JVYALPL.js';
4
+ import { keepHandWritten } from './chunk-YPS6YOYK.js';
5
5
  import './chunk-ZMXG7DQ5.js';
6
6
  import { runEmit, inspectReplacedOutputs } from './chunk-DPS4OOL5.js';
7
- import { maintainedReferenceRewrites, applyReferenceRewrites, describeFleet, committedMaintainedFolders, skillsFolders } from './chunk-4GXROH35.js';
7
+ import { describeFleet } from './chunk-CBSURJ2P.js';
8
+ import { maintainedReferenceRewrites, applyReferenceRewrites, committedMaintainedFolders, skillsFolders } from './chunk-ZN3RUNOZ.js';
8
9
  import './chunk-B5ENFQHF.js';
9
10
  import { setMcpEntry } from './chunk-WHXF2MLU.js';
10
11
  import { COMMIT_LINE, agentsLayoutCommitLine, listWithAnd } from './chunk-7O37CF6M.js';
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, listedOf, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-U74IJMMN.js';
3
+ export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, listedOf, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-WXGEDDUO.js';
4
4
  import './chunk-6YBI24YT.js';
5
5
  import './chunk-E7R2GIAW.js';
6
- import './chunk-ND6R4UHO.js';
7
- import './chunk-UE6OJBU6.js';
6
+ import './chunk-HNWNJ6QK.js';
7
+ import './chunk-IOWXXJUM.js';
8
8
  import './chunk-TXKHD4Q6.js';
9
9
  import './chunk-GFXXAXPF.js';
10
10
  import './chunk-AVYR5USX.js';
11
- import './chunk-7CMRGY4Z.js';
11
+ import './chunk-QHZZUINX.js';
12
12
  import './chunk-CYQSTT5N.js';
13
- import './chunk-SVALMZJU.js';
14
- import './chunk-7TDLQUJ5.js';
13
+ import './chunk-UE6ZEQAL.js';
14
+ import './chunk-BWDUZJ4K.js';
15
15
  import './chunk-2QK7L3WV.js';
16
16
  import './chunk-2PGI6RDE.js';
17
17
  import './chunk-57MLWALQ.js';
@@ -25,7 +25,7 @@ import './chunk-C2PZOLN7.js';
25
25
  import './chunk-B4XB5QFD.js';
26
26
  import './chunk-NXYTICCS.js';
27
27
  import './chunk-TQMI335S.js';
28
- import './chunk-S3VUP7LF.js';
28
+ import './chunk-V3T36H4O.js';
29
29
  import './chunk-NN33FYXG.js';
30
30
  import './chunk-XETFYRKD.js';
31
31
  import './chunk-CQKCNDPP.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-SVALMZJU.js';
4
- import './chunk-7TDLQUJ5.js';
3
+ export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-UE6ZEQAL.js';
4
+ import './chunk-BWDUZJ4K.js';
5
5
  import './chunk-2QK7L3WV.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-57MLWALQ.js';
@@ -15,7 +15,7 @@ import './chunk-C2PZOLN7.js';
15
15
  import './chunk-B4XB5QFD.js';
16
16
  import './chunk-NXYTICCS.js';
17
17
  import './chunk-TQMI335S.js';
18
- import './chunk-S3VUP7LF.js';
18
+ import './chunk-V3T36H4O.js';
19
19
  import './chunk-NN33FYXG.js';
20
20
  import './chunk-XETFYRKD.js';
21
21
  import './chunk-CQKCNDPP.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { readConfigObject, RunnerInitError } from './chunk-SVALMZJU.js';
4
- import './chunk-7TDLQUJ5.js';
3
+ import { readConfigObject, RunnerInitError } from './chunk-UE6ZEQAL.js';
4
+ import './chunk-BWDUZJ4K.js';
5
5
  import './chunk-2QK7L3WV.js';
6
6
  import './chunk-2PGI6RDE.js';
7
7
  import './chunk-57MLWALQ.js';
@@ -15,7 +15,7 @@ import './chunk-C2PZOLN7.js';
15
15
  import './chunk-B4XB5QFD.js';
16
16
  import './chunk-NXYTICCS.js';
17
17
  import './chunk-TQMI335S.js';
18
- import './chunk-S3VUP7LF.js';
18
+ import './chunk-V3T36H4O.js';
19
19
  import './chunk-NN33FYXG.js';
20
20
  import './chunk-XETFYRKD.js';
21
21
  import './chunk-CQKCNDPP.js';