@outerlayer/cli 0.36.0-next.20261103102716 → 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 (166) 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-QLJ2O7VO.js → check-4T4FDFLZ.js} +57 -55
  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-BTGNFRRT.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-YWCK4EOT.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-WNQGSAUE.js → chunk-IDYLPN4X.js} +1 -1
  41. package/dist/{chunk-EUWTGCK5.js → chunk-IKAGRGLY.js} +1 -1
  42. package/dist/{chunk-NQYTUVZR.js → chunk-IM4VUDKW.js} +1 -1
  43. package/dist/{chunk-BZQ3S24G.js → chunk-INT54Z2T.js} +1 -1
  44. package/dist/{chunk-U6HCTKPH.js → chunk-IRJ6EGQT.js} +7 -7
  45. package/dist/{chunk-WAGHPZP2.js → chunk-J3SICPA2.js} +1 -1
  46. package/dist/{chunk-GPBTTHK3.js → chunk-JJ63MLE5.js} +1 -1
  47. package/dist/{chunk-HQBKKYYQ.js → chunk-K3GCT2HL.js} +4 -4
  48. package/dist/{chunk-HX6B34ZF.js → chunk-K52TGQLV.js} +18 -18
  49. package/dist/{chunk-QKLCIJEU.js → chunk-KYDKOYZD.js} +56 -33
  50. package/dist/{chunk-T5I2H7TJ.js → chunk-NE2A2ZIY.js} +1 -1
  51. package/dist/{chunk-HR4PJLOO.js → chunk-NFYXRAEV.js} +1 -1
  52. package/dist/{chunk-4MLH5MDB.js → chunk-OM3XGJBY.js} +5 -5
  53. package/dist/{chunk-U7MLC45I.js → chunk-ORBQ4QR7.js} +5 -5
  54. package/dist/{chunk-VMPVQE4D.js → chunk-PL2AGLJF.js} +2 -2
  55. package/dist/{chunk-J4NJWTNO.js → chunk-POTMAJPJ.js} +5 -5
  56. package/dist/{chunk-LXXP5HRJ.js → chunk-PTHBJDWK.js} +3 -3
  57. package/dist/{chunk-OGG5ELXF.js → chunk-QLZXFKGO.js} +4 -4
  58. package/dist/{chunk-FLQL6ZIG.js → chunk-QN4ABLRK.js} +1 -1
  59. package/dist/{chunk-OPEZVPF7.js → chunk-R4LXONKC.js} +3 -3
  60. package/dist/{chunk-EHS3HEB6.js → chunk-RGSQHTO4.js} +3 -3
  61. package/dist/{chunk-H4G26OZC.js → chunk-RY5QFTXJ.js} +19 -8
  62. package/dist/{chunk-U6EACUUG.js → chunk-RYSGOWHG.js} +16 -3
  63. package/dist/{chunk-54PQNYA7.js → chunk-S7YLAN2P.js} +2 -2
  64. package/dist/{chunk-PYK6GCCU.js → chunk-SIVZITLG.js} +5 -5
  65. package/dist/{chunk-BEJJJZXF.js → chunk-SR6SXYM4.js} +3 -3
  66. package/dist/{chunk-4MN4BBKZ.js → chunk-SWUPSLNV.js} +7 -7
  67. package/dist/{chunk-2SBNZ4EC.js → chunk-T3MVV6LG.js} +1 -1
  68. package/dist/{chunk-IEVARJ6G.js → chunk-UD6I7QJJ.js} +2 -2
  69. package/dist/{chunk-RGKJ5J72.js → chunk-UT4SX57J.js} +4 -4
  70. package/dist/{chunk-N3SO5VCM.js → chunk-UVKPDGLM.js} +7 -7
  71. package/dist/{chunk-YCBVYTFI.js → chunk-V227E7UX.js} +1 -1
  72. package/dist/{chunk-DEZSNJSE.js → chunk-W72X24TZ.js} +1 -1
  73. package/dist/{chunk-2W5C47AE.js → chunk-WGLYAMVK.js} +1 -1
  74. package/dist/{chunk-K373UCEV.js → chunk-WSZZKMXF.js} +1 -1
  75. package/dist/{chunk-TWGSXBZM.js → chunk-WTKCAALP.js} +3 -3
  76. package/dist/{chunk-NOLS2G2W.js → chunk-WWTZLRPH.js} +8 -0
  77. package/dist/{chunk-ZZ4WIQRF.js → chunk-WZ5YJJMP.js} +12 -9
  78. package/dist/{chunk-UZSMDU4U.js → chunk-X2B7ILTH.js} +2 -2
  79. package/dist/{chunk-A64EXQUL.js → chunk-XKM7KCUJ.js} +37 -34
  80. package/dist/{chunk-RKV3UQCG.js → chunk-YVRJDMDL.js} +9 -9
  81. package/dist/{chunk-XSGWMQJF.js → chunk-ZKJGZQ63.js} +3 -3
  82. package/dist/{claude-launcher-CPSCSL6U.js → claude-launcher-KQHWKYRL.js} +6 -6
  83. package/dist/{cli-4M74XOWW.js → cli-BM7CAJFW.js} +161 -144
  84. package/dist/{command-RY76GIQG.js → command-ZIVI5DQK.js} +48 -48
  85. package/dist/{config-23EBIGW4.js → config-W4OY2JNP.js} +11 -11
  86. package/dist/{connect-cmd-GEBIOBQQ.js → connect-cmd-2O2GGNAY.js} +10 -10
  87. package/dist/{container-start-SUBTHQME.js → container-start-CRUUG57V.js} +46 -46
  88. package/dist/{context-cleanup-I7FLIV5A.js → context-cleanup-2SPOGEZR.js} +3 -3
  89. package/dist/{context-show-cmd-CSPMSRHX.js → context-show-cmd-LAK6CYZT.js} +11 -11
  90. package/dist/{control-plane-launch-KC7NUNYQ.js → control-plane-launch-N7FFBGPD.js} +13 -13
  91. package/dist/{demo-record-cmd-ZW6U2LAV.js → demo-record-cmd-335YZIXU.js} +7 -7
  92. package/dist/{demo-voice-cmd-IDW3QX3E.js → demo-voice-cmd-LVODULO2.js} +18 -18
  93. package/dist/{docker-2VHMWLNK.js → docker-WDMFRVOX.js} +9 -9
  94. package/dist/{doctor-GEG64FBO.js → doctor-3HKOYZTJ.js} +48 -48
  95. package/dist/{emit-artifact-cmd-2ZHPNLPG.js → emit-artifact-cmd-MLIPSYXP.js} +17 -17
  96. package/dist/{emit-cmd-UN7HGZC5.js → emit-cmd-S64A2LJ2.js} +6 -6
  97. package/dist/{emit-criteria-cmd-TUXGD7CW.js → emit-criteria-cmd-JYG5LJEQ.js} +13 -13
  98. package/dist/{emit-demo-cmd-4YMYB556.js → emit-demo-cmd-LKB4OHJD.js} +18 -18
  99. package/dist/{emit-finding-cmd-O2NN22XF.js → emit-finding-cmd-YNLZSJEC.js} +13 -13
  100. package/dist/{emit-result-cmd-VRITADX2.js → emit-result-cmd-EYEFXWVS.js} +16 -16
  101. package/dist/{emit-step-cmd-LGNBZTWJ.js → emit-step-cmd-YF5CGZ2H.js} +13 -13
  102. package/dist/{exec-client-NXTXAVHI.js → exec-client-T7XWSBJ3.js} +7 -7
  103. package/dist/find-unit-X5LYKUQX.js +24 -0
  104. package/dist/{findings-cmd-RJD7KTSW.js → findings-cmd-KBV2GQXJ.js} +13 -13
  105. package/dist/{fleet-readiness-RIO2SWC7.js → fleet-readiness-JG3YAKT7.js} +12 -12
  106. package/dist/{governing-source-IR3KUGQF.js → governing-source-VCD5NPMW.js} +18 -18
  107. package/dist/{guest-init-FLSL5RI7.js → guest-init-SG5RDE4K.js} +8 -8
  108. package/dist/{hook-fast-HYRZAY5K.js → hook-fast-QLCXXFMZ.js} +2 -2
  109. package/dist/{hook-install-CSHKOLWT.js → hook-install-TZZNJB4P.js} +3 -3
  110. package/dist/{hook-wrap-fast-ITUBSHEF.js → hook-wrap-fast-HNY3OGLN.js} +2 -2
  111. package/dist/host-checks-LQTHW3DN.js +79 -0
  112. package/dist/{host-key-CPAEQSNU.js → host-key-UEHE5JSK.js} +7 -7
  113. package/dist/{image-tag-MAMFM4SO.js → image-tag-77FWBIYC.js} +7 -7
  114. package/dist/index.js +6 -6
  115. package/dist/{init-G34M5Y4W.js → init-O33TLGUI.js} +44 -44
  116. package/dist/init-UFQQUI4Z.js +79 -0
  117. package/dist/{init-cmd-GDT27DWD.js → init-cmd-GCHZK7YQ.js} +26 -26
  118. package/dist/{init-update-TQH2Q7IZ.js → init-update-ZSTDH75N.js} +21 -21
  119. package/dist/{install-cmd-PVQ5M5NM.js → install-cmd-BRURSBEH.js} +9 -9
  120. package/dist/{layout-2DF7ON2F.js → layout-YSNLYG6U.js} +3 -3
  121. package/dist/{logs-BM644OOJ.js → logs-TRW3A55Z.js} +6 -6
  122. package/dist/loop-QHQTM25C.js +90 -0
  123. package/dist/machine-VFZAHR6N.js +79 -0
  124. package/dist/{machine-skills-O7XAZYLN.js → machine-skills-WOAIOXAQ.js} +3 -3
  125. package/dist/{mcp-install-cmd-METCXTTR.js → mcp-install-cmd-NFMA6PSL.js} +3 -3
  126. package/dist/{mcp-serve-cmd-CTKBLSM6.js → mcp-serve-cmd-JVLROUUU.js} +8 -8
  127. package/dist/{paths-VIBBLJ2W.js → paths-AOUMCMP3.js} +6 -6
  128. package/dist/pending-JOEXUNDC.js +18 -0
  129. package/dist/{pidfile-PAX5XHQJ.js → pidfile-5LPBPEGE.js} +7 -7
  130. package/dist/{record-QPXOUL6F.js → record-4RLFKQMG.js} +7 -7
  131. package/dist/{relay-KASDMV3R.js → relay-IYJ7JJLG.js} +4 -4
  132. package/dist/{relay-protocol-7HSCZC5H.js → relay-protocol-MPZHNZYJ.js} +4 -4
  133. package/dist/{runner-agents-WUMCXVS2.js → runner-agents-MWBL6LA7.js} +3 -3
  134. package/dist/{runner-env-R2C5LYCX.js → runner-env-YTX4BAXF.js} +13 -13
  135. package/dist/{runner-identity-UDPLWT7I.js → runner-identity-4LMITADJ.js} +9 -9
  136. package/dist/{runner-key-Z2IQ5TS7.js → runner-key-QTQRIW4N.js} +44 -44
  137. package/dist/{session-sender-4QKSVX5Z.js → session-sender-YAM3GNFD.js} +17 -17
  138. package/dist/{spec-cmd-TON4PYGQ.js → spec-cmd-VE4XIZ6Z.js} +14 -14
  139. package/dist/{starter-pack-LAPDUG6E.js → starter-pack-NAR72DKB.js} +4 -4
  140. package/dist/{state-OTWJW4O7.js → state-GBESQ6UB.js} +7 -7
  141. package/dist/{status-ROMTDMFO.js → status-SNQVVDRU.js} +44 -44
  142. package/dist/{statusline-fast-7V7U4SI4.js → statusline-fast-5G2CTPSX.js} +2 -2
  143. package/dist/{sync-cmd-FLNYVXAE.js → sync-cmd-BXV3EVTU.js} +16 -16
  144. package/dist/update-steps-ZR4RQB7J.js +80 -0
  145. package/dist/{watch-4V7FZI5R.js → watch-FKHHEV3X.js} +16 -16
  146. package/dist/{work-claim-cmd-5EYXVPKH.js → work-claim-cmd-IVG4A3IZ.js} +20 -20
  147. package/dist/{work-cmd-RUOTA5K7.js → work-cmd-HSMQMQDL.js} +13 -13
  148. package/dist/{work-comment-cmd-7UM3O3EL.js → work-comment-cmd-OHGGZASQ.js} +15 -15
  149. package/dist/{work-demo-cmd-K4NRR2AK.js → work-demo-cmd-TMMHK72J.js} +13 -13
  150. package/dist/{work-logs-cmd-QW7PNI6V.js → work-logs-cmd-GQCUPUKG.js} +13 -13
  151. package/dist/{work-open-pr-cmd-Y6MTWQG5.js → work-open-pr-cmd-XVXOXNIL.js} +14 -14
  152. package/dist/{work-pr-cmd-WUIMC7XB.js → work-pr-cmd-E75ZUOAD.js} +13 -13
  153. package/dist/{work-proofs-cmd-5LMTROA6.js → work-proofs-cmd-LDMQ37OH.js} +15 -15
  154. package/dist/{work-proofs-record-3JGUT2F5.js → work-proofs-record-VJG27HMI.js} +22 -22
  155. package/dist/{work-stop-cmd-R5F5VRUM.js → work-stop-cmd-JSFV7AL2.js} +13 -13
  156. package/package.json +1 -1
  157. package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -1
  158. package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
  159. package/dist/caller-WSMJJSFL.js +0 -23
  160. package/dist/find-unit-RYYTX2O5.js +0 -24
  161. package/dist/host-checks-OB45XC67.js +0 -79
  162. package/dist/init-HHD2NNWY.js +0 -79
  163. package/dist/loop-6MSKJN52.js +0 -90
  164. package/dist/machine-LGD4UVCI.js +0 -79
  165. package/dist/pending-RXJKH4AC.js +0 -18
  166. package/dist/update-steps-A5OSPYAS.js +0 -80
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-IEDO26G4.js';
3
+ import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-CFHM562L.js';
4
4
  import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
5
5
  import { join, resolve, relative, dirname, sep, basename } from 'path';
6
6
  import { createRequire as createRequire$1 } from 'module';
@@ -2,7 +2,7 @@
2
2
  import { createRequire } from 'node:module';
3
3
  import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
4
4
  import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
5
- import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-54ERDQ3O.js';
5
+ import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-E6ESLX5E.js';
6
6
  import { execFileSync } from 'child_process';
7
7
  import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
8
8
  import { join, dirname, isAbsolute } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-63KUYXOH.js';
4
4
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-L3SHPR2M.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-63KUYXOH.js';
4
4
  import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
5
5
  import { dirname, join } from 'path';
6
6
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-FLQL6ZIG.js';
3
+ import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-QN4ABLRK.js';
4
4
  import { startTimeOf } from './chunk-JBJTC3UU.js';
5
- import { EXEC_PORT } from './chunk-MPVTZLOM.js';
6
- import { RELAY_PORT } from './chunk-LDKF6B2R.js';
5
+ import { EXEC_PORT } from './chunk-CLFP2ZTG.js';
6
+ import { RELAY_PORT } from './chunk-22JLORO6.js';
7
7
  import { spawn, spawnSync } from 'child_process';
8
8
  import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
9
9
 
@@ -38,6 +38,12 @@ function parsePayload(stdin) {
38
38
  }
39
39
  }
40
40
  var text = (value) => typeof value === "string" ? value : void 0;
41
+ var MAX_BACKGROUND_LABELS = 10;
42
+ var MAX_BACKGROUND_LABEL = 120;
43
+ function backgroundLabels(value) {
44
+ if (!Array.isArray(value)) return [];
45
+ return value.filter((task) => typeof task === "object" && task !== null).slice(0, MAX_BACKGROUND_LABELS).map((task) => [text(task.type), text(task.description)].filter((part) => part !== void 0 && part !== "").join(": ").slice(0, MAX_BACKGROUND_LABEL)).map((label) => label === "" ? "background task" : label);
46
+ }
41
47
  function decode(name, stdin) {
42
48
  const payload = parsePayload(stdin);
43
49
  const nativeName = String(name ?? payload.hook_event_name ?? "unknown");
@@ -48,6 +54,7 @@ function decode(name, stdin) {
48
54
  const toolName = text(payload.tool_name);
49
55
  const toolUseId = text(payload.tool_use_id);
50
56
  const tool = toolKind(toolName);
57
+ const backgroundWork = backgroundLabels(payload.background_tasks);
51
58
  return {
52
59
  nativeName,
53
60
  ...kind === void 0 ? {} : { kind },
@@ -68,6 +75,7 @@ function decode(name, stdin) {
68
75
  },
69
76
  // A tool call a subagent makes carries the subagent's id.
70
77
  fromSubagent: payload.agent_id !== void 0,
78
+ ...backgroundWork.length === 0 ? {} : { backgroundWork },
71
79
  ...toolName === void 0 && toolUseId === void 0 ? {} : { tool: { ...toolUseId === void 0 ? {} : { useId: toolUseId }, ...toolName === void 0 ? {} : { name: toolName } } }
72
80
  };
73
81
  }
@@ -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-U6HCTKPH.js';
9
- import { renderUpdateSteps } from './chunk-XSGWMQJF.js';
10
- import { RUNNER_PROTOCOL } from './chunk-WNQGSAUE.js';
11
- import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-RKV3UQCG.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-QKLCIJEU.js';
14
- import { RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
15
- import { RepoFilter } from './chunk-K26KMWU4.js';
8
+ import { reportFailedStart, fitImageBuildMemory } from './chunk-IRJ6EGQT.js';
9
+ import { renderUpdateSteps } from './chunk-ZKJGZQ63.js';
10
+ import { RUNNER_PROTOCOL } from './chunk-IDYLPN4X.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-N3SO5VCM.js';
23
- import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-H4G26OZC.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-RUOTA5K7.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(
@@ -2343,7 +2343,7 @@ async function startClaimedBuild(state, item, queue, data, fleet) {
2343
2343
  log.line(`${tag}: ${entry.repository} is left out of this build because its GitHub App installation is suspended`);
2344
2344
  }
2345
2345
  try {
2346
- await startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet);
2346
+ await startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet, data.freshDisk === true);
2347
2347
  } catch (err) {
2348
2348
  const stranded = [...state.jobs.values()].find((active) => active.job.claimId === claimId);
2349
2349
  if (stranded === void 0) throw err;
@@ -2400,7 +2400,7 @@ async function prepareSession(state, active, item, queue, tag) {
2400
2400
  return void 0;
2401
2401
  }
2402
2402
  }
2403
- async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet) {
2403
+ async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet, freshDisk) {
2404
2404
  const log = logOf(state);
2405
2405
  const startedAt = nowOf(state);
2406
2406
  const repositories = repositoriesOf({ repositories: claimed, repository: item.specRepository, branch });
@@ -2419,6 +2419,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2419
2419
  commitIdentity: identity,
2420
2420
  // The work item the kept session belongs to. A fleet claim names it too, from the same listing.
2421
2421
  workItemId: item.id,
2422
+ ...freshDisk ? { freshDisk: true } : {},
2422
2423
  ...fleet === void 0 ? {} : { appId: fleet.appId, organizationId: fleet.organizationId, size: fleet.size },
2423
2424
  ...primary === void 0 ? {} : { repository: primary.repository, repositories },
2424
2425
  startedAt: startedAt.toISOString()
@@ -2518,6 +2519,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2518
2519
  runtime: runtimeOf(state),
2519
2520
  queue,
2520
2521
  workItemId: item.id,
2522
+ ...freshDisk ? { fresh: true } : {},
2521
2523
  item,
2522
2524
  itemKey,
2523
2525
  tokens,
@@ -2562,6 +2564,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2562
2564
  runtime: runtimeOf(state),
2563
2565
  queue,
2564
2566
  workItemId: item.id,
2567
+ ...freshDisk ? { fresh: true } : {},
2565
2568
  item,
2566
2569
  itemKey,
2567
2570
  tokens,
@@ -2771,7 +2774,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2771
2774
  await endJob(state, active, "failed", { stage: "command" });
2772
2775
  return;
2773
2776
  }
2774
- const sessionEnv = await prepareSession(state, active, item, queue, tag);
2777
+ const commandEnv = jobCommandEnv(await prepareSession(state, active, item, queue, tag), state.deps.agents);
2775
2778
  job = active.job;
2776
2779
  let running;
2777
2780
  try {
@@ -2782,14 +2785,14 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2782
2785
  job.microvm.commandDir = MICROVM_COMMAND_DIR;
2783
2786
  job.microvm.commandLogBase = commandLogOffset(dirPath, 0);
2784
2787
  writeJobFile(jobFilePath, job);
2785
- 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 });
2786
2789
  } else {
2787
- 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 });
2788
2791
  running = runCommand(composed.line, { ...composed.env, OUTERLAYER_JOB_DIR: dirPath }, dirPath, join(dirPath, "command.log"), state.deps.spawnFn);
2789
2792
  }
2790
2793
  } else if (job.container !== void 0) {
2791
2794
  const runtime = runtimeOf(state);
2792
- const exec = containerCommandExec({ job, cmdline, runtime, config: state.config, extraEnv: sessionEnv });
2795
+ const exec = containerCommandExec({ job, cmdline, runtime, config: state.config, extraEnv: commandEnv });
2793
2796
  job.container.tracking = "container";
2794
2797
  job.container.commandLogBase = commandLogOffset(dirPath, 0);
2795
2798
  writeJobFile(jobFilePath, job);
@@ -2800,8 +2803,8 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
2800
2803
  }
2801
2804
  } else {
2802
2805
  const build = job.build;
2803
- 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);
2804
- 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);
2805
2808
  }
2806
2809
  } catch (err) {
2807
2810
  log.error(`${tag} command could not start: ${describeCallFailure(err)} \xB7 ending job as failed`);
@@ -3555,7 +3558,7 @@ async function startRunner(configPath, deps, startup) {
3555
3558
  check: update.check ? () => update.check(configPath) : async () => {
3556
3559
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
3557
3560
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
3558
- return (await import('./check-QLJ2O7VO.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
3561
+ return (await import('./check-4T4FDFLZ.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
3559
3562
  },
3560
3563
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
3561
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-QKLCIJEU.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
5
- import { getJson, WorkCommandError } from './chunk-H4G26OZC.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-QKLCIJEU.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);