@outerlayer/cli 0.36.0-next.20261103103134 → 0.36.0-next.20261103181718

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 (165) hide show
  1. package/dist/{agent-setup-DZZZH3SE.js → agent-setup-WV4Y2HGG.js} +18 -18
  2. package/dist/{agent-subcommand-WRHH6SRD.js → agent-subcommand-RQCLWP3A.js} +3 -3
  3. package/dist/{bridge-GZSZQGLI.js → bridge-NFSJ4IBQ.js} +6 -6
  4. package/dist/{build-UKZ5RPRR.js → build-RGO3EWJD.js} +12 -12
  5. package/dist/{build-disk-3HOXULLP.js → build-disk-NYYBJGBH.js} +10 -10
  6. package/dist/build-info.json +1 -1
  7. package/dist/{builder-QEK4GIRY.js → builder-HT3CV5ZZ.js} +9 -9
  8. package/dist/caller-D4ZZWA6I.js +23 -0
  9. package/dist/{check-D6NMQ6LP.js → check-4T4FDFLZ.js} +56 -54
  10. package/dist/{chunk-LDKF6B2R.js → chunk-22JLORO6.js} +3 -3
  11. package/dist/{chunk-K26KMWU4.js → chunk-2P532NZM.js} +7 -7
  12. package/dist/{chunk-NMMGRG5V.js → chunk-2VWYPY62.js} +4 -4
  13. package/dist/{chunk-B5VKRKLJ.js → chunk-3JYR5R57.js} +1 -1
  14. package/dist/{chunk-PDRWRFB2.js → chunk-4S564XTG.js} +3 -3
  15. package/dist/{chunk-SYKEQT63.js → chunk-5HMIMWRD.js} +17 -5
  16. package/dist/{chunk-L3SHPR2M.js → chunk-63KUYXOH.js} +1 -1
  17. package/dist/{chunk-VST3BWL4.js → chunk-63T2OTPO.js} +11 -10
  18. package/dist/{chunk-42X6CTBI.js → chunk-6BGE2CZB.js} +3 -3
  19. package/dist/{chunk-JMM3L5RG.js → chunk-7A2OPME2.js} +4 -4
  20. package/dist/{chunk-QVOU2QUR.js → chunk-7HRNYPL3.js} +3 -3
  21. package/dist/{chunk-2JWLK2TU.js → chunk-7TPLWWFN.js} +1 -1
  22. package/dist/{chunk-P4Q6M6PI.js → chunk-7WZNTLNB.js} +1 -1
  23. package/dist/{chunk-LV4IDDD3.js → chunk-AWPGPPXP.js} +5 -5
  24. package/dist/{chunk-DWYQKLCL.js → chunk-AWY7ORQ2.js} +1 -1
  25. package/dist/{chunk-3XEYA3QF.js → chunk-BQUI64BU.js} +1 -1
  26. package/dist/{chunk-CDTBXABP.js → chunk-C6LAXUC7.js} +2 -2
  27. package/dist/{chunk-IEDO26G4.js → chunk-CFHM562L.js} +10 -3
  28. package/dist/{chunk-MPVTZLOM.js → chunk-CLFP2ZTG.js} +3 -3
  29. package/dist/{chunk-ZE2JJQPC.js → chunk-CMZTCXCA.js} +1 -1
  30. package/dist/{chunk-NH4EZRBM.js → chunk-CTBQN5KQ.js} +6 -6
  31. package/dist/{chunk-KHJPRTOW.js → chunk-DIL7U77P.js} +1 -1
  32. package/dist/{chunk-54ERDQ3O.js → chunk-E6ESLX5E.js} +32 -8
  33. package/dist/{chunk-R63T46P7.js → chunk-EZI2BLP6.js} +3 -3
  34. package/dist/{chunk-6J3QWXTA.js → chunk-F2UM3NDF.js} +4 -4
  35. package/dist/{chunk-6UI4ELNA.js → chunk-GTJLKBN7.js} +7 -7
  36. package/dist/{chunk-HO4DPX5N.js → chunk-H4H3KK25.js} +1 -1
  37. package/dist/{chunk-YEZGNCSK.js → chunk-H6T73OLF.js} +1 -1
  38. package/dist/{chunk-7UYXSF62.js → chunk-HBYFB3LK.js} +6 -7
  39. package/dist/{chunk-JD5EVW6Y.js → chunk-I5EZW66W.js} +4 -4
  40. package/dist/{chunk-EUWTGCK5.js → chunk-IKAGRGLY.js} +1 -1
  41. package/dist/{chunk-NQYTUVZR.js → chunk-IM4VUDKW.js} +1 -1
  42. package/dist/{chunk-BZQ3S24G.js → chunk-INT54Z2T.js} +1 -1
  43. package/dist/{chunk-GWJUEJR4.js → chunk-IRJ6EGQT.js} +7 -7
  44. package/dist/{chunk-WAGHPZP2.js → chunk-J3SICPA2.js} +1 -1
  45. package/dist/{chunk-GPBTTHK3.js → chunk-JJ63MLE5.js} +1 -1
  46. package/dist/{chunk-HQBKKYYQ.js → chunk-K3GCT2HL.js} +4 -4
  47. package/dist/{chunk-XW2KXLZB.js → chunk-K52TGQLV.js} +18 -18
  48. package/dist/{chunk-52Z7AOZ2.js → chunk-KYDKOYZD.js} +44 -27
  49. package/dist/{chunk-T5I2H7TJ.js → chunk-NE2A2ZIY.js} +1 -1
  50. package/dist/{chunk-HR4PJLOO.js → chunk-NFYXRAEV.js} +1 -1
  51. package/dist/{chunk-4MLH5MDB.js → chunk-OM3XGJBY.js} +5 -5
  52. package/dist/{chunk-U7MLC45I.js → chunk-ORBQ4QR7.js} +5 -5
  53. package/dist/{chunk-VMPVQE4D.js → chunk-PL2AGLJF.js} +2 -2
  54. package/dist/{chunk-J4NJWTNO.js → chunk-POTMAJPJ.js} +5 -5
  55. package/dist/{chunk-LXXP5HRJ.js → chunk-PTHBJDWK.js} +3 -3
  56. package/dist/{chunk-OGG5ELXF.js → chunk-QLZXFKGO.js} +4 -4
  57. package/dist/{chunk-FLQL6ZIG.js → chunk-QN4ABLRK.js} +1 -1
  58. package/dist/{chunk-OPEZVPF7.js → chunk-R4LXONKC.js} +3 -3
  59. package/dist/{chunk-EHS3HEB6.js → chunk-RGSQHTO4.js} +3 -3
  60. package/dist/{chunk-KVO4MJWS.js → chunk-RY5QFTXJ.js} +6 -6
  61. package/dist/{chunk-U6EACUUG.js → chunk-RYSGOWHG.js} +16 -3
  62. package/dist/{chunk-54PQNYA7.js → chunk-S7YLAN2P.js} +2 -2
  63. package/dist/{chunk-PYK6GCCU.js → chunk-SIVZITLG.js} +5 -5
  64. package/dist/{chunk-BEJJJZXF.js → chunk-SR6SXYM4.js} +3 -3
  65. package/dist/{chunk-4MN4BBKZ.js → chunk-SWUPSLNV.js} +7 -7
  66. package/dist/{chunk-2SBNZ4EC.js → chunk-T3MVV6LG.js} +1 -1
  67. package/dist/{chunk-IEVARJ6G.js → chunk-UD6I7QJJ.js} +2 -2
  68. package/dist/{chunk-B5UBTIIP.js → chunk-UT4SX57J.js} +4 -4
  69. package/dist/{chunk-LISVY7JZ.js → chunk-UVKPDGLM.js} +7 -7
  70. package/dist/{chunk-YCBVYTFI.js → chunk-V227E7UX.js} +1 -1
  71. package/dist/{chunk-DEZSNJSE.js → chunk-W72X24TZ.js} +1 -1
  72. package/dist/{chunk-2W5C47AE.js → chunk-WGLYAMVK.js} +1 -1
  73. package/dist/{chunk-K373UCEV.js → chunk-WSZZKMXF.js} +1 -1
  74. package/dist/{chunk-TWGSXBZM.js → chunk-WTKCAALP.js} +3 -3
  75. package/dist/{chunk-NOLS2G2W.js → chunk-WWTZLRPH.js} +8 -0
  76. package/dist/{chunk-ZZ4WIQRF.js → chunk-WZ5YJJMP.js} +12 -9
  77. package/dist/{chunk-UZSMDU4U.js → chunk-X2B7ILTH.js} +2 -2
  78. package/dist/{chunk-S7YU25AF.js → chunk-XKM7KCUJ.js} +31 -31
  79. package/dist/{chunk-XAMTNTOH.js → chunk-YVRJDMDL.js} +9 -9
  80. package/dist/{chunk-NDCN3R5C.js → chunk-ZKJGZQ63.js} +3 -3
  81. package/dist/{claude-launcher-CPSCSL6U.js → claude-launcher-KQHWKYRL.js} +6 -6
  82. package/dist/{cli-TZW5XJRE.js → cli-BM7CAJFW.js} +159 -143
  83. package/dist/{command-5VOKN4HI.js → command-ZIVI5DQK.js} +48 -48
  84. package/dist/{config-23EBIGW4.js → config-W4OY2JNP.js} +11 -11
  85. package/dist/{connect-cmd-GEBIOBQQ.js → connect-cmd-2O2GGNAY.js} +10 -10
  86. package/dist/{container-start-NJGGT4E3.js → container-start-CRUUG57V.js} +46 -46
  87. package/dist/{context-cleanup-I7FLIV5A.js → context-cleanup-2SPOGEZR.js} +3 -3
  88. package/dist/{context-show-cmd-CSPMSRHX.js → context-show-cmd-LAK6CYZT.js} +11 -11
  89. package/dist/{control-plane-launch-KC7NUNYQ.js → control-plane-launch-N7FFBGPD.js} +13 -13
  90. package/dist/{demo-record-cmd-ZW6U2LAV.js → demo-record-cmd-335YZIXU.js} +7 -7
  91. package/dist/{demo-voice-cmd-IDW3QX3E.js → demo-voice-cmd-LVODULO2.js} +18 -18
  92. package/dist/{docker-2VHMWLNK.js → docker-WDMFRVOX.js} +9 -9
  93. package/dist/{doctor-ZAB6SDWF.js → doctor-3HKOYZTJ.js} +48 -48
  94. package/dist/{emit-artifact-cmd-2ZHPNLPG.js → emit-artifact-cmd-MLIPSYXP.js} +17 -17
  95. package/dist/{emit-cmd-UN7HGZC5.js → emit-cmd-S64A2LJ2.js} +6 -6
  96. package/dist/{emit-criteria-cmd-TUXGD7CW.js → emit-criteria-cmd-JYG5LJEQ.js} +13 -13
  97. package/dist/{emit-demo-cmd-4YMYB556.js → emit-demo-cmd-LKB4OHJD.js} +18 -18
  98. package/dist/{emit-finding-cmd-O2NN22XF.js → emit-finding-cmd-YNLZSJEC.js} +13 -13
  99. package/dist/{emit-result-cmd-VRITADX2.js → emit-result-cmd-EYEFXWVS.js} +16 -16
  100. package/dist/{emit-step-cmd-LGNBZTWJ.js → emit-step-cmd-YF5CGZ2H.js} +13 -13
  101. package/dist/{exec-client-NXTXAVHI.js → exec-client-T7XWSBJ3.js} +7 -7
  102. package/dist/find-unit-X5LYKUQX.js +24 -0
  103. package/dist/{findings-cmd-RJD7KTSW.js → findings-cmd-KBV2GQXJ.js} +13 -13
  104. package/dist/{fleet-readiness-RIO2SWC7.js → fleet-readiness-JG3YAKT7.js} +12 -12
  105. package/dist/{governing-source-CZSYE7QE.js → governing-source-VCD5NPMW.js} +18 -18
  106. package/dist/{guest-init-FLSL5RI7.js → guest-init-SG5RDE4K.js} +8 -8
  107. package/dist/{hook-fast-HYRZAY5K.js → hook-fast-QLCXXFMZ.js} +2 -2
  108. package/dist/{hook-install-CSHKOLWT.js → hook-install-TZZNJB4P.js} +3 -3
  109. package/dist/{hook-wrap-fast-ITUBSHEF.js → hook-wrap-fast-HNY3OGLN.js} +2 -2
  110. package/dist/host-checks-LQTHW3DN.js +79 -0
  111. package/dist/{host-key-CPAEQSNU.js → host-key-UEHE5JSK.js} +7 -7
  112. package/dist/{image-tag-MAMFM4SO.js → image-tag-77FWBIYC.js} +7 -7
  113. package/dist/index.js +6 -6
  114. package/dist/{init-G7D7ABKV.js → init-O33TLGUI.js} +44 -44
  115. package/dist/init-UFQQUI4Z.js +79 -0
  116. package/dist/{init-cmd-5GHIMFSS.js → init-cmd-GCHZK7YQ.js} +26 -26
  117. package/dist/{init-update-TQH2Q7IZ.js → init-update-ZSTDH75N.js} +21 -21
  118. package/dist/{install-cmd-PVQ5M5NM.js → install-cmd-BRURSBEH.js} +9 -9
  119. package/dist/{layout-2DF7ON2F.js → layout-YSNLYG6U.js} +3 -3
  120. package/dist/{logs-BM644OOJ.js → logs-TRW3A55Z.js} +6 -6
  121. package/dist/loop-QHQTM25C.js +90 -0
  122. package/dist/machine-VFZAHR6N.js +79 -0
  123. package/dist/{machine-skills-O7XAZYLN.js → machine-skills-WOAIOXAQ.js} +3 -3
  124. package/dist/{mcp-install-cmd-METCXTTR.js → mcp-install-cmd-NFMA6PSL.js} +3 -3
  125. package/dist/{mcp-serve-cmd-CTKBLSM6.js → mcp-serve-cmd-JVLROUUU.js} +8 -8
  126. package/dist/{paths-VIBBLJ2W.js → paths-AOUMCMP3.js} +6 -6
  127. package/dist/pending-JOEXUNDC.js +18 -0
  128. package/dist/{pidfile-PAX5XHQJ.js → pidfile-5LPBPEGE.js} +7 -7
  129. package/dist/{record-QPXOUL6F.js → record-4RLFKQMG.js} +7 -7
  130. package/dist/{relay-KASDMV3R.js → relay-IYJ7JJLG.js} +4 -4
  131. package/dist/{relay-protocol-7HSCZC5H.js → relay-protocol-MPZHNZYJ.js} +4 -4
  132. package/dist/{runner-agents-WUMCXVS2.js → runner-agents-MWBL6LA7.js} +3 -3
  133. package/dist/{runner-env-R2C5LYCX.js → runner-env-YTX4BAXF.js} +13 -13
  134. package/dist/{runner-identity-UDPLWT7I.js → runner-identity-4LMITADJ.js} +9 -9
  135. package/dist/{runner-key-JGIDJTHH.js → runner-key-QTQRIW4N.js} +44 -44
  136. package/dist/{session-sender-4QKSVX5Z.js → session-sender-YAM3GNFD.js} +17 -17
  137. package/dist/{spec-cmd-QAOTQPI6.js → spec-cmd-VE4XIZ6Z.js} +14 -14
  138. package/dist/{starter-pack-LAPDUG6E.js → starter-pack-NAR72DKB.js} +4 -4
  139. package/dist/{state-OTWJW4O7.js → state-GBESQ6UB.js} +7 -7
  140. package/dist/{status-OKZHXEYB.js → status-SNQVVDRU.js} +44 -44
  141. package/dist/{statusline-fast-7V7U4SI4.js → statusline-fast-5G2CTPSX.js} +2 -2
  142. package/dist/{sync-cmd-FLNYVXAE.js → sync-cmd-BXV3EVTU.js} +16 -16
  143. package/dist/update-steps-ZR4RQB7J.js +80 -0
  144. package/dist/{watch-4V7FZI5R.js → watch-FKHHEV3X.js} +16 -16
  145. package/dist/{work-claim-cmd-E2D4YHCS.js → work-claim-cmd-IVG4A3IZ.js} +19 -19
  146. package/dist/{work-cmd-VD362634.js → work-cmd-HSMQMQDL.js} +13 -13
  147. package/dist/{work-comment-cmd-EUI5IOQI.js → work-comment-cmd-OHGGZASQ.js} +15 -15
  148. package/dist/{work-demo-cmd-MGL3U6ZF.js → work-demo-cmd-TMMHK72J.js} +13 -13
  149. package/dist/{work-logs-cmd-QAJG75DG.js → work-logs-cmd-GQCUPUKG.js} +13 -13
  150. package/dist/{work-open-pr-cmd-SXVSMG44.js → work-open-pr-cmd-XVXOXNIL.js} +14 -14
  151. package/dist/{work-pr-cmd-WUIMC7XB.js → work-pr-cmd-E75ZUOAD.js} +13 -13
  152. package/dist/{work-proofs-cmd-AAHTMSCF.js → work-proofs-cmd-LDMQ37OH.js} +15 -15
  153. package/dist/{work-proofs-record-LLUEXW7I.js → work-proofs-record-VJG27HMI.js} +22 -22
  154. package/dist/{work-stop-cmd-RZLGWQJ5.js → work-stop-cmd-JSFV7AL2.js} +13 -13
  155. package/package.json +1 -1
  156. package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -1
  157. package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
  158. package/dist/caller-WSMJJSFL.js +0 -23
  159. package/dist/find-unit-RYYTX2O5.js +0 -24
  160. package/dist/host-checks-KLMATCMD.js +0 -79
  161. package/dist/init-BB2LERCZ.js +0 -79
  162. package/dist/loop-7MAMONQJ.js +0 -90
  163. package/dist/machine-HDHSI7WF.js +0 -79
  164. package/dist/pending-RXJKH4AC.js +0 -18
  165. package/dist/update-steps-W56ITCKQ.js +0 -80
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtinKind, keepsHostBuilder } from './chunk-6J3QWXTA.js';
4
- import { parseSize } from './chunk-6UI4ELNA.js';
5
- import { runnerDir } from './chunk-L3SHPR2M.js';
6
- import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-7UYXSF62.js';
7
- import { runnerAgents, credentialNames, credentialAgent, credentialForms } from './chunk-IEDO26G4.js';
8
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { builtinKind, keepsHostBuilder } from './chunk-F2UM3NDF.js';
4
+ import { parseSize } from './chunk-GTJLKBN7.js';
5
+ import { runnerDir } from './chunk-63KUYXOH.js';
6
+ import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-HBYFB3LK.js';
7
+ import { credentialAgent, credentialNames, credentialForms } from './chunk-CFHM562L.js';
8
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
9
9
  import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
10
10
  import { dirname, join } from 'path';
11
11
  import { spawnSync } from 'child_process';
@@ -23,7 +23,8 @@ function credentialPath(path) {
23
23
  return path.replace(/%/g, "%%");
24
24
  }
25
25
  function runnerUnit(unit, agents = defaultAgents()) {
26
- const credentialLines = runnerAgents(agents).map((agent) => {
26
+ const credentialLines = [credentialAgent(agents)].flatMap((agent) => {
27
+ if (agent === void 0) return [];
27
28
  const { envFile, credentialId } = credentialNames(agent.descriptor);
28
29
  return unit.credential === "load" ? `LoadCredential=${credentialId}:${credentialPath(`${unit.configDir}/${envFile}`)}` : `EnvironmentFile=-${escapeUnitPath(`${unit.configDir}/${envFile}`)}`;
29
30
  });
@@ -203,7 +204,8 @@ function credentialFileIn(configDir, agents) {
203
204
  return agent === void 0 ? void 0 : credentialFileOf(configDir, agent);
204
205
  }
205
206
  function prepareCredentialFile(configDir, lines, agents) {
206
- return runnerAgents(agents).every((agent) => prepareAgentCredentialFile(configDir, lines, agent));
207
+ const agent = credentialAgent(agents);
208
+ return agent === void 0 || prepareAgentCredentialFile(configDir, lines, agent);
207
209
  }
208
210
  function prepareAgentCredentialFile(configDir, lines, agent) {
209
211
  const file = credentialFileOf(configDir, agent);
@@ -228,7 +230,8 @@ function prepareAgentCredentialFile(configDir, lines, agent) {
228
230
  }
229
231
  }
230
232
  function finishCredentialMove(configDir, lines, agents, reload) {
231
- for (const agent of runnerAgents(agents)) finishAgentCredentialMove(configDir, lines, agent, reload);
233
+ const agent = credentialAgent(agents);
234
+ if (agent !== void 0) finishAgentCredentialMove(configDir, lines, agent, reload);
232
235
  }
233
236
  function finishAgentCredentialMove(configDir, lines, agent, reload) {
234
237
  const file = credentialFileOf(configDir, agent);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-PDRWRFB2.js';
4
- import { resolveGatewayCredentials } from './chunk-HR4PJLOO.js';
3
+ import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-4S564XTG.js';
4
+ import { resolveGatewayCredentials } from './chunk-NFYXRAEV.js';
5
5
  import { readCloudConfig } from './chunk-HWVMRETT.js';
6
6
  import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
@@ -1,34 +1,34 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { writeFleetState } from './chunk-K373UCEV.js';
4
- import { writePendingUpdate } from './chunk-B5VKRKLJ.js';
5
- import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-2W5C47AE.js';
3
+ import { writeFleetState } from './chunk-WSZZKMXF.js';
4
+ import { writePendingUpdate } from './chunk-3JYR5R57.js';
5
+ import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-WGLYAMVK.js';
6
6
  import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
7
7
  import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
8
- import { reportFailedStart, fitImageBuildMemory } from './chunk-GWJUEJR4.js';
9
- import { renderUpdateSteps } from './chunk-NDCN3R5C.js';
8
+ import { reportFailedStart, fitImageBuildMemory } from './chunk-IRJ6EGQT.js';
9
+ import { renderUpdateSteps } from './chunk-ZKJGZQ63.js';
10
10
  import { RUNNER_PROTOCOL } from './chunk-IDYLPN4X.js';
11
- import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-XAMTNTOH.js';
12
- import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-P4Q6M6PI.js';
13
- import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-52Z7AOZ2.js';
14
- import { RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
15
- import { RepoFilter } from './chunk-K26KMWU4.js';
11
+ import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-YVRJDMDL.js';
12
+ import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-7WZNTLNB.js';
13
+ import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-KYDKOYZD.js';
14
+ import { RUNNER_RESERVE_BYTES } from './chunk-WZ5YJJMP.js';
15
+ import { RepoFilter } from './chunk-2P532NZM.js';
16
16
  import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
17
- import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-EUWTGCK5.js';
17
+ import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-IKAGRGLY.js';
18
18
  import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
19
- import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-VMPVQE4D.js';
20
- import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-HO4DPX5N.js';
19
+ import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-PL2AGLJF.js';
20
+ import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-H4H3KK25.js';
21
21
  import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
22
- import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-LISVY7JZ.js';
23
- import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-KVO4MJWS.js';
24
- import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-6J3QWXTA.js';
25
- import { allocatedBytes, freeBytes, formatBytes } from './chunk-IEVARJ6G.js';
26
- import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-6UI4ELNA.js';
27
- import { loadHostKey, ensureHostKey, signerFor } from './chunk-KHJPRTOW.js';
28
- import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-L3SHPR2M.js';
29
- import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-LDKF6B2R.js';
30
- import { COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-7UYXSF62.js';
31
- import { runnerAgents } from './chunk-IEDO26G4.js';
22
+ import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-UVKPDGLM.js';
23
+ import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-RY5QFTXJ.js';
24
+ import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-F2UM3NDF.js';
25
+ import { allocatedBytes, freeBytes, formatBytes } from './chunk-UD6I7QJJ.js';
26
+ import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-GTJLKBN7.js';
27
+ import { loadHostKey, ensureHostKey, signerFor } from './chunk-DIL7U77P.js';
28
+ import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-63KUYXOH.js';
29
+ import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-22JLORO6.js';
30
+ import { COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-HBYFB3LK.js';
31
+ import { jobCommandEnv, runnerAgents } from './chunk-CFHM562L.js';
32
32
  import { resolveVersion } from './chunk-RA3O54FC.js';
33
33
  import { mkdirSync, existsSync, chmodSync, writeFileSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
34
34
  import { join, dirname } from 'path';
@@ -2205,7 +2205,7 @@ var CLAIM_REFUSAL_CODES = new Set(
2205
2205
  "pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
2206
2206
  );
2207
2207
  async function tryClaimAndStart(state, item, queue) {
2208
- const { postJson: postJson2 } = await import('./work-cmd-VD362634.js');
2208
+ const { postJson: postJson2 } = await import('./work-cmd-HSMQMQDL.js');
2209
2209
  const log = logOf(state);
2210
2210
  const hostKey = await loadHostKey(state.config.configPath);
2211
2211
  const claim = await retrySend(
@@ -2774,7 +2774,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2774
2774
  await endJob(state, active, "failed", { stage: "command" });
2775
2775
  return;
2776
2776
  }
2777
- const sessionEnv = await prepareSession(state, active, item, queue, tag);
2777
+ const commandEnv = jobCommandEnv(await prepareSession(state, active, item, queue, tag), state.deps.agents);
2778
2778
  job = active.job;
2779
2779
  let running;
2780
2780
  try {
@@ -2785,14 +2785,14 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2785
2785
  job.microvm.commandDir = MICROVM_COMMAND_DIR;
2786
2786
  job.microvm.commandLogBase = commandLogOffset(dirPath, 0);
2787
2787
  writeJobFile(jobFilePath, job);
2788
- await startMicroVmCommand({ job, jobDir: dirPath, cmdline, runtime, config: state.config, extraEnv: sessionEnv });
2788
+ await startMicroVmCommand({ job, jobDir: dirPath, cmdline, runtime, config: state.config, extraEnv: commandEnv });
2789
2789
  } else {
2790
- const composed = microVmCommandLine({ job, jobDir: dirPath, cmdline, runtime, config: state.config, cli: join(runtime.cliBuild().distDir, "index.js"), extraEnv: sessionEnv });
2790
+ const composed = microVmCommandLine({ job, jobDir: dirPath, cmdline, runtime, config: state.config, cli: join(runtime.cliBuild().distDir, "index.js"), extraEnv: commandEnv });
2791
2791
  running = runCommand(composed.line, { ...composed.env, OUTERLAYER_JOB_DIR: dirPath }, dirPath, join(dirPath, "command.log"), state.deps.spawnFn);
2792
2792
  }
2793
2793
  } else if (job.container !== void 0) {
2794
2794
  const runtime = runtimeOf(state);
2795
- const exec = containerCommandExec({ job, cmdline, runtime, config: state.config, extraEnv: sessionEnv });
2795
+ const exec = containerCommandExec({ job, cmdline, runtime, config: state.config, extraEnv: commandEnv });
2796
2796
  job.container.tracking = "container";
2797
2797
  job.container.commandLogBase = commandLogOffset(dirPath, 0);
2798
2798
  writeJobFile(jobFilePath, job);
@@ -2803,8 +2803,8 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2803
2803
  }
2804
2804
  } else {
2805
2805
  const build = job.build;
2806
- const commandEnv = hostCommandEnvironment(jobEnv(claimCalls(state.config, active.job), item.number, itemKey, dirPath, process.env, branch, identity?.author, spoolHomeFor(state.config, active.job)), build, state.config, identity?.hooksPath, noteOnce);
2807
- running = build.exec === void 0 ? runCommand(cmdline, commandEnv, workdir, join(dirPath, "command.log"), state.deps.spawnFn) : runCommand(execCommandLine(build.exec, workdir, cmdline), commandEnv, dirPath, join(dirPath, "command.log"), state.deps.spawnFn);
2806
+ const commandEnv2 = hostCommandEnvironment(jobEnv(claimCalls(state.config, active.job), item.number, itemKey, dirPath, process.env, branch, identity?.author, spoolHomeFor(state.config, active.job)), build, state.config, identity?.hooksPath, noteOnce);
2807
+ running = build.exec === void 0 ? runCommand(cmdline, commandEnv2, workdir, join(dirPath, "command.log"), state.deps.spawnFn) : runCommand(execCommandLine(build.exec, workdir, cmdline), commandEnv2, dirPath, join(dirPath, "command.log"), state.deps.spawnFn);
2808
2808
  }
2809
2809
  } catch (err) {
2810
2810
  log.error(`${tag} command could not start: ${describeCallFailure(err)} \xB7 ending job as failed`);
@@ -3558,7 +3558,7 @@ async function startRunner(configPath, deps, startup) {
3558
3558
  check: update.check ? () => update.check(configPath) : async () => {
3559
3559
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
3560
3560
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
3561
- return (await import('./check-D6NMQ6LP.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
3561
+ return (await import('./check-4T4FDFLZ.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
3562
3562
  },
3563
3563
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
3564
3564
  log
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-52Z7AOZ2.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
5
- import { getJson, WorkCommandError } from './chunk-KVO4MJWS.js';
6
- import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-6J3QWXTA.js';
7
- import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-IEVARJ6G.js';
8
- import { ensureHostKey } from './chunk-KHJPRTOW.js';
9
- import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-7UYXSF62.js';
10
- import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-IEDO26G4.js';
11
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-KYDKOYZD.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-WZ5YJJMP.js';
5
+ import { getJson, WorkCommandError } from './chunk-RY5QFTXJ.js';
6
+ import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-F2UM3NDF.js';
7
+ import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-UD6I7QJJ.js';
8
+ import { ensureHostKey } from './chunk-DIL7U77P.js';
9
+ import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-HBYFB3LK.js';
10
+ import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-CFHM562L.js';
11
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
12
12
  import { closeSync, openSync, constants, readFileSync } from 'fs';
13
13
  import { join, dirname } from 'path';
14
14
  import { totalmem } from 'os';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { stripTerminalControls } from './chunk-52Z7AOZ2.js';
4
- import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-EUWTGCK5.js';
3
+ import { stripTerminalControls } from './chunk-KYDKOYZD.js';
4
+ import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-IKAGRGLY.js';
5
5
  import { readFileSync } from 'fs';
6
6
 
7
7
  createRequire(import.meta.url);
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
55
55
  return [...new Set(names)].sort();
56
56
  }
57
57
  async function readOwnContainer(deps = {}) {
58
- const run = deps.run ?? (await import('./docker-2VHMWLNK.js')).spawnRun;
58
+ const run = deps.run ?? (await import('./docker-WDMFRVOX.js')).spawnRun;
59
59
  const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
60
60
  if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
61
61
  let problem = "";
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { withInjectedPrograms } from './chunk-2SBNZ4EC.js';
4
- import { sharedSkillNames } from './chunk-3XEYA3QF.js';
3
+ import { withInjectedPrograms } from './chunk-T3MVV6LG.js';
4
+ import { sharedSkillNames } from './chunk-BQUI64BU.js';
5
5
  import { GOVERNANCE_VARIABLE, versionAtLeast, CONTROL_PLANE_DIR_VARIABLE } from './chunk-OV4XTV5M.js';
6
6
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
7
- import { setupMachineSkills } from './chunk-U6EACUUG.js';
8
- import { defaultAgents, agentById, legacyAgent } from './chunk-54ERDQ3O.js';
9
- import './chunk-NOLS2G2W.js';
7
+ import { setupMachineSkills } from './chunk-RYSGOWHG.js';
8
+ import { defaultAgents, agentById, legacyAgent } from './chunk-E6ESLX5E.js';
9
+ import './chunk-WWTZLRPH.js';
10
10
  import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
11
11
  import './chunk-CDDED64E.js';
12
12
  import './chunk-RA3O54FC.js';
@@ -325,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
325
325
  return 1;
326
326
  }
327
327
  } else {
328
- const { resolveLaunchPlane } = await import('./control-plane-launch-KC7NUNYQ.js');
328
+ const { resolveLaunchPlane } = await import('./control-plane-launch-N7FFBGPD.js');
329
329
  const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
330
330
  if (plane.kind === "none") {
331
331
  const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);