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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/dist/{agent-setup-DZZZH3SE.js → agent-setup-WV4Y2HGG.js} +18 -18
  2. package/dist/{agent-subcommand-WRHH6SRD.js → agent-subcommand-RQCLWP3A.js} +3 -3
  3. package/dist/{bridge-GZSZQGLI.js → bridge-NFSJ4IBQ.js} +6 -6
  4. package/dist/{build-UKZ5RPRR.js → build-RGO3EWJD.js} +12 -12
  5. package/dist/{build-disk-3HOXULLP.js → build-disk-NYYBJGBH.js} +10 -10
  6. package/dist/build-info.json +1 -1
  7. package/dist/{builder-QEK4GIRY.js → builder-HT3CV5ZZ.js} +9 -9
  8. package/dist/caller-D4ZZWA6I.js +23 -0
  9. package/dist/{check-QLJ2O7VO.js → check-4T4FDFLZ.js} +57 -55
  10. package/dist/{chunk-LDKF6B2R.js → chunk-22JLORO6.js} +3 -3
  11. package/dist/{chunk-K26KMWU4.js → chunk-2P532NZM.js} +7 -7
  12. package/dist/{chunk-NMMGRG5V.js → chunk-2VWYPY62.js} +4 -4
  13. package/dist/{chunk-B5VKRKLJ.js → chunk-3JYR5R57.js} +1 -1
  14. package/dist/{chunk-PDRWRFB2.js → chunk-4S564XTG.js} +3 -3
  15. package/dist/{chunk-SYKEQT63.js → chunk-5HMIMWRD.js} +17 -5
  16. package/dist/{chunk-L3SHPR2M.js → chunk-63KUYXOH.js} +1 -1
  17. package/dist/{chunk-VST3BWL4.js → chunk-63T2OTPO.js} +11 -10
  18. package/dist/{chunk-42X6CTBI.js → chunk-6BGE2CZB.js} +3 -3
  19. package/dist/{chunk-JMM3L5RG.js → chunk-7A2OPME2.js} +4 -4
  20. package/dist/{chunk-QVOU2QUR.js → chunk-7HRNYPL3.js} +3 -3
  21. package/dist/{chunk-2JWLK2TU.js → chunk-7TPLWWFN.js} +1 -1
  22. package/dist/{chunk-P4Q6M6PI.js → chunk-7WZNTLNB.js} +1 -1
  23. package/dist/{chunk-LV4IDDD3.js → chunk-AWPGPPXP.js} +5 -5
  24. package/dist/{chunk-DWYQKLCL.js → chunk-AWY7ORQ2.js} +1 -1
  25. package/dist/{chunk-3XEYA3QF.js → chunk-BQUI64BU.js} +1 -1
  26. package/dist/{chunk-CDTBXABP.js → chunk-C6LAXUC7.js} +2 -2
  27. package/dist/{chunk-IEDO26G4.js → chunk-CFHM562L.js} +10 -3
  28. package/dist/{chunk-MPVTZLOM.js → chunk-CLFP2ZTG.js} +3 -3
  29. package/dist/{chunk-ZE2JJQPC.js → chunk-CMZTCXCA.js} +1 -1
  30. package/dist/{chunk-BTGNFRRT.js → chunk-CTBQN5KQ.js} +6 -6
  31. package/dist/{chunk-KHJPRTOW.js → chunk-DIL7U77P.js} +1 -1
  32. package/dist/{chunk-54ERDQ3O.js → chunk-E6ESLX5E.js} +32 -8
  33. package/dist/{chunk-YWCK4EOT.js → chunk-EZI2BLP6.js} +3 -3
  34. package/dist/{chunk-6J3QWXTA.js → chunk-F2UM3NDF.js} +4 -4
  35. package/dist/{chunk-6UI4ELNA.js → chunk-GTJLKBN7.js} +7 -7
  36. package/dist/{chunk-HO4DPX5N.js → chunk-H4H3KK25.js} +1 -1
  37. package/dist/{chunk-YEZGNCSK.js → chunk-H6T73OLF.js} +1 -1
  38. package/dist/{chunk-7UYXSF62.js → chunk-HBYFB3LK.js} +6 -7
  39. package/dist/{chunk-JD5EVW6Y.js → chunk-I5EZW66W.js} +4 -4
  40. package/dist/{chunk-WNQGSAUE.js → chunk-IDYLPN4X.js} +1 -1
  41. package/dist/{chunk-EUWTGCK5.js → chunk-IKAGRGLY.js} +1 -1
  42. package/dist/{chunk-NQYTUVZR.js → chunk-IM4VUDKW.js} +1 -1
  43. package/dist/{chunk-BZQ3S24G.js → chunk-INT54Z2T.js} +1 -1
  44. package/dist/{chunk-U6HCTKPH.js → chunk-IRJ6EGQT.js} +7 -7
  45. package/dist/{chunk-WAGHPZP2.js → chunk-J3SICPA2.js} +1 -1
  46. package/dist/{chunk-GPBTTHK3.js → chunk-JJ63MLE5.js} +1 -1
  47. package/dist/{chunk-HQBKKYYQ.js → chunk-K3GCT2HL.js} +4 -4
  48. package/dist/{chunk-HX6B34ZF.js → chunk-K52TGQLV.js} +18 -18
  49. package/dist/{chunk-QKLCIJEU.js → chunk-KYDKOYZD.js} +56 -33
  50. package/dist/{chunk-T5I2H7TJ.js → chunk-NE2A2ZIY.js} +1 -1
  51. package/dist/{chunk-HR4PJLOO.js → chunk-NFYXRAEV.js} +1 -1
  52. package/dist/{chunk-4MLH5MDB.js → chunk-OM3XGJBY.js} +5 -5
  53. package/dist/{chunk-U7MLC45I.js → chunk-ORBQ4QR7.js} +5 -5
  54. package/dist/{chunk-VMPVQE4D.js → chunk-PL2AGLJF.js} +2 -2
  55. package/dist/{chunk-J4NJWTNO.js → chunk-POTMAJPJ.js} +5 -5
  56. package/dist/{chunk-LXXP5HRJ.js → chunk-PTHBJDWK.js} +3 -3
  57. package/dist/{chunk-OGG5ELXF.js → chunk-QLZXFKGO.js} +4 -4
  58. package/dist/{chunk-FLQL6ZIG.js → chunk-QN4ABLRK.js} +1 -1
  59. package/dist/{chunk-OPEZVPF7.js → chunk-R4LXONKC.js} +3 -3
  60. package/dist/{chunk-EHS3HEB6.js → chunk-RGSQHTO4.js} +3 -3
  61. package/dist/{chunk-H4G26OZC.js → chunk-RY5QFTXJ.js} +19 -8
  62. package/dist/{chunk-U6EACUUG.js → chunk-RYSGOWHG.js} +16 -3
  63. package/dist/{chunk-54PQNYA7.js → chunk-S7YLAN2P.js} +2 -2
  64. package/dist/{chunk-PYK6GCCU.js → chunk-SIVZITLG.js} +5 -5
  65. package/dist/{chunk-BEJJJZXF.js → chunk-SR6SXYM4.js} +3 -3
  66. package/dist/{chunk-4MN4BBKZ.js → chunk-SWUPSLNV.js} +7 -7
  67. package/dist/{chunk-2SBNZ4EC.js → chunk-T3MVV6LG.js} +1 -1
  68. package/dist/{chunk-IEVARJ6G.js → chunk-UD6I7QJJ.js} +2 -2
  69. package/dist/{chunk-RGKJ5J72.js → chunk-UT4SX57J.js} +4 -4
  70. package/dist/{chunk-N3SO5VCM.js → chunk-UVKPDGLM.js} +7 -7
  71. package/dist/{chunk-YCBVYTFI.js → chunk-V227E7UX.js} +1 -1
  72. package/dist/{chunk-DEZSNJSE.js → chunk-W72X24TZ.js} +1 -1
  73. package/dist/{chunk-2W5C47AE.js → chunk-WGLYAMVK.js} +1 -1
  74. package/dist/{chunk-K373UCEV.js → chunk-WSZZKMXF.js} +1 -1
  75. package/dist/{chunk-TWGSXBZM.js → chunk-WTKCAALP.js} +3 -3
  76. package/dist/{chunk-NOLS2G2W.js → chunk-WWTZLRPH.js} +8 -0
  77. package/dist/{chunk-ZZ4WIQRF.js → chunk-WZ5YJJMP.js} +12 -9
  78. package/dist/{chunk-UZSMDU4U.js → chunk-X2B7ILTH.js} +2 -2
  79. package/dist/{chunk-A64EXQUL.js → chunk-XKM7KCUJ.js} +37 -34
  80. package/dist/{chunk-RKV3UQCG.js → chunk-YVRJDMDL.js} +9 -9
  81. package/dist/{chunk-XSGWMQJF.js → chunk-ZKJGZQ63.js} +3 -3
  82. package/dist/{claude-launcher-CPSCSL6U.js → claude-launcher-KQHWKYRL.js} +6 -6
  83. package/dist/{cli-4M74XOWW.js → cli-BM7CAJFW.js} +161 -144
  84. package/dist/{command-RY76GIQG.js → command-ZIVI5DQK.js} +48 -48
  85. package/dist/{config-23EBIGW4.js → config-W4OY2JNP.js} +11 -11
  86. package/dist/{connect-cmd-GEBIOBQQ.js → connect-cmd-2O2GGNAY.js} +10 -10
  87. package/dist/{container-start-SUBTHQME.js → container-start-CRUUG57V.js} +46 -46
  88. package/dist/{context-cleanup-I7FLIV5A.js → context-cleanup-2SPOGEZR.js} +3 -3
  89. package/dist/{context-show-cmd-CSPMSRHX.js → context-show-cmd-LAK6CYZT.js} +11 -11
  90. package/dist/{control-plane-launch-KC7NUNYQ.js → control-plane-launch-N7FFBGPD.js} +13 -13
  91. package/dist/{demo-record-cmd-ZW6U2LAV.js → demo-record-cmd-335YZIXU.js} +7 -7
  92. package/dist/{demo-voice-cmd-IDW3QX3E.js → demo-voice-cmd-LVODULO2.js} +18 -18
  93. package/dist/{docker-2VHMWLNK.js → docker-WDMFRVOX.js} +9 -9
  94. package/dist/{doctor-GEG64FBO.js → doctor-3HKOYZTJ.js} +48 -48
  95. package/dist/{emit-artifact-cmd-2ZHPNLPG.js → emit-artifact-cmd-MLIPSYXP.js} +17 -17
  96. package/dist/{emit-cmd-UN7HGZC5.js → emit-cmd-S64A2LJ2.js} +6 -6
  97. package/dist/{emit-criteria-cmd-TUXGD7CW.js → emit-criteria-cmd-JYG5LJEQ.js} +13 -13
  98. package/dist/{emit-demo-cmd-4YMYB556.js → emit-demo-cmd-LKB4OHJD.js} +18 -18
  99. package/dist/{emit-finding-cmd-O2NN22XF.js → emit-finding-cmd-YNLZSJEC.js} +13 -13
  100. package/dist/{emit-result-cmd-VRITADX2.js → emit-result-cmd-EYEFXWVS.js} +16 -16
  101. package/dist/{emit-step-cmd-LGNBZTWJ.js → emit-step-cmd-YF5CGZ2H.js} +13 -13
  102. package/dist/{exec-client-NXTXAVHI.js → exec-client-T7XWSBJ3.js} +7 -7
  103. package/dist/find-unit-X5LYKUQX.js +24 -0
  104. package/dist/{findings-cmd-RJD7KTSW.js → findings-cmd-KBV2GQXJ.js} +13 -13
  105. package/dist/{fleet-readiness-RIO2SWC7.js → fleet-readiness-JG3YAKT7.js} +12 -12
  106. package/dist/{governing-source-IR3KUGQF.js → governing-source-VCD5NPMW.js} +18 -18
  107. package/dist/{guest-init-FLSL5RI7.js → guest-init-SG5RDE4K.js} +8 -8
  108. package/dist/{hook-fast-HYRZAY5K.js → hook-fast-QLCXXFMZ.js} +2 -2
  109. package/dist/{hook-install-CSHKOLWT.js → hook-install-TZZNJB4P.js} +3 -3
  110. package/dist/{hook-wrap-fast-ITUBSHEF.js → hook-wrap-fast-HNY3OGLN.js} +2 -2
  111. package/dist/host-checks-LQTHW3DN.js +79 -0
  112. package/dist/{host-key-CPAEQSNU.js → host-key-UEHE5JSK.js} +7 -7
  113. package/dist/{image-tag-MAMFM4SO.js → image-tag-77FWBIYC.js} +7 -7
  114. package/dist/index.js +6 -6
  115. package/dist/{init-G34M5Y4W.js → init-O33TLGUI.js} +44 -44
  116. package/dist/init-UFQQUI4Z.js +79 -0
  117. package/dist/{init-cmd-GDT27DWD.js → init-cmd-GCHZK7YQ.js} +26 -26
  118. package/dist/{init-update-TQH2Q7IZ.js → init-update-ZSTDH75N.js} +21 -21
  119. package/dist/{install-cmd-PVQ5M5NM.js → install-cmd-BRURSBEH.js} +9 -9
  120. package/dist/{layout-2DF7ON2F.js → layout-YSNLYG6U.js} +3 -3
  121. package/dist/{logs-BM644OOJ.js → logs-TRW3A55Z.js} +6 -6
  122. package/dist/loop-QHQTM25C.js +90 -0
  123. package/dist/machine-VFZAHR6N.js +79 -0
  124. package/dist/{machine-skills-O7XAZYLN.js → machine-skills-WOAIOXAQ.js} +3 -3
  125. package/dist/{mcp-install-cmd-METCXTTR.js → mcp-install-cmd-NFMA6PSL.js} +3 -3
  126. package/dist/{mcp-serve-cmd-CTKBLSM6.js → mcp-serve-cmd-JVLROUUU.js} +8 -8
  127. package/dist/{paths-VIBBLJ2W.js → paths-AOUMCMP3.js} +6 -6
  128. package/dist/pending-JOEXUNDC.js +18 -0
  129. package/dist/{pidfile-PAX5XHQJ.js → pidfile-5LPBPEGE.js} +7 -7
  130. package/dist/{record-QPXOUL6F.js → record-4RLFKQMG.js} +7 -7
  131. package/dist/{relay-KASDMV3R.js → relay-IYJ7JJLG.js} +4 -4
  132. package/dist/{relay-protocol-7HSCZC5H.js → relay-protocol-MPZHNZYJ.js} +4 -4
  133. package/dist/{runner-agents-WUMCXVS2.js → runner-agents-MWBL6LA7.js} +3 -3
  134. package/dist/{runner-env-R2C5LYCX.js → runner-env-YTX4BAXF.js} +13 -13
  135. package/dist/{runner-identity-UDPLWT7I.js → runner-identity-4LMITADJ.js} +9 -9
  136. package/dist/{runner-key-Z2IQ5TS7.js → runner-key-QTQRIW4N.js} +44 -44
  137. package/dist/{session-sender-4QKSVX5Z.js → session-sender-YAM3GNFD.js} +17 -17
  138. package/dist/{spec-cmd-TON4PYGQ.js → spec-cmd-VE4XIZ6Z.js} +14 -14
  139. package/dist/{starter-pack-LAPDUG6E.js → starter-pack-NAR72DKB.js} +4 -4
  140. package/dist/{state-OTWJW4O7.js → state-GBESQ6UB.js} +7 -7
  141. package/dist/{status-ROMTDMFO.js → status-SNQVVDRU.js} +44 -44
  142. package/dist/{statusline-fast-7V7U4SI4.js → statusline-fast-5G2CTPSX.js} +2 -2
  143. package/dist/{sync-cmd-FLNYVXAE.js → sync-cmd-BXV3EVTU.js} +16 -16
  144. package/dist/update-steps-ZR4RQB7J.js +80 -0
  145. package/dist/{watch-4V7FZI5R.js → watch-FKHHEV3X.js} +16 -16
  146. package/dist/{work-claim-cmd-5EYXVPKH.js → work-claim-cmd-IVG4A3IZ.js} +20 -20
  147. package/dist/{work-cmd-RUOTA5K7.js → work-cmd-HSMQMQDL.js} +13 -13
  148. package/dist/{work-comment-cmd-7UM3O3EL.js → work-comment-cmd-OHGGZASQ.js} +15 -15
  149. package/dist/{work-demo-cmd-K4NRR2AK.js → work-demo-cmd-TMMHK72J.js} +13 -13
  150. package/dist/{work-logs-cmd-QW7PNI6V.js → work-logs-cmd-GQCUPUKG.js} +13 -13
  151. package/dist/{work-open-pr-cmd-Y6MTWQG5.js → work-open-pr-cmd-XVXOXNIL.js} +14 -14
  152. package/dist/{work-pr-cmd-WUIMC7XB.js → work-pr-cmd-E75ZUOAD.js} +13 -13
  153. package/dist/{work-proofs-cmd-5LMTROA6.js → work-proofs-cmd-LDMQ37OH.js} +15 -15
  154. package/dist/{work-proofs-record-3JGUT2F5.js → work-proofs-record-VJG27HMI.js} +22 -22
  155. package/dist/{work-stop-cmd-R5F5VRUM.js → work-stop-cmd-JSFV7AL2.js} +13 -13
  156. package/package.json +1 -1
  157. package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -1
  158. package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
  159. package/dist/caller-WSMJJSFL.js +0 -23
  160. package/dist/find-unit-RYYTX2O5.js +0 -24
  161. package/dist/host-checks-OB45XC67.js +0 -79
  162. package/dist/init-HHD2NNWY.js +0 -79
  163. package/dist/loop-6MSKJN52.js +0 -90
  164. package/dist/machine-LGD4UVCI.js +0 -79
  165. package/dist/pending-RXJKH4AC.js +0 -18
  166. package/dist/update-steps-A5OSPYAS.js +0 -80
@@ -1,40 +1,40 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-GPBTTHK3.js';
3
+ import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-JJ63MLE5.js';
4
4
  import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
5
5
  import { zodProblem } from './chunk-I3LTIAOR.js';
6
- import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-LV4IDDD3.js';
7
- import { upgradedStarterText } from './chunk-4MLH5MDB.js';
8
- import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-TWGSXBZM.js';
9
- import { writeDockerClientConfig } from './chunk-FLQL6ZIG.js';
10
- import { senderPidfile } from './chunk-EHS3HEB6.js';
11
- import { installScrubContext } from './chunk-K26KMWU4.js';
6
+ import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-AWPGPPXP.js';
7
+ import { upgradedStarterText } from './chunk-OM3XGJBY.js';
8
+ import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-WTKCAALP.js';
9
+ import { writeDockerClientConfig } from './chunk-QN4ABLRK.js';
10
+ import { senderPidfile } from './chunk-RGSQHTO4.js';
11
+ import { installScrubContext } from './chunk-2P532NZM.js';
12
12
  import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
13
- import { runnerImageVersion } from './chunk-EUWTGCK5.js';
14
- import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-VMPVQE4D.js';
13
+ import { runnerImageVersion } from './chunk-IKAGRGLY.js';
14
+ import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-PL2AGLJF.js';
15
15
  import { receiveFiles } from './chunk-NN33FYXG.js';
16
- import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-4MN4BBKZ.js';
17
- import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-OGG5ELXF.js';
16
+ import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-SWUPSLNV.js';
17
+ import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-QLZXFKGO.js';
18
18
  import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
19
19
  import { currentCliBuild } from './chunk-OGFGZQA3.js';
20
- import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-WAGHPZP2.js';
21
- import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-MPVTZLOM.js';
22
- import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-N3SO5VCM.js';
23
- import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-H4G26OZC.js';
24
- import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-6J3QWXTA.js';
25
- import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-IEVARJ6G.js';
26
- import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-6UI4ELNA.js';
27
- import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-YCBVYTFI.js';
20
+ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-J3SICPA2.js';
21
+ import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-CLFP2ZTG.js';
22
+ import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-UVKPDGLM.js';
23
+ import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-RY5QFTXJ.js';
24
+ import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-F2UM3NDF.js';
25
+ import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-UD6I7QJJ.js';
26
+ import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-GTJLKBN7.js';
27
+ import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-V227E7UX.js';
28
28
  import { sanitizeTerminal, planArtifactUpload } from './chunk-F3T5QJ24.js';
29
- import { sharedSkillNames, skillConflictMessage } from './chunk-3XEYA3QF.js';
29
+ import { sharedSkillNames, skillConflictMessage } from './chunk-BQUI64BU.js';
30
30
  import { readCloudConfig } from './chunk-HWVMRETT.js';
31
- import { signerFor } from './chunk-KHJPRTOW.js';
32
- import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-L3SHPR2M.js';
33
- import { BUILD_HOME, JOB_MOUNT, buildEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, maxDestinations, resolveDestinations, isReservedVariable, classifyAddress, carried6to4, EVAL_INPUT_DIR, isMiseVariableAllowed, primaryOf } from './chunk-LDKF6B2R.js';
34
- import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, builtInNames, 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, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-7UYXSF62.js';
31
+ import { signerFor } from './chunk-DIL7U77P.js';
32
+ import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-63KUYXOH.js';
33
+ import { BUILD_HOME, JOB_MOUNT, buildEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, maxDestinations, resolveDestinations, isReservedVariable, classifyAddress, primaryOf, carried6to4, EVAL_INPUT_DIR, isMiseVariableAllowed } from './chunk-22JLORO6.js';
34
+ import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, builtInNames, 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, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-HBYFB3LK.js';
35
35
  import { versionAtLeast } from './chunk-OV4XTV5M.js';
36
- import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, credentialAgent, 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, 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, agentVersionOf } from './chunk-IEDO26G4.js';
37
- import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot, orderSessions, extractFacts, sessionsToTimeline } from './chunk-54ERDQ3O.js';
36
+ import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, 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, 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, agentVersionOf } from './chunk-CFHM562L.js';
37
+ import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot, orderSessions, extractFacts, sessionsToTimeline } from './chunk-E6ESLX5E.js';
38
38
  import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
39
39
  import { resolveVersion } from './chunk-RA3O54FC.js';
40
40
  import { homeFromEnv } from './chunk-352DHUTP.js';
@@ -2001,6 +2001,23 @@ function formerSkillProblem(queues) {
2001
2001
  const keys = queues.map((queue) => `runner.commands.${queue}`).join(", ");
2002
2002
  return `${keys} ${queues.length === 1 ? "starts" : "start"} /amend, which is now /outerlayer-amend. The runner runs /outerlayer-amend in its place; edit the config to say so`;
2003
2003
  }
2004
+ function modellessQueues(config, agents = defaultAgents()) {
2005
+ const agent = jobAgent(void 0, agents);
2006
+ const flag = agent?.adapter.headless?.modelFlag;
2007
+ if (agent === void 0 || flag === void 0) return [];
2008
+ const program = programPattern(agent.descriptor.program);
2009
+ const named = new RegExp(`(?:^|\\s)${escapeForPattern(flag)}(?:=|\\s)`);
2010
+ return config.queues.filter((queue) => {
2011
+ const command = config.commands[queue];
2012
+ return command !== void 0 && program.test(command) && !named.test(command);
2013
+ });
2014
+ }
2015
+ function modellessProblem(queues, agents = defaultAgents()) {
2016
+ return queues.map((queue) => {
2017
+ const line2 = defaultCommandLine(queue, agents);
2018
+ return `runner.commands.${queue} names no model, so its builds run on the agent's default model${line2 === void 0 ? "" : `. \`runner init\` writes \`${line2}\``}`;
2019
+ }).join(". ");
2020
+ }
2004
2021
  function needsAgentCredential(hooks) {
2005
2022
  return builtinKind(hooks.provision) !== "own";
2006
2023
  }
@@ -3041,10 +3058,11 @@ var DISK_REASON_TEXT = {
3041
3058
  other_disk_size: "the kept disk was made with another runner.build.disk size",
3042
3059
  disk_not_restored: "the kept disk could not be copied",
3043
3060
  checkout_not_switched: "the kept checkout could not be switched to the branch",
3044
- build_type_cannot_restore: "this build type cannot restore a disk"
3061
+ build_type_cannot_restore: "this build type cannot restore a disk",
3062
+ fresh_requested: "a member asked for a fresh disk"
3045
3063
  };
3046
3064
  function itemDiskDecision(input) {
3047
- if (input.queue !== "amend") return { state: void 0 };
3065
+ if (input.fresh === true) return { state: { restored: false, reason: "fresh_requested" } };
3048
3066
  if (!input.builtin) return { state: { restored: false, reason: "build_type_cannot_restore" } };
3049
3067
  let kept;
3050
3068
  try {
@@ -3053,6 +3071,7 @@ function itemDiskDecision(input) {
3053
3071
  kept = void 0;
3054
3072
  }
3055
3073
  if (kept === void 0) return { state: { restored: false, reason: "no_kept_disk" } };
3074
+ if (kept.record.repository !== input.repository) return { state: { restored: false, reason: "no_kept_disk" } };
3056
3075
  if (kept.record.imageId !== input.imageId) return { state: { restored: false, reason: "other_image" } };
3057
3076
  if (kept.record.diskBytes !== input.diskBytes) return { state: { restored: false, reason: "other_disk_size" } };
3058
3077
  if (kept.record.kind !== input.backend) return { state: { restored: false, reason: "disk_not_restored" } };
@@ -3944,9 +3963,9 @@ async function provisionMicroVmOnce(input, allowRestore, itemDiskFailed) {
3944
3963
  if (!obtained.ok) return obtained.aborted === true ? { ok: false, reason: obtained.reason, aborted: true } : fail(obtained.reason);
3945
3964
  const { report } = obtained.built;
3946
3965
  const tagged = taggedLog(log, tag);
3947
- const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({ queue: input.queue ?? "implement", builtin: true, backend: "disk", configPath: config.configPath, organizationId: input.organizationId, workItemId: input.workItemId, imageId: report.imageId, diskBytes: limits2.diskBytes });
3966
+ const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({ fresh: input.fresh, builtin: true, backend: "disk", configPath: config.configPath, organizationId: input.organizationId, workItemId: input.workItemId, repository, imageId: report.imageId, diskBytes: limits2.diskBytes });
3948
3967
  const keptDisk = itemDisk.kept;
3949
- if (itemDisk.state?.restored === false) tagged(`this agent job starts without a kept disk: ${DISK_REASON_TEXT[itemDisk.state.reason]}`);
3968
+ if (itemDisk.state?.restored === false) tagged(`this job starts without a kept disk: ${DISK_REASON_TEXT[itemDisk.state.reason]}`);
3950
3969
  const plan = keptDisk !== void 0 ? keptDiskPlan() : await planSavedState({
3951
3970
  config,
3952
3971
  repositories,
@@ -6147,6 +6166,7 @@ function recordOf(input, kind, bytes, volume) {
6147
6166
  workItemId: input.workItemId,
6148
6167
  claimId: input.claimId,
6149
6168
  queue: input.queue,
6169
+ ...input.repository === void 0 ? {} : { repository: input.repository },
6150
6170
  imageId: input.imageId,
6151
6171
  diskBytes: input.diskBytes,
6152
6172
  kind,
@@ -6244,16 +6264,19 @@ async function keepContainerDisk(input) {
6244
6264
  // src/runner/workspace/finish.ts
6245
6265
  function noDiskReason(job, config) {
6246
6266
  if (job.workItemId === void 0) return "the job names no work item";
6267
+ if (job.reason === "disk_limit_exceeded" || job.reason === "disk_check_failed") return "the build passed its disk limit, so a rerun would start from a full disk";
6247
6268
  if (config.managed === true && (job.managedVariables?.length ?? 0) > 0) return "the build held a factory build variable, and the runner cannot remove a value that a command stored in an encoded form";
6248
6269
  return void 0;
6249
6270
  }
6250
6271
  function target(input, imageId, diskBytes) {
6272
+ const primary = primaryOf(repositoriesOf({ repositories: input.job.repositories, repository: input.job.repository, branch: input.job.branch }));
6251
6273
  return {
6252
6274
  configPath: input.config.configPath,
6253
6275
  ...input.job.organizationId === void 0 ? {} : { organizationId: input.job.organizationId },
6254
6276
  workItemId: input.job.workItemId,
6255
6277
  claimId: input.job.claimId,
6256
6278
  queue: input.job.queue,
6279
+ ...primary === void 0 ? {} : { repository: primary.repository },
6257
6280
  imageId,
6258
6281
  diskBytes,
6259
6282
  now: input.now(),
@@ -10422,9 +10445,9 @@ async function provisionContainerOnce(input, allowRestore, itemDiskFailed) {
10422
10445
  const { report } = built;
10423
10446
  const tagged = taggedLog(log, tag);
10424
10447
  const diskBytes = parseSize(config.build?.disk ?? DEFAULT_BUILD_DISK) ?? 0;
10425
- const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({ queue: input.queue ?? "implement", builtin: true, backend: "volume", configPath: config.configPath, organizationId: input.organizationId, workItemId: input.workItemId, imageId: report.imageId, diskBytes });
10448
+ const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({ fresh: input.fresh, builtin: true, backend: "volume", configPath: config.configPath, organizationId: input.organizationId, workItemId: input.workItemId, repository, imageId: report.imageId, diskBytes });
10426
10449
  const keptDisk = itemDisk.kept;
10427
- if (itemDisk.state?.restored === false) tagged(`this agent job starts without a kept disk: ${DISK_REASON_TEXT[itemDisk.state.reason]}`);
10450
+ if (itemDisk.state?.restored === false) tagged(`this job starts without a kept disk: ${DISK_REASON_TEXT[itemDisk.state.reason]}`);
10428
10451
  const plan = keptDisk !== void 0 ? keptDiskPlan() : await planSavedState({
10429
10452
  config,
10430
10453
  repositories,
@@ -11701,4 +11724,4 @@ async function runHostChecks(input) {
11701
11724
  }
11702
11725
  }
11703
11726
 
11704
- export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, 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, agentCredentialCheck, appendCommandLog, attemptNote, checksIn, claimPermissionProblem, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, 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, isContainerTracked, isGroupAlive, isIdle, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, judgeProbe, keepGhConfigCurrent, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, provisionContainer, provisionEnvironment, provisionMicroVm, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, recoverLostJobs, releaseLease, removeOldestUntil, renewLease, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, retryFailedReleases, runCommand, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, testProofIn, timeoutAfter, unfinishedJobs, usableCpus, vmAlive, withTunnelLog, workdirProblem, writeGuestGhConfig, writeRunnerInit };
11727
+ export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, 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, agentCredentialCheck, appendCommandLog, attemptNote, checksIn, claimPermissionProblem, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, 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, isContainerTracked, isGroupAlive, isIdle, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, judgeProbe, keepGhConfigCurrent, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, 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, provisionContainer, provisionEnvironment, provisionMicroVm, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, recoverLostJobs, releaseLease, removeOldestUntil, renewLease, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, retryFailedReleases, runCommand, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, testProofIn, timeoutAfter, unfinishedJobs, usableCpus, vmAlive, withTunnelLog, workdirProblem, writeGuestGhConfig, writeRunnerInit };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
4
4
  import { openSync, fstatSync, readSync, closeSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
4
- import { signRunnerRequest, signerFor } from './chunk-KHJPRTOW.js';
4
+ import { signRunnerRequest, signerFor } from './chunk-DIL7U77P.js';
5
5
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
6
6
  import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-NFZMENCY.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-JD5EVW6Y.js';
4
- import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-54PQNYA7.js';
5
- import { skillsBaseFor } from './chunk-QVOU2QUR.js';
3
+ import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-I5EZW66W.js';
4
+ import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-S7YLAN2P.js';
5
+ import { skillsBaseFor } from './chunk-7HRNYPL3.js';
6
6
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
- import { hasSymlinkComponent } from './chunk-DEZSNJSE.js';
8
+ import { hasSymlinkComponent } from './chunk-W72X24TZ.js';
9
9
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
10
- import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-54ERDQ3O.js';
10
+ import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-E6ESLX5E.js';
11
11
  import { createHash } from 'crypto';
12
12
  import { existsSync, readFileSync } from 'fs';
13
13
  import { join } from 'path';
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readNewestDemo } from './chunk-ER6KQCVJ.js';
4
- import { runEmitArtifact } from './chunk-NMMGRG5V.js';
4
+ import { runEmitArtifact } from './chunk-2VWYPY62.js';
5
5
  import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
6
- import { detectActiveSession } from './chunk-T5I2H7TJ.js';
7
- import { autoConnect } from './chunk-UZSMDU4U.js';
6
+ import { detectActiveSession } from './chunk-NE2A2ZIY.js';
7
+ import { autoConnect } from './chunk-X2B7ILTH.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { defaultFetch, resolveGatewayCredentials } from './chunk-HR4PJLOO.js';
9
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-NFYXRAEV.js';
10
10
  import { launchedItemForSession } from './chunk-4OD45RBP.js';
11
- import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-IEDO26G4.js';
11
+ import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-CFHM562L.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
13
  import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
14
14
  import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-WUKLQWGY.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { keyRunnerFactory, RunnerConfigError } from './chunk-6J3QWXTA.js';
4
- import { orgHomeDir } from './chunk-L3SHPR2M.js';
3
+ import { keyRunnerFactory, RunnerConfigError } from './chunk-F2UM3NDF.js';
4
+ import { orgHomeDir } from './chunk-63KUYXOH.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RemovedTargetError, removedTargetError } from './chunk-YEZGNCSK.js';
4
- import { removeRetiredSkills } from './chunk-NQYTUVZR.js';
5
- import { defaultFetch, resolveGatewayCredentials } from './chunk-HR4PJLOO.js';
6
- import { withTokenHeader } from './chunk-LDKF6B2R.js';
3
+ import { RemovedTargetError, removedTargetError } from './chunk-H6T73OLF.js';
4
+ import { removeRetiredSkills } from './chunk-IM4VUDKW.js';
5
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-NFYXRAEV.js';
6
+ import { withTokenHeader } from './chunk-22JLORO6.js';
7
7
  import { appendContextProvenance } from './chunk-545P7JY7.js';
8
8
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
9
9
  import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
10
- import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-54ERDQ3O.js';
10
+ import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-E6ESLX5E.js';
11
11
  import { homeFromEnv } from './chunk-352DHUTP.js';
12
12
  import { execFileSync } from 'child_process';
13
13
  import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
4
- import { detectActiveSession } from './chunk-T5I2H7TJ.js';
5
- import { autoConnect } from './chunk-UZSMDU4U.js';
4
+ import { detectActiveSession } from './chunk-NE2A2ZIY.js';
5
+ import { autoConnect } from './chunk-X2B7ILTH.js';
6
6
  import { acquireSpoolLockAt } from './chunk-F3T5QJ24.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-HR4PJLOO.js';
8
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NFYXRAEV.js';
9
9
  import { launchedItemForSession } from './chunk-4OD45RBP.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { homeFromEnv } from './chunk-352DHUTP.js';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { PROXY_WARNING_FLAG } from './chunk-LDKF6B2R.js';
4
- import { RELAY_ID, RELAY_USER } from './chunk-7UYXSF62.js';
5
- import { jobAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-IEDO26G4.js';
6
- import { defaultAgents } from './chunk-54ERDQ3O.js';
3
+ import { PROXY_WARNING_FLAG } from './chunk-22JLORO6.js';
4
+ import { RELAY_ID, RELAY_USER } from './chunk-HBYFB3LK.js';
5
+ import { jobAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-CFHM562L.js';
6
+ import { defaultAgents } from './chunk-E6ESLX5E.js';
7
7
 
8
8
  createRequire(import.meta.url);
9
9
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, BUILD_HOME } from './chunk-LDKF6B2R.js';
3
+ import { RELAY_PORT, BUILD_HOME } from './chunk-22JLORO6.js';
4
4
  import { createServer, connect } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-ZE2JJQPC.js';
4
- import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-P4Q6M6PI.js';
3
+ import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-CMZTCXCA.js';
4
+ import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-7WZNTLNB.js';
5
5
  import { compareVersions } from './chunk-TQMI335S.js';
6
- import { runnerDir, RUNNER_DIR_MODE } from './chunk-L3SHPR2M.js';
6
+ import { runnerDir, RUNNER_DIR_MODE } from './chunk-63KUYXOH.js';
7
7
  import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
8
8
  import { dirname, sep, join } from 'path';
9
9
  import { spawnSync } from 'child_process';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LiveUploader } from './chunk-K26KMWU4.js';
4
- import { spoolDir } from './chunk-SYKEQT63.js';
3
+ import { LiveUploader } from './chunk-2P532NZM.js';
4
+ import { spoolDir } from './chunk-5HMIMWRD.js';
5
5
  import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
6
- import { sessionFolderIn, legacyAgent } from './chunk-54ERDQ3O.js';
6
+ import { sessionFolderIn, legacyAgent } from './chunk-E6ESLX5E.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { CaptureDaemon } from './chunk-WZOWXDDM.js';
9
9
  import { mkdirSync, writeFileSync, rmSync } from 'fs';
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { detectActiveSession } from './chunk-T5I2H7TJ.js';
4
- import { autoConnect } from './chunk-UZSMDU4U.js';
5
- import { workPageUrl } from './chunk-PDRWRFB2.js';
3
+ import { detectActiveSession } from './chunk-NE2A2ZIY.js';
4
+ import { autoConnect } from './chunk-X2B7ILTH.js';
5
+ import { workPageUrl } from './chunk-4S564XTG.js';
6
6
  import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-HR4PJLOO.js';
9
- import { signRunnerRequest } from './chunk-KHJPRTOW.js';
8
+ import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-NFYXRAEV.js';
9
+ import { signRunnerRequest } from './chunk-DIL7U77P.js';
10
10
  import { readRepoConnection } from './chunk-BJ3KTMDH.js';
11
11
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
12
12
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
@@ -376,6 +376,12 @@ async function postJsonWithRetry(url, path, apiKey, appId, body, fetchImpl, retr
376
376
  }
377
377
  }
378
378
  }
379
+ function freshDiskLine(asked, data) {
380
+ if (!asked) return "";
381
+ return data.fresh === true ? `
382
+ the build starts from a fresh disk` : `
383
+ ${C.yellow}!${C.reset} the gateway did not record the fresh-disk request, so the build may start from the earlier job's disk`;
384
+ }
379
385
  function tokenWarning(data) {
380
386
  const tokens = data.repositoryTokens;
381
387
  if (tokens === void 0 || tokens === null || tokens.earnable !== false) return "";
@@ -420,6 +426,9 @@ async function runWorkBuild(opts) {
420
426
  "--instructions applies to host builds: with --local you build the item yourself, so give your instructions in your own session"
421
427
  );
422
428
  }
429
+ if (opts.local && opts.fresh === true) {
430
+ throw new WorkCommandError("--fresh applies to host builds: with --local you build the item yourself, so no kept disk is restored");
431
+ }
423
432
  const runner = parseRunnerKind(opts.runner);
424
433
  if (opts.local && runner !== void 0) {
425
434
  throw new WorkCommandError("--runner applies to host builds: with --local you build the item yourself, so no runner takes it");
@@ -451,10 +460,12 @@ async function runWorkBuild(opts) {
451
460
  return { data: data2, output: output2 };
452
461
  }
453
462
  const instructions = opts.instructions !== void 0 ? { instructions: opts.instructions } : {};
454
- const body = itemNumber !== void 0 ? { workItemId: String(itemNumber), note: opts.note, ...instructions, runner, ...facts } : {
463
+ const fresh = opts.fresh === true ? { fresh: true } : {};
464
+ const body = itemNumber !== void 0 ? { workItemId: String(itemNumber), note: opts.note, ...instructions, ...fresh, runner, ...facts } : {
455
465
  subject: resolveWorkSubject({ issue: opts.issue, tracker: opts.tracker, repo: opts.repo, cwd }),
456
466
  note: opts.note,
457
467
  ...instructions,
468
+ ...fresh,
458
469
  runner,
459
470
  ...facts
460
471
  };
@@ -466,7 +477,7 @@ async function runWorkBuild(opts) {
466
477
  });
467
478
  const page = itemPageUrl(home, cwd, appId, data.workItemId, data.number);
468
479
  const output = opts.json ? JSON.stringify(data) : `${C.green}\u2713${C.reset} build requested ${C.dim}\xB7${C.reset} ${itemLabel(data)}${"subject" in body ? ` (${issueLabel(body.subject)})` : ""}${runnerLabel(data, runner)} ${C.dim}\xB7${C.reset} by ${data.attestor}` + (page !== void 0 ? `
469
- ${page}` : "") + tokenWarning(data);
480
+ ${page}` : "") + freshDiskLine(opts.fresh === true, data) + tokenWarning(data);
470
481
  if (!opts.quiet) process.stdout.write(output + "\n");
471
482
  return { data, output };
472
483
  }
@@ -475,7 +486,7 @@ async function runWorkLinkSession(opts) {
475
486
  return await linkSession(opts);
476
487
  } catch (err) {
477
488
  if (opts.logFailures) {
478
- const { logHookError } = await import('./hook-fast-HYRZAY5K.js');
489
+ const { logHookError } = await import('./hook-fast-QLCXXFMZ.js');
479
490
  const reason = err instanceof Error ? err.message : String(err);
480
491
  logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
481
492
  }
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { contextAgents, defaultAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-54ERDQ3O.js';
3
+ import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-E6ESLX5E.js';
4
4
  import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-CDDED64E.js';
5
5
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
6
6
  import { homeFromEnv } from './chunk-352DHUTP.js';
7
7
  import { randomBytes } from 'crypto';
8
- import { existsSync, symlinkSync, realpathSync, lstatSync, readFileSync, mkdirSync, rmSync, renameSync, writeFileSync, cpSync } from 'fs';
8
+ import { existsSync, symlinkSync, realpathSync, statSync, lstatSync, readFileSync, mkdirSync, rmSync, renameSync, writeFileSync, cpSync } from 'fs';
9
9
  import { join, resolve, dirname, relative } from 'path';
10
10
 
11
11
  createRequire(import.meta.url);
@@ -37,6 +37,13 @@ function folderExists(path) {
37
37
  return false;
38
38
  }
39
39
  }
40
+ function folderReachable(path) {
41
+ try {
42
+ return statSync(path).isDirectory();
43
+ } catch {
44
+ return false;
45
+ }
46
+ }
40
47
  function tempName(base, label) {
41
48
  return join(base, `.${label}-${process.pid}-${randomBytes(4).toString("hex")}`);
42
49
  }
@@ -114,7 +121,13 @@ function installMachineSkills(opts) {
114
121
  const version = opts.version ?? resolvePackageVersion();
115
122
  const base = machineSkillsBase(opts.home);
116
123
  const link = opts.link ?? defaultLink;
117
- const agentFolders = contextAgents(opts.agents ?? defaultAgents()).map((agent) => userSkillFolderIn(opts.home, agent.descriptor));
124
+ const agents = opts.agents ?? defaultAgents();
125
+ const installed = laptopAgents(agents).map((agent) => agent.descriptor.id);
126
+ const agentFolders = [
127
+ ...new Set(
128
+ contextAgents(agents).map((agent) => ({ agent, folder: userSkillFolderIn(opts.home, agent.descriptor) })).filter(({ agent, folder }) => installed.includes(agent.descriptor.id) || folderReachable(folder)).map(({ folder }) => folder)
129
+ )
130
+ ];
118
131
  let files;
119
132
  const filesOf = (name) => {
120
133
  files ??= loadMachineSkillFiles(opts.packRoot ?? resolvePackRoot(), version);
@@ -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-DEZSNJSE.js';
6
- import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-54ERDQ3O.js';
5
+ import { linkedAgentsPath } from './chunk-W72X24TZ.js';
6
+ import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-E6ESLX5E.js';
7
7
  import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
8
8
  import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
9
9
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
4
- import { isAgentsMdLayout } from './chunk-QVOU2QUR.js';
5
- import { resolveGatewayCredentials, defaultFetch } from './chunk-HR4PJLOO.js';
4
+ import { isAgentsMdLayout } from './chunk-7HRNYPL3.js';
5
+ import { resolveGatewayCredentials, defaultFetch } from './chunk-NFYXRAEV.js';
6
6
  import { versionAtLeast } from './chunk-OV4XTV5M.js';
7
7
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
8
- import { machineSkillsState, staleAgentSkills } from './chunk-U6EACUUG.js';
8
+ import { machineSkillsState, staleAgentSkills } from './chunk-RYSGOWHG.js';
9
9
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
10
- import { hasSymlinkComponent } from './chunk-DEZSNJSE.js';
11
- import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-54ERDQ3O.js';
10
+ import { hasSymlinkComponent } from './chunk-W72X24TZ.js';
11
+ import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-E6ESLX5E.js';
12
12
  import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
13
13
  import { execFileSync } from 'child_process';
14
14
  import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
4
- import { detectActiveSession } from './chunk-T5I2H7TJ.js';
5
- import { autoConnect } from './chunk-UZSMDU4U.js';
4
+ import { detectActiveSession } from './chunk-NE2A2ZIY.js';
5
+ import { autoConnect } from './chunk-X2B7ILTH.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-HR4PJLOO.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NFYXRAEV.js';
8
8
  import { launchedItemForSession } from './chunk-4OD45RBP.js';
9
9
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
10
10
  import { homeFromEnv } from './chunk-352DHUTP.js';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { toolsDockerfile } from './chunk-OGG5ELXF.js';
4
- import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-HO4DPX5N.js';
3
+ import { toolsDockerfile } from './chunk-QLZXFKGO.js';
4
+ import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-H4H3KK25.js';
5
5
  import { startTimeOf } from './chunk-JBJTC3UU.js';
6
- import { runnerLabelValue } from './chunk-6UI4ELNA.js';
7
- import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-YCBVYTFI.js';
8
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-L3SHPR2M.js';
9
- import { withGitConfig, tokenHeader } from './chunk-LDKF6B2R.js';
10
- import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-IEDO26G4.js';
6
+ import { runnerLabelValue } from './chunk-GTJLKBN7.js';
7
+ import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-V227E7UX.js';
8
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-63KUYXOH.js';
9
+ import { withGitConfig, tokenHeader } from './chunk-22JLORO6.js';
10
+ import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-CFHM562L.js';
11
11
  import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
12
12
  import { tmpdir } from 'os';
13
13
  import { join } 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-54ERDQ3O.js';
3
+ import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-E6ESLX5E.js';
4
4
 
5
5
  createRequire(import.meta.url);
6
6
 
@@ -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-6UI4ELNA.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-L3SHPR2M.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-GTJLKBN7.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-63KUYXOH.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,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveCredentials, postJson, getJson } from './chunk-H4G26OZC.js';
4
- import { detectActiveSession } from './chunk-T5I2H7TJ.js';
3
+ import { resolveCredentials, postJson, getJson } from './chunk-RY5QFTXJ.js';
4
+ import { detectActiveSession } from './chunk-NE2A2ZIY.js';
5
5
  import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-HR4PJLOO.js';
8
- import { logHookError } from './chunk-SYKEQT63.js';
7
+ import { defaultFetch } from './chunk-NFYXRAEV.js';
8
+ import { logHookError } from './chunk-5HMIMWRD.js';
9
9
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
10
10
  import { homeFromEnv } from './chunk-352DHUTP.js';
11
11
  import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { WorkCommandError, postJson } from './chunk-H4G26OZC.js';
4
- import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-J4NJWTNO.js';
5
- import { buildRefusalReason } from './chunk-YEZGNCSK.js';
6
- import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-3XEYA3QF.js';
7
- import { signingFetchFor } from './chunk-HR4PJLOO.js';
8
- import { signerFor } from './chunk-KHJPRTOW.js';
9
- import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-L3SHPR2M.js';
3
+ import { WorkCommandError, postJson } from './chunk-RY5QFTXJ.js';
4
+ import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-POTMAJPJ.js';
5
+ import { buildRefusalReason } from './chunk-H6T73OLF.js';
6
+ import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-BQUI64BU.js';
7
+ import { signingFetchFor } from './chunk-NFYXRAEV.js';
8
+ import { signerFor } from './chunk-DIL7U77P.js';
9
+ import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-63KUYXOH.js';
10
10
  import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-OV4XTV5M.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';