@moberg_hr/work-tree 2.11.2 → 2.11.4

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 (264) hide show
  1. package/dist/{account-TEV24OIT.js → account-JOKEFQ46.js} +19 -18
  2. package/dist/{account-TEV24OIT.js.map → account-JOKEFQ46.js.map} +1 -1
  3. package/dist/{add-repo-RTWDVZLS.js → add-repo-JKVHNRWU.js} +20 -19
  4. package/dist/{add-repo-RTWDVZLS.js.map → add-repo-JKVHNRWU.js.map} +1 -1
  5. package/dist/{answer-Z73ZUV4U.js → answer-PDCLL5Z2.js} +11 -10
  6. package/dist/{answer-Z73ZUV4U.js.map → answer-PDCLL5Z2.js.map} +1 -1
  7. package/dist/{attach-46EMF36G.js → attach-BIFQP5OY.js} +15 -14
  8. package/dist/{attach-46EMF36G.js.map → attach-BIFQP5OY.js.map} +1 -1
  9. package/dist/bin.js +3 -3
  10. package/dist/{block-YZUWOE32.js → block-EI3OQVDM.js} +16 -15
  11. package/dist/{block-YZUWOE32.js.map → block-EI3OQVDM.js.map} +1 -1
  12. package/dist/{broadcast-WKG6KOY4.js → broadcast-ZSA3L5FY.js} +7 -6
  13. package/dist/{broadcast-WKG6KOY4.js.map → broadcast-ZSA3L5FY.js.map} +1 -1
  14. package/dist/{catchup-QSE2VRQI.js → catchup-SNMGWNRX.js} +14 -13
  15. package/dist/{catchup-QSE2VRQI.js.map → catchup-SNMGWNRX.js.map} +1 -1
  16. package/dist/{chunk-KSVYR4G2.js → chunk-253Q6TOC.js} +3 -3
  17. package/dist/{chunk-323URLMS.js → chunk-2R6EHVZG.js} +3 -3
  18. package/dist/{chunk-2FEJ66UR.js → chunk-2VYWTBC6.js} +3 -3
  19. package/dist/{chunk-ZNH72CNE.js → chunk-2YKV6MNQ.js} +3 -3
  20. package/dist/{chunk-52WAQNW2.js → chunk-3LDQPUJ6.js} +6 -6
  21. package/dist/{chunk-BVTV67Y2.js → chunk-3PXA5RJ2.js} +32 -5
  22. package/dist/chunk-3PXA5RJ2.js.map +1 -0
  23. package/dist/{chunk-TQEG7UWB.js → chunk-3QEDOZMA.js} +3 -3
  24. package/dist/{chunk-EL3XL2OC.js → chunk-3QKH7JNR.js} +2 -64
  25. package/dist/chunk-3QKH7JNR.js.map +1 -0
  26. package/dist/{chunk-MSJWQC7H.js → chunk-3UI35AFZ.js} +2 -2
  27. package/dist/{chunk-VPTHUGPB.js → chunk-3XU7Y2MV.js} +2 -2
  28. package/dist/{chunk-JNBMANFM.js → chunk-5DUKO7WC.js} +3 -3
  29. package/dist/{chunk-I6MILNM5.js → chunk-5ZU6H62F.js} +2 -2
  30. package/dist/{chunk-RGLIW45S.js → chunk-6C7CR2W2.js} +2 -2
  31. package/dist/{chunk-ZGUMZJLW.js → chunk-6MMXVHPL.js} +7 -7
  32. package/dist/{chunk-XU7TWI23.js → chunk-73MGZAGV.js} +2 -2
  33. package/dist/{chunk-PPZP7CA7.js → chunk-7HQM5NYN.js} +3 -3
  34. package/dist/{chunk-4DKXJGZU.js → chunk-7OZZUQDW.js} +4 -4
  35. package/dist/{chunk-O36SFV5G.js → chunk-AU7XGTJZ.js} +2 -2
  36. package/dist/chunk-AWY2HWAQ.js +9 -0
  37. package/dist/{chunk-OXKUVNQL.js → chunk-BENY64FW.js} +3 -3
  38. package/dist/{chunk-MQCDFSVF.js → chunk-BLOV7ECI.js} +2 -2
  39. package/dist/{chunk-QZU6TQM7.js → chunk-BTR2E5WD.js} +13 -13
  40. package/dist/{chunk-CGXZSYY3.js → chunk-CJ2QTQHG.js} +3 -2
  41. package/dist/chunk-CJ2QTQHG.js.map +1 -0
  42. package/dist/{chunk-3XKGKOVC.js → chunk-CL3SSNBC.js} +3 -3
  43. package/dist/{chunk-3XKGKOVC.js.map → chunk-CL3SSNBC.js.map} +1 -1
  44. package/dist/{chunk-DCCC7LEP.js → chunk-CSTPOCV2.js} +5 -3
  45. package/dist/{chunk-DCCC7LEP.js.map → chunk-CSTPOCV2.js.map} +1 -1
  46. package/dist/{chunk-O4V7K5HL.js → chunk-DMA3XCMF.js} +6 -6
  47. package/dist/{chunk-H3VAWTA4.js → chunk-E6WVQXF4.js} +3 -3
  48. package/dist/{chunk-U4CIMKG2.js → chunk-F7IOGLKV.js} +6 -6
  49. package/dist/{chunk-UQJUIOGU.js → chunk-FFL7ETBY.js} +5 -5
  50. package/dist/{chunk-WW2FT2L3.js → chunk-GAE3NB3G.js} +8 -8
  51. package/dist/{chunk-WZSKGVOQ.js → chunk-GV3KXHF3.js} +3 -3
  52. package/dist/{chunk-HPCGWSTO.js → chunk-HECIDNBU.js} +8 -8
  53. package/dist/{chunk-EUY7ZOAM.js → chunk-HJ2RKMBI.js} +2 -2
  54. package/dist/{chunk-DAKJTB6N.js → chunk-HRUKMBF3.js} +2 -2
  55. package/dist/{chunk-26YZYL77.js → chunk-IYWNDEXA.js} +5 -5
  56. package/dist/{chunk-MAMO57YN.js → chunk-K7Y7YTN3.js} +2 -2
  57. package/dist/{chunk-N4W34U3I.js → chunk-KCDHOW22.js} +42 -18
  58. package/dist/chunk-KCDHOW22.js.map +1 -0
  59. package/dist/{chunk-AHYCZUPI.js → chunk-KKVWDMSM.js} +2 -2
  60. package/dist/{chunk-I2ZBOLXK.js → chunk-KP2CI5QU.js} +4 -4
  61. package/dist/{chunk-FCGFXV6C.js → chunk-LPHYUNMD.js} +5 -5
  62. package/dist/{chunk-UNKJVL2C.js → chunk-M7FX37Z2.js} +5 -5
  63. package/dist/{chunk-7QNVFVG6.js → chunk-MBSCZQ2C.js} +2 -2
  64. package/dist/chunk-MBSCZQ2C.js.map +1 -0
  65. package/dist/{chunk-GZYXCMJH.js → chunk-MGNJPBZU.js} +5 -5
  66. package/dist/{chunk-I4YAFPYP.js → chunk-N75AJ3ZR.js} +3 -3
  67. package/dist/{chunk-S3QXYWKF.js → chunk-PHHBZDO2.js} +55 -53
  68. package/dist/chunk-PHHBZDO2.js.map +1 -0
  69. package/dist/{chunk-4K4S53KX.js → chunk-PMEOGFGV.js} +2 -2
  70. package/dist/{chunk-562VO6OV.js → chunk-QRYZAY7R.js} +6 -6
  71. package/dist/{chunk-B5GJNQFD.js → chunk-RH4BGTER.js} +3 -3
  72. package/dist/{chunk-4CNBSPNL.js → chunk-RIEBQWQC.js} +2 -2
  73. package/dist/{chunk-ODCAGWB7.js → chunk-RUUEZSQY.js} +6 -6
  74. package/dist/{chunk-7HNGU6VR.js → chunk-RXZKYHSW.js} +4 -4
  75. package/dist/{chunk-VHYTF5Z3.js → chunk-SC2FQ6BR.js} +5 -5
  76. package/dist/{chunk-NUMRRBHL.js → chunk-SMXRY653.js} +6 -6
  77. package/dist/{chunk-3JJLUNPD.js → chunk-SQ4ZGEZY.js} +6 -3
  78. package/dist/chunk-SQ4ZGEZY.js.map +1 -0
  79. package/dist/{chunk-PMR5TOBL.js → chunk-TW44C7CG.js} +5 -5
  80. package/dist/{chunk-SO3GLVKM.js → chunk-U3RRXU6W.js} +7 -7
  81. package/dist/{chunk-QHXMVK75.js → chunk-VADGWMXL.js} +5 -5
  82. package/dist/chunk-VQACXAFX.js +69 -0
  83. package/dist/chunk-VQACXAFX.js.map +1 -0
  84. package/dist/{chunk-6OG7ERB5.js → chunk-WQN7HJK6.js} +15 -9
  85. package/dist/chunk-WQN7HJK6.js.map +1 -0
  86. package/dist/{chunk-CD6I23QB.js → chunk-WV5U4S5N.js} +7 -7
  87. package/dist/{chunk-63ZLPXRL.js → chunk-WYQD44Y4.js} +2 -2
  88. package/dist/{chunk-FJTMZB4E.js → chunk-XZKQHQBB.js} +4 -4
  89. package/dist/{chunk-GYWLYPXX.js → chunk-ZJBVZ4OJ.js} +4 -4
  90. package/dist/{chunk-EXNL7TI7.js → chunk-ZX2VBM2F.js} +4 -4
  91. package/dist/{cleanup-4SBO55WC.js → cleanup-5CPX253G.js} +36 -35
  92. package/dist/{cleanup-4SBO55WC.js.map → cleanup-5CPX253G.js.map} +1 -1
  93. package/dist/cli-D2RPZWWM.js +20 -0
  94. package/dist/{completion-IAH7WRKJ.js → completion-QCB7PKKT.js} +4 -3
  95. package/dist/{completion-IAH7WRKJ.js.map → completion-QCB7PKKT.js.map} +1 -1
  96. package/dist/{config-TPMJCP5K.js → config-EQFAXBMQ.js} +13 -12
  97. package/dist/{config-TPMJCP5K.js.map → config-EQFAXBMQ.js.map} +1 -1
  98. package/dist/{diff-BW6BSFQS.js → diff-MLCUMIYC.js} +13 -12
  99. package/dist/{diff-BW6BSFQS.js.map → diff-MLCUMIYC.js.map} +1 -1
  100. package/dist/{digest-I53EQ6FM.js → digest-KSAGLQND.js} +10 -9
  101. package/dist/{digest-I53EQ6FM.js.map → digest-KSAGLQND.js.map} +1 -1
  102. package/dist/{fork-GORLJ5D7.js → fork-RCTVMUYI.js} +32 -31
  103. package/dist/{fork-GORLJ5D7.js.map → fork-RCTVMUYI.js.map} +1 -1
  104. package/dist/{history-QQ72P3PD.js → history-N4ZURR4F.js} +9 -6
  105. package/dist/{hook-PSCHP6OD.js → hook-DRZVYLJB.js} +13 -12
  106. package/dist/{hook-PSCHP6OD.js.map → hook-DRZVYLJB.js.map} +1 -1
  107. package/dist/{hydrate-JWUZUKQR.js → hydrate-NVJZZAFT.js} +8 -7
  108. package/dist/{hydrate-JWUZUKQR.js.map → hydrate-NVJZZAFT.js.map} +1 -1
  109. package/dist/{init-C6CCVCZ3.js → init-RF6YC4BQ.js} +18 -17
  110. package/dist/{init-C6CCVCZ3.js.map → init-RF6YC4BQ.js.map} +1 -1
  111. package/dist/{install-skills-KS6N4U6L.js → install-skills-DV7JBW56.js} +7 -6
  112. package/dist/install-skills-bin.js +6 -5
  113. package/dist/install-skills-bin.js.map +1 -1
  114. package/dist/keep-7Q3B6QT5.js +53 -0
  115. package/dist/keep-7Q3B6QT5.js.map +1 -0
  116. package/dist/{list-LLB6KAFP.js → list-PIJ4ROHR.js} +9 -8
  117. package/dist/{list-LLB6KAFP.js.map → list-PIJ4ROHR.js.map} +1 -1
  118. package/dist/{move-IU6BI3JN.js → move-XAZG3MJT.js} +22 -21
  119. package/dist/{move-IU6BI3JN.js.map → move-XAZG3MJT.js.map} +1 -1
  120. package/dist/{note-7USST5R5.js → note-JJXIQ4QK.js} +10 -9
  121. package/dist/{note-7USST5R5.js.map → note-JJXIQ4QK.js.map} +1 -1
  122. package/dist/{overlaps-YCKUSS6F.js → overlaps-3YN4UQWC.js} +17 -16
  123. package/dist/{overlaps-YCKUSS6F.js.map → overlaps-3YN4UQWC.js.map} +1 -1
  124. package/dist/{pin-OVQLMH5R.js → pin-OOCB6DFR.js} +10 -9
  125. package/dist/{pin-OVQLMH5R.js.map → pin-OOCB6DFR.js.map} +1 -1
  126. package/dist/{pr-CEH64GGM.js → pr-LCG4W65A.js} +24 -23
  127. package/dist/{pr-CEH64GGM.js.map → pr-LCG4W65A.js.map} +1 -1
  128. package/dist/{prune-D2GPBZZ4.js → prune-2NGAUOPI.js} +34 -33
  129. package/dist/{prune-D2GPBZZ4.js.map → prune-2NGAUOPI.js.map} +1 -1
  130. package/dist/{pty-host-TNIVMCBV.js → pty-host-XRXRI6UL.js} +13 -12
  131. package/dist/{pty-host-TNIVMCBV.js.map → pty-host-XRXRI6UL.js.map} +1 -1
  132. package/dist/{read-Q47ZI64J.js → read-FJDDCX4D.js} +10 -9
  133. package/dist/{read-Q47ZI64J.js.map → read-FJDDCX4D.js.map} +1 -1
  134. package/dist/{recent-YRCOQC4A.js → recent-AAXLCQUF.js} +14 -13
  135. package/dist/{recent-YRCOQC4A.js.map → recent-AAXLCQUF.js.map} +1 -1
  136. package/dist/{remove-EEQHU53O.js → remove-VO5V45IJ.js} +33 -32
  137. package/dist/{remove-EEQHU53O.js.map → remove-VO5V45IJ.js.map} +1 -1
  138. package/dist/{restart-RVRLKW2Q.js → restart-AP763LE2.js} +11 -10
  139. package/dist/{restart-RVRLKW2Q.js.map → restart-AP763LE2.js.map} +1 -1
  140. package/dist/{resume-2ZAGQMV7.js → resume-SPO5XNDT.js} +14 -13
  141. package/dist/{resume-2ZAGQMV7.js.map → resume-SPO5XNDT.js.map} +1 -1
  142. package/dist/review-5IGFQF2T.js +120 -0
  143. package/dist/review-5IGFQF2T.js.map +1 -0
  144. package/dist/{run-MEL42R3A.js → run-JZWZHJOE.js} +7 -6
  145. package/dist/{run-MEL42R3A.js.map → run-JZWZHJOE.js.map} +1 -1
  146. package/dist/{screen-JNHBNT3Z.js → screen-JRMMYVHB.js} +11 -10
  147. package/dist/{screen-JNHBNT3Z.js.map → screen-JRMMYVHB.js.map} +1 -1
  148. package/dist/{search-55ZJKEHN.js → search-XOWMVFP2.js} +7 -6
  149. package/dist/{search-55ZJKEHN.js.map → search-XOWMVFP2.js.map} +1 -1
  150. package/dist/{section-KTIOZ67K.js → section-7WO7IHG6.js} +10 -9
  151. package/dist/{section-KTIOZ67K.js.map → section-7WO7IHG6.js.map} +1 -1
  152. package/dist/{send-NTTZ5K6N.js → send-OCSMOCUE.js} +16 -15
  153. package/dist/{send-NTTZ5K6N.js.map → send-OCSMOCUE.js.map} +1 -1
  154. package/dist/{sessions-7PSFS7KI.js → sessions-UAZALGGH.js} +28 -27
  155. package/dist/{sessions-7PSFS7KI.js.map → sessions-UAZALGGH.js.map} +1 -1
  156. package/dist/{snooze-IVWKZMOD.js → snooze-UDJ5UDCS.js} +10 -9
  157. package/dist/{snooze-IVWKZMOD.js.map → snooze-UDJ5UDCS.js.map} +1 -1
  158. package/dist/{start-3TQXW22D.js → start-OEG3T2SW.js} +11 -10
  159. package/dist/{start-3TQXW22D.js.map → start-OEG3T2SW.js.map} +1 -1
  160. package/dist/{status-LNDJJARR.js → status-R4T2EHG5.js} +14 -13
  161. package/dist/{status-LNDJJARR.js.map → status-R4T2EHG5.js.map} +1 -1
  162. package/dist/{statusline-WKKYCH7O.js → statusline-3H3HAPCZ.js} +5 -4
  163. package/dist/{statusline-WKKYCH7O.js.map → statusline-3H3HAPCZ.js.map} +1 -1
  164. package/dist/{statusline-hook-K7KPN2H6.js → statusline-hook-FILOARNM.js} +5 -4
  165. package/dist/{statusline-hook-K7KPN2H6.js.map → statusline-hook-FILOARNM.js.map} +1 -1
  166. package/dist/{stop-DZJDYVUY.js → stop-D3LRCCJS.js} +11 -10
  167. package/dist/{stop-DZJDYVUY.js.map → stop-D3LRCCJS.js.map} +1 -1
  168. package/dist/{sync-TZYDXWA6.js → sync-FWC2EWLW.js} +34 -33
  169. package/dist/{sync-TZYDXWA6.js.map → sync-FWC2EWLW.js.map} +1 -1
  170. package/dist/{time-NZG6C7OX.js → time-AMAMIDWD.js} +11 -10
  171. package/dist/{time-NZG6C7OX.js.map → time-AMAMIDWD.js.map} +1 -1
  172. package/dist/{timesheet-6U35X2KH.js → timesheet-QFBA2Z2A.js} +18 -17
  173. package/dist/{timesheet-6U35X2KH.js.map → timesheet-QFBA2Z2A.js.map} +1 -1
  174. package/dist/{tree-P27UZCXD.js → tree-PJM2R2VA.js} +35 -34
  175. package/dist/{tree-P27UZCXD.js.map → tree-PJM2R2VA.js.map} +1 -1
  176. package/dist/{update-5UQBKLML.js → update-RVZMM54Z.js} +20 -19
  177. package/dist/{update-5UQBKLML.js.map → update-RVZMM54Z.js.map} +1 -1
  178. package/dist/{usage-OZNRH45Z.js → usage-W4UXQUPD.js} +9 -8
  179. package/dist/{usage-OZNRH45Z.js.map → usage-W4UXQUPD.js.map} +1 -1
  180. package/dist/{version-TVT6GSRF.js → version-WPF664CL.js} +8 -6
  181. package/dist/{version-TVT6GSRF.js.map → version-WPF664CL.js.map} +1 -1
  182. package/dist/{wait-MAEZJP4D.js → wait-C3S7Q6FA.js} +11 -10
  183. package/dist/{wait-MAEZJP4D.js.map → wait-C3S7Q6FA.js.map} +1 -1
  184. package/dist/wd-bin.js +8 -7
  185. package/dist/wd-bin.js.map +1 -1
  186. package/dist/web/assets/{PtyView-CKn5mESo.js → PtyView-Bq8MHIjd.js} +2 -2
  187. package/dist/web/assets/{PtyView-CKn5mESo.js.map → PtyView-Bq8MHIjd.js.map} +1 -1
  188. package/dist/web/assets/index-DkVQmwkZ.js +126 -0
  189. package/dist/web/assets/{index-DYhzy-XC.js.map → index-DkVQmwkZ.js.map} +1 -1
  190. package/dist/web/assets/index-vHIk7hQs.css +1 -0
  191. package/dist/web/index.html +2 -2
  192. package/dist/{web-7T6QQSJV.js → web-MPSYOYQ2.js} +113 -83
  193. package/dist/web-MPSYOYQ2.js.map +1 -0
  194. package/npm-shrinkwrap.json +2 -2
  195. package/package.json +1 -1
  196. package/dist/chunk-3JJLUNPD.js.map +0 -1
  197. package/dist/chunk-6OG7ERB5.js.map +0 -1
  198. package/dist/chunk-7QNVFVG6.js.map +0 -1
  199. package/dist/chunk-BVTV67Y2.js.map +0 -1
  200. package/dist/chunk-CGXZSYY3.js.map +0 -1
  201. package/dist/chunk-EL3XL2OC.js.map +0 -1
  202. package/dist/chunk-FL44GFZZ.js +0 -9
  203. package/dist/chunk-N4W34U3I.js.map +0 -1
  204. package/dist/chunk-S3QXYWKF.js.map +0 -1
  205. package/dist/cli-73SMUICE.js +0 -19
  206. package/dist/web/assets/index-CpqiTeqj.css +0 -1
  207. package/dist/web/assets/index-DYhzy-XC.js +0 -126
  208. package/dist/web-7T6QQSJV.js.map +0 -1
  209. /package/dist/{chunk-KSVYR4G2.js.map → chunk-253Q6TOC.js.map} +0 -0
  210. /package/dist/{chunk-323URLMS.js.map → chunk-2R6EHVZG.js.map} +0 -0
  211. /package/dist/{chunk-2FEJ66UR.js.map → chunk-2VYWTBC6.js.map} +0 -0
  212. /package/dist/{chunk-ZNH72CNE.js.map → chunk-2YKV6MNQ.js.map} +0 -0
  213. /package/dist/{chunk-52WAQNW2.js.map → chunk-3LDQPUJ6.js.map} +0 -0
  214. /package/dist/{chunk-TQEG7UWB.js.map → chunk-3QEDOZMA.js.map} +0 -0
  215. /package/dist/{chunk-MSJWQC7H.js.map → chunk-3UI35AFZ.js.map} +0 -0
  216. /package/dist/{chunk-VPTHUGPB.js.map → chunk-3XU7Y2MV.js.map} +0 -0
  217. /package/dist/{chunk-JNBMANFM.js.map → chunk-5DUKO7WC.js.map} +0 -0
  218. /package/dist/{chunk-I6MILNM5.js.map → chunk-5ZU6H62F.js.map} +0 -0
  219. /package/dist/{chunk-RGLIW45S.js.map → chunk-6C7CR2W2.js.map} +0 -0
  220. /package/dist/{chunk-ZGUMZJLW.js.map → chunk-6MMXVHPL.js.map} +0 -0
  221. /package/dist/{chunk-XU7TWI23.js.map → chunk-73MGZAGV.js.map} +0 -0
  222. /package/dist/{chunk-PPZP7CA7.js.map → chunk-7HQM5NYN.js.map} +0 -0
  223. /package/dist/{chunk-4DKXJGZU.js.map → chunk-7OZZUQDW.js.map} +0 -0
  224. /package/dist/{chunk-O36SFV5G.js.map → chunk-AU7XGTJZ.js.map} +0 -0
  225. /package/dist/{chunk-FL44GFZZ.js.map → chunk-AWY2HWAQ.js.map} +0 -0
  226. /package/dist/{chunk-OXKUVNQL.js.map → chunk-BENY64FW.js.map} +0 -0
  227. /package/dist/{chunk-MQCDFSVF.js.map → chunk-BLOV7ECI.js.map} +0 -0
  228. /package/dist/{chunk-QZU6TQM7.js.map → chunk-BTR2E5WD.js.map} +0 -0
  229. /package/dist/{chunk-O4V7K5HL.js.map → chunk-DMA3XCMF.js.map} +0 -0
  230. /package/dist/{chunk-H3VAWTA4.js.map → chunk-E6WVQXF4.js.map} +0 -0
  231. /package/dist/{chunk-U4CIMKG2.js.map → chunk-F7IOGLKV.js.map} +0 -0
  232. /package/dist/{chunk-UQJUIOGU.js.map → chunk-FFL7ETBY.js.map} +0 -0
  233. /package/dist/{chunk-WW2FT2L3.js.map → chunk-GAE3NB3G.js.map} +0 -0
  234. /package/dist/{chunk-WZSKGVOQ.js.map → chunk-GV3KXHF3.js.map} +0 -0
  235. /package/dist/{chunk-HPCGWSTO.js.map → chunk-HECIDNBU.js.map} +0 -0
  236. /package/dist/{chunk-EUY7ZOAM.js.map → chunk-HJ2RKMBI.js.map} +0 -0
  237. /package/dist/{chunk-DAKJTB6N.js.map → chunk-HRUKMBF3.js.map} +0 -0
  238. /package/dist/{chunk-26YZYL77.js.map → chunk-IYWNDEXA.js.map} +0 -0
  239. /package/dist/{chunk-MAMO57YN.js.map → chunk-K7Y7YTN3.js.map} +0 -0
  240. /package/dist/{chunk-AHYCZUPI.js.map → chunk-KKVWDMSM.js.map} +0 -0
  241. /package/dist/{chunk-I2ZBOLXK.js.map → chunk-KP2CI5QU.js.map} +0 -0
  242. /package/dist/{chunk-FCGFXV6C.js.map → chunk-LPHYUNMD.js.map} +0 -0
  243. /package/dist/{chunk-UNKJVL2C.js.map → chunk-M7FX37Z2.js.map} +0 -0
  244. /package/dist/{chunk-GZYXCMJH.js.map → chunk-MGNJPBZU.js.map} +0 -0
  245. /package/dist/{chunk-I4YAFPYP.js.map → chunk-N75AJ3ZR.js.map} +0 -0
  246. /package/dist/{chunk-4K4S53KX.js.map → chunk-PMEOGFGV.js.map} +0 -0
  247. /package/dist/{chunk-562VO6OV.js.map → chunk-QRYZAY7R.js.map} +0 -0
  248. /package/dist/{chunk-B5GJNQFD.js.map → chunk-RH4BGTER.js.map} +0 -0
  249. /package/dist/{chunk-4CNBSPNL.js.map → chunk-RIEBQWQC.js.map} +0 -0
  250. /package/dist/{chunk-ODCAGWB7.js.map → chunk-RUUEZSQY.js.map} +0 -0
  251. /package/dist/{chunk-7HNGU6VR.js.map → chunk-RXZKYHSW.js.map} +0 -0
  252. /package/dist/{chunk-VHYTF5Z3.js.map → chunk-SC2FQ6BR.js.map} +0 -0
  253. /package/dist/{chunk-NUMRRBHL.js.map → chunk-SMXRY653.js.map} +0 -0
  254. /package/dist/{chunk-PMR5TOBL.js.map → chunk-TW44C7CG.js.map} +0 -0
  255. /package/dist/{chunk-SO3GLVKM.js.map → chunk-U3RRXU6W.js.map} +0 -0
  256. /package/dist/{chunk-QHXMVK75.js.map → chunk-VADGWMXL.js.map} +0 -0
  257. /package/dist/{chunk-CD6I23QB.js.map → chunk-WV5U4S5N.js.map} +0 -0
  258. /package/dist/{chunk-63ZLPXRL.js.map → chunk-WYQD44Y4.js.map} +0 -0
  259. /package/dist/{chunk-FJTMZB4E.js.map → chunk-XZKQHQBB.js.map} +0 -0
  260. /package/dist/{chunk-GYWLYPXX.js.map → chunk-ZJBVZ4OJ.js.map} +0 -0
  261. /package/dist/{chunk-EXNL7TI7.js.map → chunk-ZX2VBM2F.js.map} +0 -0
  262. /package/dist/{cli-73SMUICE.js.map → cli-D2RPZWWM.js.map} +0 -0
  263. /package/dist/{history-QQ72P3PD.js.map → history-N4ZURR4F.js.map} +0 -0
  264. /package/dist/{install-skills-KS6N4U6L.js.map → install-skills-DV7JBW56.js.map} +0 -0
@@ -4,11 +4,11 @@ import {
4
4
  } from "./chunk-6AQRYLOB.js";
5
5
  import {
6
6
  findSessionForCwd
7
- } from "./chunk-FCGFXV6C.js";
7
+ } from "./chunk-LPHYUNMD.js";
8
8
  import {
9
9
  findSession,
10
10
  loadHistory
11
- } from "./chunk-BVTV67Y2.js";
11
+ } from "./chunk-3PXA5RJ2.js";
12
12
  import {
13
13
  loadConfig
14
14
  } from "./chunk-O5ZJY5BT.js";
@@ -38,4 +38,4 @@ export {
38
38
  sessionPositionals,
39
39
  sessionFromArgs
40
40
  };
41
- //# sourceMappingURL=chunk-TQEG7UWB.js.map
41
+ //# sourceMappingURL=chunk-3QEDOZMA.js.map
@@ -35,19 +35,6 @@ function findOnPath(cmd, env = process.env, platform = process.platform) {
35
35
  return null;
36
36
  }
37
37
 
38
- // src/core/platform/shell-env.ts
39
- var NO_CWD_LOOKUP = "NoDefaultCurrentDirectoryInExePath";
40
- function shellEnv(env = process.env, platform = process.platform) {
41
- if (platform !== "win32") return env;
42
- const out = {};
43
- for (const [k, v] of Object.entries(env)) if (k.toLowerCase() !== NO_CWD_LOOKUP.toLowerCase()) out[k] = v;
44
- out[NO_CWD_LOOKUP] = "1";
45
- return out;
46
- }
47
-
48
- // src/core/platform/spawn.ts
49
- import { createRequire } from "module";
50
-
51
38
  // src/core/platform/program-path.ts
52
39
  import path2 from "path";
53
40
  var hits = /* @__PURE__ */ new Map();
@@ -91,60 +78,11 @@ function programPath(cmd, env = process.env, platform = process.platform, cwd) {
91
78
  return whereOnPath(cmd, env, platform, cwd) ?? notOnPath(cmd, env);
92
79
  }
93
80
 
94
- // src/core/platform/spawn.ts
95
- var loaded = null;
96
- var load = () => loaded ??= createRequire(import.meta.url)("cross-spawn");
97
- var BATCH_FILE = /\.(cmd|bat)$/i;
98
- function onPathOnly(args, platform = process.platform) {
99
- const [cmd, second, third] = args;
100
- const at = Array.isArray(second) ? 2 : 1;
101
- const given = at === 2 ? third : second;
102
- if (given && "keepCwdLookup" in given) {
103
- const { keepCwdLookup, ...rest } = given;
104
- args = [...args];
105
- args[at] = rest;
106
- if (keepCwdLookup === true) {
107
- if (platform !== "win32" || typeof cmd !== "string") return args;
108
- const cwd2 = typeof rest.cwd === "string" ? rest.cwd : void 0;
109
- return [programPath(cmd, rest.env ?? process.env, platform, cwd2), ...args.slice(1)];
110
- }
111
- }
112
- if (platform !== "win32" || typeof cmd !== "string") return args;
113
- const options = at === 2 ? args[2] : args[1];
114
- if (options?.shell) {
115
- const out2 = [...args];
116
- out2[at] = { ...options, env: shellEnv(options.env ?? process.env, platform) };
117
- return out2;
118
- }
119
- const cwd = typeof options?.cwd === "string" ? options.cwd : void 0;
120
- const file = programPath(cmd, options?.env ?? process.env, platform, cwd);
121
- const out = [file, ...args.slice(1)];
122
- if (BATCH_FILE.test(file)) out[at] = { ...options ?? {}, env: shellEnv(options?.env ?? process.env, platform) };
123
- return out;
124
- }
125
- var spawn = Object.assign(
126
- (...args) => {
127
- const child = load()(...onPathOnly(args));
128
- child.prependListener?.("error", (err) => explainNotOnPath(err));
129
- return child;
130
- },
131
- {
132
- sync: (...args) => {
133
- const r = load().sync(...onPathOnly(args));
134
- if (r?.error) explainNotOnPath(r.error);
135
- return r;
136
- }
137
- }
138
- );
139
- var spawn_default = spawn;
140
-
141
81
  export {
142
82
  findOnPath,
143
83
  whereOnPath,
144
84
  notOnPath,
145
85
  explainNotOnPath,
146
- programPath,
147
- shellEnv,
148
- spawn_default
86
+ programPath
149
87
  };
150
- //# sourceMappingURL=chunk-EL3XL2OC.js.map
88
+ //# sourceMappingURL=chunk-3QKH7JNR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core/platform/find-on-path.ts","../src/core/platform/program-path.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\n\n/**\n * Whether `p` is a program file. Elsewhere than Windows: a file with an executable bit. On Windows: a file — or\n * an App Execution Alias, which `stat` can't read: the stubs in `%LOCALAPPDATA%\\Microsoft\\WindowsApps` (`wt.exe`,\n * `winget.exe`, the Store's `python.exe` and `pwsh.exe`) are reparse points that `stat` answers EACCES for, while\n * `lstat` sees them (as a link). Windows starts them; counting them missing made Windows Terminal look not\n * installed. So on Windows a hit whose `stat` fails but whose `lstat` is there and not a folder counts.\n */\nexport function isProgramFile(p: string, platform: NodeJS.Platform = process.platform): boolean {\n const win = platform === 'win32';\n try {\n const st = fs.statSync(p);\n return st.isFile() && (win || (st.mode & 0o111) !== 0);\n } catch {\n if (!win) return false;\n try {\n return !fs.lstatSync(p).isDirectory();\n } catch {\n return false;\n }\n }\n}\n\n/** PATHEXT's extensions, lower-cased (Windows' default when unset). */\nexport function pathExtOf(env: NodeJS.ProcessEnv): string[] {\n return (env.PATHEXT ?? env.Pathext ?? '.COM;.EXE;.BAT;.CMD')\n .split(';')\n .filter(Boolean)\n .map((e) => e.toLowerCase());\n}\n\n/**\n * The file a command name runs, as a shell finds it: a path is itself, else the\n * first match in PATH. On Windows a name without one of PATHEXT's extensions is\n * tried with each (`claude` is `claude.exe` or `claude.cmd`; npm's extension-less\n * `claude` sh shim beside them is never run) — a path too (`C:\\npm\\claude` starts\n * `C:\\npm\\claude.cmd`, as Windows and cross-spawn would); elsewhere only an\n * executable file counts. Null when there's none.\n */\nexport function findOnPath(cmd: string, env: NodeJS.ProcessEnv = process.env, platform: NodeJS.Platform = process.platform): string | null {\n const win = platform === 'win32';\n const isFile = (p: string) => isProgramFile(p, platform);\n const pathExt = pathExtOf(env);\n const hasExt = pathExt.includes(path.extname(cmd).toLowerCase());\n const candidates = (base: string) => (!win || hasExt ? [base] : pathExt.map((e) => base + e));\n if (cmd.includes('/') || (win && cmd.includes('\\\\'))) return candidates(cmd).find(isFile) ?? null;\n const dirs = (env.PATH ?? env.Path ?? '').split(win ? ';' : path.delimiter).filter(Boolean);\n for (const dir of dirs) {\n const hit = candidates(path.join(dir, cmd)).find(isFile);\n if (hit) return hit;\n }\n return null;\n}\n","import path from 'node:path';\nimport { findOnPath, isProgramFile } from './find-on-path.js';\n\n/**\n * The program a bare command name starts, from PATH only — never the working folder.\n *\n * On Windows every way of starting a program by its bare name looks in the working folder first:\n * cross-spawn's lookup (node-which \"always checks the cwd first\", after a `chdir` into the spawn's\n * cwd), libuv's own (`execFile('git', …, {cwd})`) and cmd.exe's. work runs git, gh, az and acli with\n * the cwd in a worktree — someone else's branch too (Review, Work on it) — so a `git.cmd`, `gh.cmd` or\n * `git.exe` committed at its root ran in place of the real tool (measured with an echo-only file).\n * So on Windows a bare name is resolved here to the absolute file on PATH (absolute PATH entries\n * only: a relative one is the working folder again) and that path is what's started. App Execution\n * Aliases (`wt.exe`, `winget`, the Store's `python`) count: `stat` can't read them, Windows starts\n * them (`isProgramFile`). Not found: a path that doesn't exist, so the start fails as \"not installed\"\n * (ENOENT, said as \"<name> not found on PATH\": `explainNotOnPath`) and nothing from the working folder\n * runs. A name with a path in it (`./x`, `C:\\npm\\claude`) is resolved as Windows itself would — against\n * the start's working folder, with PATHEXT's extensions when it has none (`C:\\npm\\claude` is\n * `claude.cmd` beside it) — so what is judged (a batch file or not) is the file that really starts.\n * Off Windows everything is left as given (a POSIX lookup never takes the working folder unless PATH\n * says so).\n */\n\n/** Hits per name + PATH + PATHEXT, checked to still be there on use; a miss is never kept (a tool installed later is found). */\nconst hits = new Map<string, string>();\n\n/** Whether `cmd` names a path rather than a program to look up. */\nconst isPathLike = (cmd: string) => /[\\\\/]/.test(cmd) || path.win32.isAbsolute(cmd) || /^[A-Za-z]:/.test(cmd);\n\n/**\n * The absolute file PATH gives `cmd` on Windows (absolute PATH entries only), or null; `cmd` as given anywhere else.\n * A path is resolved against `cwd` (the start's working folder; this process's when not given) with PATHEXT's\n * extensions; one that doesn't resolve is returned as given (its start fails as not found by itself).\n */\nexport function whereOnPath(\n cmd: string,\n env: NodeJS.ProcessEnv = process.env,\n platform: NodeJS.Platform = process.platform,\n cwd?: string,\n): string | null {\n if (platform !== 'win32') return cmd;\n const pathExt = env.PATHEXT ?? env.Pathext;\n const extEnv = pathExt !== undefined ? { PATHEXT: pathExt } : {};\n if (isPathLike(cmd)) {\n const full = path.win32.resolve(cwd ?? process.cwd(), cmd);\n return findOnPath(full, extEnv, 'win32') ?? cmd;\n }\n const rawPath = env.PATH ?? env.Path ?? '';\n const key = `${cmd.toLowerCase()}\\0${rawPath}\\0${pathExt ?? ''}`;\n const cached = hits.get(key);\n if (cached && isProgramFile(cached, 'win32')) return cached;\n hits.delete(key);\n const absolute = rawPath\n .split(';')\n .map((d) => d.trim().replace(/^\"(.*)\"$/, '$1'))\n .filter((d) => d && path.win32.isAbsolute(d) && !/^[\\\\/](?![\\\\/])/.test(d))\n .join(';');\n const found = findOnPath(cmd, { PATH: absolute, ...extEnv }, 'win32');\n if (found) hits.set(key, found);\n return found;\n}\n\n/** The folder the stand-in for a program that isn't on PATH is in (never created). */\nconst STAND_IN_DIR = 'work-not-on-path';\n\n/** Where a program that isn't on PATH is \"started\" from: a folder that isn't there, so the start fails as not found. */\nexport function notOnPath(cmd: string, env: NodeJS.ProcessEnv = process.env): string {\n return path.win32.join(env.SystemRoot ?? env.SYSTEMROOT ?? 'C:\\\\Windows', STAND_IN_DIR, cmd);\n}\n\n/** The program name a `notOnPath` stand-in stands for, or null when `file` isn't one. */\nexport function standInFor(file: string): string | null {\n const m = /[\\\\/]work-not-on-path[\\\\/]([^\\\\/]+)$/i.exec(file);\n return m ? m[1] : null;\n}\n\n/**\n * A start's error that came from a `notOnPath` stand-in, said in the program's own name: \"winget not found on PATH\"\n * rather than \"spawn C:\\Windows\\work-not-on-path\\winget ENOENT\" (the stand-in is work's device, not a place to\n * look). The code stays ENOENT, so callers that tell \"not installed\" by it still do. Changes the error in place;\n * returns it.\n */\nexport function explainNotOnPath<T>(err: T): T {\n if (!(err instanceof Error)) return err;\n const e = err as NodeJS.ErrnoException;\n const name = (typeof e.path === 'string' ? standInFor(e.path) : null) ?? /[\\\\/]work-not-on-path[\\\\/]([^\\s\\\\/]+)/i.exec(e.message)?.[1];\n if (!name) return err;\n e.message = `${name} not found on PATH`;\n e.path = name;\n return err;\n}\n\n/** What to start for `cmd`: its absolute file on PATH (Windows), a path that fails as not found when it isn't there, `cmd` elsewhere. */\nexport function programPath(\n cmd: string,\n env: NodeJS.ProcessEnv = process.env,\n platform: NodeJS.Platform = process.platform,\n cwd?: string,\n): string {\n return whereOnPath(cmd, env, platform, cwd) ?? notOnPath(cmd, env);\n}\n"],"mappings":";;;AAAA,OAAO,QAAQ;AACf,OAAO,UAAU;AASV,SAAS,cAAc,GAAW,WAA4B,QAAQ,UAAmB;AAC9F,QAAM,MAAM,aAAa;AACzB,MAAI;AACF,UAAM,KAAK,GAAG,SAAS,CAAC;AACxB,WAAO,GAAG,OAAO,MAAM,QAAQ,GAAG,OAAO,QAAW;AAAA,EACtD,QAAQ;AACN,QAAI,CAAC,IAAK,QAAO;AACjB,QAAI;AACF,aAAO,CAAC,GAAG,UAAU,CAAC,EAAE,YAAY;AAAA,IACtC,QAAQ;AACN,aAAO;AAAA,IACT;AAAA,EACF;AACF;AAGO,SAAS,UAAU,KAAkC;AAC1D,UAAQ,IAAI,WAAW,IAAI,WAAW,uBACnC,MAAM,GAAG,EACT,OAAO,OAAO,EACd,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC;AAC/B;AAUO,SAAS,WAAW,KAAa,MAAyB,QAAQ,KAAK,WAA4B,QAAQ,UAAyB;AACzI,QAAM,MAAM,aAAa;AACzB,QAAM,SAAS,CAAC,MAAc,cAAc,GAAG,QAAQ;AACvD,QAAM,UAAU,UAAU,GAAG;AAC7B,QAAM,SAAS,QAAQ,SAAS,KAAK,QAAQ,GAAG,EAAE,YAAY,CAAC;AAC/D,QAAM,aAAa,CAAC,SAAkB,CAAC,OAAO,SAAS,CAAC,IAAI,IAAI,QAAQ,IAAI,CAAC,MAAM,OAAO,CAAC;AAC3F,MAAI,IAAI,SAAS,GAAG,KAAM,OAAO,IAAI,SAAS,IAAI,EAAI,QAAO,WAAW,GAAG,EAAE,KAAK,MAAM,KAAK;AAC7F,QAAM,QAAQ,IAAI,QAAQ,IAAI,QAAQ,IAAI,MAAM,MAAM,MAAM,KAAK,SAAS,EAAE,OAAO,OAAO;AAC1F,aAAW,OAAO,MAAM;AACtB,UAAM,MAAM,WAAW,KAAK,KAAK,KAAK,GAAG,CAAC,EAAE,KAAK,MAAM;AACvD,QAAI,IAAK,QAAO;AAAA,EAClB;AACA,SAAO;AACT;;;ACtDA,OAAOA,WAAU;AAwBjB,IAAM,OAAO,oBAAI,IAAoB;AAGrC,IAAM,aAAa,CAAC,QAAgB,QAAQ,KAAK,GAAG,KAAKC,MAAK,MAAM,WAAW,GAAG,KAAK,aAAa,KAAK,GAAG;AAOrG,SAAS,YACd,KACA,MAAyB,QAAQ,KACjC,WAA4B,QAAQ,UACpC,KACe;AACf,MAAI,aAAa,QAAS,QAAO;AACjC,QAAM,UAAU,IAAI,WAAW,IAAI;AACnC,QAAM,SAAS,YAAY,SAAY,EAAE,SAAS,QAAQ,IAAI,CAAC;AAC/D,MAAI,WAAW,GAAG,GAAG;AACnB,UAAM,OAAOA,MAAK,MAAM,QAAQ,OAAO,QAAQ,IAAI,GAAG,GAAG;AACzD,WAAO,WAAW,MAAM,QAAQ,OAAO,KAAK;AAAA,EAC9C;AACA,QAAM,UAAU,IAAI,QAAQ,IAAI,QAAQ;AACxC,QAAM,MAAM,GAAG,IAAI,YAAY,CAAC,KAAK,OAAO,KAAK,WAAW,EAAE;AAC9D,QAAM,SAAS,KAAK,IAAI,GAAG;AAC3B,MAAI,UAAU,cAAc,QAAQ,OAAO,EAAG,QAAO;AACrD,OAAK,OAAO,GAAG;AACf,QAAM,WAAW,QACd,MAAM,GAAG,EACT,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,YAAY,IAAI,CAAC,EAC7C,OAAO,CAAC,MAAM,KAAKA,MAAK,MAAM,WAAW,CAAC,KAAK,CAAC,kBAAkB,KAAK,CAAC,CAAC,EACzE,KAAK,GAAG;AACX,QAAM,QAAQ,WAAW,KAAK,EAAE,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO;AACpE,MAAI,MAAO,MAAK,IAAI,KAAK,KAAK;AAC9B,SAAO;AACT;AAGA,IAAM,eAAe;AAGd,SAAS,UAAU,KAAa,MAAyB,QAAQ,KAAa;AACnF,SAAOA,MAAK,MAAM,KAAK,IAAI,cAAc,IAAI,cAAc,eAAe,cAAc,GAAG;AAC7F;AAGO,SAAS,WAAW,MAA6B;AACtD,QAAM,IAAI,wCAAwC,KAAK,IAAI;AAC3D,SAAO,IAAI,EAAE,CAAC,IAAI;AACpB;AAQO,SAAS,iBAAoB,KAAW;AAC7C,MAAI,EAAE,eAAe,OAAQ,QAAO;AACpC,QAAM,IAAI;AACV,QAAM,QAAQ,OAAO,EAAE,SAAS,WAAW,WAAW,EAAE,IAAI,IAAI,SAAS,yCAAyC,KAAK,EAAE,OAAO,IAAI,CAAC;AACrI,MAAI,CAAC,KAAM,QAAO;AAClB,IAAE,UAAU,GAAG,IAAI;AACnB,IAAE,OAAO;AACT,SAAO;AACT;AAGO,SAAS,YACd,KACA,MAAyB,QAAQ,KACjC,WAA4B,QAAQ,UACpC,KACQ;AACR,SAAO,YAAY,KAAK,KAAK,UAAU,GAAG,KAAK,UAAU,KAAK,GAAG;AACnE;","names":["path","path"]}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  spawn_default
4
- } from "./chunk-EL3XL2OC.js";
4
+ } from "./chunk-VQACXAFX.js";
5
5
 
6
6
  // src/commands/shared/setup-completions.ts
7
7
  import fs from "fs";
@@ -176,4 +176,4 @@ export {
176
176
  printCompletionResults,
177
177
  printManualInstructions
178
178
  };
179
- //# sourceMappingURL=chunk-MSJWQC7H.js.map
179
+ //# sourceMappingURL=chunk-3UI35AFZ.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readStatus
4
- } from "./chunk-BVTV67Y2.js";
4
+ } from "./chunk-3PXA5RJ2.js";
5
5
 
6
6
  // src/commands/shared/turn-wait.ts
7
7
  var cliWaitDeps = {
@@ -16,4 +16,4 @@ var cliWaitDeps = {
16
16
  export {
17
17
  cliWaitDeps
18
18
  };
19
- //# sourceMappingURL=chunk-VPTHUGPB.js.map
19
+ //# sourceMappingURL=chunk-3XU7Y2MV.js.map
@@ -5,10 +5,10 @@ import {
5
5
  import {
6
6
  isPidAlive,
7
7
  killTreeAsync
8
- } from "./chunk-63ZLPXRL.js";
8
+ } from "./chunk-WYQD44Y4.js";
9
9
  import {
10
10
  programPath
11
- } from "./chunk-EL3XL2OC.js";
11
+ } from "./chunk-3QKH7JNR.js";
12
12
  import {
13
13
  getConfigDir
14
14
  } from "./chunk-6THUVP6T.js";
@@ -250,4 +250,4 @@ export {
250
250
  runningFromNames,
251
251
  stopRunningFrom
252
252
  };
253
- //# sourceMappingURL=chunk-JNBMANFM.js.map
253
+ //# sourceMappingURL=chunk-5DUKO7WC.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  defaultRunner
4
- } from "./chunk-KSVYR4G2.js";
4
+ } from "./chunk-253Q6TOC.js";
5
5
 
6
6
  // src/core/cleanup/build-folders.ts
7
7
  import fs from "fs";
@@ -113,4 +113,4 @@ export {
113
113
  buildFoldersOf,
114
114
  clearBuildFolders
115
115
  };
116
- //# sourceMappingURL=chunk-I6MILNM5.js.map
116
+ //# sourceMappingURL=chunk-5ZU6H62F.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  isPidAlive
4
- } from "./chunk-63ZLPXRL.js";
4
+ } from "./chunk-WYQD44Y4.js";
5
5
 
6
6
  // src/core/platform/web-discovery.ts
7
7
  import fs from "fs";
@@ -158,4 +158,4 @@ export {
158
158
  askWorkWeb,
159
159
  callWorkWeb
160
160
  };
161
- //# sourceMappingURL=chunk-RGLIW45S.js.map
161
+ //# sourceMappingURL=chunk-6C7CR2W2.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  agentsBySession
4
- } from "./chunk-3XKGKOVC.js";
4
+ } from "./chunk-CL3SSNBC.js";
5
5
  import {
6
6
  accountSwitchRefusal,
7
7
  haltPty,
@@ -9,23 +9,23 @@ import {
9
9
  ptyPid,
10
10
  ptyPids,
11
11
  resumePtyOnAccount
12
- } from "./chunk-52WAQNW2.js";
12
+ } from "./chunk-3LDQPUJ6.js";
13
13
  import {
14
14
  findSession
15
- } from "./chunk-EUY7ZOAM.js";
15
+ } from "./chunk-HJ2RKMBI.js";
16
16
  import {
17
17
  isArchiving,
18
18
  loadHistory,
19
19
  setSessionAccount
20
- } from "./chunk-BVTV67Y2.js";
20
+ } from "./chunk-3PXA5RJ2.js";
21
21
  import {
22
22
  AccountAdminError,
23
23
  agentOf,
24
24
  liveAgents
25
- } from "./chunk-N4W34U3I.js";
25
+ } from "./chunk-KCDHOW22.js";
26
26
  import {
27
27
  createRestarter
28
- } from "./chunk-7QNVFVG6.js";
28
+ } from "./chunk-MBSCZQ2C.js";
29
29
 
30
30
  // src/core/sessions/account-switch-rules.ts
31
31
  function switchRefusal(to, f) {
@@ -336,4 +336,4 @@ export {
336
336
  createAccountLogins,
337
337
  accountSkillsNote
338
338
  };
339
- //# sourceMappingURL=chunk-ZGUMZJLW.js.map
339
+ //# sourceMappingURL=chunk-6MMXVHPL.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  checkedOutBranch,
4
4
  gitDirs
5
- } from "./chunk-BVTV67Y2.js";
5
+ } from "./chunk-3PXA5RJ2.js";
6
6
  import {
7
7
  json,
8
8
  sessionIdFor,
@@ -375,4 +375,4 @@ export {
375
375
  MAX_WATCHED_BRANCHES,
376
376
  otherBranchesToWatch
377
377
  };
378
- //# sourceMappingURL=chunk-XU7TWI23.js.map
378
+ //# sourceMappingURL=chunk-73MGZAGV.js.map
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  detachHere,
4
4
  killTree
5
- } from "./chunk-63ZLPXRL.js";
5
+ } from "./chunk-WYQD44Y4.js";
6
6
  import {
7
7
  spawn_default
8
- } from "./chunk-EL3XL2OC.js";
8
+ } from "./chunk-VQACXAFX.js";
9
9
  import {
10
10
  getConfigDir
11
11
  } from "./chunk-6THUVP6T.js";
@@ -192,4 +192,4 @@ export {
192
192
  originalStatusLine,
193
193
  runStatusLineCommand
194
194
  };
195
- //# sourceMappingURL=chunk-PPZP7CA7.js.map
195
+ //# sourceMappingURL=chunk-7HQM5NYN.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sessionStatusView
4
- } from "./chunk-B5GJNQFD.js";
4
+ } from "./chunk-RH4BGTER.js";
5
5
  import {
6
6
  buildDigest,
7
7
  loadHistory,
@@ -11,7 +11,7 @@ import {
11
11
  readStatus,
12
12
  scopeHashForPaths,
13
13
  workSteps
14
- } from "./chunk-BVTV67Y2.js";
14
+ } from "./chunk-3PXA5RJ2.js";
15
15
  import {
16
16
  sessionIdFor
17
17
  } from "./chunk-RUYTU2WJ.js";
@@ -19,7 +19,7 @@ import {
19
19
  agentOf,
20
20
  lineTimeOf,
21
21
  readJsonlSince
22
- } from "./chunk-N4W34U3I.js";
22
+ } from "./chunk-KCDHOW22.js";
23
23
 
24
24
  // src/core/conversations/digest-source.ts
25
25
  function digestWindow(sinceMs, now = Date.now()) {
@@ -99,4 +99,4 @@ function createDigestSource(deps = {}) {
99
99
  export {
100
100
  createDigestSource
101
101
  };
102
- //# sourceMappingURL=chunk-4DKXJGZU.js.map
102
+ //# sourceMappingURL=chunk-7OZZUQDW.js.map
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  isPidAlive,
8
8
  spawnDetachedWork
9
- } from "./chunk-63ZLPXRL.js";
9
+ } from "./chunk-WYQD44Y4.js";
10
10
  import {
11
11
  ensureFile,
12
12
  withFileLock
@@ -280,4 +280,4 @@ export {
280
280
  ensureHost,
281
281
  PtyHostClient
282
282
  };
283
- //# sourceMappingURL=chunk-O36SFV5G.js.map
283
+ //# sourceMappingURL=chunk-AU7XGTJZ.js.map
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/version.ts
4
+ var VERSION = true ? "2.11.4" : "dev";
5
+
6
+ export {
7
+ VERSION
8
+ };
9
+ //# sourceMappingURL=chunk-AWY2HWAQ.js.map
@@ -5,10 +5,10 @@ import {
5
5
  samePathKey,
6
6
  scanForRepos,
7
7
  suggestAlias
8
- } from "./chunk-MQCDFSVF.js";
8
+ } from "./chunk-BLOV7ECI.js";
9
9
  import {
10
10
  recordedRepos
11
- } from "./chunk-BVTV67Y2.js";
11
+ } from "./chunk-3PXA5RJ2.js";
12
12
  import {
13
13
  getConfigPath
14
14
  } from "./chunk-O5ZJY5BT.js";
@@ -180,4 +180,4 @@ export {
180
180
  deleteGroup,
181
181
  setReviewMode
182
182
  };
183
- //# sourceMappingURL=chunk-OXKUVNQL.js.map
183
+ //# sourceMappingURL=chunk-BENY64FW.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  BUILD_DIR_NAMES
4
- } from "./chunk-I6MILNM5.js";
4
+ } from "./chunk-5ZU6H62F.js";
5
5
 
6
6
  // src/core/worktree/repo-rules.ts
7
7
  var baseName = (p) => p.replace(/[\\/]+$/, "").split(/[\\/]/).pop() ?? p;
@@ -143,4 +143,4 @@ export {
143
143
  readGitConfig,
144
144
  scanForRepos
145
145
  };
146
- //# sourceMappingURL=chunk-MQCDFSVF.js.map
146
+ //# sourceMappingURL=chunk-BLOV7ECI.js.map
@@ -5,38 +5,38 @@ import {
5
5
  } from "./chunk-AKMPF72Y.js";
6
6
  import {
7
7
  listReplies
8
- } from "./chunk-UNKJVL2C.js";
8
+ } from "./chunk-M7FX37Z2.js";
9
9
  import {
10
10
  shownState
11
- } from "./chunk-B5GJNQFD.js";
11
+ } from "./chunk-RH4BGTER.js";
12
12
  import {
13
13
  runInternal
14
- } from "./chunk-U4CIMKG2.js";
14
+ } from "./chunk-F7IOGLKV.js";
15
15
  import {
16
16
  runningFromNames,
17
17
  stopRunningFrom
18
- } from "./chunk-JNBMANFM.js";
18
+ } from "./chunk-5DUKO7WC.js";
19
19
  import {
20
20
  disposePty
21
- } from "./chunk-52WAQNW2.js";
21
+ } from "./chunk-3LDQPUJ6.js";
22
22
  import {
23
23
  saveIgnored,
24
24
  teardownWorktree,
25
25
  worktreeFor
26
- } from "./chunk-HPCGWSTO.js";
26
+ } from "./chunk-HECIDNBU.js";
27
27
  import {
28
28
  isLeftover
29
- } from "./chunk-AHYCZUPI.js";
29
+ } from "./chunk-KKVWDMSM.js";
30
30
  import {
31
31
  readPendingForSession
32
- } from "./chunk-FCGFXV6C.js";
32
+ } from "./chunk-LPHYUNMD.js";
33
33
  import {
34
34
  buildFoldersOf,
35
35
  clearBuildFolders
36
- } from "./chunk-I6MILNM5.js";
36
+ } from "./chunk-5ZU6H62F.js";
37
37
  import {
38
38
  defaultRunner
39
- } from "./chunk-KSVYR4G2.js";
39
+ } from "./chunk-253Q6TOC.js";
40
40
  import {
41
41
  archiveRefFor,
42
42
  archiveSession,
@@ -50,13 +50,13 @@ import {
50
50
  setSessionArchived,
51
51
  stopDev,
52
52
  turnInProgress
53
- } from "./chunk-BVTV67Y2.js";
53
+ } from "./chunk-3PXA5RJ2.js";
54
54
  import {
55
55
  sessionIdFor
56
56
  } from "./chunk-RUYTU2WJ.js";
57
57
  import {
58
58
  agentOf
59
- } from "./chunk-N4W34U3I.js";
59
+ } from "./chunk-KCDHOW22.js";
60
60
  import {
61
61
  loadConfig
62
62
  } from "./chunk-O5ZJY5BT.js";
@@ -282,4 +282,4 @@ export {
282
282
  archiveMergedSession,
283
283
  defaultArchiveDeps
284
284
  };
285
- //# sourceMappingURL=chunk-QZU6TQM7.js.map
285
+ //# sourceMappingURL=chunk-BTR2E5WD.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  owedToYou,
4
4
  stageWaiting
5
- } from "./chunk-BVTV67Y2.js";
5
+ } from "./chunk-3PXA5RJ2.js";
6
6
 
7
7
  // src/core/sessions/session-view.ts
8
8
  var RECENT_MS = 24 * 36e5;
@@ -17,6 +17,7 @@ function displayStatus(s, now = Date.now()) {
17
17
  if (a) {
18
18
  if (a.state === "needs_input") return "needs_input";
19
19
  if (a.state === "working") return a.background ? "background" : "working";
20
+ if (a.background) return "background";
20
21
  }
21
22
  if (s.asleep) return "asleep";
22
23
  if (a) return "quiet";
@@ -75,4 +76,4 @@ export {
75
76
  OWED_LONG,
76
77
  waitingOnOthers
77
78
  };
78
- //# sourceMappingURL=chunk-CGXZSYY3.js.map
79
+ //# sourceMappingURL=chunk-CJ2QTQHG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core/sessions/session-view.ts"],"sourcesContent":["import type { SessionAttention, ActivityState } from '../api-types.js';\nimport { stageWaiting, type PrStageKind } from '../pr/pr-stage.js';\nimport { owedToYou, type Owed } from '../status/attention.js';\n\n/** What the status vocabulary reads from a session: a dashboard row or\n * a `work sessions` row (both are SessionWire-shaped). */\nexport interface SessionLike {\n lastAccessedAt: string;\n lastActivity?: number | null;\n activityState?: ActivityState;\n attention?: SessionAttention | null;\n /** Unresolved review threads on its open PRs (SessionWire). */\n openReviewThreads?: number;\n /** Replies drafted to its review threads, waiting for your Post (SessionWire). */\n replyDrafts?: number;\n /** Where its pull request stands (SessionWire, pr-stage.ts). */\n prStage?: { kind: PrStageKind; text: string; seen?: boolean; prs?: ReadonlyArray<{ kind: PrStageKind; checks?: string }> } | null;\n /** Being archived right now (SessionWire.archiving). */\n archiving?: boolean;\n /** Being restored right now (SessionWire.restoring). */\n restoring?: boolean;\n /** Its Claude was stopped while idle and hasn't run since (SessionWire.asleep). */\n asleep?: boolean;\n}\n\n/**\n * ONE status vocabulary for every view — pure, so the dashboard (it imports\n * this) and `work sessions` say the same thing — (rail, Sessions table, inbox, header\n * strip). Hook-driven attention wins when a session has it; otherwise we fall\n * back to the older transcript-activity signal, so a session never shows two\n * contradicting states in two places.\n *\n * archiving — being archived right now (its Claude stopped, the rest\n * being saved); it leaves the list when done\n * restoring — being restored (its worktree made again, the conversation\n * put back); in the rail again from the click\n * needs_input — blocked on you (permission / question)\n * done — finished a turn you haven't looked at\n * working — mid-turn\n * background — its turn ended, a background agent that turn started is\n * still at it: still busy, but its prompt is free; or idle\n * with a background command it started still running\n * asleep — its Claude was stopped while idle (idle sleep, `work stop`)\n * and hasn't run since: opening it starts it again\n * quiet — finished, and you've seen it\n * active/open/recent/stale — no hook status yet (its Claude has not\n * taken a turn since the dashboard's hooks went in, or runs a tool\n * without them): transcript activity only. Active ≤ 30 s, Open ≤ 5 min,\n * Idle (recent) within a day, Stale after that.\n */\nexport type DisplayKind =\n | 'archiving'\n | 'restoring'\n | 'needs_input'\n | 'done'\n | 'working'\n | 'background'\n | 'asleep'\n | 'quiet'\n | 'active'\n | 'open'\n | 'recent'\n | 'stale';\n\n/** Used today = not stale, whatever the hooks know. */\nexport const RECENT_MS = 24 * 3_600_000;\n\n/** When the session last did anything: the newest of its hook update,\n * Claude's last transcript write and the `work tree` entry. (Reading only\n * the entry time called a session Active and \"1d\" at once.) */\nexport function lastActiveAt(s: SessionLike): string {\n const candidates = [Date.parse(s.lastAccessedAt) || 0, s.lastActivity ?? 0, s.attention ? Date.parse(s.attention.updatedAt) || 0 : 0];\n return new Date(Math.max(...candidates)).toISOString();\n}\n\nexport function displayStatus(s: SessionLike, now: number = Date.now()): DisplayKind {\n if (s.archiving) return 'archiving';\n if (s.restoring) return 'restoring';\n const a = s.attention;\n if (a) {\n if (a.state === 'needs_input') return 'needs_input';\n if (a.state === 'working') return a.background ? 'background' : 'working';\n // Idle with a background command of its still running (a build, tests, a dev server): not asleep, not idle.\n if (a.background) return 'background';\n }\n // A finished turn you haven't looked at is yours to review, not Claude's state: the blue \"review\" badge says it\n // (owedToYou's 'turn'); the icon says what its Claude is — idle, or asleep.\n if (s.asleep) return 'asleep';\n if (a) return 'quiet';\n if (s.activityState === 'active') return 'active';\n if (s.activityState === 'open') return 'open';\n return now - Date.parse(lastActiveAt(s)) < RECENT_MS ? 'recent' : 'stale';\n}\n\nexport const DISPLAY_LABEL: Record<DisplayKind, string> = {\n archiving: 'Archiving',\n restoring: 'Restoring',\n needs_input: 'Needs your input',\n done: 'Done',\n working: 'Working',\n background: 'In background',\n asleep: 'Asleep',\n quiet: 'Idle',\n active: 'Active',\n open: 'Open',\n recent: 'Idle',\n stale: 'Stale',\n};\n\n/** What each status means, in words — the legend and the dots' tooltips. */\nexport const DISPLAY_MEANING: Record<DisplayKind, string> = {\n archiving:\n 'Being archived: its Claude is stopped, its conversation and uncommitted files are saved, and its worktree goes once nothing would be lost. It leaves the list when done; Restore brings it back.',\n restoring:\n 'Being restored: its worktree is made again from its branch, with its uncommitted files and conversation put back. Then it carries on where it was.',\n needs_input: 'Its Claude is waiting for you: a permission prompt or a question.',\n done: \"Its Claude finished a turn you haven't looked at yet: the Inbox's Done section. On a row it's the blue review badge, beside what its Claude is now.\",\n working: 'Its Claude is working on your last instruction right now.',\n background:\n 'Its Claude finished its turn, and something it started is still at work: a background agent, or a background command (a build, tests, a dev server). Its prompt is free: you can talk to it. The result comes back as a new turn.',\n asleep:\n 'Its Claude was stopped to free memory: idle for a while, nothing attached, nothing of it still running. Opening the session starts it again, where it left off.',\n quiet: \"Its Claude finished, and you've seen it. Nothing to do.\",\n active: \"Its Claude wrote in the last 30 seconds (it isn't reporting its status, so this is from its transcript).\",\n open: 'Its Claude wrote in the last 5 minutes, or is open and idle at its prompt.',\n recent: 'Used in the last day; nothing running now.',\n stale: 'Not used for over a day.',\n};\n\n/** The legend's rows, most urgent first. Idle covers `quiet` and `recent` (same colour, same word). */\nexport const LEGEND_KINDS: readonly DisplayKind[] = [\n 'needs_input',\n 'done',\n 'working',\n 'background',\n 'asleep',\n 'archiving',\n 'restoring',\n 'active',\n 'open',\n 'quiet',\n 'stale',\n];\n\n/**\n * How full a Claude conversation may get before it matters: past WARN the\n * header shows it amber and the PR watch's notes ask Claude to hand\n * mechanical work to a sub-agent; past FULL it's red (Claude compacts near\n * the window, and answers get vaguer before that).\n */\nexport const CONTEXT_WARN = 0.7;\nexport const CONTEXT_FULL = 0.9;\n\n/** How long ago a session was used, for the Sessions table's sections. */\nexport type AgeBucket = 'now' | 'week' | 'older';\n\nexport const AGE_LABEL: Record<AgeBucket, string> = {\n now: 'Now',\n week: 'This week',\n older: 'Older',\n};\n\nexport const WEEK_MS = 7 * 24 * 3_600_000;\n\n/** Now: wants you, is working, or was used in the last day. This week:\n * used within 7 days. Older: everything else — cleanup material. */\nexport function ageBucket(s: SessionLike, now: number = Date.now()): AgeBucket {\n const kind = displayStatus(s, now);\n if (owedToYou(s).length) return 'now';\n if (\n kind === 'needs_input' ||\n kind === 'done' ||\n kind === 'working' ||\n kind === 'background' ||\n kind === 'archiving' ||\n kind === 'restoring' ||\n kind === 'active' ||\n kind === 'open'\n )\n return 'now';\n const age = now - Date.parse(lastActiveAt(s));\n if (age < RECENT_MS) return 'now';\n return age < WEEK_MS ? 'week' : 'older';\n}\n\n/** Coarse buckets the Sessions header counts and filters by. */\nexport type StatusBucket = 'needs' | 'working' | 'idle' | 'stale';\n\nexport function statusBucket(kind: DisplayKind): StatusBucket {\n switch (kind) {\n case 'needs_input':\n case 'done':\n return 'needs';\n case 'working':\n case 'background':\n case 'archiving':\n case 'restoring':\n case 'active':\n return 'working';\n case 'quiet':\n case 'asleep':\n case 'open':\n case 'recent':\n return 'idle';\n case 'stale':\n return 'stale';\n default: {\n // Every kind is named above: a new one fails the type check here instead of landing in \"stale\" unasked.\n const unknown: never = kind;\n return unknown;\n }\n }\n}\n\n/** Why a session shows Active / Open / Idle(recent) / Stale instead of a\n * real status: its Claude isn't reporting through work web's hooks. */\nexport const NO_HOOKS_HINT =\n \"Its Claude isn't reporting its status (it was started before work web's hooks were installed, or it isn't Claude), so this is from its transcript activity: Active = wrote in the last 30 s, Open = last 5 min. Restart it with `work tree <target> <branch>` (the conversation continues) to get Working / Needs your input / Done.\";\n\n/** The hint for a status that comes from activity only; undefined otherwise. */\nexport function statusHint(kind: DisplayKind): string | undefined {\n return kind === 'active' || kind === 'open' || kind === 'recent' || kind === 'stale' ? NO_HOOKS_HINT : undefined;\n}\n\n/**\n * The second signal: what waits on you about a session, beside what its\n * Claude is doing (attention.ts `owedToYou`), in words. The rail's badge is\n * the first thing (\"1 reply\", \"merge\"; \"+1\" when there's more), its tooltip\n * all of them; the Sessions table and the Inbox say the same.\n */\nexport const OWED_SHORT: Record<Owed['kind'], (n: number) => string> = {\n turn: () => 'review',\n reply: (n) => `${n} ${n === 1 ? 'reply' : 'replies'}`,\n thread: (n) => `${n} ${n === 1 ? 'thread' : 'threads'}`,\n conflict: () => 'conflict',\n checks: () => 'CI',\n merge: () => 'merge',\n};\nexport const OWED_LONG: Record<Owed['kind'], (n: number) => string> = {\n turn: () => 'a finished turn to review',\n reply: (n) => `${n} ${n === 1 ? 'reply' : 'replies'} to post`,\n thread: (n) => `${n} review ${n === 1 ? 'thread' : 'threads'} with no answer`,\n conflict: (n) => (n === 1 ? 'a merge conflict' : `${n} PRs with merge conflicts`),\n checks: (n) => (n === 1 ? 'checks failing' : `${n} PRs with checks failing`),\n merge: () => 'ready to merge',\n};\n\nexport interface OwedBadge {\n /** \"1 reply\", \"merge +1\", \"review\". */\n text: string;\n /** What it leads with: a finished turn to review is blue (Done's colour), the rest pink. */\n kind: Owed['kind'];\n /** \"Needs you: 1 reply to post · ready to merge\". */\n title: string;\n}\n\n/** The badge for what waits on you, or null when nothing does. */\nexport function owedBadge(s: SessionLike): OwedBadge | null {\n const owed = owedToYou(s);\n if (!owed.length) return null;\n const [first, ...more] = owed;\n return {\n kind: first.kind,\n text: OWED_SHORT[first.kind](first.count) + (more.length ? ` +${more.length}` : ''),\n title: `Needs you: ${owed.map((o) => OWED_LONG[o.kind](o.count)).join(' · ')}`,\n };\n}\n\n/** Nothing waits on you, and its PR waits on others (reviewers, checks): \"in review\", said quietly. */\nexport function waitingOnOthers(s: SessionLike): boolean {\n return !owedToYou(s).length && stageWaiting(s.prStage);\n}\n\n/** The Sessions table's status filter: what waits on you counts as \"needs you\", whatever Claude is doing. */\nexport function sessionBucket(s: SessionLike, now: number = Date.now()): StatusBucket {\n return owedToYou(s).length ? 'needs' : statusBucket(displayStatus(s, now));\n}\n"],"mappings":";;;;;;;AAiEO,IAAM,YAAY,KAAK;AAKvB,SAAS,aAAa,GAAwB;AACnD,QAAM,aAAa,CAAC,KAAK,MAAM,EAAE,cAAc,KAAK,GAAG,EAAE,gBAAgB,GAAG,EAAE,YAAY,KAAK,MAAM,EAAE,UAAU,SAAS,KAAK,IAAI,CAAC;AACpI,SAAO,IAAI,KAAK,KAAK,IAAI,GAAG,UAAU,CAAC,EAAE,YAAY;AACvD;AAEO,SAAS,cAAc,GAAgB,MAAc,KAAK,IAAI,GAAgB;AACnF,MAAI,EAAE,UAAW,QAAO;AACxB,MAAI,EAAE,UAAW,QAAO;AACxB,QAAM,IAAI,EAAE;AACZ,MAAI,GAAG;AACL,QAAI,EAAE,UAAU,cAAe,QAAO;AACtC,QAAI,EAAE,UAAU,UAAW,QAAO,EAAE,aAAa,eAAe;AAEhE,QAAI,EAAE,WAAY,QAAO;AAAA,EAC3B;AAGA,MAAI,EAAE,OAAQ,QAAO;AACrB,MAAI,EAAG,QAAO;AACd,MAAI,EAAE,kBAAkB,SAAU,QAAO;AACzC,MAAI,EAAE,kBAAkB,OAAQ,QAAO;AACvC,SAAO,MAAM,KAAK,MAAM,aAAa,CAAC,CAAC,IAAI,YAAY,WAAW;AACpE;AAEO,IAAM,gBAA6C;AAAA,EACxD,WAAW;AAAA,EACX,WAAW;AAAA,EACX,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT;AA2CO,IAAM,eAAe;AAMrB,IAAM,YAAuC;AAAA,EAClD,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AACT;AAEO,IAAM,UAAU,IAAI,KAAK;AAIzB,SAAS,UAAU,GAAgB,MAAc,KAAK,IAAI,GAAc;AAC7E,QAAM,OAAO,cAAc,GAAG,GAAG;AACjC,MAAI,UAAU,CAAC,EAAE,OAAQ,QAAO;AAChC,MACE,SAAS,iBACT,SAAS,UACT,SAAS,aACT,SAAS,gBACT,SAAS,eACT,SAAS,eACT,SAAS,YACT,SAAS;AAET,WAAO;AACT,QAAM,MAAM,MAAM,KAAK,MAAM,aAAa,CAAC,CAAC;AAC5C,MAAI,MAAM,UAAW,QAAO;AAC5B,SAAO,MAAM,UAAU,SAAS;AAClC;AAuDO,IAAM,YAAyD;AAAA,EACpE,MAAM,MAAM;AAAA,EACZ,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,MAAM,IAAI,UAAU,SAAS;AAAA,EACnD,QAAQ,CAAC,MAAM,GAAG,CAAC,WAAW,MAAM,IAAI,WAAW,SAAS;AAAA,EAC5D,UAAU,CAAC,MAAO,MAAM,IAAI,qBAAqB,GAAG,CAAC;AAAA,EACrD,QAAQ,CAAC,MAAO,MAAM,IAAI,mBAAmB,GAAG,CAAC;AAAA,EACjD,OAAO,MAAM;AACf;AAwBO,SAAS,gBAAgB,GAAyB;AACvD,SAAO,CAAC,UAAU,CAAC,EAAE,UAAU,aAAa,EAAE,OAAO;AACvD;","names":[]}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  findSessionForCwd
4
- } from "./chunk-FCGFXV6C.js";
4
+ } from "./chunk-LPHYUNMD.js";
5
5
  import {
6
6
  sessionIdFor
7
7
  } from "./chunk-RUYTU2WJ.js";
@@ -22,7 +22,7 @@ function summarizeAgents(list, appPids) {
22
22
  const inApp = list.filter((c) => appPids.has(c.pid)).length;
23
23
  const perConversation = /* @__PURE__ */ new Map();
24
24
  for (const c of list) perConversation.set(c.conversationId, (perConversation.get(c.conversationId) ?? 0) + 1);
25
- const pick = list.find((c) => c.state === "busy") ?? list.find((c) => c.state === "waiting") ?? list.find((c) => c.state === "idle");
25
+ const pick = ["busy", "waiting", "shell", "idle"].map((st) => list.find((c) => c.state === st)).find(Boolean);
26
26
  return {
27
27
  inTerminal: list.length - inApp,
28
28
  inApp,
@@ -40,4 +40,4 @@ export {
40
40
  agentsBySession,
41
41
  summarizeAgents
42
42
  };
43
- //# sourceMappingURL=chunk-3XKGKOVC.js.map
43
+ //# sourceMappingURL=chunk-CL3SSNBC.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/core/sessions/live-agents.ts"],"sourcesContent":["import type { SessionClaudes } from '../api-types.js';\nimport type { LiveAgent } from '../agents/types.js';\nimport type { WorktreeSession } from './history.js';\nimport { findSessionForCwd } from '../comments/pending-delivery.js';\nimport { sessionIdFor } from './session-id.js';\n\n/**\n * Running agents by work session, and what the dashboard says about them.\n * Which processes run is each agent's to say (agents/: `live`; Claude's is\n * agents/claude-live.ts, re-exported here).\n */\n\n/** A running Claude: the agents' LiveAgent (agents/types.ts). */\n\n/** Group by work session (a Claude outside any session is left out). */\nexport function agentsBySession(list: LiveAgent[], sessions: WorktreeSession[]): Map<string, LiveAgent[]> {\n const out = new Map<string, LiveAgent[]>();\n for (const c of list) {\n const s = findSessionForCwd(c.cwd, sessions);\n if (!s) continue;\n const id = sessionIdFor(s);\n out.set(id, [...(out.get(id) ?? []), c]);\n }\n return out;\n}\n\n/**\n * What the dashboard says about a session's running Claudes. `appPids` are\n * the ones the app runs itself (the PTY host's); the rest were\n * started in a terminal. `duplicate`: two or more on one conversation — they\n * would both write to it.\n */\nexport function summarizeAgents(list: LiveAgent[], appPids: ReadonlySet<number>): SessionClaudes | null {\n if (list.length === 0) return null;\n const inApp = list.filter((c) => appPids.has(c.pid)).length;\n const perConversation = new Map<string, number>();\n for (const c of list) perConversation.set(c.conversationId, (perConversation.get(c.conversationId) ?? 0) + 1);\n // The most telling one: any mid-turn, else any waiting on you, else idle.\n const pick = list.find((c) => c.state === 'busy') ?? list.find((c) => c.state === 'waiting') ?? list.find((c) => c.state === 'idle');\n return {\n inTerminal: list.length - inApp,\n inApp,\n busy: list.some((c) => c.busy),\n duplicate: [...perConversation.values()].some((n) => n > 1),\n ...(pick?.state\n ? {\n state: pick.state,\n ...(pick.stateAt ? { stateAt: pick.stateAt } : {}),\n ...(pick.waitingFor ? { waitingFor: pick.waitingFor } : {}),\n }\n : {}),\n };\n}\n"],"mappings":";;;;;;;;;AAeO,SAAS,gBAAgB,MAAmB,UAAuD;AACxG,QAAM,MAAM,oBAAI,IAAyB;AACzC,aAAW,KAAK,MAAM;AACpB,UAAM,IAAI,kBAAkB,EAAE,KAAK,QAAQ;AAC3C,QAAI,CAAC,EAAG;AACR,UAAM,KAAK,aAAa,CAAC;AACzB,QAAI,IAAI,IAAI,CAAC,GAAI,IAAI,IAAI,EAAE,KAAK,CAAC,GAAI,CAAC,CAAC;AAAA,EACzC;AACA,SAAO;AACT;AAQO,SAAS,gBAAgB,MAAmB,SAAqD;AACtG,MAAI,KAAK,WAAW,EAAG,QAAO;AAC9B,QAAM,QAAQ,KAAK,OAAO,CAAC,MAAM,QAAQ,IAAI,EAAE,GAAG,CAAC,EAAE;AACrD,QAAM,kBAAkB,oBAAI,IAAoB;AAChD,aAAW,KAAK,KAAM,iBAAgB,IAAI,EAAE,iBAAiB,gBAAgB,IAAI,EAAE,cAAc,KAAK,KAAK,CAAC;AAE5G,QAAM,OAAO,KAAK,KAAK,CAAC,MAAM,EAAE,UAAU,MAAM,KAAK,KAAK,KAAK,CAAC,MAAM,EAAE,UAAU,SAAS,KAAK,KAAK,KAAK,CAAC,MAAM,EAAE,UAAU,MAAM;AACnI,SAAO;AAAA,IACL,YAAY,KAAK,SAAS;AAAA,IAC1B;AAAA,IACA,MAAM,KAAK,KAAK,CAAC,MAAM,EAAE,IAAI;AAAA,IAC7B,WAAW,CAAC,GAAG,gBAAgB,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC;AAAA,IAC1D,GAAI,MAAM,QACN;AAAA,MACE,OAAO,KAAK;AAAA,MACZ,GAAI,KAAK,UAAU,EAAE,SAAS,KAAK,QAAQ,IAAI,CAAC;AAAA,MAChD,GAAI,KAAK,aAAa,EAAE,YAAY,KAAK,WAAW,IAAI,CAAC;AAAA,IAC3D,IACA,CAAC;AAAA,EACP;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/core/sessions/live-agents.ts"],"sourcesContent":["import type { SessionClaudes } from '../api-types.js';\nimport type { LiveAgent } from '../agents/types.js';\nimport type { WorktreeSession } from './history.js';\nimport { findSessionForCwd } from '../comments/pending-delivery.js';\nimport { sessionIdFor } from './session-id.js';\n\n/**\n * Running agents by work session, and what the dashboard says about them.\n * Which processes run is each agent's to say (agents/: `live`; Claude's is\n * agents/claude-live.ts, re-exported here).\n */\n\n/** A running Claude: the agents' LiveAgent (agents/types.ts). */\n\n/** Group by work session (a Claude outside any session is left out). */\nexport function agentsBySession(list: LiveAgent[], sessions: WorktreeSession[]): Map<string, LiveAgent[]> {\n const out = new Map<string, LiveAgent[]>();\n for (const c of list) {\n const s = findSessionForCwd(c.cwd, sessions);\n if (!s) continue;\n const id = sessionIdFor(s);\n out.set(id, [...(out.get(id) ?? []), c]);\n }\n return out;\n}\n\n/**\n * What the dashboard says about a session's running Claudes. `appPids` are\n * the ones the app runs itself (the PTY host's); the rest were\n * started in a terminal. `duplicate`: two or more on one conversation — they\n * would both write to it.\n */\nexport function summarizeAgents(list: LiveAgent[], appPids: ReadonlySet<number>): SessionClaudes | null {\n if (list.length === 0) return null;\n const inApp = list.filter((c) => appPids.has(c.pid)).length;\n const perConversation = new Map<string, number>();\n for (const c of list) perConversation.set(c.conversationId, (perConversation.get(c.conversationId) ?? 0) + 1);\n // The most telling one: any mid-turn, else any waiting on you, else one with a background command running, else idle.\n const pick = (['busy', 'waiting', 'shell', 'idle'] as const).map((st) => list.find((c) => c.state === st)).find(Boolean);\n return {\n inTerminal: list.length - inApp,\n inApp,\n busy: list.some((c) => c.busy),\n duplicate: [...perConversation.values()].some((n) => n > 1),\n ...(pick?.state\n ? {\n state: pick.state,\n ...(pick.stateAt ? { stateAt: pick.stateAt } : {}),\n ...(pick.waitingFor ? { waitingFor: pick.waitingFor } : {}),\n }\n : {}),\n };\n}\n"],"mappings":";;;;;;;;;AAeO,SAAS,gBAAgB,MAAmB,UAAuD;AACxG,QAAM,MAAM,oBAAI,IAAyB;AACzC,aAAW,KAAK,MAAM;AACpB,UAAM,IAAI,kBAAkB,EAAE,KAAK,QAAQ;AAC3C,QAAI,CAAC,EAAG;AACR,UAAM,KAAK,aAAa,CAAC;AACzB,QAAI,IAAI,IAAI,CAAC,GAAI,IAAI,IAAI,EAAE,KAAK,CAAC,GAAI,CAAC,CAAC;AAAA,EACzC;AACA,SAAO;AACT;AAQO,SAAS,gBAAgB,MAAmB,SAAqD;AACtG,MAAI,KAAK,WAAW,EAAG,QAAO;AAC9B,QAAM,QAAQ,KAAK,OAAO,CAAC,MAAM,QAAQ,IAAI,EAAE,GAAG,CAAC,EAAE;AACrD,QAAM,kBAAkB,oBAAI,IAAoB;AAChD,aAAW,KAAK,KAAM,iBAAgB,IAAI,EAAE,iBAAiB,gBAAgB,IAAI,EAAE,cAAc,KAAK,KAAK,CAAC;AAE5G,QAAM,OAAQ,CAAC,QAAQ,WAAW,SAAS,MAAM,EAAY,IAAI,CAAC,OAAO,KAAK,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,OAAO;AACvH,SAAO;AAAA,IACL,YAAY,KAAK,SAAS;AAAA,IAC1B;AAAA,IACA,MAAM,KAAK,KAAK,CAAC,MAAM,EAAE,IAAI;AAAA,IAC7B,WAAW,CAAC,GAAG,gBAAgB,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC;AAAA,IAC1D,GAAI,MAAM,QACN;AAAA,MACE,OAAO,KAAK;AAAA,MACZ,GAAI,KAAK,UAAU,EAAE,SAAS,KAAK,QAAQ,IAAI,CAAC;AAAA,MAChD,GAAI,KAAK,aAAa,EAAE,YAAY,KAAK,WAAW,IAAI,CAAC;AAAA,IAC3D,IACA,CAAC;AAAA,EACP;AACF;","names":[]}
@@ -1,8 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- programPath,
4
3
  spawn_default
5
- } from "./chunk-EL3XL2OC.js";
4
+ } from "./chunk-VQACXAFX.js";
5
+ import {
6
+ programPath
7
+ } from "./chunk-3QKH7JNR.js";
6
8
  import {
7
9
  debug
8
10
  } from "./chunk-6THUVP6T.js";
@@ -204,4 +206,4 @@ export {
204
206
  fetchRemoteAsync,
205
207
  getUnpushedCommits
206
208
  };
207
- //# sourceMappingURL=chunk-DCCC7LEP.js.map
209
+ //# sourceMappingURL=chunk-CSTPOCV2.js.map