@outerlayer/cli 0.38.0-next.20261105195352 → 0.38.0-next.20261106012958

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 (173) hide show
  1. package/dist/agent-setup-CBEPGNFY.js +40 -0
  2. package/dist/{agent-subcommand-H5LKM3HG.js → agent-subcommand-UNSXJUHA.js} +4 -4
  3. package/dist/{artifact-link-cmd-72FQTBGO.js → artifact-link-cmd-QP6VO7AJ.js} +2 -2
  4. package/dist/{bridge-RN5JYY7N.js → bridge-JI4IO7JN.js} +7 -7
  5. package/dist/{build-DJDZXY7M.js → build-2L3L2OJO.js} +13 -13
  6. package/dist/{build-disk-PN7QBYVR.js → build-disk-CKBEEF4N.js} +11 -11
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-NJXSBAX3.js → builder-PKDA7X2H.js} +10 -10
  9. package/dist/caller-XETCC46J.js +23 -0
  10. package/dist/{check-QF7RGLUL.js → check-FG32SYJF.js} +55 -55
  11. package/dist/{chunk-DDBCRY3Y.js → chunk-256R6O56.js} +3 -3
  12. package/dist/{chunk-P64TL3GV.js → chunk-2MQQASWB.js} +6 -6
  13. package/dist/{chunk-ZRYBGZI7.js → chunk-3DVCPRKE.js} +9 -9
  14. package/dist/{chunk-3YCKLA4N.js → chunk-3FAJMXBA.js} +8 -8
  15. package/dist/{chunk-NFKERPLC.js → chunk-3XWZKL2P.js} +7 -7
  16. package/dist/{chunk-BP3B5R7Y.js → chunk-45TFVWNT.js} +6 -6
  17. package/dist/{chunk-R2QIQZ4V.js → chunk-4MSEUIMK.js} +13 -7
  18. package/dist/{chunk-QAFR65VC.js → chunk-5R5FEPLH.js} +1 -1
  19. package/dist/{chunk-G74ZB2V4.js → chunk-5VAXNAOD.js} +1 -1
  20. package/dist/{chunk-SZN3CSEP.js → chunk-ABN4UBR5.js} +2 -2
  21. package/dist/{chunk-BHATB3L2.js → chunk-AJC5Q2NY.js} +5 -5
  22. package/dist/{chunk-WH4OWQ6T.js → chunk-AMG5ICDO.js} +4 -4
  23. package/dist/{chunk-XJPTMZJG.js → chunk-AVEF3T6Y.js} +2 -2
  24. package/dist/{chunk-GEC2G3SJ.js → chunk-BL6CCU26.js} +6 -6
  25. package/dist/{chunk-V52EY5UK.js → chunk-BO3NOGKE.js} +3 -3
  26. package/dist/{chunk-WPLNTUS6.js → chunk-CCMKLF7K.js} +6 -6
  27. package/dist/{chunk-6UXPXENL.js → chunk-CGXYPLK3.js} +2 -2
  28. package/dist/{chunk-75D54355.js → chunk-DK5YFDYI.js} +8 -8
  29. package/dist/{chunk-HUMQ4NLZ.js → chunk-DL5N6V3D.js} +1 -1
  30. package/dist/{chunk-ID3HBQYZ.js → chunk-DVFGCVTV.js} +5 -5
  31. package/dist/{chunk-3CN77FDB.js → chunk-DXBYNJRM.js} +6 -6
  32. package/dist/{chunk-AGDRXJSZ.js → chunk-EERD7VI3.js} +1 -1
  33. package/dist/{chunk-ZOLDM52Z.js → chunk-EFAOERZH.js} +1 -1
  34. package/dist/{chunk-44332APJ.js → chunk-EHJYXABQ.js} +1 -1
  35. package/dist/{chunk-ZFZ62TU4.js → chunk-ERQLHUWU.js} +5 -5
  36. package/dist/{chunk-BM25MMUE.js → chunk-EXIZ3G6I.js} +6 -6
  37. package/dist/{chunk-UFDJDVZD.js → chunk-FER7JJ3S.js} +1 -1
  38. package/dist/{chunk-PWCP3YVA.js → chunk-FGVVBYCT.js} +1 -1
  39. package/dist/{chunk-P26TVBYV.js → chunk-FOUG2R4Q.js} +1 -1
  40. package/dist/{chunk-NAGY6ISM.js → chunk-GMRVWRHD.js} +2 -2
  41. package/dist/{chunk-OD2F225Q.js → chunk-HG2ZG6ZU.js} +1 -1
  42. package/dist/{chunk-VVZIFOAN.js → chunk-IXB2IIEW.js} +1 -1
  43. package/dist/{chunk-O4CWZFC4.js → chunk-JTDMSQMI.js} +8 -8
  44. package/dist/{chunk-TTYZDLGW.js → chunk-K6JOU4CT.js} +25 -25
  45. package/dist/{chunk-3FKWVYWC.js → chunk-KLQLQQGG.js} +3 -3
  46. package/dist/{chunk-6Z5H7JV3.js → chunk-L4ACBB5R.js} +1 -1
  47. package/dist/{chunk-2VUBHRPG.js → chunk-MDKLSY43.js} +1 -1
  48. package/dist/{chunk-6S4THFJO.js → chunk-MPE4NOKD.js} +2 -2
  49. package/dist/{chunk-ZBPUHNUZ.js → chunk-NEEMG462.js} +1 -1
  50. package/dist/{chunk-ZZZIOKUN.js → chunk-O4Z2YVC3.js} +5 -5
  51. package/dist/{chunk-UEFLAGRW.js → chunk-OFWNBTLU.js} +1 -1
  52. package/dist/{chunk-EJOZNQBE.js → chunk-OGQW7A4G.js} +16 -12
  53. package/dist/{chunk-EUA3SKPV.js → chunk-ONOINHY4.js} +1 -1
  54. package/dist/{chunk-UAVBSFHI.js → chunk-OUHM6U6Z.js} +4 -4
  55. package/dist/{chunk-GUYDCCUH.js → chunk-PARDL7HH.js} +1 -1
  56. package/dist/{chunk-NYWLOOIL.js → chunk-PMJ6IEUM.js} +7 -7
  57. package/dist/{chunk-72DXH6AP.js → chunk-QONY6C2B.js} +9 -9
  58. package/dist/{chunk-XGQ7ZHNH.js → chunk-QWDGHEQL.js} +1 -1
  59. package/dist/{chunk-5BU252QJ.js → chunk-RSRNZB4T.js} +7 -7
  60. package/dist/{chunk-ORSNYGXN.js → chunk-RUJR3SDB.js} +1 -1
  61. package/dist/{chunk-A5FIUS53.js → chunk-RZ6WJTUP.js} +1 -1
  62. package/dist/{chunk-P22JMQJB.js → chunk-S7CE7QCF.js} +3 -3
  63. package/dist/{chunk-7DHQVVEC.js → chunk-SMFWLPXC.js} +16 -16
  64. package/dist/{chunk-365EXSFH.js → chunk-T524XQKI.js} +1 -1
  65. package/dist/{chunk-HBGVQT33.js → chunk-TAEDH2SU.js} +1 -1
  66. package/dist/{chunk-SCH5S3VW.js → chunk-U5EE7PGC.js} +3 -3
  67. package/dist/{chunk-QNQS4PET.js → chunk-U7L4GBGS.js} +1 -1
  68. package/dist/{chunk-KEY5IDTC.js → chunk-VNT2IRLM.js} +4 -4
  69. package/dist/{chunk-LQJAZ4VK.js → chunk-VWNQRD4I.js} +4 -4
  70. package/dist/{chunk-QNPJ4VZ2.js → chunk-WF2NXBOM.js} +7 -7
  71. package/dist/{chunk-S24KG7NY.js → chunk-X2DX3A7H.js} +1 -1
  72. package/dist/{chunk-SZKBH2BO.js → chunk-XDRZ3BNA.js} +1 -1
  73. package/dist/{chunk-LWHHAZ75.js → chunk-XE2PXGZT.js} +3 -3
  74. package/dist/{chunk-6VCNDRNW.js → chunk-YKWOVYVN.js} +4 -4
  75. package/dist/{chunk-HV44EL6A.js → chunk-YWWW47OY.js} +1 -1
  76. package/dist/{chunk-2JIGPSVF.js → chunk-YXXJBHHF.js} +20 -4
  77. package/dist/{chunk-KZG3R5YD.js → chunk-YZRDJOOR.js} +3 -3
  78. package/dist/{chunk-AUQPAVRV.js → chunk-Z4R36YDJ.js} +29 -29
  79. package/dist/{chunk-HLBN3FLS.js → chunk-ZCEM4GJ5.js} +3 -3
  80. package/dist/{chunk-DSR3VW72.js → chunk-ZLJXMXZP.js} +2 -2
  81. package/dist/{chunk-FIXRXONQ.js → chunk-ZO3RUMUR.js} +4 -4
  82. package/dist/{chunk-NIUSFUUS.js → chunk-ZTJTAKVW.js} +1 -1
  83. package/dist/{claude-launcher-LIV7LKKT.js → claude-launcher-FHQTSQOM.js} +7 -7
  84. package/dist/{cli-NKKF5PF5.js → cli-GNC4MFMP.js} +149 -148
  85. package/dist/{command-ZQDMVPD4.js → command-47EYM2FJ.js} +50 -50
  86. package/dist/{config-6LQKXZNE.js → config-EA6WVKAS.js} +12 -12
  87. package/dist/{connect-cmd-KHOYYXIY.js → connect-cmd-4JO2LBUT.js} +13 -13
  88. package/dist/{container-start-FGSVYG2T.js → container-start-XR7KANS6.js} +48 -48
  89. package/dist/{context-cleanup-WYI3QQBI.js → context-cleanup-6CTKLEUT.js} +4 -4
  90. package/dist/{context-show-cmd-MUSMZ3ZM.js → context-show-cmd-Z7NQAKNE.js} +14 -14
  91. package/dist/{control-plane-launch-UGMPLX2S.js → control-plane-launch-4PLBJKBS.js} +14 -14
  92. package/dist/{demo-record-cmd-GO4ZIP4J.js → demo-record-cmd-3B2ME2ZI.js} +8 -8
  93. package/dist/{demo-voice-cmd-YOIL75H3.js → demo-voice-cmd-LIXAA3OS.js} +20 -20
  94. package/dist/{dist-U6EGOQD5.js → dist-3TV6G4YF.js} +2 -2
  95. package/dist/{docker-IWTHGXFC.js → docker-FPEQS6HK.js} +10 -10
  96. package/dist/{doctor-UUCRZ7JO.js → doctor-AFH6UUX6.js} +50 -50
  97. package/dist/{emit-artifact-cmd-IG5O5KUV.js → emit-artifact-cmd-5XIEUWFX.js} +19 -19
  98. package/dist/{emit-cmd-KGBGKB56.js → emit-cmd-IKYF27IK.js} +7 -7
  99. package/dist/{emit-criteria-cmd-HV3RXCV5.js → emit-criteria-cmd-YS5ZSLCN.js} +16 -16
  100. package/dist/{emit-demo-cmd-ZKHGJUW7.js → emit-demo-cmd-IDC2JC46.js} +20 -20
  101. package/dist/{emit-finding-cmd-PBTELK66.js → emit-finding-cmd-C4NRTIZO.js} +16 -16
  102. package/dist/{emit-result-cmd-JJUNDXEH.js → emit-result-cmd-GC2I7JQU.js} +18 -18
  103. package/dist/{emit-step-cmd-5VZQBGLU.js → emit-step-cmd-TTH4FYFW.js} +16 -16
  104. package/dist/{exec-client-PH7FI3Q3.js → exec-client-DT5EWVQL.js} +8 -8
  105. package/dist/find-unit-337Y4QAC.js +24 -0
  106. package/dist/{findings-cmd-PVP6D4ZV.js → findings-cmd-MSV52ODM.js} +16 -16
  107. package/dist/{fleet-readiness-YZZ6YDXZ.js → fleet-readiness-O76CSI7M.js} +14 -14
  108. package/dist/{governing-source-UUDIJISJ.js → governing-source-QEFYVBQF.js} +21 -21
  109. package/dist/{guest-init-KXBNS3NA.js → guest-init-X7M5AIOI.js} +9 -9
  110. package/dist/{hook-fast-CRC7M2YT.js → hook-fast-T6FOTZHA.js} +1 -1
  111. package/dist/{hook-install-3UNSUQVP.js → hook-install-OUSUHQ6C.js} +4 -4
  112. package/dist/host-checks-OXB5J3KR.js +79 -0
  113. package/dist/host-key-UFUIBFBF.js +18 -0
  114. package/dist/{image-tag-S5LR2FDL.js → image-tag-AE6EKDPV.js} +8 -8
  115. package/dist/index.js +4 -4
  116. package/dist/{init-2JDKKCKC.js → init-PUN3PKOT.js} +46 -46
  117. package/dist/init-V7X3KA7B.js +79 -0
  118. package/dist/{init-agent-ESCPFY6L.js → init-agent-D3KK24QX.js} +46 -46
  119. package/dist/{init-cmd-RXB7ZCFD.js → init-cmd-LGRN3U7K.js} +27 -27
  120. package/dist/{init-update-YIQRJG5U.js → init-update-ZL2J7EQI.js} +24 -24
  121. package/dist/{install-cmd-OG4IHLHP.js → install-cmd-4ID4VBH2.js} +10 -10
  122. package/dist/{layout-ZDD5JMAD.js → layout-G6K72TXK.js} +4 -4
  123. package/dist/{login-browser-AMCRDS5C.js → login-browser-I6CWBA7K.js} +2 -2
  124. package/dist/{logs-LLFBENNJ.js → logs-DIA3NWC2.js} +7 -7
  125. package/dist/loop-AWBFKDV7.js +90 -0
  126. package/dist/machine-BZPKYURG.js +79 -0
  127. package/dist/{machine-skills-G253FBPY.js → machine-skills-JLJJDXBS.js} +4 -4
  128. package/dist/{mcp-install-cmd-WLU64HPE.js → mcp-install-cmd-OTAX7QP2.js} +4 -4
  129. package/dist/{mcp-serve-cmd-YJX7HUHL.js → mcp-serve-cmd-63KQEQYS.js} +9 -9
  130. package/dist/{paths-5OXE4APD.js → paths-KVMMJQ7T.js} +7 -7
  131. package/dist/pending-2IE3VBAN.js +18 -0
  132. package/dist/{pidfile-ID52SG3L.js → pidfile-NCBBWZNH.js} +8 -8
  133. package/dist/{record-XIM2Z2JO.js → record-PQDJVKYV.js} +8 -8
  134. package/dist/{relay-T22SKZ3G.js → relay-QDB526DJ.js} +5 -5
  135. package/dist/{relay-protocol-64ZEAKJ4.js → relay-protocol-PJ2HOP6B.js} +5 -5
  136. package/dist/{runner-agents-AGFDPTJN.js → runner-agents-CEW4Z3FR.js} +4 -4
  137. package/dist/runner-env-23OLQBQZ.js +24 -0
  138. package/dist/{runner-identity-T7HDG3QU.js → runner-identity-IJKE4SRJ.js} +10 -10
  139. package/dist/{runner-key-RXTJDYTI.js → runner-key-4J4MHN3S.js} +46 -46
  140. package/dist/{session-sender-B6CSWAHX.js → session-sender-HKNACIH5.js} +19 -19
  141. package/dist/{spec-cmd-HIQYYRBQ.js → spec-cmd-4R7AYTBU.js} +17 -17
  142. package/dist/{starter-pack-AK7Z6XLF.js → starter-pack-6C7HPT4O.js} +5 -5
  143. package/dist/state-DPEWDXQN.js +18 -0
  144. package/dist/{status-YD7P337P.js → status-GMVC666R.js} +46 -46
  145. package/dist/{sync-cmd-BRP4QE2W.js → sync-cmd-UMAENSGZ.js} +18 -18
  146. package/dist/update-steps-GTXNCG3Z.js +80 -0
  147. package/dist/{watch-B3NVFDVP.js → watch-RAUF223H.js} +18 -18
  148. package/dist/{work-claim-cmd-H6M5ANKL.js → work-claim-cmd-A3ISXUFA.js} +22 -22
  149. package/dist/{work-cmd-DJNV646Q.js → work-cmd-U7YLMDZ7.js} +16 -16
  150. package/dist/{work-comment-cmd-6QZQPRJ7.js → work-comment-cmd-CMWMOWVG.js} +18 -18
  151. package/dist/{work-demo-cmd-6MZIVYHK.js → work-demo-cmd-EKTJHIVM.js} +16 -16
  152. package/dist/{work-logs-cmd-IS4GV5VC.js → work-logs-cmd-Z3QOFYTJ.js} +16 -16
  153. package/dist/{work-open-pr-cmd-KZSKJKEQ.js → work-open-pr-cmd-NJXIX3QZ.js} +17 -17
  154. package/dist/{work-pr-cmd-ARVEEUF3.js → work-pr-cmd-JUV3SN7I.js} +16 -16
  155. package/dist/{work-proofs-cmd-YUH3XYQE.js → work-proofs-cmd-MIDPIFTH.js} +18 -18
  156. package/dist/{work-proofs-record-BDYS2VU2.js → work-proofs-record-6FTMJDQG.js} +25 -25
  157. package/dist/{work-stop-cmd-U67OPSCS.js → work-stop-cmd-Z7MYNR7R.js} +16 -16
  158. package/package.json +1 -1
  159. package/skill-pack/maintained/outerlayer-amend/SKILL.md +13 -13
  160. package/skill-pack/maintained/outerlayer-amend/references/failed-checks.md +35 -0
  161. package/skill-pack/maintained/outerlayer-build/references/evidence.md +5 -2
  162. package/dist/agent-setup-THQTFPYB.js +0 -40
  163. package/dist/caller-T65G6G3Z.js +0 -23
  164. package/dist/find-unit-527IGJNL.js +0 -24
  165. package/dist/host-checks-ISCYYAYB.js +0 -79
  166. package/dist/host-key-535Z4MV6.js +0 -18
  167. package/dist/init-CGYS6IGX.js +0 -79
  168. package/dist/loop-36JR7RB2.js +0 -90
  169. package/dist/machine-DGMGTVD7.js +0 -79
  170. package/dist/pending-YC4KF2AW.js +0 -18
  171. package/dist/runner-env-W7LASDJX.js +0 -24
  172. package/dist/state-ZQN2O2PB.js +0 -18
  173. package/dist/update-steps-SBBEBOIJ.js +0 -80
@@ -1,16 +1,16 @@
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-V52EY5UK.js';
4
- import { WorkCommandError, resolveCredentials, getJson } from './chunk-O4CWZFC4.js';
5
- import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
3
+ import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-BO3NOGKE.js';
4
+ import { WorkCommandError, resolveCredentials, getJson } from './chunk-JTDMSQMI.js';
5
+ import { sanitizeTerminal } from './chunk-IXB2IIEW.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-SZKBH2BO.js';
7
+ import { defaultFetch } from './chunk-XDRZ3BNA.js';
8
8
  import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
9
9
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
10
10
  import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
11
- import { parseProofsConfig } from './chunk-XJPTMZJG.js';
12
- import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
13
- import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit } from './chunk-2JIGPSVF.js';
11
+ import { parseProofsConfig } from './chunk-AVEF3T6Y.js';
12
+ import { resolveRepoIdentity } from './chunk-5R5FEPLH.js';
13
+ import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-YXXJBHHF.js';
14
14
  import { spawnSync } from 'child_process';
15
15
  import { createHash } from 'crypto';
16
16
  import { readFileSync, readdirSync, lstatSync, statSync, existsSync } from 'fs';
@@ -129,14 +129,14 @@ function governingDir(cwd) {
129
129
  async function testProofMode(cwd) {
130
130
  const dir = governingDir(cwd);
131
131
  if (dir === void 0) return "any";
132
- const { testProofIn } = await import('./host-checks-ISCYYAYB.js');
132
+ const { testProofIn } = await import('./host-checks-OXB5J3KR.js');
133
133
  return testProofIn(dir);
134
134
  }
135
135
  async function judgeCheckName(cwd) {
136
136
  const dir = governingDir(cwd);
137
137
  if (dir === void 0) return {};
138
138
  if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
139
- const { checksIn, isJudgeCheck } = await import('./host-checks-ISCYYAYB.js');
139
+ const { checksIn, isJudgeCheck } = await import('./host-checks-OXB5J3KR.js');
140
140
  const quiet = { line: () => void 0, error: () => void 0 };
141
141
  const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
142
142
  return check === void 0 ? {} : { name: check.name };
@@ -224,7 +224,11 @@ ${parts.join("\n")}
224
224
  }
225
225
  function testSelectors(tests) {
226
226
  if (!tests.selected) return [];
227
- return tests.items.map((test) => test.file !== null && test.line !== null ? `${test.name}=${test.file}:${test.line}` : test.name);
227
+ return tests.items.map((test) => {
228
+ if (test.file === null) return test.name;
229
+ if (test.line !== null) return `${test.name}=${test.file}:${test.line}`;
230
+ return isTestSourcePath(test.file) ? `${test.name}=${test.file}` : test.name;
231
+ });
228
232
  }
229
233
  function testFilesOf(tests) {
230
234
  return [...new Set(tests.items.flatMap((test) => test.file === null ? [] : [test.file]))].sort();
@@ -246,7 +250,7 @@ function recordingProblems(input) {
246
250
  if (entry.proof !== "test" || entry.tests === void 0) continue;
247
251
  const files = testFilesOf(entry.tests);
248
252
  const unmatched = files.filter((file) => matches(file) === void 0);
249
- if (files.length === 0) problems.push(`The host cannot record ${entry.id} again: its results name no test file. Emit them again naming each test with --test <name>=<path>:<line>.`);
253
+ if (files.length === 0) problems.push(`The host cannot record ${entry.id} again: its results name no test file. Turn on the JUnit reporter's file attribute (Vitest and jest-junit: addFileAttribute) and emit them again, or name each test's file with --test <name>=<path>.`);
250
254
  else if (unmatched.length > 0) problems.push(`The host cannot record ${entry.id} again: no runner in .outerlayer-proofs.yaml matches ${unmatched.join(", ")}.`);
251
255
  }
252
256
  return problems;
@@ -368,7 +372,7 @@ async function runWorkProofs(opts) {
368
372
  async function runWorkProofsCommand(opts) {
369
373
  try {
370
374
  if (opts.record) {
371
- const { runWorkProofsRecord } = await import('./work-proofs-record-BDYS2VU2.js');
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-6FTMJDQG.js');
372
376
  const result2 = await runWorkProofsRecord(opts);
373
377
  process.exitCode = result2.exitCode;
374
378
  return;
@@ -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-UAVBSFHI.js';
3
+ import { RELAY_PORT, BUILD_HOME } from './chunk-OUHM6U6Z.js';
4
4
  import { createServer, connect } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-6UXPXENL.js';
4
- import { strippedVariables } from './chunk-A5FIUS53.js';
5
- import { defaultAgents } from './chunk-XJPTMZJG.js';
3
+ import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-CGXYPLK3.js';
4
+ import { strippedVariables } from './chunk-RZ6WJTUP.js';
5
+ import { defaultAgents } from './chunk-AVEF3T6Y.js';
6
6
  import { PROVIDERS } from './chunk-7PZDPISM.js';
7
- import { MIN_SCRUBBED_LITERAL } from './chunk-QAFR65VC.js';
7
+ import { MIN_SCRUBBED_LITERAL } from './chunk-5R5FEPLH.js';
8
8
  import { mkdirSync, writeFileSync, existsSync, unlinkSync, chmodSync } from 'fs';
9
9
  import { request as request$1, createServer } from 'http';
10
10
  import { request } from 'https';
@@ -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-G74ZB2V4.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-5VAXNAOD.js';
5
5
  import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
6
6
  import { dirname } from 'path';
7
7
 
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { scrubReason, stripTerminalControls } from './chunk-AUQPAVRV.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-P64TL3GV.js';
5
- import { RunnerAlreadyRunningError, readPidFile } from './chunk-GUYDCCUH.js';
3
+ import { scrubReason, stripTerminalControls } from './chunk-Z4R36YDJ.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-2MQQASWB.js';
5
+ import { RunnerAlreadyRunningError, readPidFile } from './chunk-PARDL7HH.js';
6
6
  import { isSameProcess } from './chunk-JBJTC3UU.js';
7
- import { isSignatureRefusal, postJson } from './chunk-O4CWZFC4.js';
8
- import { keyRunnerFactory } from './chunk-KEY5IDTC.js';
9
- import { signerFor } from './chunk-ZOLDM52Z.js';
10
- import { pidFilePath } from './chunk-G74ZB2V4.js';
7
+ import { isSignatureRefusal, postJson } from './chunk-JTDMSQMI.js';
8
+ import { keyRunnerFactory } from './chunk-VNT2IRLM.js';
9
+ import { signerFor } from './chunk-EFAOERZH.js';
10
+ import { pidFilePath } from './chunk-5VAXNAOD.js';
11
11
  import { readFileSync } from 'fs';
12
12
 
13
13
  createRequire(import.meta.url);
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-AUQPAVRV.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-P64TL3GV.js';
5
- import { getJson, WorkCommandError } from './chunk-O4CWZFC4.js';
6
- import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-KEY5IDTC.js';
7
- import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-6S4THFJO.js';
8
- import { ensureHostKey } from './chunk-ZOLDM52Z.js';
9
- import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-6UXPXENL.js';
10
- import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-A5FIUS53.js';
11
- import { defaultAgents } from './chunk-XJPTMZJG.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-Z4R36YDJ.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-2MQQASWB.js';
5
+ import { getJson, WorkCommandError } from './chunk-JTDMSQMI.js';
6
+ import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-VNT2IRLM.js';
7
+ import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MPE4NOKD.js';
8
+ import { ensureHostKey } from './chunk-EFAOERZH.js';
9
+ import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-CGXYPLK3.js';
10
+ import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-RZ6WJTUP.js';
11
+ import { defaultAgents } from './chunk-AVEF3T6Y.js';
12
12
  import { closeSync, openSync, constants, readFileSync } from 'fs';
13
13
  import { join, dirname } from 'path';
14
14
  import { totalmem } from 'os';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-SF2TBJBP.js';
4
- import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-XJPTMZJG.js';
4
+ import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-AVEF3T6Y.js';
5
5
  import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
6
6
  import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
7
7
  import { lstatSync, readFileSync } from 'fs';
@@ -1,17 +1,17 @@
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-R2QIQZ4V.js';
4
+ import { runEmitArtifact } from './chunk-4MSEUIMK.js';
5
5
  import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
6
- import { detectActiveSession } from './chunk-HUMQ4NLZ.js';
7
- import { autoConnect } from './chunk-LWHHAZ75.js';
6
+ import { detectActiveSession } from './chunk-DL5N6V3D.js';
7
+ import { autoConnect } from './chunk-XE2PXGZT.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { defaultFetch, resolveGatewayCredentials } from './chunk-SZKBH2BO.js';
9
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-XDRZ3BNA.js';
10
10
  import { launchedItemForSession } from './chunk-4OD45RBP.js';
11
- import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-A5FIUS53.js';
11
+ import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-RZ6WJTUP.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
- import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
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-2JIGPSVF.js';
13
+ import { resolveRepoIdentity } from './chunk-5R5FEPLH.js';
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-YXXJBHHF.js';
15
15
  import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
16
16
  import { createHash } from 'crypto';
17
17
  import { mkdtempSync, writeFileSync, statSync, readFileSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } from 'fs';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { currentLink } from './chunk-NIUSFUUS.js';
3
+ import { currentLink } from './chunk-ZTJTAKVW.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,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { defaultAgents, agentById } from './chunk-XJPTMZJG.js';
3
+ import { defaultAgents, agentById } from './chunk-AVEF3T6Y.js';
4
4
  import { PROVIDERS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
5
5
  import { join, dirname } from 'path';
6
6
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { stripTerminalControls } from './chunk-AUQPAVRV.js';
4
- import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-HBGVQT33.js';
3
+ import { stripTerminalControls } from './chunk-Z4R36YDJ.js';
4
+ import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-TAEDH2SU.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-IWTHGXFC.js')).spawnRun;
58
+ const run = deps.run ?? (await import('./docker-FPEQS6HK.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,26 +1,26 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { checkStarterFiles, contextIsGoverned } from './chunk-ZFZ62TU4.js';
4
- import { resolveCredentials, getJson, WorkCommandError } from './chunk-O4CWZFC4.js';
5
- import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-GEC2G3SJ.js';
6
- import { withInjectedPrograms } from './chunk-AGDRXJSZ.js';
7
- import { isLinkedRepository } from './chunk-BM25MMUE.js';
8
- import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
3
+ import { checkStarterFiles, contextIsGoverned } from './chunk-ERQLHUWU.js';
4
+ import { resolveCredentials, getJson, WorkCommandError } from './chunk-JTDMSQMI.js';
5
+ import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-BL6CCU26.js';
6
+ import { withInjectedPrograms } from './chunk-EERD7VI3.js';
7
+ import { isLinkedRepository } from './chunk-EXIZ3G6I.js';
8
+ import { sanitizeTerminal } from './chunk-IXB2IIEW.js';
9
9
  import { C } from './chunk-2AM6Z5BP.js';
10
- import { checkFormerSkillNames } from './chunk-365EXSFH.js';
11
- import { resolveGatewayCredentials, defaultFetch } from './chunk-SZKBH2BO.js';
12
- import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-DDBCRY3Y.js';
10
+ import { checkFormerSkillNames } from './chunk-T524XQKI.js';
11
+ import { resolveGatewayCredentials, defaultFetch } from './chunk-XDRZ3BNA.js';
12
+ import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-256R6O56.js';
13
13
  import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
14
14
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
15
15
  import { readStatuslineState, STATE_FRESH_MS } from './chunk-M53UNEO6.js';
16
16
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
17
- import { installAgents, withSettingsText } from './chunk-44332APJ.js';
17
+ import { installAgents, withSettingsText } from './chunk-EHJYXABQ.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-XJPTMZJG.js';
21
+ import { defaultAgents, legacyAgent, contextAgents } from './chunk-AVEF3T6Y.js';
22
22
  import { homeFromEnv } from './chunk-352DHUTP.js';
23
- import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-QAFR65VC.js';
23
+ import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-5R5FEPLH.js';
24
24
  import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
25
25
  import { sep, join, dirname, resolve, delimiter } from 'path';
26
26
  import { execFileSync } from 'child_process';
@@ -1050,8 +1050,8 @@ function doctorExitCode(checks) {
1050
1050
 
1051
1051
  // src/doctor-report.ts
1052
1052
  async function gatherDoctorChecks() {
1053
- const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-PN7QBYVR.js');
1054
- const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-6LQKXZNE.js');
1053
+ const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-CKBEEF4N.js');
1054
+ const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-EA6WVKAS.js');
1055
1055
  const configPath = defaultRunnerConfigPath();
1056
1056
  const runnerHost = hasRunnerBlock(configPath);
1057
1057
  const hooks = (() => {
@@ -1079,7 +1079,7 @@ async function gatherDoctorChecks() {
1079
1079
  const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
1080
1080
  checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
1081
1081
  } else if (hasRunnerBlock(configPath)) {
1082
- const { runnerHostChecks } = await import('./doctor-UUCRZ7JO.js');
1082
+ const { runnerHostChecks } = await import('./doctor-AFH6UUX6.js');
1083
1083
  const gateway = (() => {
1084
1084
  try {
1085
1085
  const loaded = loadRunnerConfig(configPath);
@@ -1107,7 +1107,7 @@ async function gatherDoctorChecks() {
1107
1107
  const service = await (async () => {
1108
1108
  const { existsSync: existsSync3 } = await import('fs');
1109
1109
  if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
1110
- const { inspectRunnerService } = await import('./find-unit-527IGJNL.js');
1110
+ const { inspectRunnerService } = await import('./find-unit-337Y4QAC.js');
1111
1111
  return inspectRunnerService(configPath);
1112
1112
  })();
1113
1113
  checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
4
- import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-XJPTMZJG.js';
4
+ import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-AVEF3T6Y.js';
5
5
  import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
6
6
  import { join, dirname, relative, sep } 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-G74ZB2V4.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-5VAXNAOD.js';
5
5
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
6
6
  import { join } from 'path';
7
7
 
@@ -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-UAVBSFHI.js';
4
- import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-6UXPXENL.js';
5
- import { defaultAgents } from './chunk-XJPTMZJG.js';
3
+ import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-OUHM6U6Z.js';
4
+ import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-CGXYPLK3.js';
5
+ import { defaultAgents } from './chunk-AVEF3T6Y.js';
6
6
  import { PROVIDERS } from './chunk-7PZDPISM.js';
7
7
  import { symlinkSync, unlinkSync } from 'fs';
8
8
  import { join } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-G74ZB2V4.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-5VAXNAOD.js';
4
4
  import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-6S4THFJO.js';
4
- import { parseSize } from './chunk-3YCKLA4N.js';
5
- import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-UAVBSFHI.js';
6
- import { builderDiskPinned } from './chunk-A5FIUS53.js';
3
+ import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MPE4NOKD.js';
4
+ import { parseSize } from './chunk-3FAJMXBA.js';
5
+ import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-OUHM6U6Z.js';
6
+ import { builderDiskPinned } from './chunk-RZ6WJTUP.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,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LiveUploader } from './chunk-ZRYBGZI7.js';
4
- import { spoolDir } from './chunk-DDBCRY3Y.js';
3
+ import { LiveUploader } from './chunk-3DVCPRKE.js';
4
+ import { spoolDir } from './chunk-256R6O56.js';
5
5
  import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
6
- import { sessionFolderIn, legacyAgent } from './chunk-XJPTMZJG.js';
6
+ import { sessionFolderIn, legacyAgent } from './chunk-AVEF3T6Y.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
- import { CaptureDaemon } from './chunk-QAFR65VC.js';
8
+ import { CaptureDaemon } from './chunk-5R5FEPLH.js';
9
9
  import { mkdirSync, writeFileSync, rmSync } from 'fs';
10
10
  import { join } from 'path';
11
11
 
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { toolsDockerfile } from './chunk-6VCNDRNW.js';
4
- import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-GUYDCCUH.js';
3
+ import { toolsDockerfile } from './chunk-YKWOVYVN.js';
4
+ import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-PARDL7HH.js';
5
5
  import { startTimeOf } from './chunk-JBJTC3UU.js';
6
- import { runnerLabelValue } from './chunk-3YCKLA4N.js';
7
- import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-UFDJDVZD.js';
8
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-G74ZB2V4.js';
9
- import { withGitConfig, tokenHeader } from './chunk-UAVBSFHI.js';
10
- import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-A5FIUS53.js';
6
+ import { runnerLabelValue } from './chunk-3FAJMXBA.js';
7
+ import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-FER7JJ3S.js';
8
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-5VAXNAOD.js';
9
+ import { withGitConfig, tokenHeader } from './chunk-OUHM6U6Z.js';
10
+ import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-RZ6WJTUP.js';
11
11
  import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
12
12
  import { tmpdir } from 'os';
13
13
  import { join } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-XJPTMZJG.js';
3
+ import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-AVEF3T6Y.js';
4
4
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
5
5
  import { readFileSync } from 'fs';
6
6
  import { join } from 'path';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
4
- import { signRunnerRequest, signerFor } from './chunk-ZOLDM52Z.js';
4
+ import { signRunnerRequest, signerFor } from './chunk-EFAOERZH.js';
5
5
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
6
6
  import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-NFZMENCY.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-BM25MMUE.js';
4
- import { resolveGatewayCredentials } from './chunk-SZKBH2BO.js';
3
+ import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-EXIZ3G6I.js';
4
+ import { resolveGatewayCredentials } from './chunk-XDRZ3BNA.js';
5
5
  import { readCloudConfig } from './chunk-HWVMRETT.js';
6
6
  import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
8
  import { homeFromEnv } from './chunk-352DHUTP.js';
9
- import { resolveRepoIdentity } from './chunk-QAFR65VC.js';
9
+ import { resolveRepoIdentity } from './chunk-5R5FEPLH.js';
10
10
 
11
11
  createRequire(import.meta.url);
12
12
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { PROXY_WARNING_FLAG } from './chunk-UAVBSFHI.js';
4
- import { RELAY_ID, RELAY_USER } from './chunk-6UXPXENL.js';
5
- import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-A5FIUS53.js';
6
- import { defaultAgents } from './chunk-XJPTMZJG.js';
3
+ import { PROXY_WARNING_FLAG } from './chunk-OUHM6U6Z.js';
4
+ import { RELAY_ID, RELAY_USER } from './chunk-CGXYPLK3.js';
5
+ import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-RZ6WJTUP.js';
6
+ import { defaultAgents } from './chunk-AVEF3T6Y.js';
7
7
 
8
8
  createRequire(import.meta.url);
9
9
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-XJPTMZJG.js';
3
+ import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-AVEF3T6Y.js';
4
4
  import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
5
5
  import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
6
6
  import { relative, sep, join, posix } from 'path';
@@ -22070,6 +22070,12 @@ function isSafeRelativePath(path) {
22070
22070
  if (path.includes("\0")) return false;
22071
22071
  return !path.split(/[\\/]/).includes("..");
22072
22072
  }
22073
+ function isTestSourcePath(path) {
22074
+ return isSafeRelativePath(path) && looksLikeTestSource(path);
22075
+ }
22076
+ function looksLikeTestSource(path) {
22077
+ return !/\s/.test(path) && /\.(?:ts|tsx|mts|cts|js|jsx|mjs|cjs|py|rb|go|rs|java|kt|cs|php|swift)$/.test(path);
22078
+ }
22073
22079
  var TestSelectionSchema = external_exports.object({
22074
22080
  name: external_exports.string().min(1).max(TEST_NAME_MAX),
22075
22081
  file: external_exports.string().refine(isSafeRelativePath, { message: "must be a relative path inside the repository" }).optional(),
@@ -22141,11 +22147,14 @@ function parseJunit(bytes) {
22141
22147
  if (testcases.length >= MAX_TESTCASES) throw new LimitError(`more than ${MAX_TESTCASES} testcases`);
22142
22148
  const rawFile = attributes.file;
22143
22149
  const safeFile = rawFile !== void 0 && isSafeRelativePath(rawFile) ? rawFile : null;
22150
+ const classname = attributes.classname;
22151
+ const classFile = safeFile === null && classname !== void 0 && isTestSourcePath(classname) ? classname : null;
22144
22152
  testcases.push({
22145
22153
  name: (_b = attributes.name) != null ? _b : "",
22146
22154
  suite: (_c = suites[suites.length - 1]) != null ? _c : "",
22147
22155
  status: "passed",
22148
- file: safeFile,
22156
+ file: safeFile != null ? safeFile : classFile,
22157
+ fileFromClassname: classFile !== null,
22149
22158
  line: safeFile === null ? null : attributeLine(attributes.line),
22150
22159
  failure: null
22151
22160
  });
@@ -22236,7 +22245,7 @@ function bindTests(parsed, selection) {
22236
22245
  if (failed) failedKept += 1;
22237
22246
  else otherKept += 1;
22238
22247
  }
22239
- const ownLocation = testcase.file !== null;
22248
+ const ownLocation = testcase.file !== null && !(testcase.fileFromClassname && (chosen == null ? void 0 : chosen.file) !== void 0);
22240
22249
  const failure2 = chosen !== void 0 || failureTextsKept < STORED_FAILURES_MAX ? testcase.failure : null;
22241
22250
  if (failure2 !== null && chosen === void 0) failureTextsKept += 1;
22242
22251
  tests.push({
@@ -22253,7 +22262,14 @@ function bindTests(parsed, selection) {
22253
22262
  }
22254
22263
  function parseTestSelector(raw) {
22255
22264
  const equals = raw.lastIndexOf("=");
22256
- const location = equals > 0 ? /^(.+):(\d+)$/.exec(raw.slice(equals + 1)) : null;
22265
+ const right = raw.slice(equals + 1);
22266
+ if (equals > 0 && looksLikeTestSource(right)) {
22267
+ const name2 = raw.slice(0, equals);
22268
+ if (name2.length > TEST_NAME_MAX) return { ok: false, message: `a test name is longer than ${TEST_NAME_MAX} characters` };
22269
+ if (!isSafeRelativePath(right)) return { ok: false, message: `the location "${right}" must be a relative path inside the repository` };
22270
+ return { ok: true, test: { name: name2, file: right } };
22271
+ }
22272
+ const location = equals > 0 ? /^(.+):(\d+)$/.exec(right) : null;
22257
22273
  if (location === null) {
22258
22274
  if (raw === "") return { ok: false, message: "a test name is empty" };
22259
22275
  if (raw.length > TEST_NAME_MAX) return { ok: false, message: `a test name is longer than ${TEST_NAME_MAX} characters` };
@@ -22925,4 +22941,4 @@ xmlchars/xmlns/1.0/ed3.js:
22925
22941
  *)
22926
22942
  */
22927
22943
 
22928
- export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, RESERVED_EMIT_NAMES, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, bannedPathsForTier, bindTests, downconvertSession, inferArtifactKind, inputBandOf, isHumanUserTurn, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
22944
+ export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, RESERVED_EMIT_NAMES, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, bannedPathsForTier, bindTests, downconvertSession, inferArtifactKind, inputBandOf, isHumanUserTurn, isTestSourcePath, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
@@ -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-EUA3SKPV.js';
3
+ import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-ONOINHY4.js';
4
4
  import { startTimeOf } from './chunk-JBJTC3UU.js';
5
- import { EXEC_PORT } from './chunk-SCH5S3VW.js';
6
- import { RELAY_PORT } from './chunk-UAVBSFHI.js';
5
+ import { EXEC_PORT } from './chunk-U5EE7PGC.js';
6
+ import { RELAY_PORT } from './chunk-OUHM6U6Z.js';
7
7
  import { spawn, spawnSync } from 'child_process';
8
8
  import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
9
9