@outerlayer/cli 0.37.0-next.20261105010834 → 0.38.0-next.20261105124419

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 (126) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +13 -5
  3. package/dist/{agent-setup-DUE6IXPP.js → agent-setup-JEUFYIPH.js} +7 -7
  4. package/dist/{agent-subcommand-C625JDSN.js → agent-subcommand-GR6FUDOR.js} +1 -1
  5. package/dist/{bridge-UHNGV6DM.js → bridge-POOKFVVM.js} +2 -2
  6. package/dist/{build-ALG3MYX2.js → build-L2I4A2E6.js} +7 -7
  7. package/dist/{build-disk-JU2QHE64.js → build-disk-JXDTAY5A.js} +5 -5
  8. package/dist/build-info.json +1 -1
  9. package/dist/{builder-4LK2FDCX.js → builder-MV5A5KOW.js} +4 -4
  10. package/dist/{caller-JQC4VW36.js → caller-XIG74H56.js} +7 -7
  11. package/dist/{check-PJ5FLDTD.js → check-LYPMBZU5.js} +38 -38
  12. package/dist/{chunk-R2IPYS6A.js → chunk-3AJKX3FY.js} +3 -3
  13. package/dist/{chunk-XMIUPI5N.js → chunk-3FVSLRXZ.js} +1 -1
  14. package/dist/{chunk-WCJCGFVQ.js → chunk-3YULN4UC.js} +1 -1
  15. package/dist/{chunk-EDEBGBPL.js → chunk-7423RCC2.js} +2 -2
  16. package/dist/{chunk-RFCAK6OI.js → chunk-BBHBVDET.js} +3 -3
  17. package/dist/{chunk-6BS4DDCY.js → chunk-BG3X4UPN.js} +5 -5
  18. package/dist/{chunk-OG6RJXQ3.js → chunk-CFXCMHUO.js} +1 -1
  19. package/dist/{chunk-IJU6DMQA.js → chunk-D46NGZOG.js} +1 -1
  20. package/dist/{chunk-4U57GP2X.js → chunk-DPBSA2A3.js} +2 -2
  21. package/dist/{chunk-3LT6REKE.js → chunk-EL46EW3V.js} +1 -1
  22. package/dist/{chunk-Q2JDKHOR.js → chunk-FFEZDIDM.js} +32 -24
  23. package/dist/{chunk-4TDBM3PK.js → chunk-G6BDSNSO.js} +3 -3
  24. package/dist/{chunk-KE5NFPP2.js → chunk-GDYUTUUU.js} +5 -5
  25. package/dist/{chunk-2LXO2YIW.js → chunk-GLPQBMON.js} +3 -3
  26. package/dist/{chunk-HOTRWPVM.js → chunk-GSSCNJ6F.js} +1 -1
  27. package/dist/{chunk-ZRITZJ36.js → chunk-H273QEFX.js} +2 -2
  28. package/dist/{chunk-N3FPRSUZ.js → chunk-H3N7Q4ZE.js} +2 -2
  29. package/dist/{chunk-LUQWY7BX.js → chunk-HODTWJUB.js} +2 -2
  30. package/dist/{chunk-G43WGW64.js → chunk-HUZPRUNL.js} +3 -3
  31. package/dist/{chunk-RXWFZB3P.js → chunk-HZ7BKQH4.js} +1 -1
  32. package/dist/{chunk-E2DJ6TWB.js → chunk-J6M3QBZ4.js} +1 -2
  33. package/dist/{chunk-62RPMJXQ.js → chunk-KEUMMQXT.js} +3 -3
  34. package/dist/{chunk-XPIFUWWY.js → chunk-L5ZU6BDL.js} +9 -9
  35. package/dist/{chunk-LNTZH3UL.js → chunk-LDWLK3SO.js} +2 -2
  36. package/dist/{chunk-77RLQS5V.js → chunk-LJTQLJY7.js} +6 -6
  37. package/dist/{chunk-NBGBMZE4.js → chunk-LXZNM5VB.js} +1 -1
  38. package/dist/{chunk-KSSHEWPV.js → chunk-M2YIRI4M.js} +855 -522
  39. package/dist/{chunk-OLZVQCDX.js → chunk-MEWH2KP3.js} +1 -1
  40. package/dist/{chunk-4A7D2HWQ.js → chunk-MFQZ4YB2.js} +3 -3
  41. package/dist/{chunk-LVZ3UV7T.js → chunk-MTOTUOVL.js} +1 -1
  42. package/dist/{chunk-Q6FXWSN3.js → chunk-MTWLACRR.js} +5 -5
  43. package/dist/{chunk-YLJXRXPX.js → chunk-PGWNGQNM.js} +1 -1
  44. package/dist/{chunk-PNZN656P.js → chunk-RHJC4BFN.js} +1 -1
  45. package/dist/{chunk-KCNL7KX2.js → chunk-SKMSAH7E.js} +5 -5
  46. package/dist/{chunk-HN76DIHX.js → chunk-SKTLYF3W.js} +3 -3
  47. package/dist/{chunk-GBCQ3KHH.js → chunk-T3E7R6RM.js} +2 -2
  48. package/dist/{chunk-ZEHCE7ZE.js → chunk-TE6GQJRW.js} +1 -1
  49. package/dist/{chunk-P2UH4EBF.js → chunk-U3YQTCAX.js} +413 -270
  50. package/dist/{chunk-MITBH4LH.js → chunk-UXR7PP74.js} +1 -1
  51. package/dist/{chunk-ZHOPDD7U.js → chunk-V4ALUVM7.js} +2 -2
  52. package/dist/{chunk-GQA54433.js → chunk-VK27VYPT.js} +2 -2
  53. package/dist/{chunk-FYPVUT27.js → chunk-VRJKRJLT.js} +1 -1
  54. package/dist/{chunk-JNGKTJ7L.js → chunk-VSF7YDGF.js} +5 -5
  55. package/dist/{chunk-JO2FOEZE.js → chunk-W4KFRTFB.js} +2 -2
  56. package/dist/{chunk-VTJ5MGGC.js → chunk-XLZOJPOD.js} +3 -3
  57. package/dist/{chunk-2QFRAMJX.js → chunk-XXSTLXIV.js} +1 -1
  58. package/dist/{chunk-G62P3EFL.js → chunk-YFOZG7QW.js} +3 -3
  59. package/dist/{chunk-MZ2OOMOT.js → chunk-YHBRCUSH.js} +1 -1
  60. package/dist/{chunk-IHPJFMSV.js → chunk-YVCZDPEY.js} +2 -2
  61. package/dist/{chunk-QK43VKE4.js → chunk-YXEI5FEI.js} +7 -7
  62. package/dist/{chunk-XGJXLITW.js → chunk-Z4VSLXAS.js} +1 -1
  63. package/dist/{claude-launcher-HW5YVYWR.js → claude-launcher-B3E7YQ7I.js} +1 -1
  64. package/dist/{cli-K62CS6XW.js → cli-EP4ERRKA.js} +114 -114
  65. package/dist/{command-EG54FHMR.js → command-W3QDOBVS.js} +32 -32
  66. package/dist/{config-CZJINZN5.js → config-4AL4H4O6.js} +6 -6
  67. package/dist/{connect-cmd-4ZEF4WNR.js → connect-cmd-KLQSLHOG.js} +5 -5
  68. package/dist/{container-start-JBYD2XG4.js → container-start-LQH2INFF.js} +30 -30
  69. package/dist/{context-show-cmd-JYV7RKMC.js → context-show-cmd-BTLIXLYY.js} +6 -6
  70. package/dist/{control-plane-launch-HLFLGLW6.js → control-plane-launch-VPATGJOX.js} +5 -5
  71. package/dist/{demo-record-cmd-MDPZD53Q.js → demo-record-cmd-THSOAV2Z.js} +2 -2
  72. package/dist/{demo-voice-cmd-4JEXQP4I.js → demo-voice-cmd-WZTG4EOA.js} +11 -11
  73. package/dist/{docker-F4S3PBPD.js → docker-RZSABDTP.js} +4 -4
  74. package/dist/{doctor-MXWODPPL.js → doctor-3DZ6WX3N.js} +32 -32
  75. package/dist/{emit-artifact-cmd-QDYKKQT5.js → emit-artifact-cmd-LSOMCAWB.js} +10 -10
  76. package/dist/{emit-criteria-cmd-OCLNKIL4.js → emit-criteria-cmd-QGXJEVQQ.js} +7 -7
  77. package/dist/{emit-demo-cmd-RO3OXK4U.js → emit-demo-cmd-DQBIIGD3.js} +11 -11
  78. package/dist/{emit-finding-cmd-M4OKFZPF.js → emit-finding-cmd-Q2AVCU7I.js} +7 -7
  79. package/dist/{emit-result-cmd-CUTNYSOQ.js → emit-result-cmd-UCIWLIXJ.js} +9 -9
  80. package/dist/{emit-step-cmd-SY54AQYM.js → emit-step-cmd-M2EUH4MC.js} +7 -7
  81. package/dist/{exec-client-3ZVMZRZD.js → exec-client-CACFKEHG.js} +3 -3
  82. package/dist/{find-unit-5ALT2LU3.js → find-unit-5MZ7BHRD.js} +8 -8
  83. package/dist/{findings-cmd-246XYZSE.js → findings-cmd-DLJSGR2Z.js} +7 -7
  84. package/dist/{fleet-readiness-SOSSKSII.js → fleet-readiness-BXCAJXUJ.js} +5 -5
  85. package/dist/{governing-source-2UXHLXCS.js → governing-source-LWLFMQ2W.js} +9 -9
  86. package/dist/{guest-init-ZNSEHMXA.js → guest-init-TJQFOKPW.js} +4 -4
  87. package/dist/{hook-fast-27GO6BM2.js → hook-fast-5BMJYJBP.js} +1 -1
  88. package/dist/{host-checks-RK5TC3TX.js → host-checks-NZEMJCEM.js} +28 -28
  89. package/dist/{pending-625SL7WI.js → host-key-5ZQYRJ4E.js} +3 -3
  90. package/dist/{image-tag-WQB5HVLI.js → image-tag-JSSECZZE.js} +3 -3
  91. package/dist/index.js +4 -4
  92. package/dist/{init-CSWMBTTM.js → init-334GEUWV.js} +28 -28
  93. package/dist/{init-GH74PR4K.js → init-MSMRHTHS.js} +28 -28
  94. package/dist/{init-agent-54VT3S3Z.js → init-agent-CMZKNDGD.js} +28 -28
  95. package/dist/{init-cmd-AIUYATFU.js → init-cmd-L5XCJGZE.js} +10 -10
  96. package/dist/{init-update-BIHC42CB.js → init-update-SQEBAU2E.js} +8 -8
  97. package/dist/{install-cmd-YMPTGHE4.js → install-cmd-MFPQWUDC.js} +5 -5
  98. package/dist/{logs-HIXNEXBT.js → logs-F3IASZEW.js} +2 -2
  99. package/dist/{loop-P7NDQS3G.js → loop-6HY663IL.js} +37 -37
  100. package/dist/{machine-UEW4P7I6.js → machine-XIKOX7WS.js} +28 -28
  101. package/dist/{mcp-serve-cmd-4EGVZBCK.js → mcp-serve-cmd-KIP3JUYE.js} +4 -4
  102. package/dist/{paths-AGOA7QX6.js → paths-HU7EYF2U.js} +2 -2
  103. package/dist/{host-key-ZRJ4CGFC.js → pending-WNHJ5I2H.js} +3 -3
  104. package/dist/{pidfile-H2DZIODT.js → pidfile-UYKW6PT2.js} +3 -3
  105. package/dist/{record-UHMPQIUU.js → record-UJ6R33UZ.js} +3 -3
  106. package/dist/{runner-env-YPIZG3VG.js → runner-env-NDXVB5YY.js} +8 -8
  107. package/dist/{runner-identity-RPRUONRJ.js → runner-identity-YXGTTBKA.js} +4 -4
  108. package/dist/{runner-key-PNZTLOK5.js → runner-key-CO6357IF.js} +28 -28
  109. package/dist/{session-sender-B526LNJ6.js → session-sender-YJDE2SEH.js} +10 -10
  110. package/dist/{spec-cmd-6TZVHED2.js → spec-cmd-V7JOMHZF.js} +8 -8
  111. package/dist/{state-ALHXVNOS.js → state-CG5CTXKH.js} +3 -3
  112. package/dist/{status-X7IK4XQU.js → status-3XYAF6ZY.js} +28 -28
  113. package/dist/{sync-cmd-NMWPCIFU.js → sync-cmd-RSSBSQXL.js} +9 -9
  114. package/dist/{update-steps-R7AQAO6R.js → update-steps-NCHAZ5KA.js} +29 -29
  115. package/dist/{watch-INJRAQRE.js → watch-FTHG5QVH.js} +9 -9
  116. package/dist/{work-claim-cmd-YE4MVGZH.js → work-claim-cmd-7MLYX5OA.js} +13 -13
  117. package/dist/{work-cmd-6JUZHKXN.js → work-cmd-WVRZ3ONW.js} +7 -7
  118. package/dist/{work-comment-cmd-KK7H6F67.js → work-comment-cmd-6AEA5UOR.js} +9 -9
  119. package/dist/{work-demo-cmd-32PXKPZK.js → work-demo-cmd-67SOL7WG.js} +7 -7
  120. package/dist/{work-logs-cmd-QYSBE2SP.js → work-logs-cmd-Y5VTLE6R.js} +7 -7
  121. package/dist/{work-open-pr-cmd-PSATZ2BK.js → work-open-pr-cmd-OVGDDLWM.js} +8 -8
  122. package/dist/{work-pr-cmd-BEYPR7TL.js → work-pr-cmd-Z5PB457N.js} +7 -7
  123. package/dist/{work-proofs-cmd-Y7WZNTI3.js → work-proofs-cmd-CAFCKTPD.js} +8 -8
  124. package/dist/{work-proofs-record-5DCQQT23.js → work-proofs-record-SYYCUSBA.js} +14 -14
  125. package/dist/{work-stop-cmd-MUSKJC5M.js → work-stop-cmd-CF4W4NXI.js} +7 -7
  126. package/package.json +5 -3
@@ -1,28 +1,28 @@
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-XPIFUWWY.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-L5ZU6BDL.js';
4
4
  import './chunk-A75ZPAOP.js';
5
- import { verifiedTrackerNames, TRACKERS } from './chunk-6BS4DDCY.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-BG3X4UPN.js';
6
6
  import './chunk-6MWBZHBW.js';
7
- import './chunk-GBCQ3KHH.js';
8
- import './chunk-XMIUPI5N.js';
7
+ import './chunk-T3E7R6RM.js';
8
+ import './chunk-3FVSLRXZ.js';
9
9
  import './chunk-P3KL3ZJF.js';
10
10
  import './chunk-GF4O3M23.js';
11
11
  import './chunk-THL7WJ3F.js';
12
- import './chunk-XGJXLITW.js';
12
+ import './chunk-Z4VSLXAS.js';
13
13
  import './chunk-VVZIFOAN.js';
14
14
  import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-TCWYLSE3.js';
15
15
  import './chunk-ZBPUHNUZ.js';
16
16
  import './chunk-A2LHHKTT.js';
17
17
  import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
18
18
  import './chunk-VV3Y32EV.js';
19
- import './chunk-FYPVUT27.js';
19
+ import './chunk-VRJKRJLT.js';
20
20
  import './chunk-HWVMRETT.js';
21
- import './chunk-MZ2OOMOT.js';
22
- import './chunk-RXWFZB3P.js';
23
- import './chunk-KSSHEWPV.js';
21
+ import './chunk-YHBRCUSH.js';
22
+ import './chunk-HZ7BKQH4.js';
23
+ import './chunk-M2YIRI4M.js';
24
24
  import './chunk-FV52S3JR.js';
25
- import { hookFiredMarkerPath, installedCliDistDir } from './chunk-MITBH4LH.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-UXR7PP74.js';
26
26
  import './chunk-545P7JY7.js';
27
27
  import './chunk-OV4XTV5M.js';
28
28
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
@@ -3817,7 +3817,7 @@ async function installMachineSkillsForSetup() {
3817
3817
  ` : "";
3818
3818
  }
3819
3819
  async function realConnectDepsForCwd() {
3820
- const { realConnectDeps } = await import('./connect-cmd-4ZEF4WNR.js');
3820
+ const { realConnectDeps } = await import('./connect-cmd-KLQSLHOG.js');
3821
3821
  const { resolveRepoIdentity } = await import('./dist-NEH3H3EL.js');
3822
3822
  return {
3823
3823
  ...realConnectDeps(),
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
3892
3892
  what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
3893
3893
  ).action(async (opts) => {
3894
3894
  if (opts.update || opts.dryRun) {
3895
- const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-BIHC42CB.js');
3896
- const { fleetReadiness } = await import('./fleet-readiness-SOSSKSII.js');
3895
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-SQEBAU2E.js');
3896
+ const { fleetReadiness } = await import('./fleet-readiness-BXCAJXUJ.js');
3897
3897
  const problem = updateFlagProblem(opts);
3898
3898
  if (problem !== void 0) {
3899
3899
  fail(problem);
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3944
3944
  if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
3945
3945
  `);
3946
3946
  }
3947
- const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-AIUYATFU.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3947
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-L5XCJGZE.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3948
3948
  if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
3949
3949
  else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
3950
3950
  return;
3951
3951
  }
3952
3952
  await installMachineSkillsForSetup();
3953
- const { runInitCommand } = await import('./init-cmd-AIUYATFU.js');
3953
+ const { runInitCommand } = await import('./init-cmd-L5XCJGZE.js');
3954
3954
  const code = await runInitCommand(
3955
3955
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3956
3956
  {
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3962
3962
  return { ok, text, detail };
3963
3963
  },
3964
3964
  runAgentSetup: async () => {
3965
- const { runAgentSetup } = await import('./agent-setup-DUE6IXPP.js');
3965
+ const { runAgentSetup } = await import('./agent-setup-JEUFYIPH.js');
3966
3966
  return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
3967
3967
  },
3968
3968
  runDoctorChecks: gatherDoctorChecks,
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3971
3971
  shellPath: process.env.SHELL,
3972
3972
  interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
3973
3973
  ask: async () => {
3974
- const { promptOnTerminal } = await import('./connect-cmd-4ZEF4WNR.js');
3974
+ const { promptOnTerminal } = await import('./connect-cmd-KLQSLHOG.js');
3975
3975
  const answer = await promptOnTerminal({
3976
3976
  message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
3977
3977
  options: [
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
4010
4010
  linkUrl.
4011
4011
  `
4012
4012
  ).action(async (opts) => {
4013
- const { runConnectCommand } = await import('./connect-cmd-4ZEF4WNR.js');
4013
+ const { runConnectCommand } = await import('./connect-cmd-KLQSLHOG.js');
4014
4014
  const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
4015
4015
  stdout: process.stdout,
4016
4016
  stderr: process.stderr
@@ -4088,7 +4088,7 @@ code is 1: revoke the token on /profile/security.
4088
4088
  else fail(found.reason);
4089
4089
  return;
4090
4090
  }
4091
- const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-NMWPCIFU.js');
4091
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-RSSBSQXL.js');
4092
4092
  try {
4093
4093
  const result = await runSync({
4094
4094
  url: opts.url,
@@ -4117,7 +4117,7 @@ code is 1: revoke the token on /profile/security.
4117
4117
  if (invokedCommandToken(argv) === "watch") {
4118
4118
  warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
4119
4119
  }
4120
- const { runWatch } = await import('./watch-INJRAQRE.js');
4120
+ const { runWatch } = await import('./watch-FTHG5QVH.js');
4121
4121
  await runWatch({ once: opts.once });
4122
4122
  });
4123
4123
  program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
@@ -4181,7 +4181,7 @@ code is 1: revoke the token on /profile/security.
4181
4181
  }
4182
4182
  });
4183
4183
  program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
4184
- const { runVmExec } = await import('./exec-client-3ZVMZRZD.js');
4184
+ const { runVmExec } = await import('./exec-client-CACFKEHG.js');
4185
4185
  const env = {};
4186
4186
  for (const entry of opts.env) {
4187
4187
  const eq = entry.indexOf("=");
@@ -4210,7 +4210,7 @@ code is 1: revoke the token on /profile/security.
4210
4210
  process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
4211
4211
  });
4212
4212
  program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
4213
- const { runSessionSender } = await import('./session-sender-B526LNJ6.js');
4213
+ const { runSessionSender } = await import('./session-sender-YJDE2SEH.js');
4214
4214
  try {
4215
4215
  await runSessionSender();
4216
4216
  } catch (err) {
@@ -4218,7 +4218,7 @@ code is 1: revoke the token on /profile/security.
4218
4218
  }
4219
4219
  });
4220
4220
  program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
4221
- const { realGuestHost, runGuestInit } = await import('./guest-init-ZNSEHMXA.js');
4221
+ const { realGuestHost, runGuestInit } = await import('./guest-init-TJQFOKPW.js');
4222
4222
  const { readFileSync: readFileSync3 } = await import('fs');
4223
4223
  try {
4224
4224
  runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
@@ -4227,7 +4227,7 @@ code is 1: revoke the token on /profile/security.
4227
4227
  }
4228
4228
  });
4229
4229
  program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
4230
- const { startBridgeForward } = await import('./bridge-UHNGV6DM.js');
4230
+ const { startBridgeForward } = await import('./bridge-POOKFVVM.js');
4231
4231
  try {
4232
4232
  await startBridgeForward(opts);
4233
4233
  } catch (err) {
@@ -4306,7 +4306,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4306
4306
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4307
4307
  return;
4308
4308
  }
4309
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-CUTNYSOQ.js');
4309
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-UCIWLIXJ.js');
4310
4310
  try {
4311
4311
  const result = await runEmitResult({
4312
4312
  name,
@@ -4357,7 +4357,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
4357
4357
  locally so it never uploads. One correction can retire several duplicates.
4358
4358
  `
4359
4359
  ).action(async (file, opts) => {
4360
- const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-QDYKKQT5.js');
4360
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-LSOMCAWB.js');
4361
4361
  let pr;
4362
4362
  if (opts.pr !== void 0) {
4363
4363
  pr = parseTrackerNumber(opts.pr);
@@ -4413,7 +4413,7 @@ its criterion, and the new record retires the old record. The id must be the ite
4413
4413
  as \`work demo --item <n> --json\` prints it.
4414
4414
  `
4415
4415
  ).action(async (manifest, opts) => {
4416
- const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-RO3OXK4U.js');
4416
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-DQBIIGD3.js');
4417
4417
  let item;
4418
4418
  if (opts.item !== void 0) {
4419
4419
  item = parseTrackerNumber(opts.item);
@@ -4456,7 +4456,7 @@ as \`work demo --item <n> --json\` prints it.
4456
4456
  }
4457
4457
  });
4458
4458
  program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
4459
- const { runDemoVoice } = await import('./demo-voice-cmd-4JEXQP4I.js');
4459
+ const { runDemoVoice } = await import('./demo-voice-cmd-WZTG4EOA.js');
4460
4460
  await runDemoVoice();
4461
4461
  });
4462
4462
  const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
@@ -4474,7 +4474,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
4474
4474
  to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
4475
4475
  `
4476
4476
  ).action(async (file, opts) => {
4477
- const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-MDPZD53Q.js');
4477
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-THSOAV2Z.js');
4478
4478
  try {
4479
4479
  const result = await runDemoRecord({
4480
4480
  file,
@@ -4523,7 +4523,7 @@ recent events with their ids. --find <text> searches all of them.
4523
4523
  item that session was launched for is used automatically.
4524
4524
  `
4525
4525
  ).action(async (opts) => {
4526
- const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-M4OKFZPF.js');
4526
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-Q2AVCU7I.js');
4527
4527
  try {
4528
4528
  refuseRemovedFindingFlags(opts);
4529
4529
  const result = await runEmitFinding({
@@ -4590,7 +4590,7 @@ the whole batch. "untimed": true records one with no time on purpose.
4590
4590
  that session was launched for is used automatically.
4591
4591
  `
4592
4592
  ).action(async (file, opts) => {
4593
- const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-M4OKFZPF.js');
4593
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-Q2AVCU7I.js');
4594
4594
  try {
4595
4595
  const result = await runEmitFindings({
4596
4596
  file,
@@ -4625,7 +4625,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
4625
4625
  the step, the command prints why and exits 1.
4626
4626
  `
4627
4627
  ).action(async (name, opts) => {
4628
- const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-SY54AQYM.js');
4628
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-M2EUH4MC.js');
4629
4629
  try {
4630
4630
  await runEmitStep({
4631
4631
  name,
@@ -4668,7 +4668,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
4668
4668
  ${cliInvocation()} emit criteria acceptance/412-login.md --item 412
4669
4669
  `
4670
4670
  ).action(async (file, opts) => {
4671
- const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-OCLNKIL4.js');
4671
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-QGXJEVQQ.js');
4672
4672
  try {
4673
4673
  const result = await runEmitCriteria({
4674
4674
  file,
@@ -4692,9 +4692,9 @@ function registerSpecCommands(program2) {
4692
4692
  const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
4693
4693
  const credentialOptions = (command) => command.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)");
4694
4694
  const run = async (action) => {
4695
- const { WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4695
+ const { WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4696
4696
  try {
4697
- await action(await import('./spec-cmd-6TZVHED2.js'));
4697
+ await action(await import('./spec-cmd-V7JOMHZF.js'));
4698
4698
  } catch (err) {
4699
4699
  if (err instanceof WorkCommandError) {
4700
4700
  fail(err.message);
@@ -4729,7 +4729,7 @@ Prints each problem the item covers with its id, its reports and its result.
4729
4729
  session was launched for is used.
4730
4730
  `
4731
4731
  ).action(async (opts) => {
4732
- const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-246XYZSE.js');
4732
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-DLJSGR2Z.js');
4733
4733
  try {
4734
4734
  const result = await runFindingsShow({
4735
4735
  item: opts.item,
@@ -4757,7 +4757,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
4757
4757
  problem to replace the earlier result. A problem the item does not cover is refused.
4758
4758
  `
4759
4759
  ).action(async (problem, opts) => {
4760
- const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-246XYZSE.js');
4760
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-DLJSGR2Z.js');
4761
4761
  try {
4762
4762
  const result = await runFindingsResult({
4763
4763
  problem,
@@ -4800,7 +4800,7 @@ takes it, and prints the line that starts your session on it. That
4800
4800
  session links itself and holds the item's lease while it works.
4801
4801
  `
4802
4802
  ).action(async (opts) => {
4803
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4803
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4804
4804
  try {
4805
4805
  await runWorkBuild(opts);
4806
4806
  } catch (err) {
@@ -4823,7 +4823,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4823
4823
  --ended is given, or another worker already holds a live one.
4824
4824
  `
4825
4825
  ).action(async (number, opts) => {
4826
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4826
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4827
4827
  try {
4828
4828
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4829
4829
  } catch (err) {
@@ -4854,8 +4854,8 @@ thread at its source. It takes a plain answer: no --criterion and no
4854
4854
  action flag.
4855
4855
  `
4856
4856
  ).action(async (opts) => {
4857
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-KK7H6F67.js');
4858
- const { WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4857
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-6AEA5UOR.js');
4858
+ const { WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4859
4859
  try {
4860
4860
  await runWorkComment(opts);
4861
4861
  } catch (err) {
@@ -4877,7 +4877,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4877
4877
  and the comment waits for the next agent job.
4878
4878
  `
4879
4879
  ).action(async (ids, opts) => {
4880
- const { runWorkCommentsRead } = await import('./work-comment-cmd-KK7H6F67.js');
4880
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-6AEA5UOR.js');
4881
4881
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4882
4882
  });
4883
4883
  workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").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)").addHelpText(
@@ -4893,8 +4893,8 @@ that started outside OuterLayer, such as the line comments of a
4893
4893
  GitHub review, each with its id, source and comments.
4894
4894
  `
4895
4895
  ).action(async (opts) => {
4896
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-KK7H6F67.js');
4897
- const { WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4896
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-6AEA5UOR.js');
4897
+ const { WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4898
4898
  try {
4899
4899
  await runWorkThreads(opts);
4900
4900
  } catch (err) {
@@ -4918,8 +4918,8 @@ still running, or that an older runner released, has no log and the
4918
4918
  command exits 1.
4919
4919
  `
4920
4920
  ).action(async (opts) => {
4921
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-QYSBE2SP.js');
4922
- const { WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4921
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-Y5VTLE6R.js');
4922
+ const { WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4923
4923
  try {
4924
4924
  await runWorkLogs(opts);
4925
4925
  } catch (err) {
@@ -4942,8 +4942,8 @@ item is not built again until a new build request. Exits 1 when no host
4942
4942
  build is running for the item.
4943
4943
  `
4944
4944
  ).action(async (opts) => {
4945
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-MUSKJC5M.js');
4946
- const { WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4945
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-CF4W4NXI.js');
4946
+ const { WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4947
4947
  try {
4948
4948
  await runWorkStop(opts);
4949
4949
  } catch (err) {
@@ -4964,8 +4964,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
4964
4964
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
4965
4965
  `
4966
4966
  ).action(async (opts) => {
4967
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-32PXKPZK.js');
4968
- const { WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4967
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-67SOL7WG.js');
4968
+ const { WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4969
4969
  try {
4970
4970
  await runWorkDemo(opts);
4971
4971
  } catch (err) {
@@ -4986,7 +4986,7 @@ deletes anything \u2014 the item is removed from Work only once no
4986
4986
  live addition remains on it.
4987
4987
  `
4988
4988
  ).action(async (opts) => {
4989
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
4989
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
4990
4990
  try {
4991
4991
  await runWorkRemove(opts);
4992
4992
  } catch (err) {
@@ -4998,7 +4998,7 @@ live addition remains on it.
4998
4998
  }
4999
4999
  });
5000
5000
  workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").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) => {
5001
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
5001
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
5002
5002
  try {
5003
5003
  await runWorkStatus(opts);
5004
5004
  } catch (err) {
@@ -5046,11 +5046,11 @@ stops at once if a tracked file differs from HEAD.
5046
5046
  fail(trackerNumberError("--pr", opts.pr));
5047
5047
  return;
5048
5048
  }
5049
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-Y7WZNTI3.js');
5049
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-CAFCKTPD.js');
5050
5050
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5051
5051
  });
5052
5052
  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) => {
5053
- const { runWorkList, WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
5053
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
5054
5054
  try {
5055
5055
  await runWorkList(opts);
5056
5056
  } catch (err) {
@@ -5071,7 +5071,7 @@ by a different key is refused; claiming again with the same key extends
5071
5071
  it. --host is a label only.
5072
5072
  `
5073
5073
  ).action(async (opts) => {
5074
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-YE4MVGZH.js');
5074
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-7MLYX5OA.js');
5075
5075
  try {
5076
5076
  await runWorkClaim(opts);
5077
5077
  } catch (err) {
@@ -5091,7 +5091,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5091
5091
  lease has expired, or a 403 if a different key holds it.
5092
5092
  `
5093
5093
  ).action(async (opts) => {
5094
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-YE4MVGZH.js');
5094
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-7MLYX5OA.js');
5095
5095
  try {
5096
5096
  await runWorkRenew(opts);
5097
5097
  } catch (err) {
@@ -5123,7 +5123,7 @@ applies to a host's lease only. A later tool call in the session
5123
5123
  takes the lease again.
5124
5124
  `
5125
5125
  ).action(async (opts) => {
5126
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-YE4MVGZH.js');
5126
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-7MLYX5OA.js');
5127
5127
  try {
5128
5128
  await runWorkRelease(opts);
5129
5129
  } catch (err) {
@@ -5150,7 +5150,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5150
5150
  needs your own login; an agent session or a factory key is refused.
5151
5151
  `
5152
5152
  ).action(async (number, opts) => {
5153
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-BEYPR7TL.js');
5153
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-Z5PB457N.js');
5154
5154
  try {
5155
5155
  await runWorkPr({ ...opts, number });
5156
5156
  } catch (err) {
@@ -5175,8 +5175,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5175
5175
  Run it again after a change to the title or description.
5176
5176
  `
5177
5177
  ).action(async (opts) => {
5178
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-PSATZ2BK.js');
5179
- const { WorkCommandError } = await import('./work-cmd-6JUZHKXN.js');
5178
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-OVGDDLWM.js');
5179
+ const { WorkCommandError } = await import('./work-cmd-WVRZ3ONW.js');
5180
5180
  try {
5181
5181
  await runWorkOpenPr(opts);
5182
5182
  } catch (err) {
@@ -5208,9 +5208,9 @@ function registerRunnerCommands(program2) {
5208
5208
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5209
5209
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5210
5210
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5211
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-CZJINZN5.js');
5212
- const { start, RunnerStartError } = await import('./loop-P7NDQS3G.js');
5213
- const { RunnerAlreadyRunningError } = await import('./pidfile-H2DZIODT.js');
5211
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4AL4H4O6.js');
5212
+ const { start, RunnerStartError } = await import('./loop-6HY663IL.js');
5213
+ const { RunnerAlreadyRunningError } = await import('./pidfile-UYKW6PT2.js');
5214
5214
  const configPath = opts.config ?? defaultRunnerConfigPath();
5215
5215
  try {
5216
5216
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5232,10 +5232,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5232
5232
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5233
5233
  `
5234
5234
  ).action(async () => {
5235
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-CZJINZN5.js');
5236
- const { containerStart, containerStartExit } = await import('./container-start-JBYD2XG4.js');
5237
- const { start, RunnerStartError } = await import('./loop-P7NDQS3G.js');
5238
- const { RunnerAlreadyRunningError } = await import('./pidfile-H2DZIODT.js');
5235
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4AL4H4O6.js');
5236
+ const { containerStart, containerStartExit } = await import('./container-start-LQH2INFF.js');
5237
+ const { start, RunnerStartError } = await import('./loop-6HY663IL.js');
5238
+ const { RunnerAlreadyRunningError } = await import('./pidfile-UYKW6PT2.js');
5239
5239
  try {
5240
5240
  const outcome = containerStartExit(await containerStart({
5241
5241
  env: process.env,
@@ -5256,16 +5256,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5256
5256
  "after",
5257
5257
  "\nIn the runner image, run it with `docker exec <container> outerlayer runner update-steps`. It reads the\ncontainer with `docker inspect` and changes nothing. The steps rename the old container and never remove it\nbefore the new one runs. They name the container's variables and never print a value.\n"
5258
5258
  ).action(async (opts) => {
5259
- const { defaultRunnerConfigPath } = await import('./config-CZJINZN5.js');
5260
- const { runnerDir } = await import('./paths-AGOA7QX6.js');
5261
- const { runUpdateSteps } = await import('./update-steps-R7AQAO6R.js');
5259
+ const { defaultRunnerConfigPath } = await import('./config-4AL4H4O6.js');
5260
+ const { runnerDir } = await import('./paths-HU7EYF2U.js');
5261
+ const { runUpdateSteps } = await import('./update-steps-NCHAZ5KA.js');
5262
5262
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5263
5263
  process.stdout.write(`${text}
5264
5264
  `);
5265
5265
  });
5266
5266
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5267
- const { defaultRunnerConfigPath } = await import('./config-CZJINZN5.js');
5268
- const { runRunnerCheck } = await import('./check-PJ5FLDTD.js');
5267
+ const { defaultRunnerConfigPath } = await import('./config-4AL4H4O6.js');
5268
+ const { runRunnerCheck } = await import('./check-LYPMBZU5.js');
5269
5269
  const configPath = opts.config ?? defaultRunnerConfigPath();
5270
5270
  const result = await runRunnerCheck(configPath);
5271
5271
  if (!result.ok) {
@@ -5286,8 +5286,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5286
5286
  `);
5287
5287
  });
5288
5288
  runnerCmd.command("install").description("Put this CLI in the runner's install layout; --service adds its service").option("--config <path>", configOption).option("--service", "set up the service that keeps the runner running").option("--print", "with --service, print the unit and set up nothing").option("--user <account>", "with --service, the account the service runs as").option("--replace", "replace a unit or launcher file this command did not write").option("--allow-downgrade", "install this CLI even when it is older than the version the runner runs").option("--unit-name <name>", "with --service, the unit's name, to run a second runner beside the first").option("--build-memory-max <size>", "with --service, memory all builds may use together, such as 16g").option("--build-cpus-max <n>", "with --service, CPUs all builds may use together, such as 4").action(async (opts) => {
5289
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-CZJINZN5.js');
5290
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-YMPTGHE4.js');
5289
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4AL4H4O6.js');
5290
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-MFPQWUDC.js');
5291
5291
  const configPath = opts.config ?? defaultRunnerConfigPath();
5292
5292
  if (opts.service !== true) {
5293
5293
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5299,13 +5299,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5299
5299
  }
5300
5300
  }
5301
5301
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5302
- if (buildCpusMax !== void 0 && !(await import('./command-EG54FHMR.js')).cpusAreValid(buildCpusMax)) {
5302
+ if (buildCpusMax !== void 0 && !(await import('./command-W3QDOBVS.js')).cpusAreValid(buildCpusMax)) {
5303
5303
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5304
5304
  return;
5305
5305
  }
5306
5306
  try {
5307
5307
  if (opts.service === true) {
5308
- const { installServiceCommand } = await import('./command-EG54FHMR.js');
5308
+ const { installServiceCommand } = await import('./command-W3QDOBVS.js');
5309
5309
  const result2 = await installServiceCommand({
5310
5310
  configPath,
5311
5311
  print: opts.print,
@@ -5362,8 +5362,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5362
5362
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5363
5363
  return;
5364
5364
  }
5365
- const { defaultRunnerConfigPath } = await import('./config-CZJINZN5.js');
5366
- const { uninstallServiceCommand } = await import('./command-EG54FHMR.js');
5365
+ const { defaultRunnerConfigPath } = await import('./config-4AL4H4O6.js');
5366
+ const { uninstallServiceCommand } = await import('./command-W3QDOBVS.js');
5367
5367
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5368
5368
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5369
5369
  `);
@@ -5393,12 +5393,12 @@ already in ${words().envFile} is used.
5393
5393
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5394
5394
  `
5395
5395
  ).action(async (opts) => {
5396
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-CZJINZN5.js');
5397
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-CSWMBTTM.js');
5398
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-PNZTLOK5.js');
5399
- const { detectMachine } = await import('./machine-UEW4P7I6.js');
5400
- const { chooseVm, runVmInit, VmInitError } = await import('./init-GH74PR4K.js');
5401
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-YPIZG3VG.js');
5396
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4AL4H4O6.js');
5397
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-334GEUWV.js');
5398
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-CO6357IF.js');
5399
+ const { detectMachine } = await import('./machine-XIKOX7WS.js');
5400
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-MSMRHTHS.js');
5401
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-NDXVB5YY.js');
5402
5402
  const { headlessNames } = await import('./runner-agents-QJCL4MO3.js');
5403
5403
  const configPath = opts.config ?? defaultRunnerConfigPath();
5404
5404
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
@@ -5411,7 +5411,7 @@ already in ${words().envFile} is used.
5411
5411
  return;
5412
5412
  }
5413
5413
  try {
5414
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-54VT3S3Z.js');
5414
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-CMZKNDGD.js');
5415
5415
  agent = await initAgent({
5416
5416
  flag: agent,
5417
5417
  handOff: opts.configStdin === true,
@@ -5443,7 +5443,7 @@ already in ${words().envFile} is used.
5443
5443
  const chunks = [];
5444
5444
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5445
5445
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5446
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-ZRJ4CGFC.js');
5446
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-5ZQYRJ4E.js');
5447
5447
  const hostKey2 = await ensureHostKey2(configPath);
5448
5448
  process.stdout.write(`host key ${hostKey2.fingerprint}
5449
5449
  hooks: ${result2.hooks}
@@ -5498,7 +5498,7 @@ hooks: ${result2.hooks}
5498
5498
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5499
5499
  const created = makeKey === void 0 ? void 0 : await makeKey();
5500
5500
  const result = writeRunnerInit(prepared, created);
5501
- const { ensureHostKey } = await import('./host-key-ZRJ4CGFC.js');
5501
+ const { ensureHostKey } = await import('./host-key-5ZQYRJ4E.js');
5502
5502
  const hostKey = await ensureHostKey(configPath);
5503
5503
  if (created !== void 0) {
5504
5504
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5518,7 +5518,7 @@ hooks: ${result2.hooks}
5518
5518
  );
5519
5519
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5520
5520
  `);
5521
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-YMPTGHE4.js');
5521
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-MFPQWUDC.js');
5522
5522
  let installedLayout = false;
5523
5523
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5524
5524
  try {
@@ -5550,7 +5550,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5550
5550
  let serviceUp = false;
5551
5551
  let restart;
5552
5552
  if (installedLayout) {
5553
- const { installServiceCommand } = await import('./command-EG54FHMR.js');
5553
+ const { installServiceCommand } = await import('./command-W3QDOBVS.js');
5554
5554
  const service = await installServiceCommand({
5555
5555
  configPath,
5556
5556
  entryPath: process.argv[1] ?? "",
@@ -5602,12 +5602,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5602
5602
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5603
5603
  `
5604
5604
  ).action(async (opts) => {
5605
- const { defaultRunnerConfigPath } = await import('./config-CZJINZN5.js');
5606
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-ALG3MYX2.js');
5605
+ const { defaultRunnerConfigPath } = await import('./config-4AL4H4O6.js');
5606
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-L2I4A2E6.js');
5607
5607
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5608
- const { createDockerHost } = await import('./docker-F4S3PBPD.js');
5609
- const { builderSpec } = await import('./builder-4LK2FDCX.js');
5610
- const { loadRunnerConfig } = await import('./config-CZJINZN5.js');
5608
+ const { createDockerHost } = await import('./docker-RZSABDTP.js');
5609
+ const { builderSpec } = await import('./builder-MV5A5KOW.js');
5610
+ const { loadRunnerConfig } = await import('./config-4AL4H4O6.js');
5611
5611
  const configPath = opts.config ?? defaultRunnerConfigPath();
5612
5612
  const loaded = (() => {
5613
5613
  try {
@@ -5618,12 +5618,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5618
5618
  })();
5619
5619
  const memory = loaded?.build?.memory ?? "8g";
5620
5620
  try {
5621
- const { ensureRunnerIdentity } = await import('./runner-identity-RPRUONRJ.js');
5621
+ const { ensureRunnerIdentity } = await import('./runner-identity-YXGTTBKA.js');
5622
5622
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5623
5623
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5624
5624
  });
5625
- const { imageTargetFor } = await import('./governing-source-2UXHLXCS.js');
5626
- const { runnerCalls } = await import('./caller-JQC4VW36.js');
5625
+ const { imageTargetFor } = await import('./governing-source-LWLFMQ2W.js');
5626
+ const { runnerCalls } = await import('./caller-XIG74H56.js');
5627
5627
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5628
5628
  if (!target.ok) {
5629
5629
  if (opts.json) {
@@ -5687,25 +5687,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5687
5687
  }
5688
5688
  });
5689
5689
  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) => {
5690
- const { defaultRunnerConfigPath } = await import('./config-CZJINZN5.js');
5691
- const { requestStop } = await import('./loop-P7NDQS3G.js');
5690
+ const { defaultRunnerConfigPath } = await import('./config-4AL4H4O6.js');
5691
+ const { requestStop } = await import('./loop-6HY663IL.js');
5692
5692
  const configPath = opts.config ?? defaultRunnerConfigPath();
5693
- const { runnerImageVersion } = await import('./image-tag-WQB5HVLI.js');
5693
+ const { runnerImageVersion } = await import('./image-tag-JSSECZZE.js');
5694
5694
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5695
5695
  });
5696
5696
  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) => {
5697
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-CZJINZN5.js');
5698
- const { jobsDir, runnerDir } = await import('./paths-AGOA7QX6.js');
5699
- const { listJobFiles, runnerProcessState } = await import('./loop-P7NDQS3G.js');
5700
- const { renderStatus } = await import('./status-X7IK4XQU.js');
5701
- const { readHousekeepingRecord } = await import('./record-UHMPQIUU.js');
5697
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-4AL4H4O6.js');
5698
+ const { jobsDir, runnerDir } = await import('./paths-HU7EYF2U.js');
5699
+ const { listJobFiles, runnerProcessState } = await import('./loop-6HY663IL.js');
5700
+ const { renderStatus } = await import('./status-3XYAF6ZY.js');
5701
+ const { readHousekeepingRecord } = await import('./record-UJ6R33UZ.js');
5702
5702
  const path2 = await import('path');
5703
5703
  const configPath = opts.config ?? defaultRunnerConfigPath();
5704
5704
  const all = listJobFiles(configPath);
5705
5705
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5706
- const { readPendingUpdate } = await import('./pending-625SL7WI.js');
5706
+ const { readPendingUpdate } = await import('./pending-WNHJ5I2H.js');
5707
5707
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5708
- const { readImageStatus } = await import('./image-tag-WQB5HVLI.js');
5708
+ const { readImageStatus } = await import('./image-tag-JSSECZZE.js');
5709
5709
  const image = readImageStatus(runnerDir(configPath));
5710
5710
  let host = "unknown";
5711
5711
  let concurrency = 1;
@@ -5715,7 +5715,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5715
5715
  host = config.host;
5716
5716
  concurrency = config.concurrency;
5717
5717
  if (config.fleet === true) {
5718
- const { readFleetState } = await import('./state-ALHXVNOS.js');
5718
+ const { readFleetState } = await import('./state-CG5CTXKH.js');
5719
5719
  fleet = { state: readFleetState(configPath) };
5720
5720
  }
5721
5721
  } catch {
@@ -5723,7 +5723,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5723
5723
  const processState = runnerProcessState(configPath);
5724
5724
  const service = await (async () => {
5725
5725
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5726
- const { inspectRunnerService } = await import('./find-unit-5ALT2LU3.js');
5726
+ const { inspectRunnerService } = await import('./find-unit-5MZ7BHRD.js');
5727
5727
  const facts = inspectRunnerService(configPath);
5728
5728
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5729
5729
  })();
@@ -5762,9 +5762,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5762
5762
  );
5763
5763
  });
5764
5764
  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) => {
5765
- const { defaultRunnerConfigPath } = await import('./config-CZJINZN5.js');
5766
- const { listJobFiles } = await import('./loop-P7NDQS3G.js');
5767
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-HIXNEXBT.js');
5765
+ const { defaultRunnerConfigPath } = await import('./config-4AL4H4O6.js');
5766
+ const { listJobFiles } = await import('./loop-6HY663IL.js');
5767
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-F3IASZEW.js');
5768
5768
  const configPath = opts.config ?? defaultRunnerConfigPath();
5769
5769
  const jobs = listJobFiles(configPath);
5770
5770
  const selected = selectAttempt(jobs, itemArg);
@@ -6007,7 +6007,7 @@ caller from the bearer token, the gateway answers 401 without that header.
6007
6007
  "after",
6008
6008
  "\nWhat the stdio .mcp.json entry spawns. Reads newline-delimited JSON-RPC 2.0 on\nstdin and writes responses on stdout. The API key comes from OUTERLAYER_API_KEY\nor ~/.outerlayer/config.json at start-up; with neither the command exits 1 and\nprints why, which the MCP client shows as the connect error.\n"
6009
6009
  ).action(async (opts) => {
6010
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-4EGVZBCK.js');
6010
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-KIP3JUYE.js');
6011
6011
  try {
6012
6012
  await runMcpServe({ url: opts.url, appId: opts.appId });
6013
6013
  } catch (err) {
@@ -6028,7 +6028,7 @@ would get, the instruction files and the names of the skills. It warns when the
6028
6028
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6029
6029
  `
6030
6030
  ).action(async (opts) => {
6031
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-JYV7RKMC.js');
6031
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-BTLIXLYY.js');
6032
6032
  try {
6033
6033
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6034
6034
  process.stdout.write(result.output);