@outerlayer/cli 0.41.0-next.20261118042344 → 0.41.0-next.20261118123932

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 (189) hide show
  1. package/dist/{agent-credential-HRNW646E.js → agent-credential-I3MYJNGM.js} +6 -6
  2. package/dist/agent-setup-7FKQGCSO.js +43 -0
  3. package/dist/{agent-subcommand-IUZYR6XR.js → agent-subcommand-RSH763NQ.js} +5 -5
  4. package/dist/{bridge-4ZSJLYCX.js → bridge-D5AQ2BCT.js} +9 -9
  5. package/dist/{build-XFVNQS7E.js → build-KJHCMZVH.js} +15 -15
  6. package/dist/{build-disk-NGJQY2TK.js → build-disk-VTRFNLDQ.js} +13 -13
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-EQQV62EK.js → builder-UXAX7JKB.js} +12 -12
  9. package/dist/caller-XEOO6PSB.js +25 -0
  10. package/dist/{check-PMCHCY4J.js → check-2BQ4BS5R.js} +57 -57
  11. package/dist/{chunk-MAFWNIYA.js → chunk-2JO3EPBG.js} +1 -1
  12. package/dist/{chunk-JE2W6Z2Y.js → chunk-2RCTRQEI.js} +10 -10
  13. package/dist/{chunk-SXPRKSRY.js → chunk-454DLLQX.js} +2 -2
  14. package/dist/{chunk-IZ2NXWJV.js → chunk-5FCVKC5Z.js} +4 -4
  15. package/dist/{chunk-TLCTOEU5.js → chunk-6ARIDREF.js} +1 -1
  16. package/dist/{chunk-QGJVNUCY.js → chunk-6X7XFVPC.js} +1 -1
  17. package/dist/{chunk-Q2TA7RYQ.js → chunk-7EBDSDVC.js} +6 -6
  18. package/dist/{chunk-NJBTQEEY.js → chunk-7EHPZMZL.js} +4 -4
  19. package/dist/{chunk-Q7Z6ELTL.js → chunk-7FAKHR6W.js} +9 -1
  20. package/dist/{chunk-IDSEYLPI.js → chunk-7G5CPEG5.js} +1 -1
  21. package/dist/{chunk-RJPLN6SO.js → chunk-AEZAS6MG.js} +3 -3
  22. package/dist/{chunk-3YVYZTMD.js → chunk-AYDWSGND.js} +1 -1
  23. package/dist/{chunk-Y2X4YY3E.js → chunk-BHERG5MK.js} +32 -31
  24. package/dist/{chunk-QW43URTD.js → chunk-BIFQP6OI.js} +4 -4
  25. package/dist/{chunk-UYOR2ZFY.js → chunk-C6WDT6VX.js} +1 -1
  26. package/dist/{chunk-KC6AM5KC.js → chunk-C7NJN5CV.js} +3 -3
  27. package/dist/{chunk-6LKTKDMY.js → chunk-CEIILR7M.js} +2 -2
  28. package/dist/{chunk-LI4NF5TS.js → chunk-CKOO653G.js} +3 -3
  29. package/dist/{chunk-IQTWJYFV.js → chunk-CSVVNMXL.js} +1 -1
  30. package/dist/{chunk-7H3JTB2I.js → chunk-DOSVADLO.js} +4 -4
  31. package/dist/{chunk-RFSYZEJE.js → chunk-DRQQ25TL.js} +4 -4
  32. package/dist/{chunk-HG3GUG5G.js → chunk-DRSF23ZR.js} +1 -1
  33. package/dist/{chunk-6PPR2Z2P.js → chunk-DSPEJGOW.js} +5 -5
  34. package/dist/{chunk-B6W2LW7E.js → chunk-DYKRQC4O.js} +1 -1
  35. package/dist/{chunk-NXLNXHDE.js → chunk-E3PYD2IM.js} +5 -5
  36. package/dist/{chunk-372B3J4P.js → chunk-F4N56BLV.js} +1 -1
  37. package/dist/{chunk-ZH6AN3UH.js → chunk-FIGHNRZQ.js} +2 -2
  38. package/dist/{chunk-HJUJDDHO.js → chunk-FJTQ43VY.js} +1 -1
  39. package/dist/{chunk-BXQU44EL.js → chunk-GFIL4S2L.js} +3 -3
  40. package/dist/{chunk-LMQSM3KR.js → chunk-GO3RR3VM.js} +57 -37
  41. package/dist/{chunk-5SWJKCME.js → chunk-HGFQMUJ5.js} +4 -4
  42. package/dist/{chunk-7SLZKQBB.js → chunk-HOFY6FVJ.js} +1 -1
  43. package/dist/{chunk-OR6OCGFY.js → chunk-IHLN5VGD.js} +1 -1
  44. package/dist/{chunk-ZBQDEROG.js → chunk-IIPJECUQ.js} +5 -5
  45. package/dist/{chunk-MQGI4D3A.js → chunk-JU7VPCVL.js} +4 -4
  46. package/dist/{chunk-UG4AUZCR.js → chunk-KDBMWPDP.js} +949 -9
  47. package/dist/{chunk-EMDZUXJX.js → chunk-KF3O2B2C.js} +2 -2
  48. package/dist/{chunk-ZXYHJ4V2.js → chunk-KVVPPFOV.js} +9 -9
  49. package/dist/{chunk-OJSC57KK.js → chunk-L35X54DH.js} +7 -7
  50. package/dist/{chunk-UXLWZV2S.js → chunk-L3VFRZHY.js} +4 -4
  51. package/dist/{chunk-EEPVNSQ7.js → chunk-LFWNVVLU.js} +2 -2
  52. package/dist/{chunk-WIIRJEMD.js → chunk-LICJ4YCK.js} +6 -6
  53. package/dist/{chunk-DJK3IK6K.js → chunk-LIPSGE6C.js} +1 -1
  54. package/dist/{chunk-QKD23T7O.js → chunk-LKGQY4GP.js} +9 -9
  55. package/dist/{chunk-Y2HG7SGT.js → chunk-LKYVLK7V.js} +1 -1
  56. package/dist/{chunk-KVZFYAYE.js → chunk-LL64MSPN.js} +9 -9
  57. package/dist/{chunk-WGR5CYGQ.js → chunk-LRD46PQW.js} +1 -1
  58. package/dist/{chunk-ZJNTS7HZ.js → chunk-LVKUAUTK.js} +2 -2
  59. package/dist/{chunk-HQYVI5T3.js → chunk-N6LLARIY.js} +3 -3
  60. package/dist/{chunk-BLFGNTAU.js → chunk-NEANSJG4.js} +5 -5
  61. package/dist/{chunk-IL7GVNVQ.js → chunk-NEDFYNDB.js} +1 -1
  62. package/dist/{chunk-4WR5WFJC.js → chunk-NL7UKJUB.js} +8 -8
  63. package/dist/{chunk-ZWPENDEN.js → chunk-NOPBVN4D.js} +8 -8
  64. package/dist/{chunk-OV3KU37X.js → chunk-ONNIMNZH.js} +2 -2
  65. package/dist/{chunk-QDJBEQCE.js → chunk-PDZEPH24.js} +1 -1
  66. package/dist/{chunk-6ML3LB5R.js → chunk-PN4CHF7X.js} +3 -3
  67. package/dist/{chunk-SHNKZGS7.js → chunk-QLUK7R26.js} +7 -7
  68. package/dist/{chunk-EKBY375P.js → chunk-RLPJMLXB.js} +1 -1
  69. package/dist/{chunk-J7NDBF6V.js → chunk-SLBFHRVU.js} +1 -1
  70. package/dist/{chunk-R3FVL26B.js → chunk-TPBPSQCF.js} +5 -5
  71. package/dist/{chunk-OCDZ7MBX.js → chunk-U2ETU6EK.js} +3 -3
  72. package/dist/{chunk-QX4GZGMW.js → chunk-UUWZ6TYF.js} +3 -3
  73. package/dist/{chunk-23YVVYQC.js → chunk-UWRXRSCE.js} +1 -1
  74. package/dist/{chunk-R5JQH7V6.js → chunk-UYP6FO27.js} +4 -4
  75. package/dist/{chunk-SWSEQ6X3.js → chunk-V2F4CH7C.js} +9 -9
  76. package/dist/{chunk-7FVQCFTT.js → chunk-VAFS3OBF.js} +6 -6
  77. package/dist/{chunk-A37KFXXN.js → chunk-VBZN3X4F.js} +18 -18
  78. package/dist/{chunk-X24VL3Q6.js → chunk-VDNMVUJA.js} +1 -1
  79. package/dist/{chunk-4CCWVDUX.js → chunk-VLU2GLKR.js} +6 -6
  80. package/dist/{chunk-T6PP5OYW.js → chunk-W4Q4GFDF.js} +4 -4
  81. package/dist/{chunk-DN2EA4XS.js → chunk-WGTK73WU.js} +1 -1
  82. package/dist/{chunk-NJKM5XGH.js → chunk-WOWX3FJR.js} +5 -5
  83. package/dist/{chunk-S5QUXXJT.js → chunk-WRNZGAI5.js} +4 -4
  84. package/dist/{chunk-ZEQT23XF.js → chunk-XATMBQYX.js} +1 -1
  85. package/dist/{chunk-EJ6P43IT.js → chunk-XWFBE4IO.js} +6 -6
  86. package/dist/{chunk-T7PY3A5I.js → chunk-Y2M5P4X4.js} +1 -1
  87. package/dist/{chunk-ILHFH56O.js → chunk-Y6U6TBWO.js} +1 -1
  88. package/dist/{chunk-B3ZKYFBI.js → chunk-YWLRN4XV.js} +1 -1
  89. package/dist/{chunk-7CUCNCYW.js → chunk-ZA3P7POQ.js} +6 -6
  90. package/dist/{claude-launcher-TD7BOXS3.js → claude-launcher-O5FZYFQU.js} +9 -9
  91. package/dist/{cli-GH5MZGRY.js → cli-SIOIFXEN.js} +168 -168
  92. package/dist/{command-CGY337MC.js → command-7HAHQWDR.js} +54 -54
  93. package/dist/{config-ZGTWKAGF.js → config-WGQATFVN.js} +14 -14
  94. package/dist/{connect-cmd-GKGB2E7L.js → connect-cmd-654I4LV4.js} +13 -13
  95. package/dist/{container-start-JA6S5OZA.js → container-start-2IJSVRAJ.js} +51 -51
  96. package/dist/{context-cleanup-AQQC4EZ6.js → context-cleanup-HFSRIDRZ.js} +5 -5
  97. package/dist/{context-show-cmd-55RKC5M6.js → context-show-cmd-N6EA4H2R.js} +14 -14
  98. package/dist/{control-plane-launch-UH6LIDIM.js → control-plane-launch-XGJ5OY6T.js} +17 -17
  99. package/dist/{demo-record-cmd-Q7RXHNSW.js → demo-record-cmd-GAURDSSR.js} +10 -10
  100. package/dist/{demo-voice-cmd-LC75USDT.js → demo-voice-cmd-ZSAAAWLK.js} +22 -22
  101. package/dist/{dist-ITIDOS3E.js → dist-PR6IJSRV.js} +1 -1
  102. package/dist/docker-FVMJU75D.js +22 -0
  103. package/dist/{doctor-UOPEG5JW.js → doctor-OC3RN6MW.js} +53 -53
  104. package/dist/{emit-artifact-cmd-DQXFW5QL.js → emit-artifact-cmd-LQ623M4X.js} +21 -21
  105. package/dist/{emit-cmd-IPPDMPP6.js → emit-cmd-I4MGKLZX.js} +8 -8
  106. package/dist/{emit-criteria-cmd-2YF7DG7K.js → emit-criteria-cmd-KBYEOZLP.js} +16 -16
  107. package/dist/{emit-demo-cmd-Z2Z7G3BM.js → emit-demo-cmd-EFQF7TUP.js} +22 -22
  108. package/dist/{emit-finding-cmd-ZVDJ4IWI.js → emit-finding-cmd-LVH26RPD.js} +16 -16
  109. package/dist/{emit-step-cmd-WVMHTORK.js → emit-step-cmd-Y3IGA6WM.js} +16 -16
  110. package/dist/{exec-client-6B65UMC4.js → exec-client-DHNQONI2.js} +10 -10
  111. package/dist/{find-unit-CPKLR4S3.js → find-unit-UOIQ7AEV.js} +15 -15
  112. package/dist/{findings-cmd-7QLBWQGC.js → findings-cmd-WFZXWYG4.js} +16 -16
  113. package/dist/{fleet-readiness-5KULJEOF.js → fleet-readiness-62FJXOXK.js} +16 -16
  114. package/dist/{governing-source-CPCH4DJC.js → governing-source-Z3OXKSB5.js} +22 -22
  115. package/dist/guest-init-CH6J2HKB.js +22 -0
  116. package/dist/{hook-fast-5CJ6RJFG.js → hook-fast-4QOQCBWV.js} +4 -4
  117. package/dist/{hook-install-33FYUDIE.js → hook-install-RAETUCCH.js} +5 -5
  118. package/dist/{hook-wrap-fast-7E5LAYEU.js → hook-wrap-fast-PILF2WIO.js} +3 -3
  119. package/dist/host-checks-37CVOUM5.js +83 -0
  120. package/dist/host-key-UPZOPBZP.js +20 -0
  121. package/dist/{image-tag-XNNZOXVO.js → image-tag-RUJ5YPTB.js} +10 -10
  122. package/dist/index.js +6 -6
  123. package/dist/init-CNCJQQ7Y.js +83 -0
  124. package/dist/{init-DYJMROGI.js → init-RUD54PTF.js} +49 -49
  125. package/dist/{init-agent-ZCBIXS6M.js → init-agent-ISZJN3ST.js} +49 -49
  126. package/dist/init-cmd-VH7S2GEM.js +55 -0
  127. package/dist/{init-update-MJ7MYP6V.js → init-update-Y2MOPWRY.js} +25 -25
  128. package/dist/install-cmd-IOM277GD.js +28 -0
  129. package/dist/launch-agent-B44AUNLN.js +28 -0
  130. package/dist/{layout-JQCHHAB7.js → layout-L52YULMN.js} +5 -5
  131. package/dist/{logs-7HCS6KSZ.js → logs-FLFCAU43.js} +9 -9
  132. package/dist/loop-SKXGHRG2.js +93 -0
  133. package/dist/machine-NQUFP4XE.js +83 -0
  134. package/dist/{machine-skills-XOZYRCQU.js → machine-skills-VOO5C4X4.js} +5 -5
  135. package/dist/{mcp-install-cmd-2OYL5QG2.js → mcp-install-cmd-MLXGDV5E.js} +5 -5
  136. package/dist/{mcp-serve-cmd-WX36M5AW.js → mcp-serve-cmd-WXFGZDFM.js} +11 -11
  137. package/dist/{paths-BFCAC3BS.js → paths-FP6RFQLT.js} +9 -9
  138. package/dist/pending-SJXNCRQM.js +20 -0
  139. package/dist/{pidfile-WLYGNER6.js → pidfile-VZ37FTAR.js} +10 -10
  140. package/dist/{record-KQIGBRJO.js → record-7HI6JQOT.js} +10 -10
  141. package/dist/{relay-LPJV7OVV.js → relay-G54IZXQG.js} +7 -7
  142. package/dist/{relay-protocol-3BVU2NN5.js → relay-protocol-AZICSZVX.js} +7 -7
  143. package/dist/{run-cmd-DH45VQHD.js → run-cmd-BBD4EXH6.js} +16 -16
  144. package/dist/{runner-agents-VTEO2GEK.js → runner-agents-SAQYJZCD.js} +5 -5
  145. package/dist/runner-env-2XVR2AKP.js +26 -0
  146. package/dist/{runner-identity-CXYSHPMV.js → runner-identity-3YLJMM4D.js} +12 -12
  147. package/dist/{runner-key-VVGDYJ3V.js → runner-key-WC5WBJGV.js} +49 -49
  148. package/dist/{session-sender-XATQAHUP.js → session-sender-UWGXAER2.js} +21 -21
  149. package/dist/{setup-cmd-BDNW3QX2.js → setup-cmd-HAGNGFBS.js} +32 -16
  150. package/dist/{setup-wiring-7WP7T6DZ.js → setup-wiring-D2HLYTVS.js} +98 -64
  151. package/dist/{shell-function-6ZFAVOSM.js → shell-function-JWLJSRIM.js} +2 -2
  152. package/dist/{spec-cmd-JQD4MVSD.js → spec-cmd-XPWQ4T54.js} +17 -17
  153. package/dist/{starter-pack-VJ6M5POI.js → starter-pack-IGBCFHHQ.js} +6 -6
  154. package/dist/state-UDM6QYQ4.js +20 -0
  155. package/dist/{status-OLYG2DQO.js → status-HCAHJHG6.js} +49 -49
  156. package/dist/{statusline-fast-VVJF5W7X.js → statusline-fast-WRBKP3AS.js} +3 -3
  157. package/dist/{sync-cmd-4WBPOCSV.js → sync-cmd-TSGAPHFF.js} +20 -20
  158. package/dist/update-steps-P2X653PW.js +84 -0
  159. package/dist/{watch-FVZGHC4H.js → watch-JXAA3U7K.js} +20 -20
  160. package/dist/{work-claim-cmd-5QLR2AXJ.js → work-claim-cmd-CSDADS7K.js} +23 -23
  161. package/dist/{work-cmd-4WIUDL3X.js → work-cmd-66DJQMMW.js} +16 -16
  162. package/dist/{work-comment-cmd-H7D2QMAH.js → work-comment-cmd-Z4U2Y5T2.js} +19 -19
  163. package/dist/{work-demo-cmd-GDECXMTW.js → work-demo-cmd-E5Q3EKV5.js} +16 -16
  164. package/dist/{work-logs-cmd-BEJ57ZYU.js → work-logs-cmd-G7P4VCTO.js} +16 -16
  165. package/dist/{work-mock-cmd-BMYUKPLS.js → work-mock-cmd-5IBKSKB2.js} +16 -16
  166. package/dist/{work-needs-attention-cmd-AUQIQDUY.js → work-needs-attention-cmd-ALNTMUS6.js} +16 -16
  167. package/dist/{work-no-change-cmd-MKXFCWZB.js → work-no-change-cmd-YB4VOSIG.js} +16 -16
  168. package/dist/{work-open-pr-cmd-TMATND63.js → work-open-pr-cmd-AI7QD33K.js} +17 -17
  169. package/dist/{work-pr-cmd-PYM5ALZY.js → work-pr-cmd-AGJ6LOUW.js} +16 -16
  170. package/dist/{work-proofs-cmd-Q4LFVRGN.js → work-proofs-cmd-TFI2PP4I.js} +18 -18
  171. package/dist/{work-proofs-record-TOM5TMTS.js → work-proofs-record-ZAOXECGN.js} +26 -26
  172. package/dist/{work-stop-cmd-CCUZFQEZ.js → work-stop-cmd-JLSD4GJU.js} +16 -16
  173. package/package.json +1 -1
  174. package/dist/agent-setup-OY7X2RZ7.js +0 -43
  175. package/dist/caller-4PJF4AG2.js +0 -25
  176. package/dist/docker-DCZ3QU7E.js +0 -22
  177. package/dist/guest-init-DYUGDDAL.js +0 -22
  178. package/dist/host-checks-LQL5AAWT.js +0 -83
  179. package/dist/host-key-JCGCSUKW.js +0 -20
  180. package/dist/init-RDMYISJU.js +0 -83
  181. package/dist/init-cmd-TYN64DJI.js +0 -55
  182. package/dist/install-cmd-QYJDQH6P.js +0 -28
  183. package/dist/launch-agent-YB3ZHJZO.js +0 -28
  184. package/dist/loop-3JAEQFO7.js +0 -93
  185. package/dist/machine-HLEJXQNG.js +0 -83
  186. package/dist/pending-DDB24JP7.js +0 -20
  187. package/dist/runner-env-YS7NTZVF.js +0 -26
  188. package/dist/state-ISFCEXUY.js +0 -20
  189. package/dist/update-steps-OSHKSM76.js +0 -84
@@ -1,39 +1,39 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-ZEQT23XF.js';
3
+ import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-XATMBQYX.js';
4
4
  import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
5
- import { reportFailedStart, fitImageBuildMemory } from './chunk-OJSC57KK.js';
6
- import { renderUpdateSteps } from './chunk-6ML3LB5R.js';
5
+ import { reportFailedStart, fitImageBuildMemory } from './chunk-L35X54DH.js';
6
+ import { renderUpdateSteps } from './chunk-PN4CHF7X.js';
7
7
  import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
8
- import { writeFleetState } from './chunk-UYOR2ZFY.js';
9
- import { writePendingUpdate } from './chunk-372B3J4P.js';
10
- import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-JE2W6Z2Y.js';
11
- import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-J7NDBF6V.js';
12
- import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, noteMissingCredential, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, runCommandFor, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, commandEndReasonOf, holdManagedKey, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, fetchManagedModelKey, environmentFor, builtOf, judgeCredential, missingJudgeCredential, reviewFiles, readWorkItem, issueText, storedProblemsText, territories, territoryBrief, dropNonProblems, mergeAnswers, carriedProblems, unreviewedItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, superviseRuns, NO_LOG, timeoutAfter, unreviewedFiles, markdownSection, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-LMQSM3KR.js';
13
- import { RUNNER_PROTOCOL } from './chunk-QDJBEQCE.js';
14
- import { criteriaOf, diffLines, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, treePath, parseJudgeAnswer, wholeEntries, lineInDiff } from './chunk-7SLZKQBB.js';
15
- import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-3YVYZTMD.js';
8
+ import { writeFleetState } from './chunk-C6WDT6VX.js';
9
+ import { writePendingUpdate } from './chunk-F4N56BLV.js';
10
+ import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-2RCTRQEI.js';
11
+ import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-SLBFHRVU.js';
12
+ import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, noteMissingCredential, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, runCommandFor, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, commandEndReasonOf, holdManagedKey, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, fetchManagedModelKey, environmentFor, builtOf, judgeCredential, missingJudgeCredential, reviewFiles, readWorkItem, issueText, storedProblemsText, territories, territoryBrief, dropNonProblems, mergeAnswers, carriedProblems, unreviewedItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, superviseRuns, NO_LOG, timeoutAfter, unreviewedFiles, markdownSection, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-GO3RR3VM.js';
13
+ import { RUNNER_PROTOCOL } from './chunk-PDZEPH24.js';
14
+ import { criteriaOf, diffLines, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, treePath, parseJudgeAnswer, wholeEntries, lineInDiff } from './chunk-HOFY6FVJ.js';
15
+ import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-AYDWSGND.js';
16
16
  import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
17
- import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-SWSEQ6X3.js';
18
- import { RepoFilter } from './chunk-QKD23T7O.js';
17
+ import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-V2F4CH7C.js';
18
+ import { RepoFilter } from './chunk-LKGQY4GP.js';
19
19
  import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
20
- import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-ZJNTS7HZ.js';
21
- import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-SHNKZGS7.js';
22
- import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-T7PY3A5I.js';
20
+ import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-LVKUAUTK.js';
21
+ import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-QLUK7R26.js';
22
+ import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-Y2M5P4X4.js';
23
23
  import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
24
- import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-ZWPENDEN.js';
25
- import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-T6PP5OYW.js';
26
- import { formatBytes, freeBytes } from './chunk-OV3KU37X.js';
27
- import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, judgeProgram, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-KVZFYAYE.js';
28
- import { loadHostKey, ensureHostKey, signerFor } from './chunk-QGJVNUCY.js';
29
- import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-OR6OCGFY.js';
30
- import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-Q2TA7RYQ.js';
31
- import { COMMAND_LOST_REASON, AGENT_CREDENTIAL_MISSING, CONTAINER_STOPPED_REASON } from './chunk-QW43URTD.js';
32
- import { reportedAgents, jobCredentialProblem, takeAgentCredentials, heldAgentCredential, currentAgentCredential, fdName } from './chunk-6LKTKDMY.js';
33
- import { cleanAttachmentName } from './chunk-7FVQCFTT.js';
34
- import { jobAgentIdFor, commandAgentId, jobAgent, judgeAgent, commandForJob, withJobModel, jobCommandEnv, jobKeyProviders, agentsToHold, runnerAgents, listedAgents } from './chunk-EEPVNSQ7.js';
35
- import { defaultAgents, resolvePackRoot } from './chunk-HQYVI5T3.js';
36
- import { isModelId, PROVIDERS } from './chunk-Q7Z6ELTL.js';
24
+ import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-NOPBVN4D.js';
25
+ import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-W4Q4GFDF.js';
26
+ import { formatBytes, freeBytes } from './chunk-ONNIMNZH.js';
27
+ import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, judgeProgram, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-LL64MSPN.js';
28
+ import { loadHostKey, ensureHostKey, signerFor } from './chunk-6X7XFVPC.js';
29
+ import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-IHLN5VGD.js';
30
+ import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-7EBDSDVC.js';
31
+ import { COMMAND_LOST_REASON, AGENT_CREDENTIAL_MISSING, CONTAINER_STOPPED_REASON } from './chunk-BIFQP6OI.js';
32
+ import { reportedAgents, jobCredentialProblem, takeAgentCredentials, heldAgentCredential, currentAgentCredential, fdName } from './chunk-CEIILR7M.js';
33
+ import { cleanAttachmentName } from './chunk-VAFS3OBF.js';
34
+ import { jobAgentIdFor, commandAgentId, jobAgent, judgeAgent, commandForJob, withJobModel, jobCommandEnv, jobKeyProviders, agentsToHold, runnerAgents, listedAgents } from './chunk-LFWNVVLU.js';
35
+ import { defaultAgents, resolvePackRoot } from './chunk-N6LLARIY.js';
36
+ import { isModelId, PROVIDERS } from './chunk-7FAKHR6W.js';
37
37
  import { resolveVersion } from './chunk-RA3O54FC.js';
38
38
  import { CheckItemsSchema, CODE_REVIEW_NAME, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, problemKind, CODE_REVIEW_PROBLEMS_MAX, TEAM_RULES_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, PROBLEM_KINDS, problemSeverity } from './chunk-PDFCYYCC.js';
39
39
  import { randomBytes, createHash } from 'crypto';
@@ -3387,7 +3387,7 @@ var CLAIM_REFUSAL_CODES = new Set(
3387
3387
  "pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
3388
3388
  );
3389
3389
  async function tryClaimAndStart(state, item, queue) {
3390
- const { postJson: postJson2 } = await import('./work-cmd-4WIUDL3X.js');
3390
+ const { postJson: postJson2 } = await import('./work-cmd-66DJQMMW.js');
3391
3391
  const log = logOf(state);
3392
3392
  const hostKey = await loadHostKey(state.config.configPath);
3393
3393
  const claim = await retrySend(
@@ -3852,6 +3852,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
3852
3852
  runtime: runtimeOf(state),
3853
3853
  queue,
3854
3854
  ...queue === "run" ? {} : { workItemId: item.id },
3855
+ ...active.job.run === void 0 ? {} : { run: { timeLimitSeconds: active.job.run.timeLimitSeconds } },
3855
3856
  ...freshDisk ? { fresh: true } : {},
3856
3857
  ...diskHeldElsewhere ? { diskHeldElsewhere: true } : {},
3857
3858
  item,
@@ -5090,7 +5091,7 @@ async function startRunner(configPath, deps, startup) {
5090
5091
  check: update.check ? () => update.check(configPath) : async () => {
5091
5092
  const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
5092
5093
  const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
5093
- return (await import('./check-PMCHCY4J.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
5094
+ return (await import('./check-2BQ4BS5R.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
5094
5095
  },
5095
5096
  now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
5096
5097
  log
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { readAgentCredential, credentialForAgent } from './chunk-6LKTKDMY.js';
4
- import { providersOf, credentialAgent, jobAgent, runnerAgents, MANAGED_KIND, judgeAgent } from './chunk-EEPVNSQ7.js';
5
- import { defaultAgents } from './chunk-HQYVI5T3.js';
6
- import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
3
+ import { readAgentCredential, credentialForAgent } from './chunk-CEIILR7M.js';
4
+ import { providersOf, credentialAgent, jobAgent, runnerAgents, MANAGED_KIND, judgeAgent } from './chunk-LFWNVVLU.js';
5
+ import { defaultAgents } from './chunk-N6LLARIY.js';
6
+ import { PROVIDERS } from './chunk-7FAKHR6W.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 { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-OR6OCGFY.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-IHLN5VGD.js';
4
4
  import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
5
5
  import { dirname, join } from 'path';
6
6
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
4
- import { execStartArgv } from './chunk-J7NDBF6V.js';
5
- import { DEFAULT_UNIT_NAME } from './chunk-4CCWVDUX.js';
6
- import { runnerDir } from './chunk-OR6OCGFY.js';
4
+ import { execStartArgv } from './chunk-SLBFHRVU.js';
5
+ import { DEFAULT_UNIT_NAME } from './chunk-VLU2GLKR.js';
6
+ import { runnerDir } from './chunk-IHLN5VGD.js';
7
7
  import { join, dirname } from 'path';
8
8
 
9
9
  createRequire(import.meta.url);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { credentialEnvPath, runnerAgents, credentialNames, credentialForms, credentialAgent, strippedVariables, orList, credentialShapes, managedOfferedAgents, listedAgents, agentsNeedingCredential, judgeAgent, forwardedVariables } from './chunk-EEPVNSQ7.js';
4
- import { defaultAgents } from './chunk-HQYVI5T3.js';
3
+ import { credentialEnvPath, runnerAgents, credentialNames, credentialForms, credentialAgent, strippedVariables, orList, credentialShapes, managedOfferedAgents, listedAgents, agentsNeedingCredential, judgeAgent, forwardedVariables } from './chunk-LFWNVVLU.js';
4
+ import { defaultAgents } from './chunk-N6LLARIY.js';
5
5
  import { statSync, readFileSync } from 'fs';
6
6
  import { join, basename } from 'path';
7
7
  import { spawn, spawnSync } from 'child_process';
@@ -2,9 +2,9 @@
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-X24VL3Q6.js';
6
- import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-HQYVI5T3.js';
7
- import { LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
5
+ import { linkedAgentsPath } from './chunk-VDNMVUJA.js';
6
+ import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-N6LLARIY.js';
7
+ import { LEGACY_AGENT } from './chunk-7FAKHR6W.js';
8
8
  import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
9
9
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
10
10
  import { existsSync, mkdirSync, writeFileSync } from 'fs';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
4
- import { legacyAgent, defaultAgents, HookTextError } from './chunk-HQYVI5T3.js';
4
+ import { legacyAgent, defaultAgents, HookTextError } from './chunk-N6LLARIY.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
4
- import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-ZH6AN3UH.js';
4
+ import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-FIGHNRZQ.js';
5
5
  import { DEFAULT_DASHBOARD } from './chunk-XEETBQKD.js';
6
- import { cliFetch, resolveGatewayCredentials } from './chunk-DN2EA4XS.js';
6
+ import { cliFetch, resolveGatewayCredentials } from './chunk-WGTK73WU.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-HQYVI5T3.js';
11
- import { remoteLookupFailed } from './chunk-UG4AUZCR.js';
10
+ import { defaultAgents } from './chunk-N6LLARIY.js';
11
+ import { remoteLookupFailed } from './chunk-KDBMWPDP.js';
12
12
  import { execFileSync } from 'child_process';
13
13
  import { lstatSync } from 'fs';
14
14
  import { join, relative } from 'path';
@@ -1,14 +1,14 @@
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-Y2HG7SGT.js';
5
- import { autoConnect } from './chunk-RJPLN6SO.js';
4
+ import { detectActiveSession } from './chunk-LKYVLK7V.js';
5
+ import { autoConnect } from './chunk-AEZAS6MG.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DN2EA4XS.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-WGTK73WU.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-UG4AUZCR.js';
11
+ import { resolveRepoIdentity } from './chunk-KDBMWPDP.js';
12
12
  import { CriteriaListSchema } from './chunk-PDFCYYCC.js';
13
13
  import { readFileSync } from 'fs';
14
14
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-EEPVNSQ7.js';
3
+ import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-LFWNVVLU.js';
4
4
  import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
5
5
  import { join, resolve, relative, dirname, sep, basename } from 'path';
6
6
  import { createRequire as createRequire$1 } from 'module';
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_UNIT_NAME } from './chunk-4CCWVDUX.js';
4
- import { RUNNER_FILE_MODE } from './chunk-OR6OCGFY.js';
5
- import { parseRunnerEnv, withoutCredentialLines } from './chunk-6LKTKDMY.js';
6
- import { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-EEPVNSQ7.js';
7
- import { defaultAgents } from './chunk-HQYVI5T3.js';
3
+ import { DEFAULT_UNIT_NAME } from './chunk-VLU2GLKR.js';
4
+ import { RUNNER_FILE_MODE } from './chunk-IHLN5VGD.js';
5
+ import { parseRunnerEnv, withoutCredentialLines } from './chunk-CEIILR7M.js';
6
+ import { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-LFWNVVLU.js';
7
+ import { defaultAgents } from './chunk-N6LLARIY.js';
8
8
  import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
9
9
  import { join, dirname, basename } from 'path';
10
10
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
3
+ import { LEGACY_AGENT } from './chunk-7FAKHR6W.js';
4
4
 
5
5
  createRequire(import.meta.url);
6
6
 
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
4
- import { detectActiveSession, transcriptPathForSession } from './chunk-Y2HG7SGT.js';
5
- import { autoConnect } from './chunk-RJPLN6SO.js';
4
+ import { detectActiveSession, transcriptPathForSession } from './chunk-LKYVLK7V.js';
5
+ import { autoConnect } from './chunk-AEZAS6MG.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DN2EA4XS.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-WGTK73WU.js';
8
8
  import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
9
9
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
12
- import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-HQYVI5T3.js';
12
+ import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-N6LLARIY.js';
13
13
  import { homeFromEnv } from './chunk-352DHUTP.js';
14
- import { resolveRepoIdentity, scrubText } from './chunk-UG4AUZCR.js';
14
+ import { resolveRepoIdentity, scrubText } from './chunk-KDBMWPDP.js';
15
15
  import { FindingBatchSchema, findingGaps, FindingsResponseSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, SAME_PROBLEM_RULES, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH } from './chunk-PDFCYYCC.js';
16
16
  import { readFileSync, existsSync } from 'fs';
17
17
  import { homedir } from 'os';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-OR6OCGFY.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-IHLN5VGD.js';
4
4
  import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } 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
- import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-HQYVI5T3.js';
4
- import { LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
3
+ import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-N6LLARIY.js';
4
+ import { LEGACY_AGENT } from './chunk-7FAKHR6W.js';
5
5
  import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
6
6
  import { relative, sep, join, posix } from 'path';
7
7
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { currentLink } from './chunk-J7NDBF6V.js';
3
+ import { currentLink } from './chunk-SLBFHRVU.js';
4
4
  import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
5
5
  import { randomBytes } from 'crypto';
6
6
  import { join, dirname, delimiter, resolve } from 'path';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-IDSEYLPI.js';
3
+ import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-7G5CPEG5.js';
4
4
  import { startTimeOf } from './chunk-JBJTC3UU.js';
5
- import { EXEC_PORT } from './chunk-NJBTQEEY.js';
6
- import { RELAY_PORT } from './chunk-Q2TA7RYQ.js';
5
+ import { EXEC_PORT } from './chunk-7EHPZMZL.js';
6
+ import { RELAY_PORT } from './chunk-7EBDSDVC.js';
7
7
  import { spawn, spawnSync } from 'child_process';
8
8
  import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
9
9
 
@@ -1,46 +1,46 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_PROTOCOL } from './chunk-QDJBEQCE.js';
4
- import { MAX_TEST_FILE_BYTES, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, itemsSentence, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, hostCheckOf } from './chunk-7SLZKQBB.js';
3
+ import { RUNNER_PROTOCOL } from './chunk-PDZEPH24.js';
4
+ import { MAX_TEST_FILE_BYTES, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, itemsSentence, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, hostCheckOf } from './chunk-HOFY6FVJ.js';
5
5
  import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
6
- import { upgradedStarterText } from './chunk-NJKM5XGH.js';
7
- import { runnerImageVersion } from './chunk-3YVYZTMD.js';
8
- import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, replaceFile, isAgentName, credentialFromStdin } from './chunk-6PPR2Z2P.js';
9
- import { describeCallFailure, shortClaim, retrySend, formatDuration, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-SWSEQ6X3.js';
10
- import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-BXQU44EL.js';
11
- import { writeDockerClientConfig } from './chunk-IDSEYLPI.js';
12
- import { senderPidfile } from './chunk-5SWJKCME.js';
13
- import { installScrubContext } from './chunk-QKD23T7O.js';
6
+ import { upgradedStarterText } from './chunk-WOWX3FJR.js';
7
+ import { runnerImageVersion } from './chunk-AYDWSGND.js';
8
+ import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, replaceFile, isAgentName, credentialFromStdin } from './chunk-DSPEJGOW.js';
9
+ import { describeCallFailure, shortClaim, retrySend, formatDuration, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-V2F4CH7C.js';
10
+ import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-GFIL4S2L.js';
11
+ import { writeDockerClientConfig } from './chunk-7G5CPEG5.js';
12
+ import { senderPidfile } from './chunk-HGFQMUJ5.js';
13
+ import { installScrubContext } from './chunk-LKGQY4GP.js';
14
14
  import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
15
- import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-ZJNTS7HZ.js';
15
+ import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-LVKUAUTK.js';
16
16
  import { receiveFiles } from './chunk-NN33FYXG.js';
17
- import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, prepareImageBuild, readBranchHead, diffBetween, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-SHNKZGS7.js';
18
- import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-UXLWZV2S.js';
17
+ import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, prepareImageBuild, readBranchHead, diffBetween, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-QLUK7R26.js';
18
+ import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-L3VFRZHY.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-MAFWNIYA.js';
22
- import { linkVsockSockets, GUEST_CID, socketPathProblem, vsockLinks, LEASE_LINK } from './chunk-NJBTQEEY.js';
23
- import { getJson, postJson, WorkCommandError, isSignatureRefusal } from './chunk-ZWPENDEN.js';
21
+ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-2JO3EPBG.js';
22
+ import { linkVsockSockets, GUEST_CID, socketPathProblem, vsockLinks, LEASE_LINK } from './chunk-7EHPZMZL.js';
23
+ import { getJson, postJson, WorkCommandError, isSignatureRefusal } from './chunk-NOPBVN4D.js';
24
24
  import { sanitizeTerminal, planArtifactUpload } from './chunk-QW6TKDBL.js';
25
- import { keyRunnerFactory, DEFAULT_WORKSPACE_KEEP_DAYS, optionalEgress, runnerCredentialProblem, builtinKind, readOnlyOption, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, allowHostProblem, systemClock, emptyEgressCounts, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, hostAllowed, sandboxTimeLimitMinutes, networkOf, DEFAULT_SETUP_MINUTES, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-T6PP5OYW.js';
26
- import { volumeBytes, formatBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-OV3KU37X.js';
27
- import { spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, readDu, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, readJobFileChecked, NETWORK_READY_FILE, containerExecArgs, childEnvironment, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, judgeProgram, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, NODE, JUDGE_HOME, JUDGE_REPORT, judgeCommand, WORKSPACE_LABEL, COMMAND_DIR, prepareRunArgs, networkHelperName, containerRunArgs, judgeProgramRecord, mountableHome, homeCopyRunArgs, MAX_ITEMS_BYTES, identityRunArgs, parseIdentity, networkHelperRunArgs, identityScript, identityArgs, homeCopyScript, homeCopyArgs, SAVED_STATE_LABEL } from './chunk-KVZFYAYE.js';
28
- import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-HG3GUG5G.js';
29
- import { sharedSkillNames, skillConflictMessage } from './chunk-OCDZ7MBX.js';
25
+ import { keyRunnerFactory, DEFAULT_WORKSPACE_KEEP_DAYS, optionalEgress, runnerCredentialProblem, builtinKind, readOnlyOption, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, allowHostProblem, systemClock, emptyEgressCounts, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, hostAllowed, sandboxTimeLimitMinutes, networkOf, DEFAULT_SETUP_MINUTES, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-W4Q4GFDF.js';
26
+ import { volumeBytes, formatBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-ONNIMNZH.js';
27
+ import { spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, readDu, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, readJobFileChecked, NETWORK_READY_FILE, containerExecArgs, childEnvironment, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, judgeProgram, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, NODE, JUDGE_HOME, JUDGE_REPORT, judgeCommand, WORKSPACE_LABEL, COMMAND_DIR, prepareRunArgs, networkHelperName, containerRunArgs, judgeProgramRecord, mountableHome, homeCopyRunArgs, MAX_ITEMS_BYTES, identityRunArgs, parseIdentity, networkHelperRunArgs, identityScript, identityArgs, homeCopyScript, homeCopyArgs, SAVED_STATE_LABEL } from './chunk-LL64MSPN.js';
28
+ import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-DRSF23ZR.js';
29
+ import { sharedSkillNames, skillConflictMessage } from './chunk-U2ETU6EK.js';
30
30
  import { readCloudConfig } from './chunk-HWVMRETT.js';
31
- import { signerFor } from './chunk-QGJVNUCY.js';
32
- import { RUNNER_FILE_MODE, sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, workspacesDir, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, vsockPath, builderConsolePath, diskTemplatesDir, jobConsolePath, deliveryDir, rootfsPathFor, SHIM_DIR } from './chunk-OR6OCGFY.js';
33
- import { dataPlaneOf, sandboxCallOf, SandboxError, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, buildEnvironment, CHECKOUT_DIR, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, parseProxied, retryAfterMsOf, proxyEnvironment, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, readBundleScript, applyTrust, describeSandboxError, dropBuildAuthority, BUILD_HOME, RELAY_PORT, variablesFor, carried6to4, classifyAddress, primaryOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, repositoryPath, lifecycleWorkdir, toolProxyEnvironment, withMiseVariables, isMiseVariableAllowed } from './chunk-Q2TA7RYQ.js';
34
- import { agentCredential, UNKNOWN_TRANSPORT_REASON, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, RELAY_USER, 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, DOCKER_DESKTOP_REASON, RELAY_ID } from './chunk-QW43URTD.js';
35
- import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, realFdStorePort, reportedAgents, removedAgentCredentialValues, currentAgentCredential, fdName } from './chunk-6LKTKDMY.js';
36
- import { versionAtLeast } from './chunk-DJK3IK6K.js';
37
- import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, commandAgentId, defaultCommandFor, defaultCommandLine, runnerAgents, credentialAgent, stallReason, judgeAgent, agentErrorReason, 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, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, strippedVariables, 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, agentMissingFromImage } from './chunk-EEPVNSQ7.js';
38
- import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-HQYVI5T3.js';
39
- import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
31
+ import { signerFor } from './chunk-6X7XFVPC.js';
32
+ import { RUNNER_FILE_MODE, sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, workspacesDir, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, vsockPath, builderConsolePath, diskTemplatesDir, jobConsolePath, deliveryDir, rootfsPathFor, SHIM_DIR } from './chunk-IHLN5VGD.js';
33
+ import { dataPlaneOf, sandboxCallOf, SandboxError, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, buildEnvironment, CHECKOUT_DIR, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, parseProxied, retryAfterMsOf, proxyEnvironment, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, readBundleScript, applyTrust, describeSandboxError, dropBuildAuthority, BUILD_HOME, RELAY_PORT, variablesFor, carried6to4, classifyAddress, primaryOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, repositoryPath, lifecycleWorkdir, toolProxyEnvironment, withMiseVariables, isMiseVariableAllowed } from './chunk-7EBDSDVC.js';
34
+ import { agentCredential, UNKNOWN_TRANSPORT_REASON, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, RELAY_USER, 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, DOCKER_DESKTOP_REASON, RELAY_ID } from './chunk-BIFQP6OI.js';
35
+ import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, realFdStorePort, reportedAgents, removedAgentCredentialValues, currentAgentCredential, fdName } from './chunk-CEIILR7M.js';
36
+ import { versionAtLeast } from './chunk-LIPSGE6C.js';
37
+ import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, commandAgentId, defaultCommandFor, defaultCommandLine, runnerAgents, credentialAgent, stallReason, judgeAgent, agentErrorReason, 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, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, strippedVariables, 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, agentMissingFromImage } from './chunk-LFWNVVLU.js';
38
+ import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-N6LLARIY.js';
39
+ import { PROVIDERS } from './chunk-7FAKHR6W.js';
40
40
  import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
41
41
  import { resolveVersion } from './chunk-RA3O54FC.js';
42
42
  import { homeFromEnv } from './chunk-352DHUTP.js';
43
- import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot } from './chunk-UG4AUZCR.js';
43
+ import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot } from './chunk-KDBMWPDP.js';
44
44
  import { UNREVIEWED_FILES_ITEM_ID, CODE_REVIEW_NAME, CRITERIA_JUDGE_NAME, CHECK_ITEM_REASON_MAX_LENGTH, CheckItemsSchema, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH } from './chunk-PDFCYYCC.js';
45
45
  import { randomUUID, createHash, randomBytes } from 'crypto';
46
46
  import { existsSync, statSync, appendFileSync, rmSync, mkdirSync, readFileSync, mkdtempSync, readdirSync, accessSync, constants, writeFileSync, openSync, closeSync, lstatSync, renameSync, rmdirSync, unlinkSync, chmodSync, createReadStream, readSync, realpathSync, truncateSync, cpSync, writeSync, createWriteStream, copyFileSync, fstatSync, linkSync } from 'fs';
@@ -242,7 +242,6 @@ function createLeaseChannel(valueMs) {
242
242
  // src/runner/run-job.ts
243
243
  function runIsolation(config) {
244
244
  if (config.fleet === true || !config.queues.includes("implement")) return void 0;
245
- if (config.sandbox?.provider === "outerlayer") return void 0;
246
245
  if (isBuiltinContainer(config.hooks.provision)) return "container";
247
246
  if (isBuiltinVm(config.hooks.provision) || isBuiltinSandbox(config.hooks.provision)) return "vm";
248
247
  return void 0;
@@ -253,6 +252,9 @@ function runDecision(config, agents = defaultAgents()) {
253
252
  if (runCommandOf(config, agents) === void 0) return { takes: false, because: "command" };
254
253
  return { takes: true, isolation };
255
254
  }
255
+ function isOuterLayerSandbox(config) {
256
+ return config.sandbox?.provider === "outerlayer";
257
+ }
256
258
  function claimRepos(repos) {
257
259
  if (repos === void 0 || (repos.include?.length ?? 0) === 0 && (repos.exclude?.length ?? 0) === 0) return void 0;
258
260
  const bare = (pattern) => pattern.replace(/^github\.com\//i, "");
@@ -285,6 +287,8 @@ async function claimRun(input) {
285
287
  cliVersion: input.cliVersion,
286
288
  isolation: input.isolation,
287
289
  seconds: LEASE_SECONDS,
290
+ // The gateway holds a run at a limit on managed builds only for a runner whose builds use OuterLayer's sandboxes.
291
+ ...isOuterLayerSandbox(config) ? { managedSandbox: true } : {},
288
292
  ...repos === void 0 ? {} : { repos },
289
293
  ...input.hostKey === void 0 ? {} : { hostKey: input.hostKey }
290
294
  },
@@ -1891,8 +1895,21 @@ function createGatewaySandboxClient(opts) {
1891
1895
  };
1892
1896
  const own = (id) => `/v1/managed-sandboxes/${encodeURIComponent(id)}`;
1893
1897
  const claimed = (workItem) => `/v1/work-items/${encodeURIComponent(String(workItem))}/claim/sandbox`;
1898
+ const ranFor = (run) => `/v1/schedule-runs/${encodeURIComponent(run)}/sandbox`;
1894
1899
  return {
1895
1900
  async create(input) {
1901
+ if (input.run !== void 0) {
1902
+ return sandboxOf(
1903
+ await post(input.factory, ranFor(input.run), {
1904
+ waits: true,
1905
+ idleMinutes: input.idleMinutes,
1906
+ timeLimitMinutes: input.timeLimitMinutes,
1907
+ metadata: input.metadata,
1908
+ fromState: input.fromState
1909
+ }),
1910
+ input.factory
1911
+ );
1912
+ }
1896
1913
  if (input.workItem === void 0) throw new SandboxError("the build names no work item, and OuterLayer makes a sandbox only for the claim on one", 0);
1897
1914
  const machine = input.machine === void 0 ? {} : { machine: input.machine };
1898
1915
  return sandboxOf(
@@ -8815,7 +8832,8 @@ function containerLimitsOf(size, build) {
8815
8832
  function containerSizeOf(sandbox, asked) {
8816
8833
  return sandbox.machine === void 0 ? asked : machineSizeOf(sandbox.machine);
8817
8834
  }
8818
- function sandboxClaimOf(config, item, workItemId, settings) {
8835
+ function sandboxClaimOf(config, item, workItemId, settings, run) {
8836
+ if (run === true) return { run: String(item), factory: config.appId };
8819
8837
  const workItem = claimItem(config, { item, workItemId, appId: config.appId });
8820
8838
  if (config.fleet !== true || settings === void 0) return { workItem, factory: config.appId };
8821
8839
  return { workItem, factory: config.appId, machine: settings.machine.size };
@@ -8928,6 +8946,7 @@ function holdBackSave(plan, noSave) {
8928
8946
  if (noSave === void 0 || plan.key === void 0 || plan.noSave !== void 0) return { plan };
8929
8947
  return { plan: { ...plan, noSave }, ...plan.restore === void 0 ? { line: `this build saves no state: ${noSave}` } : {} };
8930
8948
  }
8949
+ var RUN_SAVES_NO_STATE = "a run reads the repository and saves no state";
8931
8950
  function failedSaveReason(ageMs) {
8932
8951
  return `a save of its key failed ${formatDuration(ageMs)} ago, and the runner asks for none for ${formatDuration(FAILED_SAVE_PAUSE_MS)} after a failed save`;
8933
8952
  }
@@ -8989,7 +9008,7 @@ async function provisionSandboxOnce(input, allowRestore, itemDiskFailed, noSave)
8989
9008
  let plan = keptDisk !== void 0 ? keptDiskPlan() : input.queue === "review" ? { keyCommits: {}, noSave: "a code review runs no setup" } : await planSavedState({
8990
9009
  config,
8991
9010
  repositories,
8992
- base: managed ? managedSandboxBase({ image: own.image, machine: managedBuildSettingsFor(jobDir)?.machine.size ?? "small", docker: own.docker, apply }) : void 0,
9011
+ base: managed ? managedSandboxBase({ image: own.image, machine: input.queue === "run" ? "small" : managedBuildSettingsFor(jobDir)?.machine.size ?? "small", docker: own.docker, apply }) : void 0,
8993
9012
  noBase: OWN_ACCOUNT_REASON,
8994
9013
  runtime,
8995
9014
  tokens,
@@ -9001,7 +9020,7 @@ async function provisionSandboxOnce(input, allowRestore, itemDiskFailed, noSave)
9001
9020
  });
9002
9021
  const statesDir = savedStatesDir(runnerDir(config.configPath));
9003
9022
  const failedAgo = plan.key === void 0 ? void 0 : recentFailedSaveMs(statesDir, plan.key.key, clockOf(input.now)().getTime());
9004
- const heldBack = holdBackSave(plan, noSave ?? (failedAgo === void 0 ? void 0 : failedSaveReason(failedAgo)));
9023
+ const heldBack = holdBackSave(plan, noSave ?? (input.queue === "run" ? RUN_SAVES_NO_STATE : failedAgo === void 0 ? void 0 : failedSaveReason(failedAgo)));
9005
9024
  plan = heldBack.plan;
9006
9025
  if (heldBack.line !== void 0) tagged(heldBack.line);
9007
9026
  let fromState = plan.restore?.record;
@@ -9139,10 +9158,11 @@ async function provisionSandboxOnce(input, allowRestore, itemDiskFailed, noSave)
9139
9158
  ...sized.size,
9140
9159
  diskGib: await sandboxDiskGib(sandboxClient, own.snapshot, sized.size.diskGib, (line2) => log.line(`${tag} ${line2}`)),
9141
9160
  idleMinutes: own.idleMinutes,
9142
- timeLimitMinutes: sandboxTimeLimitMinutes(config.timeLimitMinutes),
9161
+ // A run's sandbox ends with the run, so its limit is the run's own. The gateway lowers a longer limit to it.
9162
+ timeLimitMinutes: input.run === void 0 ? sandboxTimeLimitMinutes(config.timeLimitMinutes) : Math.max(1, Math.ceil(input.run.timeLimitSeconds / 60)),
9143
9163
  network: networkOf(own.allowHosts),
9144
9164
  metadata: { [RUNNER_METADATA]: runnerId, [BUILD_METADATA]: buildId },
9145
- ...sandboxClaimOf(config, item.number, input.workItemId, managedBuildSettingsFor(jobDir)),
9165
+ ...sandboxClaimOf(config, item.number, input.workItemId, managedBuildSettingsFor(jobDir), input.queue === "run"),
9146
9166
  ...resume === void 0 ? {} : { resume },
9147
9167
  ...fromState === void 0 ? {} : { fromState: fromState.id }
9148
9168
  });
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LiveUploader } from './chunk-QKD23T7O.js';
4
- import { spoolDir } from './chunk-7FVQCFTT.js';
3
+ import { LiveUploader } from './chunk-LKGQY4GP.js';
4
+ import { spoolDir } from './chunk-VAFS3OBF.js';
5
5
  import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
6
- import { sessionFolderIn, legacyAgent } from './chunk-HQYVI5T3.js';
6
+ import { sessionFolderIn, legacyAgent } from './chunk-N6LLARIY.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
- import { CaptureDaemon } from './chunk-UG4AUZCR.js';
8
+ import { CaptureDaemon } from './chunk-KDBMWPDP.js';
9
9
  import { mkdirSync, writeFileSync, rmSync } from 'fs';
10
10
  import { join } from 'path';
11
11
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
4
- import { resolvePackRoot, parseProofsConfig } from './chunk-HQYVI5T3.js';
4
+ import { resolvePackRoot, parseProofsConfig } from './chunk-N6LLARIY.js';
5
5
  import { CheckItemsSchema, CHECK_ITEM_REF_PATH_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, TEAM_RULES_ITEM_ID } from './chunk-PDFCYYCC.js';
6
6
  import { join } from 'path';
7
7
  import { pathToFileURL } from 'url';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { BUILD_HOME } from './chunk-Q2TA7RYQ.js';
3
+ import { BUILD_HOME } from './chunk-7EBDSDVC.js';
4
4
  import { readdirSync } from 'fs';
5
5
  import { join, dirname } from 'path';
6
6
 
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-ZH6AN3UH.js';
3
+ import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-FIGHNRZQ.js';
4
4
  import { C } from './chunk-2AM6Z5BP.js';
5
- import { invalidConfigMessage } from './chunk-EMDZUXJX.js';
6
- import { retiredSkillPaths, removeRetiredSkills } from './chunk-ILHFH56O.js';
5
+ import { invalidConfigMessage } from './chunk-KF3O2B2C.js';
6
+ import { retiredSkillPaths, removeRetiredSkills } from './chunk-Y6U6TBWO.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
- import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-HQYVI5T3.js';
9
- import { LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
8
+ import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-N6LLARIY.js';
9
+ import { LEGACY_AGENT } from './chunk-7FAKHR6W.js';
10
10
  import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
11
11
  import { join, dirname } from 'path';
12
12
 
@@ -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-Y2HG7SGT.js';
5
- import { autoConnect } from './chunk-RJPLN6SO.js';
4
+ import { detectActiveSession } from './chunk-LKYVLK7V.js';
5
+ import { autoConnect } from './chunk-AEZAS6MG.js';
6
6
  import { acquireSpoolLockAt } from './chunk-QW6TKDBL.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DN2EA4XS.js';
8
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-WGTK73WU.js';
9
9
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { homeFromEnv } from './chunk-352DHUTP.js';
12
- import { resolveRepoIdentity } from './chunk-UG4AUZCR.js';
12
+ import { resolveRepoIdentity } from './chunk-KDBMWPDP.js';
13
13
  import { StepNameSchema, StepBodySchema } from './chunk-PDFCYYCC.js';
14
14
  import { randomUUID } from 'crypto';
15
15
  import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';