@outerlayer/cli 0.41.0-next.20261118154455 → 0.41.0-next.20261118180636

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 (161) hide show
  1. package/dist/{agent-credential-FI5HHMC7.js → agent-credential-WX2KK2NS.js} +3 -3
  2. package/dist/{agent-setup-JK3AB23R.js → agent-setup-BJRTAU3H.js} +18 -18
  3. package/dist/{agent-subcommand-KNIUK5XB.js → agent-subcommand-EJNVXLNB.js} +2 -2
  4. package/dist/{bridge-3F7637DO.js → bridge-A4WAOWUJ.js} +6 -6
  5. package/dist/{build-IBK6OWMD.js → build-P2KFEV44.js} +12 -12
  6. package/dist/{build-disk-UTRYIN6P.js → build-disk-33QIRSMR.js} +10 -10
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-FVZCFCSU.js → builder-HZPOW7TF.js} +9 -9
  9. package/dist/{caller-HSFIM2H5.js → caller-ZUQVRQMY.js} +12 -12
  10. package/dist/{check-OSCHNNLI.js → check-6SQDJCAE.js} +47 -47
  11. package/dist/{chunk-SV3MQQSD.js → chunk-25SFFAJ5.js} +5 -5
  12. package/dist/{chunk-6FDFZ5UO.js → chunk-2QK7L3WV.js} +1 -1
  13. package/dist/{chunk-OU7GQC44.js → chunk-3ZE7ECW4.js} +1 -1
  14. package/dist/{chunk-JMM74T6A.js → chunk-4BWB3LLN.js} +2 -2
  15. package/dist/{chunk-FHH5DQ7X.js → chunk-4GXROH35.js} +5 -5
  16. package/dist/{chunk-JY3W3AHK.js → chunk-4JVYALPL.js} +8 -8
  17. package/dist/{chunk-SLU5UQQS.js → chunk-56KI5URJ.js} +3 -3
  18. package/dist/{chunk-I2FA3MCH.js → chunk-57F62BIL.js} +3 -3
  19. package/dist/{chunk-FSKUJX43.js → chunk-57MLWALQ.js} +5 -5
  20. package/dist/{chunk-PMYP5VMV.js → chunk-5ICUDCXU.js} +3 -3
  21. package/dist/{chunk-2F4XVJUN.js → chunk-5PRVTL54.js} +1 -1
  22. package/dist/{chunk-THZABUJL.js → chunk-67Z7CK3N.js} +1 -1
  23. package/dist/{chunk-JIFIPELY.js → chunk-6YBI24YT.js} +1 -1
  24. package/dist/{chunk-JFLGHA3C.js → chunk-77EHIHYW.js} +29 -29
  25. package/dist/{chunk-RXUGNP3O.js → chunk-7A7IAQPB.js} +1 -1
  26. package/dist/{chunk-Q4IUKGIS.js → chunk-7BBQ5ZIN.js} +1 -1
  27. package/dist/{chunk-V3LLYTKR.js → chunk-7O37CF6M.js} +3 -3
  28. package/dist/{chunk-NYVDMD32.js → chunk-A6EGNLXH.js} +3 -3
  29. package/dist/{chunk-DG3VREJE.js → chunk-AFU6UF34.js} +6 -6
  30. package/dist/{chunk-NAH7LEMX.js → chunk-ASAIS67T.js} +6 -6
  31. package/dist/{chunk-CMMTWO6K.js → chunk-AVYR5USX.js} +1 -1
  32. package/dist/{chunk-HTV3VRCB.js → chunk-B3VQVVSS.js} +3 -3
  33. package/dist/{chunk-LYPTSVAU.js → chunk-B5ENFQHF.js} +1 -1
  34. package/dist/{chunk-5KDPYRBL.js → chunk-C2N5PBE3.js} +10 -10
  35. package/dist/{chunk-YPIR4MGL.js → chunk-CNEOUUPF.js} +4 -4
  36. package/dist/{chunk-PCBZGSPX.js → chunk-CQKCNDPP.js} +4 -4
  37. package/dist/{chunk-RURRQTYH.js → chunk-CYQSTT5N.js} +1 -1
  38. package/dist/{chunk-FRVUXVMX.js → chunk-DPS4OOL5.js} +4 -4
  39. package/dist/{chunk-H2IVCCVU.js → chunk-DZOOVU5A.js} +1 -1
  40. package/dist/{chunk-ZOS55UTZ.js → chunk-E7HPIXAM.js} +1 -1
  41. package/dist/{chunk-AA2K5FC6.js → chunk-EKJ37Z6K.js} +2 -2
  42. package/dist/{chunk-6A4XHKAD.js → chunk-ENJG3DGI.js} +3 -3
  43. package/dist/{chunk-DC4NUJ72.js → chunk-ETBEMXPC.js} +6 -6
  44. package/dist/{chunk-OADERJBS.js → chunk-EYN62KZW.js} +7 -7
  45. package/dist/{chunk-TM2WCOMA.js → chunk-FMANPQZW.js} +1 -1
  46. package/dist/{chunk-EIYTP2AC.js → chunk-GEFZE3GN.js} +4 -4
  47. package/dist/{chunk-RG4PHZ67.js → chunk-GFXXAXPF.js} +1 -1
  48. package/dist/{chunk-TQBQFD7K.js → chunk-GQZWTW3J.js} +3 -3
  49. package/dist/{chunk-LM34XIUW.js → chunk-GZRW2GPQ.js} +1 -1
  50. package/dist/{chunk-J3DZUXHL.js → chunk-IBWK2WBX.js} +5 -5
  51. package/dist/{chunk-YAJOMB4D.js → chunk-IEVG36GC.js} +1 -1
  52. package/dist/{chunk-W4XQUODP.js → chunk-K2AHZ5CL.js} +8 -8
  53. package/dist/{chunk-5WDRNYGB.js → chunk-K5GJMMKP.js} +1 -1
  54. package/dist/{chunk-VT3G2KIY.js → chunk-KRYJAO4X.js} +4 -4
  55. package/dist/{chunk-K2QAUWV4.js → chunk-KWGH7KQW.js} +2 -2
  56. package/dist/{chunk-B22MYHFC.js → chunk-MI3YC7JL.js} +2 -2
  57. package/dist/{chunk-I32JMDTQ.js → chunk-MYDYQUJD.js} +2 -2
  58. package/dist/{chunk-PPWT33XU.js → chunk-NRR4YLHI.js} +1 -1
  59. package/dist/{chunk-I3E5D2CQ.js → chunk-NXYTICCS.js} +1 -1
  60. package/dist/{chunk-NA3IKIDG.js → chunk-OA6KYILO.js} +3 -3
  61. package/dist/{chunk-KXRFE6WZ.js → chunk-OTZ6WU4G.js} +4 -4
  62. package/dist/{chunk-KUWZ7FB4.js → chunk-OWBSELTR.js} +7 -7
  63. package/dist/{chunk-4TD3JKQG.js → chunk-PIIVGKE6.js} +1 -1
  64. package/dist/{chunk-E7Z3PFV7.js → chunk-POI3MX4Q.js} +3 -3
  65. package/dist/{chunk-PUO2BKUZ.js → chunk-QBMBUXID.js} +3 -3
  66. package/dist/{chunk-47X3DZS6.js → chunk-QZFQ6EWP.js} +3 -3
  67. package/dist/{chunk-H6GROJCC.js → chunk-RFBEF4AF.js} +1 -1
  68. package/dist/{chunk-NAPAXLIB.js → chunk-S3VUP7LF.js} +2 -2
  69. package/dist/{chunk-LDCVGTUS.js → chunk-TH7J35IU.js} +6 -6
  70. package/dist/{chunk-WQUEWYUC.js → chunk-TRZOAT7E.js} +4 -4
  71. package/dist/{chunk-UBFXWFC4.js → chunk-U5JYTRVM.js} +1 -1
  72. package/dist/{chunk-SDBSHT6L.js → chunk-V3ZIIURQ.js} +52 -6
  73. package/dist/{chunk-UJ6ZPUJL.js → chunk-V4XKNPZK.js} +15 -15
  74. package/dist/{chunk-WAWHCBN7.js → chunk-VKN7UJOB.js} +3 -3
  75. package/dist/{chunk-VCYSB2LV.js → chunk-WHXF2MLU.js} +1 -1
  76. package/dist/{chunk-2ASWEY7Y.js → chunk-XETFYRKD.js} +18 -15
  77. package/dist/{chunk-OJZ4TIKW.js → chunk-XGXGS54U.js} +1 -1
  78. package/dist/{chunk-56YSHV4R.js → chunk-XLQIA345.js} +4 -4
  79. package/dist/{chunk-LAZ35DAO.js → chunk-YOJXGKVA.js} +137 -28
  80. package/dist/{chunk-SGQPKEKW.js → chunk-ZMXG7DQ5.js} +2 -2
  81. package/dist/{chunk-MCE7JACC.js → chunk-ZQHGY6K2.js} +1 -1
  82. package/dist/{claude-launcher-HQIBJDR5.js → claude-launcher-GYSXTCLQ.js} +5 -5
  83. package/dist/{cli-DT7WP7S3.js → cli-XLCRAUYM.js} +160 -160
  84. package/dist/{command-HV32TX64.js → command-VGRXU5C5.js} +44 -44
  85. package/dist/{config-HMI672LY.js → config-Y4PCLHUG.js} +11 -11
  86. package/dist/{connect-cmd-UHR3P5RD.js → connect-cmd-KSYPISM4.js} +10 -10
  87. package/dist/{container-start-2JKT434B.js → container-start-66VMEOP4.js} +41 -41
  88. package/dist/{context-cleanup-BLWTPDRE.js → context-cleanup-2ECZ2FXE.js} +2 -2
  89. package/dist/{context-show-cmd-3RU3YJ3Z.js → context-show-cmd-HDLZOYIT.js} +11 -11
  90. package/dist/{control-plane-launch-GIZPALCW.js → control-plane-launch-RPNZG5V7.js} +13 -13
  91. package/dist/{demo-record-cmd-PMWB2SPV.js → demo-record-cmd-73DCM2IU.js} +7 -7
  92. package/dist/{demo-voice-cmd-VGFHMBY2.js → demo-voice-cmd-J6IFHEXN.js} +17 -17
  93. package/dist/{docker-RT6VSGFO.js → docker-RZTRIYF7.js} +9 -9
  94. package/dist/{doctor-ANCGRL4E.js → doctor-KWSSVXVZ.js} +43 -43
  95. package/dist/{emit-artifact-cmd-VA5WKCBE.js → emit-artifact-cmd-AEE47IZC.js} +16 -16
  96. package/dist/{emit-cmd-G3HZHZYK.js → emit-cmd-Z3IOKPWL.js} +5 -5
  97. package/dist/{emit-criteria-cmd-AWRTNA7U.js → emit-criteria-cmd-TOO4DNEF.js} +13 -13
  98. package/dist/{emit-demo-cmd-TEAUWE5X.js → emit-demo-cmd-7C6ARFCK.js} +17 -17
  99. package/dist/{emit-finding-cmd-JLCPC6PO.js → emit-finding-cmd-XYNID6R4.js} +13 -13
  100. package/dist/{emit-step-cmd-Z5KGLT7I.js → emit-step-cmd-JAUW5Y2S.js} +13 -13
  101. package/dist/{exec-client-5TKSDT4K.js → exec-client-TNJPPDLD.js} +7 -7
  102. package/dist/{find-unit-SI6DIT7C.js → find-unit-J7MA2PRR.js} +12 -12
  103. package/dist/{findings-cmd-ALFKVD4R.js → findings-cmd-VMGISGEN.js} +13 -13
  104. package/dist/{fleet-readiness-P5UJOLUD.js → fleet-readiness-6WFZ6DSU.js} +12 -12
  105. package/dist/{governing-source-YSRMSXE4.js → governing-source-66AXUDVZ.js} +18 -18
  106. package/dist/{guest-init-SC6CEVBU.js → guest-init-QY6VTT2A.js} +8 -8
  107. package/dist/{hook-fast-ICZZMG3H.js → hook-fast-PUFMMGLY.js} +1 -1
  108. package/dist/{hook-install-AGUGR7XA.js → hook-install-LCTLE72U.js} +2 -2
  109. package/dist/{host-checks-EZ5EPRNX.js → host-checks-VGC5VOC4.js} +39 -39
  110. package/dist/{pending-H6UQEK2S.js → host-key-N65ZDZTS.js} +7 -7
  111. package/dist/{image-tag-RPBPCOYI.js → image-tag-UI33PH7Y.js} +7 -7
  112. package/dist/index.js +4 -4
  113. package/dist/{init-IL2R4D7M.js → init-EMZZR25C.js} +39 -39
  114. package/dist/{init-4OKT7AIJ.js → init-K5HU4I27.js} +39 -39
  115. package/dist/{init-agent-GO46DL6K.js → init-agent-YYZBWA2D.js} +39 -39
  116. package/dist/{init-cmd-VBMZHQOV.js → init-cmd-RNJ2WXBW.js} +24 -24
  117. package/dist/{init-update-6VSWW6GU.js → init-update-ZBCOQJEX.js} +21 -21
  118. package/dist/{install-cmd-2RQU2UWB.js → install-cmd-FVYEVXPY.js} +14 -14
  119. package/dist/{launch-agent-K6C24LDE.js → launch-agent-H5XWIVIT.js} +14 -14
  120. package/dist/{layout-TGUCFL3Q.js → layout-BQFWBO4C.js} +2 -2
  121. package/dist/{logs-CUZL3AFN.js → logs-EVHVINVW.js} +6 -6
  122. package/dist/{loop-SU4GKRL6.js → loop-K7P5X2XL.js} +47 -47
  123. package/dist/{machine-GOQTHEDK.js → machine-HT2XQNRV.js} +39 -39
  124. package/dist/{machine-skills-RFPVAKMP.js → machine-skills-3RLQEKKU.js} +2 -2
  125. package/dist/{mcp-install-cmd-OPVS3ZQC.js → mcp-install-cmd-R6X5IIE5.js} +2 -2
  126. package/dist/{mcp-serve-cmd-UAO43IUU.js → mcp-serve-cmd-MWBSZUXE.js} +8 -8
  127. package/dist/{paths-5KIREBMX.js → paths-2NB6OM44.js} +6 -6
  128. package/dist/{host-key-2D6FFQUO.js → pending-PIZMCVVK.js} +7 -7
  129. package/dist/{pidfile-VEGMVMOM.js → pidfile-J774ZYPM.js} +7 -7
  130. package/dist/{record-L5Y6HKCD.js → record-FQ2LFBZH.js} +7 -7
  131. package/dist/{relay-ONQZR54R.js → relay-CC2QEO3V.js} +4 -4
  132. package/dist/{relay-protocol-42IKFMUY.js → relay-protocol-UOZ4YSAU.js} +4 -4
  133. package/dist/{run-cmd-ME3OAOUZ.js → run-cmd-ALE43QBT.js} +13 -13
  134. package/dist/{runner-agents-TJTD5U4S.js → runner-agents-YGVCO7DM.js} +2 -2
  135. package/dist/{runner-env-KR5SKMXP.js → runner-env-UIHWITLB.js} +13 -13
  136. package/dist/{runner-identity-J7G2KHY3.js → runner-identity-JA3ZAJIA.js} +9 -9
  137. package/dist/{runner-key-3HGGWA73.js → runner-key-QRBQNT3X.js} +39 -39
  138. package/dist/{session-sender-Y2GJXX7H.js → session-sender-4OQFHLTF.js} +16 -16
  139. package/dist/{setup-cmd-IXBV77NY.js → setup-cmd-VFKTGD52.js} +11 -11
  140. package/dist/{setup-wiring-E3P5LDAJ.js → setup-wiring-I6TKPHQB.js} +49 -49
  141. package/dist/{spec-cmd-GDIG3JPV.js → spec-cmd-B6FJM5QA.js} +14 -14
  142. package/dist/{starter-pack-PRGAFNA4.js → starter-pack-5VWYQJOQ.js} +3 -3
  143. package/dist/{state-5BT3FXM3.js → state-JUIT5A5P.js} +7 -7
  144. package/dist/{status-37XD27H5.js → status-J3MRIS6R.js} +39 -39
  145. package/dist/{sync-cmd-3BPR3UXM.js → sync-cmd-SLYQKTQX.js} +15 -15
  146. package/dist/{update-steps-W7H6S7ZY.js → update-steps-2TFEINVW.js} +40 -40
  147. package/dist/{watch-EO7TD7O4.js → watch-3IYP5CZS.js} +15 -15
  148. package/dist/{work-claim-cmd-E66SANC5.js → work-claim-cmd-XKFTIMQR.js} +19 -19
  149. package/dist/{work-cmd-SO5CMIJX.js → work-cmd-VPMC4IQS.js} +13 -13
  150. package/dist/{work-comment-cmd-PZWIE2SZ.js → work-comment-cmd-6WFTILMS.js} +15 -15
  151. package/dist/{work-demo-cmd-SV5WYN4W.js → work-demo-cmd-NTZOOABD.js} +13 -13
  152. package/dist/{work-logs-cmd-SNZ5QEVC.js → work-logs-cmd-SE2X5ONJ.js} +13 -13
  153. package/dist/{work-mock-cmd-CSOJKS2Q.js → work-mock-cmd-KLK5VW4K.js} +13 -13
  154. package/dist/{work-needs-attention-cmd-HADJ56RT.js → work-needs-attention-cmd-E7TSQW3T.js} +13 -13
  155. package/dist/{work-no-change-cmd-M4BB2P3J.js → work-no-change-cmd-TGVI5G4O.js} +13 -13
  156. package/dist/{work-open-pr-cmd-XE2IJHGF.js → work-open-pr-cmd-52EOINTE.js} +14 -14
  157. package/dist/{work-pr-cmd-IY2BMU4X.js → work-pr-cmd-G7IYPYKA.js} +13 -13
  158. package/dist/{work-proofs-cmd-EAQJ3RT3.js → work-proofs-cmd-SMTOIG35.js} +15 -15
  159. package/dist/{work-proofs-record-AQIHZQXG.js → work-proofs-record-L5QMD4HB.js} +21 -21
  160. package/dist/{work-stop-cmd-VHNBWARI.js → work-stop-cmd-WS6XWVZ5.js} +13 -13
  161. package/package.json +1 -1
@@ -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-OADERJBS.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-2F4XVJUN.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-EYN62KZW.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-5PRVTL54.js';
5
5
  import { spawnSync } from 'child_process';
6
6
  import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
7
7
  import { dirname, join } from 'path';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { isSameProcess } from './chunk-JBJTC3UU.js';
4
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-2F4XVJUN.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-5PRVTL54.js';
5
5
  import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
6
6
  import { dirname } from 'path';
7
7
 
@@ -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-2F4XVJUN.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-5PRVTL54.js';
5
5
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
6
6
  import { join } from 'path';
7
7
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-4TD3JKQG.js';
3
+ import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-PIIVGKE6.js';
4
4
  import { startTimeOf } from './chunk-JBJTC3UU.js';
5
- import { EXEC_PORT } from './chunk-E7Z3PFV7.js';
6
- import { RELAY_PORT } from './chunk-TQBQFD7K.js';
5
+ import { EXEC_PORT } from './chunk-POI3MX4Q.js';
6
+ import { RELAY_PORT } from './chunk-GQZWTW3J.js';
7
7
  import { spawn, spawnSync } from 'child_process';
8
8
  import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
9
9
 
@@ -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-NAH7LEMX.js';
4
- import { detectActiveSession } from './chunk-OJZ4TIKW.js';
3
+ import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-ASAIS67T.js';
4
+ import { detectActiveSession } from './chunk-XGXGS54U.js';
5
5
  import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-ZOS55UTZ.js';
8
- import { logHookError } from './chunk-NYVDMD32.js';
7
+ import { defaultFetch } from './chunk-E7HPIXAM.js';
8
+ import { logHookError } from './chunk-A6EGNLXH.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,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { scrubReason, stripTerminalControls } from './chunk-LAZ35DAO.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-DC4NUJ72.js';
5
- import { RunnerAlreadyRunningError, readPidFile } from './chunk-PPWT33XU.js';
3
+ import { scrubReason, stripTerminalControls } from './chunk-YOJXGKVA.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ETBEMXPC.js';
5
+ import { RunnerAlreadyRunningError, readPidFile } from './chunk-NRR4YLHI.js';
6
6
  import { isSameProcess } from './chunk-JBJTC3UU.js';
7
- import { isSignatureRefusal, postJson } from './chunk-NAH7LEMX.js';
8
- import { keyRunnerFactory } from './chunk-WQUEWYUC.js';
9
- import { signerFor } from './chunk-RXUGNP3O.js';
10
- import { pidFilePath } from './chunk-2F4XVJUN.js';
7
+ import { isSignatureRefusal, postJson } from './chunk-ASAIS67T.js';
8
+ import { keyRunnerFactory } from './chunk-TRZOAT7E.js';
9
+ import { signerFor } from './chunk-7A7IAQPB.js';
10
+ import { pidFilePath } from './chunk-5PRVTL54.js';
11
11
  import { readFileSync } from 'fs';
12
12
 
13
13
  createRequire(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, BUILD_HOME } from './chunk-TQBQFD7K.js';
3
+ import { RELAY_PORT, BUILD_HOME } from './chunk-GQZWTW3J.js';
4
4
  import { createServer, connect } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -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-TQBQFD7K.js';
4
- import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-HTV3VRCB.js';
5
- import { defaultAgents } from './chunk-SDBSHT6L.js';
3
+ import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-GQZWTW3J.js';
4
+ import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-B3VQVVSS.js';
5
+ import { defaultAgents } from './chunk-V3ZIIURQ.js';
6
6
  import { PROVIDERS } from './chunk-7FAKHR6W.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
- import { stripTerminalControls } from './chunk-LAZ35DAO.js';
4
- import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-I3E5D2CQ.js';
3
+ import { stripTerminalControls } from './chunk-YOJXGKVA.js';
4
+ import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-NXYTICCS.js';
5
5
  import { readFileSync } from 'fs';
6
6
 
7
7
  createRequire(import.meta.url);
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
55
55
  return [...new Set(names)].sort();
56
56
  }
57
57
  async function readOwnContainer(deps = {}) {
58
- const run = deps.run ?? (await import('./docker-RT6VSGFO.js')).spawnRun;
58
+ const run = deps.run ?? (await import('./docker-RZTRIYF7.js')).spawnRun;
59
59
  const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
60
60
  if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
61
61
  let problem = "";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LiveUploader } from './chunk-DG3VREJE.js';
4
- import { spoolDir } from './chunk-NYVDMD32.js';
3
+ import { LiveUploader } from './chunk-AFU6UF34.js';
4
+ import { spoolDir } from './chunk-A6EGNLXH.js';
5
5
  import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
6
- import { sessionFolderIn, legacyAgent } from './chunk-SDBSHT6L.js';
6
+ import { sessionFolderIn, legacyAgent } from './chunk-V3ZIIURQ.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { CaptureDaemon } from './chunk-2IDR4YTQ.js';
9
9
  import { mkdirSync, writeFileSync, rmSync } from 'fs';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { currentLink } from './chunk-RURRQTYH.js';
3
+ import { currentLink } from './chunk-CYQSTT5N.js';
4
4
  import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
5
5
  import { randomBytes } from 'crypto';
6
6
  import { join, dirname, delimiter, resolve } from 'path';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { keyRunnerFactory, RunnerConfigError } from './chunk-WQUEWYUC.js';
4
- import { orgHomeDir } from './chunk-2F4XVJUN.js';
3
+ import { keyRunnerFactory, RunnerConfigError } from './chunk-TRZOAT7E.js';
4
+ import { orgHomeDir } from './chunk-5PRVTL54.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-6FDFZ5UO.js';
4
- import { WorkCommandError, resolveCredentials, getJson } from './chunk-NAH7LEMX.js';
3
+ import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-2QK7L3WV.js';
4
+ import { WorkCommandError, resolveCredentials, getJson } from './chunk-ASAIS67T.js';
5
5
  import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-ZOS55UTZ.js';
7
+ import { defaultFetch } from './chunk-E7HPIXAM.js';
8
8
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
9
9
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
10
10
  import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
11
- import { parseProofsConfig } from './chunk-SDBSHT6L.js';
11
+ import { parseProofsConfig } from './chunk-V3ZIIURQ.js';
12
12
  import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
13
13
  import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-GBQRVYYE.js';
14
14
  import { spawnSync } from 'child_process';
@@ -130,7 +130,7 @@ async function judgeCheckName(cwd) {
130
130
  const dir = governingDir(cwd);
131
131
  if (dir === void 0) return {};
132
132
  if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
133
- const { checksIn } = await import('./host-checks-EZ5EPRNX.js');
133
+ const { checksIn } = await import('./host-checks-VGC5VOC4.js');
134
134
  const quiet = { line: () => void 0, error: () => void 0 };
135
135
  const check = checksIn(dir, quiet, "").checks.find((c) => c.judge.subjects === "criteria");
136
136
  return check === void 0 ? {} : { name: check.name };
@@ -366,7 +366,7 @@ async function runWorkProofs(opts) {
366
366
  async function runWorkProofsCommand(opts) {
367
367
  try {
368
368
  if (opts.record || opts.check) {
369
- const { runWorkProofsRecord } = await import('./work-proofs-record-AQIHZQXG.js');
369
+ const { runWorkProofsRecord } = await import('./work-proofs-record-L5QMD4HB.js');
370
370
  const result2 = await runWorkProofsRecord(opts);
371
371
  process.exitCode = result2.exitCode;
372
372
  return;
@@ -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-I32JMDTQ.js';
4
- import { parseSize } from './chunk-OADERJBS.js';
5
- import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-TQBQFD7K.js';
6
- import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-TM2WCOMA.js';
3
+ import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MYDYQUJD.js';
4
+ import { parseSize } from './chunk-EYN62KZW.js';
5
+ import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-GQZWTW3J.js';
6
+ import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-FMANPQZW.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';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-SDBSHT6L.js';
3
+ import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-V3ZIIURQ.js';
4
4
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7FAKHR6W.js';
5
5
  import { readFileSync } from 'fs';
6
6
  import { join } from 'path';
@@ -7745,7 +7745,7 @@ function splitJudgeFile(content) {
7745
7745
  if (end === -1) return null;
7746
7746
  return { frontmatter: lines.slice(1, end).join("\n"), body: lines.slice(end + 1).join("\n") };
7747
7747
  }
7748
- var JUDGE_KEYS = /* @__PURE__ */ new Set(["name", "description", "when", "counts", "for_each"]);
7748
+ var JUDGE_KEYS = /* @__PURE__ */ new Set(["name", "description", "when", "required", "for_each"]);
7749
7749
  var JUDGE_FILE_NAME = /([^/]*)\.md$/;
7750
7750
  function parseJudgeFile(file, problems) {
7751
7751
  var _a, _b, _c;
@@ -7796,9 +7796,9 @@ function parseJudgeFile(file, problems) {
7796
7796
  }
7797
7797
  description = trimmedDescription;
7798
7798
  }
7799
- const counts = (_c = root["counts"]) != null ? _c : false;
7800
- if (typeof counts !== "boolean") {
7801
- return fail(`"${id}" has counts "${inlineText(String(counts))}" \u2014 use true or false`);
7799
+ const required = (_c = root["required"]) != null ? _c : false;
7800
+ if (typeof required !== "boolean") {
7801
+ return fail(`"${id}" has required "${inlineText(String(required))}" \u2014 use true or false`);
7802
7802
  }
7803
7803
  const forEach = root["for_each"];
7804
7804
  if (forEach !== void 0 && forEach !== "criterion") {
@@ -7870,7 +7870,7 @@ function parseJudgeFile(file, problems) {
7870
7870
  id,
7871
7871
  name,
7872
7872
  description,
7873
- level: counts ? "warn" : "info",
7873
+ level: required ? "warn" : "info",
7874
7874
  whenPaths,
7875
7875
  whenIssueType,
7876
7876
  whenIssueLabels,
@@ -7888,6 +7888,52 @@ function parsePolicy(judgeFiles) {
7888
7888
  customs.sort((a, b) => a.id < b.id ? -1 : 1);
7889
7889
  return { customs, problems };
7890
7890
  }
7891
+ function pathGlobToRegExp(glob) {
7892
+ let out = "^";
7893
+ for (let i = 0; i < glob.length; i += 1) {
7894
+ const char = glob[i];
7895
+ if (char === "*") {
7896
+ if (glob[i + 1] === "*") {
7897
+ out += ".*";
7898
+ i += 1;
7899
+ } else {
7900
+ out += "[^/]*";
7901
+ }
7902
+ } else if (char === "?") {
7903
+ out += "[^/]";
7904
+ } else {
7905
+ out += char.replace(/[.+^${}()|[\]\\]/g, "\\$&");
7906
+ }
7907
+ }
7908
+ return new RegExp(`${out}$`);
7909
+ }
7910
+ function anyOf(values, test) {
7911
+ return values === null ? null : values.some(test);
7912
+ }
7913
+ function whenMatches(scope, facts) {
7914
+ const matches = [];
7915
+ if (scope.whenIssueType !== null) {
7916
+ const wanted = scope.whenIssueType.toLowerCase();
7917
+ matches.push({ key: "issue.type", matches: anyOf(facts.issueTypes, (name) => name.toLowerCase() === wanted) });
7918
+ }
7919
+ if (scope.whenIssueLabels !== null) {
7920
+ const wanted = scope.whenIssueLabels;
7921
+ matches.push({ key: "issue.labels", matches: anyOf(facts.issueLabels, (label) => wanted.includes(label)) });
7922
+ }
7923
+ if (scope.whenRepositories !== void 0) {
7924
+ const listed = new Set(scope.whenRepositories.map((name) => name.toLowerCase()));
7925
+ matches.push({ key: "repositories", matches: anyOf(facts.pullRequestRepositories, (name) => listed.has(name.toLowerCase())) });
7926
+ }
7927
+ if (scope.whenPaths !== null) {
7928
+ const patterns = scope.whenPaths.map(pathGlobToRegExp);
7929
+ matches.push({ key: "paths", matches: anyOf(facts.changedPaths, (path) => patterns.some((pattern) => pattern.test(path))) });
7930
+ }
7931
+ return matches;
7932
+ }
7933
+ function keyOutOfScope(matches) {
7934
+ var _a;
7935
+ return (_a = matches.find((match) => match.matches === false)) == null ? void 0 : _a.key;
7936
+ }
7891
7937
  var FILES_PLACEHOLDER = "{files}";
7892
7938
  function isRecord2(value) {
7893
7939
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -12466,4 +12512,4 @@ function knownTargetsLine(agents = defaultAgents()) {
12466
12512
  return `Known targets: ${targetIds(agents).join(", ")}.`;
12467
12513
  }
12468
12514
 
12469
- export { ADAPTER_FACTORIES, AGENTS_SKILLS_BASE, CONTEXT_PIN_FILENAME, FORMER_MAINTAINED_NAMES, HookTextError, MACHINE_SKILL_PATH, McpFileError, OUTERLAYER_SKILLS_BASE, TEMPLATE_SKILLS, agentById, agentRootFolders, captureAdapters, captureAgents, classifyTree, contextAgents, createNodeAgentIO, defaultAgents, emitBuilders, emitTree, generatedHeaderSource, isMaintainedCopy, knownTargetsLine, laptopAgents, legacyAgent, legacySubcommand, loadMachineSkillFiles, loadMaintainedFiles, loadTemplateFiles, maintainedFilesForExistingSkills, namesCore, normalizePath, normalizeRepoName, parseOuterlayerConfig, parsePolicy, parseProofsConfig, resolvePackRoot, restoreSkillPaths, sessionFolderIn, skillBases, skillDir, splitRawFile, targetIds, userSkillFolderIn, writeMaintainedFiles };
12515
+ export { ADAPTER_FACTORIES, AGENTS_SKILLS_BASE, CONTEXT_PIN_FILENAME, FORMER_MAINTAINED_NAMES, HookTextError, MACHINE_SKILL_PATH, McpFileError, OUTERLAYER_SKILLS_BASE, TEMPLATE_SKILLS, agentById, agentRootFolders, captureAdapters, captureAgents, classifyTree, contextAgents, createNodeAgentIO, defaultAgents, emitBuilders, emitTree, generatedHeaderSource, isMaintainedCopy, keyOutOfScope, knownTargetsLine, laptopAgents, legacyAgent, legacySubcommand, loadMachineSkillFiles, loadMaintainedFiles, loadTemplateFiles, maintainedFilesForExistingSkills, namesCore, normalizePath, normalizeRepoName, parseOuterlayerConfig, parsePolicy, parseProofsConfig, resolvePackRoot, restoreSkillPaths, sessionFolderIn, skillBases, skillDir, splitRawFile, targetIds, userSkillFolderIn, whenMatches, writeMaintainedFiles };
@@ -1,24 +1,24 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { checkStarterFiles, contextIsGoverned } from './chunk-YPIR4MGL.js';
4
- import { resolveCredentials, getJson, WorkCommandError } from './chunk-NAH7LEMX.js';
5
- import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-FHH5DQ7X.js';
6
- import { withInjectedPrograms } from './chunk-MCE7JACC.js';
7
- import { isLinkedRepository } from './chunk-V3LLYTKR.js';
3
+ import { checkStarterFiles, contextIsGoverned } from './chunk-CNEOUUPF.js';
4
+ import { resolveCredentials, getJson, WorkCommandError } from './chunk-ASAIS67T.js';
5
+ import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-4GXROH35.js';
6
+ import { withInjectedPrograms } from './chunk-ZQHGY6K2.js';
7
+ import { isLinkedRepository } from './chunk-7O37CF6M.js';
8
8
  import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
9
9
  import { C } from './chunk-2AM6Z5BP.js';
10
- import { checkFormerSkillNames } from './chunk-OU7GQC44.js';
11
- import { resolveGatewayCredentials, defaultFetch } from './chunk-ZOS55UTZ.js';
12
- import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-NYVDMD32.js';
10
+ import { checkFormerSkillNames } from './chunk-3ZE7ECW4.js';
11
+ import { resolveGatewayCredentials, defaultFetch } from './chunk-E7HPIXAM.js';
12
+ import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-A6EGNLXH.js';
13
13
  import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-LIPSGE6C.js';
14
14
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
15
15
  import { readStatuslineState, STATE_FRESH_MS } from './chunk-YWLRN4XV.js';
16
16
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
17
- import { installAgents, withSettingsText } from './chunk-5WDRNYGB.js';
17
+ import { installAgents, withSettingsText } from './chunk-K5GJMMKP.js';
18
18
  import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
19
19
  import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
20
20
  import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
21
- import { defaultAgents, legacyAgent, contextAgents } from './chunk-SDBSHT6L.js';
21
+ import { defaultAgents, legacyAgent, contextAgents } from './chunk-V3ZIIURQ.js';
22
22
  import { homeFromEnv } from './chunk-352DHUTP.js';
23
23
  import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
24
24
  import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
@@ -1053,9 +1053,9 @@ function doctorExitCode(checks) {
1053
1053
 
1054
1054
  // src/doctor-report.ts
1055
1055
  async function gatherDoctorChecks(options = {}) {
1056
- const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-UTRYIN6P.js');
1057
- const { listedAgents } = await import('./runner-agents-TJTD5U4S.js');
1058
- const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-HMI672LY.js');
1056
+ const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-33QIRSMR.js');
1057
+ const { listedAgents } = await import('./runner-agents-YGVCO7DM.js');
1058
+ const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-Y4PCLHUG.js');
1059
1059
  const configPath = options.configPath ?? defaultRunnerConfigPath();
1060
1060
  const runnerHost = hasRunnerBlock(configPath);
1061
1061
  const hooks = (() => {
@@ -1083,7 +1083,7 @@ async function gatherDoctorChecks(options = {}) {
1083
1083
  const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
1084
1084
  checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
1085
1085
  } else if (hasRunnerBlock(configPath)) {
1086
- const { runnerHostChecks } = await import('./doctor-ANCGRL4E.js');
1086
+ const { runnerHostChecks } = await import('./doctor-KWSSVXVZ.js');
1087
1087
  const gateway = (() => {
1088
1088
  try {
1089
1089
  const loaded = loadRunnerConfig(configPath);
@@ -1112,7 +1112,7 @@ async function gatherDoctorChecks(options = {}) {
1112
1112
  const service = await (async () => {
1113
1113
  const { existsSync: existsSync3 } = await import('fs');
1114
1114
  if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
1115
- const { inspectRunnerService } = await import('./find-unit-SI6DIT7C.js');
1115
+ const { inspectRunnerService } = await import('./find-unit-J7MA2PRR.js');
1116
1116
  return inspectRunnerService(configPath);
1117
1117
  })();
1118
1118
  checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
@@ -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-OJZ4TIKW.js';
5
- import { autoConnect } from './chunk-AA2K5FC6.js';
4
+ import { detectActiveSession } from './chunk-XGXGS54U.js';
5
+ import { autoConnect } from './chunk-EKJ37Z6K.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-ZOS55UTZ.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-E7HPIXAM.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';
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
3
3
  import { C } from './chunk-2AM6Z5BP.js';
4
4
  import { readCloudConfig } from './chunk-HWVMRETT.js';
5
5
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
6
- import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-SDBSHT6L.js';
6
+ import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-V3ZIIURQ.js';
7
7
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
8
8
  import { join, dirname } from 'path';
9
9
 
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { toolsDockerfile } from './chunk-PCBZGSPX.js';
4
- import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-PPWT33XU.js';
3
+ import { toolsDockerfile } from './chunk-CQKCNDPP.js';
4
+ import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-NRR4YLHI.js';
5
5
  import { startTimeOf } from './chunk-JBJTC3UU.js';
6
6
  import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
7
- import { runnerLabelValue } from './chunk-OADERJBS.js';
8
- import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-Q4IUKGIS.js';
7
+ import { runnerLabelValue } from './chunk-EYN62KZW.js';
8
+ import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-7BBQ5ZIN.js';
9
9
  import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
10
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-2F4XVJUN.js';
11
- import { withGitConfig, tokenHeader } from './chunk-TQBQFD7K.js';
12
- import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-TM2WCOMA.js';
10
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-5PRVTL54.js';
11
+ import { withGitConfig, tokenHeader } from './chunk-GQZWTW3J.js';
12
+ import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-FMANPQZW.js';
13
13
  import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
14
14
  import { tmpdir } from 'os';
15
15
  import { join, dirname } from 'path';
@@ -148,6 +148,14 @@ async function fetchCommit(input) {
148
148
  }
149
149
  }
150
150
  async function diffBetween(input) {
151
+ const read = await diffFromCommonAncestor(input, ["--binary", `--output=${input.output}`]);
152
+ return read.ok ? { ok: true } : read;
153
+ }
154
+ async function changedPathsBetween(input) {
155
+ const read = await diffFromCommonAncestor(input, ["--name-only", "-z", "--no-renames"]);
156
+ return read.ok ? { ok: true, paths: read.stdout.split("\0").filter((path) => path !== "") } : read;
157
+ }
158
+ async function diffFromCommonAncestor(input, options) {
151
159
  const credential = input.token === void 0 ? void 0 : tokenSettings(input.remote, input.token);
152
160
  try {
153
161
  mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
@@ -155,13 +163,8 @@ async function diffBetween(input) {
155
163
  const base = input.base === void 0 ? [] : [input.base];
156
164
  await withNewTokenRetry2(credential, () => git(input.dir, ["fetch", "--quiet", "--no-tags", "--filter=blob:none", input.remote, ...base, input.head, `+HEAD:${DIFF_DEFAULT_REF}`], CLONE_TIMEOUT_MS, credential));
157
165
  const from = await git(input.dir, ["merge-base", input.head, DIFF_DEFAULT_REF, ...base]);
158
- await git(
159
- input.dir,
160
- ["diff", "--no-ext-diff", "--no-textconv", "--no-color", "--binary", `--output=${input.output}`, from, input.head],
161
- CLONE_TIMEOUT_MS,
162
- credential
163
- );
164
- return { ok: true };
166
+ const stdout = await git(input.dir, ["diff", "--no-ext-diff", "--no-textconv", "--no-color", ...options, from, input.head], CLONE_TIMEOUT_MS, credential, true);
167
+ return { ok: true, stdout };
165
168
  } catch (err) {
166
169
  const detail = gitFailureLine(err);
167
170
  return { ok: false, reason: `the diff of ${input.head.slice(0, 8)} from ${input.base === void 0 ? "the default branch" : input.base.slice(0, 8)} could not be read from ${input.remote}: ${detail}` };
@@ -594,4 +597,4 @@ async function prune(host, repository, repoRecords, keep, runnerDirPath, runnerL
594
597
  return removed;
595
598
  }
596
599
 
597
- export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, diffBetween, fetchCommit, metadataFromLabels, prepareImageBuild, readBranchHead, readDefaultBranchFiles, readDefaultBranchHead, readRepositoryRecipe, universalBase, writeRecord };
600
+ export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, changedPathsBetween, diffBetween, fetchCommit, metadataFromLabels, prepareImageBuild, readBranchHead, readDefaultBranchFiles, readDefaultBranchHead, readRepositoryRecipe, universalBase, writeRecord };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { defaultAgents } from './chunk-SDBSHT6L.js';
3
+ import { defaultAgents } from './chunk-V3ZIIURQ.js';
4
4
  import { openSync, fstatSync, readSync, closeSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
4
- import { detectActiveSession, transcriptPathForSession } from './chunk-OJZ4TIKW.js';
5
- import { autoConnect } from './chunk-AA2K5FC6.js';
4
+ import { detectActiveSession, transcriptPathForSession } from './chunk-XGXGS54U.js';
5
+ import { autoConnect } from './chunk-EKJ37Z6K.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-ZOS55UTZ.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-E7HPIXAM.js';
8
8
  import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
9
9
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
12
- import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-SDBSHT6L.js';
12
+ import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-V3ZIIURQ.js';
13
13
  import { homeFromEnv } from './chunk-352DHUTP.js';
14
14
  import { resolveRepoIdentity, scrubText } from './chunk-2IDR4YTQ.js';
15
15
  import { FindingBatchSchema, findingGaps, FindingsResponseSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, SAME_PROBLEM_RULES, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH } from './chunk-GBQRVYYE.js';