@moberg_hr/work-tree 2.23.2 → 2.23.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/dist/{account-6ZQ3VFA2.js → account-TSSDZ7HI.js} +26 -27
  2. package/dist/{account-6ZQ3VFA2.js.map → account-TSSDZ7HI.js.map} +1 -1
  3. package/dist/{add-repo-WXDEKZRX.js → add-repo-X6BY6Y7G.js} +20 -21
  4. package/dist/{add-repo-WXDEKZRX.js.map → add-repo-X6BY6Y7G.js.map} +1 -1
  5. package/dist/{answer-L55DWMR5.js → answer-44MKEQDP.js} +12 -12
  6. package/dist/{attach-KLVI7BHS.js → attach-4442NY36.js} +21 -22
  7. package/dist/{attach-KLVI7BHS.js.map → attach-4442NY36.js.map} +1 -1
  8. package/dist/bin.js +4 -4
  9. package/dist/{block-BRNRP226.js → block-KH7GT6KC.js} +17 -18
  10. package/dist/{block-BRNRP226.js.map → block-KH7GT6KC.js.map} +1 -1
  11. package/dist/{broadcast-GQE7H3MF.js → broadcast-RHPRE6OM.js} +10 -10
  12. package/dist/{catchup-ZMG4OWF2.js → catchup-POW3OD2J.js} +15 -15
  13. package/dist/{child-MPXXJ2QX.js → child-Y5H7NS7I.js} +18 -15
  14. package/dist/child-Y5H7NS7I.js.map +1 -0
  15. package/dist/{chunk-A53OR6P5.js → chunk-2TXH75I4.js} +7 -7
  16. package/dist/{chunk-HCYES6U7.js → chunk-32CMRR6M.js} +2 -2
  17. package/dist/{chunk-VQEMPGJL.js → chunk-4FCPWNZD.js} +2 -2
  18. package/dist/{chunk-PSALWCBD.js → chunk-4VQJQ6CO.js} +5 -5
  19. package/dist/{chunk-DK3UMOX7.js → chunk-55MJYS5Q.js} +2 -2
  20. package/dist/{chunk-773UJC5C.js → chunk-5C5NTOZT.js} +7 -7
  21. package/dist/{chunk-NREZVTBP.js → chunk-6ER6IBFJ.js} +2 -2
  22. package/dist/chunk-6SOIHZYE.js +9 -0
  23. package/dist/{chunk-MMEFW2PI.js → chunk-7FY6V6SF.js} +7 -7
  24. package/dist/{chunk-ZPDCVDE2.js → chunk-7GMENM2D.js} +2 -2
  25. package/dist/{chunk-JVOQSU6R.js → chunk-7L3D3SZA.js} +6 -6
  26. package/dist/{chunk-VPZ5ILKT.js → chunk-7VDNNWPU.js} +5 -5
  27. package/dist/{chunk-NWKVTUTN.js → chunk-B34R6TQO.js} +399 -192
  28. package/dist/chunk-B34R6TQO.js.map +1 -0
  29. package/dist/{chunk-6S3DYLGH.js → chunk-BLCQOJDB.js} +6 -6
  30. package/dist/{chunk-XB4SCJWD.js → chunk-BMZ4KPUT.js} +7 -7
  31. package/dist/{chunk-XIN6XUFL.js → chunk-D4XRXS3P.js} +2 -2
  32. package/dist/{chunk-2JLG65GB.js → chunk-D7ZWESWW.js} +3 -3
  33. package/dist/{chunk-KJAE7WO5.js → chunk-DIBXT67T.js} +2 -2
  34. package/dist/{chunk-VNZBFVGY.js → chunk-EFCWSWZK.js} +6 -6
  35. package/dist/{chunk-HBYXSFLN.js → chunk-F44FMA67.js} +5 -5
  36. package/dist/{chunk-BBI4YQTS.js → chunk-FC5WCLWJ.js} +18 -18
  37. package/dist/{chunk-MYXEX6BB.js → chunk-FCMPVWE7.js} +33 -10
  38. package/dist/chunk-FCMPVWE7.js.map +1 -0
  39. package/dist/{chunk-C5BBVVHW.js → chunk-FFRNSK4S.js} +2 -2
  40. package/dist/{chunk-ETWP7MDS.js → chunk-FX4KMK4M.js} +1 -1
  41. package/dist/chunk-FX4KMK4M.js.map +1 -0
  42. package/dist/{chunk-RGKGJOES.js → chunk-H2QFMDSU.js} +9 -9
  43. package/dist/{chunk-LOFGDH5B.js → chunk-IEKDHKGO.js} +2 -2
  44. package/dist/{chunk-EORL2V7P.js → chunk-IN52DQRN.js} +2 -2
  45. package/dist/{chunk-G4VKMMIC.js → chunk-IUOY42LA.js} +15 -15
  46. package/dist/{chunk-XT3FON6A.js → chunk-J5NSFIQ5.js} +5 -5
  47. package/dist/{chunk-HUGHF45U.js → chunk-JIQ2XXFX.js} +3 -3
  48. package/dist/{chunk-M2P722BR.js → chunk-JPUNYEQR.js} +2 -2
  49. package/dist/{chunk-T5GJVUSL.js → chunk-KBEP7BJP.js} +2 -2
  50. package/dist/chunk-KPAT46RL.js +21 -0
  51. package/dist/chunk-KPAT46RL.js.map +1 -0
  52. package/dist/{chunk-HO5KESIB.js → chunk-LC44HSCM.js} +4 -4
  53. package/dist/{chunk-NLU6MBYT.js → chunk-LCMLUSBQ.js} +12 -12
  54. package/dist/{chunk-SF3DIIKN.js → chunk-M7GVYIAB.js} +3 -3
  55. package/dist/{chunk-SUHANL3G.js → chunk-MC5T6J2V.js} +7 -7
  56. package/dist/{chunk-ZG6HB4BO.js → chunk-MFZRX6GM.js} +13 -17
  57. package/dist/chunk-MFZRX6GM.js.map +1 -0
  58. package/dist/{chunk-GNIYYXQX.js → chunk-MSXMX7C7.js} +2 -2
  59. package/dist/{chunk-XL4YNA3L.js → chunk-NIMROXWE.js} +22 -13
  60. package/dist/chunk-NIMROXWE.js.map +1 -0
  61. package/dist/{chunk-IUVMVNIO.js → chunk-NTBTO4SJ.js} +6 -6
  62. package/dist/{chunk-LW6VCL6S.js → chunk-NUWP3CGK.js} +7 -7
  63. package/dist/{chunk-NS7WH53I.js → chunk-O45NATRC.js} +2 -2
  64. package/dist/{chunk-APHVSSLI.js → chunk-OJ23FAT5.js} +2 -2
  65. package/dist/{chunk-QAIG5FSQ.js → chunk-OOVYRRGT.js} +3 -3
  66. package/dist/{chunk-XBWS77S2.js → chunk-OTY7XB5J.js} +2 -2
  67. package/dist/chunk-OU3BTWR6.js +482 -0
  68. package/dist/chunk-OU3BTWR6.js.map +1 -0
  69. package/dist/{chunk-MYASALCU.js → chunk-OYNVFQM5.js} +9 -9
  70. package/dist/{chunk-QMWV4UKB.js → chunk-PLEILEF4.js} +3 -3
  71. package/dist/{chunk-WH6DAD6D.js → chunk-PX7BDJQV.js} +2 -2
  72. package/dist/{chunk-GF7RAQFD.js → chunk-QNLWGTNI.js} +3 -3
  73. package/dist/{chunk-KWJ6S4NZ.js → chunk-S5Z247FI.js} +9 -9
  74. package/dist/{chunk-BGQ6NUU7.js → chunk-S77BGUVD.js} +4 -4
  75. package/dist/{chunk-K6FD5WDW.js → chunk-UGZ6WBYP.js} +8 -8
  76. package/dist/{chunk-QSSCVTFG.js → chunk-UVRGRMN4.js} +4 -4
  77. package/dist/{chunk-7HQSILMM.js → chunk-V4RNP62T.js} +4 -4
  78. package/dist/{chunk-7BH2PUYY.js → chunk-W3OU74ER.js} +5 -5
  79. package/dist/{chunk-CRAGAIOS.js → chunk-W4KMOS7T.js} +11 -11
  80. package/dist/{chunk-LCYYJFSZ.js → chunk-WD7XHWRQ.js} +5 -5
  81. package/dist/{chunk-ZHK5XOV5.js → chunk-XMWMC5R2.js} +60 -60
  82. package/dist/{chunk-BZOYUBK4.js → chunk-XXOOR3IV.js} +6 -6
  83. package/dist/{chunk-ED6YLB4S.js → chunk-YQSWVHKK.js} +13 -13
  84. package/dist/chunk-YQSWVHKK.js.map +1 -0
  85. package/dist/{chunk-DNC2ZJOF.js → chunk-ZCRIGDCK.js} +7 -7
  86. package/dist/{chunk-P53UYZZ4.js → chunk-ZU2265JN.js} +2 -2
  87. package/dist/{cleanup-DRELB6UC.js → cleanup-HTM3VX4O.js} +38 -40
  88. package/dist/{cleanup-DRELB6UC.js.map → cleanup-HTM3VX4O.js.map} +1 -1
  89. package/dist/{cli-C3U2BC44.js → cli-6UA7NFOP.js} +4 -4
  90. package/dist/{color-T75ANAWG.js → color-GLNALQJU.js} +14 -14
  91. package/dist/{config-KI6JOXKW.js → config-MC6A5AOY.js} +16 -17
  92. package/dist/{config-KI6JOXKW.js.map → config-MC6A5AOY.js.map} +1 -1
  93. package/dist/{coordinate-4PPZN4U4.js → coordinate-JRJX7LN6.js} +26 -16
  94. package/dist/coordinate-JRJX7LN6.js.map +1 -0
  95. package/dist/{diff-NDZPRQV7.js → diff-ABQL4OGG.js} +15 -16
  96. package/dist/{diff-NDZPRQV7.js.map → diff-ABQL4OGG.js.map} +1 -1
  97. package/dist/{digest-H5YFX5WR.js → digest-K5LVRZJ2.js} +12 -12
  98. package/dist/{fork-HHHATXVI.js → fork-SYSHOZEC.js} +33 -35
  99. package/dist/{fork-HHHATXVI.js.map → fork-SYSHOZEC.js.map} +1 -1
  100. package/dist/{history-3Z7AS2AC.js → history-UPV5FKKH.js} +10 -10
  101. package/dist/{hook-KOK7NKCO.js → hook-HKZEOBBJ.js} +31 -24
  102. package/dist/hook-HKZEOBBJ.js.map +1 -0
  103. package/dist/{hydrate-VI3XSZQH.js → hydrate-W6LXQTDU.js} +11 -11
  104. package/dist/{init-7NOKRHNJ.js → init-DXALHRTW.js} +18 -19
  105. package/dist/{init-7NOKRHNJ.js.map → init-DXALHRTW.js.map} +1 -1
  106. package/dist/{install-skills-TL5D7HZU.js → install-skills-COQUL6LG.js} +11 -9
  107. package/dist/install-skills-bin.js +10 -8
  108. package/dist/install-skills-bin.js.map +1 -1
  109. package/dist/{keep-G62GSDOQ.js → keep-5725FMZD.js} +12 -12
  110. package/dist/{list-CEVAZQ4V.js → list-HCD535CS.js} +11 -11
  111. package/dist/{move-ISAW6RDM.js → move-I46P3OHI.js} +24 -25
  112. package/dist/{move-ISAW6RDM.js.map → move-I46P3OHI.js.map} +1 -1
  113. package/dist/{note-YIVFXTGM.js → note-EJMRTSDZ.js} +12 -12
  114. package/dist/{overlaps-YBEHBRRK.js → overlaps-7KFBI2B2.js} +18 -19
  115. package/dist/{overlaps-YBEHBRRK.js.map → overlaps-7KFBI2B2.js.map} +1 -1
  116. package/dist/{pin-J4IDSHRG.js → pin-QR3CSLIU.js} +13 -13
  117. package/dist/{pr-Z7CPBBGT.js → pr-IOWS2QWR.js} +26 -27
  118. package/dist/{pr-Z7CPBBGT.js.map → pr-IOWS2QWR.js.map} +1 -1
  119. package/dist/{prune-UA3UDZSM.js → prune-GUSIRD4X.js} +35 -37
  120. package/dist/{prune-UA3UDZSM.js.map → prune-GUSIRD4X.js.map} +1 -1
  121. package/dist/{pty-host-JIQUP62K.js → pty-host-BFPESGGA.js} +29 -32
  122. package/dist/{pty-host-JIQUP62K.js.map → pty-host-BFPESGGA.js.map} +1 -1
  123. package/dist/{read-DG4PCLFH.js → read-VL5G36JG.js} +17 -13
  124. package/dist/{read-DG4PCLFH.js.map → read-VL5G36JG.js.map} +1 -1
  125. package/dist/{recent-PGD6QYAH.js → recent-WXDFS3EQ.js} +21 -22
  126. package/dist/{recent-PGD6QYAH.js.map → recent-WXDFS3EQ.js.map} +1 -1
  127. package/dist/{remove-TPLA64HP.js → remove-FID7UAFE.js} +36 -38
  128. package/dist/{remove-TPLA64HP.js.map → remove-FID7UAFE.js.map} +1 -1
  129. package/dist/{report-K3OTT2ED.js → report-4ZFCDVGT.js} +16 -13
  130. package/dist/report-4ZFCDVGT.js.map +1 -0
  131. package/dist/{restart-477IX2JX.js → restart-NO3V563I.js} +14 -15
  132. package/dist/{restart-477IX2JX.js.map → restart-NO3V563I.js.map} +1 -1
  133. package/dist/{resume-OYBAJCYE.js → resume-HXJQMNLX.js} +21 -22
  134. package/dist/{resume-OYBAJCYE.js.map → resume-HXJQMNLX.js.map} +1 -1
  135. package/dist/{review-6PWFSBAO.js → review-F54E75RF.js} +11 -11
  136. package/dist/{review-now-AT2SPPRO.js → review-now-K3GBWULH.js} +2 -2
  137. package/dist/{run-XEHF2N4A.js → run-X7VJAHIA.js} +10 -10
  138. package/dist/{screen-SFU6TCDV.js → screen-2HPSFMT5.js} +12 -12
  139. package/dist/{search-VJ3BGWPX.js → search-XNWJXKLY.js} +10 -10
  140. package/dist/{section-ZLINSTGS.js → section-GF4S3RHQ.js} +14 -14
  141. package/dist/{send-NBP2WYBG.js → send-W3W42FBF.js} +26 -16
  142. package/dist/send-W3W42FBF.js.map +1 -0
  143. package/dist/{sessions-UT4I7A43.js → sessions-PQV6NZKZ.js} +31 -33
  144. package/dist/{sessions-UT4I7A43.js.map → sessions-PQV6NZKZ.js.map} +1 -1
  145. package/dist/{show-RK2EWOR6.js → show-75JNPHZZ.js} +11 -11
  146. package/dist/{snooze-T2WWIKZN.js → snooze-R3IISMDC.js} +12 -12
  147. package/dist/{start-AWHOIA3Q.js → start-PD6MO5H5.js} +12 -12
  148. package/dist/{state-HK67C4UA.js → state-KUP4OEXR.js} +2 -2
  149. package/dist/{status-QE2DA6RR.js → status-ZJDIGGFB.js} +15 -16
  150. package/dist/{status-QE2DA6RR.js.map → status-ZJDIGGFB.js.map} +1 -1
  151. package/dist/{statusline-Z5HLKDIA.js → statusline-SZPL3QBC.js} +5 -5
  152. package/dist/{statusline-hook-VPPS3PFO.js → statusline-hook-6BNEVENM.js} +4 -4
  153. package/dist/{stop-YOU3P3ZR.js → stop-CID5EBHG.js} +12 -12
  154. package/dist/{sync-74EFTPBJ.js → sync-VV4MLQ4Q.js} +35 -37
  155. package/dist/{sync-74EFTPBJ.js.map → sync-VV4MLQ4Q.js.map} +1 -1
  156. package/dist/{time-ZGMZZ5OY.js → time-THNKOLZK.js} +14 -14
  157. package/dist/{time-actions-VAGRSY5B.js → time-actions-6L4RQ3A7.js} +3 -3
  158. package/dist/{timesheet-N74LPF5M.js → timesheet-5DYIZGCM.js} +20 -21
  159. package/dist/{timesheet-N74LPF5M.js.map → timesheet-5DYIZGCM.js.map} +1 -1
  160. package/dist/{todo-UVKGOG7D.js → todo-VHYBQC3I.js} +2 -2
  161. package/dist/{tree-FXTCWC6D.js → tree-HCKKRJ6Y.js} +37 -39
  162. package/dist/{tree-FXTCWC6D.js.map → tree-HCKKRJ6Y.js.map} +1 -1
  163. package/dist/{update-5QSRHIWH.js → update-MJ4DQLAN.js} +20 -21
  164. package/dist/{update-5QSRHIWH.js.map → update-MJ4DQLAN.js.map} +1 -1
  165. package/dist/{usage-CW7CDFU3.js → usage-XLLVYWBE.js} +12 -12
  166. package/dist/{usage-ask-V2SIRW4F.js → usage-ask-QBLLIHE3.js} +11 -11
  167. package/dist/version-ATSNJMTH.js +31 -0
  168. package/dist/version-ATSNJMTH.js.map +1 -0
  169. package/dist/{wait-XXC3I6DK.js → wait-NIPHM5DN.js} +13 -13
  170. package/dist/wd-bin.js +3 -3
  171. package/dist/web/assets/{PtyView-BLTE5F3E.js → PtyView-DCwMId37.js} +2 -2
  172. package/dist/web/assets/{PtyView-BLTE5F3E.js.map → PtyView-DCwMId37.js.map} +1 -1
  173. package/dist/web/assets/{index-BiadbzE6.js → index-AQoEcgyy.js} +27 -27
  174. package/dist/web/assets/index-AQoEcgyy.js.map +1 -0
  175. package/dist/web/index.html +1 -1
  176. package/dist/{web-SUSR4IAK.js → web-NMS22ZDZ.js} +198 -92
  177. package/dist/web-NMS22ZDZ.js.map +1 -0
  178. package/npm-shrinkwrap.json +2 -2
  179. package/package.json +1 -1
  180. package/plugins/work-tree/skills/work-sessions/SKILL.md +35 -50
  181. package/dist/child-MPXXJ2QX.js.map +0 -1
  182. package/dist/chunk-4CXUVBOD.js +0 -76
  183. package/dist/chunk-4CXUVBOD.js.map +0 -1
  184. package/dist/chunk-BMPTUIP4.js +0 -105
  185. package/dist/chunk-BMPTUIP4.js.map +0 -1
  186. package/dist/chunk-DYKA3LO3.js +0 -9
  187. package/dist/chunk-ED6YLB4S.js.map +0 -1
  188. package/dist/chunk-ETWP7MDS.js.map +0 -1
  189. package/dist/chunk-MYXEX6BB.js.map +0 -1
  190. package/dist/chunk-NWKVTUTN.js.map +0 -1
  191. package/dist/chunk-SJBEIYLK.js +0 -16
  192. package/dist/chunk-SJBEIYLK.js.map +0 -1
  193. package/dist/chunk-TC3H7I6O.js +0 -196
  194. package/dist/chunk-TC3H7I6O.js.map +0 -1
  195. package/dist/chunk-TNJF7T33.js +0 -17
  196. package/dist/chunk-TNJF7T33.js.map +0 -1
  197. package/dist/chunk-XL4YNA3L.js.map +0 -1
  198. package/dist/chunk-ZG6HB4BO.js.map +0 -1
  199. package/dist/coordinate-4PPZN4U4.js.map +0 -1
  200. package/dist/hook-KOK7NKCO.js.map +0 -1
  201. package/dist/report-K3OTT2ED.js.map +0 -1
  202. package/dist/send-NBP2WYBG.js.map +0 -1
  203. package/dist/version-RJ4PCHPB.js +0 -117
  204. package/dist/version-RJ4PCHPB.js.map +0 -1
  205. package/dist/web/assets/index-BiadbzE6.js.map +0 -1
  206. package/dist/web-SUSR4IAK.js.map +0 -1
  207. /package/dist/{answer-L55DWMR5.js.map → answer-44MKEQDP.js.map} +0 -0
  208. /package/dist/{broadcast-GQE7H3MF.js.map → broadcast-RHPRE6OM.js.map} +0 -0
  209. /package/dist/{catchup-ZMG4OWF2.js.map → catchup-POW3OD2J.js.map} +0 -0
  210. /package/dist/{chunk-A53OR6P5.js.map → chunk-2TXH75I4.js.map} +0 -0
  211. /package/dist/{chunk-HCYES6U7.js.map → chunk-32CMRR6M.js.map} +0 -0
  212. /package/dist/{chunk-VQEMPGJL.js.map → chunk-4FCPWNZD.js.map} +0 -0
  213. /package/dist/{chunk-PSALWCBD.js.map → chunk-4VQJQ6CO.js.map} +0 -0
  214. /package/dist/{chunk-DK3UMOX7.js.map → chunk-55MJYS5Q.js.map} +0 -0
  215. /package/dist/{chunk-773UJC5C.js.map → chunk-5C5NTOZT.js.map} +0 -0
  216. /package/dist/{chunk-NREZVTBP.js.map → chunk-6ER6IBFJ.js.map} +0 -0
  217. /package/dist/{chunk-DYKA3LO3.js.map → chunk-6SOIHZYE.js.map} +0 -0
  218. /package/dist/{chunk-MMEFW2PI.js.map → chunk-7FY6V6SF.js.map} +0 -0
  219. /package/dist/{chunk-ZPDCVDE2.js.map → chunk-7GMENM2D.js.map} +0 -0
  220. /package/dist/{chunk-JVOQSU6R.js.map → chunk-7L3D3SZA.js.map} +0 -0
  221. /package/dist/{chunk-VPZ5ILKT.js.map → chunk-7VDNNWPU.js.map} +0 -0
  222. /package/dist/{chunk-6S3DYLGH.js.map → chunk-BLCQOJDB.js.map} +0 -0
  223. /package/dist/{chunk-XB4SCJWD.js.map → chunk-BMZ4KPUT.js.map} +0 -0
  224. /package/dist/{chunk-XIN6XUFL.js.map → chunk-D4XRXS3P.js.map} +0 -0
  225. /package/dist/{chunk-2JLG65GB.js.map → chunk-D7ZWESWW.js.map} +0 -0
  226. /package/dist/{chunk-KJAE7WO5.js.map → chunk-DIBXT67T.js.map} +0 -0
  227. /package/dist/{chunk-VNZBFVGY.js.map → chunk-EFCWSWZK.js.map} +0 -0
  228. /package/dist/{chunk-HBYXSFLN.js.map → chunk-F44FMA67.js.map} +0 -0
  229. /package/dist/{chunk-BBI4YQTS.js.map → chunk-FC5WCLWJ.js.map} +0 -0
  230. /package/dist/{chunk-C5BBVVHW.js.map → chunk-FFRNSK4S.js.map} +0 -0
  231. /package/dist/{chunk-RGKGJOES.js.map → chunk-H2QFMDSU.js.map} +0 -0
  232. /package/dist/{chunk-LOFGDH5B.js.map → chunk-IEKDHKGO.js.map} +0 -0
  233. /package/dist/{chunk-EORL2V7P.js.map → chunk-IN52DQRN.js.map} +0 -0
  234. /package/dist/{chunk-G4VKMMIC.js.map → chunk-IUOY42LA.js.map} +0 -0
  235. /package/dist/{chunk-XT3FON6A.js.map → chunk-J5NSFIQ5.js.map} +0 -0
  236. /package/dist/{chunk-HUGHF45U.js.map → chunk-JIQ2XXFX.js.map} +0 -0
  237. /package/dist/{chunk-M2P722BR.js.map → chunk-JPUNYEQR.js.map} +0 -0
  238. /package/dist/{chunk-T5GJVUSL.js.map → chunk-KBEP7BJP.js.map} +0 -0
  239. /package/dist/{chunk-HO5KESIB.js.map → chunk-LC44HSCM.js.map} +0 -0
  240. /package/dist/{chunk-NLU6MBYT.js.map → chunk-LCMLUSBQ.js.map} +0 -0
  241. /package/dist/{chunk-SF3DIIKN.js.map → chunk-M7GVYIAB.js.map} +0 -0
  242. /package/dist/{chunk-SUHANL3G.js.map → chunk-MC5T6J2V.js.map} +0 -0
  243. /package/dist/{chunk-GNIYYXQX.js.map → chunk-MSXMX7C7.js.map} +0 -0
  244. /package/dist/{chunk-IUVMVNIO.js.map → chunk-NTBTO4SJ.js.map} +0 -0
  245. /package/dist/{chunk-LW6VCL6S.js.map → chunk-NUWP3CGK.js.map} +0 -0
  246. /package/dist/{chunk-NS7WH53I.js.map → chunk-O45NATRC.js.map} +0 -0
  247. /package/dist/{chunk-APHVSSLI.js.map → chunk-OJ23FAT5.js.map} +0 -0
  248. /package/dist/{chunk-QAIG5FSQ.js.map → chunk-OOVYRRGT.js.map} +0 -0
  249. /package/dist/{chunk-XBWS77S2.js.map → chunk-OTY7XB5J.js.map} +0 -0
  250. /package/dist/{chunk-MYASALCU.js.map → chunk-OYNVFQM5.js.map} +0 -0
  251. /package/dist/{chunk-QMWV4UKB.js.map → chunk-PLEILEF4.js.map} +0 -0
  252. /package/dist/{chunk-WH6DAD6D.js.map → chunk-PX7BDJQV.js.map} +0 -0
  253. /package/dist/{chunk-GF7RAQFD.js.map → chunk-QNLWGTNI.js.map} +0 -0
  254. /package/dist/{chunk-KWJ6S4NZ.js.map → chunk-S5Z247FI.js.map} +0 -0
  255. /package/dist/{chunk-BGQ6NUU7.js.map → chunk-S77BGUVD.js.map} +0 -0
  256. /package/dist/{chunk-K6FD5WDW.js.map → chunk-UGZ6WBYP.js.map} +0 -0
  257. /package/dist/{chunk-QSSCVTFG.js.map → chunk-UVRGRMN4.js.map} +0 -0
  258. /package/dist/{chunk-7HQSILMM.js.map → chunk-V4RNP62T.js.map} +0 -0
  259. /package/dist/{chunk-7BH2PUYY.js.map → chunk-W3OU74ER.js.map} +0 -0
  260. /package/dist/{chunk-CRAGAIOS.js.map → chunk-W4KMOS7T.js.map} +0 -0
  261. /package/dist/{chunk-LCYYJFSZ.js.map → chunk-WD7XHWRQ.js.map} +0 -0
  262. /package/dist/{chunk-ZHK5XOV5.js.map → chunk-XMWMC5R2.js.map} +0 -0
  263. /package/dist/{chunk-BZOYUBK4.js.map → chunk-XXOOR3IV.js.map} +0 -0
  264. /package/dist/{chunk-DNC2ZJOF.js.map → chunk-ZCRIGDCK.js.map} +0 -0
  265. /package/dist/{chunk-P53UYZZ4.js.map → chunk-ZU2265JN.js.map} +0 -0
  266. /package/dist/{cli-C3U2BC44.js.map → cli-6UA7NFOP.js.map} +0 -0
  267. /package/dist/{color-T75ANAWG.js.map → color-GLNALQJU.js.map} +0 -0
  268. /package/dist/{digest-H5YFX5WR.js.map → digest-K5LVRZJ2.js.map} +0 -0
  269. /package/dist/{history-3Z7AS2AC.js.map → history-UPV5FKKH.js.map} +0 -0
  270. /package/dist/{hydrate-VI3XSZQH.js.map → hydrate-W6LXQTDU.js.map} +0 -0
  271. /package/dist/{install-skills-TL5D7HZU.js.map → install-skills-COQUL6LG.js.map} +0 -0
  272. /package/dist/{keep-G62GSDOQ.js.map → keep-5725FMZD.js.map} +0 -0
  273. /package/dist/{list-CEVAZQ4V.js.map → list-HCD535CS.js.map} +0 -0
  274. /package/dist/{note-YIVFXTGM.js.map → note-EJMRTSDZ.js.map} +0 -0
  275. /package/dist/{pin-J4IDSHRG.js.map → pin-QR3CSLIU.js.map} +0 -0
  276. /package/dist/{review-6PWFSBAO.js.map → review-F54E75RF.js.map} +0 -0
  277. /package/dist/{review-now-AT2SPPRO.js.map → review-now-K3GBWULH.js.map} +0 -0
  278. /package/dist/{run-XEHF2N4A.js.map → run-X7VJAHIA.js.map} +0 -0
  279. /package/dist/{screen-SFU6TCDV.js.map → screen-2HPSFMT5.js.map} +0 -0
  280. /package/dist/{search-VJ3BGWPX.js.map → search-XNWJXKLY.js.map} +0 -0
  281. /package/dist/{section-ZLINSTGS.js.map → section-GF4S3RHQ.js.map} +0 -0
  282. /package/dist/{show-RK2EWOR6.js.map → show-75JNPHZZ.js.map} +0 -0
  283. /package/dist/{snooze-T2WWIKZN.js.map → snooze-R3IISMDC.js.map} +0 -0
  284. /package/dist/{start-AWHOIA3Q.js.map → start-PD6MO5H5.js.map} +0 -0
  285. /package/dist/{state-HK67C4UA.js.map → state-KUP4OEXR.js.map} +0 -0
  286. /package/dist/{statusline-Z5HLKDIA.js.map → statusline-SZPL3QBC.js.map} +0 -0
  287. /package/dist/{statusline-hook-VPPS3PFO.js.map → statusline-hook-6BNEVENM.js.map} +0 -0
  288. /package/dist/{stop-YOU3P3ZR.js.map → stop-CID5EBHG.js.map} +0 -0
  289. /package/dist/{time-ZGMZZ5OY.js.map → time-THNKOLZK.js.map} +0 -0
  290. /package/dist/{time-actions-VAGRSY5B.js.map → time-actions-6L4RQ3A7.js.map} +0 -0
  291. /package/dist/{todo-UVKGOG7D.js.map → todo-VHYBQC3I.js.map} +0 -0
  292. /package/dist/{usage-CW7CDFU3.js.map → usage-XLLVYWBE.js.map} +0 -0
  293. /package/dist/{usage-ask-V2SIRW4F.js.map → usage-ask-QBLLIHE3.js.map} +0 -0
  294. /package/dist/{wait-XXC3I6DK.js.map → wait-NIPHM5DN.js.map} +0 -0
@@ -9,16 +9,11 @@ import {
9
9
  PtyHostClient,
10
10
  ensureHost,
11
11
  probeHostDetailed
12
- } from "./chunk-NREZVTBP.js";
12
+ } from "./chunk-6ER6IBFJ.js";
13
13
  import {
14
14
  hostInfoPath,
15
15
  readHostInfo
16
- } from "./chunk-NS7WH53I.js";
17
- import {
18
- json,
19
- tx,
20
- withDb
21
- } from "./chunk-QGUBOOEN.js";
16
+ } from "./chunk-O45NATRC.js";
22
17
  import {
23
18
  agentFor,
24
19
  agentSettings,
@@ -26,7 +21,12 @@ import {
26
21
  internalAgent,
27
22
  liveAgents,
28
23
  logSwallowed
29
- } from "./chunk-NWKVTUTN.js";
24
+ } from "./chunk-B34R6TQO.js";
25
+ import {
26
+ json,
27
+ tx,
28
+ withDb
29
+ } from "./chunk-QGUBOOEN.js";
30
30
  import {
31
31
  detachHere,
32
32
  isPidAlive,
@@ -322,4 +322,4 @@ export {
322
322
  restartHost,
323
323
  ensureAgentPath
324
324
  };
325
- //# sourceMappingURL=chunk-RGKGJOES.js.map
325
+ //# sourceMappingURL=chunk-H2QFMDSU.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-UPS7NHKI.js";
10
10
  import {
11
11
  loadHistory
12
- } from "./chunk-XL4YNA3L.js";
12
+ } from "./chunk-NIMROXWE.js";
13
13
  import {
14
14
  sessionIdFor,
15
15
  tx,
@@ -196,4 +196,4 @@ export {
196
196
  claimForDelivery,
197
197
  formatPendingForPrompt
198
198
  };
199
- //# sourceMappingURL=chunk-LOFGDH5B.js.map
199
+ //# sourceMappingURL=chunk-IEKDHKGO.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  isBuildOutputPath
4
- } from "./chunk-T5GJVUSL.js";
4
+ } from "./chunk-KBEP7BJP.js";
5
5
 
6
6
  // src/core/worktree/leftover.ts
7
7
  import fs from "fs";
@@ -75,4 +75,4 @@ export {
75
75
  takeLeftover,
76
76
  putLeftoverBack
77
77
  };
78
- //# sourceMappingURL=chunk-EORL2V7P.js.map
78
+ //# sourceMappingURL=chunk-IN52DQRN.js.map
@@ -5,34 +5,34 @@ import {
5
5
  } from "./chunk-AKMPF72Y.js";
6
6
  import {
7
7
  listReplies
8
- } from "./chunk-IUVMVNIO.js";
8
+ } from "./chunk-NTBTO4SJ.js";
9
9
  import {
10
10
  disposePty
11
- } from "./chunk-BBI4YQTS.js";
11
+ } from "./chunk-FC5WCLWJ.js";
12
12
  import {
13
13
  saveIgnored,
14
14
  teardownWorktree,
15
15
  worktreeFor
16
- } from "./chunk-KWJ6S4NZ.js";
16
+ } from "./chunk-S5Z247FI.js";
17
17
  import {
18
18
  isLeftover
19
- } from "./chunk-EORL2V7P.js";
19
+ } from "./chunk-IN52DQRN.js";
20
20
  import {
21
21
  shownState
22
- } from "./chunk-BZOYUBK4.js";
22
+ } from "./chunk-XXOOR3IV.js";
23
23
  import {
24
24
  runInternal
25
- } from "./chunk-7BH2PUYY.js";
25
+ } from "./chunk-W3OU74ER.js";
26
26
  import {
27
27
  readPendingForSession
28
- } from "./chunk-LOFGDH5B.js";
28
+ } from "./chunk-IEKDHKGO.js";
29
29
  import {
30
30
  buildFoldersOf,
31
31
  clearBuildFolders
32
- } from "./chunk-T5GJVUSL.js";
32
+ } from "./chunk-KBEP7BJP.js";
33
33
  import {
34
34
  defaultRunner
35
- } from "./chunk-XBWS77S2.js";
35
+ } from "./chunk-OTY7XB5J.js";
36
36
  import {
37
37
  archiveRefFor,
38
38
  archiveSession,
@@ -47,19 +47,19 @@ import {
47
47
  stopDev,
48
48
  stopRunningFrom,
49
49
  turnInProgress
50
- } from "./chunk-XL4YNA3L.js";
50
+ } from "./chunk-NIMROXWE.js";
51
+ import {
52
+ agentOf
53
+ } from "./chunk-B34R6TQO.js";
51
54
  import {
52
55
  sessionIdFor
53
56
  } from "./chunk-QGUBOOEN.js";
54
- import {
55
- agentOf
56
- } from "./chunk-NWKVTUTN.js";
57
57
  import {
58
58
  checkedOutBranch
59
59
  } from "./chunk-Z6ACV5ZQ.js";
60
60
  import {
61
61
  loadConfig
62
- } from "./chunk-ETWP7MDS.js";
62
+ } from "./chunk-FX4KMK4M.js";
63
63
 
64
64
  // src/core/archive/session-archive-deps.ts
65
65
  import fs from "fs";
@@ -288,4 +288,4 @@ export {
288
288
  archiveMergedSession,
289
289
  defaultArchiveDeps
290
290
  };
291
- //# sourceMappingURL=chunk-G4VKMMIC.js.map
291
+ //# sourceMappingURL=chunk-IUOY42LA.js.map
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  DISPLAY_LABEL,
7
7
  displayStatus
8
- } from "./chunk-DK3UMOX7.js";
9
- import {
10
- workCommand
11
- } from "./chunk-HK6AZQ5Z.js";
8
+ } from "./chunk-55MJYS5Q.js";
12
9
  import {
13
10
  atomicWriteFile
14
11
  } from "./chunk-D2J3AD6L.js";
12
+ import {
13
+ workCommand
14
+ } from "./chunk-HK6AZQ5Z.js";
15
15
  import {
16
16
  getConfigDir
17
17
  } from "./chunk-F2ECTTSY.js";
@@ -167,4 +167,4 @@ export {
167
167
  assistantContextReview,
168
168
  readAssistantContext
169
169
  };
170
- //# sourceMappingURL=chunk-XT3FON6A.js.map
170
+ //# sourceMappingURL=chunk-J5NSFIQ5.js.map
@@ -10,11 +10,11 @@ import {
10
10
  } from "./chunk-6KMG4WNW.js";
11
11
  import {
12
12
  spawnSpecFor
13
- } from "./chunk-BBI4YQTS.js";
13
+ } from "./chunk-FC5WCLWJ.js";
14
14
  import {
15
15
  PtyHostClient,
16
16
  ensureHost
17
- } from "./chunk-NREZVTBP.js";
17
+ } from "./chunk-6ER6IBFJ.js";
18
18
  import {
19
19
  sessionIdFor
20
20
  } from "./chunk-QGUBOOEN.js";
@@ -157,4 +157,4 @@ async function attachSession(session, launch = {}) {
157
157
  export {
158
158
  attachSession
159
159
  };
160
- //# sourceMappingURL=chunk-HUGHF45U.js.map
160
+ //# sourceMappingURL=chunk-JIQ2XXFX.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  listProcessUsage
4
- } from "./chunk-XL4YNA3L.js";
4
+ } from "./chunk-NIMROXWE.js";
5
5
  import {
6
6
  isPidAlive,
7
7
  killTreeAsync
@@ -61,4 +61,4 @@ export {
61
61
  startedUnder,
62
62
  stopLeftovers
63
63
  };
64
- //# sourceMappingURL=chunk-M2P722BR.js.map
64
+ //# sourceMappingURL=chunk-JPUNYEQR.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  defaultRunner
4
- } from "./chunk-XBWS77S2.js";
4
+ } from "./chunk-OTY7XB5J.js";
5
5
 
6
6
  // src/core/cleanup/build-folders.ts
7
7
  import fs from "fs";
@@ -113,4 +113,4 @@ export {
113
113
  buildFoldersOf,
114
114
  clearBuildFolders
115
115
  };
116
- //# sourceMappingURL=chunk-T5GJVUSL.js.map
116
+ //# sourceMappingURL=chunk-KBEP7BJP.js.map
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ installSkills
4
+ } from "./chunk-MFZRX6GM.js";
5
+
6
+ // src/commands/install-skills.ts
7
+ import chalk from "chalk";
8
+ async function runInstallSkills() {
9
+ for (const r of await installSkills()) console.log(`work-tree: ${r.agent}: ${r.ok ? r.message : chalk.yellow(r.message)}`);
10
+ }
11
+ var installSkillsCommand = {
12
+ command: "install-skills",
13
+ describe: false,
14
+ handler: runInstallSkills
15
+ };
16
+
17
+ export {
18
+ runInstallSkills,
19
+ installSkillsCommand
20
+ };
21
+ //# sourceMappingURL=chunk-KPAT46RL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/commands/install-skills.ts"],"sourcesContent":["import chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { installSkills } from '../core/agents/skills.js';\n\n/** Give each agent work knows its skills (core/skills.ts) and say how it went, a line per agent. Best-effort: never throws. */\nexport async function runInstallSkills(): Promise<void> {\n for (const r of await installSkills()) console.log(`work-tree: ${r.agent}: ${r.ok ? r.message : chalk.yellow(r.message)}`);\n}\n\n/**\n * `work install-skills` (hidden) — the same by hand. npm's postinstall and\n * the desktop app's first start run dist/install-skills-bin.js, which is\n * only this: not the whole CLI (no logger, nothing written to ~/.work).\n */\nexport const installSkillsCommand: CommandModule = {\n command: 'install-skills',\n describe: false,\n handler: runInstallSkills,\n};\n"],"mappings":";;;;;;AAAA,OAAO,WAAW;AAKlB,eAAsB,mBAAkC;AACtD,aAAW,KAAK,MAAM,cAAc,EAAG,SAAQ,IAAI,cAAc,EAAE,KAAK,KAAK,EAAE,KAAK,EAAE,UAAU,MAAM,OAAO,EAAE,OAAO,CAAC,EAAE;AAC3H;AAOO,IAAM,uBAAsC;AAAA,EACjD,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS;AACX;","names":[]}
@@ -5,13 +5,13 @@ import {
5
5
  samePathKey,
6
6
  scanForRepos,
7
7
  suggestAlias
8
- } from "./chunk-GNIYYXQX.js";
8
+ } from "./chunk-MSXMX7C7.js";
9
9
  import {
10
10
  recordedRepos
11
- } from "./chunk-XL4YNA3L.js";
11
+ } from "./chunk-NIMROXWE.js";
12
12
  import {
13
13
  getConfigPath
14
- } from "./chunk-ETWP7MDS.js";
14
+ } from "./chunk-FX4KMK4M.js";
15
15
  import {
16
16
  atomicWriteFile,
17
17
  withFileLock
@@ -180,4 +180,4 @@ export {
180
180
  deleteGroup,
181
181
  setReviewMode
182
182
  };
183
- //# sourceMappingURL=chunk-HO5KESIB.js.map
183
+ //# sourceMappingURL=chunk-LC44HSCM.js.map
@@ -1,23 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  peekPty
4
- } from "./chunk-BBI4YQTS.js";
4
+ } from "./chunk-FC5WCLWJ.js";
5
5
  import {
6
6
  isLeftover
7
- } from "./chunk-EORL2V7P.js";
7
+ } from "./chunk-IN52DQRN.js";
8
8
  import {
9
9
  sessionStatusView
10
- } from "./chunk-BZOYUBK4.js";
10
+ } from "./chunk-XXOOR3IV.js";
11
11
  import {
12
12
  readPendingForWorktree,
13
13
  scopeStoreIdsForPaths
14
- } from "./chunk-LOFGDH5B.js";
14
+ } from "./chunk-IEKDHKGO.js";
15
15
  import {
16
16
  readStoresComments
17
17
  } from "./chunk-UPS7NHKI.js";
18
18
  import {
19
19
  stageInputOf
20
- } from "./chunk-6S3DYLGH.js";
20
+ } from "./chunk-BLCQOJDB.js";
21
21
  import {
22
22
  STAGE_WANTS_YOU,
23
23
  archiveDirFor,
@@ -37,16 +37,16 @@ import {
37
37
  snoozeActive,
38
38
  stageRepos,
39
39
  withLiveClaude
40
- } from "./chunk-XL4YNA3L.js";
41
- import {
42
- sessionIdFor
43
- } from "./chunk-QGUBOOEN.js";
40
+ } from "./chunk-NIMROXWE.js";
44
41
  import {
45
42
  agentOf,
46
43
  agentWire,
47
44
  bestEffort,
48
45
  readJsonlTail
49
- } from "./chunk-NWKVTUTN.js";
46
+ } from "./chunk-B34R6TQO.js";
47
+ import {
48
+ sessionIdFor
49
+ } from "./chunk-QGUBOOEN.js";
50
50
  import {
51
51
  checkedOutBranch
52
52
  } from "./chunk-Z6ACV5ZQ.js";
@@ -54,7 +54,7 @@ import {
54
54
  DEFAULT_ACCOUNT,
55
55
  getConfigPath,
56
56
  loadConfig
57
- } from "./chunk-ETWP7MDS.js";
57
+ } from "./chunk-FX4KMK4M.js";
58
58
 
59
59
  // src/core/sessions/session-wire.ts
60
60
  import fs2 from "fs";
@@ -428,4 +428,4 @@ export {
428
428
  lastActiveMs,
429
429
  createArchivedRows
430
430
  };
431
- //# sourceMappingURL=chunk-NLU6MBYT.js.map
431
+ //# sourceMappingURL=chunk-LCMLUSBQ.js.map
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  hostOfPrUrl
4
- } from "./chunk-PSALWCBD.js";
4
+ } from "./chunk-4VQJQ6CO.js";
5
5
  import {
6
6
  loadHistory,
7
7
  parsePrLink
8
- } from "./chunk-XL4YNA3L.js";
8
+ } from "./chunk-NIMROXWE.js";
9
9
  import {
10
10
  json,
11
11
  sessionIdFor,
@@ -164,4 +164,4 @@ export {
164
164
  blockRefFrom,
165
165
  blockedPrState
166
166
  };
167
- //# sourceMappingURL=chunk-SF3DIIKN.js.map
167
+ //# sourceMappingURL=chunk-M7GVYIAB.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sessionStatusView
4
- } from "./chunk-BZOYUBK4.js";
4
+ } from "./chunk-XXOOR3IV.js";
5
5
  import {
6
6
  buildDigest,
7
7
  loadHistory,
@@ -11,15 +11,15 @@ import {
11
11
  readStatus,
12
12
  scopeHashForPaths,
13
13
  workSteps
14
- } from "./chunk-XL4YNA3L.js";
15
- import {
16
- sessionIdFor
17
- } from "./chunk-QGUBOOEN.js";
14
+ } from "./chunk-NIMROXWE.js";
18
15
  import {
19
16
  agentOf,
20
17
  lineTimeOf,
21
18
  readJsonlSince
22
- } from "./chunk-NWKVTUTN.js";
19
+ } from "./chunk-B34R6TQO.js";
20
+ import {
21
+ sessionIdFor
22
+ } from "./chunk-QGUBOOEN.js";
23
23
 
24
24
  // src/core/conversations/digest-source.ts
25
25
  function digestWindow(sinceMs, now = Date.now()) {
@@ -99,4 +99,4 @@ function createDigestSource(deps = {}) {
99
99
  export {
100
100
  createDigestSource
101
101
  };
102
- //# sourceMappingURL=chunk-SUHANL3G.js.map
102
+ //# sourceMappingURL=chunk-MC5T6J2V.js.map
@@ -2,10 +2,7 @@
2
2
  import {
3
3
  knownAgents,
4
4
  packageRoot
5
- } from "./chunk-NWKVTUTN.js";
6
-
7
- // src/commands/install-skills.ts
8
- import chalk from "chalk";
5
+ } from "./chunk-B34R6TQO.js";
9
6
 
10
7
  // src/core/agents/skills.ts
11
8
  import fs from "fs";
@@ -15,6 +12,15 @@ function skillsDir() {
15
12
  const dir = root ? path.join(root, "plugins", "work-tree", "skills") : null;
16
13
  return dir && fs.existsSync(path.join(dir, "work-sessions", "SKILL.md")) ? dir : null;
17
14
  }
15
+ function workSessionsSkillText(dir = skillsDir()) {
16
+ if (!dir) return null;
17
+ try {
18
+ const raw = fs.readFileSync(path.join(dir, "work-sessions", "SKILL.md"), "utf8");
19
+ return raw.replace(/^---\r?\n[\s\S]*?\r?\n---\r?\n/, "").trim() || null;
20
+ } catch {
21
+ return null;
22
+ }
23
+ }
18
24
  async function installSkills(agents = knownAgents(), dir = skillsDir()) {
19
25
  const out = [];
20
26
  for (const a of agents) {
@@ -28,18 +34,8 @@ async function installSkills(agents = knownAgents(), dir = skillsDir()) {
28
34
  return out;
29
35
  }
30
36
 
31
- // src/commands/install-skills.ts
32
- async function runInstallSkills() {
33
- for (const r of await installSkills()) console.log(`work-tree: ${r.agent}: ${r.ok ? r.message : chalk.yellow(r.message)}`);
34
- }
35
- var installSkillsCommand = {
36
- command: "install-skills",
37
- describe: false,
38
- handler: runInstallSkills
39
- };
40
-
41
37
  export {
42
- runInstallSkills,
43
- installSkillsCommand
38
+ workSessionsSkillText,
39
+ installSkills
44
40
  };
45
- //# sourceMappingURL=chunk-ZG6HB4BO.js.map
41
+ //# sourceMappingURL=chunk-MFZRX6GM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core/agents/skills.ts"],"sourcesContent":["import fs from 'node:fs';\nimport { packageRoot } from '../platform/package-root.js';\nimport path from 'node:path';\nimport { knownAgents } from './index.js';\nimport type { AgentAdapter } from './types.js';\n\n/**\n * work's skills — how to use `work` (work-sessions) and `wd -c` (wd-review) —\n * are SKILL.md folders under plugins/work-tree/skills, the Agent Skills\n * format. Each agent's adapter makes them available its own way\n * (types.ts `AgentSkills`; Claude's: its plugin marketplace). Run at npm\n * install (scripts/postinstall.mjs → dist/install-skills-bin.js) and by the\n * desktop app's first start; `work install-skills` by hand.\n */\n\n/** The shipped skills folder: plugins/ beside dist/ in the package (or in this repo, in dev). */\nexport function skillsDir(): string | null {\n const root = packageRoot();\n const dir = root ? path.join(root, 'plugins', 'work-tree', 'skills') : null;\n return dir && fs.existsSync(path.join(dir, 'work-sessions', 'SKILL.md')) ? dir : null;\n}\n\n/**\n * The work-sessions skill's text, without its frontmatter (null: not shipped here, unreadable). Every work session's\n * agent is given it when its conversation starts (asked for: \"can we load the work commands knowledge in every work\n * claude session?\" — a skill is read only when the agent thinks to, and coordinators guessed at `work` instead).\n */\nexport function workSessionsSkillText(dir: string | null = skillsDir()): string | null {\n if (!dir) return null;\n try {\n const raw = fs.readFileSync(path.join(dir, 'work-sessions', 'SKILL.md'), 'utf8');\n return raw.replace(/^---\\r?\\n[\\s\\S]*?\\r?\\n---\\r?\\n/, '').trim() || null;\n } catch {\n return null;\n }\n}\n\nexport interface SkillsInstall {\n agent: string;\n ok: boolean;\n message: string;\n}\n\n/** Give every agent work knows that can take skills the shipped ones. Never throws: each agent's outcome is reported. */\nexport async function installSkills(agents: AgentAdapter[] = knownAgents(), dir: string | null = skillsDir()): Promise<SkillsInstall[]> {\n const out: SkillsInstall[] = [];\n for (const a of agents) {\n if (!a.skills) continue;\n // A missing folder is each agent's to judge: Claude's come from its marketplace, not from here.\n try {\n out.push({ agent: a.name, ...(await a.skills.install({ skillsDir: dir })) });\n } catch (err) {\n out.push({ agent: a.name, ok: false, message: (err as Error).message });\n }\n }\n return out;\n}\n"],"mappings":";;;;;;;AAAA,OAAO,QAAQ;AAEf,OAAO,UAAU;AAcV,SAAS,YAA2B;AACzC,QAAM,OAAO,YAAY;AACzB,QAAM,MAAM,OAAO,KAAK,KAAK,MAAM,WAAW,aAAa,QAAQ,IAAI;AACvE,SAAO,OAAO,GAAG,WAAW,KAAK,KAAK,KAAK,iBAAiB,UAAU,CAAC,IAAI,MAAM;AACnF;AAOO,SAAS,sBAAsB,MAAqB,UAAU,GAAkB;AACrF,MAAI,CAAC,IAAK,QAAO;AACjB,MAAI;AACF,UAAM,MAAM,GAAG,aAAa,KAAK,KAAK,KAAK,iBAAiB,UAAU,GAAG,MAAM;AAC/E,WAAO,IAAI,QAAQ,kCAAkC,EAAE,EAAE,KAAK,KAAK;AAAA,EACrE,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AASA,eAAsB,cAAc,SAAyB,YAAY,GAAG,MAAqB,UAAU,GAA6B;AACtI,QAAM,MAAuB,CAAC;AAC9B,aAAW,KAAK,QAAQ;AACtB,QAAI,CAAC,EAAE,OAAQ;AAEf,QAAI;AACF,UAAI,KAAK,EAAE,OAAO,EAAE,MAAM,GAAI,MAAM,EAAE,OAAO,QAAQ,EAAE,WAAW,IAAI,CAAC,EAAG,CAAC;AAAA,IAC7E,SAAS,KAAK;AACZ,UAAI,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,OAAO,SAAU,IAAc,QAAQ,CAAC;AAAA,IACxE;AAAA,EACF;AACA,SAAO;AACT;","names":[]}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  BUILD_DIR_NAMES
4
- } from "./chunk-T5GJVUSL.js";
4
+ } from "./chunk-KBEP7BJP.js";
5
5
 
6
6
  // src/core/worktree/repo-rules.ts
7
7
  var baseName = (p) => p.replace(/[\\/]+$/, "").split(/[\\/]/).pop() ?? p;
@@ -143,4 +143,4 @@ export {
143
143
  readGitConfig,
144
144
  scanForRepos
145
145
  };
146
- //# sourceMappingURL=chunk-GNIYYXQX.js.map
146
+ //# sourceMappingURL=chunk-MSXMX7C7.js.map
@@ -2,13 +2,6 @@
2
2
  import {
3
3
  dayKey
4
4
  } from "./chunk-NEJVK5CF.js";
5
- import {
6
- json,
7
- purgeSessionRows,
8
- sessionIdFor,
9
- tx,
10
- withDb
11
- } from "./chunk-QGUBOOEN.js";
12
5
  import {
13
6
  agentFor,
14
7
  agentOf,
@@ -16,13 +9,20 @@ import {
16
9
  logSwallowed,
17
10
  packageRoot,
18
11
  readJsonlTail
19
- } from "./chunk-NWKVTUTN.js";
12
+ } from "./chunk-B34R6TQO.js";
13
+ import {
14
+ json,
15
+ purgeSessionRows,
16
+ sessionIdFor,
17
+ tx,
18
+ withDb
19
+ } from "./chunk-QGUBOOEN.js";
20
20
  import {
21
21
  workingBranch
22
22
  } from "./chunk-Z6ACV5ZQ.js";
23
23
  import {
24
24
  loadConfig
25
- } from "./chunk-ETWP7MDS.js";
25
+ } from "./chunk-FX4KMK4M.js";
26
26
  import {
27
27
  bootTime,
28
28
  isPidAlive,
@@ -679,15 +679,20 @@ function applyStatusEvent(prev, event, now = /* @__PURE__ */ new Date()) {
679
679
  since: prev?.state === state ? prev.since : ts,
680
680
  summary: summary ?? prev?.summary,
681
681
  seen,
682
- updatedAt: ts
682
+ updatedAt: ts,
683
+ // Lasts the turn (a permission prompt, its answer) and its end: a new prompt starts a turn without it.
684
+ ...prev?.reportedAt && event.kind !== "prompt" ? { reportedAt: prev.reportedAt } : {}
683
685
  });
684
686
  switch (event.kind) {
685
687
  case "prompt":
686
688
  return enter("working", oneLine(event.prompt), true);
687
689
  case "stop": {
688
690
  const ask = event.lastMessage?.match(DECISION_RE);
689
- if (ask) return { ...enter("needs_input", oneLine(ask[1]) ?? "Claude needs a decision", false), since: ts, turnEndedAt: ts };
690
- return { ...enter("idle", oneLine(event.lastMessage), false), since: ts, turnEndedAt: ts };
691
+ if (ask) {
692
+ const { reportedAt: _reported, ...asking } = enter("needs_input", oneLine(ask[1]) ?? "Claude needs a decision", false);
693
+ return { ...asking, since: ts, turnEndedAt: ts };
694
+ }
695
+ return { ...enter("idle", oneLine(event.lastMessage), !!prev?.reportedAt), since: ts, turnEndedAt: ts };
691
696
  }
692
697
  case "notification": {
693
698
  const blocks = event.type ? WAITS_ON_YOU.has(event.type) : !!event.message && NEEDS_INPUT_RE.test(event.message);
@@ -825,6 +830,9 @@ async function markAgentEnded(sessionId, now = /* @__PURE__ */ new Date()) {
825
830
  function agentEnded(reason) {
826
831
  return reason !== "clear" && reason !== "resume";
827
832
  }
833
+ async function markReported(sessionId, now = /* @__PURE__ */ new Date()) {
834
+ await updateStatus(sessionId, (prev) => prev ? { ...prev, reportedAt: now.toISOString() } : prev);
835
+ }
828
836
  async function markSeen(sessionId) {
829
837
  const { next } = await updateStatus(
830
838
  sessionId,
@@ -3420,6 +3428,7 @@ export {
3420
3428
  markAgentStopped,
3421
3429
  markAgentEnded,
3422
3430
  agentEnded,
3431
+ markReported,
3423
3432
  markSeen,
3424
3433
  notifyKindForTransition,
3425
3434
  readSnooze,
@@ -3543,4 +3552,4 @@ export {
3543
3552
  mergeHydratedSessions,
3544
3553
  forgetOtherBaseCheckoutEntries
3545
3554
  };
3546
- //# sourceMappingURL=chunk-XL4YNA3L.js.map
3555
+ //# sourceMappingURL=chunk-NIMROXWE.js.map