@outerlayer/cli 0.38.0-next.20261110212358 → 0.38.0-next.20261111004457

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 (176) hide show
  1. package/dist/agent-setup-OU7CGYSN.js +40 -0
  2. package/dist/{agent-subcommand-5PNHUNZZ.js → agent-subcommand-GG4PSHYT.js} +4 -4
  3. package/dist/{artifact-link-cmd-XOFZP7U5.js → artifact-link-cmd-L4BXSQQP.js} +2 -2
  4. package/dist/{bridge-RNM7OWRW.js → bridge-MVW5RNQD.js} +7 -7
  5. package/dist/{build-VKO7IVOQ.js → build-D4Y3LBPO.js} +13 -13
  6. package/dist/{build-disk-M2JYJF6R.js → build-disk-VDMWH3C3.js} +11 -11
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-HMHJ6U7C.js → builder-6L5ZMXBE.js} +10 -10
  9. package/dist/caller-FFSXVMLB.js +23 -0
  10. package/dist/{check-3XHEVEXS.js → check-U5DOQU64.js} +55 -55
  11. package/dist/{chunk-SBPMDO47.js → chunk-2HLMGVK6.js} +1 -1
  12. package/dist/{chunk-TW2V2IQ4.js → chunk-2KUFDLLY.js} +1 -1
  13. package/dist/{chunk-XCTE5S2C.js → chunk-2PYQ6BZJ.js} +1 -1
  14. package/dist/{chunk-HMDEF3UT.js → chunk-2ZPXDOCU.js} +16 -16
  15. package/dist/{chunk-ALCZ2SEW.js → chunk-3AHABZMA.js} +5 -5
  16. package/dist/{chunk-5QFFQCSY.js → chunk-3IL6H7A4.js} +1 -1
  17. package/dist/{chunk-5QDHJT73.js → chunk-4JKCTCCC.js} +6 -5
  18. package/dist/{chunk-NE7EG3SN.js → chunk-4S6ML2YX.js} +4 -4
  19. package/dist/{chunk-ATQHPT3B.js → chunk-5TODASD5.js} +1 -1
  20. package/dist/{chunk-C574RHGN.js → chunk-5U4IKVF5.js} +3 -3
  21. package/dist/{chunk-AC6DM3S3.js → chunk-6Z5AC4ZK.js} +1 -1
  22. package/dist/{chunk-IGO766M6.js → chunk-7GYY7RHR.js} +4 -4
  23. package/dist/{chunk-OI4ZV7MJ.js → chunk-7ILAGC3U.js} +1 -1
  24. package/dist/{chunk-YOAJLD2D.js → chunk-7NRULS6C.js} +7 -7
  25. package/dist/{chunk-VU5PPWIQ.js → chunk-A6CCWLUP.js} +7 -7
  26. package/dist/{chunk-YZQYTOCR.js → chunk-BYWVHMBR.js} +1 -1
  27. package/dist/{chunk-KGHYNTF6.js → chunk-BZSGU2WC.js} +7 -7
  28. package/dist/{chunk-UCUBQWJC.js → chunk-CKA4JQKR.js} +1 -1
  29. package/dist/{chunk-ITOIM3WV.js → chunk-CSFMIUYS.js} +1 -1
  30. package/dist/{chunk-QGUCHNSQ.js → chunk-D7OVS2LL.js} +3 -3
  31. package/dist/{chunk-PA6FKP5B.js → chunk-DDEJP7YT.js} +6 -6
  32. package/dist/{chunk-72LXVD4O.js → chunk-DNCF3XOC.js} +4 -4
  33. package/dist/{chunk-MBPBYMHU.js → chunk-E5G6K7C4.js} +1 -1
  34. package/dist/{chunk-L32O52SH.js → chunk-EKV7QATX.js} +1 -1
  35. package/dist/{chunk-F2ADK2KB.js → chunk-EN3OWMED.js} +5 -5
  36. package/dist/{chunk-VNHDMOZW.js → chunk-F5ONFHHU.js} +52 -31
  37. package/dist/{chunk-MT4XF5OL.js → chunk-G2CRPYFO.js} +2 -2
  38. package/dist/{chunk-3HJK7WTM.js → chunk-GELUV567.js} +137 -14
  39. package/dist/{chunk-TUSIYONR.js → chunk-HWXBOHEA.js} +1 -1
  40. package/dist/{chunk-2TXYQANG.js → chunk-IWJFARST.js} +1 -1
  41. package/dist/{chunk-DKDBMMX7.js → chunk-IZHI643L.js} +6 -6
  42. package/dist/{chunk-I2N427GS.js → chunk-J3KW7GPE.js} +8 -8
  43. package/dist/{chunk-47JRSV6Y.js → chunk-J4DTF5MN.js} +1 -1
  44. package/dist/{chunk-QFQ2UNZU.js → chunk-JASHMKDN.js} +6 -6
  45. package/dist/{chunk-25G5KXBE.js → chunk-JDXYBQBZ.js} +7 -7
  46. package/dist/{chunk-I64CTY4U.js → chunk-JNEK36QK.js} +113 -63
  47. package/dist/{chunk-E27XMQKR.js → chunk-JP5D37RZ.js} +3 -3
  48. package/dist/{chunk-EHPKACA7.js → chunk-JPO6RJEW.js} +1 -1
  49. package/dist/{chunk-IVB6A3I7.js → chunk-JRM35NTG.js} +7 -7
  50. package/dist/{chunk-735C5J6Q.js → chunk-LNTNFSRI.js} +5 -5
  51. package/dist/{chunk-L6CZTRNW.js → chunk-MRSN67FY.js} +1 -1
  52. package/dist/{chunk-RBLXGO5K.js → chunk-MV5WJEIB.js} +2 -2
  53. package/dist/{chunk-WH2QUYXH.js → chunk-MX5XVAOI.js} +2 -2
  54. package/dist/{chunk-OK4RSIB2.js → chunk-N3KGXHV4.js} +1 -1
  55. package/dist/{chunk-7E55P2NR.js → chunk-NAKFPE2V.js} +1 -1
  56. package/dist/{chunk-S56J4BMQ.js → chunk-NBJPY3OC.js} +10 -10
  57. package/dist/{chunk-XAR2CJFV.js → chunk-NCPZP6PQ.js} +7 -7
  58. package/dist/{chunk-FXVHF6RX.js → chunk-NEXKR5RR.js} +64 -13
  59. package/dist/{chunk-VRWZNI6U.js → chunk-NIQXLC6A.js} +1 -1
  60. package/dist/{chunk-3DY4DQOC.js → chunk-ONZNFKCH.js} +4 -4
  61. package/dist/{chunk-BTH6HTE5.js → chunk-OUKSF3LK.js} +5 -5
  62. package/dist/{chunk-6RQP5GP5.js → chunk-OVJSVC5U.js} +2 -2
  63. package/dist/{chunk-ENHD5PNW.js → chunk-OWBNADRQ.js} +1 -1
  64. package/dist/{chunk-MSARYPFD.js → chunk-OZDUVL5L.js} +2 -2
  65. package/dist/{chunk-FGBBGUM4.js → chunk-P5XX7VZ6.js} +4 -4
  66. package/dist/{chunk-YO2NPS66.js → chunk-PG33WPRF.js} +1 -1
  67. package/dist/{chunk-OEWSICWM.js → chunk-QB5MU2WS.js} +8 -8
  68. package/dist/{chunk-B5Z4VA4Q.js → chunk-QHYCF36K.js} +1 -1
  69. package/dist/{chunk-2WNJ2MHD.js → chunk-R6UNNKV3.js} +1 -1
  70. package/dist/{chunk-TD6DN5LU.js → chunk-RI37FFPL.js} +3 -3
  71. package/dist/{chunk-GJMLLXZJ.js → chunk-RWXLTF3K.js} +1 -1
  72. package/dist/{chunk-XFU37HIM.js → chunk-U43K2JS5.js} +3 -3
  73. package/dist/{chunk-6XROZIV6.js → chunk-UF3X5ECJ.js} +6 -6
  74. package/dist/{chunk-VQQF6MDT.js → chunk-W5OAKC2W.js} +10 -10
  75. package/dist/{chunk-BCQFMAGM.js → chunk-WPGGRTF4.js} +3 -3
  76. package/dist/{chunk-67BVM7JK.js → chunk-WVJDXOIG.js} +3 -3
  77. package/dist/{chunk-CXXQQST7.js → chunk-WWGXWKLT.js} +9 -9
  78. package/dist/{chunk-UUSSRXUJ.js → chunk-X7BVDOS2.js} +3 -3
  79. package/dist/{chunk-OWEJP5HJ.js → chunk-YB3M2TM3.js} +1 -1
  80. package/dist/{chunk-HDEYRLWK.js → chunk-YE3KPAT5.js} +1 -1
  81. package/dist/{chunk-3GTAPQBG.js → chunk-YWQ3S3F5.js} +2 -2
  82. package/dist/{chunk-B4U5XI4F.js → chunk-ZNQRFRBW.js} +8 -8
  83. package/dist/{claude-launcher-WMIUTAXY.js → claude-launcher-GNRTFQMI.js} +7 -7
  84. package/dist/{cli-PS6GSOAE.js → cli-SNHD2D6X.js} +157 -157
  85. package/dist/{command-XQPL75PX.js → command-NTKAT7KB.js} +50 -50
  86. package/dist/{config-ZRGYLVDX.js → config-LUIWZESD.js} +12 -12
  87. package/dist/{connect-cmd-MZXTWM4R.js → connect-cmd-4M4DN6GO.js} +13 -13
  88. package/dist/{container-start-M7SFF62T.js → container-start-BVEDUA7N.js} +48 -48
  89. package/dist/{context-cleanup-Z3HZZZXW.js → context-cleanup-JPPSK7DE.js} +4 -4
  90. package/dist/{context-show-cmd-SCOVPVDM.js → context-show-cmd-DAMQJOAL.js} +14 -14
  91. package/dist/{control-plane-launch-MWZHJ4G5.js → control-plane-launch-SD45JYKF.js} +14 -14
  92. package/dist/{demo-record-cmd-4RVSWVMK.js → demo-record-cmd-CFOXCR42.js} +8 -8
  93. package/dist/{demo-voice-cmd-TQP3PZE2.js → demo-voice-cmd-4YZJPUIP.js} +20 -20
  94. package/dist/{dist-XEPPXF4M.js → dist-5VKIP767.js} +2 -2
  95. package/dist/{docker-25F2KOBJ.js → docker-2DLKQOK3.js} +10 -10
  96. package/dist/{doctor-Z3U3ICVR.js → doctor-VFCDAKM4.js} +50 -50
  97. package/dist/{emit-artifact-cmd-Z4SHPKFT.js → emit-artifact-cmd-IWZDXJBY.js} +19 -19
  98. package/dist/{emit-cmd-NHMZ4M5S.js → emit-cmd-AIAY4WTW.js} +7 -7
  99. package/dist/{emit-criteria-cmd-HCN3DOJM.js → emit-criteria-cmd-UVCLLYEZ.js} +16 -16
  100. package/dist/{emit-demo-cmd-R3TIGMFX.js → emit-demo-cmd-BHKNT36Y.js} +20 -20
  101. package/dist/{emit-finding-cmd-YXR3ZVCJ.js → emit-finding-cmd-Y3XX26B4.js} +16 -16
  102. package/dist/{emit-result-cmd-Z7MBE37R.js → emit-result-cmd-TTQ3MLY4.js} +18 -18
  103. package/dist/{emit-step-cmd-JOSYDSEO.js → emit-step-cmd-EASDIM5Q.js} +16 -16
  104. package/dist/{exec-client-SZRXXKJ5.js → exec-client-MEIRWXLR.js} +8 -8
  105. package/dist/find-unit-2RZ4NCXQ.js +24 -0
  106. package/dist/{findings-cmd-NGFY25WZ.js → findings-cmd-KQOL6NJG.js} +16 -16
  107. package/dist/{fleet-readiness-NWIVQQ4P.js → fleet-readiness-R2BMWLXQ.js} +14 -14
  108. package/dist/governing-source-ARSS7R7L.js +41 -0
  109. package/dist/{guest-init-T7QJW2AJ.js → guest-init-UGBFOWNC.js} +9 -9
  110. package/dist/{hook-fast-ECQBMESE.js → hook-fast-DC556GE2.js} +1 -1
  111. package/dist/{hook-install-MBMG3G6B.js → hook-install-QQXREIMI.js} +4 -4
  112. package/dist/host-checks-UTZBDSWV.js +80 -0
  113. package/dist/host-key-CTRFLP2W.js +18 -0
  114. package/dist/{image-tag-OCVY4W5D.js → image-tag-RU4RHPIT.js} +8 -8
  115. package/dist/index.js +4 -4
  116. package/dist/init-I5HVGOQC.js +80 -0
  117. package/dist/{init-NRN2DQC3.js → init-QFTRSBBT.js} +46 -46
  118. package/dist/{init-agent-GDOZHPQH.js → init-agent-TKQ67BS4.js} +46 -46
  119. package/dist/{init-cmd-QJYX47LS.js → init-cmd-I36LJ6YC.js} +27 -27
  120. package/dist/{init-update-EUJ4264S.js → init-update-KG7V3VJF.js} +24 -24
  121. package/dist/{install-cmd-HWG6LJX5.js → install-cmd-66Z7TY52.js} +10 -10
  122. package/dist/{layout-CGE4KWGO.js → layout-CE6QLPNH.js} +4 -4
  123. package/dist/{login-browser-G7WNR74C.js → login-browser-COSWHZEC.js} +2 -2
  124. package/dist/{logs-TKWJ4S4W.js → logs-XWMVEAUP.js} +7 -7
  125. package/dist/loop-YCOSJRLW.js +90 -0
  126. package/dist/machine-BJEAYCHT.js +80 -0
  127. package/dist/{machine-skills-CXA57QHE.js → machine-skills-YJLPUAYZ.js} +4 -4
  128. package/dist/{mcp-install-cmd-6IGK65DV.js → mcp-install-cmd-VSWX5BSZ.js} +4 -4
  129. package/dist/{mcp-serve-cmd-DVE5XP2U.js → mcp-serve-cmd-M7CX4RO3.js} +9 -9
  130. package/dist/{paths-VOWYUJLZ.js → paths-GQ66KHNT.js} +7 -7
  131. package/dist/pending-COVCIH4Q.js +18 -0
  132. package/dist/{pidfile-MFP6B2KV.js → pidfile-RBG6FQ7K.js} +8 -8
  133. package/dist/{record-AWCJ3LTG.js → record-6IAZ26H3.js} +8 -8
  134. package/dist/{relay-YVZM5M6B.js → relay-VEBGGPYV.js} +5 -5
  135. package/dist/{relay-protocol-MNWITORT.js → relay-protocol-2AJCUAMJ.js} +5 -5
  136. package/dist/{run-cmd-MBH5Z2UL.js → run-cmd-EJPHCENL.js} +16 -16
  137. package/dist/{runner-agents-L3PLYFWJ.js → runner-agents-P562WZJB.js} +4 -4
  138. package/dist/runner-env-XPZ3FPQL.js +24 -0
  139. package/dist/{runner-identity-E2XKIJNB.js → runner-identity-TAJAY5M5.js} +10 -10
  140. package/dist/{runner-key-W5M6AYY5.js → runner-key-I3M7GEJE.js} +46 -46
  141. package/dist/{session-sender-IS6S7PBC.js → session-sender-OIOE4QR2.js} +19 -19
  142. package/dist/{spec-cmd-ZLDYL4N5.js → spec-cmd-2J43XP3L.js} +17 -17
  143. package/dist/{starter-pack-XINCCMDN.js → starter-pack-IT2KYFWU.js} +5 -5
  144. package/dist/state-NAZKB77R.js +18 -0
  145. package/dist/{status-L7R6FKWD.js → status-BFRDAZQP.js} +46 -46
  146. package/dist/{sync-cmd-3YZ4IB3T.js → sync-cmd-KWTFVQCR.js} +18 -18
  147. package/dist/update-steps-LINCNPGV.js +81 -0
  148. package/dist/{watch-LIIODJ5U.js → watch-3IBFF2SQ.js} +18 -18
  149. package/dist/{work-claim-cmd-GWBWIZ43.js → work-claim-cmd-C2WFSOKE.js} +22 -22
  150. package/dist/{work-cmd-CJWTGOU5.js → work-cmd-DO2QNBKA.js} +16 -16
  151. package/dist/{work-comment-cmd-RFVCNEET.js → work-comment-cmd-P5VJHCX7.js} +18 -18
  152. package/dist/{work-demo-cmd-Q2GKJCVL.js → work-demo-cmd-UJBZLOMQ.js} +16 -16
  153. package/dist/{work-logs-cmd-KZQBPU2J.js → work-logs-cmd-OVE5JUMH.js} +16 -16
  154. package/dist/{work-needs-attention-cmd-L3DOYAMK.js → work-needs-attention-cmd-QNCOUXMT.js} +16 -16
  155. package/dist/{work-no-change-cmd-SHP25CJB.js → work-no-change-cmd-KQSONMJX.js} +16 -16
  156. package/dist/{work-open-pr-cmd-VATPLVSL.js → work-open-pr-cmd-HBE74CZU.js} +17 -17
  157. package/dist/{work-pr-cmd-XBLNONT3.js → work-pr-cmd-62BGKUJM.js} +16 -16
  158. package/dist/{work-proofs-cmd-7HSLB52S.js → work-proofs-cmd-SLUFPOEN.js} +18 -18
  159. package/dist/{work-proofs-record-BE6UMZPH.js → work-proofs-record-6KGPMUHD.js} +24 -24
  160. package/dist/{work-stop-cmd-BLOSL24H.js → work-stop-cmd-7WEHA365.js} +16 -16
  161. package/package.json +1 -1
  162. package/skill-pack/maintained/outerlayer-findings/SKILL.md +46 -41
  163. package/skill-pack/maintained/outerlayer-findings/references/examples.md +23 -0
  164. package/dist/agent-setup-GZBGCV3K.js +0 -40
  165. package/dist/caller-U26SATTV.js +0 -23
  166. package/dist/find-unit-3RHC4375.js +0 -24
  167. package/dist/governing-source-DNWVPRXP.js +0 -41
  168. package/dist/host-checks-QLGWXKOC.js +0 -80
  169. package/dist/host-key-6SMJUTJ2.js +0 -18
  170. package/dist/init-JY3XYZI6.js +0 -80
  171. package/dist/loop-HWYHQ374.js +0 -90
  172. package/dist/machine-NVXRV4BO.js +0 -80
  173. package/dist/pending-35ML3JE5.js +0 -18
  174. package/dist/runner-env-IHWYZ3B6.js +0 -24
  175. package/dist/state-NIA6XT7D.js +0 -18
  176. package/dist/update-steps-6SPAPBAB.js +0 -81
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtinKind, keepsHostBuilder } from './chunk-5QDHJT73.js';
4
- import { parseSize } from './chunk-I2N427GS.js';
5
- import { runnerDir } from './chunk-AC6DM3S3.js';
6
- import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-WH2QUYXH.js';
7
- import { credentialAgent, credentialNames, credentialForms } from './chunk-UCUBQWJC.js';
8
- import { defaultAgents } from './chunk-MT4XF5OL.js';
3
+ import { builtinKind, keepsHostBuilder } from './chunk-4JKCTCCC.js';
4
+ import { parseSize } from './chunk-J3KW7GPE.js';
5
+ import { runnerDir } from './chunk-6Z5AC4ZK.js';
6
+ import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-MX5XVAOI.js';
7
+ import { credentialAgent, credentialNames, credentialForms } from './chunk-CKA4JQKR.js';
8
+ import { defaultAgents } from './chunk-G2CRPYFO.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,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-2TXYQANG.js';
4
- import { ensureHostKey } from './chunk-ENHD5PNW.js';
5
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-AC6DM3S3.js';
6
- import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-NE7EG3SN.js';
7
- import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-WH2QUYXH.js';
8
- import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-UCUBQWJC.js';
9
- import { defaultAgents } from './chunk-MT4XF5OL.js';
3
+ import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-IWJFARST.js';
4
+ import { ensureHostKey } from './chunk-OWBNADRQ.js';
5
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-6Z5AC4ZK.js';
6
+ import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-4S6ML2YX.js';
7
+ import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-MX5XVAOI.js';
8
+ import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-CKA4JQKR.js';
9
+ import { defaultAgents } from './chunk-G2CRPYFO.js';
10
10
  import { PROVIDERS } from './chunk-7PZDPISM.js';
11
- import { compareVersions } from './chunk-MBPBYMHU.js';
11
+ import { compareVersions } from './chunk-E5G6K7C4.js';
12
12
  import { createHash } from 'crypto';
13
13
  import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
14
14
  import { dirname, join, posix, resolve } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-MT4XF5OL.js';
3
+ import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-G2CRPYFO.js';
4
4
 
5
5
  createRequire(import.meta.url);
6
6
 
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { sanitizeTerminal } from './chunk-B5Z4VA4Q.js';
4
- import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-YO2NPS66.js';
5
- import { DEFAULT_DASHBOARD } from './chunk-OK4RSIB2.js';
6
- import { cliFetch, resolveGatewayCredentials } from './chunk-VRWZNI6U.js';
3
+ import { sanitizeTerminal } from './chunk-QHYCF36K.js';
4
+ import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-PG33WPRF.js';
5
+ import { DEFAULT_DASHBOARD } from './chunk-N3KGXHV4.js';
6
+ import { cliFetch, resolveGatewayCredentials } from './chunk-NIQXLC6A.js';
7
7
  import { readCloudConfig } from './chunk-HWVMRETT.js';
8
8
  import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
9
9
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
10
- import { defaultAgents } from './chunk-MT4XF5OL.js';
11
- import { remoteLookupFailed } from './chunk-MBPBYMHU.js';
10
+ import { defaultAgents } from './chunk-G2CRPYFO.js';
11
+ import { remoteLookupFailed } from './chunk-E5G6K7C4.js';
12
12
  import { execFileSync } from 'child_process';
13
13
  import { lstatSync } from 'fs';
14
14
  import { join, relative } from 'path';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { scrubReason, stripTerminalControls } from './chunk-I64CTY4U.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-DKDBMMX7.js';
5
- import { RunnerAlreadyRunningError, readPidFile } from './chunk-OI4ZV7MJ.js';
3
+ import { scrubReason, stripTerminalControls } from './chunk-JNEK36QK.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-IZHI643L.js';
5
+ import { RunnerAlreadyRunningError, readPidFile } from './chunk-7ILAGC3U.js';
6
6
  import { isSameProcess } from './chunk-JBJTC3UU.js';
7
- import { isSignatureRefusal, postJson } from './chunk-B4U5XI4F.js';
8
- import { keyRunnerFactory } from './chunk-5QDHJT73.js';
9
- import { signerFor } from './chunk-ENHD5PNW.js';
10
- import { pidFilePath } from './chunk-AC6DM3S3.js';
7
+ import { isSignatureRefusal, postJson } from './chunk-ZNQRFRBW.js';
8
+ import { keyRunnerFactory } from './chunk-4JKCTCCC.js';
9
+ import { signerFor } from './chunk-OWBNADRQ.js';
10
+ import { pidFilePath } from './chunk-6Z5AC4ZK.js';
11
11
  import { readFileSync } from 'fs';
12
12
 
13
13
  createRequire(import.meta.url);
@@ -1,50 +1,50 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, openPullRequests, MAX_TEST_FILE_BYTES } from './chunk-BCQFMAGM.js';
3
+ import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, openPullRequests, MAX_TEST_FILE_BYTES } from './chunk-WPGGRTF4.js';
4
4
  import { RUNNER_PROTOCOL } from './chunk-6XMC6R4W.js';
5
5
  import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
6
6
  import { zodProblem } from './chunk-I3LTIAOR.js';
7
- import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-F2ADK2KB.js';
8
- import { upgradedStarterText } from './chunk-BTH6HTE5.js';
9
- import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-UUSSRXUJ.js';
10
- import { writeDockerClientConfig } from './chunk-L32O52SH.js';
11
- import { senderPidfile } from './chunk-FGBBGUM4.js';
12
- import { installScrubContext } from './chunk-CXXQQST7.js';
7
+ import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-EN3OWMED.js';
8
+ import { upgradedStarterText } from './chunk-OUKSF3LK.js';
9
+ import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-X7BVDOS2.js';
10
+ import { writeDockerClientConfig } from './chunk-EKV7QATX.js';
11
+ import { senderPidfile } from './chunk-P5XX7VZ6.js';
12
+ import { installScrubContext } from './chunk-WWGXWKLT.js';
13
13
  import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
14
- import { runnerImageVersion } from './chunk-2WNJ2MHD.js';
15
- import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-MSARYPFD.js';
14
+ import { runnerImageVersion } from './chunk-R6UNNKV3.js';
15
+ import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-OZDUVL5L.js';
16
16
  import { receiveFiles } from './chunk-NN33FYXG.js';
17
- import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-XAR2CJFV.js';
18
- import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-72LXVD4O.js';
17
+ import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-NCPZP6PQ.js';
18
+ import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-DNCF3XOC.js';
19
19
  import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
20
20
  import { currentCliBuild } from './chunk-OGFGZQA3.js';
21
- import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-XCTE5S2C.js';
22
- import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-TD6DN5LU.js';
23
- import { describeCallFailure, shortClaim, retrySend, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, refusalCode, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, keepStagedContext, pinnedSourceOf, WORKFLOW_PERMISSION_REASON, shimScript, controlPlaneTokenFailure } from './chunk-IVB6A3I7.js';
24
- import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-B4U5XI4F.js';
25
- import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, sandboxSizeOf, networkOf, sandboxTimeLimitMinutes, DEFAULT_SETUP_MINUTES, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-5QDHJT73.js';
26
- import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-RBLXGO5K.js';
27
- import { runnerLabelValue, said, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, firstLine, writeJobFile, readJobFile, spawnRun, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, identityRunArgs, parseIdentity, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, parseSize, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_REPORT, SAVED_STATE_LABEL } from './chunk-I2N427GS.js';
28
- import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-2TXYQANG.js';
29
- import { sanitizeTerminal, planArtifactUpload } from './chunk-B5Z4VA4Q.js';
30
- import { sharedSkillNames, skillConflictMessage } from './chunk-L6CZTRNW.js';
21
+ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-2PYQ6BZJ.js';
22
+ import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-RI37FFPL.js';
23
+ import { describeCallFailure, shortClaim, retrySend, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, refusalCode, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, keepStagedContext, pinnedSourceOf, WORKFLOW_PERMISSION_REASON, shimScript, controlPlaneTokenFailure } from './chunk-JRM35NTG.js';
24
+ import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-ZNQRFRBW.js';
25
+ import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, sandboxSizeOf, networkOf, sandboxTimeLimitMinutes, DEFAULT_SETUP_MINUTES, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-4JKCTCCC.js';
26
+ import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-MV5WJEIB.js';
27
+ import { runnerLabelValue, said, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, judgeProgramRecord, firstLine, writeJobFile, readJobFile, spawnRun, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, identityRunArgs, parseIdentity, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, parseSize, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, homeCopyScript, homeCopyArgs, COMMAND_DIR, MAX_ITEMS_BYTES, JUDGE_REPORT, SAVED_STATE_LABEL } from './chunk-J3KW7GPE.js';
28
+ import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-IWJFARST.js';
29
+ import { sanitizeTerminal, planArtifactUpload } from './chunk-QHYCF36K.js';
30
+ import { sharedSkillNames, skillConflictMessage } from './chunk-MRSN67FY.js';
31
31
  import { readCloudConfig } from './chunk-HWVMRETT.js';
32
- import { signerFor } from './chunk-ENHD5PNW.js';
33
- import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, buildDir, ghConfigDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, runnerDirOfBuild, mirrorDir, orgHomeDir, deliveryDir, jobConsolePath, vsockPath, SHIM_DIR, builderConsolePath, rootfsPathFor, diskTemplatesDir } from './chunk-AC6DM3S3.js';
34
- import { BUILD_HOME, repositoriesOf, primaryOf, SandboxError, describeSandboxError, buildEnvironment, CHECKOUT_DIR, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, toolProxyEnvironment, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf } from './chunk-NE7EG3SN.js';
35
- import { agentCredential, builtInNames, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, realFdStorePort, RELAY_ID, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, DOCKER_DESKTOP_REASON } from './chunk-WH2QUYXH.js';
32
+ import { signerFor } from './chunk-OWBNADRQ.js';
33
+ import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, buildDir, ghConfigDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, runnerDirOfBuild, mirrorDir, orgHomeDir, deliveryDir, jobConsolePath, vsockPath, SHIM_DIR, builderConsolePath, rootfsPathFor, diskTemplatesDir } from './chunk-6Z5AC4ZK.js';
34
+ import { BUILD_HOME, repositoriesOf, primaryOf, SandboxError, describeSandboxError, buildEnvironment, CHECKOUT_DIR, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, toolProxyEnvironment, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf } from './chunk-4S6ML2YX.js';
35
+ import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, realFdStorePort, RELAY_ID, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, DOCKER_DESKTOP_REASON } from './chunk-MX5XVAOI.js';
36
36
  import { versionAtLeast } from './chunk-SF2TBJBP.js';
37
- import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, agentVersionOf, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE } from './chunk-UCUBQWJC.js';
38
- import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-MT4XF5OL.js';
37
+ import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, agentVersionOf, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE } from './chunk-CKA4JQKR.js';
38
+ import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-G2CRPYFO.js';
39
39
  import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
40
40
  import { resolveVersion } from './chunk-RA3O54FC.js';
41
41
  import { homeFromEnv } from './chunk-352DHUTP.js';
42
- import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-MBPBYMHU.js';
43
- import { CheckItemsSchema, CODE_REVIEW_NAME, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, UNREVIEWED_FILES_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-FXVHF6RX.js';
42
+ import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-E5G6K7C4.js';
43
+ import { CheckItemsSchema, CODE_REVIEW_NAME, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, UNREVIEWED_FILES_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-NEXKR5RR.js';
44
44
  import { randomUUID, randomBytes, createHash } from 'crypto';
45
45
  import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, renameSync, rmdirSync, chmodSync, createReadStream, lstatSync, unlinkSync, realpathSync, writeSync, truncateSync, cpSync, fstatSync, readSync, createWriteStream, copyFileSync, linkSync } from 'fs';
46
46
  import { join, dirname, isAbsolute, delimiter, basename, sep, relative, resolve } from 'path';
47
- import { PassThrough, Writable, Duplex, Readable, Transform } from 'stream';
47
+ import { Readable, PassThrough, Writable, Duplex, Transform } from 'stream';
48
48
  import { spawn, spawnSync } from 'child_process';
49
49
  import { createServer, createConnection, connect, isIP } from 'net';
50
50
  import { availableParallelism, networkInterfaces, tmpdir } from 'os';
@@ -3685,6 +3685,7 @@ function sandboxHost(client2, sandbox, options = {}) {
3685
3685
  // src/runner/sandbox/hooks.ts
3686
3686
  var SANDBOX_DIR = "/tmp/ol";
3687
3687
  var CLI_DIR = `${SANDBOX_DIR}/dist`;
3688
+ var SKILL_PACK_DIR = `${SANDBOX_DIR}/skill-pack`;
3688
3689
  var SECRET_FILE = `${SANDBOX_DIR}/join-secret`;
3689
3690
  var CONTAINER_SECRET_FILE = "/run/outerlayer-relay/join-secret";
3690
3691
  var JOIN_WS_PORT = 7077;
@@ -3746,7 +3747,7 @@ async function goneReason(runtime, state) {
3746
3747
  return err instanceof SandboxError && err.status === 404 ? new SandboxGoneError(state.sandboxId) : void 0;
3747
3748
  }
3748
3749
  }
3749
- function sandboxRunArgs(args) {
3750
+ function sandboxRunArgs(args, opts = {}) {
3750
3751
  const out = [...args];
3751
3752
  const network = out.indexOf("--network");
3752
3753
  if (network !== -1) out[network + 1] = "host";
@@ -3756,6 +3757,7 @@ function sandboxRunArgs(args) {
3756
3757
  0,
3757
3758
  "--mount",
3758
3759
  `type=bind,src=${CLI_DIR},dst=/opt/outerlayer/cli/dist,readonly`,
3760
+ ...opts.skillPack === true ? ["--mount", `type=bind,src=${SKILL_PACK_DIR},dst=/opt/outerlayer/cli/skill-pack,readonly`] : [],
3759
3761
  "--mount",
3760
3762
  `type=bind,src=${SECRET_FILE},dst=${CONTAINER_SECRET_FILE},readonly`,
3761
3763
  ...Object.entries(toolProxyEnvironment()).flatMap(([name, value]) => ["--env", `${name}=${value}`])
@@ -3772,6 +3774,24 @@ async function waitForRelay(runtime, container) {
3772
3774
  }
3773
3775
  return false;
3774
3776
  }
3777
+ function joinRelay(runtime, sandbox, build, services, joinSecret, log) {
3778
+ const exec = sandboxExecStream({
3779
+ url: () => client(runtime).portUrl(sandbox, JOIN_WS_PORT),
3780
+ secret: joinSecret,
3781
+ ...runtime.sandbox.webSocket === void 0 ? {} : { webSocket: runtime.sandbox.webSocket }
3782
+ });
3783
+ runtime.relays.set(
3784
+ build.buildId,
3785
+ superviseRelay({
3786
+ container: build.container,
3787
+ services,
3788
+ execStream: () => exec(),
3789
+ ...log === void 0 ? {} : { log },
3790
+ onFatal: (reason) => runtime.relayFatal.set(build.buildId, reason),
3791
+ builtIns: builtInNames(runtime.agents)
3792
+ })
3793
+ );
3794
+ }
3775
3795
  async function cleanupSandbox(runtime, state) {
3776
3796
  const failures = [];
3777
3797
  const relay = runtime.relays.get(state.buildId);
@@ -3943,9 +3963,16 @@ async function provisionSandbox(input) {
3943
3963
  const dockerFailed = (what, result) => bail(`${what} failed (exit ${result.status})${said(result.stderr)}`);
3944
3964
  const joinSecret = randomBytes(32);
3945
3965
  runtime.sandbox.joinSecrets.set(buildId, joinSecret);
3966
+ const packDir = join(runtime.cliBuild().distDir, "..", "skill-pack");
3967
+ const skillPack = existsSync(packDir) ? packDir : void 0;
3946
3968
  try {
3947
3969
  await sandboxClient.command(sandbox, `mkdir -p ${CLI_DIR}`);
3948
3970
  await sandboxClient.upload(sandbox, `${SANDBOX_DIR}/dist.tgz`, gzipSync(packFolder(runtime.cliBuild().distDir)));
3971
+ if (skillPack !== void 0) {
3972
+ await sandboxClient.upload(sandbox, `${SANDBOX_DIR}/skill-pack.tgz`, gzipSync(packFolder(skillPack)));
3973
+ const placed = await sandboxClient.command(sandbox, `mkdir -p ${SKILL_PACK_DIR} && tar xzf ${SANDBOX_DIR}/skill-pack.tgz -C ${SKILL_PACK_DIR} && rm -f ${SANDBOX_DIR}/skill-pack.tgz`);
3974
+ if (placed.exitCode !== 0) return bail(`putting the skill pack in the sandbox failed (exit ${placed.exitCode ?? "none"})${said(placed.stderr)}`);
3975
+ }
3949
3976
  await sandboxClient.upload(sandbox, SECRET_FILE, joinSecret);
3950
3977
  const unpacked = await sandboxClient.command(sandbox, `tar xzf ${SANDBOX_DIR}/dist.tgz -C ${CLI_DIR} && rm -f ${SANDBOX_DIR}/dist.tgz && sudo chown 60100:60100 ${SECRET_FILE} && sudo chmod 400 ${SECRET_FILE}`);
3951
3978
  if (unpacked.exitCode !== 0) return bail(`putting the CLI in the sandbox failed (exit ${unpacked.exitCode ?? "none"})${said(unpacked.stderr)}`);
@@ -3980,24 +4007,9 @@ async function provisionSandbox(input) {
3980
4007
  const agentUser = resolved.user;
3981
4008
  input.save(state, environment);
3982
4009
  if (input.aborted()) return bail("", true);
3983
- const started = await host.run(sandboxRunArgs(containerRunArgs({ ...runInput, home: containerState.home }, runtime.agents)), { logPath });
4010
+ const started = await host.run(sandboxRunArgs(containerRunArgs({ ...runInput, home: containerState.home }, runtime.agents), { skillPack: skillPack !== void 0 }), { logPath });
3984
4011
  if (started.status !== 0) return dockerFailed("starting the build's container", started);
3985
- const exec = sandboxExecStream({
3986
- url: () => sandboxClient.portUrl(sandbox, JOIN_WS_PORT),
3987
- secret: joinSecret,
3988
- ...runtime.sandbox.webSocket === void 0 ? {} : { webSocket: runtime.sandbox.webSocket }
3989
- });
3990
- runtime.relays.set(
3991
- buildId,
3992
- superviseRelay({
3993
- container,
3994
- services: services.streams,
3995
- execStream: () => exec(),
3996
- log: (line2) => log.line(`${tag} ${line2}`),
3997
- onFatal: (reason) => runtime.relayFatal.set(buildId, reason),
3998
- builtIns: builtInNames(runtime.agents)
3999
- })
4000
- );
4012
+ joinRelay(runtime, sandbox, { buildId, container }, services.streams, joinSecret, (line2) => log.line(`${tag} ${line2}`));
4001
4013
  if (input.aborted()) return bail("", true);
4002
4014
  if (!await waitForRelay(sandboxed, container)) return bail("the relay in the build's container did not start");
4003
4015
  const ghDelivered = await deliverJobFiles(sandboxed, containerState, ["gh"], secrets);
@@ -4012,6 +4024,8 @@ async function provisionSandbox(input) {
4012
4024
  const tools = await host.exec({ container, user: ADDED_USER, env: NO_ENV, argv: ["cat", "/opt/outerlayer/tools.json"] });
4013
4025
  const agentVersion = agentVersionOf(tools.status === 0 ? tools.stdout : "", runtime.agents, input.job);
4014
4026
  environment.agentVersion = agentVersion;
4027
+ const judgeProgram = await judgeProgramRecord((argv) => host.exec({ container, user: ADDED_USER, env: NO_ENV, argv }), runtime.agents);
4028
+ if (judgeProgram !== void 0) containerState.judgeProgram = judgeProgram;
4015
4029
  input.save(state, environment);
4016
4030
  const stepExec = async (argv, workdir, opts) => {
4017
4031
  const ran = await host.exec({ container, user: agentUser, workdir, env: withMiseVariables(env, opts?.variables), argv }, { ...opts?.quiet === true ? {} : { logPath }, ...opts?.timeoutMs === void 0 ? {} : { timeoutMs: opts.timeoutMs } });
@@ -4065,6 +4079,41 @@ async function provisionSandbox(input) {
4065
4079
  function asContainerJob(job) {
4066
4080
  return { ...job, container: job.sandbox.container };
4067
4081
  }
4082
+ function sandboxJudgeEnvironment(input) {
4083
+ const own = input.job.sandbox;
4084
+ const state = own.container;
4085
+ const inner = async () => containerJudgeEnvironment({ runtime: await inSandbox(input.runtime, own), job: asContainerJob(input.job), jobDir: input.jobDir, ...input.log === void 0 ? {} : { log: input.log } });
4086
+ return {
4087
+ stop: async () => {
4088
+ const { runtime } = input;
4089
+ const services = runtime.tunnels.get(state.buildId);
4090
+ const joinSecret = runtime.sandbox.joinSecrets.get(state.buildId);
4091
+ if (services?.streams === void 0 || joinSecret === void 0) throw new Error("the runner no longer holds the build's tunnel and join secret, so it cannot join the build's relay again");
4092
+ const sandbox = await sandboxOfBuild(runtime, own);
4093
+ if (sandbox === void 0) throw new SandboxGoneError(own.sandboxId);
4094
+ const sandboxed = runtimeInSandbox(runtime, sandbox);
4095
+ runtime.leases.get(state.buildId)?.stop();
4096
+ const relay = runtime.relays.get(state.buildId);
4097
+ if (relay !== void 0) {
4098
+ runtime.relays.delete(state.buildId);
4099
+ await relay.close();
4100
+ }
4101
+ await sandboxed.host.stop(state.container);
4102
+ const started = await sandboxed.host.start(state.container);
4103
+ if (started.status !== 0) throw new Error(`the build's container could not be started again (exit ${started.status})`);
4104
+ if (!await waitForRelay(sandboxed, state.container)) throw new Error("the relay in the build's container did not start again");
4105
+ joinRelay(runtime, sandbox, { buildId: state.buildId, container: state.container }, services.streams, joinSecret, input.log);
4106
+ const delivered = await deliverJobFiles(sandboxed, state, ["gh", "git-hooks", "context"], secretsOf(runtime, input.jobDir));
4107
+ if (!delivered.ok) throw new Error(delivered.reason);
4108
+ },
4109
+ hashProgram: async () => (await inner()).hashProgram(),
4110
+ prepare: async (files, tree) => (await inner()).prepare(files, tree),
4111
+ run: async (command, opts) => (await inner()).run(command, opts),
4112
+ readReport: async () => (await inner()).readReport(),
4113
+ readItems: async (name) => (await inner()).readItems(name),
4114
+ clear: async () => (await inner()).clear?.()
4115
+ };
4116
+ }
4068
4117
  async function deliverSandboxHooks(runtime, state, jobDir) {
4069
4118
  try {
4070
4119
  return await deliverJobFiles(await inSandbox(runtime, state), state.container, ["git-hooks"], secretsOf(runtime, jobDir));
@@ -8051,6 +8100,7 @@ function environmentFor(input) {
8051
8100
  if (deps.judgeEnvironment !== void 0) return deps.judgeEnvironment;
8052
8101
  if (job.container !== void 0) return containerJudgeEnvironment({ runtime: deps.runtime, config, job, jobDir, log: (line2) => deps.log.line(`${itemTag(job)} ${line2}`) });
8053
8102
  if (job.microvm !== void 0) return microVmJudgeEnvironment({ runtime: deps.runtime, job, jobDir });
8103
+ if (job.sandbox !== void 0) return sandboxJudgeEnvironment({ runtime: deps.runtime, job, jobDir, log: (line2) => deps.log.line(`${itemTag(job)} ${line2}`) });
8054
8104
  return void 0;
8055
8105
  }
8056
8106
  async function runJudge(input) {
@@ -8058,7 +8108,7 @@ async function runJudge(input) {
8058
8108
  const { runtime, log } = deps;
8059
8109
  const tag = `${itemTag(job)}`;
8060
8110
  const now = deps.now ?? (() => /* @__PURE__ */ new Date());
8061
- const repository = job.repository ?? job.container?.repository;
8111
+ const repository = job.repository ?? builtOf(job)?.repository;
8062
8112
  if (repository === void 0) return;
8063
8113
  const repo = repository;
8064
8114
  const remoteOf = () => runtime.remoteFor?.(repo) ?? `${runtime.github.gitUrl}/${repo}.git`;
@@ -8133,7 +8183,7 @@ async function runJudge(input) {
8133
8183
  log.line(`${tag} judge done (${formatDuration(now().getTime() - startedMs)})`);
8134
8184
  }
8135
8185
  async function noReview() {
8136
- const started = job.container ?? job.microvm;
8186
+ const started = builtOf(job);
8137
8187
  if (started === void 0) return { text: "this build ran under a provision hook of the host's own", report: { result: "skipped", reason: "own_provision_hook" } };
8138
8188
  const workItem = await readItem();
8139
8189
  const open = openPullRequests(workItem);
@@ -8171,7 +8221,7 @@ async function runJudge(input) {
8171
8221
  const missing = noAgentProgram(agent.descriptor.label);
8172
8222
  const environment = environmentFor(input);
8173
8223
  if (environment === void 0) return await fail(check, `${missing}: this build ran outside a container or microVM`);
8174
- const expected = (job.container ?? job.microvm)?.judgeProgram;
8224
+ const expected = builtOf(job)?.judgeProgram;
8175
8225
  if (expected === void 0) return await fail(check, missing);
8176
8226
  const brief = check.judge.text;
8177
8227
  if (brief === void 0) return await fail(check, check.builtIn === true ? `this CLI holds no ${check.judge.brief}` : `the brief ${check.judge.brief} is not in the definitions repository`);
@@ -8221,7 +8271,7 @@ async function runJudge(input) {
8221
8271
  return await finish2(check, { criteria, items: plan.settled, head, branch, finder, judgeReport: void 0 });
8222
8272
  }
8223
8273
  let diff = "";
8224
- const startCommit = (job.container ?? job.microvm)?.startCommit;
8274
+ const startCommit = builtOf(job)?.startCommit;
8225
8275
  if (startCommit !== void 0) {
8226
8276
  const output = join(scratch, "diff.patch");
8227
8277
  const made = await (deps.fetchDiff ?? ((request) => diffBetween(request)))({ remote, dir: join(scratch, "diff"), base: startCommit, head, token: readToken, output });
@@ -9233,12 +9283,7 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
9233
9283
  log.error(`${tag} the host's judge and checks skipped: ${VALUES_NOT_HELD}`);
9234
9284
  await reportCodeReview(config, job, { result: "skipped", reason: "variables_lost" }, { fetchImpl: deps.fetchImpl, log, now: deps.now, sleep: deps.sleep });
9235
9285
  }
9236
- if (outcome === "ok" && !isRun && !job.cleanupRan && job.sandbox !== void 0 && job.judgeRan !== true) {
9237
- job.judgeNotRun = "the host's judge and checks do not run for a build in a sandbox";
9238
- log.line(`${tag} the host's judge and checks are not run for a build in a sandbox`);
9239
- await reportCodeReview(config, job, { result: "skipped", reason: "sandbox" }, { fetchImpl: deps.fetchImpl, log, now: deps.now, sleep: deps.sleep });
9240
- }
9241
- if (outcome === "ok" && !isRun && !job.cleanupRan && job.judgeRan !== true && !valuesNotHeld && job.sandbox === void 0) {
9286
+ if (outcome === "ok" && !isRun && !job.cleanupRan && job.judgeRan !== true && !valuesNotHeld) {
9242
9287
  setStage(job, jobDirPath, "judge");
9243
9288
  job.judgeRan = true;
9244
9289
  writeJobFile(jobFilePath, job);
@@ -9253,7 +9298,7 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
9253
9298
  log.error(`${tag} the host's judge stopped: ${describeCallFailure(err)} \xB7 continuing`);
9254
9299
  }
9255
9300
  }
9256
- if (outcome === "ok" && !isRun && !job.cleanupRan && job.checksRan !== true && !valuesNotHeld && job.sandbox === void 0) {
9301
+ if (outcome === "ok" && !isRun && !job.cleanupRan && job.checksRan !== true && !valuesNotHeld) {
9257
9302
  setStage(job, jobDirPath, "checks");
9258
9303
  job.checksRan = true;
9259
9304
  writeJobFile(jobFilePath, job);
@@ -12790,12 +12835,15 @@ function checksIn(root, log, tag) {
12790
12835
  const unrecorded = loaded.customs.filter((def) => def.level !== "off" && def.declaresEmit === CRITERIA_CHECK && !checks.some((check) => check.name === CRITERIA_CHECK)).map((def) => def.id);
12791
12836
  return { checks, unrecorded };
12792
12837
  }
12838
+ function builtOf(job) {
12839
+ return job.container ?? job.microvm ?? job.sandbox?.container;
12840
+ }
12793
12841
  async function readDefinitions(input, repository, scratch, token, tokens) {
12794
12842
  const { config, job, deps } = input;
12795
12843
  const tag = `${itemTag(job)}`;
12796
12844
  const stage = deps.stage ?? stageGovernedContext;
12797
12845
  const controlPlaneUrl = (controlPlane) => deps.runtime.remoteFor?.(controlPlane) ?? `${deps.runtime.github.gitUrl}/${controlPlane}.git`;
12798
- const governing = (job.container ?? job.microvm)?.governing;
12846
+ const governing = builtOf(job)?.governing;
12799
12847
  const kept = keptContextTree(input.jobDir, governing);
12800
12848
  if (kept !== void 0) return { ok: true, ...checksIn(kept, deps.log, tag) };
12801
12849
  const staged = await stage({
@@ -12821,7 +12869,7 @@ async function readDefinitions(input, repository, scratch, token, tokens) {
12821
12869
  }
12822
12870
  const repo = join(scratch, "repo");
12823
12871
  const remote = deps.runtime.remoteFor?.(repository) ?? `${deps.runtime.github.gitUrl}/${repository}.git`;
12824
- const started = (job.container ?? job.microvm)?.startCommit;
12872
+ const started = builtOf(job)?.startCommit;
12825
12873
  const commit = started !== void 0 && started !== "" ? started : job.environment?.recipe?.sourceCommit ?? await deps.runtime.readHead(remote, scratch);
12826
12874
  if (commit === void 0) return { ok: false, reason: "the repository's default branch could not be read" };
12827
12875
  const fetched = await (deps.fetchCommit ?? fetchCommit)({ remote, dir: repo, commit, token });
@@ -12838,6 +12886,7 @@ function timeoutAfter(ms, sleep) {
12838
12886
  });
12839
12887
  return { done, cancel: () => clearTimeout(timer) };
12840
12888
  }
12889
+ var NO_SANDBOX_CHECKS = "the host's command checks do not run for a build in a sandbox yet: only the criteria judge and the code review do";
12841
12890
  function noCleanEnvironment() {
12842
12891
  return "the host has no clean environment for checks: this build ran under a provision hook of the host's own, and checks run only in a new container or microVM from a build's image";
12843
12892
  }
@@ -12878,7 +12927,7 @@ async function runHostChecks(input) {
12878
12927
  const { runtime, log } = deps;
12879
12928
  const tag = `${itemTag(job)}`;
12880
12929
  const now = deps.now ?? (() => /* @__PURE__ */ new Date());
12881
- const repository = job.repository ?? job.container?.repository;
12930
+ const repository = job.repository ?? builtOf(job)?.repository;
12882
12931
  if (repository === void 0) return;
12883
12932
  const jobFilePath = join(jobDir, "job.json");
12884
12933
  const tokens = runtime.credentials.get(jobDir);
@@ -12918,6 +12967,7 @@ async function runHostChecks(input) {
12918
12967
  for (const check of checks) await record(check, "fail", reason, keyTail);
12919
12968
  };
12920
12969
  try {
12970
+ if (job.sandbox !== void 0) return await failAll(NO_SANDBOX_CHECKS);
12921
12971
  if (job.container === void 0 && job.microvm === void 0) return await failAll(noCleanEnvironment());
12922
12972
  if (tokens === void 0) return await failAll("the build's repository tokens are no longer held, so the branch cannot be fetched");
12923
12973
  if (job.branch === void 0) return await failAll("the build pushed no branch: the claim names none");
@@ -13167,4 +13217,4 @@ async function runHostChecks(input) {
13167
13217
  }
13168
13218
  }
13169
13219
 
13170
- export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, CRITERIA_CHECK, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, judgeProbe, keepGhConfigCurrent, keptCommitsLine, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, recordsProofsOnly, recoverLostJobs, releaseLease, removeOldestUntil, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, retryFailedReleases, runCommand, runCommandOf, runHook, runHostChecks, runHousekeeping, runIsolation, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, unfinishedJobs, usableCpus, vmAlive, withTunnelLog, workdirProblem, writeGuestGhConfig, writeRunnerInit };
13220
+ export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, CRITERIA_CHECK, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, judgeProbe, keepGhConfigCurrent, keptCommitsLine, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, recordsProofsOnly, recoverLostJobs, releaseLease, removeOldestUntil, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, retryFailedReleases, runCommand, runCommandOf, runHook, runHostChecks, runHousekeeping, runIsolation, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, unfinishedJobs, usableCpus, vmAlive, withTunnelLog, workdirProblem, writeGuestGhConfig, writeRunnerInit };
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { helperSocketPath } from './chunk-I64CTY4U.js';
4
- import { UNIT_MARKER } from './chunk-DKDBMMX7.js';
5
- import { runnerDir } from './chunk-AC6DM3S3.js';
3
+ import { helperSocketPath } from './chunk-JNEK36QK.js';
4
+ import { UNIT_MARKER } from './chunk-IZHI643L.js';
5
+ import { runnerDir } from './chunk-6Z5AC4ZK.js';
6
6
  import { createHash } from 'crypto';
7
7
  import { join } from 'path';
8
8
 
@@ -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-AC6DM3S3.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-6Z5AC4ZK.js';
4
4
  import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
5
5
  import { dirname, join } from 'path';
6
6
 
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { WorkCommandError, postJson } from './chunk-B4U5XI4F.js';
4
- import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-ALCZ2SEW.js';
5
- import { buildRefusalReason } from './chunk-OWEJP5HJ.js';
6
- import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-L6CZTRNW.js';
7
- import { signingFetchFor } from './chunk-VRWZNI6U.js';
8
- import { signerFor } from './chunk-ENHD5PNW.js';
9
- import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-AC6DM3S3.js';
3
+ import { WorkCommandError, postJson } from './chunk-ZNQRFRBW.js';
4
+ import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-3AHABZMA.js';
5
+ import { buildRefusalReason } from './chunk-YB3M2TM3.js';
6
+ import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-MRSN67FY.js';
7
+ import { signingFetchFor } from './chunk-NIQXLC6A.js';
8
+ import { signerFor } from './chunk-OWBNADRQ.js';
9
+ import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-6Z5AC4ZK.js';
10
10
  import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-SF2TBJBP.js';
11
11
  import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
12
12
  import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
4
- import { detectActiveSession } from './chunk-SBPMDO47.js';
5
- import { autoConnect } from './chunk-XFU37HIM.js';
4
+ import { detectActiveSession } from './chunk-2HLMGVK6.js';
5
+ import { autoConnect } from './chunk-U43K2JS5.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VRWZNI6U.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NIQXLC6A.js';
8
8
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
9
9
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
10
10
  import { homeFromEnv } from './chunk-352DHUTP.js';
11
- import { resolveRepoIdentity } from './chunk-MBPBYMHU.js';
12
- import { CriteriaListSchema } from './chunk-FXVHF6RX.js';
11
+ import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
12
+ import { CriteriaListSchema } from './chunk-NEXKR5RR.js';
13
13
  import { readFileSync } from 'fs';
14
14
 
15
15
  createRequire(import.meta.url);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-SF2TBJBP.js';
4
- import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-MT4XF5OL.js';
4
+ import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-G2CRPYFO.js';
5
5
  import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
6
6
  import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
7
7
  import { lstatSync, readFileSync } from 'fs';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-I2N427GS.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-AC6DM3S3.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-J3KW7GPE.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-6Z5AC4ZK.js';
5
5
  import { spawnSync } from 'child_process';
6
6
  import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
7
7
  import { dirname, join } from 'path';
@@ -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-UCUBQWJC.js';
4
- import { defaultAgents } from './chunk-MT4XF5OL.js';
3
+ import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-CKA4JQKR.js';
4
+ import { defaultAgents } from './chunk-G2CRPYFO.js';
5
5
  import { PROVIDERS } from './chunk-7PZDPISM.js';
6
6
  import { statSync, readFileSync } from 'fs';
7
7
  import { join } from 'path';
@@ -6,7 +6,7 @@ import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudCon
6
6
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
8
  import { homeFromEnv } from './chunk-352DHUTP.js';
9
- import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-FXVHF6RX.js';
9
+ import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-NEXKR5RR.js';
10
10
  import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
11
11
  import { spawn } from 'child_process';
12
12
  import { fstatSync, existsSync, readdirSync, readFileSync, rmSync, mkdirSync, chmodSync, writeFileSync } from 'fs';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-MT4XF5OL.js';
3
+ import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-G2CRPYFO.js';
4
4
  import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-ATEMEVFF.js';
5
5
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
6
6
  import { homeFromEnv } from './chunk-352DHUTP.js';