@outerlayer/cli 0.40.0-next.20261117022943 → 0.40.0-next.20261117034333

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 (185) hide show
  1. package/dist/agent-setup-UU3NQZ3A.js +41 -0
  2. package/dist/{agent-subcommand-JGANAEB4.js → agent-subcommand-MW4TF4SG.js} +4 -4
  3. package/dist/{artifact-link-cmd-K6VFGMIO.js → artifact-link-cmd-XUHNVFVU.js} +2 -2
  4. package/dist/{bridge-YHCQBKZC.js → bridge-WEK2IMAD.js} +7 -7
  5. package/dist/{build-SSIBPHPA.js → build-LJSUCORB.js} +13 -13
  6. package/dist/{build-disk-KI2JOKAK.js → build-disk-S2XHWSDH.js} +11 -11
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-I562HT2D.js → builder-TCRJKB2W.js} +10 -10
  9. package/dist/caller-VJBDXZXG.js +23 -0
  10. package/dist/{check-YDBHBTOS.js → check-Z6GAY2C4.js} +58 -61
  11. package/dist/{chunk-SBSH253O.js → chunk-2QFZBWBP.js} +1 -1
  12. package/dist/{chunk-UMFSHU72.js → chunk-33DTLCL6.js} +2 -2
  13. package/dist/{chunk-6RJBLCPV.js → chunk-33RKRHJG.js} +1 -1
  14. package/dist/{chunk-YI2HDVUL.js → chunk-3ETI7MKK.js} +4 -4
  15. package/dist/{chunk-PEN7Y4PB.js → chunk-3PXV4I75.js} +3 -3
  16. package/dist/{chunk-UXAB2OEM.js → chunk-4FTRLX6A.js} +5 -5
  17. package/dist/{chunk-CEHT2FCU.js → chunk-5EWESACE.js} +2 -2
  18. package/dist/{chunk-XAOZFBXK.js → chunk-5O7P6VXS.js} +1 -1
  19. package/dist/{chunk-DHB3M244.js → chunk-6GJMRVMX.js} +1 -1
  20. package/dist/{chunk-QI6YUQWR.js → chunk-6NODVJGM.js} +3 -3
  21. package/dist/{chunk-VJCILU3C.js → chunk-6QXGAGQY.js} +1 -1
  22. package/dist/{chunk-MCJRTOAL.js → chunk-6ZBUQIJA.js} +1 -1
  23. package/dist/{chunk-NB2BDENG.js → chunk-7PIUTUXI.js} +3 -3
  24. package/dist/{chunk-OF6XMZHO.js → chunk-7QIQ7QR3.js} +1 -1
  25. package/dist/{chunk-J4F4V3G2.js → chunk-ABXHYH2Y.js} +6 -6
  26. package/dist/{chunk-G3HBBHIK.js → chunk-ABY722KN.js} +1 -1
  27. package/dist/{chunk-JSN2DMPB.js → chunk-AGKUDDIN.js} +1 -1
  28. package/dist/{chunk-UELSHBQH.js → chunk-AH2BO6Q6.js} +6 -6
  29. package/dist/{chunk-6DO34552.js → chunk-BEK2BZAI.js} +6 -6
  30. package/dist/{chunk-3WMULGB4.js → chunk-BZFRU6M7.js} +8 -8
  31. package/dist/{chunk-MCUI6RHU.js → chunk-CH3PO7UY.js} +10 -2
  32. package/dist/{chunk-PC2FA62W.js → chunk-CNMC4OXO.js} +7 -7
  33. package/dist/{chunk-AL6CJD2X.js → chunk-CW6H5JXV.js} +8 -8
  34. package/dist/{chunk-C6EPHJIV.js → chunk-D2QNQOFX.js} +1 -1
  35. package/dist/{chunk-3YMOSZRN.js → chunk-D3CALDGC.js} +1 -1
  36. package/dist/{chunk-HQPB4ZMS.js → chunk-EBWA6KIE.js} +1 -1
  37. package/dist/{chunk-DQV2XTBD.js → chunk-EU6JHHES.js} +368 -245
  38. package/dist/{chunk-D5JM2VPO.js → chunk-F4PRZBBJ.js} +2 -2
  39. package/dist/{chunk-CFIYOLCT.js → chunk-F6J3ACXH.js} +6 -6
  40. package/dist/{chunk-DV44KCM6.js → chunk-FG2E3HES.js} +1 -1
  41. package/dist/{chunk-XDWJOYC4.js → chunk-FLHDVJAV.js} +5 -5
  42. package/dist/{chunk-P2I6YVJV.js → chunk-GBLNHZ3E.js} +4 -4
  43. package/dist/{chunk-QVTGSGQ5.js → chunk-GQI5N56J.js} +2 -2
  44. package/dist/{chunk-JE23PLDE.js → chunk-H2THCHUP.js} +1 -1
  45. package/dist/{chunk-732WJDYG.js → chunk-H4JQKCVP.js} +9 -9
  46. package/dist/{chunk-UNGZ25QF.js → chunk-H6L6SWMN.js} +2 -2
  47. package/dist/{chunk-TWUEZPWP.js → chunk-HI6R4XYD.js} +2 -2
  48. package/dist/{chunk-6P23FS2Z.js → chunk-HSGZ4JEV.js} +1 -1
  49. package/dist/{chunk-UAOLY4EP.js → chunk-I7ZQKMKG.js} +1 -1
  50. package/dist/{chunk-JBGASRRE.js → chunk-IQYAPM4S.js} +7 -7
  51. package/dist/{chunk-ONDONSBT.js → chunk-K6THWLSJ.js} +1 -1
  52. package/dist/{chunk-DMWGWD26.js → chunk-KCLFDN26.js} +3 -3
  53. package/dist/{chunk-OY4EJVUH.js → chunk-KDVQGQXM.js} +1 -1
  54. package/dist/{chunk-IEDCYMPH.js → chunk-LYHR47YE.js} +2 -2
  55. package/dist/{chunk-MJGBRYDH.js → chunk-MBOQJTOS.js} +11 -6
  56. package/dist/{chunk-TL5HRSMD.js → chunk-MEZVLRJK.js} +19 -77
  57. package/dist/{chunk-DSUD4K5N.js → chunk-MG2Y5XYV.js} +267 -211
  58. package/dist/{chunk-DG7525WL.js → chunk-NWWED36F.js} +1 -1
  59. package/dist/{chunk-DUQIP32K.js → chunk-P7OXJ3ZD.js} +5 -5
  60. package/dist/{chunk-XLU5ZOTK.js → chunk-PB4QDL6Q.js} +4 -4
  61. package/dist/{chunk-YUR7GV5L.js → chunk-PHC24VUU.js} +5 -5
  62. package/dist/{chunk-YSHMGQRD.js → chunk-PZZS6DHY.js} +8 -8
  63. package/dist/{chunk-PWHKJ24U.js → chunk-QJI56HI2.js} +7 -7
  64. package/dist/{chunk-7H5JQFWQ.js → chunk-RUSF2YGL.js} +6 -6
  65. package/dist/{chunk-CWJ26A6W.js → chunk-S4CX66JO.js} +1 -1
  66. package/dist/{chunk-H7EBNQGW.js → chunk-SK4BESZM.js} +1 -1
  67. package/dist/{chunk-NE5PE3Q7.js → chunk-TTBG7YZW.js} +7 -7
  68. package/dist/{chunk-FKC5D6CA.js → chunk-TZNIDZGI.js} +1 -1
  69. package/dist/{chunk-Q6MCI3BQ.js → chunk-UAZBE4O3.js} +10 -10
  70. package/dist/{chunk-DLYCHCKQ.js → chunk-UE42G3QY.js} +1 -1
  71. package/dist/{chunk-GOJ2SPKB.js → chunk-UFGV3JZ5.js} +1 -1
  72. package/dist/{chunk-2EJED3QQ.js → chunk-UN7RXMOB.js} +4 -4
  73. package/dist/{chunk-BBJC4R6E.js → chunk-UUVURKWB.js} +4 -4
  74. package/dist/{chunk-UQWBHNTZ.js → chunk-V6UDJVVD.js} +3 -3
  75. package/dist/{chunk-SCI6U7CV.js → chunk-V77IQKWK.js} +19 -19
  76. package/dist/{chunk-BCBZHDMW.js → chunk-VG6FUXGK.js} +1 -1
  77. package/dist/{chunk-BB73O6OW.js → chunk-WEPLWKV6.js} +3 -3
  78. package/dist/{chunk-6367NG5G.js → chunk-WZ6K327V.js} +7 -7
  79. package/dist/{chunk-IOUBTUS2.js → chunk-X6BGCNE3.js} +8 -8
  80. package/dist/{chunk-RO5YUUN2.js → chunk-XT6LWXJ2.js} +1 -1
  81. package/dist/{chunk-4FUTEM37.js → chunk-YICV7DAE.js} +3 -3
  82. package/dist/{chunk-45JV3EMA.js → chunk-ZASDJ7F5.js} +6 -8
  83. package/dist/{chunk-YNNTU5IZ.js → chunk-ZIN6G7DS.js} +1 -1
  84. package/dist/{chunk-O2324X34.js → chunk-ZQTMWBLA.js} +1 -1
  85. package/dist/{chunk-77JLN6GC.js → chunk-ZYIVNB6B.js} +7 -8
  86. package/dist/{claude-launcher-TWKHBR6F.js → claude-launcher-HWC5S5HD.js} +7 -7
  87. package/dist/{cli-SSHQSIPV.js → cli-TWF7CU3E.js} +168 -168
  88. package/dist/{command-W6BEIPAJ.js → command-KGYVPB7B.js} +52 -52
  89. package/dist/{config-HYSU7MD3.js → config-J4VSNOH4.js} +12 -12
  90. package/dist/{connect-cmd-O4ATJTQV.js → connect-cmd-LPC6J27D.js} +13 -13
  91. package/dist/{container-start-4KRTW3QU.js → container-start-O6BAIQGT.js} +49 -49
  92. package/dist/{context-cleanup-SK445SLA.js → context-cleanup-VWJSWUJB.js} +4 -4
  93. package/dist/{context-show-cmd-D3GXL65K.js → context-show-cmd-B427F3M4.js} +14 -14
  94. package/dist/{control-plane-launch-KVROM6BY.js → control-plane-launch-WV253P7I.js} +14 -14
  95. package/dist/{demo-record-cmd-UMHWHDZ4.js → demo-record-cmd-YRND2HVT.js} +8 -8
  96. package/dist/{demo-voice-cmd-GBI52Y73.js → demo-voice-cmd-TUIXJ7CY.js} +20 -20
  97. package/dist/{dist-775TDFCK.js → dist-UV2JOW3N.js} +2 -2
  98. package/dist/{docker-B76MDGCW.js → docker-6NO5B657.js} +10 -10
  99. package/dist/{doctor-QV3BJKRZ.js → doctor-V3Z5CR5Q.js} +60 -65
  100. package/dist/{emit-artifact-cmd-X4AKVBS2.js → emit-artifact-cmd-MWDEBRB2.js} +19 -19
  101. package/dist/{emit-cmd-A6ZGOPLZ.js → emit-cmd-2ADJWBJP.js} +7 -7
  102. package/dist/{emit-criteria-cmd-UKZBMIK6.js → emit-criteria-cmd-35O7KR37.js} +16 -16
  103. package/dist/{emit-demo-cmd-QC56Y6P2.js → emit-demo-cmd-HJCW3JEA.js} +20 -20
  104. package/dist/{emit-finding-cmd-DL2Y7BEV.js → emit-finding-cmd-Q4SN3OA7.js} +16 -16
  105. package/dist/{emit-result-cmd-VPWAJBN6.js → emit-result-cmd-7VEMDT2P.js} +18 -18
  106. package/dist/{emit-step-cmd-REP4IS3F.js → emit-step-cmd-DYQM5OQA.js} +16 -16
  107. package/dist/{exec-client-KBOKVUU5.js → exec-client-6WGSNY56.js} +8 -8
  108. package/dist/{chunk-6TF4QU7M.js → find-unit-6BX4K4WV.js} +19 -2
  109. package/dist/{findings-cmd-BXAXOQB6.js → findings-cmd-WHQBJZNA.js} +16 -16
  110. package/dist/{fleet-readiness-EDJDDAEB.js → fleet-readiness-A67D5OP4.js} +14 -14
  111. package/dist/{governing-source-AG7KDIIG.js → governing-source-C4BMFNFZ.js} +21 -21
  112. package/dist/{guest-init-DUOJUQFY.js → guest-init-ZWEJGXQS.js} +9 -9
  113. package/dist/{hook-fast-ZVZWP7OQ.js → hook-fast-SZ5L3ZJK.js} +1 -1
  114. package/dist/{hook-install-VF3X2ZXN.js → hook-install-63GJ3OUI.js} +4 -4
  115. package/dist/host-checks-SYD7WFUN.js +82 -0
  116. package/dist/host-key-AYXCAME4.js +18 -0
  117. package/dist/{image-tag-BTK5342G.js → image-tag-6HQDPX45.js} +8 -8
  118. package/dist/index.js +4 -4
  119. package/dist/{init-OZ4JNNOI.js → init-KOG5S5KX.js} +47 -47
  120. package/dist/init-ULMPF7MK.js +82 -0
  121. package/dist/{init-agent-GNX5OIZX.js → init-agent-XIDQULDZ.js} +47 -47
  122. package/dist/init-cmd-P7FYHTLS.js +53 -0
  123. package/dist/{init-update-ZJSTM46T.js → init-update-7SBDG65Z.js} +24 -24
  124. package/dist/install-cmd-TWYZTNRV.js +26 -0
  125. package/dist/launch-agent-5MCXT6QN.js +26 -0
  126. package/dist/{layout-BG6MFUS3.js → layout-2MIQCJ3U.js} +4 -4
  127. package/dist/{login-browser-OA4R4PEQ.js → login-browser-ZYWUIEOQ.js} +2 -2
  128. package/dist/{logs-L5GX5BWF.js → logs-SP6RPVCP.js} +7 -7
  129. package/dist/loop-OU2U7SUJ.js +92 -0
  130. package/dist/machine-NE34TJIO.js +82 -0
  131. package/dist/{machine-skills-B7KO47CH.js → machine-skills-UYWZXOZI.js} +4 -4
  132. package/dist/{mcp-install-cmd-JXD6Q7NN.js → mcp-install-cmd-U2SEWH66.js} +4 -4
  133. package/dist/{mcp-serve-cmd-3B3KWYHN.js → mcp-serve-cmd-VAQL3CJB.js} +9 -9
  134. package/dist/{paths-26SZBIOA.js → paths-G7LFPGQQ.js} +7 -7
  135. package/dist/pending-OEAYMKZO.js +18 -0
  136. package/dist/{pidfile-22HCQHLJ.js → pidfile-FIVR2HKB.js} +8 -8
  137. package/dist/{record-HFUJLNOV.js → record-K3I7V46A.js} +8 -8
  138. package/dist/{relay-V5GHEWT3.js → relay-AQBBQJ5I.js} +5 -5
  139. package/dist/{relay-protocol-2S2EAHYH.js → relay-protocol-XZ7WESQL.js} +5 -5
  140. package/dist/{run-cmd-G4LA2YZR.js → run-cmd-BRUSQKEA.js} +16 -16
  141. package/dist/{runner-agents-CLDURIBZ.js → runner-agents-KF6EECFW.js} +4 -4
  142. package/dist/runner-env-XAO7EBCK.js +24 -0
  143. package/dist/{runner-identity-V4IUTSCJ.js → runner-identity-JM3ZQ2PJ.js} +10 -10
  144. package/dist/{runner-key-FQDBMYII.js → runner-key-P6FUFO6Y.js} +47 -47
  145. package/dist/{session-sender-AAQXJLNE.js → session-sender-N3U3ZTL3.js} +19 -19
  146. package/dist/{setup-cmd-4CKPSEJD.js → setup-cmd-F7Y4SFTK.js} +14 -14
  147. package/dist/{setup-wiring-INA66DBJ.js → setup-wiring-LU6AY2QA.js} +54 -54
  148. package/dist/{spec-cmd-V2FPAZJ7.js → spec-cmd-ZNXNMAYA.js} +17 -17
  149. package/dist/{starter-pack-WOD4WMUX.js → starter-pack-NEQLRMTX.js} +5 -5
  150. package/dist/state-VXN7EX2K.js +18 -0
  151. package/dist/{status-MC2SJQ57.js → status-N326EK5I.js} +47 -47
  152. package/dist/{sync-cmd-2TLRGEXR.js → sync-cmd-KG7YQGM6.js} +18 -18
  153. package/dist/update-steps-YQQXESUZ.js +83 -0
  154. package/dist/{watch-GQAIYCFW.js → watch-3VJ363V2.js} +18 -18
  155. package/dist/{work-claim-cmd-SI3UTDLB.js → work-claim-cmd-MXWB5NG6.js} +23 -23
  156. package/dist/{work-cmd-LA5ZBMBQ.js → work-cmd-X55AAJG2.js} +16 -16
  157. package/dist/{work-comment-cmd-NP6USSKX.js → work-comment-cmd-7AL5KEVJ.js} +18 -18
  158. package/dist/{work-demo-cmd-KZDTXCYM.js → work-demo-cmd-6UFGGEMI.js} +16 -16
  159. package/dist/{work-logs-cmd-3BX5MK2E.js → work-logs-cmd-DCAV3J7A.js} +16 -16
  160. package/dist/{work-mock-cmd-IT3IKALB.js → work-mock-cmd-O7KFTS65.js} +16 -16
  161. package/dist/{work-needs-attention-cmd-BDIFC7I4.js → work-needs-attention-cmd-OD5PTHLX.js} +16 -16
  162. package/dist/{work-no-change-cmd-A65QOBQ2.js → work-no-change-cmd-ABYXIOZT.js} +16 -16
  163. package/dist/{work-open-pr-cmd-CGSCDYHI.js → work-open-pr-cmd-WRFHZXVM.js} +17 -17
  164. package/dist/{work-pr-cmd-DZKJLYLF.js → work-pr-cmd-VEH4HP7P.js} +16 -16
  165. package/dist/{work-proofs-cmd-OJXWHUMP.js → work-proofs-cmd-TKA3J2II.js} +18 -18
  166. package/dist/{work-proofs-record-J6WOOW3R.js → work-proofs-record-WTBSJLET.js} +24 -24
  167. package/dist/{work-stop-cmd-RJESQDZN.js → work-stop-cmd-WF7R6ILK.js} +16 -16
  168. package/package.json +1 -1
  169. package/skill-pack/maintained/outerlayer-review/SKILL.md +5 -2
  170. package/skill-pack/maintained/outerlayer-review/references/consolidation.md +80 -0
  171. package/dist/agent-setup-5UMGRTAY.js +0 -41
  172. package/dist/caller-VTVQPOGC.js +0 -23
  173. package/dist/find-unit-5PUEPP5J.js +0 -24
  174. package/dist/host-checks-AS2C5HR2.js +0 -82
  175. package/dist/host-key-MNYYPKBU.js +0 -18
  176. package/dist/init-H2GOMKCC.js +0 -82
  177. package/dist/init-cmd-CM7UKGRG.js +0 -53
  178. package/dist/install-cmd-U4PP4YQE.js +0 -26
  179. package/dist/launch-agent-BIAPDAVB.js +0 -26
  180. package/dist/loop-3F3PNYOH.js +0 -92
  181. package/dist/machine-CCB2PQIM.js +0 -82
  182. package/dist/pending-Y62PXWTU.js +0 -18
  183. package/dist/runner-env-RQ3SKLKL.js +0 -24
  184. package/dist/state-PSFO26DS.js +0 -18
  185. package/dist/update-steps-JZE3OGKB.js +0 -83
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-6DO34552.js';
4
- import { resolveGatewayCredentials } from './chunk-DG7525WL.js';
3
+ import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-BEK2BZAI.js';
4
+ import { resolveGatewayCredentials } from './chunk-NWWED36F.js';
5
5
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
6
6
  import { execFileSync } from 'child_process';
7
7
  import { existsSync, mkdirSync, writeFileSync } from 'fs';
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtinKind, keepsHostBuilder } from './chunk-45JV3EMA.js';
4
- import { parseSize } from './chunk-YSHMGQRD.js';
5
- import { runnerDir } from './chunk-JE23PLDE.js';
6
- import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-QVTGSGQ5.js';
7
- import { credentialAgent, credentialNames, credentialForms } from './chunk-OF6XMZHO.js';
8
- import { defaultAgents } from './chunk-CEHT2FCU.js';
3
+ import { builtinKind, keepsHostBuilder } from './chunk-ZASDJ7F5.js';
4
+ import { parseSize } from './chunk-PZZS6DHY.js';
5
+ import { runnerDir } from './chunk-H2THCHUP.js';
6
+ import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-GQI5N56J.js';
7
+ import { credentialAgent, credentialNames, credentialForms } from './chunk-7QIQ7QR3.js';
8
+ import { defaultAgents } from './chunk-5EWESACE.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';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { homeFromEnv } from './chunk-352DHUTP.js';
4
- import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-MCUI6RHU.js';
4
+ import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-CH3PO7UY.js';
5
5
  import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
6
6
  import { join, dirname } from 'path';
7
7
 
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_UNIT_NAME } from './chunk-CFIYOLCT.js';
4
- import { RUNNER_FILE_MODE } from './chunk-JE23PLDE.js';
5
- import { parseRunnerEnv, withoutCredentialLines } from './chunk-QVTGSGQ5.js';
6
- import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-OF6XMZHO.js';
7
- import { defaultAgents } from './chunk-CEHT2FCU.js';
3
+ import { DEFAULT_UNIT_NAME } from './chunk-F6J3ACXH.js';
4
+ import { RUNNER_FILE_MODE } from './chunk-H2THCHUP.js';
5
+ import { parseRunnerEnv, withoutCredentialLines } from './chunk-GQI5N56J.js';
6
+ import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-7QIQ7QR3.js';
7
+ import { defaultAgents } from './chunk-5EWESACE.js';
8
8
  import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
9
9
  import { join, dirname } from 'path';
10
10
 
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-C6EPHJIV.js';
4
- import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-UAOLY4EP.js';
3
+ import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-D2QNQOFX.js';
4
+ import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-I7ZQKMKG.js';
5
5
  import { compareVersions } from './chunk-TQMI335S.js';
6
- import { defaultRunnerConfigPath } from './chunk-45JV3EMA.js';
7
- import { runnerDir, RUNNER_DIR_MODE } from './chunk-JE23PLDE.js';
6
+ import { defaultRunnerConfigPath } from './chunk-ZASDJ7F5.js';
7
+ import { runnerDir, RUNNER_DIR_MODE } from './chunk-H2THCHUP.js';
8
8
  import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
9
9
  import { dirname, sep, join, resolve } from 'path';
10
10
  import { spawnSync } from 'child_process';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-OF6XMZHO.js';
4
- import { defaultAgents } from './chunk-CEHT2FCU.js';
3
+ import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-7QIQ7QR3.js';
4
+ import { defaultAgents } from './chunk-5EWESACE.js';
5
5
  import { PROVIDERS } from './chunk-JIMISJV2.js';
6
6
  import { statSync, readFileSync } from 'fs';
7
7
  import { join } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { BUILD_HOME } from './chunk-77JLN6GC.js';
3
+ import { BUILD_HOME } from './chunk-ZYIVNB6B.js';
4
4
  import { readdirSync } from 'fs';
5
5
  import { join, dirname } from 'path';
6
6
 
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { uploadSpooledSteps } from './chunk-UELSHBQH.js';
3
+ import { uploadSpooledSteps } from './chunk-AH2BO6Q6.js';
4
4
  import { LaunchFilter } from './chunk-C2PZOLN7.js';
5
- import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-DV44KCM6.js';
5
+ import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-FG2E3HES.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DG7525WL.js';
7
+ import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NWWED36F.js';
8
8
  import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
9
- import { signerFor, signRunnerRequest } from './chunk-MCJRTOAL.js';
10
- import { SCRUB_ENV_VARIABLE } from './chunk-77JLN6GC.js';
11
- import { writeSyncStatus, logHookError, spoolDir } from './chunk-QI6YUQWR.js';
9
+ import { signerFor, signRunnerRequest } from './chunk-6ZBUQIJA.js';
10
+ import { SCRUB_ENV_VARIABLE } from './chunk-ZYIVNB6B.js';
11
+ import { writeSyncStatus, logHookError, spoolDir } from './chunk-6NODVJGM.js';
12
12
  import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
13
13
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
14
14
  import { hookExecSpoolPath } from './chunk-2ZF62BAK.js';
@@ -16,11 +16,11 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
16
16
  import { readLaunchSpoolState, launchStatusIsDecisive, parseRunEnv, launchedItemsBySession, launchesPath } from './chunk-LGJ56FCM.js';
17
17
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
18
18
  import { removeJournalHooks } from './chunk-CJPTUU2E.js';
19
- import { legacyAgent, captureAgents, captureAdapters } from './chunk-CEHT2FCU.js';
19
+ import { legacyAgent, captureAgents, captureAdapters } from './chunk-5EWESACE.js';
20
20
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
21
21
  import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
22
- import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-YNNTU5IZ.js';
23
- import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-MCUI6RHU.js';
22
+ import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-ZIN6G7DS.js';
23
+ import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-CH3PO7UY.js';
24
24
  import { dirname, basename, join, sep } from 'path';
25
25
  import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
26
26
  import { execFileSync } from 'child_process';
@@ -2,8 +2,8 @@
2
2
  import { createRequire } from 'node:module';
3
3
  import { C } from './chunk-2AM6Z5BP.js';
4
4
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
5
- import { linkedAgentsPath } from './chunk-H7EBNQGW.js';
6
- import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-CEHT2FCU.js';
5
+ import { linkedAgentsPath } from './chunk-SK4BESZM.js';
6
+ import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-5EWESACE.js';
7
7
  import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
8
8
  import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
9
9
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { keyRunnerFactory, RunnerConfigError } from './chunk-45JV3EMA.js';
4
- import { orgHomeDir } from './chunk-JE23PLDE.js';
3
+ import { keyRunnerFactory, RunnerConfigError } from './chunk-ZASDJ7F5.js';
4
+ import { orgHomeDir } from './chunk-H2THCHUP.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
3
3
  import { C } from './chunk-2AM6Z5BP.js';
4
4
  import { readCloudConfig } from './chunk-HWVMRETT.js';
5
5
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
6
- import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-CEHT2FCU.js';
6
+ import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-5EWESACE.js';
7
7
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
8
8
  import { join, dirname } from 'path';
9
9
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-JE23PLDE.js';
3
+ import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-H2THCHUP.js';
4
4
  import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
5
5
  import { join, basename, sep, resolve } from 'path';
6
6
 
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-732WJDYG.js';
3
+ import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-H4JQKCVP.js';
4
4
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
5
- import { detectActiveSession } from './chunk-CWJ26A6W.js';
6
- import { autoConnect } from './chunk-UQWBHNTZ.js';
7
- import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-DV44KCM6.js';
5
+ import { detectActiveSession } from './chunk-S4CX66JO.js';
6
+ import { autoConnect } from './chunk-V6UDJVVD.js';
7
+ import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-FG2E3HES.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DG7525WL.js';
9
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NWWED36F.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
12
12
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
13
13
  import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
14
- import { resolveRepoIdentity } from './chunk-YNNTU5IZ.js';
15
- import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-MCUI6RHU.js';
14
+ import { resolveRepoIdentity } from './chunk-ZIN6G7DS.js';
15
+ import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-CH3PO7UY.js';
16
16
  import { createHash, randomUUID } from 'crypto';
17
17
  import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
18
18
  import { resolve, basename, join } from 'path';
@@ -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-OF6XMZHO.js';
3
+ import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-7QIQ7QR3.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';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
4
- import { execStartArgv } from './chunk-UAOLY4EP.js';
5
- import { DEFAULT_UNIT_NAME } from './chunk-CFIYOLCT.js';
6
- import { runnerDir } from './chunk-JE23PLDE.js';
4
+ import { execStartArgv } from './chunk-I7ZQKMKG.js';
5
+ import { DEFAULT_UNIT_NAME } from './chunk-F6J3ACXH.js';
6
+ import { runnerDir } from './chunk-H2THCHUP.js';
7
7
  import { join, dirname } from 'path';
8
8
 
9
9
  createRequire(import.meta.url);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
4
- import { legacyAgent, defaultAgents, HookTextError } from './chunk-CEHT2FCU.js';
4
+ import { legacyAgent, defaultAgents, HookTextError } from './chunk-5EWESACE.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { summarizeChecks, summaryText, renderDoctorText } from './chunk-SCI6U7CV.js';
3
+ import { summarizeChecks, summaryText, renderDoctorText } from './chunk-V77IQKWK.js';
4
4
  import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
5
- import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-6DO34552.js';
5
+ import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-BEK2BZAI.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
8
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { sanitizeTerminal } from './chunk-DV44KCM6.js';
4
- import { resolvePackRoot, parseProofsConfig } from './chunk-CEHT2FCU.js';
5
- import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
3
+ import { sanitizeTerminal } from './chunk-FG2E3HES.js';
4
+ import { resolvePackRoot, parseProofsConfig } from './chunk-5EWESACE.js';
5
+ import { CHECK_ITEM_REF_PATH_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-CH3PO7UY.js';
6
6
  import { createHash } from 'crypto';
7
7
  import { join } from 'path';
8
8
  import { pathToFileURL } from 'url';
@@ -2589,11 +2589,16 @@ function wholeItems(input) {
2589
2589
  const lines = diffLines(input.patch);
2590
2590
  const entries = wholeEntries(input.answer);
2591
2591
  const ids = itemIds(entries.map((entry) => entry.id), input.clean);
2592
+ const of = input.reviewers === void 0 ? 0 : Math.min(input.reviewers, 20);
2592
2593
  return entries.map((entry, index) => {
2593
2594
  const reason = oneLineReason(entry.reason === void 0 ? void 0 : input.clean(entry.reason));
2594
2595
  const { refs } = namedTests(entry.refs, { treeRoot: input.treeRoot, check: input.place, ownTree: input.ownTree });
2595
- const placed = entry.result === "fail" ? refs.map((ref) => ref.line === void 0 ? ref : { ...ref, inDiff: lineInDiff(lines, ref.path, ref.line) }) : refs;
2596
- return { id: ids[index], result: entry.result, commit: input.commit, ...reason === void 0 ? {} : { reason }, ...placed.length === 0 ? {} : { refs: placed } };
2596
+ const failing = entry.result === "fail";
2597
+ const placed = failing ? refs.map((ref) => ref.line === void 0 ? ref : { ...ref, inDiff: lineInDiff(lines, ref.path, ref.line) }) : refs;
2598
+ const finders = entry.foundBy?.length ?? (entry.reviewer === void 0 ? 0 : 1);
2599
+ const found = failing && of > 1 && finders > 0 ? { foundBy: { count: Math.min(finders, of), of } } : {};
2600
+ const severity = failing && entry.severity !== void 0 ? { severity: entry.severity } : {};
2601
+ return { id: ids[index], result: entry.result, commit: input.commit, ...reason === void 0 ? {} : { reason }, ...placed.length === 0 ? {} : { refs: placed }, ...severity, ...found };
2597
2602
  });
2598
2603
  }
2599
2604
  function failedItems(criteria, reason) {
@@ -2648,4 +2653,4 @@ function hostItemsOf(workItem, name) {
2648
2653
  return parsed.success ? parsed.data : [];
2649
2654
  }
2650
2655
 
2651
- export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, loadCitationFinder, oneLineReason, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, wholeEntries, wholeItems };
2656
+ export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, diffLines, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, lineInDiff, loadCitationFinder, oneLineReason, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, treePath, wholeEntries, wholeItems };
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-DSUD4K5N.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-CFIYOLCT.js';
5
- import { getJson, WorkCommandError } from './chunk-IOUBTUS2.js';
6
- import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-45JV3EMA.js';
7
- import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-UMFSHU72.js';
8
- import { ensureHostKey } from './chunk-MCJRTOAL.js';
9
- import { sandboxSettingsFrom } from './chunk-77JLN6GC.js';
10
- import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-QVTGSGQ5.js';
11
- import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-OF6XMZHO.js';
12
- import { defaultAgents } from './chunk-CEHT2FCU.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-MG2Y5XYV.js';
4
+ import { checkFit } from './chunk-F6J3ACXH.js';
5
+ import { getJson, WorkCommandError } from './chunk-X6BGCNE3.js';
6
+ import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-ZASDJ7F5.js';
7
+ import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-33DTLCL6.js';
8
+ import { ensureHostKey } from './chunk-6ZBUQIJA.js';
9
+ import { sandboxSettingsFrom } from './chunk-ZYIVNB6B.js';
10
+ import { agentCredentialVariablesSet, agentCredential, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-GQI5N56J.js';
11
+ import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, storeVariables, credentialEnvPath } from './chunk-7QIQ7QR3.js';
12
+ import { defaultAgents } from './chunk-5EWESACE.js';
13
13
  import { closeSync, openSync, constants, readFileSync } from 'fs';
14
14
  import { join, dirname } from 'path';
15
15
  import { totalmem } from 'os';
@@ -26,10 +26,8 @@ function fleetConfigProblem(config) {
26
26
  if (config.appId !== void 0) {
27
27
  return `fleet: the config names an appId (${config.appId}), and a fleet machine belongs to no factory. Remove appId from the config`;
28
28
  }
29
- const vm = isBuiltinVm(config.hooks.provision) && isBuiltinVm(config.hooks.cleanup);
30
- const sandbox = isBuiltinSandbox(config.hooks.provision) && isBuiltinSandbox(config.hooks.cleanup);
31
- if (!vm && !sandbox) {
32
- return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:vm or both be builtin:sandbox, because each build of a fleet runner runs in a machine of its own";
29
+ if (!isBuiltinSandbox(config.hooks.provision) || !isBuiltinSandbox(config.hooks.cleanup)) {
30
+ return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:sandbox, because each build of a fleet runner runs in a sandbox";
33
31
  }
34
32
  return void 0;
35
33
  }
@@ -75,18 +73,11 @@ function sliceMemoryOf(env) {
75
73
  }
76
74
  function managedProblems(facts, agents = defaultAgents()) {
77
75
  const problems = [];
78
- const kind = builtinKind(facts.provision);
79
- if (kind === "sandbox") ; else if (kind !== "vm") {
76
+ if (builtinKind(facts.provision) !== "sandbox") {
80
77
  problems.push({
81
- condition: "jailer",
82
- reason: `a managed runner needs builtin:vm or builtin:sandbox hooks, and runner.hooks.provision is ${facts.provision}. Without them a build would not run in a machine of its own. Set runner.hooks.provision and runner.hooks.cleanup to builtin:vm or to builtin:sandbox`
78
+ condition: "sandbox",
79
+ reason: `a fleet runner builds only in sandboxes, and runner.hooks.provision is ${facts.provision}. Set runner.hooks.provision and runner.hooks.cleanup to builtin:sandbox`
83
80
  });
84
- } else if (facts.jailer === "usable") ; else if (facts.jailer === "unknown") {
85
- problems.push({ condition: "jailer", reason: "the runner has not yet asked the root helper whether builds run under the jailer, so builds would run without the jailer until it answers" });
86
- } else {
87
- const { problem } = facts.jailer;
88
- const advice = problem.includes("pins no helper") || problem.includes("runner install") ? "" : ". Run `outerlayer runner install --service --replace` to install the root helper, then restart the service";
89
- problems.push({ condition: "jailer", reason: `builds would run without the jailer, which a managed runner does not allow: ${problem}${advice}` });
90
81
  }
91
82
  const held = forwardedVariables(agents).filter((variable) => facts.credentials.has(variable));
92
83
  const owner = credentialAgent(agents);
@@ -110,19 +101,6 @@ function managedProblems(facts, agents = defaultAgents()) {
110
101
  reason: `${off.map((key) => `runner.build.egress.${key}`).join(" and ")} ${off.length === 1 ? "is" : "are"} 0, which turns ${off.length === 1 ? "that limit" : "those limits"} off. A managed runner limits how fast a build opens connections and sends bytes, because every organization on the host shares one address. Remove ${off.length === 1 ? "the key" : "the keys"} to use the default, or set a value above 0`
111
102
  });
112
103
  }
113
- if (kind === "vm") {
114
- if (facts.imageBuild === "host") {
115
- problems.push({
116
- condition: "imageBuild",
117
- reason: "runner.build.imageBuild is host, and a managed runner builds its images in a builder microVM, because a recipe step on the host could reach the host's own services and network. Remove runner.build.imageBuild or set it to vm"
118
- });
119
- } else if (!facts.builderDiskPinned) {
120
- problems.push({
121
- condition: "imageBuild",
122
- reason: "this release of the CLI pins no builder root disk, so it cannot build images in a builder microVM, which a managed runner needs for runner.build.imageBuild. Update the CLI to a release that pins one"
123
- });
124
- }
125
- }
126
104
  return problems;
127
105
  }
128
106
  function credentialsInFiles(configPath, agents) {
@@ -144,12 +122,9 @@ function credentialsInFiles(configPath, agents) {
144
122
  function managedFactsOf(config, probes, agents = defaultAgents()) {
145
123
  return {
146
124
  provision: config.hooks.provision,
147
- jailer: probes.jailer ?? "unknown",
148
125
  credentials: /* @__PURE__ */ new Set([...agentCredentialVariablesSet(probes.env, {}, agents), ...credentialsInFiles(config.configPath, agents)]),
149
126
  allowHosts: config.build?.allowHosts,
150
- egress: config.build?.egress,
151
- imageBuild: imageBuildOf(config),
152
- builderDiskPinned: probes.builderDiskPinned ?? builderDiskPinned()
127
+ egress: config.build?.egress
153
128
  };
154
129
  }
155
130
  function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
@@ -157,7 +132,7 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
157
132
  let slots;
158
133
  const placeholders = placeholderQueues(config);
159
134
  if (placeholders.length > 0) return blocked(`${placeholderProblem(placeholders)}. The runner takes work again once the config is edited`);
160
- if (config.managed === true) {
135
+ if (config.fleet === true) {
161
136
  const unmet = managedProblems(managedFactsOf(config, probes, agents), agents)[0];
162
137
  if (unmet !== void 0) return blocked(unmet.reason);
163
138
  }
@@ -208,7 +183,7 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
208
183
  if (builder !== "usable") return { blocked: { reason: `${builder.problem}. The runner takes work again once its image builder works` }, slots };
209
184
  }
210
185
  const owner = credentialAgent(agents);
211
- if (kind !== "own" && config.managed !== true && owner !== void 0 && agentCredential(probes.env, {}, agents) === void 0) {
186
+ if (kind !== "own" && config.fleet !== true && owner !== void 0 && agentCredential(probes.env, {}, agents) === void 0) {
212
187
  const forms = credentialForms(owner.descriptor);
213
188
  return {
214
189
  slots,
@@ -219,38 +194,5 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
219
194
  }
220
195
  return { slots };
221
196
  }
222
- var GIB = 1024 ** 3;
223
- function largeBuildMemoryBytes() {
224
- return 32 * GIB;
225
- }
226
- var LARGE_BUILD_DISK_BYTES = 3e10;
227
- function checkManagedRoom(input) {
228
- const availableBytes = input.sliceBytes ?? Math.max(0, input.totalMemoryBytes - RUNNER_RESERVE_BYTES);
229
- if (input.runningMemoryBytes + largeBuildMemoryBytes() > availableBytes) {
230
- const where = input.sliceBytes === void 0 ? "the host's memory less the runner's reserve" : "the memory limit of the runner's build slice";
231
- return {
232
- fits: false,
233
- resource: "memory",
234
- reason: `one more Large build needs ${gib(largeBuildMemoryBytes())} of memory, and the running builds hold ${gib(input.runningMemoryBytes)} of the ${gib(availableBytes)} in ${where}`
235
- };
236
- }
237
- if (input.freeDiskBytes !== void 0) {
238
- const diskBytes = input.freeDiskBytes + input.heldDiskBytes;
239
- if (input.runningDiskBytes + LARGE_BUILD_DISK_BYTES > diskBytes) {
240
- return {
241
- fits: false,
242
- resource: "disk",
243
- reason: `one more Large build needs a ${gb(LARGE_BUILD_DISK_BYTES)} build disk beside the ${gb(input.runningDiskBytes)} the running builds' disks may grow to, and the runner's file system has ${gb(diskBytes)} free or held by them`
244
- };
245
- }
246
- }
247
- return { fits: true };
248
- }
249
- function gib(bytes) {
250
- return `${(bytes / GIB).toFixed(1)} GiB`;
251
- }
252
- function gb(bytes) {
253
- return `${(bytes / 1e9).toFixed(1)} GB`;
254
- }
255
197
 
256
- export { LARGE_BUILD_DISK_BYTES, askFleetMachine, checkBlockedWithSlots, checkManagedRoom, fleetConfigProblem, largeBuildMemoryBytes, managedFactsOf, managedProblems, realBlockedProbes, sliceMemoryOf };
198
+ export { askFleetMachine, checkBlockedWithSlots, fleetConfigProblem, managedFactsOf, managedProblems, realBlockedProbes };