@moberg_hr/work-tree 2.6.3 → 2.7.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 (257) hide show
  1. package/dist/{add-repo-VAGLNLIJ.js → add-repo-E7KWNJJV.js} +30 -29
  2. package/dist/{add-repo-VAGLNLIJ.js.map → add-repo-E7KWNJJV.js.map} +1 -1
  3. package/dist/{answer-4CUJSRIP.js → answer-2CBOWCL5.js} +13 -12
  4. package/dist/{answer-4CUJSRIP.js.map → answer-2CBOWCL5.js.map} +1 -1
  5. package/dist/{attach-GLCZILIH.js → attach-AWRY4LSI.js} +16 -15
  6. package/dist/{attach-GLCZILIH.js.map → attach-AWRY4LSI.js.map} +1 -1
  7. package/dist/bin.js +10 -8
  8. package/dist/bin.js.map +1 -1
  9. package/dist/{block-SC5IZJMA.js → block-JTJX5QIO.js} +13 -12
  10. package/dist/{block-SC5IZJMA.js.map → block-JTJX5QIO.js.map} +1 -1
  11. package/dist/{broadcast-VFY5UFYA.js → broadcast-3SF55HA6.js} +10 -9
  12. package/dist/{broadcast-VFY5UFYA.js.map → broadcast-3SF55HA6.js.map} +1 -1
  13. package/dist/{catchup-4EBF6RZ6.js → catchup-2WNHEMLD.js} +16 -15
  14. package/dist/{catchup-4EBF6RZ6.js.map → catchup-2WNHEMLD.js.map} +1 -1
  15. package/dist/{chunk-UNEHT6FI.js → chunk-2IKWNRMV.js} +3 -3
  16. package/dist/{chunk-P2THO7D7.js → chunk-3JY3QT4J.js} +5 -5
  17. package/dist/{chunk-35VLAPL2.js → chunk-3PLWNCRM.js} +2 -2
  18. package/dist/chunk-3Q5RZCQW.js +9 -0
  19. package/dist/{chunk-C6STZ6HD.js → chunk-3UHKPHTB.js} +7 -7
  20. package/dist/chunk-3ZGZNZTY.js +134 -0
  21. package/dist/chunk-3ZGZNZTY.js.map +1 -0
  22. package/dist/{chunk-CRPV5YCC.js → chunk-46UTKL5L.js} +2 -2
  23. package/dist/{chunk-VMLRIO4T.js → chunk-4PRPDACI.js} +5 -5
  24. package/dist/{chunk-4IEQ7LY4.js → chunk-5BNNPXID.js} +6 -6
  25. package/dist/{chunk-CXCMATZG.js → chunk-5GA3PFK5.js} +16 -16
  26. package/dist/{chunk-VIWPTRRR.js → chunk-5WEDCEZG.js} +5 -5
  27. package/dist/{command-hook-installer-W7IEVT6V.js → chunk-5XSY3C6E.js} +16 -86
  28. package/dist/chunk-5XSY3C6E.js.map +1 -0
  29. package/dist/{chunk-YLIPAOBT.js → chunk-AFW7HREX.js} +11 -11
  30. package/dist/{chunk-G7TS5DCS.js → chunk-B2HUKRWX.js} +4 -4
  31. package/dist/{chunk-Z3NQJALE.js → chunk-B7C3RYSJ.js} +3 -3
  32. package/dist/{chunk-YSGXXNBL.js → chunk-BHU26CNH.js} +4 -4
  33. package/dist/chunk-BHU26CNH.js.map +1 -0
  34. package/dist/{chunk-72U52KTJ.js → chunk-BVJ2ZE7B.js} +12 -14
  35. package/dist/{chunk-72U52KTJ.js.map → chunk-BVJ2ZE7B.js.map} +1 -1
  36. package/dist/{chunk-ANWA4Z56.js → chunk-C5HPSURF.js} +22 -22
  37. package/dist/{chunk-DAQCIJHW.js → chunk-CFLMBFBO.js} +3 -3
  38. package/dist/{chunk-JF72AS6T.js → chunk-COKQPFLB.js} +3 -3
  39. package/dist/{chunk-TJFX5BWH.js → chunk-DO5NW46X.js} +2 -2
  40. package/dist/chunk-DYJ4VJJD.js +160 -0
  41. package/dist/chunk-DYJ4VJJD.js.map +1 -0
  42. package/dist/{chunk-SMZ7W34L.js → chunk-EPNYZJMM.js} +5 -3
  43. package/dist/{chunk-SMZ7W34L.js.map → chunk-EPNYZJMM.js.map} +1 -1
  44. package/dist/{chunk-VESYLAVA.js → chunk-FUNZ7TOS.js} +104 -217
  45. package/dist/chunk-FUNZ7TOS.js.map +1 -0
  46. package/dist/{chunk-EUAJT7FS.js → chunk-G2FE7HUB.js} +2 -2
  47. package/dist/{chunk-VDYX4R6U.js → chunk-J5CMORVD.js} +9 -9
  48. package/dist/{chunk-ZGXRWL7T.js → chunk-JIYGGN2N.js} +2 -2
  49. package/dist/{chunk-RYEPQLXQ.js → chunk-KE2TFF7B.js} +99 -2
  50. package/dist/chunk-KE2TFF7B.js.map +1 -0
  51. package/dist/{chunk-MYDQNX7W.js → chunk-KU63EHZO.js} +2 -2
  52. package/dist/{chunk-R5IJHLHA.js → chunk-KUVL75PL.js} +8 -8
  53. package/dist/{chunk-PDYO56JU.js → chunk-LDFICXOZ.js} +3 -3
  54. package/dist/{chunk-WDV6VTVI.js → chunk-LQXGNO5X.js} +3 -3
  55. package/dist/{chunk-3HJASVHJ.js → chunk-LWKFZOCJ.js} +60 -10
  56. package/dist/chunk-LWKFZOCJ.js.map +1 -0
  57. package/dist/{chunk-I5V34WWS.js → chunk-MCSEYS2J.js} +7 -7
  58. package/dist/{chunk-JUMZ5MTU.js → chunk-MGQK6BWH.js} +20 -19
  59. package/dist/chunk-MGQK6BWH.js.map +1 -0
  60. package/dist/{chunk-G635EV2D.js → chunk-O34CKSE4.js} +2 -2
  61. package/dist/{chunk-QCFINFXO.js → chunk-OFCY7RCM.js} +4 -4
  62. package/dist/{chunk-H756AOOW.js → chunk-PIKOCEWX.js} +7 -7
  63. package/dist/{chunk-56P7G2DI.js → chunk-PUTZR6F5.js} +2 -2
  64. package/dist/{chunk-2MAGDOLP.js → chunk-QGKJXCEJ.js} +14 -14
  65. package/dist/{chunk-ZO6MZNLI.js → chunk-R3DASZQF.js} +2 -2
  66. package/dist/{chunk-EYUBVLPF.js → chunk-SNRP2MC3.js} +2 -2
  67. package/dist/{chunk-4RDAWJZY.js → chunk-TBY6ZFAV.js} +3 -3
  68. package/dist/{chunk-GTVQYGY3.js → chunk-TPPTL7LA.js} +3 -3
  69. package/dist/{chunk-QKF7CNIM.js → chunk-TTTIKTNR.js} +2 -2
  70. package/dist/{chunk-4YCWUHVE.js → chunk-UHYIB6AV.js} +2 -2
  71. package/dist/{chunk-QXJ4FILG.js → chunk-USUQYM6V.js} +54 -53
  72. package/dist/chunk-USUQYM6V.js.map +1 -0
  73. package/dist/{chunk-CGVYVTGF.js → chunk-VEKEA3ER.js} +2 -2
  74. package/dist/chunk-VMBWCDBA.js +186 -0
  75. package/dist/chunk-VMBWCDBA.js.map +1 -0
  76. package/dist/{chunk-LJ3UVV4F.js → chunk-W4YWFAYC.js} +4 -4
  77. package/dist/{chunk-KWRE6HQN.js → chunk-W7WC7UA2.js} +7 -5
  78. package/dist/{chunk-KWRE6HQN.js.map → chunk-W7WC7UA2.js.map} +1 -1
  79. package/dist/{chunk-XLAGFKJE.js → chunk-WIWO3YWP.js} +2 -2
  80. package/dist/{chunk-NW2ZXAJJ.js → chunk-YJ4CAD3X.js} +5 -5
  81. package/dist/{chunk-OUUDQA7O.js → chunk-YNHIMOE7.js} +2 -2
  82. package/dist/{chunk-OUWKEJEC.js → chunk-ZGPWIBSZ.js} +7 -5
  83. package/dist/{chunk-OUWKEJEC.js.map → chunk-ZGPWIBSZ.js.map} +1 -1
  84. package/dist/chunk-ZMCU2PZN.js +79 -0
  85. package/dist/chunk-ZMCU2PZN.js.map +1 -0
  86. package/dist/{chunk-G5W6D7KQ.js → chunk-ZNXACRZ5.js} +3 -3
  87. package/dist/{chunk-4LFJM4UN.js → chunk-ZS6F6JLC.js} +10 -10
  88. package/dist/{cleanup-DTOLAQAT.js → cleanup-PWN4XZ2F.js} +29 -28
  89. package/dist/{cleanup-DTOLAQAT.js.map → cleanup-PWN4XZ2F.js.map} +1 -1
  90. package/dist/cli-UTID323G.js +17 -0
  91. package/dist/command-hook-installer-RJH5QLCD.js +97 -0
  92. package/dist/command-hook-installer-RJH5QLCD.js.map +1 -0
  93. package/dist/{config-3RONXBBL.js → config-KGDVJKQN.js} +11 -10
  94. package/dist/{config-3RONXBBL.js.map → config-KGDVJKQN.js.map} +1 -1
  95. package/dist/{diff-YXYQKDJQ.js → diff-ZORXBJDI.js} +15 -14
  96. package/dist/{diff-YXYQKDJQ.js.map → diff-ZORXBJDI.js.map} +1 -1
  97. package/dist/{digest-7PESCB5B.js → digest-PUUBJTD3.js} +12 -11
  98. package/dist/{digest-7PESCB5B.js.map → digest-PUUBJTD3.js.map} +1 -1
  99. package/dist/{fork-J5KH2M7V.js → fork-7L76HZAS.js} +32 -31
  100. package/dist/{fork-J5KH2M7V.js.map → fork-7L76HZAS.js.map} +1 -1
  101. package/dist/{history-T6ZIUHE7.js → history-YX74IRQY.js} +9 -8
  102. package/dist/{hook-JEGFGYMA.js → hook-JCD6SDB3.js} +16 -15
  103. package/dist/{hook-JEGFGYMA.js.map → hook-JCD6SDB3.js.map} +1 -1
  104. package/dist/{hydrate-UWNH7GWK.js → hydrate-W4V5RJYU.js} +11 -10
  105. package/dist/{hydrate-UWNH7GWK.js.map → hydrate-W4V5RJYU.js.map} +1 -1
  106. package/dist/{init-RMLPXKB7.js → init-5MMV2UF5.js} +11 -10
  107. package/dist/{init-RMLPXKB7.js.map → init-5MMV2UF5.js.map} +1 -1
  108. package/dist/install-skills-7EHZBANC.js +16 -0
  109. package/dist/install-skills-bin.js +5 -3
  110. package/dist/install-skills-bin.js.map +1 -1
  111. package/dist/{list-5AMTJAI6.js → list-ZS3UWOGJ.js} +11 -10
  112. package/dist/{list-5AMTJAI6.js.map → list-ZS3UWOGJ.js.map} +1 -1
  113. package/dist/{move-ELVMRSM6.js → move-ZTL7HAIU.js} +21 -20
  114. package/dist/{move-ELVMRSM6.js.map → move-ZTL7HAIU.js.map} +1 -1
  115. package/dist/{note-Q52DD2DT.js → note-B4FVZGJJ.js} +13 -12
  116. package/dist/{note-Q52DD2DT.js.map → note-B4FVZGJJ.js.map} +1 -1
  117. package/dist/{overlaps-NORA5U6L.js → overlaps-W3BLUG53.js} +11 -10
  118. package/dist/{overlaps-NORA5U6L.js.map → overlaps-W3BLUG53.js.map} +1 -1
  119. package/dist/{pin-TC6X4HDA.js → pin-YYQV5OPS.js} +13 -12
  120. package/dist/{pin-TC6X4HDA.js.map → pin-YYQV5OPS.js.map} +1 -1
  121. package/dist/{pr-NQERVORK.js → pr-HQTMQOF5.js} +17 -16
  122. package/dist/{pr-NQERVORK.js.map → pr-HQTMQOF5.js.map} +1 -1
  123. package/dist/{prune-TRPM4VQW.js → prune-6BYOFOUR.js} +28 -27
  124. package/dist/{prune-TRPM4VQW.js.map → prune-6BYOFOUR.js.map} +1 -1
  125. package/dist/{pty-host-52OZBFU5.js → pty-host-KSS45FVH.js} +18 -17
  126. package/dist/{pty-host-52OZBFU5.js.map → pty-host-KSS45FVH.js.map} +1 -1
  127. package/dist/{read-EMO5CVBL.js → read-I5TGSBPC.js} +12 -11
  128. package/dist/{read-EMO5CVBL.js.map → read-I5TGSBPC.js.map} +1 -1
  129. package/dist/{recent-XFC2CZGO.js → recent-GRKJEEKT.js} +10 -9
  130. package/dist/{recent-XFC2CZGO.js.map → recent-GRKJEEKT.js.map} +1 -1
  131. package/dist/{remove-ISNYVVEE.js → remove-64T6TMOE.js} +27 -26
  132. package/dist/{remove-ISNYVVEE.js.map → remove-64T6TMOE.js.map} +1 -1
  133. package/dist/{report-JEG2FKOB.js → report-KAS2UEXO.js} +3 -4
  134. package/dist/{restart-IKVRECL5.js → restart-WJROWFMU.js} +13 -12
  135. package/dist/{restart-IKVRECL5.js.map → restart-WJROWFMU.js.map} +1 -1
  136. package/dist/{resume-LWDUSKDJ.js → resume-634R6KNE.js} +10 -9
  137. package/dist/{resume-LWDUSKDJ.js.map → resume-634R6KNE.js.map} +1 -1
  138. package/dist/{run-TQLQ27GW.js → run-57LGOBXQ.js} +9 -8
  139. package/dist/{run-TQLQ27GW.js.map → run-57LGOBXQ.js.map} +1 -1
  140. package/dist/{screen-VSQAYCFO.js → screen-CX7WUVXM.js} +13 -12
  141. package/dist/{screen-VSQAYCFO.js.map → screen-CX7WUVXM.js.map} +1 -1
  142. package/dist/{search-MEK4ZMO6.js → search-JYAQWT6A.js} +9 -8
  143. package/dist/{search-MEK4ZMO6.js.map → search-JYAQWT6A.js.map} +1 -1
  144. package/dist/{section-C6D5NXLG.js → section-4FICXE46.js} +13 -12
  145. package/dist/{section-C6D5NXLG.js.map → section-4FICXE46.js.map} +1 -1
  146. package/dist/{send-44BXZWDO.js → send-RRTPY47A.js} +20 -19
  147. package/dist/{send-44BXZWDO.js.map → send-RRTPY47A.js.map} +1 -1
  148. package/dist/{sessions-TBAG6NMG.js → sessions-UJNUCYND.js} +22 -21
  149. package/dist/{sessions-TBAG6NMG.js.map → sessions-UJNUCYND.js.map} +1 -1
  150. package/dist/{snooze-ZZRSF3E3.js → snooze-DJEPOBT5.js} +12 -11
  151. package/dist/{snooze-ZZRSF3E3.js.map → snooze-DJEPOBT5.js.map} +1 -1
  152. package/dist/{start-3UPW2TES.js → start-YPEN5QI3.js} +13 -12
  153. package/dist/{start-3UPW2TES.js.map → start-YPEN5QI3.js.map} +1 -1
  154. package/dist/{state-2J4TR7IC.js → state-UAW6DWWU.js} +4 -5
  155. package/dist/{state-2J4TR7IC.js.map → state-UAW6DWWU.js.map} +1 -1
  156. package/dist/{status-OEGNSHMS.js → status-4EOTN33T.js} +10 -9
  157. package/dist/{status-OEGNSHMS.js.map → status-4EOTN33T.js.map} +1 -1
  158. package/dist/statusline-EUT6VZLP.js +93 -0
  159. package/dist/statusline-EUT6VZLP.js.map +1 -0
  160. package/dist/statusline-hook-TZ7M762P.js +118 -0
  161. package/dist/statusline-hook-TZ7M762P.js.map +1 -0
  162. package/dist/{stop-UJ7XWUVZ.js → stop-3UNZ22YA.js} +13 -12
  163. package/dist/{stop-UJ7XWUVZ.js.map → stop-3UNZ22YA.js.map} +1 -1
  164. package/dist/{sync-XHFJEBHL.js → sync-XXZBP6PK.js} +28 -27
  165. package/dist/{sync-XHFJEBHL.js.map → sync-XXZBP6PK.js.map} +1 -1
  166. package/dist/{time-IJXREBKU.js → time-G5Z57AE5.js} +14 -13
  167. package/dist/{time-IJXREBKU.js.map → time-G5Z57AE5.js.map} +1 -1
  168. package/dist/time-actions-H5WCOYZG.js +14 -0
  169. package/dist/{timesheet-L265X66U.js → timesheet-NA7NQUVR.js} +16 -15
  170. package/dist/{timesheet-L265X66U.js.map → timesheet-NA7NQUVR.js.map} +1 -1
  171. package/dist/{todo-FXPXLXXW.js → todo-V7EVWHF2.js} +5 -6
  172. package/dist/{todo-FXPXLXXW.js.map → todo-V7EVWHF2.js.map} +1 -1
  173. package/dist/{tree-L5QLZCTJ.js → tree-R5YXQTP7.js} +23 -22
  174. package/dist/{tree-L5QLZCTJ.js.map → tree-R5YXQTP7.js.map} +1 -1
  175. package/dist/{update-PCWQEFVF.js → update-B3MQXQJ6.js} +15 -14
  176. package/dist/{update-PCWQEFVF.js.map → update-B3MQXQJ6.js.map} +1 -1
  177. package/dist/usage-2HE4RSVM.js +79 -0
  178. package/dist/usage-2HE4RSVM.js.map +1 -0
  179. package/dist/{wait-YL2ZA6OM.js → wait-2OPYJO3K.js} +13 -12
  180. package/dist/{wait-YL2ZA6OM.js.map → wait-2OPYJO3K.js.map} +1 -1
  181. package/dist/wd-bin.js +8 -9
  182. package/dist/wd-bin.js.map +1 -1
  183. package/dist/web/assets/{PtyView-DNqCr6rR.js → PtyView-DgdSx6WG.js} +2 -2
  184. package/dist/web/assets/{PtyView-DNqCr6rR.js.map → PtyView-DgdSx6WG.js.map} +1 -1
  185. package/dist/web/assets/index-C5JNhi3-.css +1 -0
  186. package/dist/web/assets/index-O8yTaaWX.js +119 -0
  187. package/dist/web/assets/index-O8yTaaWX.js.map +1 -0
  188. package/dist/web/index.html +2 -2
  189. package/dist/{web-MIPL4BC7.js → web-QXQ4NGCJ.js} +362 -212
  190. package/dist/web-QXQ4NGCJ.js.map +1 -0
  191. package/npm-shrinkwrap.json +2 -2
  192. package/package.json +1 -1
  193. package/dist/chunk-3HJASVHJ.js.map +0 -1
  194. package/dist/chunk-75MIXOUK.js +0 -104
  195. package/dist/chunk-75MIXOUK.js.map +0 -1
  196. package/dist/chunk-JUMZ5MTU.js.map +0 -1
  197. package/dist/chunk-M2ZJ64JV.js +0 -9
  198. package/dist/chunk-QXJ4FILG.js.map +0 -1
  199. package/dist/chunk-RYEPQLXQ.js.map +0 -1
  200. package/dist/chunk-VESYLAVA.js.map +0 -1
  201. package/dist/chunk-YSGXXNBL.js.map +0 -1
  202. package/dist/cli-4CGRDNWF.js +0 -18
  203. package/dist/command-hook-installer-W7IEVT6V.js.map +0 -1
  204. package/dist/install-skills-TFP6EHI3.js +0 -14
  205. package/dist/time-actions-LMJUFDDR.js +0 -15
  206. package/dist/web/assets/index-Df-7v9bC.js +0 -119
  207. package/dist/web/assets/index-Df-7v9bC.js.map +0 -1
  208. package/dist/web/assets/index-LBhghRtA.css +0 -1
  209. package/dist/web-MIPL4BC7.js.map +0 -1
  210. /package/dist/{chunk-UNEHT6FI.js.map → chunk-2IKWNRMV.js.map} +0 -0
  211. /package/dist/{chunk-P2THO7D7.js.map → chunk-3JY3QT4J.js.map} +0 -0
  212. /package/dist/{chunk-35VLAPL2.js.map → chunk-3PLWNCRM.js.map} +0 -0
  213. /package/dist/{chunk-M2ZJ64JV.js.map → chunk-3Q5RZCQW.js.map} +0 -0
  214. /package/dist/{chunk-C6STZ6HD.js.map → chunk-3UHKPHTB.js.map} +0 -0
  215. /package/dist/{chunk-CRPV5YCC.js.map → chunk-46UTKL5L.js.map} +0 -0
  216. /package/dist/{chunk-VMLRIO4T.js.map → chunk-4PRPDACI.js.map} +0 -0
  217. /package/dist/{chunk-4IEQ7LY4.js.map → chunk-5BNNPXID.js.map} +0 -0
  218. /package/dist/{chunk-CXCMATZG.js.map → chunk-5GA3PFK5.js.map} +0 -0
  219. /package/dist/{chunk-VIWPTRRR.js.map → chunk-5WEDCEZG.js.map} +0 -0
  220. /package/dist/{chunk-YLIPAOBT.js.map → chunk-AFW7HREX.js.map} +0 -0
  221. /package/dist/{chunk-G7TS5DCS.js.map → chunk-B2HUKRWX.js.map} +0 -0
  222. /package/dist/{chunk-Z3NQJALE.js.map → chunk-B7C3RYSJ.js.map} +0 -0
  223. /package/dist/{chunk-ANWA4Z56.js.map → chunk-C5HPSURF.js.map} +0 -0
  224. /package/dist/{chunk-DAQCIJHW.js.map → chunk-CFLMBFBO.js.map} +0 -0
  225. /package/dist/{chunk-JF72AS6T.js.map → chunk-COKQPFLB.js.map} +0 -0
  226. /package/dist/{chunk-TJFX5BWH.js.map → chunk-DO5NW46X.js.map} +0 -0
  227. /package/dist/{chunk-EUAJT7FS.js.map → chunk-G2FE7HUB.js.map} +0 -0
  228. /package/dist/{chunk-VDYX4R6U.js.map → chunk-J5CMORVD.js.map} +0 -0
  229. /package/dist/{chunk-ZGXRWL7T.js.map → chunk-JIYGGN2N.js.map} +0 -0
  230. /package/dist/{chunk-MYDQNX7W.js.map → chunk-KU63EHZO.js.map} +0 -0
  231. /package/dist/{chunk-R5IJHLHA.js.map → chunk-KUVL75PL.js.map} +0 -0
  232. /package/dist/{chunk-PDYO56JU.js.map → chunk-LDFICXOZ.js.map} +0 -0
  233. /package/dist/{chunk-WDV6VTVI.js.map → chunk-LQXGNO5X.js.map} +0 -0
  234. /package/dist/{chunk-I5V34WWS.js.map → chunk-MCSEYS2J.js.map} +0 -0
  235. /package/dist/{chunk-G635EV2D.js.map → chunk-O34CKSE4.js.map} +0 -0
  236. /package/dist/{chunk-QCFINFXO.js.map → chunk-OFCY7RCM.js.map} +0 -0
  237. /package/dist/{chunk-H756AOOW.js.map → chunk-PIKOCEWX.js.map} +0 -0
  238. /package/dist/{chunk-56P7G2DI.js.map → chunk-PUTZR6F5.js.map} +0 -0
  239. /package/dist/{chunk-2MAGDOLP.js.map → chunk-QGKJXCEJ.js.map} +0 -0
  240. /package/dist/{chunk-ZO6MZNLI.js.map → chunk-R3DASZQF.js.map} +0 -0
  241. /package/dist/{chunk-EYUBVLPF.js.map → chunk-SNRP2MC3.js.map} +0 -0
  242. /package/dist/{chunk-4RDAWJZY.js.map → chunk-TBY6ZFAV.js.map} +0 -0
  243. /package/dist/{chunk-GTVQYGY3.js.map → chunk-TPPTL7LA.js.map} +0 -0
  244. /package/dist/{chunk-QKF7CNIM.js.map → chunk-TTTIKTNR.js.map} +0 -0
  245. /package/dist/{chunk-4YCWUHVE.js.map → chunk-UHYIB6AV.js.map} +0 -0
  246. /package/dist/{chunk-CGVYVTGF.js.map → chunk-VEKEA3ER.js.map} +0 -0
  247. /package/dist/{chunk-LJ3UVV4F.js.map → chunk-W4YWFAYC.js.map} +0 -0
  248. /package/dist/{chunk-XLAGFKJE.js.map → chunk-WIWO3YWP.js.map} +0 -0
  249. /package/dist/{chunk-NW2ZXAJJ.js.map → chunk-YJ4CAD3X.js.map} +0 -0
  250. /package/dist/{chunk-OUUDQA7O.js.map → chunk-YNHIMOE7.js.map} +0 -0
  251. /package/dist/{chunk-G5W6D7KQ.js.map → chunk-ZNXACRZ5.js.map} +0 -0
  252. /package/dist/{chunk-4LFJM4UN.js.map → chunk-ZS6F6JLC.js.map} +0 -0
  253. /package/dist/{cli-4CGRDNWF.js.map → cli-UTID323G.js.map} +0 -0
  254. /package/dist/{history-T6ZIUHE7.js.map → history-YX74IRQY.js.map} +0 -0
  255. /package/dist/{install-skills-TFP6EHI3.js.map → install-skills-7EHZBANC.js.map} +0 -0
  256. /package/dist/{report-JEG2FKOB.js.map → report-KAS2UEXO.js.map} +0 -0
  257. /package/dist/{time-actions-LMJUFDDR.js.map → time-actions-H5WCOYZG.js.map} +0 -0
@@ -1,4 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ readReadings
4
+ } from "./chunk-ZMCU2PZN.js";
5
+ import {
6
+ bootTime,
7
+ processTable
8
+ } from "./chunk-VMBWCDBA.js";
2
9
  import {
3
10
  spawn_default
4
11
  } from "./chunk-RCYI7SRA.js";
@@ -6,7 +13,7 @@ import {
6
13
  atomicWriteFile,
7
14
  getConfigPath,
8
15
  isAgentId
9
- } from "./chunk-RYEPQLXQ.js";
16
+ } from "./chunk-KE2TFF7B.js";
10
17
 
11
18
  // src/core/platform/ai-launcher.ts
12
19
  import fs from "fs";
@@ -69,178 +76,6 @@ function buildAiLaunchArgs(tool, opts = {}) {
69
76
  return { cmd: tool.cmd, args };
70
77
  }
71
78
 
72
- // src/core/platform/process.ts
73
- import fs2 from "fs";
74
- import os from "os";
75
- import { execFile, spawn, spawnSync } from "child_process";
76
- function detachHere(platform = process.platform) {
77
- return platform !== "win32";
78
- }
79
- function isPidAlive(pid) {
80
- try {
81
- process.kill(pid, 0);
82
- } catch {
83
- return false;
84
- }
85
- return !isZombie(pid);
86
- }
87
- function isZombie(pid, read = procFs, platform = process.platform) {
88
- if (platform !== "linux") return false;
89
- const stat = read.file(`/proc/${pid}/stat`) ?? "";
90
- const close = stat.lastIndexOf(")");
91
- return close >= 0 && stat[close + 2] === "Z";
92
- }
93
- var procFs = {
94
- link: (p) => {
95
- try {
96
- return fs2.readlinkSync(p);
97
- } catch {
98
- return null;
99
- }
100
- },
101
- file: (p) => {
102
- try {
103
- return fs2.readFileSync(p, "utf-8");
104
- } catch {
105
- return null;
106
- }
107
- },
108
- pids: () => {
109
- try {
110
- return fs2.readdirSync("/proc").filter((n) => /^\d+$/.test(n)).map(Number);
111
- } catch {
112
- return [];
113
- }
114
- }
115
- };
116
- var baseName = (p) => p.split("/").pop() || p;
117
- function linuxProcessName(pid, read = procFs) {
118
- const exe = read.link(`/proc/${pid}/exe`);
119
- if (exe) return baseName(exe.replace(/ \(deleted\)$/, ""));
120
- const argv0 = (read.file(`/proc/${pid}/cmdline`) ?? "").split("\0")[0];
121
- if (argv0) return baseName(argv0.split(" ")[0]);
122
- const comm = (read.file(`/proc/${pid}/comm`) ?? "").trim();
123
- return comm || null;
124
- }
125
- function linuxProcessTable(read = procFs) {
126
- const out = /* @__PURE__ */ new Map();
127
- for (const pid of read.pids()) {
128
- const name = linuxProcessName(pid, read);
129
- if (name) out.set(pid, name);
130
- }
131
- return out;
132
- }
133
- function processName(pid) {
134
- try {
135
- if (process.platform === "win32") {
136
- const r2 = spawnSync("tasklist", ["/FI", `PID eq ${pid}`, "/FO", "CSV", "/NH"], {
137
- encoding: "utf-8",
138
- windowsHide: true,
139
- timeout: 5e3
140
- });
141
- const m = /^"([^"]+)","(\d+)"/.exec((r2.stdout ?? "").trim());
142
- return m && Number(m[2]) === pid ? m[1] : null;
143
- }
144
- if (process.platform === "linux") return isPidAlive(pid) ? linuxProcessName(pid) : null;
145
- const r = spawnSync("ps", ["-o", "comm=", "-p", String(pid)], { encoding: "utf-8", timeout: 5e3, windowsHide: true });
146
- const name = (r.stdout ?? "").trim();
147
- return r.status === 0 && name ? name.split("/").pop() : null;
148
- } catch {
149
- return null;
150
- }
151
- }
152
- var recentTable = null;
153
- var refreshingTable = null;
154
- function recentProcessTable(maxAgeMs, now = Date.now()) {
155
- if (!recentTable || now - recentTable.at >= maxAgeMs) {
156
- refreshingTable ??= processTableAsync().then((table) => void (table.size > 0 && (recentTable = { at: Date.now(), table }))).finally(() => void (refreshingTable = null));
157
- }
158
- return recentTable?.table ?? null;
159
- }
160
- function processTableAsync() {
161
- if (process.platform === "linux") return Promise.resolve(linuxProcessTable());
162
- return new Promise((resolve) => {
163
- const win = process.platform === "win32";
164
- const [cmd, args] = win ? ["tasklist", ["/FO", "CSV", "/NH"]] : ["ps", ["-A", "-o", "pid=,comm="]];
165
- execFile(
166
- cmd,
167
- args,
168
- { encoding: "utf-8", windowsHide: true, timeout: 8e3, maxBuffer: 16 * 1024 * 1024 },
169
- (_err, stdout) => {
170
- resolve(parseProcessTable(stdout ?? "", win));
171
- }
172
- );
173
- });
174
- }
175
- function parseProcessTable(stdout, win) {
176
- const out = /* @__PURE__ */ new Map();
177
- for (const line of stdout.split(/\r?\n/)) {
178
- if (win) {
179
- const m = /^"([^"]+)","(\d+)"/.exec(line);
180
- if (m) out.set(Number(m[2]), m[1]);
181
- } else {
182
- const m = /^\s*(\d+)\s+(.+)$/.exec(line);
183
- if (m) out.set(Number(m[1]), m[2].trim().split("/").pop());
184
- }
185
- }
186
- return out;
187
- }
188
- function processTable() {
189
- if (process.platform === "linux") return linuxProcessTable();
190
- try {
191
- const win = process.platform === "win32";
192
- const r = win ? spawnSync("tasklist", ["/FO", "CSV", "/NH"], { encoding: "utf-8", windowsHide: true, timeout: 8e3, maxBuffer: 16 * 1024 * 1024 }) : spawnSync("ps", ["-A", "-o", "pid=,comm="], { encoding: "utf-8", timeout: 8e3, windowsHide: true, maxBuffer: 16 * 1024 * 1024 });
193
- return parseProcessTable(r.stdout ?? "", win);
194
- } catch {
195
- return /* @__PURE__ */ new Map();
196
- }
197
- }
198
- function bootTime() {
199
- return Date.now() - os.uptime() * 1e3;
200
- }
201
- function killTree(pid) {
202
- if (process.platform === "win32") {
203
- return spawnSync("taskkill", ["/PID", String(pid), "/T", "/F"], { stdio: "ignore", windowsHide: true }).status === 0;
204
- }
205
- try {
206
- process.kill(pid);
207
- return true;
208
- } catch {
209
- return false;
210
- }
211
- }
212
- function killTreeAsync(pid) {
213
- if (process.platform !== "win32") return Promise.resolve(killTree(pid) || !isPidAlive(pid));
214
- return new Promise(
215
- (resolve) => (
216
- // taskkill fails the whole call when one child had already exited or won't go; the top gone is what counts.
217
- execFile(
218
- "taskkill",
219
- ["/PID", String(pid), "/T", "/F"],
220
- { windowsHide: true, timeout: 1e4 },
221
- (err) => resolve(!err || !isPidAlive(pid))
222
- )
223
- )
224
- );
225
- }
226
- function spawnDetachedWork(workBin, args, logFile) {
227
- const log = fs2.openSync(logFile, "a");
228
- try {
229
- const child = spawn(process.execPath, [workBin, ...args], {
230
- detached: true,
231
- stdio: ["ignore", log, log],
232
- windowsHide: true,
233
- // Not the caller's folder: a long-lived server working from it keeps it
234
- // in use on Windows — a worktree then can't be removed, the desktop
235
- // app's install folder can't be updated.
236
- cwd: os.homedir()
237
- });
238
- child.unref();
239
- } finally {
240
- fs2.closeSync(log);
241
- }
242
- }
243
-
244
79
  // src/core/platform/internal-run.ts
245
80
  var INTERNAL_RUN_ENV = "WORK_INTERNAL_CLAUDE";
246
81
  function internalRunEnv() {
@@ -251,19 +86,19 @@ function isInternalRun() {
251
86
  }
252
87
 
253
88
  // src/core/agents/index.ts
254
- import fs8 from "fs";
89
+ import fs7 from "fs";
255
90
  import path7 from "path";
256
91
 
257
92
  // src/core/agents/claude/adapter.ts
258
93
  import path6 from "path";
259
94
 
260
95
  // src/core/agents/claude/files.ts
261
- import fs4 from "fs";
96
+ import fs3 from "fs";
262
97
  import path2 from "path";
263
98
 
264
99
  // src/core/agents/claude/activity.ts
265
- import fs3 from "fs";
266
- import os2 from "os";
100
+ import fs2 from "fs";
101
+ import os from "os";
267
102
  import path from "path";
268
103
  function encodeProjectDir(p) {
269
104
  return path.resolve(p).replace(/[^A-Za-z0-9]/g, "-");
@@ -273,7 +108,7 @@ var NAMES_MAX_AGE_MS = 2e3;
273
108
  function projectTranscripts(projectDir, now = Date.now()) {
274
109
  let dirMtimeMs;
275
110
  try {
276
- dirMtimeMs = fs3.statSync(projectDir).mtimeMs;
111
+ dirMtimeMs = fs2.statSync(projectDir).mtimeMs;
277
112
  } catch {
278
113
  listings.delete(projectDir);
279
114
  return [];
@@ -282,7 +117,7 @@ function projectTranscripts(projectDir, now = Date.now()) {
282
117
  if (!hit || hit.dirMtimeMs !== dirMtimeMs || now - hit.at >= NAMES_MAX_AGE_MS) {
283
118
  let names = [];
284
119
  try {
285
- names = fs3.readdirSync(projectDir).filter((n) => n.endsWith(".jsonl"));
120
+ names = fs2.readdirSync(projectDir).filter((n) => n.endsWith(".jsonl"));
286
121
  } catch {
287
122
  }
288
123
  hit = { at: now, dirMtimeMs, names };
@@ -292,7 +127,7 @@ function projectTranscripts(projectDir, now = Date.now()) {
292
127
  for (const name of hit.names) {
293
128
  try {
294
129
  const file = path.join(projectDir, name);
295
- const st = fs3.statSync(file);
130
+ const st = fs2.statSync(file);
296
131
  files.push({ file, mtimeMs: st.mtimeMs, size: st.size });
297
132
  } catch {
298
133
  }
@@ -305,14 +140,14 @@ function latestJsonlMtimeMs(projectDir) {
305
140
  return latest;
306
141
  }
307
142
  function getClaudeActivityMs(launchPath) {
308
- const dir = path.join(os2.homedir(), ".claude", "projects", encodeProjectDir(launchPath));
143
+ const dir = path.join(os.homedir(), ".claude", "projects", encodeProjectDir(launchPath));
309
144
  return latestJsonlMtimeMs(dir);
310
145
  }
311
146
  function hasClaudeConversation(dir) {
312
147
  return getClaudeActivityMs(dir) > 0;
313
148
  }
314
149
  function resolveResumeLaunch(session) {
315
- const existing = session.paths.filter((p) => fs3.existsSync(p));
150
+ const existing = session.paths.filter((p) => fs2.existsSync(p));
316
151
  const first = existing[0] ?? session.paths[0];
317
152
  const defaultPath = session.isGroup ? path.dirname(first) : first;
318
153
  const candidates = /* @__PURE__ */ new Set();
@@ -334,7 +169,7 @@ function resolveResumeLaunch(session) {
334
169
  return { launchPath, hasConversation: bestMs > 0 };
335
170
  }
336
171
  function claudeProjectsRoot() {
337
- return path.join(os2.homedir(), ".claude", "projects");
172
+ return path.join(os.homedir(), ".claude", "projects");
338
173
  }
339
174
 
340
175
  // src/core/agents/claude/files.ts
@@ -344,6 +179,29 @@ function listTranscripts(session) {
344
179
  for (const d of dirs) out.push(...projectTranscripts(path2.join(claudeProjectsRoot(), encodeProjectDir(d))));
345
180
  return out;
346
181
  }
182
+ function listUsageFiles(session) {
183
+ const out = [];
184
+ for (const t of listTranscripts(session)) {
185
+ out.push(t);
186
+ const dir = path2.join(t.file.replace(/\.jsonl$/, ""), "subagents");
187
+ let names;
188
+ try {
189
+ names = fs3.readdirSync(dir);
190
+ } catch {
191
+ continue;
192
+ }
193
+ for (const name of names) {
194
+ if (!name.startsWith("agent-") || !name.endsWith(".jsonl")) continue;
195
+ const file = path2.join(dir, name);
196
+ try {
197
+ const st = fs3.statSync(file);
198
+ out.push({ file, mtimeMs: st.mtimeMs, size: st.size });
199
+ } catch {
200
+ }
201
+ }
202
+ }
203
+ return out;
204
+ }
347
205
  var AROUND_TURN_MS = 6e4;
348
206
  var AGENT_QUIET_MS = 60 * 6e4;
349
207
  var ANSWER_FOR_MS = 2e3;
@@ -367,7 +225,7 @@ function lookForBackgroundWork(session, sinceMs, afterMs, quietFrom = afterMs) {
367
225
  const dir = path2.join(t.file.replace(/\.jsonl$/, ""), "subagents");
368
226
  let names;
369
227
  try {
370
- names = fs4.readdirSync(dir);
228
+ names = fs3.readdirSync(dir);
371
229
  } catch {
372
230
  continue;
373
231
  }
@@ -375,12 +233,12 @@ function lookForBackgroundWork(session, sinceMs, afterMs, quietFrom = afterMs) {
375
233
  if (!name.endsWith(".jsonl")) continue;
376
234
  const file = path2.join(dir, name);
377
235
  try {
378
- const written = fs4.statSync(file).mtimeMs;
236
+ const written = fs3.statSync(file).mtimeMs;
379
237
  if (written <= quietFrom) continue;
380
238
  const metaFile = file.replace(/\.jsonl$/, ".meta.json");
381
- const startedForTurn = fs4.statSync(metaFile).mtimeMs >= sinceMs - AROUND_TURN_MS;
239
+ const startedForTurn = fs3.statSync(metaFile).mtimeMs >= sinceMs - AROUND_TURN_MS;
382
240
  if (written <= afterMs && !startedForTurn) continue;
383
- const meta = JSON.parse(fs4.readFileSync(metaFile, "utf8"));
241
+ const meta = JSON.parse(fs3.readFileSync(metaFile, "utf8"));
384
242
  if (meta && typeof meta === "object" && meta.requestShape === "background")
385
243
  return { what: whatOf(meta) };
386
244
  } catch {
@@ -391,7 +249,7 @@ function lookForBackgroundWork(session, sinceMs, afterMs, quietFrom = afterMs) {
391
249
  }
392
250
 
393
251
  // src/core/conversations/jsonl.ts
394
- import fs5 from "fs";
252
+ import fs4 from "fs";
395
253
  var TAIL_BYTES = 256 * 1024;
396
254
  function parseLines(text) {
397
255
  const out = [];
@@ -410,15 +268,15 @@ function readJsonlTail(transcriptPath, bytes = TAIL_BYTES) {
410
268
  if (!transcriptPath) return [];
411
269
  let text;
412
270
  try {
413
- const fd = fs5.openSync(transcriptPath, "r");
271
+ const fd = fs4.openSync(transcriptPath, "r");
414
272
  try {
415
- const size = fs5.fstatSync(fd).size;
273
+ const size = fs4.fstatSync(fd).size;
416
274
  const start = Math.max(0, size - bytes);
417
275
  const buf = Buffer.alloc(size - start);
418
- fs5.readSync(fd, buf, 0, buf.length, start);
276
+ fs4.readSync(fd, buf, 0, buf.length, start);
419
277
  text = buf.toString("utf-8");
420
278
  } finally {
421
- fs5.closeSync(fd);
279
+ fs4.closeSync(fd);
422
280
  }
423
281
  } catch {
424
282
  return [];
@@ -432,7 +290,7 @@ async function readJsonlSince(transcriptPath, sinceMs, timeOf, opts = {}) {
432
290
  const max = Math.max(chunk, opts.maxBytes ?? SINCE_MAX_BYTES);
433
291
  let fh;
434
292
  try {
435
- fh = await fs5.promises.open(transcriptPath, "r");
293
+ fh = await fs4.promises.open(transcriptPath, "r");
436
294
  } catch {
437
295
  return { lines: [], partial: false };
438
296
  }
@@ -576,14 +434,20 @@ function lineEntries(e) {
576
434
  const out = [];
577
435
  const text = blocks.filter((b) => b.type === "text" && typeof b.text === "string").map((b) => b.text).join("\n").trim();
578
436
  const u = e.message?.usage;
579
- const usage = u && typeof u === "object" ? { prompt: num(u.input_tokens) + num(u.cache_read_input_tokens) + num(u.cache_creation_input_tokens), reply: num(u.output_tokens) } : null;
437
+ const usage = u && typeof u === "object" ? {
438
+ prompt: num(u.input_tokens) + num(u.cache_read_input_tokens) + num(u.cache_creation_input_tokens),
439
+ reply: num(u.output_tokens),
440
+ ...num(u.cache_read_input_tokens) ? { cached: num(u.cache_read_input_tokens) } : {}
441
+ } : null;
580
442
  const model = typeof e.message?.model === "string" ? e.message.model : void 0;
443
+ const messageId = typeof e.message?.id === "string" && e.message.id ? e.message.id : void 0;
581
444
  out.push({
582
445
  ...base,
583
446
  role: "agent",
584
447
  text: meta ? "" : text,
585
448
  ...usage && usage.prompt + usage.reply > 0 ? { usage } : {},
586
- ...model ? { model } : {}
449
+ ...model ? { model } : {},
450
+ ...messageId ? { message: messageId } : {}
587
451
  });
588
452
  for (const b of blocks) {
589
453
  if (b.type === "tool_use" && typeof b.name === "string")
@@ -649,7 +513,7 @@ var ANSWER_KEYS = { allow: "\r", deny: "\x1B" };
649
513
 
650
514
  // src/core/agents/claude/hooks.ts
651
515
  var installer = null;
652
- var loadInstaller = async () => installer ??= await import("./command-hook-installer-W7IEVT6V.js");
516
+ var loadInstaller = async () => installer ??= await import("./command-hook-installer-RJH5QLCD.js");
653
517
  var CLAUDE_EVENT = {
654
518
  "turn-start": "UserPromptSubmit",
655
519
  "turn-end": "Stop",
@@ -697,8 +561,8 @@ var claudeEvents = {
697
561
  };
698
562
 
699
563
  // src/core/agents/claude/live.ts
700
- import fs6 from "fs";
701
- import os3 from "os";
564
+ import fs5 from "fs";
565
+ import os2 from "os";
702
566
  import path4 from "path";
703
567
  var isObj = (v) => !!v && typeof v === "object" && !Array.isArray(v);
704
568
  function parseLiveClaude(raw) {
@@ -728,20 +592,20 @@ function aliveOnly(list, table, bootMs) {
728
592
  var TTL_MS = 5e3;
729
593
  var cache = null;
730
594
  function claudeSessionsDir() {
731
- return path4.join(process.env.CLAUDE_CONFIG_DIR || path4.join(os3.homedir(), ".claude"), "sessions");
595
+ return path4.join(process.env.CLAUDE_CONFIG_DIR || path4.join(os2.homedir(), ".claude"), "sessions");
732
596
  }
733
597
  function readLiveClaudes(dir = claudeSessionsDir(), now = Date.now(), table) {
734
598
  if (!table && cache && now - cache.at < TTL_MS && dir === claudeSessionsDir()) return cache.list;
735
599
  let names;
736
600
  try {
737
- names = fs6.readdirSync(dir).filter((n) => /^\d+\.json$/.test(n));
601
+ names = fs5.readdirSync(dir).filter((n) => /^\d+\.json$/.test(n));
738
602
  } catch {
739
603
  return [];
740
604
  }
741
605
  const parsed = [];
742
606
  for (const n of names) {
743
607
  try {
744
- const c = parseLiveClaude(JSON.parse(fs6.readFileSync(path4.join(dir, n), "utf8")));
608
+ const c = parseLiveClaude(JSON.parse(fs5.readFileSync(path4.join(dir, n), "utf8")));
745
609
  if (c) parsed.push(c);
746
610
  } catch {
747
611
  }
@@ -760,22 +624,22 @@ var typeThenEnter = async (write, text, wait = (ms) => new Promise((r) => setTim
760
624
  };
761
625
 
762
626
  // src/core/agents/claude/internal.ts
763
- import os4 from "os";
627
+ import os3 from "os";
764
628
  function internalClaudeSpawn(opts = {}) {
765
629
  return {
766
630
  args: ["-p", "--tools", "", "--strict-mcp-config", ...opts.model ? ["--model", opts.model] : []],
767
- cwd: os4.tmpdir(),
631
+ cwd: os3.tmpdir(),
768
632
  env: { ...process.env, ...internalRunEnv() }
769
633
  };
770
634
  }
771
635
 
772
636
  // src/core/agents/claude/workspace.ts
773
- import fs7 from "fs";
637
+ import fs6 from "fs";
774
638
  import path5 from "path";
775
639
  var claudeAllowRule = (r) => `Bash(${r.command}${r.prefix ? ":*" : ""})`;
776
640
  var claudeWorkspace = {
777
641
  write(dir, { allow, hooks }) {
778
- fs7.mkdirSync(path5.join(dir, ".claude"), { recursive: true });
642
+ fs6.mkdirSync(path5.join(dir, ".claude"), { recursive: true });
779
643
  const byEvent = {};
780
644
  for (const h of hooks) {
781
645
  (byEvent[CLAUDE_EVENT[h.edge]] ??= []).push({
@@ -834,6 +698,35 @@ function claudeSkillsWith(run) {
834
698
  }
835
699
  var claudeSkills = claudeSkillsWith(runClaude);
836
700
 
701
+ // src/core/agents/claude/usage.ts
702
+ var installer2;
703
+ var loadInstaller2 = async () => installer2 ??= await import("./statusline-EUT6VZLP.js");
704
+ function restoreMessage(o) {
705
+ switch (o) {
706
+ case "restored":
707
+ return "Your own status line is back (work no longer reads the plan limits from it).";
708
+ case "not-ours":
709
+ return "Its status line isn't work's: left as it is.";
710
+ case "kept":
711
+ return "work's status line left in place: the copy of yours (~/.work/statusline.json) is missing or damaged. Set yours again with /statusline in Claude Code.";
712
+ case "failed":
713
+ return "Its settings couldn't be changed (see above).";
714
+ }
715
+ }
716
+ var claudeUsage = {
717
+ read: () => readReadings("claude"),
718
+ async setup(o) {
719
+ const outcome = await (await loadInstaller2()).applyStatusLineSetting(o);
720
+ if (outcome === "wrapped") return "status line wrapped: it records the plan limits";
721
+ if (outcome === "restored") return "status line given back (usage.statusLine is false)";
722
+ return "status line left alone (lean server)";
723
+ },
724
+ async restore() {
725
+ const outcome = await (await loadInstaller2()).unwrapStatusLine();
726
+ return { ok: outcome === "restored" || outcome === "not-ours", message: restoreMessage(outcome) };
727
+ }
728
+ };
729
+
837
730
  // src/core/agents/claude/adapter.ts
838
731
  var CLAUDE_SMALL_MODEL = "haiku";
839
732
  var TAIL_BYTES3 = 4 * 1024 * 1024;
@@ -851,6 +744,7 @@ var claudeAgent = {
851
744
  },
852
745
  conversation: {
853
746
  files: (s) => listTranscripts(s),
747
+ usageFiles: (s) => listUsageFiles(s),
854
748
  entries: claudeEntries,
855
749
  contextWindow: claudeContextWindow,
856
750
  read(session, { last }) {
@@ -886,7 +780,8 @@ var claudeAgent = {
886
780
  // CLAUDE.md's own import syntax (Claude Code reads the file it names, relative to this one).
887
781
  instructionsImport: (relPath) => `@${relPath}`,
888
782
  workspace: claudeWorkspace,
889
- skills: claudeSkills
783
+ skills: claudeSkills,
784
+ usage: claudeUsage
890
785
  };
891
786
 
892
787
  // src/core/agents/index.ts
@@ -895,7 +790,7 @@ function agentSettings() {
895
790
  const file = getConfigPath();
896
791
  let key;
897
792
  try {
898
- const st = fs8.statSync(file);
793
+ const st = fs7.statSync(file);
899
794
  key = `${file}|${st.size}|${st.mtimeMs}`;
900
795
  } catch {
901
796
  return {};
@@ -903,7 +798,7 @@ function agentSettings() {
903
798
  if (settingsCache?.key === key) return settingsCache.value;
904
799
  let value = {};
905
800
  try {
906
- const p = JSON.parse(fs8.readFileSync(file, "utf8"));
801
+ const p = JSON.parse(fs7.readFileSync(file, "utf8"));
907
802
  value = {
908
803
  ...typeof p.aiCommand === "string" ? { aiCommand: p.aiCommand } : {},
909
804
  ...p.aiCommandFlags && typeof p.aiCommandFlags === "object" ? { aiCommandFlags: p.aiCommandFlags } : {},
@@ -985,14 +880,6 @@ export {
985
880
  buildAiLaunchArgs,
986
881
  readJsonlTail,
987
882
  readJsonlSince,
988
- detachHere,
989
- isPidAlive,
990
- processName,
991
- recentProcessTable,
992
- bootTime,
993
- killTree,
994
- killTreeAsync,
995
- spawnDetachedWork,
996
883
  internalRunEnv,
997
884
  isInternalRun,
998
885
  agentSettings,
@@ -1009,4 +896,4 @@ export {
1009
896
  agentToRecord,
1010
897
  agentFor
1011
898
  };
1012
- //# sourceMappingURL=chunk-VESYLAVA.js.map
899
+ //# sourceMappingURL=chunk-FUNZ7TOS.js.map