@outerlayer/cli 0.41.0-next.20261118010146 → 0.41.0-next.20261118022949

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 (141) hide show
  1. package/dist/{agent-credential-JN5VDRUX.js → agent-credential-WCHRKI5G.js} +2 -2
  2. package/dist/{agent-setup-7A66WE3X.js → agent-setup-ISSLHGJC.js} +10 -10
  3. package/dist/{agent-subcommand-AE42NSHC.js → agent-subcommand-5N44GBJ7.js} +1 -1
  4. package/dist/{bridge-PJTQ3XHE.js → bridge-5VAASNNJ.js} +5 -5
  5. package/dist/{build-IY6V7WPQ.js → build-PF4W2ASA.js} +11 -11
  6. package/dist/{build-disk-NUH6XJI5.js → build-disk-MSTWSDIT.js} +9 -9
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-2VPG6AQO.js → builder-5PJVNQYN.js} +8 -8
  9. package/dist/{caller-NFJUALRD.js → caller-XLTD6RGV.js} +11 -11
  10. package/dist/{check-XEFPJ5QV.js → check-WKR6LDT7.js} +43 -41
  11. package/dist/{chunk-NPVIEJX6.js → chunk-2E5YBULG.js} +1 -1
  12. package/dist/{chunk-QFGKTIPS.js → chunk-3ZBBHCAW.js} +3 -3
  13. package/dist/{chunk-Y5IJTSFC.js → chunk-475AL6JE.js} +2 -2
  14. package/dist/{chunk-H6V5NFPW.js → chunk-4Y4MZCAV.js} +5 -5
  15. package/dist/{chunk-D5TZYUGZ.js → chunk-53GNEMTP.js} +1 -1
  16. package/dist/{chunk-UYIWLYLX.js → chunk-55XGYVWE.js} +2 -2
  17. package/dist/{chunk-UU762HQX.js → chunk-5DEHVQCK.js} +6 -6
  18. package/dist/{chunk-H2NTP6OM.js → chunk-5NKVS3UO.js} +1 -1
  19. package/dist/{chunk-GVGHEQCU.js → chunk-5OI5KRAS.js} +2 -2
  20. package/dist/{chunk-W2BADNEW.js → chunk-5R54L7MB.js} +3 -3
  21. package/dist/{chunk-ARJLRXR6.js → chunk-64QIUYMW.js} +30 -28
  22. package/dist/{chunk-JMSMNKCK.js → chunk-67IEAQPG.js} +1 -1
  23. package/dist/{chunk-TVU7AL2Z.js → chunk-6JP7F7VC.js} +2 -2
  24. package/dist/{chunk-PTZF6MC5.js → chunk-6ZZHVNXE.js} +2 -2
  25. package/dist/{chunk-NEOM73RW.js → chunk-7CNODON3.js} +1 -1
  26. package/dist/{chunk-MYFC3HKP.js → chunk-7RGKY7N5.js} +6 -6
  27. package/dist/{chunk-YPA5KKVR.js → chunk-ANWWAGQ2.js} +2 -2
  28. package/dist/{chunk-YP6FUS5X.js → chunk-B6OEHKKL.js} +43 -27
  29. package/dist/{chunk-W7P5QFRN.js → chunk-BJJ5ULJS.js} +4 -4
  30. package/dist/{chunk-6SYVSIGA.js → chunk-BRLSGY57.js} +1 -1
  31. package/dist/{chunk-3RXLDGWE.js → chunk-BTJEBFAO.js} +3 -3
  32. package/dist/{chunk-D5YKSWK3.js → chunk-CA3M6T4Z.js} +3 -3
  33. package/dist/{chunk-FD42O5SH.js → chunk-CDCO3HGT.js} +3 -3
  34. package/dist/{chunk-SR4532T7.js → chunk-CII3Z3YJ.js} +4 -4
  35. package/dist/{chunk-B2WCKRMW.js → chunk-FG25LDVH.js} +1 -1
  36. package/dist/{chunk-DXZ6QBUJ.js → chunk-GS5QF27G.js} +1 -1
  37. package/dist/{chunk-RSRFNL64.js → chunk-HIJWCAGE.js} +4 -4
  38. package/dist/{chunk-XCAPYFJ3.js → chunk-ICU76D7N.js} +2 -2
  39. package/dist/{chunk-FRLGVHJP.js → chunk-JR3R4R3R.js} +1 -1
  40. package/dist/{chunk-4I3SN7WG.js → chunk-JR6KYUIA.js} +2 -2
  41. package/dist/{chunk-M6I3CVUJ.js → chunk-JVCS7IOW.js} +21 -10
  42. package/dist/{chunk-QPC6OKD2.js → chunk-K7KKKOHO.js} +5 -5
  43. package/dist/{chunk-YLDHHHBJ.js → chunk-KJKMGZCS.js} +5 -5
  44. package/dist/{chunk-CUMLCXFI.js → chunk-M5SLRRBU.js} +2 -2
  45. package/dist/{chunk-WOQOZCZZ.js → chunk-M62TIWXX.js} +2 -2
  46. package/dist/{chunk-JD5VDXQO.js → chunk-MNN45CQ2.js} +2 -2
  47. package/dist/{chunk-QS2O5G64.js → chunk-MSDGVITJ.js} +48 -10
  48. package/dist/{chunk-QHGVLLOJ.js → chunk-MZJFHQJI.js} +1 -1
  49. package/dist/{chunk-WRIQGJKT.js → chunk-NI46LQRD.js} +2 -2
  50. package/dist/{chunk-YNZVC7XT.js → chunk-OGY3XBHB.js} +2 -2
  51. package/dist/{chunk-VZT5SLZJ.js → chunk-OVUMZ65V.js} +3 -3
  52. package/dist/{chunk-6USAAMGR.js → chunk-OZZCRYJI.js} +7 -7
  53. package/dist/{chunk-SDOM7OMG.js → chunk-PELOJO27.js} +5 -5
  54. package/dist/{chunk-M4YTSRJI.js → chunk-PZNXFA4N.js} +1 -1
  55. package/dist/{chunk-D47Z2Z7F.js → chunk-RCJ3D5DA.js} +1 -1
  56. package/dist/{chunk-MKSCYAZU.js → chunk-ROLKRIOA.js} +10 -10
  57. package/dist/{chunk-3HH2AQKF.js → chunk-RYVOUBUT.js} +1 -1
  58. package/dist/{chunk-EVAK6FAS.js → chunk-SANXMMBW.js} +1 -1
  59. package/dist/{chunk-BPZ23EMS.js → chunk-SLM6EVQN.js} +1 -1
  60. package/dist/{chunk-EYD5HOQ7.js → chunk-SRTJZV7P.js} +1 -1
  61. package/dist/{chunk-2X3FX53G.js → chunk-TKFMESAI.js} +3 -3
  62. package/dist/{chunk-I6G5CO3K.js → chunk-VKAQSJZN.js} +1 -1
  63. package/dist/{chunk-DJCSAWBV.js → chunk-VWVXEJDK.js} +2 -2
  64. package/dist/{chunk-JYSJOUJE.js → chunk-WT4EKUQL.js} +7 -7
  65. package/dist/{chunk-DFTA22YA.js → chunk-XBFVL7PB.js} +4 -4
  66. package/dist/{chunk-GAHP2AI3.js → chunk-Y26BNEMO.js} +2 -2
  67. package/dist/{claude-launcher-HNE36BKE.js → claude-launcher-FG7INEGW.js} +1 -1
  68. package/dist/{cli-NV77HUIC.js → cli-SZQAC7W3.js} +144 -144
  69. package/dist/{command-GUK5MRNN.js → command-CKF6YMRE.js} +37 -37
  70. package/dist/{config-6GDB7WSI.js → config-VVEK5PI7.js} +10 -10
  71. package/dist/{connect-cmd-SXSWOHVT.js → connect-cmd-27EZXSQD.js} +8 -8
  72. package/dist/{container-start-IHBVFJVA.js → container-start-VQZXSLAM.js} +34 -34
  73. package/dist/{context-show-cmd-ZWOTXOXV.js → context-show-cmd-XGWEED7L.js} +9 -9
  74. package/dist/{control-plane-launch-BPJQYN6J.js → control-plane-launch-BEN5IP6V.js} +8 -8
  75. package/dist/{demo-record-cmd-4H2J2N3X.js → demo-record-cmd-SLC5BB4F.js} +6 -6
  76. package/dist/{demo-voice-cmd-VIOM4SF5.js → demo-voice-cmd-DEBELV5H.js} +14 -14
  77. package/dist/{docker-NOVLMJ63.js → docker-V7LPG7UC.js} +8 -8
  78. package/dist/{doctor-XE4WJ3EG.js → doctor-XPWALTBC.js} +36 -36
  79. package/dist/{emit-artifact-cmd-HUAKLOH4.js → emit-artifact-cmd-LR5CDALJ.js} +13 -13
  80. package/dist/{emit-criteria-cmd-7LKPQRFE.js → emit-criteria-cmd-QXOWR62U.js} +10 -10
  81. package/dist/{emit-demo-cmd-7TW5Y3MN.js → emit-demo-cmd-IBGCUSYL.js} +14 -14
  82. package/dist/{emit-finding-cmd-T3JBAGS2.js → emit-finding-cmd-QHJBPJPW.js} +10 -10
  83. package/dist/{emit-result-cmd-ILRQ6OIL.js → emit-result-cmd-XOISZCY3.js} +12 -12
  84. package/dist/{emit-step-cmd-4ISFOYRC.js → emit-step-cmd-2GPRJQNX.js} +10 -10
  85. package/dist/{exec-client-UJKPJRNK.js → exec-client-VGSMXNKS.js} +6 -6
  86. package/dist/{find-unit-BSJIDCK6.js → find-unit-7VMZPXFC.js} +11 -11
  87. package/dist/{findings-cmd-37RCXQK2.js → findings-cmd-YUWS5J7S.js} +10 -10
  88. package/dist/{fleet-readiness-IVFQSHPL.js → fleet-readiness-IOHYJY4W.js} +8 -8
  89. package/dist/{governing-source-RXJBJHN7.js → governing-source-KJNPV7BE.js} +12 -12
  90. package/dist/{guest-init-EXKSBS7A.js → guest-init-R7X5CUNQ.js} +7 -7
  91. package/dist/{hook-fast-BSH6IHRN.js → hook-fast-4U5KN5DQ.js} +1 -1
  92. package/dist/{host-checks-ZSZAWHID.js → host-checks-HJT534RN.js} +32 -32
  93. package/dist/{host-key-7WPFECOD.js → host-key-6MP2WQDQ.js} +6 -6
  94. package/dist/{image-tag-GLR3OAO3.js → image-tag-DQZQLNUN.js} +6 -6
  95. package/dist/index.js +4 -4
  96. package/dist/{init-EGSEHSNO.js → init-3JHSTPBP.js} +32 -32
  97. package/dist/{init-PXP2NCIG.js → init-GAUAGCXL.js} +32 -32
  98. package/dist/{init-agent-WWHNWKLZ.js → init-agent-BIIDEFD3.js} +32 -32
  99. package/dist/{init-cmd-R75FE7AC.js → init-cmd-VSR3VLGI.js} +14 -14
  100. package/dist/{init-update-FAFXM2YE.js → init-update-AZOTPBI7.js} +11 -11
  101. package/dist/{install-cmd-CQOUTGDI.js → install-cmd-S5VFI7NR.js} +13 -13
  102. package/dist/{launch-agent-IGPMAMP3.js → launch-agent-AXF2ED2A.js} +13 -13
  103. package/dist/{logs-RVPQEAYN.js → logs-GWNZVEWX.js} +5 -5
  104. package/dist/{loop-YHRUH5FT.js → loop-ALI4LKRI.js} +40 -40
  105. package/dist/{machine-PDG5O7CC.js → machine-DZW4XHV5.js} +32 -32
  106. package/dist/{mcp-serve-cmd-UT3YCM5P.js → mcp-serve-cmd-7ST4TEEZ.js} +7 -7
  107. package/dist/{paths-72CWJPND.js → paths-2QQQW7UU.js} +5 -5
  108. package/dist/{pending-ES4EF46B.js → pending-MIZOCMQO.js} +6 -6
  109. package/dist/{pidfile-WI6SE35U.js → pidfile-US23B2SQ.js} +6 -6
  110. package/dist/{record-KX763L6R.js → record-LCEWXDKS.js} +6 -6
  111. package/dist/{relay-ZZWAUA6P.js → relay-MHWMGCTK.js} +3 -3
  112. package/dist/{relay-protocol-4GCTOIT4.js → relay-protocol-FHGPRNPT.js} +3 -3
  113. package/dist/{run-cmd-SCXMROKB.js → run-cmd-BH7M2GHA.js} +10 -10
  114. package/dist/runner-agents-2JTYE3RL.js +15 -0
  115. package/dist/{runner-env-C7WRAXKE.js → runner-env-PU6WIRCC.js} +12 -12
  116. package/dist/{runner-identity-UIGOYBCF.js → runner-identity-F727CIPY.js} +8 -8
  117. package/dist/{runner-key-R5HHVY2P.js → runner-key-CSXOSLTR.js} +32 -32
  118. package/dist/{session-sender-A46R3S66.js → session-sender-GRHNLJ54.js} +13 -13
  119. package/dist/{setup-cmd-JAXSLBJY.js → setup-cmd-LOXZNIRO.js} +9 -9
  120. package/dist/{setup-wiring-SOIFFGA2.js → setup-wiring-2GBFFOAM.js} +36 -36
  121. package/dist/{spec-cmd-C4KSLTAD.js → spec-cmd-UH6RGIST.js} +11 -11
  122. package/dist/{state-TCZAKBBZ.js → state-L67V6AML.js} +6 -6
  123. package/dist/{status-OIYTNHPK.js → status-V4WZJJCB.js} +32 -32
  124. package/dist/{sync-cmd-ZYTJMWET.js → sync-cmd-QK6IQF3F.js} +12 -12
  125. package/dist/{update-steps-C5VUAFC5.js → update-steps-LDTGTKEI.js} +33 -33
  126. package/dist/{watch-VCKWAILU.js → watch-OQKMLLTU.js} +12 -12
  127. package/dist/{work-claim-cmd-TIO6T5KJ.js → work-claim-cmd-KHEY7QBX.js} +16 -16
  128. package/dist/{work-cmd-7KOXRPOJ.js → work-cmd-KXMF42BU.js} +10 -10
  129. package/dist/{work-comment-cmd-EDXP3K7B.js → work-comment-cmd-4QEJW4UR.js} +12 -12
  130. package/dist/{work-demo-cmd-OYZTKNCG.js → work-demo-cmd-UNJ77ILF.js} +10 -10
  131. package/dist/{work-logs-cmd-P3QS5AFY.js → work-logs-cmd-HI4P3EGH.js} +10 -10
  132. package/dist/{work-mock-cmd-3QEXWV43.js → work-mock-cmd-RN6A5FDA.js} +10 -10
  133. package/dist/{work-needs-attention-cmd-ZTQB2DXB.js → work-needs-attention-cmd-TUINWEIT.js} +10 -10
  134. package/dist/{work-no-change-cmd-FGHOOPLY.js → work-no-change-cmd-2ASMVDHL.js} +10 -10
  135. package/dist/{work-open-pr-cmd-WFIPFVQR.js → work-open-pr-cmd-C5VYFOHW.js} +11 -11
  136. package/dist/{work-pr-cmd-262GWNKI.js → work-pr-cmd-ICYDMFTL.js} +10 -10
  137. package/dist/{work-proofs-cmd-XPQGYBKY.js → work-proofs-cmd-6IR65227.js} +11 -11
  138. package/dist/{work-proofs-record-N3II3BAE.js → work-proofs-record-4MYPLAT3.js} +17 -17
  139. package/dist/{work-stop-cmd-CBRWKR4Q.js → work-stop-cmd-K2SHFPWB.js} +10 -10
  140. package/package.json +1 -1
  141. package/dist/runner-agents-QS3IX55G.js +0 -15
@@ -2,9 +2,9 @@
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
4
4
  import { detectActiveSession, transcriptPathForSession } from './chunk-26RXLXEX.js';
5
- import { autoConnect } from './chunk-4I3SN7WG.js';
5
+ import { autoConnect } from './chunk-JR6KYUIA.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FRLGVHJP.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-JR3R4R3R.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';
@@ -2,10 +2,10 @@
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
4
4
  import { detectActiveSession } from './chunk-26RXLXEX.js';
5
- import { autoConnect } from './chunk-4I3SN7WG.js';
5
+ import { autoConnect } from './chunk-JR6KYUIA.js';
6
6
  import { acquireSpoolLockAt } from './chunk-WNFITHNX.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FRLGVHJP.js';
8
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-JR3R4R3R.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';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { EXEC_PORT } from './chunk-WOQOZCZZ.js';
3
+ import { EXEC_PORT } from './chunk-M62TIWXX.js';
4
4
  import { createConnection } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { newTokenRetry } from './chunk-FJGYU2EK.js';
4
- import { WorkCommandError, postJson } from './chunk-YLDHHHBJ.js';
5
- import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-XCAPYFJ3.js';
4
+ import { WorkCommandError, postJson } from './chunk-KJKMGZCS.js';
5
+ import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-ICU76D7N.js';
6
6
  import { buildRefusalReason } from './chunk-ATXTGXGK.js';
7
- import { signingFetchFor } from './chunk-FRLGVHJP.js';
7
+ import { signingFetchFor } from './chunk-JR3R4R3R.js';
8
8
  import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-QKVOUI56.js';
9
- import { signerFor } from './chunk-I6G5CO3K.js';
10
- import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-D5TZYUGZ.js';
11
- import { SandboxError, describeSandboxError } from './chunk-WRIQGJKT.js';
9
+ import { signerFor } from './chunk-VKAQSJZN.js';
10
+ import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-53GNEMTP.js';
11
+ import { SandboxError, describeSandboxError } from './chunk-NI46LQRD.js';
12
12
  import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-DJK3IK6K.js';
13
13
  import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
14
14
  import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { summarizeChecks, summaryText, renderDoctorText } from './chunk-MKSCYAZU.js';
3
+ import { summarizeChecks, summaryText, renderDoctorText } from './chunk-ROLKRIOA.js';
4
4
  import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-23YVVYQC.js';
5
- import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-B2WCKRMW.js';
5
+ import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-FG25LDVH.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
8
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
@@ -5,37 +5,37 @@ import { RUNNER_PROTOCOL } from './chunk-QDJBEQCE.js';
5
5
  import { zodProblem } from './chunk-I3LTIAOR.js';
6
6
  import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
7
7
  import { upgradedStarterText } from './chunk-FMOGX7RR.js';
8
- import { runnerImageVersion } from './chunk-3HH2AQKF.js';
9
- import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, replaceFile, isAgentName, credentialFromStdin } from './chunk-RSRFNL64.js';
10
- import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-MYFC3HKP.js';
11
- import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-QFGKTIPS.js';
12
- import { writeDockerClientConfig } from './chunk-H2NTP6OM.js';
13
- import { senderPidfile } from './chunk-YNZVC7XT.js';
14
- import { installScrubContext } from './chunk-QPC6OKD2.js';
8
+ import { runnerImageVersion } from './chunk-RYVOUBUT.js';
9
+ import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, replaceFile, isAgentName, credentialFromStdin } from './chunk-HIJWCAGE.js';
10
+ import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-7RGKY7N5.js';
11
+ import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-3ZBBHCAW.js';
12
+ import { writeDockerClientConfig } from './chunk-5NKVS3UO.js';
13
+ import { senderPidfile } from './chunk-OGY3XBHB.js';
14
+ import { installScrubContext } from './chunk-K7KKKOHO.js';
15
15
  import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
16
- import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-Y5IJTSFC.js';
16
+ import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-475AL6JE.js';
17
17
  import { receiveFiles } from './chunk-NN33FYXG.js';
18
- import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-6USAAMGR.js';
19
- import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-FD42O5SH.js';
18
+ import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-OZZCRYJI.js';
19
+ import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-CDCO3HGT.js';
20
20
  import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
21
21
  import { currentCliBuild } from './chunk-OGFGZQA3.js';
22
- import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-NEOM73RW.js';
23
- import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-WOQOZCZZ.js';
24
- import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-YLDHHHBJ.js';
22
+ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-7CNODON3.js';
23
+ import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-M62TIWXX.js';
24
+ import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-KJKMGZCS.js';
25
25
  import { sanitizeTerminal, planArtifactUpload } from './chunk-WNFITHNX.js';
26
- import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-SR4532T7.js';
27
- import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-JD5VDXQO.js';
28
- import { said, NETWORK_HELPER_MEMORY, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, judgeProgram, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, NODE, JUDGE_HOME, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, identityRunArgs, judgeProgramRecord, SAVED_STATE_LABEL } from './chunk-UU762HQX.js';
29
- import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-EYD5HOQ7.js';
26
+ import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-CII3Z3YJ.js';
27
+ import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-MNN45CQ2.js';
28
+ import { said, NETWORK_HELPER_MEMORY, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, judgeProgram, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, NODE, JUDGE_HOME, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, identityRunArgs, judgeProgramRecord, SAVED_STATE_LABEL } from './chunk-5DEHVQCK.js';
29
+ import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-SRTJZV7P.js';
30
30
  import { sharedSkillNames, skillConflictMessage } from './chunk-QKVOUI56.js';
31
31
  import { readCloudConfig } from './chunk-HWVMRETT.js';
32
- import { signerFor } from './chunk-I6G5CO3K.js';
33
- import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-D5TZYUGZ.js';
34
- import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, retryAfterMsOf, readBundleScript, applyTrust, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, toolProxyEnvironment } from './chunk-WRIQGJKT.js';
35
- import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_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, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-GAHP2AI3.js';
36
- import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, removedAgentCredentialValues, currentAgentCredential, realFdStorePort, reportedAgents, fdName } from './chunk-D47Z2Z7F.js';
32
+ import { signerFor } from './chunk-VKAQSJZN.js';
33
+ import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-53GNEMTP.js';
34
+ import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, retryAfterMsOf, readBundleScript, applyTrust, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, toolProxyEnvironment } from './chunk-NI46LQRD.js';
35
+ import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_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, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-Y26BNEMO.js';
36
+ import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, removedAgentCredentialValues, currentAgentCredential, realFdStorePort, reportedAgents, fdName } from './chunk-RCJ3D5DA.js';
37
37
  import { versionAtLeast } from './chunk-DJK3IK6K.js';
38
- 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, strippedVariables, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, 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-QS2O5G64.js';
38
+ 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, strippedVariables, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, 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, agentMissingFromImage, agentVersionOf } from './chunk-MSDGVITJ.js';
39
39
  import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-XMJNIIPM.js';
40
40
  import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
41
41
  import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
@@ -1605,12 +1605,12 @@ function createGatewaySandboxClient(opts) {
1605
1605
  },
1606
1606
  async restartTimeLimit() {
1607
1607
  },
1608
- async saveState(id, key, details) {
1608
+ async saveState(id, key, details, content) {
1609
1609
  const creds = opts.creds(factoryOfSandbox(id));
1610
1610
  const signer = await signerFor(creds.configPath);
1611
1611
  let data;
1612
1612
  try {
1613
- data = (await postJson(creds.url, `${own(id)}/states`, creds.apiKey, creds.appId, { key, details }, fetchImpl, SAVE_TIMEOUT_MS, signer)).data;
1613
+ data = (await postJson(creds.url, `${own(id)}/states`, creds.apiKey, creds.appId, { key, details, ...content === void 0 ? {} : { repositories: content.repositories, keyFiles: content.keyFiles } }, fetchImpl, SAVE_TIMEOUT_MS, signer)).data;
1614
1614
  } catch (err) {
1615
1615
  throw err instanceof WorkCommandError ? sandboxErrorOf(err, Date.now()) : err;
1616
1616
  }
@@ -4555,6 +4555,15 @@ function unread(reason, log) {
4555
4555
  log(`this build starts from no saved state and saves none: ${reason}`);
4556
4556
  return { keyCommits: {}, noSave: `its key files could not be read: ${reason}` };
4557
4557
  }
4558
+ function savedStateContent(repositories, keyCommits) {
4559
+ return {
4560
+ repositories: repositories.flatMap((entry) => {
4561
+ const commit = keyCommits[entry.repository];
4562
+ return commit === void 0 ? [] : [{ repository: entry.repository, commit }];
4563
+ }),
4564
+ keyFiles: keyFilePaths()
4565
+ };
4566
+ }
4558
4567
 
4559
4568
  // src/runner/sandbox/sweep.ts
4560
4569
  var RUNNER_METADATA = "outerlayerRunner";
@@ -5119,7 +5128,7 @@ async function saveSandboxState(input) {
5119
5128
  let state;
5120
5129
  try {
5121
5130
  const details = sharedStateDetails({ ...key, volume: input.build.volume, agentUid: input.agentUid });
5122
- state = await sandboxClient.saveState(sandbox.id, key.baseKey, details);
5131
+ state = await sandboxClient.saveState(sandbox.id, key.baseKey, details, input.content);
5123
5132
  } catch (err) {
5124
5133
  return failed2(saveFailureReason(err));
5125
5134
  }
@@ -5218,6 +5227,10 @@ async function createWhenAllowed(input) {
5218
5227
  if (input.aborted()) throw new ProvisionAborted();
5219
5228
  }
5220
5229
  }
5230
+ function imageLacksAgentReason(agentLabel, managed) {
5231
+ const fix = managed ? "The sandboxes OuterLayer provides need a new snapshot, which only OuterLayer can make" : "Make a new snapshot with this CLI's build image, and name it in runner.sandbox.snapshot";
5232
+ return `the build image has no ${agentLabel}, because the snapshot was made before ${agentLabel} was added. ${fix}`;
5233
+ }
5221
5234
  var UNAPPLIED_IN_SANDBOX = ["image", "build", "features"];
5222
5235
  function ignoredInSandbox(recipe, docker2) {
5223
5236
  const { classification } = recipe;
@@ -5709,6 +5722,8 @@ async function provisionSandboxOnce(input, allowRestore, itemDiskFailed, noSave)
5709
5722
  if (!ghDelivered.ok) return end(ghDelivered.reason);
5710
5723
  }
5711
5724
  const tools = await host.exec({ container, user: ADDED_USER, env: NO_ENV, argv: ["cat", "/opt/outerlayer/tools.json"] });
5725
+ const missingAgent = agentMissingFromImage(tools.stdout, runtime.agents, input.job);
5726
+ if (missingAgent !== void 0) return end(imageLacksAgentReason(missingAgent.descriptor.label, managed));
5712
5727
  const agentVersion = agentVersionOf(tools.status === 0 ? tools.stdout : "", runtime.agents, input.job);
5713
5728
  environment.agentVersion = agentVersion;
5714
5729
  const judgeProgram2 = await judgeProgramRecord((argv) => host.exec({ container, user: ADDED_USER, env: NO_ENV, argv }), runtime.agents, input.job);
@@ -5734,6 +5749,7 @@ async function provisionSandboxOnce(input, allowRestore, itemDiskFailed, noSave)
5734
5749
  buildId,
5735
5750
  build: { container, volume: volumeName, imageId: image, runnerId },
5736
5751
  key: plan.key,
5752
+ content: savedStateContent(repositories, plan.keyCommits),
5737
5753
  agentUid: probe.status === 0 ? parseIdentity(probe.stdout)?.uid ?? void 0 : void 0,
5738
5754
  dir: statesDir,
5739
5755
  now: clockOf(input.now),
@@ -8812,7 +8828,7 @@ async function sandboxSenderRuns(job, deps) {
8812
8828
  }
8813
8829
  async function stopSandboxSender(input) {
8814
8830
  const { job, deps } = input;
8815
- if (job.itemKey === void 0) return;
8831
+ if (job.itemKey === void 0 || job.stage === "provision") return;
8816
8832
  const tag = `${itemTag(job)}`;
8817
8833
  const runtime = deps.runtime ?? createContainerRuntime();
8818
8834
  const sleep = deps.sleep ?? ((ms) => new Promise((resolve2) => setTimeout(resolve2, ms)));
@@ -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-D5YKSWK3.js';
4
+ import { runEmitArtifact } from './chunk-CA3M6T4Z.js';
5
5
  import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
6
6
  import { detectActiveSession } from './chunk-26RXLXEX.js';
7
- import { autoConnect } from './chunk-4I3SN7WG.js';
7
+ import { autoConnect } from './chunk-JR6KYUIA.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { defaultFetch, resolveGatewayCredentials } from './chunk-FRLGVHJP.js';
9
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
10
10
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
11
- import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-QS2O5G64.js';
11
+ import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-MSDGVITJ.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
13
  import { resolveRepoIdentity } from './chunk-KTZOD7A3.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-37WA2LQC.js';
@@ -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-D5TZYUGZ.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-53GNEMTP.js';
4
4
  import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-YLDHHHBJ.js';
3
+ import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-KJKMGZCS.js';
4
4
  import { detectActiveSession } from './chunk-26RXLXEX.js';
5
5
  import { sanitizeTerminal } from './chunk-WNFITHNX.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-FRLGVHJP.js';
8
- import { logHookError } from './chunk-EVAK6FAS.js';
7
+ import { defaultFetch } from './chunk-JR3R4R3R.js';
8
+ import { logHookError } from './chunk-SANXMMBW.js';
9
9
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { homeFromEnv } from './chunk-352DHUTP.js';
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-QPC6OKD2.js';
3
+ import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-K7KKKOHO.js';
4
4
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
5
5
  import { detectActiveSession } from './chunk-26RXLXEX.js';
6
- import { autoConnect } from './chunk-4I3SN7WG.js';
6
+ import { autoConnect } from './chunk-JR6KYUIA.js';
7
7
  import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-WNFITHNX.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FRLGVHJP.js';
9
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-JR3R4R3R.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
12
12
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { PROXY_WARNING_FLAG } from './chunk-WRIQGJKT.js';
4
- import { RELAY_ID, RELAY_USER } from './chunk-GAHP2AI3.js';
5
- import { imageInstalls, 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-QS2O5G64.js';
3
+ import { PROXY_WARNING_FLAG } from './chunk-NI46LQRD.js';
4
+ import { RELAY_ID, RELAY_USER } from './chunk-Y26BNEMO.js';
5
+ import { imageInstalls, 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-MSDGVITJ.js';
6
6
  import { defaultAgents } from './chunk-XMJNIIPM.js';
7
7
 
8
8
  createRequire(import.meta.url);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-JD5VDXQO.js';
4
- import { parseSize } from './chunk-UU762HQX.js';
5
- import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-WRIQGJKT.js';
6
- import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-QS2O5G64.js';
3
+ import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MNN45CQ2.js';
4
+ import { parseSize } from './chunk-5DEHVQCK.js';
5
+ import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-NI46LQRD.js';
6
+ import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-MSDGVITJ.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
9
9
  import { hostname } from 'os';
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
3
3
  import { sanitizeTerminal } from './chunk-WNFITHNX.js';
4
4
  import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-4SMKP5QI.js';
5
5
  import { DEFAULT_DASHBOARD } from './chunk-XDAMSCJG.js';
6
- import { cliFetch, resolveGatewayCredentials } from './chunk-FRLGVHJP.js';
6
+ import { cliFetch, resolveGatewayCredentials } from './chunk-JR3R4R3R.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';
@@ -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-D5TZYUGZ.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-53GNEMTP.js';
4
4
  import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
5
5
  import { dirname, join } from 'path';
6
6
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_UNIT_NAME } from './chunk-H6V5NFPW.js';
4
- import { RUNNER_FILE_MODE } from './chunk-D5TZYUGZ.js';
5
- import { parseRunnerEnv, withoutCredentialLines } from './chunk-D47Z2Z7F.js';
6
- import { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-QS2O5G64.js';
3
+ import { DEFAULT_UNIT_NAME } from './chunk-4Y4MZCAV.js';
4
+ import { RUNNER_FILE_MODE } from './chunk-53GNEMTP.js';
5
+ import { parseRunnerEnv, withoutCredentialLines } from './chunk-RCJ3D5DA.js';
6
+ import { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-MSDGVITJ.js';
7
7
  import { defaultAgents } from './chunk-XMJNIIPM.js';
8
8
  import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
9
9
  import { join, dirname, basename } from 'path';
@@ -3,8 +3,8 @@ import { createRequire } from 'node:module';
3
3
  import { RemovedTargetError, removedTargetError } from './chunk-ATXTGXGK.js';
4
4
  import { removeRetiredSkills } from './chunk-4RPDWURG.js';
5
5
  import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
6
- import { defaultFetch, resolveGatewayCredentials } from './chunk-FRLGVHJP.js';
7
- import { withTokenHeader } from './chunk-WRIQGJKT.js';
6
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
7
+ import { withTokenHeader } from './chunk-NI46LQRD.js';
8
8
  import { appendContextProvenance } from './chunk-545P7JY7.js';
9
9
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
10
10
  import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
@@ -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-I6G5CO3K.js';
4
+ import { signRunnerRequest, signerFor } from './chunk-VKAQSJZN.js';
5
5
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
6
6
  import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-B2WCKRMW.js';
4
- import { resolveGatewayCredentials } from './chunk-FRLGVHJP.js';
3
+ import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-FG25LDVH.js';
4
+ import { resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
5
5
  import { readCloudConfig } from './chunk-HWVMRETT.js';
6
6
  import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-YP6FUS5X.js';
4
- import { checkFit } from './chunk-H6V5NFPW.js';
5
- import { getJson, WorkCommandError } from './chunk-YLDHHHBJ.js';
6
- import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-SR4532T7.js';
7
- import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-JD5VDXQO.js';
8
- import { ensureHostKey } from './chunk-I6G5CO3K.js';
9
- import { sandboxSettingsFrom } from './chunk-WRIQGJKT.js';
10
- import { agentCredentialVariablesSet, reportedAgents, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-D47Z2Z7F.js';
11
- import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, agentsNeedingCredential, storeVariables, credentialEnvPath } from './chunk-QS2O5G64.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-B6OEHKKL.js';
4
+ import { checkFit } from './chunk-4Y4MZCAV.js';
5
+ import { getJson, WorkCommandError } from './chunk-KJKMGZCS.js';
6
+ import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-CII3Z3YJ.js';
7
+ import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MNN45CQ2.js';
8
+ import { ensureHostKey } from './chunk-VKAQSJZN.js';
9
+ import { sandboxSettingsFrom } from './chunk-NI46LQRD.js';
10
+ import { agentCredentialVariablesSet, reportedAgents, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-RCJ3D5DA.js';
11
+ import { agentIdOfCommand, forwardedVariables, credentialAgent, credentialForms, managedKeyName, agentsNeedingCredential, storeVariables, credentialEnvPath } from './chunk-MSDGVITJ.js';
12
12
  import { defaultAgents, agentById } from './chunk-XMJNIIPM.js';
13
13
  import { closeSync, openSync, constants, readFileSync } from 'fs';
14
14
  import { join, dirname } from 'path';
@@ -31,6 +31,17 @@ function fleetConfigProblem(config) {
31
31
  }
32
32
  return void 0;
33
33
  }
34
+ function fleetQueuesWithoutAgent(config, agents = defaultAgents()) {
35
+ return ["implement", "amend"].filter((queue) => {
36
+ const command = config.commands[queue];
37
+ return command !== void 0 && agentIdOfCommand(command, agents) === void 0;
38
+ });
39
+ }
40
+ function fleetQueuesWithoutAgentNote(queues) {
41
+ const keys = queues.map((queue) => `runner.commands.${queue}`).join(" and ");
42
+ const verb = queues.length === 1 ? "starts" : "start";
43
+ return `${keys} ${verb} no agent this CLI knows, so the runner runs ${queues.length === 1 ? "it" : "them"} for every claim, whatever agent the claim names. A fleet runner must run the agent each claim names. Start each command with the agent's program, with only \`export NAME=value;\`, \`env NAME=value\` or \`exec\` before it`;
44
+ }
34
45
  async function askFleetMachine(config, fetchImpl = fetch) {
35
46
  let hostKey;
36
47
  try {
@@ -197,4 +208,4 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
197
208
  return { slots };
198
209
  }
199
210
 
200
- export { askFleetMachine, checkBlockedWithSlots, fleetConfigProblem, managedFactsOf, managedProblems, realBlockedProbes };
211
+ export { askFleetMachine, checkBlockedWithSlots, fleetConfigProblem, fleetQueuesWithoutAgent, fleetQueuesWithoutAgentNote, managedFactsOf, managedProblems, realBlockedProbes };
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { uploadSpooledSteps } from './chunk-PTZF6MC5.js';
3
+ import { uploadSpooledSteps } from './chunk-6ZZHVNXE.js';
4
4
  import { LaunchFilter } from './chunk-C2PZOLN7.js';
5
5
  import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-WNFITHNX.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FRLGVHJP.js';
7
+ import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-JR3R4R3R.js';
8
8
  import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
9
- import { signerFor, signRunnerRequest } from './chunk-I6G5CO3K.js';
10
- import { SCRUB_ENV_VARIABLE } from './chunk-WRIQGJKT.js';
11
- import { writeSyncStatus, logHookError, spoolDir } from './chunk-EVAK6FAS.js';
9
+ import { signerFor, signRunnerRequest } from './chunk-VKAQSJZN.js';
10
+ import { SCRUB_ENV_VARIABLE } from './chunk-NI46LQRD.js';
11
+ import { writeSyncStatus, logHookError, spoolDir } from './chunk-SANXMMBW.js';
12
12
  import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
13
13
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
14
14
  import { hookExecSpoolPath } from './chunk-TLCTOEU5.js';
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { detectActiveSession } from './chunk-26RXLXEX.js';
4
- import { autoConnect } from './chunk-4I3SN7WG.js';
5
- import { workPageUrl } from './chunk-B2WCKRMW.js';
4
+ import { autoConnect } from './chunk-JR6KYUIA.js';
5
+ import { workPageUrl } from './chunk-FG25LDVH.js';
6
6
  import { sanitizeTerminal } from './chunk-WNFITHNX.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-FRLGVHJP.js';
9
- import { signRunnerRequest } from './chunk-I6G5CO3K.js';
8
+ import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-JR3R4R3R.js';
9
+ import { signRunnerRequest } from './chunk-VKAQSJZN.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, isRunnerAgent, runnerAgentIds, isModelId, MODEL_ID_RULE, agentLabel } from './chunk-Q7Z6ELTL.js';
@@ -586,7 +586,7 @@ async function runWorkLinkSession(opts) {
586
586
  return await linkSession(opts);
587
587
  } catch (err) {
588
588
  if (opts.logFailures) {
589
- const { logHookError } = await import('./hook-fast-BSH6IHRN.js');
589
+ const { logHookError } = await import('./hook-fast-4U5KN5DQ.js');
590
590
  const reason = err instanceof Error ? err.message : String(err);
591
591
  logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
592
592
  }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-B2WCKRMW.js';
4
- import { resolveGatewayCredentials } from './chunk-FRLGVHJP.js';
3
+ import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-FG25LDVH.js';
4
+ import { resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
5
5
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
6
6
  import { execFileSync } from 'child_process';
7
7
  import { existsSync, mkdirSync, writeFileSync } from 'fs';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-WRIQGJKT.js';
4
- import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-GAHP2AI3.js';
3
+ import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-NI46LQRD.js';
4
+ import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-Y26BNEMO.js';
5
5
  import { defaultAgents } from './chunk-XMJNIIPM.js';
6
6
  import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
7
7
  import { symlinkSync, unlinkSync } from 'fs';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-UU762HQX.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-D5TZYUGZ.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-5DEHVQCK.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-53GNEMTP.js';
5
5
  import { spawnSync } from 'child_process';
6
6
  import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
7
7
  import { dirname, join } from 'path';