@testmuai/kane-cli 0.8.6 → 0.8.8

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 (270) hide show
  1. package/bin/kane-cli.cjs +5 -1
  2. package/dist/{ChatSurface-S2P7WMBI.js → ChatSurface-LS3KF7XY.js} +1 -1
  3. package/dist/{ChromeProfilePicker-7DTJK2QW.js → ChromeProfilePicker-UIJ5ZBLY.js} +1 -1
  4. package/dist/{CliFeedbackPrompt-Y3OYZX54.js → CliFeedbackPrompt-EIQQBWDY.js} +1 -1
  5. package/dist/{CliUploadProgress-I3N5WDNJ.js → CliUploadProgress-6U77ZBAX.js} +1 -1
  6. package/dist/ConfigView-MVFLCF5N.js +2 -0
  7. package/dist/EvidenceViewOffer-ANVEOXJA.js +2 -0
  8. package/dist/FolderPicker-HVI6KITN.js +2 -0
  9. package/dist/{InfoBox-QBXPPMM2.js → InfoBox-57MRRSJI.js} +1 -1
  10. package/dist/{LinksBox-L24KON4U.js → LinksBox-RKAEQBFS.js} +1 -1
  11. package/dist/{ProfilesView-H6XCTIXI.js → ProfilesView-RQCQFIXH.js} +1 -1
  12. package/dist/{ProjectPicker-F6JGF2B3.js → ProjectPicker-5JEEHLY3.js} +1 -1
  13. package/dist/{SaveSessionPrompt-QGO65DZN.js → SaveSessionPrompt-TQROE5JM.js} +1 -1
  14. package/dist/SingleShotApp-VJVY3F4H.js +2 -0
  15. package/dist/{SummaryBox-OZIZQY4B.js → SummaryBox-C4UY6R65.js} +1 -1
  16. package/dist/TestMdRunView-X3CCNYV5.js +2 -0
  17. package/dist/{TestrunEvidenceTable-A7WTTKTV.js → TestrunEvidenceTable-LY24PK3T.js} +1 -1
  18. package/dist/{WhoamiView-EB5AV27X.js → WhoamiView-2FIHHS4G.js} +1 -1
  19. package/dist/{app-download-SQ4RDY3E.js → app-download-TO672LBR.js} +1 -1
  20. package/dist/{auth-TW24FZQF.js → auth-EVXJVU72.js} +1 -1
  21. package/dist/{binary-5LMQJ3CZ.js → binary-Y4DKNDQH.js} +1 -1
  22. package/dist/{bind-SJ6DOVQ4.js → bind-FVCVYYL3.js} +3 -3
  23. package/dist/{bootstrap-BTEXO6HX.js → bootstrap-4XBQFKWF.js} +1 -1
  24. package/dist/bridge-6DCBL3GY.js +2 -0
  25. package/dist/{changelog-JLSLSA3Y.js → changelog-LAQ2VGK6.js} +1 -1
  26. package/dist/chat-committer-K3NOTLOU.js +2 -0
  27. package/dist/chat-controller-YJCNU76T.js +2 -0
  28. package/dist/chunk-2MQP4SSF.js +20 -0
  29. package/dist/{chunk-S66MCU2Y.js → chunk-36ZVMJTJ.js} +1 -1
  30. package/dist/{chunk-USI2WMAK.js → chunk-3GZ4FQ4L.js} +1 -1
  31. package/dist/{chunk-CLLQQPBZ.js → chunk-4BIJCAR4.js} +1 -1
  32. package/dist/chunk-4PMZ5FCD.js +2 -0
  33. package/dist/{chunk-2DCNCH32.js → chunk-54JZ6VEW.js} +1 -1
  34. package/dist/{chunk-ZGBSGZZM.js → chunk-5G22NOZK.js} +1 -1
  35. package/dist/{chunk-YEQVJWEF.js → chunk-5LYPSIBC.js} +1 -1
  36. package/dist/{chunk-RDNKYRKY.js → chunk-5M5BG4MT.js} +1 -1
  37. package/dist/{chunk-YHTYPTDD.js → chunk-5YCOYFZH.js} +1 -1
  38. package/dist/chunk-6FCPS2VT.js +4 -0
  39. package/dist/{chunk-4NSP2NPT.js → chunk-6LYQ4MJH.js} +1 -1
  40. package/dist/{chunk-XY325HDJ.js → chunk-6T3DWH56.js} +1 -1
  41. package/dist/{chunk-D4SRHIJ5.js → chunk-6TVNJDSE.js} +1 -1
  42. package/dist/{chunk-P3RKXL3V.js → chunk-7CXIOJB3.js} +1 -1
  43. package/dist/{chunk-RZLD7TPG.js → chunk-7RTITBZG.js} +1 -1
  44. package/dist/{chunk-JCD6FP7A.js → chunk-7UCICMK7.js} +3 -3
  45. package/dist/{chunk-SS5TOK2J.js → chunk-7UYSTQMI.js} +1 -1
  46. package/dist/chunk-7YX2HUHY.js +2 -0
  47. package/dist/chunk-AKX4VRRR.js +2 -0
  48. package/dist/{chunk-KQ2MYMOS.js → chunk-AO5QH6UU.js} +1 -1
  49. package/dist/{chunk-YZ45OEH3.js → chunk-AS5UKK27.js} +1 -1
  50. package/dist/{chunk-JN44V63O.js → chunk-ATIX6CVS.js} +2 -2
  51. package/dist/{chunk-TDS6LG6T.js → chunk-AZ73FJRK.js} +1 -1
  52. package/dist/{chunk-ZRKPZLLG.js → chunk-BAKOH2BR.js} +1 -1
  53. package/dist/{chunk-Z35BUPZT.js → chunk-BRE426DP.js} +1 -1
  54. package/dist/{chunk-IGJIDN4U.js → chunk-BYOXTXLC.js} +1 -1
  55. package/dist/{chunk-JFAFKHDX.js → chunk-BZAGVBCX.js} +1 -1
  56. package/dist/{chunk-FYS5VIOG.js → chunk-CQCV2RJK.js} +2 -2
  57. package/dist/{chunk-FJYDEWOA.js → chunk-DHPBVHED.js} +1 -1
  58. package/dist/{chunk-7KORP5FF.js → chunk-EEFZXZTZ.js} +1 -1
  59. package/dist/{chunk-GFKCTYCA.js → chunk-EV64VI66.js} +1 -1
  60. package/dist/{chunk-IWM5EZC3.js → chunk-FGRTNRBS.js} +2 -2
  61. package/dist/{chunk-NT3UETTV.js → chunk-FL6TCYA5.js} +1 -1
  62. package/dist/{chunk-IMR64OCZ.js → chunk-GX3FPJUG.js} +1 -1
  63. package/dist/{chunk-FUNKVREV.js → chunk-GZLQ2AR6.js} +1 -1
  64. package/dist/chunk-H4WIA4IP.js +26 -0
  65. package/dist/{chunk-ZLSWHCWO.js → chunk-H6YGG3GC.js} +1 -1
  66. package/dist/chunk-HJOGBE23.js +26 -0
  67. package/dist/{chunk-DN3E6RT6.js → chunk-HK3FFI7Y.js} +2 -2
  68. package/dist/{chunk-TYI4MLFJ.js → chunk-HPBI3P6I.js} +3 -3
  69. package/dist/{chunk-FMUCZWS3.js → chunk-HZDNGNO2.js} +1 -1
  70. package/dist/chunk-IPEA7ZOF.js +8 -0
  71. package/dist/{chunk-6KPPGMO2.js → chunk-IVQX3AKL.js} +1 -1
  72. package/dist/chunk-IWVA37B6.js +5 -0
  73. package/dist/chunk-JE6OO2Q6.js +8 -0
  74. package/dist/{chunk-PT7V5WDQ.js → chunk-JPGRUMCS.js} +1 -1
  75. package/dist/chunk-JQW2QFSX.js +2 -0
  76. package/dist/{chunk-JZ26R6UL.js → chunk-JUJ4SAGH.js} +1 -1
  77. package/dist/chunk-K5DL7CZ4.js +2 -0
  78. package/dist/{chunk-TKYJTXWL.js → chunk-K6JRFRGS.js} +1 -1
  79. package/dist/chunk-KAZGHWGK.js +5 -0
  80. package/dist/{chunk-AFPHLUQ5.js → chunk-KGKJU27A.js} +1 -1
  81. package/dist/{chunk-E5S4BASB.js → chunk-LI5FMAUO.js} +1 -1
  82. package/dist/{chunk-INK66XQS.js → chunk-LMYE3M75.js} +1 -1
  83. package/dist/{chunk-OFW3ZVTP.js → chunk-LPH4TERT.js} +1 -1
  84. package/dist/chunk-N5I2QYFD.js +2 -0
  85. package/dist/chunk-N7Z7BQYO.js +3 -0
  86. package/dist/{chunk-EXERQHXV.js → chunk-NAZ36RKI.js} +1 -1
  87. package/dist/chunk-O4IEPE3T.js +4 -0
  88. package/dist/{chunk-CLGC7VEO.js → chunk-O5U6EAL3.js} +1 -1
  89. package/dist/chunk-OGJR5VIG.js +363 -0
  90. package/dist/{chunk-A44G533S.js → chunk-OO7LFDET.js} +1 -1
  91. package/dist/chunk-OQAN2WYO.js +26 -0
  92. package/dist/{chunk-GC5U55MW.js → chunk-P67CGWD6.js} +1 -1
  93. package/dist/{chunk-C4WTZSX4.js → chunk-PQYBIWZH.js} +1 -1
  94. package/dist/chunk-PYHWCV2V.js +2 -0
  95. package/dist/{chunk-AO3PBE2V.js → chunk-Q6743UUQ.js} +1 -1
  96. package/dist/{chunk-5DBK6QNS.js → chunk-QQ5MHSSY.js} +1 -1
  97. package/dist/{chunk-DZCG7FFP.js → chunk-QVR2PB6Y.js} +1 -1
  98. package/dist/{chunk-WMQJBEQP.js → chunk-QXLX6LMJ.js} +1 -1
  99. package/dist/{chunk-VOBXYDJW.js → chunk-R4PLEH2A.js} +47 -47
  100. package/dist/{chunk-TQKIE7AX.js → chunk-RHL7KZNC.js} +1 -1
  101. package/dist/chunk-RSSOJ3L2.js +21 -0
  102. package/dist/{chunk-VMCSRLRC.js → chunk-S6M36UIV.js} +1 -1
  103. package/dist/{chunk-SQC4P2Q7.js → chunk-SQWVGI3J.js} +1 -1
  104. package/dist/{chunk-ATWDQCDA.js → chunk-UDW4ZZAW.js} +7 -7
  105. package/dist/{chunk-CUM23TLF.js → chunk-UH2ZTX4E.js} +1 -1
  106. package/dist/{chunk-XJILZ2WN.js → chunk-UPHF2J5E.js} +1 -1
  107. package/dist/{chunk-SQGBFCFO.js → chunk-UY2ES2Z6.js} +1 -1
  108. package/dist/{chunk-3LEVCW6R.js → chunk-UYLNH4SH.js} +1 -1
  109. package/dist/{chunk-OYJBABRV.js → chunk-V5DYLGAM.js} +1 -1
  110. package/dist/{chunk-7VZCXW74.js → chunk-VCDXUUJQ.js} +1 -1
  111. package/dist/{chunk-5COGCNED.js → chunk-VQVERWC3.js} +1 -1
  112. package/dist/chunk-W3Z7AZNT.js +4 -0
  113. package/dist/{chunk-BN6AHQL7.js → chunk-WALVOFKR.js} +4 -4
  114. package/dist/{chunk-3UUPP5W3.js → chunk-WDOEMLFZ.js} +1 -1
  115. package/dist/chunk-WHEWZR2C.js +15 -0
  116. package/dist/{chunk-VRVFPMCR.js → chunk-WIAZN7G4.js} +1 -1
  117. package/dist/{chunk-AWD56KGX.js → chunk-WPSQYEBP.js} +2 -2
  118. package/dist/{chunk-RX5TZZNQ.js → chunk-WRIPTYSN.js} +1 -1
  119. package/dist/{chunk-GELPKSLC.js → chunk-WYOEOJM2.js} +1 -1
  120. package/dist/{chunk-B4Q6FMIP.js → chunk-XFTF7OOY.js} +3 -3
  121. package/dist/{chunk-QISE272H.js → chunk-XJ4TJARR.js} +1 -1
  122. package/dist/{chunk-KDXQNLVV.js → chunk-XLVH4CIZ.js} +3 -3
  123. package/dist/{chunk-DUAXZYAD.js → chunk-XMTSHHYQ.js} +3 -3
  124. package/dist/{chunk-XWKUZJCP.js → chunk-YMLC55J4.js} +1 -1
  125. package/dist/chunk-Z7S3IWUX.js +2 -0
  126. package/dist/chunk-ZDAO5D6D.js +16 -0
  127. package/dist/{chunk-TZFT7R7B.js → chunk-ZHKBSKCB.js} +1 -1
  128. package/dist/chunk-ZIJLOYXX.js +21 -0
  129. package/dist/{chunk-4ONGF4NT.js → chunk-ZKRL6HMY.js} +2 -2
  130. package/dist/{chunk-2R7KL7YG.js → chunk-ZSFOANLG.js} +1 -1
  131. package/dist/committer-C6UCDYMC.js +2 -0
  132. package/dist/{config-6TQIMTNB.js → config-5UNFAVY6.js} +1 -1
  133. package/dist/cover-cmd-5LPHIOSI.js +3 -0
  134. package/dist/{credentials-ZSNM4BTD.js → credentials-64JYS7AQ.js} +1 -1
  135. package/dist/{deps-bundle-D2ZC2SPT.js → deps-bundle-5JPHXHQV.js} +1 -1
  136. package/dist/{deps-resolve-VRBMFUTX.js → deps-resolve-WFZZ22XH.js} +1 -1
  137. package/dist/descriptor-PWUUNYV7.js +2 -0
  138. package/dist/design-committer-UPC6NZUF.js +2 -0
  139. package/dist/device-ref-LAZWPRQN.js +2 -0
  140. package/dist/dispatch-JLMCXOSK.js +2 -0
  141. package/dist/doctor-KJMR7NRK.js +2 -0
  142. package/dist/dossier-Y6TJWFZU.js +3 -0
  143. package/dist/evidence-OFTY5U4X.js +2 -0
  144. package/dist/evolve-cmd-LU6LPT4F.js +2 -0
  145. package/dist/exit-manager-ZLDO54S4.js +2 -0
  146. package/dist/{explain-UAAQWHYR.js → explain-3HAZY7Q6.js} +1 -1
  147. package/dist/{explain-cmd-EX24XKD6.js → explain-cmd-RMJPXD4U.js} +1 -1
  148. package/dist/{explain-cmd-2TKO7GRW.js → explain-cmd-XCRO4AS6.js} +1 -1
  149. package/dist/{extract-bind-TJ2STXV5.js → extract-bind-YYIOEAYR.js} +3 -3
  150. package/dist/{extract-cmd-FLOYO6HL.js → extract-cmd-Q7OG6RY6.js} +2 -2
  151. package/dist/{feeder-C3TOJPKK.js → feeder-IOR3XRNF.js} +1 -1
  152. package/dist/gaps-cmd-JIUM5YDY.js +3 -0
  153. package/dist/{gate-54BRAE7N.js → gate-E3BLIUEA.js} +1 -1
  154. package/dist/{generate-headless-DBT4MKQT.js → generate-headless-NCVM643E.js} +2 -2
  155. package/dist/index.js +137 -131
  156. package/dist/ingest-TTUQ7UDK.js +2 -0
  157. package/dist/ingest-cmd-42VRDSPV.js +2 -0
  158. package/dist/install-5NMP6ZV4.js +2 -0
  159. package/dist/{interactive-bind-7UDJY4CF.js → interactive-bind-ZDJS7PCV.js} +4 -4
  160. package/dist/lifecycle-cmd-KSMETBPP.js +2 -0
  161. package/dist/list-cmd-V3HJ5K4O.js +3 -0
  162. package/dist/{list-commands-DA4ZXOPJ.js → list-commands-3IKFZSGB.js} +1 -1
  163. package/dist/logical-ids-MLXAH45L.js +2 -0
  164. package/dist/login-flow-UXUQ7GQT.js +2 -0
  165. package/dist/{maintenance-cmd-6XSVO6FO.js → maintenance-cmd-VFYGKY3X.js} +1 -1
  166. package/dist/{mobile-prompts-JS7GPVKS.js → mobile-prompts-XPQSRBIW.js} +1 -1
  167. package/dist/persist-recorded-session-MFQ7JCLJ.js +3 -0
  168. package/dist/phase-seed-BMOSAA74.js +2 -0
  169. package/dist/pipeline-2XITQU5W.js +2 -0
  170. package/dist/prepare-target-CKRWHYXS.js +2 -0
  171. package/dist/readmodel-TDRFVDVI.js +2 -0
  172. package/dist/reconcile-cmd-BKIJFVQT.js +2 -0
  173. package/dist/reconcile-deps-Y5G456WD.js +4 -0
  174. package/dist/reconcile-engine-WDC2MEOY.js +2 -0
  175. package/dist/{recording-banner-YMKWR3M3.js → recording-banner-P3RUW62P.js} +1 -1
  176. package/dist/records-JLS63SDI.js +2 -0
  177. package/dist/registry-OEY4IXB6.js +2 -0
  178. package/dist/{require-project-folder-3KS7KTME.js → require-project-folder-ZGQLWZV5.js} +1 -1
  179. package/dist/resolve-run-intent-DHZD6A4B.js +2 -0
  180. package/dist/{resolver-V5VP5FLT.js → resolver-W54NOQXY.js} +1 -1
  181. package/dist/revert-PRR3D4XM.js +2 -0
  182. package/dist/review-cmd-SAGIKWEW.js +4 -0
  183. package/dist/run-7TZTUTTU.js +2 -0
  184. package/dist/run-BGQTRIU4.js +2 -0
  185. package/dist/{run-test-md-FO2RNNOD.js → run-test-md-WO2UDYPM.js} +2 -2
  186. package/dist/{sessions-cmd-ZZIZN2VB.js → sessions-cmd-VDQGRBEM.js} +1 -1
  187. package/dist/{skill-installer-W4TT5MST.js → skill-installer-UTVUPOTD.js} +1 -1
  188. package/dist/{spawner-ZSYJQGQW.js → spawner-SHCGHLQS.js} +1 -1
  189. package/dist/{structured-answers-5EY2AZN7.js → structured-answers-YAVW65G4.js} +1 -1
  190. package/dist/tcg-generate-YDNE643C.js +2 -0
  191. package/dist/testmd-actions-UCJ4ULSX.js +2 -0
  192. package/dist/token-refresh-ZNV2OSZC.js +2 -0
  193. package/dist/{validate-basic-727KRHX6.js → validate-basic-XEPS5I6V.js} +1 -1
  194. package/dist/verdicts-SOX22V6V.js +2 -0
  195. package/dist/{version-check-A2JQYRI2.js → version-check-LWDLMWBJ.js} +1 -1
  196. package/dist/{view-cmd-KPJTP4DI.js → view-cmd-SXXNDZIC.js} +1 -1
  197. package/dist/walk-session-M3OIWR5K.js +2 -0
  198. package/dist/with-telemetry-SF5RHYQE.js +2 -0
  199. package/package.json +11 -14
  200. package/dist/ConfigView-EOYCKYJS.js +0 -2
  201. package/dist/EvidenceViewOffer-AQ3KB3EN.js +0 -2
  202. package/dist/FolderPicker-RCHRYYC4.js +0 -2
  203. package/dist/SingleShotApp-AY3XFEYT.js +0 -2
  204. package/dist/TestMdRunView-RPW4MIJA.js +0 -2
  205. package/dist/bridge-GQJ35GTL.js +0 -2
  206. package/dist/chat-committer-ZWWCLJFD.js +0 -2
  207. package/dist/chat-controller-R4THYYPU.js +0 -2
  208. package/dist/chunk-3Q6WAK6P.js +0 -2
  209. package/dist/chunk-56PAQAX5.js +0 -19
  210. package/dist/chunk-B5QGIUJA.js +0 -26
  211. package/dist/chunk-BRTARADN.js +0 -4
  212. package/dist/chunk-CZUOGGUK.js +0 -2
  213. package/dist/chunk-DEZ7CXGM.js +0 -21
  214. package/dist/chunk-ESC7AOCX.js +0 -2
  215. package/dist/chunk-KLTKEGDH.js +0 -355
  216. package/dist/chunk-LN7233E2.js +0 -20
  217. package/dist/chunk-LQQXPY5B.js +0 -4
  218. package/dist/chunk-MKSTP2XN.js +0 -26
  219. package/dist/chunk-Q4V2GK5U.js +0 -2
  220. package/dist/chunk-QBG7XEGQ.js +0 -15
  221. package/dist/chunk-QQAAPFIR.js +0 -2
  222. package/dist/chunk-R5T4RLF5.js +0 -2
  223. package/dist/chunk-SORVX3KI.js +0 -7
  224. package/dist/chunk-TH47OOBV.js +0 -4
  225. package/dist/chunk-TRJUD3XJ.js +0 -5
  226. package/dist/chunk-V444REBC.js +0 -11
  227. package/dist/chunk-VAYBKR76.js +0 -4
  228. package/dist/chunk-WXHQYYD5.js +0 -2
  229. package/dist/chunk-XQFITNA3.js +0 -2
  230. package/dist/chunk-ZSXDZI56.js +0 -20
  231. package/dist/committer-SWEWEYNX.js +0 -2
  232. package/dist/cover-cmd-7JILZJUK.js +0 -3
  233. package/dist/descriptor-OEUZZCOK.js +0 -2
  234. package/dist/design-committer-VYT6NU3T.js +0 -2
  235. package/dist/dispatch-2PBSJ7YW.js +0 -2
  236. package/dist/doctor-OWRRDA4Z.js +0 -2
  237. package/dist/dossier-KTLTGT2X.js +0 -3
  238. package/dist/evidence-NDAKCCHQ.js +0 -2
  239. package/dist/evolve-cmd-DIA5EWUT.js +0 -2
  240. package/dist/exit-manager-3FVBTNYR.js +0 -2
  241. package/dist/gaps-cmd-3ZX3PZF4.js +0 -3
  242. package/dist/ingest-JO5NJENZ.js +0 -2
  243. package/dist/ingest-cmd-T6HM3AHK.js +0 -2
  244. package/dist/install-NIVU4XVS.js +0 -2
  245. package/dist/lifecycle-cmd-O2324GN6.js +0 -2
  246. package/dist/list-cmd-N4KMA34H.js +0 -3
  247. package/dist/logical-ids-TEBCQJGO.js +0 -2
  248. package/dist/login-flow-NHBJVDW6.js +0 -2
  249. package/dist/persist-recorded-session-LE3LGFOS.js +0 -3
  250. package/dist/phase-seed-DIRETNU6.js +0 -2
  251. package/dist/pipeline-MTAZDCZR.js +0 -2
  252. package/dist/prepare-target-YK2DLDWB.js +0 -2
  253. package/dist/readmodel-XOYGGQ3S.js +0 -2
  254. package/dist/reconcile-cmd-CYRYVS5B.js +0 -2
  255. package/dist/reconcile-deps-FYXRAMF2.js +0 -4
  256. package/dist/reconcile-engine-6AT6EVGS.js +0 -2
  257. package/dist/records-IOZTZUZV.js +0 -2
  258. package/dist/registry-V45ZQ6Q5.js +0 -2
  259. package/dist/resolve-run-intent-W32G6WM6.js +0 -2
  260. package/dist/revert-NQ7GEVSE.js +0 -2
  261. package/dist/review-cmd-DQRKQUMG.js +0 -4
  262. package/dist/run-26IR3CKX.js +0 -2
  263. package/dist/run-5IYI2TJI.js +0 -2
  264. package/dist/tcg-generate-ONLV5GXG.js +0 -2
  265. package/dist/testmd-actions-NPILETCQ.js +0 -2
  266. package/dist/token-refresh-G2CSTY4B.js +0 -2
  267. package/dist/types-O23GN2YM.js +0 -2
  268. package/dist/verdicts-TDJLJJ3F.js +0 -2
  269. package/dist/walk-session-HB3OOWVR.js +0 -2
  270. package/dist/with-telemetry-HSD6CXDS.js +0 -2
@@ -1,2 +1,2 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- import{a as O,b as B,c as P}from"./chunk-XWKUZJCP.js";import{d as w,e as h}from"./chunk-WXHQYYD5.js";var z={window:10,latest_only:!1,stale_at_run_weight:.5,counted_verdicts:["passed","failed"],accepted_oracle_modes:["authored","inferred","runtime-derived"],verified_threshold:.5,min_passes:1,risk_weights:{high:3}},Y={window:10,latest_only:!0,stale_at_run_weight:0,counted_verdicts:["passed","failed"],accepted_oracle_modes:["authored","inferred"],verified_threshold:1,min_passes:1,risk_weights:{high:3}},K={lenient:z,strict:Y};function Q(e,t){let s=e.slice(-t.window),i=new Map;for(let c of s)i.set(c.execution_id,c);let d=[...i.values()].sort((c,u)=>c.ts<u.ts?-1:c.ts>u.ts?1:c.execution_id<u.execution_id?-1:1).filter(c=>t.counted_verdicts.includes(c.verdict)&&t.accepted_oracle_modes.includes(c.oracle_mode));return t.latest_only&&d.length>1?[d[d.length-1]]:d}function Z(e,t){let s=Q(e,t),i=0,d=0,c=0;for(let l of s){let b=l.stale_at_run?t.stale_at_run_weight:1;i+=b,l.verdict==="passed"&&(d+=b,c++)}let u=i>0?Math.round(d/i*100)/100:0;return{score:u,verified:u>=t.verified_threshold&&c>=t.min_passes,passes:c,counted:s.length}}function U(e,t){let s=0,i=0;for(let d of e){let c=t[d.risk]??1;s+=c,d.verified&&(i+=c)}return s>0?Math.round(i/s*100):0}function ee(e,t){let s={},i={},d=[],c=0;for(let u of e.usecases){let l=[];for(let o of u.acceptance_criteria){let _=Z(o.executions??[],t);s[o.id]=_;let m={risk:o.risk,verified:_.verified};l.push(m),d.push(m)}let b=l.filter(o=>o.verified).length,n=l.length>0&&b===l.length?"covered":b>0?"partial":"uncovered";n==="covered"&&c++,i[u.id]={status:n,pct:U(l,t.risk_weights)}}return{config:t,acs:s,usecases:i,summary:{coverage_pct:U(d,t.risk_weights),acs_verified:`${d.filter(u=>u.verified).length}/${d.length}`,usecases_covered:`${c}/${e.usecases.length}`,uncovered:Object.values(i).filter(u=>u.status==="uncovered").length}}}function pe(e,t=K){return{rollup_version:1,stale_sources:new Set(e.usecases.flatMap(s=>s.stale_sources??[])).size,high_risk_gaps:(e.gaps??[]).filter(s=>s.risk==="high").length,aspects:Object.fromEntries(Object.entries(t).map(([s,i])=>[s,ee(e,i)]))}}var W={high:3};function fe(e){let t=e.byLabel(w.USECASE).filter(({cid:n})=>O(e,n)),s=new Map(t.map(({cid:n})=>[n,[]]));for(let{cid:n,content:o}of e.byLabel(w.AC)){if(!O(e,n))continue;let _=P(e,n),m=_?s.get(_):void 0;m&&m.push({risk:String(o.risk??""),designed:B(e,n),stale:e.stale(n)!=="fresh"})}let i={},d=[],c=0,u=0,l=0,b=0;for(let{cid:n}of t){let o=s.get(n),_=o.map(v=>({risk:v.risk,verified:v.designed}));d.push(..._),u+=o.length;let m=o.filter(v=>v.designed).length;c+=m;let x=o.filter(v=>v.stale).length,A=e.edgesInto(n).some(v=>v.type===h.BELONGS_TO&&O(e,v.src));A||b++;let k=o.length===0||m===0?"undesigned":m===o.length&&x===0&&A?"complete":"partial";k==="complete"&&l++,i[e.displayNameOf(n)??n]={pct:U(_,W),status:k,staleAcs:x}}return{pct:U(d,W),acs_designed:`${c}/${u}`,usecases_complete:`${l}/${t.length}`,ucs_needing_scenarios:b,perUc:i,config:{criterion:"live_verifies_edge",risk_weights:{high:3},freshness:"not_discounted"}}}var y=(e,t)=>e.nameOf.get(t)??t,R=(e,t)=>!e.superseded.has(t);function te(e,t){return e.byLabel(w.SCENARIO).filter(({cid:s})=>R(e,s)).filter(({cid:s})=>e.edgesFrom(s).some(i=>i.type===h.BELONGS_TO&&e.tipOf(i.dst)===t)).map(({cid:s})=>s)}function se(e,t,s){let i=[];for(let{cid:d}of e.byLabel(w.AC)){if(!R(e,d))continue;let c=e.edgesFrom(d).find(l=>l.type===h.SCOPED_TO);if(!c)continue;let u=e.tipOf(c.dst);u===t?i.push({cid:d,scope:{type:"usecase",ref:y(e,t)}}):s.has(u)&&i.push({cid:d,scope:{type:"scenario",ref:y(e,u)}})}return i}function ne(e){let t=e.filter(s=>s!==void 0).map(s=>s.execution);return t.includes("failed")?"failed":t.includes("blocked")?"blocked":t.includes("passed")?"passed":"not-run"}var oe={passed:"passed",failed:"failed",broken:"blocked",skipped:"not-run"};function re(e,t){let s=t.flatMap(i=>i?.acs??[]).filter(i=>i.ref===e).map(i=>oe[i.verdict]??"not-run");return s.length===0?ne(t):s.includes("failed")?"failed":s.includes("blocked")?"blocked":s.includes("passed")?"passed":"not-run"}function Se(e){return ie(e,new Map)}function ie(e,t,s){let i=s?.scope==="run",d=[],c=new Set,u=new Map;for(let[n,o]of e.nameOf)u.set(e.tipOf(n)??n,o);let l=n=>u.get(n)??y(e,n);for(let{cid:n,content:o}of e.byLabel(w.USECASE)){if(!R(e,n)||e.trust.get(n)==="archived")continue;let _=e.tipOf(n),m=e.derivesInto(_).filter(r=>!e.superseded.has(r.ecid)),x=[...new Set(m.map(r=>String(r.props?.source_id??"")).filter(Boolean))].sort(),A=x.map(r=>{let f=e.heads.get(r);if(typeof f!="string")return{id:r};let p=e.getNode(f)?.content.blob;return{id:r,media_type:e.mediaOf(f).media_type,...typeof p=="string"?{cid:p}:{}}}),k=m[0],v=new Map;for(let r of m)r.props?.source_id&&r.props?.source_cid&&v.set(String(r.props.source_id),String(r.props.source_cid));let T=x.filter(r=>{let f=e.heads.get(r),p=v.get(r);return f!=null&&p!==void 0&&f!==p}).sort(),L=e.edgesFrom(n).filter(r=>r.type===h.DEPENDS_ON&&!e.superseded.has(r.ecid)).map(r=>de(e,r.dst)).filter(r=>r!==null).sort(),D=te(e,_),q=new Set(D),H=D.map(r=>{let f=e.getNode(r)?.content??{},p=e.edgesFrom(r).filter(S=>S.type===h.EXERCISES&&!e.superseded.has(S.ecid)&&R(e,e.tipOf(S.dst))).map(S=>y(e,e.tipOf(S.dst))).sort();return{id:y(e,r),case_type:String(f.case_type??""),intent:String(f.intent??""),exercises:p}}).sort((r,f)=>r.id<f.id?-1:1),$=!1,E=new Set([_]);for(let r of D)E.add(r);let J=se(e,_,q).map(({cid:r,scope:f})=>{let p=e.getNode(r)?.content??{},S=[...new Set(e.edgesInto(r).filter(a=>a.type===h.VERIFIES&&!e.superseded.has(a.ecid)).map(a=>e.tipOf(a.src)).filter(a=>!!a&&R(e,a)))].sort((a,g)=>l(a)<l(g)?-1:1),G=S.length>0,N=S.map(a=>t.get(`id:${l(a)}`)??t.get(`def:${String(e.getNode(a)?.content.definitionId??"")}`)),j=N.some(a=>a!==void 0);j&&($=!0),E.add(r);for(let a of S)E.add(a);let X=G&&!j?"unknown":e.stale(r)==="fresh"?"fresh":"stale",C=p.expected_answer??{},I=y(e,r),F=S.flatMap(a=>(e.execHistory?.(l(a))??[]).map(g=>({execution_id:String(g.execution_id),ts:String(g.started_at),verdict:String(g.per_ac?.find(M=>M.ac_ref===I)?.verdict??g.verdict),stale_at_run:!!g.stale_at_run,oracle_mode:String(g.oracle_mode),...g.via_parent?{via_parent:String(g.via_parent)}:{}}))).sort((a,g)=>a.ts<g.ts?-1:1).slice(-10);return{id:I,text:String(p.text??""),risk:String(p.risk??""),scope:f,covered_by:S.map(a=>l(a)),...G?{link_type:"verifies"}:{},execution:re(I,N),fresh:X,derived:!!p.derived,...p.kind||p.expected_answer?{expected_answer:{...p.kind?{kind:String(p.kind)}:{},statement:String(p.text??""),...C.operator!==void 0?{operator:C.operator}:{},...C.operand!==void 0?{operand:C.operand}:{}}}:{},...G?{satisfied_by:S.map((a,g)=>{let M=e.getNode(a)?.content.check??{},V=N[g]?.steps?.checkStepId??M.verified_against;return{test:l(a),...V?{step:V}:{}}})}:{},...F.length?{executions:F}:{}}}).sort((r,f)=>r.id<f.id?-1:1);if(!(i&&!$)){for(let r of E)c.add(r);d.push({id:y(e,n),title:String(o.title??""),...o.description||o.summary?{description:String(o.description??o.summary)}:{},...Array.isArray(o.actors)&&o.actors.length?{actors:o.actors.map(String)}:{},...o.value?{value:String(o.value)}:{},risk:String(o.risk??""),status:e.trust.get(n)==="trusted"?"approved":"draft",sources:A,...T.length?{stale_sources:T}:{},...L.length?{depends_on:L}:{},...k?{provenance:{derived_from:`${String(k.props?.source_id??"")}#${String(k.props?.anchor??"")}`}}:{},scenarios:H,acceptance_criteria:J})}}d.sort((n,o)=>n.id<o.id?-1:1);let b=e.byLabel(w.GAP).filter(({cid:n})=>R(e,n)&&e.trust.get(n)!=="archived").filter(({content:n})=>{if(!i||typeof n.uc=="string"&&c.has(e.tipOf(n.uc)))return!0;let o=typeof n.ref=="string"?e.resolve(n.ref):null;return o!==null&&c.has(e.tipOf(o.cid))}).map(({cid:n,content:o})=>({ref:y(e,n),kind:String(o.kind??""),...o.risk?{risk:String(o.risk)}:{},...o.question?{question:ce(o.question)}:{}})).sort((n,o)=>n.ref<o.ref?-1:1);return{usecases:d,...b.length?{gaps:b}:{},...i?{scope:"run"}:{}}}function ce(e){if(typeof e=="string")return e;let t=e?.header;return typeof t=="string"?t:""}function de(e,t){let s=e.tipOf(t);return e.nodeLabel.get(s)!==w.USECASE||!R(e,s)?null:y(e,s)}export{K as a,Q as b,Z as c,pe as d,fe as e,Se as f,ie as g};
2
+ import{a as O,b as B,c as P}from"./chunk-YMLC55J4.js";import{d as w,e as h}from"./chunk-AKX4VRRR.js";var z={window:10,latest_only:!1,stale_at_run_weight:.5,counted_verdicts:["passed","failed"],accepted_oracle_modes:["authored","inferred","runtime-derived"],verified_threshold:.5,min_passes:1,risk_weights:{high:3}},Y={window:10,latest_only:!0,stale_at_run_weight:0,counted_verdicts:["passed","failed"],accepted_oracle_modes:["authored","inferred"],verified_threshold:1,min_passes:1,risk_weights:{high:3}},K={lenient:z,strict:Y};function Q(e,t){let s=e.slice(-t.window),i=new Map;for(let c of s)i.set(c.execution_id,c);let d=[...i.values()].sort((c,u)=>c.ts<u.ts?-1:c.ts>u.ts?1:c.execution_id<u.execution_id?-1:1).filter(c=>t.counted_verdicts.includes(c.verdict)&&t.accepted_oracle_modes.includes(c.oracle_mode));return t.latest_only&&d.length>1?[d[d.length-1]]:d}function Z(e,t){let s=Q(e,t),i=0,d=0,c=0;for(let l of s){let b=l.stale_at_run?t.stale_at_run_weight:1;i+=b,l.verdict==="passed"&&(d+=b,c++)}let u=i>0?Math.round(d/i*100)/100:0;return{score:u,verified:u>=t.verified_threshold&&c>=t.min_passes,passes:c,counted:s.length}}function U(e,t){let s=0,i=0;for(let d of e){let c=t[d.risk]??1;s+=c,d.verified&&(i+=c)}return s>0?Math.round(i/s*100):0}function ee(e,t){let s={},i={},d=[],c=0;for(let u of e.usecases){let l=[];for(let o of u.acceptance_criteria){let _=Z(o.executions??[],t);s[o.id]=_;let m={risk:o.risk,verified:_.verified};l.push(m),d.push(m)}let b=l.filter(o=>o.verified).length,n=l.length>0&&b===l.length?"covered":b>0?"partial":"uncovered";n==="covered"&&c++,i[u.id]={status:n,pct:U(l,t.risk_weights)}}return{config:t,acs:s,usecases:i,summary:{coverage_pct:U(d,t.risk_weights),acs_verified:`${d.filter(u=>u.verified).length}/${d.length}`,usecases_covered:`${c}/${e.usecases.length}`,uncovered:Object.values(i).filter(u=>u.status==="uncovered").length}}}function pe(e,t=K){return{rollup_version:1,stale_sources:new Set(e.usecases.flatMap(s=>s.stale_sources??[])).size,high_risk_gaps:(e.gaps??[]).filter(s=>s.risk==="high").length,aspects:Object.fromEntries(Object.entries(t).map(([s,i])=>[s,ee(e,i)]))}}var W={high:3};function fe(e){let t=e.byLabel(w.USECASE).filter(({cid:n})=>O(e,n)),s=new Map(t.map(({cid:n})=>[n,[]]));for(let{cid:n,content:o}of e.byLabel(w.AC)){if(!O(e,n))continue;let _=P(e,n),m=_?s.get(_):void 0;m&&m.push({risk:String(o.risk??""),designed:B(e,n),stale:e.stale(n)!=="fresh"})}let i={},d=[],c=0,u=0,l=0,b=0;for(let{cid:n}of t){let o=s.get(n),_=o.map(v=>({risk:v.risk,verified:v.designed}));d.push(..._),u+=o.length;let m=o.filter(v=>v.designed).length;c+=m;let x=o.filter(v=>v.stale).length,A=e.edgesInto(n).some(v=>v.type===h.BELONGS_TO&&O(e,v.src));A||b++;let k=o.length===0||m===0?"undesigned":m===o.length&&x===0&&A?"complete":"partial";k==="complete"&&l++,i[e.displayNameOf(n)??n]={pct:U(_,W),status:k,staleAcs:x}}return{pct:U(d,W),acs_designed:`${c}/${u}`,usecases_complete:`${l}/${t.length}`,ucs_needing_scenarios:b,perUc:i,config:{criterion:"live_verifies_edge",risk_weights:{high:3},freshness:"not_discounted"}}}var y=(e,t)=>e.nameOf.get(t)??t,R=(e,t)=>!e.superseded.has(t);function te(e,t){return e.byLabel(w.SCENARIO).filter(({cid:s})=>R(e,s)).filter(({cid:s})=>e.edgesFrom(s).some(i=>i.type===h.BELONGS_TO&&e.tipOf(i.dst)===t)).map(({cid:s})=>s)}function se(e,t,s){let i=[];for(let{cid:d}of e.byLabel(w.AC)){if(!R(e,d))continue;let c=e.edgesFrom(d).find(l=>l.type===h.SCOPED_TO);if(!c)continue;let u=e.tipOf(c.dst);u===t?i.push({cid:d,scope:{type:"usecase",ref:y(e,t)}}):s.has(u)&&i.push({cid:d,scope:{type:"scenario",ref:y(e,u)}})}return i}function ne(e){let t=e.filter(s=>s!==void 0).map(s=>s.execution);return t.includes("failed")?"failed":t.includes("blocked")?"blocked":t.includes("passed")?"passed":"not-run"}var oe={passed:"passed",failed:"failed",broken:"blocked",skipped:"not-run"};function re(e,t){let s=t.flatMap(i=>i?.acs??[]).filter(i=>i.ref===e).map(i=>oe[i.verdict]??"not-run");return s.length===0?ne(t):s.includes("failed")?"failed":s.includes("blocked")?"blocked":s.includes("passed")?"passed":"not-run"}function Se(e){return ie(e,new Map)}function ie(e,t,s){let i=s?.scope==="run",d=[],c=new Set,u=new Map;for(let[n,o]of e.nameOf)u.set(e.tipOf(n)??n,o);let l=n=>u.get(n)??y(e,n);for(let{cid:n,content:o}of e.byLabel(w.USECASE)){if(!R(e,n)||e.trust.get(n)==="archived")continue;let _=e.tipOf(n),m=e.derivesInto(_).filter(r=>!e.superseded.has(r.ecid)),x=[...new Set(m.map(r=>String(r.props?.source_id??"")).filter(Boolean))].sort(),A=x.map(r=>{let f=e.heads.get(r);if(typeof f!="string")return{id:r};let p=e.getNode(f)?.content.blob;return{id:r,media_type:e.mediaOf(f).media_type,...typeof p=="string"?{cid:p}:{}}}),k=m[0],v=new Map;for(let r of m)r.props?.source_id&&r.props?.source_cid&&v.set(String(r.props.source_id),String(r.props.source_cid));let T=x.filter(r=>{let f=e.heads.get(r),p=v.get(r);return f!=null&&p!==void 0&&f!==p}).sort(),L=e.edgesFrom(n).filter(r=>r.type===h.DEPENDS_ON&&!e.superseded.has(r.ecid)).map(r=>de(e,r.dst)).filter(r=>r!==null).sort(),D=te(e,_),q=new Set(D),H=D.map(r=>{let f=e.getNode(r)?.content??{},p=e.edgesFrom(r).filter(S=>S.type===h.EXERCISES&&!e.superseded.has(S.ecid)&&R(e,e.tipOf(S.dst))).map(S=>y(e,e.tipOf(S.dst))).sort();return{id:y(e,r),case_type:String(f.case_type??""),intent:String(f.intent??""),exercises:p}}).sort((r,f)=>r.id<f.id?-1:1),$=!1,E=new Set([_]);for(let r of D)E.add(r);let J=se(e,_,q).map(({cid:r,scope:f})=>{let p=e.getNode(r)?.content??{},S=[...new Set(e.edgesInto(r).filter(a=>a.type===h.VERIFIES&&!e.superseded.has(a.ecid)).map(a=>e.tipOf(a.src)).filter(a=>!!a&&R(e,a)))].sort((a,g)=>l(a)<l(g)?-1:1),G=S.length>0,N=S.map(a=>t.get(`id:${l(a)}`)??t.get(`def:${String(e.getNode(a)?.content.definitionId??"")}`)),j=N.some(a=>a!==void 0);j&&($=!0),E.add(r);for(let a of S)E.add(a);let X=G&&!j?"unknown":e.stale(r)==="fresh"?"fresh":"stale",C=p.expected_answer??{},I=y(e,r),F=S.flatMap(a=>(e.execHistory?.(l(a))??[]).map(g=>({execution_id:String(g.execution_id),ts:String(g.started_at),verdict:String(g.per_ac?.find(M=>M.ac_ref===I)?.verdict??g.verdict),stale_at_run:!!g.stale_at_run,oracle_mode:String(g.oracle_mode),...g.via_parent?{via_parent:String(g.via_parent)}:{}}))).sort((a,g)=>a.ts<g.ts?-1:1).slice(-10);return{id:I,text:String(p.text??""),risk:String(p.risk??""),scope:f,covered_by:S.map(a=>l(a)),...G?{link_type:"verifies"}:{},execution:re(I,N),fresh:X,derived:!!p.derived,...p.kind||p.expected_answer?{expected_answer:{...p.kind?{kind:String(p.kind)}:{},statement:String(p.text??""),...C.operator!==void 0?{operator:C.operator}:{},...C.operand!==void 0?{operand:C.operand}:{}}}:{},...G?{satisfied_by:S.map((a,g)=>{let M=e.getNode(a)?.content.check??{},V=N[g]?.steps?.checkStepId??M.verified_against;return{test:l(a),...V?{step:V}:{}}})}:{},...F.length?{executions:F}:{}}}).sort((r,f)=>r.id<f.id?-1:1);if(!(i&&!$)){for(let r of E)c.add(r);d.push({id:y(e,n),title:String(o.title??""),...o.description||o.summary?{description:String(o.description??o.summary)}:{},...Array.isArray(o.actors)&&o.actors.length?{actors:o.actors.map(String)}:{},...o.value?{value:String(o.value)}:{},risk:String(o.risk??""),status:e.trust.get(n)==="trusted"?"approved":"draft",sources:A,...T.length?{stale_sources:T}:{},...L.length?{depends_on:L}:{},...k?{provenance:{derived_from:`${String(k.props?.source_id??"")}#${String(k.props?.anchor??"")}`}}:{},scenarios:H,acceptance_criteria:J})}}d.sort((n,o)=>n.id<o.id?-1:1);let b=e.byLabel(w.GAP).filter(({cid:n})=>R(e,n)&&e.trust.get(n)!=="archived").filter(({content:n})=>{if(!i||typeof n.uc=="string"&&c.has(e.tipOf(n.uc)))return!0;let o=typeof n.ref=="string"?e.resolve(n.ref):null;return o!==null&&c.has(e.tipOf(o.cid))}).map(({cid:n,content:o})=>({ref:y(e,n),kind:String(o.kind??""),...o.risk?{risk:String(o.risk)}:{},...o.question?{question:ce(o.question)}:{}})).sort((n,o)=>n.ref<o.ref?-1:1);return{usecases:d,...b.length?{gaps:b}:{},...i?{scope:"run"}:{}}}function ce(e){if(typeof e=="string")return e;let t=e?.header;return typeof t=="string"?t:""}function de(e,t){let s=e.tipOf(t);return e.nodeLabel.get(s)!==w.USECASE||!R(e,s)?null:y(e,s)}export{K as a,Q as b,Z as c,pe as d,fe as e,Se as f,ie as g};
@@ -1,2 +1,2 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- import{a as S}from"./chunk-NT3UETTV.js";import{x as o}from"./chunk-OFW3ZVTP.js";import{a as R}from"./chunk-HCBYKLMW.js";import{a as y,b as c,j as x}from"./chunk-C44QQJR4.js";import{a as w}from"./chunk-6YGTRKDT.js";import{e as b}from"./chunk-UR6MHSHU.js";var k=b(w(),1);var i=b(R(),1);function A(e){let t=e.decisions.filter(l=>l.kind==="replay").length,r=e.decisions.filter(l=>l.kind==="author").length,p=e.outcomes.filter(l=>l.status==="passed").length,d=e.outcomes.filter(l=>l.status==="failed").length,f=e.outcomes.filter(l=>l.status==="skipped").length,a=o.green,n;e.cancelled||e.overallStatus==="interrupted"?(a=o.orange,n="CANCELLED"):e.overallStatus==="failed"?(a=o.red,n="FAILED"):n="PASSED";let s=`${n} \xB7 ${e.durationS}s \xB7 ${e.outcomes.length} steps (${p} passed, ${d} failed, ${f} skipped)`,T=`${t} replay \xB7 ${r} author`,C=e.retryTriggered,_="yes \u2014 healed after a replay miss",u,h=o.dim;if(e.cancelled)u="\u2013 not committed (cancellation)";else if(e.overallStatus==="failed")u="\u2013 not committed (run failed)",h=o.red;else if(!e.shouldCommit)e.isFirstRun?u="\u2013 not committed (first run skipped commit)":e.lockHeld?u="\u2013 not committed":u="\u2013 not committed (readonly fallback / no lock)";else{let l=e.uploadResult?.testcaseId;u=l?`\u2713 pushed (testcase=${l})`:"\u2713 pushed",h=o.green}let v=e.shouldReplaceLocalOutput?"output dir replaced":e.anyAuthorStepRan?"untouched (cancellation or no replace)":"untouched (replay-only)",m,g=o.dim;return e.shouldUploadArtifacts?e.uploadResult?.success?(m="\u2713 TMS",g=o.green):e.uploadResult?(m=`\u2717 failed${e.uploadResult.error?`: ${e.uploadResult.error}`:""}`,g=o.red):m="\u2013 not run":m="\u2013 skipped (--local or no auth)",{resultLine:{color:a,text:s},breakdown:T,showRetries:C,retriesText:_,commitText:u,commitColor:h,artifactsText:v,uploadText:m,uploadColor:g}}function O(e){let t=e.decisions.filter(s=>s.kind==="replay").length,r=e.decisions.filter(s=>s.kind==="author").length,p=e.outcomes.filter(s=>s.status==="passed").length,d=e.outcomes.filter(s=>s.status==="failed").length,f=e.outcomes.filter(s=>s.status==="skipped").length,a,n=!1;return e.cancelled?a="cancellation":e.overallStatus==="failed"?a="run_failed":e.shouldCommit&&e.uploadResult?.testcaseId?(a="ok",n=!0):!e.shouldCommit&&!e.lockHeld&&!e.isFirstRun?a="readonly_fallback":a="not_committed",{type:"test_md_summary",overall_status:e.overallStatus,duration_s:e.durationS,steps:{total:e.outcomes.length,passed:p,failed:d,skipped:f,replay_decisions:t,author_decisions:r},adaptive_heal:{triggered:e.retryTriggered},commit:{committed:n,reason:a,...e.uploadResult?.testcaseId?{testcase_id:e.uploadResult.testcaseId}:{}},artifacts:{replaced:e.shouldReplaceLocalOutput},upload:{performed:e.shouldUploadArtifacts,...e.uploadResult?{succeeded:!!e.uploadResult.success}:{}},...e.shareUrl?{share_url:e.shareUrl}:{},cancelled:e.cancelled,...e.imports&&e.imports.length>0?{imports:e.imports}:{}}}function D({data:e}){let t=A(e),r=[{label:"result",value:(0,i.jsx)(c,{color:t.resultLine.color,bold:!0,children:t.resultLine.text})},{label:"breakdown",value:(0,i.jsx)(c,{color:o.dim,children:t.breakdown})}];return t.showRetries&&r.push({label:"adaptive heal",value:(0,i.jsx)(c,{color:o.orange,children:t.retriesText})}),r.push({label:"commit",value:(0,i.jsx)(c,{color:t.commitColor,children:t.commitText})}),r.push({label:"artifacts",value:(0,i.jsx)(c,{color:o.dim,children:t.artifactsText})}),r.push({label:"upload",value:(0,i.jsx)(c,{color:t.uploadColor,children:t.uploadText})}),(0,i.jsx)(S,{title:"Run summary",titleColor:"#ff9500",rows:r})}function I({data:e}){let{exit:t}=x();return(0,k.useEffect)(()=>{let r=setTimeout(()=>t(),50);return()=>clearTimeout(r)},[t]),(0,i.jsx)(y,{flexDirection:"column",children:(0,i.jsx)(D,{data:e})})}export{A as a,O as b,D as c,I as d};
2
+ import{a as S}from"./chunk-FL6TCYA5.js";import{x as o}from"./chunk-LPH4TERT.js";import{a as R}from"./chunk-HCBYKLMW.js";import{a as y,b as c,j as x}from"./chunk-C44QQJR4.js";import{a as w}from"./chunk-6YGTRKDT.js";import{e as b}from"./chunk-UR6MHSHU.js";var k=b(w(),1);var i=b(R(),1);function A(e){let t=e.decisions.filter(l=>l.kind==="replay").length,r=e.decisions.filter(l=>l.kind==="author").length,p=e.outcomes.filter(l=>l.status==="passed").length,d=e.outcomes.filter(l=>l.status==="failed").length,f=e.outcomes.filter(l=>l.status==="skipped").length,a=o.green,n;e.cancelled||e.overallStatus==="interrupted"?(a=o.orange,n="CANCELLED"):e.overallStatus==="failed"?(a=o.red,n="FAILED"):n="PASSED";let s=`${n} \xB7 ${e.durationS}s \xB7 ${e.outcomes.length} steps (${p} passed, ${d} failed, ${f} skipped)`,T=`${t} replay \xB7 ${r} author`,C=e.retryTriggered,_="yes \u2014 healed after a replay miss",u,h=o.dim;if(e.cancelled)u="\u2013 not committed (cancellation)";else if(e.overallStatus==="failed")u="\u2013 not committed (run failed)",h=o.red;else if(!e.shouldCommit)e.isFirstRun?u="\u2013 not committed (first run skipped commit)":e.lockHeld?u="\u2013 not committed":u="\u2013 not committed (readonly fallback / no lock)";else{let l=e.uploadResult?.testcaseId;u=l?`\u2713 pushed (testcase=${l})`:"\u2713 pushed",h=o.green}let v=e.shouldReplaceLocalOutput?"output dir replaced":e.anyAuthorStepRan?"untouched (cancellation or no replace)":"untouched (replay-only)",m,g=o.dim;return e.shouldUploadArtifacts?e.uploadResult?.success?(m="\u2713 TMS",g=o.green):e.uploadResult?(m=`\u2717 failed${e.uploadResult.error?`: ${e.uploadResult.error}`:""}`,g=o.red):m="\u2013 not run":m="\u2013 skipped (--local or no auth)",{resultLine:{color:a,text:s},breakdown:T,showRetries:C,retriesText:_,commitText:u,commitColor:h,artifactsText:v,uploadText:m,uploadColor:g}}function O(e){let t=e.decisions.filter(s=>s.kind==="replay").length,r=e.decisions.filter(s=>s.kind==="author").length,p=e.outcomes.filter(s=>s.status==="passed").length,d=e.outcomes.filter(s=>s.status==="failed").length,f=e.outcomes.filter(s=>s.status==="skipped").length,a,n=!1;return e.cancelled?a="cancellation":e.overallStatus==="failed"?a="run_failed":e.shouldCommit&&e.uploadResult?.testcaseId?(a="ok",n=!0):!e.shouldCommit&&!e.lockHeld&&!e.isFirstRun?a="readonly_fallback":a="not_committed",{type:"test_md_summary",overall_status:e.overallStatus,duration_s:e.durationS,steps:{total:e.outcomes.length,passed:p,failed:d,skipped:f,replay_decisions:t,author_decisions:r},adaptive_heal:{triggered:e.retryTriggered},commit:{committed:n,reason:a,...e.uploadResult?.testcaseId?{testcase_id:e.uploadResult.testcaseId}:{}},artifacts:{replaced:e.shouldReplaceLocalOutput},upload:{performed:e.shouldUploadArtifacts,...e.uploadResult?{succeeded:!!e.uploadResult.success}:{}},...e.shareUrl?{share_url:e.shareUrl}:{},cancelled:e.cancelled,...e.imports&&e.imports.length>0?{imports:e.imports}:{}}}function D({data:e}){let t=A(e),r=[{label:"result",value:(0,i.jsx)(c,{color:t.resultLine.color,bold:!0,children:t.resultLine.text})},{label:"breakdown",value:(0,i.jsx)(c,{color:o.dim,children:t.breakdown})}];return t.showRetries&&r.push({label:"adaptive heal",value:(0,i.jsx)(c,{color:o.orange,children:t.retriesText})}),r.push({label:"commit",value:(0,i.jsx)(c,{color:t.commitColor,children:t.commitText})}),r.push({label:"artifacts",value:(0,i.jsx)(c,{color:o.dim,children:t.artifactsText})}),r.push({label:"upload",value:(0,i.jsx)(c,{color:t.uploadColor,children:t.uploadText})}),(0,i.jsx)(S,{title:"Run summary",titleColor:"#ff9500",rows:r})}function I({data:e}){let{exit:t}=x();return(0,k.useEffect)(()=>{let r=setTimeout(()=>t(),50);return()=>clearTimeout(r)},[t]),(0,i.jsx)(y,{flexDirection:"column",children:(0,i.jsx)(D,{data:e})})}export{A as a,O as b,D as c,I as d};
@@ -1,2 +1,2 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- import{b as B,c as S,d as T}from"./chunk-RZLD7TPG.js";import{c as g}from"./chunk-RFHMDQXZ.js";import{a as E}from"./chunk-RDNKYRKY.js";import{x as n}from"./chunk-OFW3ZVTP.js";import{a as h}from"./chunk-HCBYKLMW.js";import{a as i,b as c,c as w,i as x}from"./chunk-C44QQJR4.js";import{a as L}from"./chunk-6YGTRKDT.js";import{e as u}from"./chunk-UR6MHSHU.js";var l=u(L(),1);var r=u(h(),1);function y(e){return new Map(e.map((o,s)=>[`${s}-${o.label}`,o.packPath]))}async function H(e){let o=e.deps?.viewerBase??S(e.env),s=e.deps?.startServer??B,a=e.deps?.openUrl??(m=>g(m).then(()=>{})),t=y(e.rows),d;try{d=await s({packs:t,allowedOrigins:[new URL(o).origin]});let m=d,D=async p=>{let v=[...t.keys()][p];await a(T(m.urlFor(v),o))};if(e.deps?.hold){await e.deps.hold();return}await new Promise(p=>{let v=w(l.default.createElement(P,{rows:e.rows,onOpen:D,onDone:()=>{v.unmount(),p()}}),{stdout:process.stderr,exitOnCtrlC:!1})})}finally{await d?.close()}}function I(e){return e==="passed"?n.green:e==="failed"||e==="broken"||e==="cancelled"?n.red:n.dim}var b=40,R=9,k=20;function f(e,o){return e.length>o?e.slice(0,o-1)+"\u2026":e.padEnd(o)}function O({row:e,selected:o}){let s=e.testId??e.commitId??"";return(0,r.jsxs)(i,{children:[(0,r.jsx)(i,{width:2,flexShrink:0,children:(0,r.jsx)(c,{color:n.orange,children:o?"\u25B8":" "})}),(0,r.jsx)(i,{width:2,flexShrink:0,children:(0,r.jsx)(c,{color:e.kind==="execution"?n.orange:n.muted,children:e.kind==="execution"?"\u25CF":"\u25CB"})}),(0,r.jsx)(i,{width:b,flexShrink:0,children:(0,r.jsx)(c,{color:o?n.orange:void 0,bold:o,wrap:"truncate-end",children:f(e.label,b)})}),(0,r.jsx)(i,{width:R,flexShrink:0,children:(0,r.jsx)(c,{color:I(e.status),bold:o,wrap:"truncate-end",children:f(e.status,R)})}),(0,r.jsx)(i,{width:k,flexShrink:0,children:(0,r.jsx)(c,{color:n.dim,wrap:"truncate-end",children:f(s,k)})})]})}function P(e){let[o,s]=(0,l.useState)(0);return x((a,t)=>{t.upArrow?s(d=>Math.max(0,d-1)):t.downArrow?s(d=>Math.min(e.rows.length-1,d+1)):t.return||a==="o"?e.onOpen(o):(a==="q"||t.escape)&&e.onDone()}),(0,r.jsx)(E,{title:"Evidence",borderColor:n.muted,children:(0,r.jsxs)(i,{flexDirection:"column",children:[e.rows.map((a,t)=>(0,r.jsx)(O,{row:a,selected:t===o},t)),(0,r.jsx)(i,{marginTop:1,children:(0,r.jsx)(c,{color:n.dim,children:"\u2191/\u2193 move \xB7 enter/o open \xB7 q quit"})})]})})}export{y as a,H as b};
2
+ import{b as B,c as S,d as T}from"./chunk-7RTITBZG.js";import{c as g}from"./chunk-RFHMDQXZ.js";import{a as E}from"./chunk-5M5BG4MT.js";import{x as n}from"./chunk-LPH4TERT.js";import{a as h}from"./chunk-HCBYKLMW.js";import{a as i,b as c,c as w,i as x}from"./chunk-C44QQJR4.js";import{a as L}from"./chunk-6YGTRKDT.js";import{e as u}from"./chunk-UR6MHSHU.js";var l=u(L(),1);var r=u(h(),1);function y(e){return new Map(e.map((o,s)=>[`${s}-${o.label}`,o.packPath]))}async function H(e){let o=e.deps?.viewerBase??S(e.env),s=e.deps?.startServer??B,a=e.deps?.openUrl??(m=>g(m).then(()=>{})),t=y(e.rows),d;try{d=await s({packs:t,allowedOrigins:[new URL(o).origin]});let m=d,D=async p=>{let v=[...t.keys()][p];await a(T(m.urlFor(v),o))};if(e.deps?.hold){await e.deps.hold();return}await new Promise(p=>{let v=w(l.default.createElement(P,{rows:e.rows,onOpen:D,onDone:()=>{v.unmount(),p()}}),{stdout:process.stderr,exitOnCtrlC:!1})})}finally{await d?.close()}}function I(e){return e==="passed"?n.green:e==="failed"||e==="broken"||e==="cancelled"?n.red:n.dim}var b=40,R=9,k=20;function f(e,o){return e.length>o?e.slice(0,o-1)+"\u2026":e.padEnd(o)}function O({row:e,selected:o}){let s=e.testId??e.commitId??"";return(0,r.jsxs)(i,{children:[(0,r.jsx)(i,{width:2,flexShrink:0,children:(0,r.jsx)(c,{color:n.orange,children:o?"\u25B8":" "})}),(0,r.jsx)(i,{width:2,flexShrink:0,children:(0,r.jsx)(c,{color:e.kind==="execution"?n.orange:n.muted,children:e.kind==="execution"?"\u25CF":"\u25CB"})}),(0,r.jsx)(i,{width:b,flexShrink:0,children:(0,r.jsx)(c,{color:o?n.orange:void 0,bold:o,wrap:"truncate-end",children:f(e.label,b)})}),(0,r.jsx)(i,{width:R,flexShrink:0,children:(0,r.jsx)(c,{color:I(e.status),bold:o,wrap:"truncate-end",children:f(e.status,R)})}),(0,r.jsx)(i,{width:k,flexShrink:0,children:(0,r.jsx)(c,{color:n.dim,wrap:"truncate-end",children:f(s,k)})})]})}function P(e){let[o,s]=(0,l.useState)(0);return x((a,t)=>{t.upArrow?s(d=>Math.max(0,d-1)):t.downArrow?s(d=>Math.min(e.rows.length-1,d+1)):t.return||a==="o"?e.onOpen(o):(a==="q"||t.escape)&&e.onDone()}),(0,r.jsx)(E,{title:"Evidence",borderColor:n.muted,children:(0,r.jsxs)(i,{flexDirection:"column",children:[e.rows.map((a,t)=>(0,r.jsx)(O,{row:a,selected:t===o},t)),(0,r.jsx)(i,{marginTop:1,children:(0,r.jsx)(c,{color:n.dim,children:"\u2191/\u2193 move \xB7 enter/o open \xB7 q quit"})})]})})}export{y as a,H as b};