@moberg_hr/work-tree 2.18.1 → 2.19.0

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 (255) hide show
  1. package/dist/{account-B3HHUCH6.js → account-LUWE75BA.js} +16 -15
  2. package/dist/{account-B3HHUCH6.js.map → account-LUWE75BA.js.map} +1 -1
  3. package/dist/{add-repo-2U2FLGJQ.js → add-repo-6CPMNL7A.js} +13 -12
  4. package/dist/{add-repo-2U2FLGJQ.js.map → add-repo-6CPMNL7A.js.map} +1 -1
  5. package/dist/{answer-HHCSBUQE.js → answer-4MK7ABHK.js} +10 -9
  6. package/dist/{answer-HHCSBUQE.js.map → answer-4MK7ABHK.js.map} +1 -1
  7. package/dist/{attach-RNWANIFC.js → attach-BISNHO3P.js} +14 -13
  8. package/dist/{attach-RNWANIFC.js.map → attach-BISNHO3P.js.map} +1 -1
  9. package/dist/bin.js +4 -4
  10. package/dist/{block-FSGNBJSN.js → block-R724RFRJ.js} +12 -11
  11. package/dist/{block-FSGNBJSN.js.map → block-R724RFRJ.js.map} +1 -1
  12. package/dist/{broadcast-5WAUMYVO.js → broadcast-Z3ODUBQL.js} +8 -7
  13. package/dist/{broadcast-5WAUMYVO.js.map → broadcast-Z3ODUBQL.js.map} +1 -1
  14. package/dist/{catchup-T5SOCXHV.js → catchup-OXUEJN2I.js} +13 -12
  15. package/dist/{catchup-T5SOCXHV.js.map → catchup-OXUEJN2I.js.map} +1 -1
  16. package/dist/{chunk-VBB3E37Z.js → chunk-2ALX552Z.js} +6 -6
  17. package/dist/{chunk-3JLMVWRO.js → chunk-2SHSB7JN.js} +2 -2
  18. package/dist/{chunk-7334DEPX.js → chunk-2YGVF224.js} +2 -2
  19. package/dist/{chunk-ADVMIHTB.js → chunk-3MPFCM5W.js} +2 -2
  20. package/dist/{chunk-BGPCIL4U.js → chunk-3ZB3TXPT.js} +4 -4
  21. package/dist/{chunk-LBJHFVH3.js → chunk-4KETMLQJ.js} +6 -6
  22. package/dist/{chunk-PZGLIYMD.js → chunk-6CG7TAPE.js} +57 -57
  23. package/dist/{chunk-GUEJVX2X.js → chunk-7L4L4Q73.js} +2 -2
  24. package/dist/{chunk-LVNPLXUO.js → chunk-7LU3LKHV.js} +7 -7
  25. package/dist/{chunk-DAQJZE3B.js → chunk-BKW6R2II.js} +13 -11
  26. package/dist/{chunk-DAQJZE3B.js.map → chunk-BKW6R2II.js.map} +1 -1
  27. package/dist/{chunk-2SLALFWA.js → chunk-BOVPARRB.js} +15 -4
  28. package/dist/chunk-BOVPARRB.js.map +1 -0
  29. package/dist/{chunk-XKPF4MD2.js → chunk-BZ2FD3F7.js} +3 -3
  30. package/dist/{chunk-ITNSUPVJ.js → chunk-C7QOPDZL.js} +5 -5
  31. package/dist/{chunk-26DBVWJC.js → chunk-CDO7AFTJ.js} +4 -4
  32. package/dist/{chunk-J5B2Z7SO.js → chunk-CNJZONIK.js} +3 -3
  33. package/dist/{chunk-H4TNGZKT.js → chunk-DDGTJVLP.js} +8 -8
  34. package/dist/{chunk-FJYM2JQN.js → chunk-DJDI5OPO.js} +141 -216
  35. package/dist/chunk-DJDI5OPO.js.map +1 -0
  36. package/dist/{chunk-55T4LC2P.js → chunk-DKQU6K4S.js} +3 -3
  37. package/dist/{chunk-BMLV63AW.js → chunk-EHX5MGDJ.js} +2 -2
  38. package/dist/{chunk-AMKLWFT3.js → chunk-HACRL36E.js} +2 -2
  39. package/dist/{chunk-WKHP3AXS.js → chunk-HJZ65BMV.js} +3 -3
  40. package/dist/{chunk-A72CRTFG.js → chunk-HN6ZSSPR.js} +6 -4
  41. package/dist/chunk-HN6ZSSPR.js.map +1 -0
  42. package/dist/{chunk-WVDIS22N.js → chunk-HV5TXLMN.js} +3 -3
  43. package/dist/{chunk-ATBSACIU.js → chunk-I3JB5UGN.js} +2 -2
  44. package/dist/{chunk-KK5RCNDL.js → chunk-IGMXR7S4.js} +7 -7
  45. package/dist/{chunk-VG5WQPQB.js → chunk-IHYPHX2Z.js} +4 -4
  46. package/dist/{chunk-QO4QWQUO.js → chunk-JMILQI5Y.js} +2 -2
  47. package/dist/{chunk-PYHYZGY4.js → chunk-K5U6EWIN.js} +3 -3
  48. package/dist/{chunk-MWIPHUAE.js → chunk-LXBHVWOY.js} +2 -1
  49. package/dist/chunk-LXBHVWOY.js.map +1 -0
  50. package/dist/{chunk-WIYDT3PY.js → chunk-NFM4NGTI.js} +2 -2
  51. package/dist/{chunk-S7OCHVVD.js → chunk-NJXYDMNQ.js} +6 -6
  52. package/dist/{chunk-6EW27TKI.js → chunk-OB5NKZYF.js} +11 -9
  53. package/dist/{chunk-6EW27TKI.js.map → chunk-OB5NKZYF.js.map} +1 -1
  54. package/dist/{chunk-H5JNYD63.js → chunk-PV7IOR7X.js} +2 -2
  55. package/dist/{chunk-V76KARDB.js → chunk-PVBWN4LV.js} +2 -2
  56. package/dist/{chunk-G7VLIMOH.js → chunk-S4OLDCTC.js} +4 -4
  57. package/dist/{chunk-IVH5T4U2.js → chunk-S5EJTSD2.js} +2 -2
  58. package/dist/{chunk-WXYUABCL.js → chunk-SMTNDZX5.js} +5 -5
  59. package/dist/{chunk-2YRR5Q3C.js → chunk-T5SDU4UP.js} +2 -2
  60. package/dist/{chunk-CIUTNNF4.js → chunk-TFENIQUQ.js} +4 -4
  61. package/dist/{chunk-IBTA4DSY.js → chunk-ULN7Z5VB.js} +6 -6
  62. package/dist/{chunk-56D4WJ2S.js → chunk-UNYCEMG4.js} +2 -2
  63. package/dist/{chunk-PJ7ZKAZF.js → chunk-V5VG3V6R.js} +2 -2
  64. package/dist/chunk-VJZGPYJT.js +9 -0
  65. package/dist/{chunk-HGB7BITW.js → chunk-W4GDPHIF.js} +3 -2
  66. package/dist/chunk-W4GDPHIF.js.map +1 -0
  67. package/dist/{chunk-374HKMSE.js → chunk-WPFDHBQZ.js} +2 -2
  68. package/dist/{chunk-AC7FECH5.js → chunk-WSDAXREI.js} +6 -6
  69. package/dist/{chunk-XQEP3QYX.js → chunk-WUUZF4MY.js} +7 -5
  70. package/dist/{chunk-XQEP3QYX.js.map → chunk-WUUZF4MY.js.map} +1 -1
  71. package/dist/{chunk-QDNNFL56.js → chunk-XCDIMZD3.js} +3 -3
  72. package/dist/{chunk-N2IDEZGB.js → chunk-YCNIIE7Q.js} +4 -4
  73. package/dist/{chunk-AWP2MCMN.js → chunk-YOBBM2DF.js} +3 -3
  74. package/dist/{chunk-BGS5M542.js → chunk-YRSFUGS5.js} +2 -2
  75. package/dist/{chunk-2LUTV7UB.js → chunk-YSUASP3E.js} +2 -2
  76. package/dist/chunk-Z6ACV5ZQ.js +86 -0
  77. package/dist/chunk-Z6ACV5ZQ.js.map +1 -0
  78. package/dist/{chunk-F5RPC3LT.js → chunk-ZAGEDMIK.js} +3 -3
  79. package/dist/{chunk-QTENJUM3.js → chunk-ZERN5OBM.js} +6 -6
  80. package/dist/{chunk-AT4EPCOV.js → chunk-ZL6IYEDM.js} +2 -2
  81. package/dist/{cleanup-LJHC5O6U.js → cleanup-EHZ552FT.js} +27 -26
  82. package/dist/{cleanup-LJHC5O6U.js.map → cleanup-EHZ552FT.js.map} +1 -1
  83. package/dist/{cli-K6T6AJHP.js → cli-KIBE6YOF.js} +4 -4
  84. package/dist/{color-7PZNDE4R.js → color-GPOUDNDD.js} +11 -10
  85. package/dist/{color-7PZNDE4R.js.map → color-GPOUDNDD.js.map} +1 -1
  86. package/dist/{config-TM37HUBM.js → config-V4SDLGYF.js} +10 -9
  87. package/dist/{config-TM37HUBM.js.map → config-V4SDLGYF.js.map} +1 -1
  88. package/dist/{diff-RSSLOKE7.js → diff-K7UDI3G4.js} +11 -10
  89. package/dist/{diff-RSSLOKE7.js.map → diff-K7UDI3G4.js.map} +1 -1
  90. package/dist/{digest-LCHLLJ4M.js → digest-I7XDH3F6.js} +10 -9
  91. package/dist/{digest-LCHLLJ4M.js.map → digest-I7XDH3F6.js.map} +1 -1
  92. package/dist/{fork-XVNZMWCA.js → fork-6VEB7OAL.js} +24 -23
  93. package/dist/{fork-XVNZMWCA.js.map → fork-6VEB7OAL.js.map} +1 -1
  94. package/dist/{history-CRUFLMA2.js → history-XK2XDAKU.js} +8 -7
  95. package/dist/{hook-U4WCMGD6.js → hook-R7S37FCU.js} +15 -14
  96. package/dist/{hook-U4WCMGD6.js.map → hook-R7S37FCU.js.map} +1 -1
  97. package/dist/{hydrate-BYXK4W6T.js → hydrate-RIG5OW5L.js} +8 -7
  98. package/dist/{hydrate-BYXK4W6T.js.map → hydrate-RIG5OW5L.js.map} +1 -1
  99. package/dist/{init-JWBB4HBE.js → init-HU2YAHSK.js} +13 -12
  100. package/dist/{init-JWBB4HBE.js.map → init-HU2YAHSK.js.map} +1 -1
  101. package/dist/{install-skills-M2Y6ZGQC.js → install-skills-DIL6HTHB.js} +8 -7
  102. package/dist/install-skills-bin.js +7 -6
  103. package/dist/install-skills-bin.js.map +1 -1
  104. package/dist/{keep-OZJ2XXKF.js → keep-TXA5UIHC.js} +10 -9
  105. package/dist/{keep-OZJ2XXKF.js.map → keep-TXA5UIHC.js.map} +1 -1
  106. package/dist/{list-YVZSGKT4.js → list-WKAOUGRK.js} +8 -7
  107. package/dist/{list-YVZSGKT4.js.map → list-WKAOUGRK.js.map} +1 -1
  108. package/dist/{move-7TAU3LI3.js → move-2O552OT6.js} +14 -13
  109. package/dist/{move-7TAU3LI3.js.map → move-2O552OT6.js.map} +1 -1
  110. package/dist/{note-ESLGTIYH.js → note-C2UZCLIE.js} +10 -9
  111. package/dist/{note-ESLGTIYH.js.map → note-C2UZCLIE.js.map} +1 -1
  112. package/dist/{overlaps-FYXO3OL2.js → overlaps-VXR54C3B.js} +14 -13
  113. package/dist/{overlaps-FYXO3OL2.js.map → overlaps-VXR54C3B.js.map} +1 -1
  114. package/dist/{pin-AAMXBCV3.js → pin-UGP5FOKU.js} +11 -10
  115. package/dist/{pin-AAMXBCV3.js.map → pin-UGP5FOKU.js.map} +1 -1
  116. package/dist/{pr-42UBVLUT.js → pr-U3VONCMS.js} +19 -18
  117. package/dist/{pr-42UBVLUT.js.map → pr-U3VONCMS.js.map} +1 -1
  118. package/dist/{prune-B72T33B6.js → prune-PJAF4RAB.js} +25 -24
  119. package/dist/{prune-B72T33B6.js.map → prune-PJAF4RAB.js.map} +1 -1
  120. package/dist/{pty-host-72L4DQL5.js → pty-host-7S5LN5PE.js} +12 -11
  121. package/dist/{pty-host-72L4DQL5.js.map → pty-host-7S5LN5PE.js.map} +1 -1
  122. package/dist/{read-75KS2EXO.js → read-KVRJKWHY.js} +10 -9
  123. package/dist/{read-75KS2EXO.js.map → read-KVRJKWHY.js.map} +1 -1
  124. package/dist/{recent-H665DNCJ.js → recent-D756QKIV.js} +13 -12
  125. package/dist/{recent-H665DNCJ.js.map → recent-D756QKIV.js.map} +1 -1
  126. package/dist/{remove-ZZBCNASU.js → remove-VJSJGTH3.js} +26 -25
  127. package/dist/{remove-ZZBCNASU.js.map → remove-VJSJGTH3.js.map} +1 -1
  128. package/dist/{restart-WFMCSOPB.js → restart-WQ2JNXBK.js} +10 -9
  129. package/dist/{restart-WFMCSOPB.js.map → restart-WQ2JNXBK.js.map} +1 -1
  130. package/dist/{resume-GICIEI2I.js → resume-VWNVLBDY.js} +13 -12
  131. package/dist/{resume-GICIEI2I.js.map → resume-VWNVLBDY.js.map} +1 -1
  132. package/dist/{review-TZUVYEAL.js → review-KQV2VC44.js} +9 -8
  133. package/dist/{review-TZUVYEAL.js.map → review-KQV2VC44.js.map} +1 -1
  134. package/dist/{review-now-LYGJDHDE.js → review-now-S6HC7QUZ.js} +2 -2
  135. package/dist/{run-SVJLTKSR.js → run-ZQDZM2F7.js} +8 -7
  136. package/dist/{run-SVJLTKSR.js.map → run-ZQDZM2F7.js.map} +1 -1
  137. package/dist/{screen-JC6L6MT5.js → screen-TFIGUHCM.js} +10 -9
  138. package/dist/{screen-JC6L6MT5.js.map → screen-TFIGUHCM.js.map} +1 -1
  139. package/dist/{search-3BZMJM3P.js → search-OF3OQCOL.js} +8 -7
  140. package/dist/{search-3BZMJM3P.js.map → search-OF3OQCOL.js.map} +1 -1
  141. package/dist/{section-GNYPAEQC.js → section-RXBFBJH3.js} +11 -10
  142. package/dist/{section-GNYPAEQC.js.map → section-RXBFBJH3.js.map} +1 -1
  143. package/dist/{send-KVUFOWCP.js → send-SKMM6PMF.js} +11 -10
  144. package/dist/{send-KVUFOWCP.js.map → send-SKMM6PMF.js.map} +1 -1
  145. package/dist/{sessions-W36QTHAD.js → sessions-CHINYTLG.js} +22 -21
  146. package/dist/{sessions-W36QTHAD.js.map → sessions-CHINYTLG.js.map} +1 -1
  147. package/dist/{show-FQPMGZO3.js → show-YAMZLP4E.js} +9 -8
  148. package/dist/{show-FQPMGZO3.js.map → show-YAMZLP4E.js.map} +1 -1
  149. package/dist/{snooze-HGO3W2OF.js → snooze-3OHKZEBQ.js} +10 -9
  150. package/dist/{snooze-HGO3W2OF.js.map → snooze-3OHKZEBQ.js.map} +1 -1
  151. package/dist/{start-UQSJGUMJ.js → start-AFBN5IZM.js} +10 -9
  152. package/dist/{start-UQSJGUMJ.js.map → start-AFBN5IZM.js.map} +1 -1
  153. package/dist/{state-24H5QRPO.js → state-NBSMRUXX.js} +2 -2
  154. package/dist/{status-MGTUAZTA.js → status-S2WZCF4J.js} +12 -11
  155. package/dist/{status-MGTUAZTA.js.map → status-S2WZCF4J.js.map} +1 -1
  156. package/dist/{statusline-B6U3ANSM.js → statusline-QZKHVDHR.js} +4 -4
  157. package/dist/statusline-hook-Q645N4XF.js +162 -0
  158. package/dist/statusline-hook-Q645N4XF.js.map +1 -0
  159. package/dist/{stop-JBUL4WY3.js → stop-KSOAPWKH.js} +10 -9
  160. package/dist/{stop-JBUL4WY3.js.map → stop-KSOAPWKH.js.map} +1 -1
  161. package/dist/{sync-ILYA3AHS.js → sync-S2BNPQXB.js} +25 -24
  162. package/dist/{sync-ILYA3AHS.js.map → sync-S2BNPQXB.js.map} +1 -1
  163. package/dist/{time-ZOJD7HFL.js → time-2QQXML2K.js} +11 -10
  164. package/dist/{time-ZOJD7HFL.js.map → time-2QQXML2K.js.map} +1 -1
  165. package/dist/{time-actions-AIKJ7ENX.js → time-actions-VKQQ64BR.js} +3 -3
  166. package/dist/{timesheet-WT7QUB7M.js → timesheet-MZNTOM6T.js} +14 -13
  167. package/dist/{timesheet-WT7QUB7M.js.map → timesheet-MZNTOM6T.js.map} +1 -1
  168. package/dist/{todo-GB7X6KWW.js → todo-ADHVKSVA.js} +2 -2
  169. package/dist/{tree-M6YEJCXF.js → tree-S2PPLSQB.js} +24 -23
  170. package/dist/{tree-M6YEJCXF.js.map → tree-S2PPLSQB.js.map} +1 -1
  171. package/dist/{update-47FZ6YO5.js → update-5K5Y5PB3.js} +16 -15
  172. package/dist/{update-47FZ6YO5.js.map → update-5K5Y5PB3.js.map} +1 -1
  173. package/dist/{usage-PTD3C34L.js → usage-O2POSOEE.js} +10 -9
  174. package/dist/{usage-PTD3C34L.js.map → usage-O2POSOEE.js.map} +1 -1
  175. package/dist/{usage-ask-BULFMCUZ.js → usage-ask-C3QLGFC5.js} +3 -3
  176. package/dist/{version-6UJN2CCE.js → version-3UR4YFMC.js} +4 -4
  177. package/dist/{wait-JHFM3MA7.js → wait-TXEVJCYX.js} +11 -10
  178. package/dist/{wait-JHFM3MA7.js.map → wait-TXEVJCYX.js.map} +1 -1
  179. package/dist/wd-bin.js +3 -3
  180. package/dist/web/assets/{PtyView-DpIVcrTI.js → PtyView-DsQS5QEM.js} +2 -2
  181. package/dist/web/assets/{PtyView-DpIVcrTI.js.map → PtyView-DsQS5QEM.js.map} +1 -1
  182. package/dist/web/assets/{index-DhXqtaRc.js → index-ppylqAa_.js} +56 -56
  183. package/dist/web/assets/index-ppylqAa_.js.map +1 -0
  184. package/dist/web/index.html +1 -1
  185. package/dist/{web-HRGWOUDV.js → web-I7Q4ZMJX.js} +79 -56
  186. package/dist/web-I7Q4ZMJX.js.map +1 -0
  187. package/npm-shrinkwrap.json +2 -2
  188. package/package.json +1 -1
  189. package/dist/chunk-2SLALFWA.js.map +0 -1
  190. package/dist/chunk-4YG55UQ6.js +0 -9
  191. package/dist/chunk-A72CRTFG.js.map +0 -1
  192. package/dist/chunk-FJYM2JQN.js.map +0 -1
  193. package/dist/chunk-HGB7BITW.js.map +0 -1
  194. package/dist/chunk-MWIPHUAE.js.map +0 -1
  195. package/dist/statusline-hook-SYRLMSDL.js +0 -72
  196. package/dist/statusline-hook-SYRLMSDL.js.map +0 -1
  197. package/dist/web/assets/index-DhXqtaRc.js.map +0 -1
  198. package/dist/web-HRGWOUDV.js.map +0 -1
  199. /package/dist/{chunk-VBB3E37Z.js.map → chunk-2ALX552Z.js.map} +0 -0
  200. /package/dist/{chunk-3JLMVWRO.js.map → chunk-2SHSB7JN.js.map} +0 -0
  201. /package/dist/{chunk-7334DEPX.js.map → chunk-2YGVF224.js.map} +0 -0
  202. /package/dist/{chunk-ADVMIHTB.js.map → chunk-3MPFCM5W.js.map} +0 -0
  203. /package/dist/{chunk-BGPCIL4U.js.map → chunk-3ZB3TXPT.js.map} +0 -0
  204. /package/dist/{chunk-LBJHFVH3.js.map → chunk-4KETMLQJ.js.map} +0 -0
  205. /package/dist/{chunk-PZGLIYMD.js.map → chunk-6CG7TAPE.js.map} +0 -0
  206. /package/dist/{chunk-GUEJVX2X.js.map → chunk-7L4L4Q73.js.map} +0 -0
  207. /package/dist/{chunk-LVNPLXUO.js.map → chunk-7LU3LKHV.js.map} +0 -0
  208. /package/dist/{chunk-XKPF4MD2.js.map → chunk-BZ2FD3F7.js.map} +0 -0
  209. /package/dist/{chunk-ITNSUPVJ.js.map → chunk-C7QOPDZL.js.map} +0 -0
  210. /package/dist/{chunk-26DBVWJC.js.map → chunk-CDO7AFTJ.js.map} +0 -0
  211. /package/dist/{chunk-J5B2Z7SO.js.map → chunk-CNJZONIK.js.map} +0 -0
  212. /package/dist/{chunk-H4TNGZKT.js.map → chunk-DDGTJVLP.js.map} +0 -0
  213. /package/dist/{chunk-55T4LC2P.js.map → chunk-DKQU6K4S.js.map} +0 -0
  214. /package/dist/{chunk-BMLV63AW.js.map → chunk-EHX5MGDJ.js.map} +0 -0
  215. /package/dist/{chunk-AMKLWFT3.js.map → chunk-HACRL36E.js.map} +0 -0
  216. /package/dist/{chunk-WKHP3AXS.js.map → chunk-HJZ65BMV.js.map} +0 -0
  217. /package/dist/{chunk-WVDIS22N.js.map → chunk-HV5TXLMN.js.map} +0 -0
  218. /package/dist/{chunk-ATBSACIU.js.map → chunk-I3JB5UGN.js.map} +0 -0
  219. /package/dist/{chunk-KK5RCNDL.js.map → chunk-IGMXR7S4.js.map} +0 -0
  220. /package/dist/{chunk-VG5WQPQB.js.map → chunk-IHYPHX2Z.js.map} +0 -0
  221. /package/dist/{chunk-QO4QWQUO.js.map → chunk-JMILQI5Y.js.map} +0 -0
  222. /package/dist/{chunk-PYHYZGY4.js.map → chunk-K5U6EWIN.js.map} +0 -0
  223. /package/dist/{chunk-WIYDT3PY.js.map → chunk-NFM4NGTI.js.map} +0 -0
  224. /package/dist/{chunk-S7OCHVVD.js.map → chunk-NJXYDMNQ.js.map} +0 -0
  225. /package/dist/{chunk-H5JNYD63.js.map → chunk-PV7IOR7X.js.map} +0 -0
  226. /package/dist/{chunk-V76KARDB.js.map → chunk-PVBWN4LV.js.map} +0 -0
  227. /package/dist/{chunk-G7VLIMOH.js.map → chunk-S4OLDCTC.js.map} +0 -0
  228. /package/dist/{chunk-IVH5T4U2.js.map → chunk-S5EJTSD2.js.map} +0 -0
  229. /package/dist/{chunk-WXYUABCL.js.map → chunk-SMTNDZX5.js.map} +0 -0
  230. /package/dist/{chunk-2YRR5Q3C.js.map → chunk-T5SDU4UP.js.map} +0 -0
  231. /package/dist/{chunk-CIUTNNF4.js.map → chunk-TFENIQUQ.js.map} +0 -0
  232. /package/dist/{chunk-IBTA4DSY.js.map → chunk-ULN7Z5VB.js.map} +0 -0
  233. /package/dist/{chunk-56D4WJ2S.js.map → chunk-UNYCEMG4.js.map} +0 -0
  234. /package/dist/{chunk-PJ7ZKAZF.js.map → chunk-V5VG3V6R.js.map} +0 -0
  235. /package/dist/{chunk-4YG55UQ6.js.map → chunk-VJZGPYJT.js.map} +0 -0
  236. /package/dist/{chunk-374HKMSE.js.map → chunk-WPFDHBQZ.js.map} +0 -0
  237. /package/dist/{chunk-AC7FECH5.js.map → chunk-WSDAXREI.js.map} +0 -0
  238. /package/dist/{chunk-QDNNFL56.js.map → chunk-XCDIMZD3.js.map} +0 -0
  239. /package/dist/{chunk-N2IDEZGB.js.map → chunk-YCNIIE7Q.js.map} +0 -0
  240. /package/dist/{chunk-AWP2MCMN.js.map → chunk-YOBBM2DF.js.map} +0 -0
  241. /package/dist/{chunk-BGS5M542.js.map → chunk-YRSFUGS5.js.map} +0 -0
  242. /package/dist/{chunk-2LUTV7UB.js.map → chunk-YSUASP3E.js.map} +0 -0
  243. /package/dist/{chunk-F5RPC3LT.js.map → chunk-ZAGEDMIK.js.map} +0 -0
  244. /package/dist/{chunk-QTENJUM3.js.map → chunk-ZERN5OBM.js.map} +0 -0
  245. /package/dist/{chunk-AT4EPCOV.js.map → chunk-ZL6IYEDM.js.map} +0 -0
  246. /package/dist/{cli-K6T6AJHP.js.map → cli-KIBE6YOF.js.map} +0 -0
  247. /package/dist/{history-CRUFLMA2.js.map → history-XK2XDAKU.js.map} +0 -0
  248. /package/dist/{install-skills-M2Y6ZGQC.js.map → install-skills-DIL6HTHB.js.map} +0 -0
  249. /package/dist/{review-now-LYGJDHDE.js.map → review-now-S6HC7QUZ.js.map} +0 -0
  250. /package/dist/{state-24H5QRPO.js.map → state-NBSMRUXX.js.map} +0 -0
  251. /package/dist/{statusline-B6U3ANSM.js.map → statusline-QZKHVDHR.js.map} +0 -0
  252. /package/dist/{time-actions-AIKJ7ENX.js.map → time-actions-VKQQ64BR.js.map} +0 -0
  253. /package/dist/{todo-GB7X6KWW.js.map → todo-ADHVKSVA.js.map} +0 -0
  254. /package/dist/{usage-ask-BULFMCUZ.js.map → usage-ask-C3QLGFC5.js.map} +0 -0
  255. /package/dist/{version-6UJN2CCE.js.map → version-3UR4YFMC.js.map} +0 -0
@@ -9,10 +9,13 @@ import {
9
9
  claudeSettingsFile,
10
10
  internalClaudeReadOnlySpawn,
11
11
  internalClaudeSpawn
12
- } from "./chunk-WIYDT3PY.js";
12
+ } from "./chunk-NFM4NGTI.js";
13
13
  import {
14
14
  applyEnvDelta
15
15
  } from "./chunk-YQSWVHKK.js";
16
+ import {
17
+ checkedOutBranch
18
+ } from "./chunk-Z6ACV5ZQ.js";
16
19
  import {
17
20
  readReadings
18
21
  } from "./chunk-JUGF3YE7.js";
@@ -35,16 +38,17 @@ import {
35
38
  sessionAccount,
36
39
  setUpAccounts,
37
40
  validateClaudeAccounts
38
- } from "./chunk-7334DEPX.js";
41
+ } from "./chunk-2YGVF224.js";
39
42
  import {
40
43
  DEFAULT_ACCOUNT,
41
44
  getConfigPath,
42
45
  isAgentId,
43
46
  loadConfig
44
- } from "./chunk-MWIPHUAE.js";
47
+ } from "./chunk-LXBHVWOY.js";
45
48
  import {
46
- savedPath
47
- } from "./chunk-HGB7BITW.js";
49
+ savedPath,
50
+ userStatusLine
51
+ } from "./chunk-W4GDPHIF.js";
48
52
  import {
49
53
  accountOf
50
54
  } from "./chunk-BR6OWWAA.js";
@@ -154,86 +158,8 @@ function swallow(label) {
154
158
  }
155
159
 
156
160
  // src/core/worktree/own-checkout.ts
157
- import path2 from "path";
158
-
159
- // src/core/git/git-head.ts
160
- import fs2 from "fs";
161
161
  import path from "path";
162
- function checkedOutBranch(checkout) {
163
- try {
164
- const dirs = gitDirs(checkout);
165
- return dirs ? branchFromHead(fs2.readFileSync(path.join(dirs.gitDir, "HEAD"), "utf8")) : null;
166
- } catch {
167
- return null;
168
- }
169
- }
170
- function workingBranch(checkout) {
171
- const name = checkedOutBranch(checkout);
172
- if (name) return name;
173
- const dirs = gitDirs(checkout);
174
- if (!dirs) return null;
175
- for (const folder of ["rebase-merge", "rebase-apply"]) {
176
- try {
177
- const b = branchFromHead(`ref: ${fs2.readFileSync(path.join(dirs.gitDir, folder, "head-name"), "utf8").trim()}`);
178
- if (b) return b;
179
- } catch {
180
- }
181
- }
182
- return null;
183
- }
184
- function gitDirs(checkout) {
185
- try {
186
- const dotGit = path.join(checkout, ".git");
187
- if (!fs2.statSync(dotGit).isFile()) return { gitDir: dotGit, commonDir: dotGit };
188
- const m = /^gitdir:\s*(.+?)\s*$/m.exec(fs2.readFileSync(dotGit, "utf8"));
189
- if (!m) return null;
190
- const gitDir = path.resolve(checkout, m[1]);
191
- let commonDir = gitDir;
192
- try {
193
- commonDir = path.resolve(gitDir, fs2.readFileSync(path.join(gitDir, "commondir"), "utf8").trim());
194
- } catch {
195
- }
196
- return { gitDir, commonDir };
197
- } catch {
198
- return null;
199
- }
200
- }
201
- function refShaFromFiles(checkout, ref) {
202
- const dirs = gitDirs(checkout);
203
- if (!dirs) return null;
204
- const sha = (s) => /^[0-9a-f]{40,64}$/.test(s) ? s : null;
205
- let name = ref;
206
- if (ref === "HEAD") {
207
- let head;
208
- try {
209
- head = fs2.readFileSync(path.join(dirs.gitDir, "HEAD"), "utf8").trim();
210
- } catch {
211
- return null;
212
- }
213
- const m = /^ref:\s*(refs\/heads\/.+)$/.exec(head);
214
- if (!m) return sha(head);
215
- name = m[1];
216
- }
217
- try {
218
- return sha(fs2.readFileSync(path.join(dirs.commonDir, ...name.split("/")), "utf8").trim());
219
- } catch {
220
- }
221
- try {
222
- for (const line of fs2.readFileSync(path.join(dirs.commonDir, "packed-refs"), "utf8").split(/\r?\n/)) {
223
- const [s, r] = line.split(" ");
224
- if (r === name) return sha(s);
225
- }
226
- } catch {
227
- }
228
- return null;
229
- }
230
- function branchFromHead(head) {
231
- const m = /^ref:\s*refs\/heads\/(.+?)\s*$/m.exec(head);
232
- return m ? m[1] : null;
233
- }
234
-
235
- // src/core/worktree/own-checkout.ts
236
- var key = (p) => path2.resolve(p).replace(/\\/g, "/").replace(/\/+$/, "").toLowerCase();
162
+ var key = (p) => path.resolve(p).replace(/\\/g, "/").replace(/\/+$/, "").toLowerCase();
237
163
  function isOwnCheckout(s, repos) {
238
164
  const own = new Set(Object.values(repos).map(key));
239
165
  return s.paths.some((p) => own.has(key(p)));
@@ -264,7 +190,7 @@ var AccountAdminError = class extends Error {
264
190
  };
265
191
 
266
192
  // src/core/agents/index.ts
267
- import path14 from "path";
193
+ import path13 from "path";
268
194
 
269
195
  // src/core/agents/claude/startup-question.ts
270
196
  var YES = /^\s*[❯>]?\s*1\.\s+Yes, (?:I trust this folder|proceed)\s*$/;
@@ -278,25 +204,25 @@ function claudeStartupQuestion(screen) {
278
204
  }
279
205
 
280
206
  // src/core/agents/claude/adapter.ts
281
- import path13 from "path";
207
+ import path12 from "path";
282
208
 
283
209
  // src/core/agents/claude/files.ts
284
- import fs4 from "fs";
285
- import path4 from "path";
210
+ import fs3 from "fs";
211
+ import path3 from "path";
286
212
 
287
213
  // src/core/agents/claude/activity.ts
288
- import fs3 from "fs";
214
+ import fs2 from "fs";
289
215
  import os from "os";
290
- import path3 from "path";
216
+ import path2 from "path";
291
217
  function encodeProjectDir(p) {
292
- return path3.resolve(p).replace(/[^A-Za-z0-9]/g, "-");
218
+ return path2.resolve(p).replace(/[^A-Za-z0-9]/g, "-");
293
219
  }
294
220
  var listings = /* @__PURE__ */ new Map();
295
221
  var NAMES_MAX_AGE_MS = 2e3;
296
222
  function projectTranscripts(projectDir, now = Date.now()) {
297
223
  let dirMtimeMs;
298
224
  try {
299
- dirMtimeMs = fs3.statSync(projectDir).mtimeMs;
225
+ dirMtimeMs = fs2.statSync(projectDir).mtimeMs;
300
226
  } catch {
301
227
  listings.delete(projectDir);
302
228
  return [];
@@ -305,7 +231,7 @@ function projectTranscripts(projectDir, now = Date.now()) {
305
231
  if (!hit || hit.dirMtimeMs !== dirMtimeMs || now - hit.at >= NAMES_MAX_AGE_MS) {
306
232
  let names = [];
307
233
  try {
308
- names = fs3.readdirSync(projectDir).filter((n) => n.endsWith(".jsonl"));
234
+ names = fs2.readdirSync(projectDir).filter((n) => n.endsWith(".jsonl"));
309
235
  } catch {
310
236
  }
311
237
  hit = { at: now, dirMtimeMs, names };
@@ -314,8 +240,8 @@ function projectTranscripts(projectDir, now = Date.now()) {
314
240
  const files = [];
315
241
  for (const name of hit.names) {
316
242
  try {
317
- const file = path3.join(projectDir, name);
318
- const st = fs3.statSync(file);
243
+ const file = path2.join(projectDir, name);
244
+ const st = fs2.statSync(file);
319
245
  files.push({ file, mtimeMs: st.mtimeMs, size: st.size });
320
246
  } catch {
321
247
  }
@@ -328,7 +254,7 @@ function latestJsonlMtimeMs(projectDir) {
328
254
  return latest;
329
255
  }
330
256
  function projectsRootOf(configDir) {
331
- return path3.join(configDir || path3.join(os.homedir(), ".claude"), "projects");
257
+ return path2.join(configDir || path2.join(os.homedir(), ".claude"), "projects");
332
258
  }
333
259
  function claudeProjectsRoots(first) {
334
260
  const accounts = claudeAccounts();
@@ -337,28 +263,28 @@ function claudeProjectsRoots(first) {
337
263
  const out = [];
338
264
  for (const a of ordered) {
339
265
  const root = projectsRootOf(a.dir);
340
- const key2 = path3.resolve(root);
266
+ const key2 = path2.resolve(root);
341
267
  if (seen.has(key2)) continue;
342
268
  seen.add(key2);
343
269
  out.push(root);
344
270
  }
345
271
  return out;
346
272
  }
347
- var activityIn = (launchPath, configDir) => latestJsonlMtimeMs(path3.join(projectsRootOf(configDir), encodeProjectDir(launchPath)));
273
+ var activityIn = (launchPath, configDir) => latestJsonlMtimeMs(path2.join(projectsRootOf(configDir), encodeProjectDir(launchPath)));
348
274
  function getClaudeActivityMs(launchPath, configDir) {
349
275
  if (configDir) return activityIn(launchPath, configDir);
350
276
  let latest = 0;
351
- for (const root of claudeProjectsRoots()) latest = Math.max(latest, latestJsonlMtimeMs(path3.join(root, encodeProjectDir(launchPath))));
277
+ for (const root of claudeProjectsRoots()) latest = Math.max(latest, latestJsonlMtimeMs(path2.join(root, encodeProjectDir(launchPath))));
352
278
  return latest;
353
279
  }
354
280
  function hasClaudeConversation(dir, configDir) {
355
281
  return activityIn(dir, configDir) > 0;
356
282
  }
357
283
  function sessionRunFolders(session, existing = true) {
358
- const paths = existing ? session.paths.filter((p) => fs3.existsSync(p)) : session.paths;
284
+ const paths = existing ? session.paths.filter((p) => fs2.existsSync(p)) : session.paths;
359
285
  const out = /* @__PURE__ */ new Set();
360
286
  if (session.isGroup) {
361
- for (const p of paths) out.add(path3.dirname(p));
287
+ for (const p of paths) out.add(path2.dirname(p));
362
288
  for (const p of paths) out.add(p);
363
289
  } else {
364
290
  for (const p of paths) out.add(p);
@@ -366,9 +292,9 @@ function sessionRunFolders(session, existing = true) {
366
292
  return [...out];
367
293
  }
368
294
  function resolveResumeLaunch(session) {
369
- const existing = session.paths.filter((p) => fs3.existsSync(p));
295
+ const existing = session.paths.filter((p) => fs2.existsSync(p));
370
296
  const first = existing[0] ?? session.paths[0];
371
- const defaultPath = session.isGroup ? path3.dirname(first) : first;
297
+ const defaultPath = session.isGroup ? path2.dirname(first) : first;
372
298
  const candidates = sessionRunFolders(session);
373
299
  const configDir = configDirEnv(sessionAccount(session)).CLAUDE_CONFIG_DIR;
374
300
  let launchPath = defaultPath;
@@ -385,13 +311,13 @@ function resolveResumeLaunch(session) {
385
311
 
386
312
  // src/core/agents/claude/files.ts
387
313
  function listTranscripts(session) {
388
- const dirs = session.isGroup ? [...new Set(session.paths.map((p) => path4.dirname(p)))] : session.paths;
314
+ const dirs = session.isGroup ? [...new Set(session.paths.map((p) => path3.dirname(p)))] : session.paths;
389
315
  const roots = claudeProjectsRoots(sessionAccount(session));
390
316
  const seen = /* @__PURE__ */ new Set();
391
317
  const out = [];
392
318
  for (const d of dirs)
393
319
  for (const root of roots)
394
- for (const f of projectTranscripts(path4.join(root, encodeProjectDir(d)))) {
320
+ for (const f of projectTranscripts(path3.join(root, encodeProjectDir(d)))) {
395
321
  if (seen.has(f.file)) continue;
396
322
  seen.add(f.file);
397
323
  out.push(f);
@@ -402,18 +328,18 @@ function listUsageFiles(session) {
402
328
  const out = [];
403
329
  for (const t of listTranscripts(session)) {
404
330
  out.push(t);
405
- const dir = path4.join(t.file.replace(/\.jsonl$/, ""), "subagents");
331
+ const dir = path3.join(t.file.replace(/\.jsonl$/, ""), "subagents");
406
332
  let names;
407
333
  try {
408
- names = fs4.readdirSync(dir);
334
+ names = fs3.readdirSync(dir);
409
335
  } catch {
410
336
  continue;
411
337
  }
412
338
  for (const name of names) {
413
339
  if (!name.startsWith("agent-") || !name.endsWith(".jsonl")) continue;
414
- const file = path4.join(dir, name);
340
+ const file = path3.join(dir, name);
415
341
  try {
416
- const st = fs4.statSync(file);
342
+ const st = fs3.statSync(file);
417
343
  out.push({ file, mtimeMs: st.mtimeMs, size: st.size });
418
344
  } catch {
419
345
  }
@@ -441,23 +367,23 @@ function whatOf(meta) {
441
367
  function lookForBackgroundWork(session, sinceMs, afterMs, quietFrom = afterMs) {
442
368
  for (const t of listTranscripts(session)) {
443
369
  if (t.mtimeMs < sinceMs - AROUND_TURN_MS) continue;
444
- const dir = path4.join(t.file.replace(/\.jsonl$/, ""), "subagents");
370
+ const dir = path3.join(t.file.replace(/\.jsonl$/, ""), "subagents");
445
371
  let names;
446
372
  try {
447
- names = fs4.readdirSync(dir);
373
+ names = fs3.readdirSync(dir);
448
374
  } catch {
449
375
  continue;
450
376
  }
451
377
  for (const name of names) {
452
378
  if (!name.endsWith(".jsonl")) continue;
453
- const file = path4.join(dir, name);
379
+ const file = path3.join(dir, name);
454
380
  try {
455
- const written = fs4.statSync(file).mtimeMs;
381
+ const written = fs3.statSync(file).mtimeMs;
456
382
  if (written <= quietFrom) continue;
457
383
  const metaFile = file.replace(/\.jsonl$/, ".meta.json");
458
- const startedForTurn = fs4.statSync(metaFile).mtimeMs >= sinceMs - AROUND_TURN_MS;
384
+ const startedForTurn = fs3.statSync(metaFile).mtimeMs >= sinceMs - AROUND_TURN_MS;
459
385
  if (written <= afterMs && !startedForTurn) continue;
460
- const meta = JSON.parse(fs4.readFileSync(metaFile, "utf8"));
386
+ const meta = JSON.parse(fs3.readFileSync(metaFile, "utf8"));
461
387
  if (meta && typeof meta === "object" && meta.requestShape === "background")
462
388
  return { what: whatOf(meta) };
463
389
  } catch {
@@ -468,7 +394,7 @@ function lookForBackgroundWork(session, sinceMs, afterMs, quietFrom = afterMs) {
468
394
  }
469
395
 
470
396
  // src/core/conversations/jsonl.ts
471
- import fs5 from "fs";
397
+ import fs4 from "fs";
472
398
  var TAIL_BYTES = 256 * 1024;
473
399
  function parseLines(text) {
474
400
  const out = [];
@@ -487,15 +413,15 @@ function readJsonlTail(transcriptPath, bytes = TAIL_BYTES) {
487
413
  if (!transcriptPath) return [];
488
414
  let text;
489
415
  try {
490
- const fd = fs5.openSync(transcriptPath, "r");
416
+ const fd = fs4.openSync(transcriptPath, "r");
491
417
  try {
492
- const size = fs5.fstatSync(fd).size;
418
+ const size = fs4.fstatSync(fd).size;
493
419
  const start = Math.max(0, size - bytes);
494
420
  const buf = Buffer.alloc(size - start);
495
- fs5.readSync(fd, buf, 0, buf.length, start);
421
+ fs4.readSync(fd, buf, 0, buf.length, start);
496
422
  text = buf.toString("utf-8");
497
423
  } finally {
498
- fs5.closeSync(fd);
424
+ fs4.closeSync(fd);
499
425
  }
500
426
  } catch {
501
427
  return [];
@@ -509,7 +435,7 @@ async function readJsonlSince(transcriptPath, sinceMs, timeOf, opts = {}) {
509
435
  const max = Math.max(chunk, opts.maxBytes ?? SINCE_MAX_BYTES);
510
436
  let fh;
511
437
  try {
512
- fh = await fs5.promises.open(transcriptPath, "r");
438
+ fh = await fs4.promises.open(transcriptPath, "r");
513
439
  } catch {
514
440
  return { lines: [], partial: false };
515
441
  }
@@ -723,10 +649,10 @@ function claudeContextWindow(model, used) {
723
649
  }
724
650
 
725
651
  // src/core/agents/claude/hooks.ts
726
- import path6 from "path";
652
+ import path5 from "path";
727
653
 
728
654
  // src/core/agents/claude/permission.ts
729
- import path5 from "path";
655
+ import path4 from "path";
730
656
  function pendingToolUse(entries) {
731
657
  const answered = /* @__PURE__ */ new Set();
732
658
  for (const e of entries) {
@@ -757,7 +683,7 @@ var YES_SELECTED_RE = /❯\s*1\.\s*Yes\b/;
757
683
  var squash = (s) => s.replace(/[\s\u2500-\u257f]+/g, "");
758
684
  function screenAnchor(req) {
759
685
  if (req.tool === "Bash" || req.tool === "PowerShell") return squash(req.detail.split(" \u23CE ")[0]).slice(0, 40);
760
- if (/[\\/]/.test(req.detail) && !/^https?:/.test(req.detail)) return path5.basename(req.detail.replace(/\\/g, "/"));
686
+ if (/[\\/]/.test(req.detail) && !/^https?:/.test(req.detail)) return path4.basename(req.detail.replace(/\\/g, "/"));
761
687
  return "";
762
688
  }
763
689
  function checkDialog(screen, req) {
@@ -817,7 +743,7 @@ function claudeStatusEvent(edge, payload) {
817
743
  }
818
744
  }
819
745
  var toClaude = (h) => ({ owner: h.owner, event: CLAUDE_EVENT[h.edge] });
820
- var settingsFiles = () => setUpAccounts().map((a) => path6.join(a.dir, "settings.json"));
746
+ var settingsFiles = () => setUpAccounts().map((a) => path5.join(a.dir, "settings.json"));
821
747
  var claudeEvents = {
822
748
  removeInstalled: async (hooks) => {
823
749
  const inst = await loadInstaller();
@@ -844,10 +770,10 @@ var claudeEvents = {
844
770
  };
845
771
 
846
772
  // src/core/agents/claude/session-settings.ts
847
- import fs6 from "fs";
848
- import path7 from "path";
773
+ import fs5 from "fs";
774
+ import path6 from "path";
849
775
  var SESSION_SETTINGS_NAME = "claude-settings.json";
850
- var sessionSettingsPath = () => path7.join(getConfigDir(), SESSION_SETTINGS_NAME);
776
+ var sessionSettingsPath = () => path6.join(getConfigDir(), SESSION_SETTINGS_NAME);
851
777
  function claudeSessionSettings(o) {
852
778
  const hooks = {};
853
779
  for (const h of SESSION_HOOKS) {
@@ -862,23 +788,24 @@ function claudeSessionSettings(o) {
862
788
  }
863
789
  function writeSessionSettings(o = {}) {
864
790
  const file = sessionSettingsPath();
865
- const statusLine = o.statusLine ?? loadConfig()?.usage?.statusLine !== false;
791
+ const config = loadConfig();
792
+ const statusLine = o.statusLine ?? (config?.usage?.statusLine !== false || config?.claudeStatusLine === "work");
866
793
  const text = JSON.stringify(claudeSessionSettings({ statusLine, invocation: o.invocation }), null, 2) + "\n";
867
794
  let now = null;
868
795
  try {
869
- now = fs6.readFileSync(file, "utf-8");
796
+ now = fs5.readFileSync(file, "utf-8");
870
797
  } catch {
871
798
  }
872
799
  if (now !== text) {
873
- fs6.mkdirSync(path7.dirname(file), { recursive: true });
800
+ fs5.mkdirSync(path6.dirname(file), { recursive: true });
874
801
  atomicWriteFile(file, text);
875
802
  }
876
803
  return file;
877
804
  }
878
- var isOurs = (p) => !!p && path7.basename(p) === SESSION_SETTINGS_NAME;
805
+ var isOurs = (p) => !!p && path6.basename(p) === SESSION_SETTINGS_NAME;
879
806
  function sessionSettingsFile(o = {}) {
880
807
  const file = sessionSettingsPath();
881
- return o.write === false && fs6.existsSync(file) ? file : writeSessionSettings();
808
+ return o.write === false && fs5.existsSync(file) ? file : writeSessionSettings();
882
809
  }
883
810
  var startedWithSessionSettings = (commandLine) => commandLine.includes(SESSION_SETTINGS_NAME);
884
811
  function withSessionSettings(tool, file = sessionSettingsFile()) {
@@ -894,9 +821,9 @@ function withSessionSettings(tool, file = sessionSettingsFile()) {
894
821
  }
895
822
 
896
823
  // src/core/agents/claude/live.ts
897
- import fs7 from "fs";
824
+ import fs6 from "fs";
898
825
  import os2 from "os";
899
- import path8 from "path";
826
+ import path7 from "path";
900
827
  var isObj = (v) => !!v && typeof v === "object" && !Array.isArray(v);
901
828
  function parseLiveClaude(raw) {
902
829
  if (!isObj(raw)) return null;
@@ -926,24 +853,24 @@ function aliveOnly(list, table, bootMs) {
926
853
  var TTL_MS = 5e3;
927
854
  var cache = null;
928
855
  function claudeSessionsDir() {
929
- return path8.join(process.env.CLAUDE_CONFIG_DIR || path8.join(os2.homedir(), ".claude"), "sessions");
856
+ return path7.join(process.env.CLAUDE_CONFIG_DIR || path7.join(os2.homedir(), ".claude"), "sessions");
930
857
  }
931
858
  function claudeSessionsDirs() {
932
859
  const accounts = claudeAccounts();
933
860
  if (accounts.length <= 1) return [claudeSessionsDir()];
934
- return [...new Set(accounts.map((a) => path8.join(a.dir, "sessions")))];
861
+ return [...new Set(accounts.map((a) => path7.join(a.dir, "sessions")))];
935
862
  }
936
863
  function readDir(dir, table) {
937
864
  let names;
938
865
  try {
939
- names = fs7.readdirSync(dir).filter((n) => /^\d+\.json$/.test(n));
866
+ names = fs6.readdirSync(dir).filter((n) => /^\d+\.json$/.test(n));
940
867
  } catch {
941
868
  return [];
942
869
  }
943
870
  const parsed = [];
944
871
  for (const n of names) {
945
872
  try {
946
- const c = parseLiveClaude(JSON.parse(fs7.readFileSync(path8.join(dir, n), "utf8")));
873
+ const c = parseLiveClaude(JSON.parse(fs6.readFileSync(path7.join(dir, n), "utf8")));
947
874
  if (c) parsed.push(c);
948
875
  } catch {
949
876
  }
@@ -971,12 +898,12 @@ var typeThenEnter = async (write, text, wait = (ms) => new Promise((r) => setTim
971
898
  };
972
899
 
973
900
  // src/core/agents/claude/workspace.ts
974
- import fs8 from "fs";
975
- import path9 from "path";
901
+ import fs7 from "fs";
902
+ import path8 from "path";
976
903
  var claudeAllowRule = (r) => `Bash(${r.command}${r.prefix ? ":*" : ""})`;
977
904
  var claudeWorkspace = {
978
905
  write(dir, { allow, hooks }) {
979
- fs8.mkdirSync(path9.join(dir, ".claude"), { recursive: true });
906
+ fs7.mkdirSync(path8.join(dir, ".claude"), { recursive: true });
980
907
  const byEvent = {};
981
908
  for (const h of hooks) {
982
909
  (byEvent[CLAUDE_EVENT[h.edge]] ??= []).push({
@@ -984,8 +911,8 @@ var claudeWorkspace = {
984
911
  });
985
912
  }
986
913
  const settings = { permissions: { allow: allow.map(claudeAllowRule) }, hooks: byEvent };
987
- atomicWriteFile(path9.join(dir, ".claude", "settings.json"), JSON.stringify(settings, null, 2) + "\n");
988
- return [path9.join(".claude", "settings.json")];
914
+ atomicWriteFile(path8.join(dir, ".claude", "settings.json"), JSON.stringify(settings, null, 2) + "\n");
915
+ return [path8.join(".claude", "settings.json")];
989
916
  }
990
917
  };
991
918
 
@@ -1055,9 +982,9 @@ function installClaudeSkillsFor(dir, run = runClaude) {
1055
982
 
1056
983
  // src/core/agents/claude/usage.ts
1057
984
  var installer2;
1058
- var loadInstaller2 = async () => installer2 ??= await import("./statusline-B6U3ANSM.js");
985
+ var loadInstaller2 = async () => installer2 ??= await import("./statusline-QZKHVDHR.js");
1059
986
  var asker;
1060
- var loadAsker = async () => asker ??= await import("./usage-ask-BULFMCUZ.js");
987
+ var loadAsker = async () => asker ??= await import("./usage-ask-C3QLGFC5.js");
1061
988
  function restoreMessage(o, saved = "~/.work/statusline.json") {
1062
989
  switch (o) {
1063
990
  case "restored":
@@ -1085,6 +1012,8 @@ var claudeUsage = {
1085
1012
  async refresh() {
1086
1013
  await (await loadAsker()).askClaudeUsage();
1087
1014
  },
1015
+ // A line in any account's own settings (an older work web's wrap counts as the line it saved).
1016
+ ownStatusLine: () => claudeAccounts().some((a) => userStatusLine({ configDir: a.dir }) !== null),
1088
1017
  async setup() {
1089
1018
  const done = await (await loadInstaller2()).unwrapAllStatusLines();
1090
1019
  const restored = done.filter((d) => d.outcome === "restored").map((d) => d.account);
@@ -1104,21 +1033,21 @@ var claudeUsage = {
1104
1033
  };
1105
1034
 
1106
1035
  // src/core/agents/claude/account-move.ts
1107
- import fs11 from "fs";
1108
- import path12 from "path";
1036
+ import fs10 from "fs";
1037
+ import path11 from "path";
1109
1038
 
1110
1039
  // src/core/agents/claude/account-admin.ts
1111
- import fs10 from "fs";
1040
+ import fs9 from "fs";
1112
1041
  import os4 from "os";
1113
- import path11 from "path";
1042
+ import path10 from "path";
1114
1043
 
1115
1044
  // src/core/agents/claude/setup-copy.ts
1116
- import fs9 from "fs";
1045
+ import fs8 from "fs";
1117
1046
  import os3 from "os";
1118
- import path10 from "path";
1047
+ import path9 from "path";
1119
1048
  var TRUSTED_FOLDERS = "trusted folders";
1120
1049
  function globalConfigFile(dir, home = os3.homedir()) {
1121
- return accountDirKey(dir) === accountDirKey(path10.join(home, ".claude")) ? path10.join(home, ".claude.json") : path10.join(dir, ".claude.json");
1050
+ return accountDirKey(dir) === accountDirKey(path9.join(home, ".claude")) ? path9.join(home, ".claude.json") : path9.join(dir, ".claude.json");
1122
1051
  }
1123
1052
  var isObject = (v) => !!v && typeof v === "object" && !Array.isArray(v);
1124
1053
  var same = (a, b) => JSON.stringify(a) === JSON.stringify(b);
@@ -1198,7 +1127,7 @@ var FILES = ["CLAUDE.md", "statusline-command.sh"];
1198
1127
  var FOLDERS = ["agents", "commands"];
1199
1128
  var SETTINGS = ["settings.json", "settings.local.json"];
1200
1129
  function alreadyThere(from, to, io) {
1201
- if (io.isDir(from)) return io.isDir(to) && io.list(from).every((name) => alreadyThere(path10.join(from, name), path10.join(to, name), io));
1130
+ if (io.isDir(from)) return io.isDir(to) && io.list(from).every((name) => alreadyThere(path9.join(from, name), path9.join(to, name), io));
1202
1131
  const a = io.read(from);
1203
1132
  const b = io.read(to);
1204
1133
  return !!a && !!b && a.equals(b);
@@ -1208,31 +1137,31 @@ function marketplaceKey(source) {
1208
1137
  return args ? args[3].replace(/\\/g, "/").replace(/\/+$/, "").toLowerCase() : null;
1209
1138
  }
1210
1139
  var realSetupIo = {
1211
- exists: (p) => fs9.existsSync(p),
1140
+ exists: (p) => fs8.existsSync(p),
1212
1141
  isDir: (p) => {
1213
1142
  try {
1214
- return fs9.statSync(p).isDirectory();
1143
+ return fs8.statSync(p).isDirectory();
1215
1144
  } catch {
1216
1145
  return false;
1217
1146
  }
1218
1147
  },
1219
1148
  list: (dir) => {
1220
1149
  try {
1221
- return fs9.readdirSync(dir);
1150
+ return fs8.readdirSync(dir);
1222
1151
  } catch {
1223
1152
  return [];
1224
1153
  }
1225
1154
  },
1226
1155
  read: (file) => {
1227
1156
  try {
1228
- return fs9.readFileSync(file);
1157
+ return fs8.readFileSync(file);
1229
1158
  } catch {
1230
1159
  return null;
1231
1160
  }
1232
1161
  },
1233
1162
  readJson: (file) => {
1234
1163
  try {
1235
- return JSON.parse(fs9.readFileSync(file, "utf-8"));
1164
+ return JSON.parse(fs8.readFileSync(file, "utf-8"));
1236
1165
  } catch {
1237
1166
  return null;
1238
1167
  }
@@ -1258,20 +1187,20 @@ function withTrusted(config, folders) {
1258
1187
  }
1259
1188
  function planSetupCopy(from, to, io = realSetupIo) {
1260
1189
  const items = [];
1261
- const there = (rel) => io.exists(path10.join(to.dir, rel));
1262
- const differs = (rel) => !alreadyThere(path10.join(from.dir, rel), path10.join(to.dir, rel), io);
1190
+ const there = (rel) => io.exists(path9.join(to.dir, rel));
1191
+ const differs = (rel) => !alreadyThere(path9.join(from.dir, rel), path9.join(to.dir, rel), io);
1263
1192
  for (const f of FILES)
1264
- if (io.exists(path10.join(from.dir, f)) && differs(f)) items.push({ kind: "file", name: f, does: there(f) ? "replaces" : "adds" });
1193
+ if (io.exists(path9.join(from.dir, f)) && differs(f)) items.push({ kind: "file", name: f, does: there(f) ? "replaces" : "adds" });
1265
1194
  for (const d of FOLDERS)
1266
- if (io.isDir(path10.join(from.dir, d)) && io.list(path10.join(from.dir, d)).length && differs(d))
1195
+ if (io.isDir(path9.join(from.dir, d)) && io.list(path9.join(from.dir, d)).length && differs(d))
1267
1196
  items.push({ kind: "folder", name: `${d}/`, does: there(d) ? "merges into" : "adds" });
1268
- for (const skill of io.list(path10.join(from.dir, "skills")).filter((s) => s !== "synced" && io.isDir(path10.join(from.dir, "skills", s))))
1269
- if (differs(path10.join("skills", skill)))
1270
- items.push({ kind: "folder", name: `skills/${skill}/`, does: there(path10.join("skills", skill)) ? "replaces" : "adds" });
1197
+ for (const skill of io.list(path9.join(from.dir, "skills")).filter((s) => s !== "synced" && io.isDir(path9.join(from.dir, "skills", s))))
1198
+ if (differs(path9.join("skills", skill)))
1199
+ items.push({ kind: "folder", name: `skills/${skill}/`, does: there(path9.join("skills", skill)) ? "replaces" : "adds" });
1271
1200
  for (const s of SETTINGS) {
1272
- const source = io.readJson(path10.join(from.dir, s));
1201
+ const source = io.readJson(path9.join(from.dir, s));
1273
1202
  if (!isObject(source)) continue;
1274
- const target = io.readJson(path10.join(to.dir, s));
1203
+ const target = io.readJson(path9.join(to.dir, s));
1275
1204
  const have = isObject(target) ? target : {};
1276
1205
  if (!same(mergeSettings(source, have), have))
1277
1206
  items.push({
@@ -1294,8 +1223,8 @@ function planSetupCopy(from, to, io = realSetupIo) {
1294
1223
  ...remote ? { note: `needs its own sign-in on ${to.name}: /mcp \u2192 ${name} \u2192 Authenticate` } : {}
1295
1224
  });
1296
1225
  }
1297
- const markets = io.readJson(path10.join(from.dir, "plugins", "known_marketplaces.json"));
1298
- const haveMarkets = io.readJson(path10.join(to.dir, "plugins", "known_marketplaces.json"));
1226
+ const markets = io.readJson(path9.join(from.dir, "plugins", "known_marketplaces.json"));
1227
+ const haveMarkets = io.readJson(path9.join(to.dir, "plugins", "known_marketplaces.json"));
1299
1228
  const haveSources = new Set(
1300
1229
  Object.values(isObject(haveMarkets) ? haveMarkets : {}).map((m) => marketplaceKey(isObject(m) ? m.source : null)).filter((k) => k !== null)
1301
1230
  );
@@ -1306,8 +1235,8 @@ function planSetupCopy(from, to, io = realSetupIo) {
1306
1235
  const args = marketplaceAddArgs(isObject(m) ? m.source : null);
1307
1236
  if (args) items.push({ kind: "marketplace", name, does: "adds", note: args[3] });
1308
1237
  }
1309
- const enabled = objectAt(io.readJson(path10.join(from.dir, "settings.json")), "enabledPlugins");
1310
- const installed = objectAt(io.readJson(path10.join(to.dir, "plugins", "installed_plugins.json")), "plugins");
1238
+ const enabled = objectAt(io.readJson(path9.join(from.dir, "settings.json")), "enabledPlugins");
1239
+ const installed = objectAt(io.readJson(path9.join(to.dir, "plugins", "installed_plugins.json")), "plugins");
1311
1240
  for (const [id, on] of Object.entries(enabled))
1312
1241
  if (on === true && !(id in installed)) items.push({ kind: "plugin", name: id, does: "adds", note: "installed from its marketplace" });
1313
1242
  const trust = trustToCopy(from, to, io);
@@ -1340,14 +1269,14 @@ function setupEnv(dir) {
1340
1269
  return accountDirKey(dir) === accountDirKey(defaultAccountDir()) ? { CLAUDE_CONFIG_DIR: null } : { CLAUDE_CONFIG_DIR: dir };
1341
1270
  }
1342
1271
  function mergeSettingsFile(fromFile, toFile) {
1343
- const source = JSON.parse(fs9.readFileSync(fromFile, "utf-8"));
1272
+ const source = JSON.parse(fs8.readFileSync(fromFile, "utf-8"));
1344
1273
  if (!isObject(source)) throw new Error("its settings are not an object");
1345
- fs9.mkdirSync(path10.dirname(toFile), { recursive: true });
1274
+ fs8.mkdirSync(path9.dirname(toFile), { recursive: true });
1346
1275
  ensureFile(toFile, "{}\n");
1347
1276
  withFileLockSync(toFile, () => {
1348
1277
  let target = {};
1349
1278
  try {
1350
- target = JSON.parse(fs9.readFileSync(toFile, "utf-8"));
1279
+ target = JSON.parse(fs8.readFileSync(toFile, "utf-8"));
1351
1280
  } catch {
1352
1281
  }
1353
1282
  atomicWriteFile(toFile, `${JSON.stringify(mergeSettings(source, isObject(target) ? target : {}), null, 2)}
@@ -1355,12 +1284,12 @@ function mergeSettingsFile(fromFile, toFile) {
1355
1284
  });
1356
1285
  }
1357
1286
  function trustFolders(file, folders) {
1358
- fs9.mkdirSync(path10.dirname(file), { recursive: true });
1287
+ fs8.mkdirSync(path9.dirname(file), { recursive: true });
1359
1288
  ensureFile(file, "{}\n");
1360
1289
  withFileLockSync(file, () => {
1361
1290
  let config;
1362
1291
  try {
1363
- config = JSON.parse(fs9.readFileSync(file, "utf-8"));
1292
+ config = JSON.parse(fs8.readFileSync(file, "utf-8"));
1364
1293
  } catch {
1365
1294
  throw new Error("its config file can\u2019t be read");
1366
1295
  }
@@ -1372,18 +1301,18 @@ async function applySetupCopy(from, to, run = runClaude2) {
1372
1301
  if (accountDirKey(from.dir) === accountDirKey(to.dir)) throw new Error("an account\u2019s setup can\u2019t be copied to itself");
1373
1302
  const env = setupEnv(to.dir);
1374
1303
  const servers = userMcpServers(from.dir);
1375
- const markets = realSetupIo.readJson(path10.join(from.dir, "plugins", "known_marketplaces.json"));
1304
+ const markets = realSetupIo.readJson(path9.join(from.dir, "plugins", "known_marketplaces.json"));
1376
1305
  const results = [];
1377
1306
  for (const item of planSetupCopy(from, to)) {
1378
1307
  try {
1379
1308
  const rel = item.name.replace(/\/$/, "");
1380
1309
  if (item.kind === "file") {
1381
- fs9.mkdirSync(to.dir, { recursive: true });
1382
- fs9.copyFileSync(path10.join(from.dir, rel), path10.join(to.dir, rel));
1310
+ fs8.mkdirSync(to.dir, { recursive: true });
1311
+ fs8.copyFileSync(path9.join(from.dir, rel), path9.join(to.dir, rel));
1383
1312
  } else if (item.kind === "folder") {
1384
- fs9.cpSync(path10.join(from.dir, rel), path10.join(to.dir, rel), { recursive: true, force: true, verbatimSymlinks: true });
1313
+ fs8.cpSync(path9.join(from.dir, rel), path9.join(to.dir, rel), { recursive: true, force: true, verbatimSymlinks: true });
1385
1314
  } else if (item.kind === "settings") {
1386
- mergeSettingsFile(path10.join(from.dir, rel), path10.join(to.dir, rel));
1315
+ mergeSettingsFile(path9.join(from.dir, rel), path9.join(to.dir, rel));
1387
1316
  } else if (item.kind === "mcp") {
1388
1317
  if (item.does === "replaces") run(["mcp", "remove", item.name, "--scope", "user"], env);
1389
1318
  const r = run(["mcp", "add-json", item.name, "-", "--scope", "user"], env, JSON.stringify(servers[item.name]));
@@ -1412,9 +1341,9 @@ async function applySetupCopy(from, to, run = runClaude2) {
1412
1341
  // src/core/agents/claude/account-admin.ts
1413
1342
  async function editConfig(fn) {
1414
1343
  const file = getConfigPath();
1415
- if (!fs10.existsSync(file)) throw new AccountAdminError("No configuration yet: run `work init` first.");
1344
+ if (!fs9.existsSync(file)) throw new AccountAdminError("No configuration yet: run `work init` first.");
1416
1345
  return withFileLock(file, () => {
1417
- const raw = JSON.parse(fs10.readFileSync(file, "utf-8"));
1346
+ const raw = JSON.parse(fs9.readFileSync(file, "utf-8"));
1418
1347
  const existing = raw.claudeAccounts;
1419
1348
  const accounts = existing && typeof existing === "object" && !Array.isArray(existing) ? { ...existing } : {};
1420
1349
  const out = fn(raw, accounts);
@@ -1426,14 +1355,14 @@ async function editConfig(fn) {
1426
1355
  }
1427
1356
  var validIn = (raw) => validateClaudeAccounts(raw.claudeAccounts, void 0, accountForbiddenRoots(raw)).accounts ?? {};
1428
1357
  async function addAccount(name, dir) {
1429
- const folder = expandAccountDir(dir?.trim() || path11.join(os4.homedir(), `.claude-${name}`));
1358
+ const folder = expandAccountDir(dir?.trim() || path10.join(os4.homedir(), `.claude-${name}`));
1430
1359
  if (!folder) throw new AccountAdminError(`${dir} is not an absolute folder`);
1431
1360
  return editConfig((raw, accounts) => {
1432
1361
  if (name in accounts) throw new AccountAdminError(`there is already an account \u201C${name}\u201D`);
1433
1362
  const problem = accountProblem(name, folder, Object.values(validIn(raw)), accountForbiddenRoots(raw));
1434
1363
  if (problem) throw new AccountAdminError(problem);
1435
1364
  try {
1436
- fs10.mkdirSync(folder, { recursive: true });
1365
+ fs9.mkdirSync(folder, { recursive: true });
1437
1366
  } catch (e) {
1438
1367
  throw new AccountAdminError(`couldn't make ${folder}: ${e instanceof Error ? e.message : String(e)}`);
1439
1368
  }
@@ -1510,14 +1439,14 @@ var AccountMoveError = class extends Error {
1510
1439
  };
1511
1440
  var isDir = (p) => {
1512
1441
  try {
1513
- return fs11.statSync(p).isDirectory();
1442
+ return fs10.statSync(p).isDirectory();
1514
1443
  } catch {
1515
1444
  return false;
1516
1445
  }
1517
1446
  };
1518
1447
  var exists = (p) => {
1519
1448
  try {
1520
- fs11.lstatSync(p);
1449
+ fs10.lstatSync(p);
1521
1450
  return true;
1522
1451
  } catch {
1523
1452
  return false;
@@ -1525,31 +1454,31 @@ var exists = (p) => {
1525
1454
  };
1526
1455
  var mtime = (p) => {
1527
1456
  try {
1528
- return fs11.statSync(p).mtimeMs;
1457
+ return fs10.statSync(p).mtimeMs;
1529
1458
  } catch {
1530
1459
  return 0;
1531
1460
  }
1532
1461
  };
1533
1462
  function moveEntry(from, to) {
1534
- fs11.mkdirSync(path12.dirname(to), { recursive: true });
1463
+ fs10.mkdirSync(path11.dirname(to), { recursive: true });
1535
1464
  try {
1536
- fs11.renameSync(from, to);
1465
+ fs10.renameSync(from, to);
1537
1466
  return;
1538
1467
  } catch (err) {
1539
1468
  const code = err.code;
1540
1469
  if (code !== "EXDEV" && code !== "EPERM") throw err;
1541
1470
  }
1542
1471
  try {
1543
- fs11.cpSync(from, to, { recursive: true, errorOnExist: true, force: false, preserveTimestamps: true });
1472
+ fs10.cpSync(from, to, { recursive: true, errorOnExist: true, force: false, preserveTimestamps: true });
1544
1473
  } catch (err) {
1545
- fs11.rmSync(to, { recursive: true, force: true });
1474
+ fs10.rmSync(to, { recursive: true, force: true });
1546
1475
  throw err;
1547
1476
  }
1548
1477
  try {
1549
- fs11.rmSync(from, { recursive: true, force: true });
1478
+ fs10.rmSync(from, { recursive: true, force: true });
1550
1479
  } catch (err) {
1551
1480
  try {
1552
- fs11.cpSync(to, from, { recursive: true, force: false, errorOnExist: false, preserveTimestamps: true });
1481
+ fs10.cpSync(to, from, { recursive: true, force: false, errorOnExist: false, preserveTimestamps: true });
1553
1482
  } catch (back) {
1554
1483
  const why = (e) => e instanceof Error ? e.message : String(e);
1555
1484
  throw new Error(`${why(err)}; what its delete took couldn't be put back (${why(back)}), so it is kept at ${to} too`, {
@@ -1557,7 +1486,7 @@ function moveEntry(from, to) {
1557
1486
  });
1558
1487
  }
1559
1488
  try {
1560
- fs11.rmSync(to, { recursive: true, force: true });
1489
+ fs10.rmSync(to, { recursive: true, force: true });
1561
1490
  } catch {
1562
1491
  }
1563
1492
  throw err;
@@ -1576,9 +1505,9 @@ function mergeInto(src, dst, tag, steps, moved) {
1576
1505
  return;
1577
1506
  }
1578
1507
  if (isDir(src) && isDir(dst)) {
1579
- for (const name of fs11.readdirSync(src)) mergeInto(path12.join(src, name), path12.join(dst, name), tag, steps, moved);
1508
+ for (const name of fs10.readdirSync(src)) mergeInto(path11.join(src, name), path11.join(dst, name), tag, steps, moved);
1580
1509
  try {
1581
- fs11.rmdirSync(src);
1510
+ fs10.rmdirSync(src);
1582
1511
  } catch {
1583
1512
  }
1584
1513
  return;
@@ -1612,32 +1541,32 @@ function undo(steps) {
1612
1541
  }
1613
1542
  function latestConversation(dir) {
1614
1543
  let best = null;
1615
- for (const name of fs11.readdirSync(dir)) {
1544
+ for (const name of fs10.readdirSync(dir)) {
1616
1545
  if (!name.endsWith(".jsonl")) continue;
1617
- const at = mtime(path12.join(dir, name));
1546
+ const at = mtime(path11.join(dir, name));
1618
1547
  if (!best || at > best.at) best = { name, at };
1619
1548
  }
1620
1549
  if (!best) return [];
1621
1550
  const id = best.name.slice(0, -".jsonl".length);
1622
- return [best.name, ...isDir(path12.join(dir, id)) ? [id] : []];
1551
+ return [best.name, ...isDir(path11.join(dir, id)) ? [id] : []];
1623
1552
  }
1624
1553
  function moveConversations(session, fromDir, toDir, tag = "old", opts = {}) {
1625
1554
  const steps = [];
1626
1555
  const moved = [];
1627
- if (path12.resolve(fromDir) === path12.resolve(toDir)) return { moved };
1556
+ if (path11.resolve(fromDir) === path11.resolve(toDir)) return { moved };
1628
1557
  const emptied = [];
1629
1558
  let at = "";
1630
1559
  try {
1631
1560
  for (const cwd of sessionRunFolders(session, false)) {
1632
1561
  const name = encodeProjectDir(cwd);
1633
- const src = path12.join(projectsRootOf(fromDir), name);
1562
+ const src = path11.join(projectsRootOf(fromDir), name);
1634
1563
  if (!isDir(src)) continue;
1635
1564
  at = src;
1636
- const dst = path12.join(projectsRootOf(toDir), name);
1565
+ const dst = path11.join(projectsRootOf(toDir), name);
1637
1566
  if (opts.onlyLatest) {
1638
1567
  for (const entry of latestConversation(src)) {
1639
- at = path12.join(src, entry);
1640
- mergeInto(path12.join(src, entry), path12.join(dst, entry), tag, steps, moved);
1568
+ at = path11.join(src, entry);
1569
+ mergeInto(path11.join(src, entry), path11.join(dst, entry), tag, steps, moved);
1641
1570
  }
1642
1571
  continue;
1643
1572
  }
@@ -1656,7 +1585,7 @@ function moveConversations(session, fromDir, toDir, tag = "old", opts = {}) {
1656
1585
  }
1657
1586
  for (const src of emptied) {
1658
1587
  try {
1659
- fs11.rmdirSync(src);
1588
+ fs10.rmdirSync(src);
1660
1589
  } catch {
1661
1590
  }
1662
1591
  }
@@ -1725,8 +1654,8 @@ var claudeAgent = {
1725
1654
  prLinks: claudePrLinks,
1726
1655
  // In the session's own account's projects folder: that is where its `--continue` looks.
1727
1656
  restoreDir: (s) => {
1728
- const cwd = s.isGroup && s.paths[0] ? path13.dirname(s.paths[0]) : s.paths[0];
1729
- return cwd ? path13.join(projectsRootOf(accountDir(sessionAccount(s)) ?? void 0), encodeProjectDir(cwd)) : null;
1657
+ const cwd = s.isGroup && s.paths[0] ? path12.dirname(s.paths[0]) : s.paths[0];
1658
+ return cwd ? path12.join(projectsRootOf(accountDir(sessionAccount(s)) ?? void 0), encodeProjectDir(cwd)) : null;
1730
1659
  }
1731
1660
  },
1732
1661
  events: claudeEvents,
@@ -1755,7 +1684,7 @@ var claudeAgent = {
1755
1684
  denyRules: (repos) => claudeReadDenyRules(repos),
1756
1685
  // Its flags were measured on one Claude Code (READ_ONLY_MIN_VERSION): an older one gets no checkout run.
1757
1686
  // Loaded when a review asks: the hook processes load this adapter on every turn edge.
1758
- available: async () => (await import("./version-6UJN2CCE.js")).claudeReadOnlyAvailable()
1687
+ available: async () => (await import("./version-3UR4YFMC.js")).claudeReadOnlyAvailable()
1759
1688
  }
1760
1689
  },
1761
1690
  instructionsFile: "CLAUDE.md",
@@ -1794,7 +1723,7 @@ function plainAgent(id) {
1794
1723
  launch: {
1795
1724
  tool: (config) => getAiTool(config && getAiTool(config).cmd === id ? config : { aiCommand: id }),
1796
1725
  canResume: () => false,
1797
- resumeLaunch: (s) => ({ launchPath: s.isGroup ? path14.dirname(s.paths[0] ?? "") : s.paths[0] ?? "", hasConversation: false }),
1726
+ resumeLaunch: (s) => ({ launchPath: s.isGroup ? path13.dirname(s.paths[0] ?? "") : s.paths[0] ?? "", hasConversation: false }),
1798
1727
  cleanEnv: (env) => ({ ...env })
1799
1728
  },
1800
1729
  // Text, a pause, Enter — and no dialog to answer by keystroke (its screen is unknown).
@@ -1862,10 +1791,6 @@ function agentFor(config, session) {
1862
1791
  }
1863
1792
 
1864
1793
  export {
1865
- checkedOutBranch,
1866
- workingBranch,
1867
- gitDirs,
1868
- refShaFromFiles,
1869
1794
  KNOWN_TOOLS,
1870
1795
  buildAiLaunchArgs,
1871
1796
  logSwallowed,
@@ -1895,4 +1820,4 @@ export {
1895
1820
  agentToRecord,
1896
1821
  agentFor
1897
1822
  };
1898
- //# sourceMappingURL=chunk-FJYM2JQN.js.map
1823
+ //# sourceMappingURL=chunk-DJDI5OPO.js.map