@outerlayer/cli 0.40.0-next.20261115113313 → 0.40.0-next.20261115191619

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 (178) hide show
  1. package/dist/{agent-setup-HFMI2FCO.js → agent-setup-URENTDUL.js} +19 -19
  2. package/dist/{agent-subcommand-TGMUYMIV.js → agent-subcommand-BIZMU7EZ.js} +3 -3
  3. package/dist/{bridge-6EVOZBWB.js → bridge-6IBWOFEJ.js} +6 -6
  4. package/dist/{build-YXBIEJLS.js → build-EORAZMYD.js} +12 -12
  5. package/dist/{build-disk-RODL3IQ2.js → build-disk-KN7OJLKB.js} +10 -10
  6. package/dist/build-info.json +1 -1
  7. package/dist/{builder-T4DS6F4V.js → builder-DOJUSWGH.js} +9 -9
  8. package/dist/caller-FJUWGSNN.js +23 -0
  9. package/dist/{check-BPXM64SW.js → check-BEXALLQK.js} +54 -54
  10. package/dist/{chunk-LIVBFF3D.js → chunk-2PRLSABK.js} +3 -3
  11. package/dist/{chunk-E7WZCKYT.js → chunk-3M2CYL3D.js} +3 -3
  12. package/dist/{chunk-BXMYXZAB.js → chunk-4KCQHUUH.js} +3 -3
  13. package/dist/{chunk-Z5LGWR5H.js → chunk-4L3WCEOI.js} +6 -6
  14. package/dist/{chunk-4YJPE23H.js → chunk-55GT5FLR.js} +1 -1
  15. package/dist/{chunk-DOIXXWA5.js → chunk-5EQ2B6UE.js} +2 -2
  16. package/dist/{chunk-Z34SKGVB.js → chunk-5EU2V6W2.js} +7 -7
  17. package/dist/{chunk-UC2JHW7P.js → chunk-5SKYWQ64.js} +1 -1
  18. package/dist/{chunk-V64FGZNM.js → chunk-6FHMWJHK.js} +1 -1
  19. package/dist/{chunk-KTN4XDPJ.js → chunk-7GJGSADZ.js} +1 -1
  20. package/dist/{chunk-G6S2EKAF.js → chunk-7PFRNOSF.js} +1 -1
  21. package/dist/{chunk-TDEVXYWR.js → chunk-AEAKGO6N.js} +5 -5
  22. package/dist/{chunk-GZVMAEHO.js → chunk-AFMLQMC3.js} +7 -7
  23. package/dist/{chunk-BHX4FW7O.js → chunk-AHDX5KXH.js} +10 -10
  24. package/dist/{chunk-OBADCUZF.js → chunk-ASHPKDV4.js} +8 -8
  25. package/dist/{chunk-O5MO3RWQ.js → chunk-B3GYDE4G.js} +73 -52
  26. package/dist/{chunk-PWJKROIT.js → chunk-BAE5M4N3.js} +6 -6
  27. package/dist/{chunk-RWI7Z2G6.js → chunk-BD254PYH.js} +1 -1
  28. package/dist/{chunk-T2OAXE5H.js → chunk-BFKSIA3V.js} +1 -1
  29. package/dist/{chunk-7GX7NXJW.js → chunk-BFZDVD7T.js} +4 -4
  30. package/dist/{chunk-4QVIBBKJ.js → chunk-BMMSIGV4.js} +1 -1
  31. package/dist/{chunk-TPC6MXKS.js → chunk-DYV2OC4S.js} +1 -1
  32. package/dist/{chunk-ZV77MALL.js → chunk-E5PWV6H2.js} +4 -4
  33. package/dist/{chunk-7DCFL2MK.js → chunk-F4HSDGFO.js} +2 -2
  34. package/dist/{chunk-CX5SISHJ.js → chunk-F7AOOV5N.js} +6 -6
  35. package/dist/{chunk-FOT3WJNH.js → chunk-HEJ4UYSX.js} +2 -2
  36. package/dist/{chunk-36E4TC2U.js → chunk-HJFTCOU5.js} +14 -14
  37. package/dist/{chunk-7UXZOTF2.js → chunk-IGVOCKAC.js} +3 -3
  38. package/dist/{chunk-SQFSYAPO.js → chunk-IIYDYHS5.js} +2 -2
  39. package/dist/{chunk-MUCWOHFZ.js → chunk-IKGAVS5X.js} +1 -1
  40. package/dist/{chunk-GNX75MQI.js → chunk-IKJEN5R4.js} +7 -7
  41. package/dist/{chunk-3T6DZAZX.js → chunk-IQRYAAOG.js} +4 -4
  42. package/dist/{chunk-ZIPXFVRF.js → chunk-ISRMDI2H.js} +5 -5
  43. package/dist/{chunk-47BLFHNK.js → chunk-IXZG7OJ6.js} +3 -3
  44. package/dist/{chunk-2UBMDLUF.js → chunk-JXZ3LIHN.js} +1 -1
  45. package/dist/{chunk-YDK6CONG.js → chunk-L6B4O4UB.js} +3 -3
  46. package/dist/{chunk-KXJDFBJH.js → chunk-LHL666SD.js} +28 -9
  47. package/dist/{chunk-NXOTVGPL.js → chunk-LPQJ5LXP.js} +1 -1
  48. package/dist/{chunk-LPTLGM24.js → chunk-MGN525G6.js} +1 -1
  49. package/dist/{chunk-YH7RGFKK.js → chunk-N7PG5JAD.js} +2 -2
  50. package/dist/{chunk-BU7PN6MB.js → chunk-NDDXBJMX.js} +1 -1
  51. package/dist/{chunk-R7OBHPWQ.js → chunk-NFD6N7YJ.js} +75 -63
  52. package/dist/{chunk-MT5NUKSC.js → chunk-OC3BSNNE.js} +2 -2
  53. package/dist/{chunk-B2EEVHR7.js → chunk-OUL5E5UC.js} +3 -3
  54. package/dist/{chunk-6R5JI7LV.js → chunk-PG4UW6QW.js} +1 -1
  55. package/dist/{chunk-7RSR6ESV.js → chunk-PT3DOY6P.js} +1 -1
  56. package/dist/{chunk-UFHXL6PT.js → chunk-QW7T7OMV.js} +4 -4
  57. package/dist/{chunk-O2T4LDT7.js → chunk-R34OLRY7.js} +3 -3
  58. package/dist/{chunk-VBAXFWTK.js → chunk-R3RALX7H.js} +5 -5
  59. package/dist/{chunk-7YVZIUOX.js → chunk-RIITHK4F.js} +1 -1
  60. package/dist/{chunk-TLLAFQMP.js → chunk-T5MBLAIO.js} +2 -2
  61. package/dist/{chunk-WGYAMFBU.js → chunk-TCPWJBH5.js} +7 -7
  62. package/dist/{chunk-CR7DKNRM.js → chunk-TQPFWWND.js} +3 -3
  63. package/dist/{chunk-J4LUKUXC.js → chunk-TZZU6IAM.js} +1 -1
  64. package/dist/{chunk-4FMN3U57.js → chunk-UOP4OSVB.js} +4 -4
  65. package/dist/{chunk-GWT2XAGQ.js → chunk-UTSBE4MP.js} +1 -1
  66. package/dist/{chunk-EA2GVFAF.js → chunk-V2O6KLTQ.js} +9 -6
  67. package/dist/{chunk-H6J7CQSV.js → chunk-VL3IS7S2.js} +9 -7
  68. package/dist/{chunk-E2FIHWJX.js → chunk-VQ57S72O.js} +3 -3
  69. package/dist/{chunk-FSYB5QAV.js → chunk-VQLOZLLC.js} +3 -3
  70. package/dist/{chunk-TGVNEQSQ.js → chunk-VSBG7MMU.js} +1 -1
  71. package/dist/{chunk-ULL2MHZU.js → chunk-VXU5IAEQ.js} +3 -3
  72. package/dist/{chunk-76GFXRC7.js → chunk-XDBHRWPQ.js} +1 -1
  73. package/dist/{chunk-B6LZQ5GU.js → chunk-XOJRFV3U.js} +2 -2
  74. package/dist/{chunk-PJZ7RTXX.js → chunk-XOKGCNSG.js} +1 -1
  75. package/dist/{chunk-OID5XOPL.js → chunk-XTUTQVBU.js} +4 -4
  76. package/dist/{chunk-X5SZ3MB6.js → chunk-Y6FI3HCQ.js} +1 -1
  77. package/dist/{chunk-RIURJ7G6.js → chunk-YN6EKURT.js} +4 -4
  78. package/dist/{chunk-VNLHKIKR.js → chunk-Z7J7JWGF.js} +1 -1
  79. package/dist/{chunk-2HE3W4OM.js → chunk-ZBD2YOGH.js} +1 -1
  80. package/dist/{chunk-CEVYSNA4.js → chunk-ZCOIE7ZJ.js} +1 -1
  81. package/dist/{chunk-3FJGWAYD.js → chunk-ZDXEZPRM.js} +6 -6
  82. package/dist/{claude-launcher-6ZSKTRY5.js → claude-launcher-ZSCQOG3G.js} +6 -6
  83. package/dist/{cli-645WJ5EQ.js → cli-JOQ7XODJ.js} +162 -162
  84. package/dist/{cli-update-notice-BQ6FM472.js → cli-update-notice-ODKQQUO7.js} +2 -2
  85. package/dist/{command-RJ2ASVL7.js → command-V5DNIID2.js} +50 -50
  86. package/dist/{config-TYASXT5C.js → config-ME2W5VIX.js} +11 -11
  87. package/dist/{connect-cmd-EX67GWJF.js → connect-cmd-QX7WJ65U.js} +11 -11
  88. package/dist/{container-start-BCIJQO5U.js → container-start-OF6XTAQZ.js} +47 -47
  89. package/dist/{context-cleanup-ENT7CYJC.js → context-cleanup-VYUESYGU.js} +3 -3
  90. package/dist/{context-show-cmd-IMVD75NE.js → context-show-cmd-2ABJ5B66.js} +12 -12
  91. package/dist/{control-plane-launch-SPSKDMIE.js → control-plane-launch-HQPMYL7O.js} +14 -14
  92. package/dist/{demo-record-cmd-T4DP3XE5.js → demo-record-cmd-UBYX2VAE.js} +7 -7
  93. package/dist/{demo-voice-cmd-2W34DIXY.js → demo-voice-cmd-ZGT6ZKH4.js} +18 -18
  94. package/dist/{docker-BBIDJR46.js → docker-E35HTSGN.js} +9 -9
  95. package/dist/{doctor-3UWBBRMX.js → doctor-7I2OAX3E.js} +49 -49
  96. package/dist/{emit-artifact-cmd-VB2YPJXK.js → emit-artifact-cmd-2KQYKVRF.js} +17 -17
  97. package/dist/{emit-cmd-YNJYHGS3.js → emit-cmd-CBCODUWX.js} +6 -6
  98. package/dist/{emit-criteria-cmd-R3RBHQNJ.js → emit-criteria-cmd-JOYI5L6K.js} +14 -14
  99. package/dist/{emit-demo-cmd-CIVHU33R.js → emit-demo-cmd-J4N2P7MS.js} +18 -18
  100. package/dist/{emit-finding-cmd-YRCHPJEI.js → emit-finding-cmd-QPSTTD7U.js} +14 -14
  101. package/dist/{emit-result-cmd-DMWCSZ53.js → emit-result-cmd-KPAS6BS4.js} +16 -16
  102. package/dist/{emit-step-cmd-PCPLHBTG.js → emit-step-cmd-GQDRQ6JS.js} +14 -14
  103. package/dist/{exec-client-AAXCCEVU.js → exec-client-QDEZML3U.js} +7 -7
  104. package/dist/find-unit-AFBSWEOE.js +24 -0
  105. package/dist/{findings-cmd-XXDHIZAC.js → findings-cmd-57E6BXM2.js} +14 -14
  106. package/dist/{fleet-readiness-WRXR4ILW.js → fleet-readiness-VSPHFYWE.js} +13 -13
  107. package/dist/{governing-source-GPRZHSLC.js → governing-source-O6VIHNZG.js} +19 -19
  108. package/dist/{guest-init-A5CCQEEK.js → guest-init-QYJVWDCD.js} +8 -8
  109. package/dist/{hook-fast-M6FWJHZL.js → hook-fast-E2JV656K.js} +3 -3
  110. package/dist/{hook-install-5HFZDBIC.js → hook-install-ZZV5WVDH.js} +3 -3
  111. package/dist/host-checks-TYNZW3BL.js +82 -0
  112. package/dist/{host-key-R3ZJKBQ3.js → host-key-4RD4MTJ2.js} +7 -7
  113. package/dist/{image-tag-K32BVEIL.js → image-tag-SNXCNAGF.js} +7 -7
  114. package/dist/index.js +4 -4
  115. package/dist/init-DZ6FIJ76.js +82 -0
  116. package/dist/{init-OOYKPYJM.js → init-IJB3AHGA.js} +45 -45
  117. package/dist/{init-agent-GPEDGDHA.js → init-agent-OMJ24Z6I.js} +45 -45
  118. package/dist/{init-cmd-GIAREDPB.js → init-cmd-CKX3IZWR.js} +25 -25
  119. package/dist/{init-update-SO7V6L6K.js → init-update-W3CNPIEJ.js} +22 -22
  120. package/dist/install-cmd-2BZYH77S.js +26 -0
  121. package/dist/launch-agent-S5ZCDOJR.js +26 -0
  122. package/dist/{layout-A7YL63UE.js → layout-QU4DUYQQ.js} +3 -3
  123. package/dist/{logs-6VEF36N6.js → logs-N7TOXQWL.js} +6 -6
  124. package/dist/loop-G3OTFQXF.js +92 -0
  125. package/dist/machine-SNJTMFTB.js +82 -0
  126. package/dist/{machine-skills-RTHSWGSU.js → machine-skills-DLDDT4BE.js} +3 -3
  127. package/dist/{mcp-install-cmd-UQBQOGZ4.js → mcp-install-cmd-TFKCJSAH.js} +3 -3
  128. package/dist/{mcp-serve-cmd-MOKXNZ2A.js → mcp-serve-cmd-YWBSSEYK.js} +9 -9
  129. package/dist/{paths-44NEENDO.js → paths-GUVGFCBQ.js} +6 -6
  130. package/dist/pending-PXRZ7SIJ.js +18 -0
  131. package/dist/{pidfile-XWUX735M.js → pidfile-AOQMDBSW.js} +7 -7
  132. package/dist/{record-6P5TK6K7.js → record-2RQWFYJ4.js} +7 -7
  133. package/dist/recorder.cjs +152 -23
  134. package/dist/{relay-CLQW7IR5.js → relay-VZEEKIKG.js} +4 -4
  135. package/dist/{relay-protocol-Y4L6Q72I.js → relay-protocol-DF7PZPX2.js} +4 -4
  136. package/dist/{run-cmd-65YREGHO.js → run-cmd-NEZVPFFG.js} +14 -14
  137. package/dist/{runner-agents-2KPYIXN2.js → runner-agents-O7G6HTWI.js} +3 -3
  138. package/dist/{runner-env-2YODIR2Z.js → runner-env-RYMF4YVJ.js} +13 -13
  139. package/dist/{runner-identity-G57VDLXN.js → runner-identity-MU7HDFGF.js} +9 -9
  140. package/dist/{runner-key-LYLDFK3T.js → runner-key-QOHUYHY3.js} +45 -45
  141. package/dist/{session-sender-JIJQNDF4.js → session-sender-6HKSOFQ2.js} +17 -17
  142. package/dist/{spec-cmd-NJLCH63H.js → spec-cmd-53UFNXNH.js} +15 -15
  143. package/dist/{starter-pack-M7YNHN7G.js → starter-pack-3HB74L6Q.js} +4 -4
  144. package/dist/{state-3QZYSC4V.js → state-YHPOHZ4I.js} +7 -7
  145. package/dist/{status-IYUTS2RN.js → status-WBMU7ZGL.js} +45 -45
  146. package/dist/{sync-cmd-QBFJN77X.js → sync-cmd-5FAB4CAX.js} +16 -16
  147. package/dist/update-steps-UZWYIHPS.js +83 -0
  148. package/dist/{watch-XNH2BXGJ.js → watch-GKQOIY7F.js} +16 -16
  149. package/dist/{work-claim-cmd-UZAV6F5V.js → work-claim-cmd-PZFPD3NS.js} +21 -21
  150. package/dist/{work-cmd-HL6ZYYFT.js → work-cmd-JANDUCNE.js} +14 -14
  151. package/dist/{work-comment-cmd-WO4OP4CW.js → work-comment-cmd-ZIDXYWNH.js} +16 -16
  152. package/dist/{work-demo-cmd-FSSCNRKZ.js → work-demo-cmd-7OKBQG37.js} +14 -14
  153. package/dist/{work-logs-cmd-R4DZGKR2.js → work-logs-cmd-2XDRIBM2.js} +14 -14
  154. package/dist/{work-mock-cmd-J3E53N3Y.js → work-mock-cmd-RFBGDQST.js} +14 -14
  155. package/dist/{work-needs-attention-cmd-PSLU7AC5.js → work-needs-attention-cmd-EY5FLR35.js} +14 -14
  156. package/dist/{work-no-change-cmd-FTMU7IOE.js → work-no-change-cmd-UOLGPCI2.js} +14 -14
  157. package/dist/{work-open-pr-cmd-KFX3F6MB.js → work-open-pr-cmd-WBWODWGY.js} +15 -15
  158. package/dist/{work-pr-cmd-OYOUNRB7.js → work-pr-cmd-6733KSPR.js} +14 -14
  159. package/dist/{work-proofs-cmd-3NHA732I.js → work-proofs-cmd-6SAG6KV5.js} +16 -16
  160. package/dist/{work-proofs-record-IJRJLWOX.js → work-proofs-record-TGTMNKBG.js} +22 -22
  161. package/dist/{work-stop-cmd-EJ7Y7I4F.js → work-stop-cmd-A32J3PL7.js} +14 -14
  162. package/package.json +1 -1
  163. package/skill-pack/maintained/outerlayer-build/SKILL.md +6 -71
  164. package/skill-pack/maintained/outerlayer-build/references/criteria.md +75 -0
  165. package/skill-pack/maintained/outerlayer-build/scripts/record-criteria.mjs +15 -5
  166. package/skill-pack/maintained/outerlayer-criteria/SKILL.md +60 -0
  167. package/skill-pack/maintained/outerlayer-evidence/SKILL.md +4 -4
  168. package/skill-pack/maintained/outerlayer-evidence/references/demo.md +19 -10
  169. package/dist/caller-GVPCWQVM.js +0 -23
  170. package/dist/find-unit-3K3NXINH.js +0 -24
  171. package/dist/host-checks-AOWHQL3V.js +0 -82
  172. package/dist/init-4T5EC67K.js +0 -82
  173. package/dist/install-cmd-6RKBV54Z.js +0 -26
  174. package/dist/launch-agent-Q6H3IT4D.js +0 -26
  175. package/dist/loop-USCXKLCB.js +0 -92
  176. package/dist/machine-RJ6QMO3N.js +0 -82
  177. package/dist/pending-43OCDSZO.js +0 -18
  178. package/dist/update-steps-4I6LRYM7.js +0 -83
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-4QVIBBKJ.js';
4
- import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-7RSR6ESV.js';
3
+ import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-BMMSIGV4.js';
4
+ import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-PT3DOY6P.js';
5
5
  import { compareVersions } from './chunk-TQMI335S.js';
6
- import { defaultRunnerConfigPath } from './chunk-EA2GVFAF.js';
7
- import { runnerDir, RUNNER_DIR_MODE } from './chunk-TPC6MXKS.js';
6
+ import { defaultRunnerConfigPath } from './chunk-V2O6KLTQ.js';
7
+ import { runnerDir, RUNNER_DIR_MODE } from './chunk-DYV2OC4S.js';
8
8
  import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
9
9
  import { dirname, sep, join, resolve } from 'path';
10
10
  import { spawnSync } from 'child_process';
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RemovedTargetError, removedTargetError } from './chunk-CEVYSNA4.js';
4
- import { removeRetiredSkills } from './chunk-KTN4XDPJ.js';
3
+ import { RemovedTargetError, removedTargetError } from './chunk-ZCOIE7ZJ.js';
4
+ import { removeRetiredSkills } from './chunk-7GJGSADZ.js';
5
5
  import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
6
- import { defaultFetch, resolveGatewayCredentials } from './chunk-YH7RGFKK.js';
7
- import { withTokenHeader } from './chunk-ULL2MHZU.js';
6
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-N7PG5JAD.js';
7
+ import { withTokenHeader } from './chunk-VXU5IAEQ.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';
11
- import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-NXOTVGPL.js';
11
+ import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-LPQJ5LXP.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
13
  import { execFileSync } from 'child_process';
14
14
  import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { detectActiveSession } from './chunk-MUCWOHFZ.js';
4
- import { autoConnect } from './chunk-DOIXXWA5.js';
3
+ import { detectActiveSession } from './chunk-IKGAVS5X.js';
4
+ import { autoConnect } from './chunk-5EQ2B6UE.js';
5
5
  import { C } from './chunk-2AM6Z5BP.js';
6
- import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-YH7RGFKK.js';
6
+ import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-N7PG5JAD.js';
7
7
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
8
8
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
9
9
  import { homeFromEnv } from './chunk-352DHUTP.js';
@@ -4,6 +4,6 @@ import { createRequire } from 'node:module';
4
4
  createRequire(import.meta.url);
5
5
 
6
6
  // src/runner/protocol.ts
7
- var RUNNER_PROTOCOL = 61;
7
+ var RUNNER_PROTOCOL = 62;
8
8
 
9
9
  export { RUNNER_PROTOCOL };
@@ -1,10 +1,10 @@
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-MUCWOHFZ.js';
5
- import { autoConnect } from './chunk-DOIXXWA5.js';
4
+ import { detectActiveSession } from './chunk-IKGAVS5X.js';
5
+ import { autoConnect } from './chunk-5EQ2B6UE.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YH7RGFKK.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-N7PG5JAD.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';
@@ -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-OID5XOPL.js';
4
+ import { runEmitArtifact } from './chunk-XTUTQVBU.js';
5
5
  import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
6
- import { detectActiveSession } from './chunk-MUCWOHFZ.js';
7
- import { autoConnect } from './chunk-DOIXXWA5.js';
6
+ import { detectActiveSession } from './chunk-IKGAVS5X.js';
7
+ import { autoConnect } from './chunk-5EQ2B6UE.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { defaultFetch, resolveGatewayCredentials } from './chunk-YH7RGFKK.js';
9
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-N7PG5JAD.js';
10
10
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
11
- import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-T2OAXE5H.js';
11
+ import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-BFKSIA3V.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
13
  import { resolveRepoIdentity } from './chunk-Y55ARAPE.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-MCUI6RHU.js';
@@ -2443,6 +2443,9 @@ function keepParts(beat, speech, map) {
2443
2443
  parts.push({ start: partStart, end: beat.end });
2444
2444
  return parts;
2445
2445
  }
2446
+ function secondsPastSpeech(parts, speech) {
2447
+ return parts.reduce((sum, part) => sum + Math.max(0, part.end - Math.max(part.start, speech.end)), 0);
2448
+ }
2446
2449
 
2447
2450
  // src/demo/measure.ts
2448
2451
  var DEAD_AIR_MAX_SECONDS = 2;
@@ -3160,6 +3163,7 @@ async function runEmitDemo(opts) {
3160
3163
  const whole = await renderWhole({ manifest, manifestDir, videoPath, work, speakerFor, narrated, media });
3161
3164
  const deadAir = deadAirProblems(whole.measure);
3162
3165
  if (deadAir.length > 0) throw new EmitDemoError(deadAirRefusal(deadAir));
3166
+ if (whole.lateSteps.length > 0) throw new EmitDemoError(lateStepsRefusal(whole.lateSteps));
3163
3167
  const note = speechNote(whole.measure, narrated);
3164
3168
  if (note !== void 0) say(`${C.yellow}!${C.reset} ${note}: tell each step as a beat with demo.say()`);
3165
3169
  const wholePlan = { output: whole.output };
@@ -3544,6 +3548,10 @@ async function speak(speakerFor, label, line) {
3544
3548
  throw new EmitDemoError(`${label}: the narration could not be spoken: ${err instanceof Error ? err.message : String(err)}`);
3545
3549
  }
3546
3550
  }
3551
+ function lateStepsRefusal(problems) {
3552
+ return `the steps run on after their lines: ${problems.join("; ")} \u2014 split each such beat, so each line plays over the steps it names`;
3553
+ }
3554
+ var LATE_STEPS_MAX_SECONDS = 4;
3547
3555
  function deadAirRefusal(problems) {
3548
3556
  return `the demo holds dead air: ${problems.join("; ")} \u2014 tell each step as a beat with demo.say(), so the demo shows only narrated steps`;
3549
3557
  }
@@ -3600,9 +3608,16 @@ async function renderWhole(params) {
3600
3608
  trimmed += span.end - span.start - kept.reduce((sum, part) => sum + (part.end - part.start), 0);
3601
3609
  return kept.map(snap);
3602
3610
  };
3611
+ const lateSteps = [];
3603
3612
  const shown = chapters.map((chapter, index) => {
3604
3613
  const beats = beatsOf(chapter) ?? [];
3605
- const parts = beats.length === 0 ? keep(chapter, spoken(chapter.start, chapterLines[index], SPEECH_LEAD_IN)) : beats.flatMap((beat, beatIndex) => keep(beat, spoken(beat.start, beatLines[index][beatIndex], BEAT_LEAD_IN)));
3614
+ const parts = beats.length === 0 ? keep(chapter, spoken(chapter.start, chapterLines[index], SPEECH_LEAD_IN)) : beats.flatMap((beat, beatIndex) => {
3615
+ const speech2 = spoken(beat.start, beatLines[index][beatIndex], BEAT_LEAD_IN);
3616
+ const kept = keep(beat, speech2);
3617
+ const late = speech2 === void 0 ? 0 : Math.round(secondsPastSpeech(kept, speech2) * 10) / 10;
3618
+ if (late > LATE_STEPS_MAX_SECONDS) lateSteps.push(`${chapterLabel(index, chapter.title)}, beat ${beatIndex + 1}: the steps run ${late.toFixed(1)} s past the line`);
3619
+ return kept;
3620
+ });
3606
3621
  return { ...snap(chapter), beats: parts };
3607
3622
  });
3608
3623
  const timeline = planTimeline(shown);
@@ -3648,7 +3663,8 @@ async function renderWhole(params) {
3648
3663
  ranges: timeline.chapters.map((range) => ({ start: Number(range.start.toFixed(3)), end: Number(range.end.toFixed(3)) })),
3649
3664
  leftOut: timeline.leftOut,
3650
3665
  trimmed,
3651
- measure
3666
+ measure,
3667
+ lateSteps
3652
3668
  };
3653
3669
  }
3654
3670
  async function renderOnly(params) {
@@ -3668,6 +3684,7 @@ async function renderOnly(params) {
3668
3684
  mkdirSync(dirname(output), { recursive: true });
3669
3685
  copyFileSync(whole.output, output);
3670
3686
  const deadAir = deadAirProblems(whole.measure);
3687
+ const lateSteps = whole.lateSteps;
3671
3688
  const note = speechNote(whole.measure, narrated);
3672
3689
  const failures = manifest.chapters.flatMap((chapter, index) => {
3673
3690
  const failed = chapter.checks.filter((check) => !check.passed);
@@ -3686,6 +3703,7 @@ async function renderOnly(params) {
3686
3703
  longestDeadAir: longest === void 0 ? 0 : Number((longest.end - longest.start).toFixed(2))
3687
3704
  },
3688
3705
  deadAir,
3706
+ lateSteps,
3689
3707
  ...note === void 0 ? {} : { note },
3690
3708
  failures
3691
3709
  };
@@ -3694,12 +3712,13 @@ async function renderOnly(params) {
3694
3712
  const share = (part) => `${whole.duration === 0 ? 0 : Math.round(part / whole.duration * 100)}%`;
3695
3713
  const text = opts.json ? JSON.stringify(summary) : [
3696
3714
  ...deadAir.map((line) => `${C.red}\u2717${C.reset} ${line}`),
3715
+ ...lateSteps.map((line) => `${C.red}\u2717${C.reset} ${line}: split the beat, so each line plays over the steps it names`),
3697
3716
  ...note === void 0 ? [] : [`${C.yellow}!${C.reset} ${note}`],
3698
- `${deadAir.length === 0 ? `${C.green}\u2713${C.reset}` : `${C.red}\u2717${C.reset}`} demo rendered ${C.dim}\xB7${C.reset} ${output} ${C.dim}\xB7${C.reset} ${summary.seconds} s ${C.dim}\xB7${C.reset} speech ${share(whole.measure.spoken)} ${C.dim}\xB7${C.reset} ${summary.leftOutSeconds} s of setup and dead air left out`
3717
+ `${deadAir.length === 0 && lateSteps.length === 0 ? `${C.green}\u2713${C.reset}` : `${C.red}\u2717${C.reset}`} demo rendered ${C.dim}\xB7${C.reset} ${output} ${C.dim}\xB7${C.reset} ${summary.seconds} s ${C.dim}\xB7${C.reset} speech ${share(whole.measure.spoken)} ${C.dim}\xB7${C.reset} ${summary.leftOutSeconds} s of setup and dead air left out`
3699
3718
  ].join("\n");
3700
3719
  if (!opts.quiet) process.stdout.write(`${text}
3701
3720
  `);
3702
- const exitCode = deadAir.length > 0 || failures.length > 0 ? 1 : 0;
3721
+ const exitCode = deadAir.length > 0 || lateSteps.length > 0 || failures.length > 0 ? 1 : 0;
3703
3722
  return { exitCode, output: text, failures, recordArtifactId: "", video: { omitted: "size", bytes: 0 }, clips: [], screenshots: [], differences: [] };
3704
3723
  } finally {
3705
3724
  rmSync(work, { recursive: true });
@@ -2,7 +2,7 @@
2
2
  import { createRequire } from 'node:module';
3
3
  import { CLAUDE_CODE_HOOKS, OPENCODE_CODEC } from './chunk-PLVHIQJN.js';
4
4
  import { CLAUDE_CODE, OPENCODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative } from './chunk-7PZDPISM.js';
5
- import { MAINTAINED_SKILLS } from './chunk-TGVNEQSQ.js';
5
+ import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
6
6
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-Y55ARAPE.js';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { isSameProcess } from './chunk-JBJTC3UU.js';
4
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-TPC6MXKS.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DYV2OC4S.js';
5
5
  import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
6
6
  import { dirname } from 'path';
7
7
 
@@ -1,9 +1,9 @@
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-BU7PN6MB.js';
4
+ import { signRunnerRequest, signerFor } from './chunk-NDDXBJMX.js';
5
5
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
6
- import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-VNLHKIKR.js';
6
+ import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
8
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
9
9
  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 { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-TPC6MXKS.js';
3
+ import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DYV2OC4S.js';
4
4
  import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
5
5
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
6
6
 
@@ -1,42 +1,42 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-6R5JI7LV.js';
4
- import { RUNNER_PROTOCOL } from './chunk-2UBMDLUF.js';
3
+ import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-PG4UW6QW.js';
4
+ import { RUNNER_PROTOCOL } from './chunk-JXZ3LIHN.js';
5
5
  import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
6
6
  import { zodProblem } from './chunk-I3LTIAOR.js';
7
- import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-TDEVXYWR.js';
8
- import { upgradedStarterText } from './chunk-VBAXFWTK.js';
9
- import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-LIVBFF3D.js';
10
- import { writeDockerClientConfig } from './chunk-4YJPE23H.js';
11
- import { senderPidfile } from './chunk-O2T4LDT7.js';
12
- import { installScrubContext } from './chunk-PWJKROIT.js';
7
+ import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-AEAKGO6N.js';
8
+ import { upgradedStarterText } from './chunk-R3RALX7H.js';
9
+ import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-2PRLSABK.js';
10
+ import { writeDockerClientConfig } from './chunk-55GT5FLR.js';
11
+ import { senderPidfile } from './chunk-R34OLRY7.js';
12
+ import { installScrubContext } from './chunk-BAE5M4N3.js';
13
13
  import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
14
- import { runnerImageVersion } from './chunk-7YVZIUOX.js';
15
- import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-7DCFL2MK.js';
14
+ import { runnerImageVersion } from './chunk-RIITHK4F.js';
15
+ import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-F4HSDGFO.js';
16
16
  import { receiveFiles } from './chunk-NN33FYXG.js';
17
- import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-GNX75MQI.js';
18
- import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-RIURJ7G6.js';
17
+ import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-IKJEN5R4.js';
18
+ import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-YN6EKURT.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-V64FGZNM.js';
22
- import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-B2EEVHR7.js';
23
- 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-H6J7CQSV.js';
24
- import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-CX5SISHJ.js';
25
- import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, 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-EA2GVFAF.js';
26
- import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-MT5NUKSC.js';
27
- import { said, NETWORK_HELPER_MEMORY, firstLine, 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, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-WGYAMFBU.js';
28
- import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-2HE3W4OM.js';
21
+ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-6FHMWJHK.js';
22
+ import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-OUL5E5UC.js';
23
+ 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-VL3IS7S2.js';
24
+ import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-F7AOOV5N.js';
25
+ 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-V2O6KLTQ.js';
26
+ import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-OC3BSNNE.js';
27
+ import { said, NETWORK_HELPER_MEMORY, firstLine, 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, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-TCPWJBH5.js';
28
+ import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-ZBD2YOGH.js';
29
29
  import { sanitizeTerminal, planArtifactUpload } from './chunk-DV44KCM6.js';
30
- import { sharedSkillNames, skillConflictMessage } from './chunk-SQFSYAPO.js';
30
+ import { sharedSkillNames, skillConflictMessage } from './chunk-IIYDYHS5.js';
31
31
  import { readCloudConfig } from './chunk-HWVMRETT.js';
32
- import { signerFor } from './chunk-BU7PN6MB.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-TPC6MXKS.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, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-ULL2MHZU.js';
35
- import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-B6LZQ5GU.js';
32
+ import { signerFor } from './chunk-NDDXBJMX.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-DYV2OC4S.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, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-VXU5IAEQ.js';
35
+ import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-XOJRFV3U.js';
36
36
  import { versionAtLeast } from './chunk-SF2TBJBP.js';
37
- import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-T2OAXE5H.js';
38
- import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-NXOTVGPL.js';
39
- import { MAINTAINED_SKILLS } from './chunk-TGVNEQSQ.js';
37
+ import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-BFKSIA3V.js';
38
+ import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-LPQJ5LXP.js';
39
+ import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
40
40
  import { resolveVersion } from './chunk-RA3O54FC.js';
41
41
  import { homeFromEnv } from './chunk-352DHUTP.js';
42
42
  import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-Y55ARAPE.js';
@@ -4311,7 +4311,8 @@ function sandboxExecStream(opts) {
4311
4311
  }
4312
4312
  var RUN_DIR = "/tmp/ol-run";
4313
4313
  var CHUNK_BYTES = 9e4;
4314
- var READ_ATTEMPTS = 4;
4314
+ var READ_OUTAGE_MS = 5 * 6e4;
4315
+ var READ_RETRY_LONGEST_MS = 1e4;
4315
4316
  var POLL_FIRST_MS = 50;
4316
4317
  var POLL_LONGEST_MS = 1e3;
4317
4318
  function quote(word) {
@@ -4323,6 +4324,7 @@ function sandboxLine(command, args, env) {
4323
4324
  }
4324
4325
  function sandboxRunner(client2, sandbox, options = {}) {
4325
4326
  const sleep = options.sleep ?? ((ms) => new Promise((resolve2) => setTimeout(resolve2, ms)));
4327
+ const now = options.now ?? Date.now;
4326
4328
  return async (command, args, opts = {}) => {
4327
4329
  const id = randomBytes(6).toString("hex");
4328
4330
  const file = (suffix) => `${RUN_DIR}/${id}.${suffix}`;
@@ -4334,50 +4336,60 @@ function sandboxRunner(client2, sandbox, options = {}) {
4334
4336
  }
4335
4337
  const start = `mkdir -p ${RUN_DIR}; echo $$ > ${file("pid")}; ${line2} < ${opts.input === void 0 ? "/dev/null" : file("in")} > ${file("out")} 2> ${file("err")}; echo $? > ${file("code.tmp")}; mv -f ${file("code.tmp")} ${file("code")}`;
4336
4338
  await client2.command(sandbox, start, { background: true });
4337
- const deadline = opts.timeoutMs === void 0 ? void 0 : Date.now() + opts.timeoutMs;
4338
- const collect = `if [ -f ${file("code")} ]; then cat ${file("code")}; head -c ${CHUNK_BYTES} ${file("out")} | base64 | tr -d '\\n'; echo; head -c ${CHUNK_BYTES} ${file("err")} | base64 | tr -d '\\n'; echo; wc -c < ${file("out")}; wc -c < ${file("err")}; fi`;
4339
+ const deadline = opts.timeoutMs === void 0 ? void 0 : now() + opts.timeoutMs;
4340
+ const appendLog = (bytes) => {
4341
+ if (opts.logPath === void 0) return;
4342
+ mkdirSync(dirname(opts.logPath), { recursive: true });
4343
+ appendFileSync(opts.logPath, bytes);
4344
+ };
4345
+ const outPieces = [];
4346
+ const errPieces = [];
4347
+ let outRead = 0;
4348
+ let errRead = 0;
4349
+ const piece = (name, from) => `tail -c +${from + 1} ${file(name)} 2>/dev/null | head -c ${CHUNK_BYTES} | base64 | tr -d '\\n'; echo`;
4350
+ const size = (name) => `wc -c 2>/dev/null < ${file(name)} || echo 0`;
4351
+ const poll = () => `if [ -f ${file("code")} ]; then cat ${file("code")}; else echo; fi; ${piece("out", outRead)}; ${piece("err", errRead)}; ${size("out")}; ${size("err")}`;
4352
+ const take = (stdout) => {
4353
+ const [code = "", out = "", err = "", outSize = "0", errSize = "0"] = stdout.split("\n").map((part) => part.trim());
4354
+ const outBytes = Buffer.from(out, "base64");
4355
+ const errBytes = Buffer.from(err, "base64");
4356
+ outPieces.push(outBytes);
4357
+ errPieces.push(errBytes);
4358
+ outRead += outBytes.length;
4359
+ errRead += errBytes.length;
4360
+ appendLog(Buffer.concat([outBytes, errBytes]));
4361
+ return { code, outSize: Number(outSize) || 0, errSize: Number(errSize) || 0, got: outBytes.length + errBytes.length };
4362
+ };
4339
4363
  const ask2 = async (cmd) => {
4364
+ let faultSince;
4340
4365
  for (let attempt = 1; ; attempt++) {
4341
4366
  try {
4342
4367
  return await client2.command(sandbox, cmd);
4343
4368
  } catch (err) {
4344
- const transient = err instanceof SandboxError && (err.status === 0 || err.status >= 500);
4345
- if (!transient || attempt >= READ_ATTEMPTS) throw err;
4346
- await sleep(POLL_FIRST_MS * attempt);
4369
+ const transient = err instanceof SandboxError && (err.status === 0 || err.status === 429 || err.status >= 500);
4370
+ faultSince ??= now();
4371
+ if (!transient || now() - faultSince >= READ_OUTAGE_MS) throw err;
4372
+ await sleep(Math.min(POLL_FIRST_MS * 2 ** attempt, READ_RETRY_LONGEST_MS));
4347
4373
  }
4348
4374
  }
4349
4375
  };
4350
4376
  let wait = POLL_FIRST_MS;
4351
4377
  for (; ; ) {
4352
- const polled = await ask2(collect);
4353
- if (polled.stdout.trim() !== "") {
4354
- const [code = "", out = "", err = "", outSize = "0", errSize = "0"] = polled.stdout.split("\n").map((part) => part.trim());
4355
- const pieces = [Buffer.from(out, "base64")];
4356
- const errPieces = [Buffer.from(err, "base64")];
4357
- const more = async (name, size, into) => {
4358
- for (let read = CHUNK_BYTES; read < size; read += CHUNK_BYTES) {
4359
- const next = await ask2(`tail -c +${read + 1} ${file(name)} | head -c ${CHUNK_BYTES} | base64 | tr -d '\\n'`);
4360
- into.push(Buffer.from(next.stdout.trim(), "base64"));
4361
- }
4362
- };
4363
- await more("out", Number(outSize), pieces);
4364
- await more("err", Number(errSize), errPieces);
4365
- await client2.command(sandbox, `rm -f ${RUN_DIR}/${id}.*`);
4366
- const result = { status: Number(code) || 0, stdout: Buffer.concat(pieces).toString("utf8"), stderr: Buffer.concat(errPieces).toString("utf8") };
4367
- if (opts.logPath !== void 0) {
4368
- mkdirSync(dirname(opts.logPath), { recursive: true });
4369
- appendFileSync(opts.logPath, result.stdout + result.stderr);
4378
+ const polled = take((await ask2(poll())).stdout);
4379
+ if (polled.code !== "") {
4380
+ let last = polled;
4381
+ while (outRead < last.outSize || errRead < last.errSize) {
4382
+ last = take((await ask2(poll())).stdout);
4383
+ if (last.got === 0) break;
4370
4384
  }
4371
- return result;
4385
+ await client2.command(sandbox, `rm -f ${RUN_DIR}/${id}.*`).catch(() => void 0);
4386
+ return { status: Number(polled.code) || 0, stdout: Buffer.concat(outPieces).toString("utf8"), stderr: Buffer.concat(errPieces).toString("utf8") };
4372
4387
  }
4373
- if (deadline !== void 0 && Date.now() >= deadline) {
4388
+ if (deadline !== void 0 && now() >= deadline) {
4374
4389
  await client2.command(sandbox, `kill -9 $(cat ${file("pid")}) 2>/dev/null; rm -f ${RUN_DIR}/${id}.*`).catch(() => void 0);
4375
4390
  const extra = `${command}: no answer within ${Math.round(opts.timeoutMs / 1e3)}s
4376
4391
  `;
4377
- if (opts.logPath !== void 0) {
4378
- mkdirSync(dirname(opts.logPath), { recursive: true });
4379
- appendFileSync(opts.logPath, extra);
4380
- }
4392
+ appendLog(Buffer.from(extra));
4381
4393
  return { status: 124, stdout: "", stderr: extra };
4382
4394
  }
4383
4395
  await sleep(wait);
@@ -8541,8 +8553,8 @@ async function keepSandboxDisk2(input) {
8541
8553
  function noDiskReason(job, config) {
8542
8554
  if (job.workItemId === void 0) return "the job names no work item";
8543
8555
  if (config.sandbox?.provider === "outerlayer") return "a sandbox that OuterLayer provides ends with its build, so the next job starts in a new one";
8544
- if (job.queue === "revise") return "a revision reads each repository at its default branch and leaves nothing to continue";
8545
8556
  if (job.queue === "review") return "a code review reads one commit and leaves nothing to continue";
8557
+ if (readsOnly(job.queue)) return `${job.queue === "criteria" ? "a criteria job" : "a revision"} reads each repository at its default branch and leaves nothing to continue`;
8546
8558
  if (job.reason === "disk_limit_exceeded" || job.reason === "disk_check_failed") return "the build passed its disk limit, so a rerun would start from a full disk";
8547
8559
  if (config.managed === true && (job.managedVariables?.length ?? 0) > 0) return "the build held a factory build variable, and the runner cannot remove a value that a command stored in an encoded form";
8548
8560
  return void 0;
@@ -8864,7 +8876,7 @@ async function guestOf(job, runtime) {
8864
8876
  async function keepEndedSession(input) {
8865
8877
  const { job, log, tag } = input;
8866
8878
  if (job.sessionId === void 0 || job.workItemId === void 0 || job.sessionKept === true) return false;
8867
- if (job.queue === "revise" || job.queue === "review") return false;
8879
+ if (readsOnly(job.queue)) return false;
8868
8880
  if (job.microvm === void 0 && job.container === void 0 && job.sandbox === void 0) return false;
8869
8881
  if (jobAgent(job, input.runtime.agents)?.adapter.launch?.session === void 0) return false;
8870
8882
  const found = await guestOf(job, input.runtime);
@@ -10015,7 +10027,7 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
10015
10027
  const logPath = join(jobDirPath, "command.log");
10016
10028
  const tag = `${itemTag(job)}`;
10017
10029
  const isRun = job.queue === "run";
10018
- const noJudgement = isRun || job.queue === "revise" || job.queue === "review";
10030
+ const noJudgement = isRun || readsOnly(job.queue);
10019
10031
  deps.attemptLogs?.open(job.item, jobDirPath, itemScope(job));
10020
10032
  const valuesNotHeld = (job.managedVariables?.length ?? 0) > 0 && managedBuildSettingsFor(jobDirPath) === void 0;
10021
10033
  await stopSender({ job, jobDir: jobDirPath, deps: { spawnFn, runtime: deps.container, log } });
@@ -12340,8 +12352,8 @@ function createGitRemote(options) {
12340
12352
  if (bodyPath !== void 0) rmSync(bodyPath, { force: true });
12341
12353
  }
12342
12354
  }
12343
- const readOnly = options.readOnly === true || options.readOnly === "revise" || options.readOnly === "review";
12344
- const readOnlyActor = options.readOnly === "revise" ? "a spec revision" : options.readOnly === "review" ? "a code review" : "a check";
12355
+ const readOnly = options.readOnly === true || options.readOnly === "revise" || options.readOnly === "review" || options.readOnly === "criteria";
12356
+ const readOnlyActor = options.readOnly === "revise" ? "a spec revision" : options.readOnly === "review" ? "a code review" : options.readOnly === "criteria" ? "a criteria job" : "a check";
12345
12357
  async function handle(req, res) {
12346
12358
  const route = classifyRequest(req.method ?? "", req.url ?? "");
12347
12359
  if (route === void 0) {
@@ -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-WGYAMFBU.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-TPC6MXKS.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-TCPWJBH5.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-DYV2OC4S.js';
5
5
  import { spawnSync } from 'child_process';
6
6
  import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
7
7
  import { dirname, join } from 'path';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-ULL2MHZU.js';
4
- import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-B6LZQ5GU.js';
5
- import { defaultAgents } from './chunk-NXOTVGPL.js';
3
+ import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-VXU5IAEQ.js';
4
+ import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-XOJRFV3U.js';
5
+ import { defaultAgents } from './chunk-LPQJ5LXP.js';
6
6
  import { PROVIDERS } from './chunk-7PZDPISM.js';
7
7
  import { symlinkSync, unlinkSync } from 'fs';
8
8
  import { join } from 'path';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { sanitizeTerminal } from './chunk-DV44KCM6.js';
4
- import { resolvePackRoot, parseProofsConfig } from './chunk-NXOTVGPL.js';
4
+ import { resolvePackRoot, parseProofsConfig } from './chunk-LPQJ5LXP.js';
5
5
  import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
6
6
  import { createHash } from 'crypto';
7
7
  import { join } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-TPC6MXKS.js';
3
+ import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DYV2OC4S.js';
4
4
  import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
5
5
  import { join, basename, sep, resolve } from 'path';
6
6
 
@@ -1,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-CX5SISHJ.js';
4
- import { detectActiveSession } from './chunk-MUCWOHFZ.js';
3
+ import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-F7AOOV5N.js';
4
+ import { detectActiveSession } from './chunk-IKGAVS5X.js';
5
5
  import { sanitizeTerminal } from './chunk-DV44KCM6.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-YH7RGFKK.js';
8
- import { logHookError } from './chunk-ZV77MALL.js';
7
+ import { defaultFetch } from './chunk-N7PG5JAD.js';
8
+ import { logHookError } from './chunk-E5PWV6H2.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,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LiveUploader } from './chunk-PWJKROIT.js';
4
- import { spoolDir } from './chunk-ZV77MALL.js';
3
+ import { LiveUploader } from './chunk-BAE5M4N3.js';
4
+ import { spoolDir } from './chunk-E5PWV6H2.js';
5
5
  import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
6
- import { sessionFolderIn, legacyAgent } from './chunk-NXOTVGPL.js';
6
+ import { sessionFolderIn, legacyAgent } from './chunk-LPQJ5LXP.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { CaptureDaemon } from './chunk-Y55ARAPE.js';
9
9
  import { mkdirSync, writeFileSync, rmSync } from 'fs';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-G6S2EKAF.js';
4
- import { POLICY_PATH, POLICY_CONTENT } from './chunk-CR7DKNRM.js';
5
- import { skillsBaseFor } from './chunk-76GFXRC7.js';
3
+ import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-7PFRNOSF.js';
4
+ import { POLICY_PATH, POLICY_CONTENT } from './chunk-TQPFWWND.js';
5
+ import { skillsBaseFor } from './chunk-XDBHRWPQ.js';
6
6
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
- import { hasSymlinkComponent } from './chunk-J4LUKUXC.js';
8
+ import { hasSymlinkComponent } from './chunk-TZZU6IAM.js';
9
9
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
10
- import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-NXOTVGPL.js';
10
+ import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-LPQJ5LXP.js';
11
11
  import { createHash } from 'crypto';
12
12
  import { existsSync, readFileSync } from 'fs';
13
13
  import { join } from 'path';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { isVersion, compareVersions } from './chunk-TQMI335S.js';
4
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-TPC6MXKS.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DYV2OC4S.js';
5
5
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
6
6
  import { join } from 'path';
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-NXOTVGPL.js';
4
- import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-TGVNEQSQ.js';
3
+ import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-LPQJ5LXP.js';
4
+ import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-VSBG7MMU.js';
5
5
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
6
6
  import { homeFromEnv } from './chunk-352DHUTP.js';
7
7
  import { randomBytes } from 'crypto';
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-2HE3W4OM.js';
4
- import { ensureHostKey } from './chunk-BU7PN6MB.js';
5
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-TPC6MXKS.js';
6
- import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-ULL2MHZU.js';
7
- import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-B6LZQ5GU.js';
8
- import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-T2OAXE5H.js';
9
- import { defaultAgents } from './chunk-NXOTVGPL.js';
3
+ import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-ZBD2YOGH.js';
4
+ import { ensureHostKey } from './chunk-NDDXBJMX.js';
5
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-DYV2OC4S.js';
6
+ import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-VXU5IAEQ.js';
7
+ import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-XOJRFV3U.js';
8
+ import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-BFKSIA3V.js';
9
+ import { defaultAgents } from './chunk-LPQJ5LXP.js';
10
10
  import { PROVIDERS } from './chunk-7PZDPISM.js';
11
11
  import { compareVersions } from './chunk-Y55ARAPE.js';
12
12
  import { createHash } from 'crypto';