@moberg_hr/work-tree 2.22.1 → 2.22.3

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 (211) hide show
  1. package/dist/{account-7QAH33LA.js → account-XM6AGLTP.js} +16 -12
  2. package/dist/account-XM6AGLTP.js.map +1 -0
  3. package/dist/{add-repo-BFHI76SN.js → add-repo-Q2QRLPCY.js} +6 -6
  4. package/dist/{answer-HQVJNI26.js → answer-EN2SUUMI.js} +4 -4
  5. package/dist/{attach-OTWK6PD5.js → attach-WYSTXYA7.js} +8 -8
  6. package/dist/bin.js +2 -2
  7. package/dist/{block-EB22EIRA.js → block-O5XC4JSQ.js} +6 -6
  8. package/dist/{broadcast-BUJ5PWPB.js → broadcast-MT77AQG5.js} +2 -2
  9. package/dist/{catchup-YD3OCG66.js → catchup-WNXY4QRC.js} +7 -7
  10. package/dist/{child-ZN7PG7DR.js → child-4OQQ4RMP.js} +3 -3
  11. package/dist/{chunk-XOA3X4MN.js → chunk-4AAFXLXN.js} +3 -3
  12. package/dist/{chunk-QBB5JDFF.js → chunk-4VM6GMMI.js} +2 -2
  13. package/dist/{chunk-6GQG5CTJ.js → chunk-5TW5NKYZ.js} +5 -5
  14. package/dist/{chunk-MSWU4NDC.js → chunk-66OWGZAF.js} +2 -2
  15. package/dist/{chunk-FGWGPTQC.js → chunk-7TAPYCLF.js} +56 -56
  16. package/dist/{chunk-6UJLYHK5.js → chunk-B4VQXZV4.js} +2 -2
  17. package/dist/{chunk-XT3HB45X.js → chunk-E5N4CJDI.js} +4 -4
  18. package/dist/{chunk-5K33LDOS.js → chunk-EH4H2I72.js} +3 -3
  19. package/dist/{chunk-MAXPKVQM.js → chunk-EXNRUU7Z.js} +3 -3
  20. package/dist/{chunk-FYDBT6AI.js → chunk-GGBFSQEX.js} +2 -2
  21. package/dist/{chunk-3LY3FKBF.js → chunk-HF3ZGAW7.js} +3 -3
  22. package/dist/{chunk-EGYNUNKI.js → chunk-I6GXPPEH.js} +4 -4
  23. package/dist/{chunk-5QJQXRRY.js → chunk-J4CEJOSI.js} +4 -4
  24. package/dist/{chunk-QAK5RTKL.js → chunk-JATQW6OX.js} +3 -3
  25. package/dist/{chunk-THHDB7JN.js → chunk-KSG6RRGI.js} +2 -2
  26. package/dist/{chunk-2YGXGVLV.js → chunk-LVRV5UED.js} +4 -4
  27. package/dist/{chunk-2GIPYZCX.js → chunk-MD4G7DIO.js} +5 -5
  28. package/dist/{chunk-TCKNRYWG.js → chunk-MHKDX7CD.js} +8 -8
  29. package/dist/{chunk-6TY74NY6.js → chunk-MRMFJQZI.js} +5 -5
  30. package/dist/{chunk-ZG3W3DJ3.js → chunk-NHDZ3ECC.js} +43 -11
  31. package/dist/chunk-NHDZ3ECC.js.map +1 -0
  32. package/dist/{chunk-AO2IFRQW.js → chunk-P3QIN44Y.js} +2 -2
  33. package/dist/{chunk-SE3M6KDX.js → chunk-QAAYE6IY.js} +2 -2
  34. package/dist/{chunk-KLUN6KKF.js → chunk-R4DGGYME.js} +2 -2
  35. package/dist/{chunk-UPYZYJPK.js → chunk-RDRQDE6J.js} +2 -2
  36. package/dist/{chunk-FO37VXQE.js → chunk-RE6WWXD6.js} +2 -2
  37. package/dist/{chunk-C4W2VTOP.js → chunk-RFE3HK2L.js} +3 -3
  38. package/dist/{chunk-INPJC2TX.js → chunk-SLA7CB3C.js} +4 -4
  39. package/dist/{chunk-DD4GYEFQ.js → chunk-T4Y2Z6HB.js} +3 -3
  40. package/dist/chunk-TJ5XUAJK.js +9 -0
  41. package/dist/{chunk-AI4BMD74.js → chunk-TZ4BIOMS.js} +3 -3
  42. package/dist/{chunk-IPIVNBKT.js → chunk-VOHPXD2P.js} +2 -2
  43. package/dist/{chunk-EDOYMSIA.js → chunk-VPFWY2GG.js} +1 -1
  44. package/dist/chunk-VPFWY2GG.js.map +1 -0
  45. package/dist/{chunk-S7Z3UJW7.js → chunk-VT6FJG3P.js} +2 -2
  46. package/dist/{chunk-H5SEBLE2.js → chunk-WANJYVUP.js} +2 -2
  47. package/dist/{chunk-IQWUHU2D.js → chunk-WDKHEFR6.js} +3 -3
  48. package/dist/{chunk-H7QMUEEA.js → chunk-WFKL2SJ3.js} +2 -2
  49. package/dist/{chunk-WRINMNRX.js → chunk-XYDGDIGZ.js} +3 -3
  50. package/dist/{chunk-V7TACE53.js → chunk-XZF526OU.js} +14 -6
  51. package/dist/chunk-XZF526OU.js.map +1 -0
  52. package/dist/{chunk-XVE23FA2.js → chunk-YYFYCOGY.js} +3 -3
  53. package/dist/{chunk-42MSD6GF.js → chunk-Z52GYYGA.js} +2 -2
  54. package/dist/{chunk-I2JMZBZY.js → chunk-ZU36UJVG.js} +3 -3
  55. package/dist/{chunk-Z5SKKACK.js → chunk-ZWD3QJLP.js} +2 -2
  56. package/dist/{cleanup-2VQTVWIG.js → cleanup-OZFN7I2N.js} +20 -20
  57. package/dist/{cli-FK3WEKNF.js → cli-RA5CKMTR.js} +3 -3
  58. package/dist/{color-2G5SIVSI.js → color-47LQGPVK.js} +4 -4
  59. package/dist/{config-XBTJVJK3.js → config-U7RPODOW.js} +3 -3
  60. package/dist/{coordinate-S3HTZFMP.js → coordinate-UO432TPP.js} +4 -4
  61. package/dist/{diff-63GBECFI.js → diff-TXGP7XHY.js} +4 -4
  62. package/dist/{digest-367JAS7G.js → digest-OEU7P5GQ.js} +4 -4
  63. package/dist/{fork-ALCUOTFA.js → fork-PBSBRV6J.js} +17 -17
  64. package/dist/{history-JESCVDIU.js → history-WF7Z54MS.js} +2 -2
  65. package/dist/{hook-2Y4UOTZ6.js → hook-7INHBIR6.js} +5 -5
  66. package/dist/{hydrate-F2BZ6K7Y.js → hydrate-RRASKNTO.js} +2 -2
  67. package/dist/{init-QPU6VIYG.js → init-BPQTPNQ4.js} +6 -6
  68. package/dist/{keep-DJRHEEFB.js → keep-G4WED2HV.js} +4 -4
  69. package/dist/{list-5AVOAFXA.js → list-XVLFF6AY.js} +2 -2
  70. package/dist/{move-75DQHXBR.js → move-UXB5XDIY.js} +7 -7
  71. package/dist/{note-VFFRLSIF.js → note-3JZISZMY.js} +4 -4
  72. package/dist/{overlaps-JW7C7MWI.js → overlaps-5VSNWHEA.js} +5 -5
  73. package/dist/{pin-CE63RHI3.js → pin-QJZZZETK.js} +4 -4
  74. package/dist/{pr-ONSSW6J4.js → pr-P5JHMUIS.js} +12 -12
  75. package/dist/{prune-HHTATOOQ.js → prune-7VM47E6R.js} +18 -18
  76. package/dist/{pty-host-UWBE2OIL.js → pty-host-VOE63H3Q.js} +5 -5
  77. package/dist/{read-O72SGX7S.js → read-Y75YWFMD.js} +4 -4
  78. package/dist/{recent-TI6O5KHP.js → recent-O67MPZAU.js} +6 -6
  79. package/dist/{remove-L7YB6227.js → remove-L7UKL4HS.js} +19 -19
  80. package/dist/{report-3YX5PLOE.js → report-F2ASNP5G.js} +3 -3
  81. package/dist/{restart-P352BMWT.js → restart-QJPCIHLM.js} +4 -4
  82. package/dist/{resume-PAHRZPAJ.js → resume-6GHK46FG.js} +6 -6
  83. package/dist/{review-WPHNJ47M.js → review-XUWVO4XU.js} +3 -3
  84. package/dist/{run-3CYZS4BM.js → run-XHU4OPHL.js} +2 -2
  85. package/dist/{screen-YX7C4PXH.js → screen-BE5IFYMV.js} +4 -4
  86. package/dist/{search-3LOJM3G4.js → search-AHBK3Q6S.js} +2 -2
  87. package/dist/{section-RMQAANNH.js → section-VHRFW7OS.js} +4 -4
  88. package/dist/{send-4CKKTNQX.js → send-QN56VR4Q.js} +5 -5
  89. package/dist/{sessions-5WRAWFNI.js → sessions-36NA666U.js} +13 -13
  90. package/dist/{show-VGC7QTGL.js → show-5YRGL7E2.js} +3 -3
  91. package/dist/{snooze-5TASHLGL.js → snooze-YQAIVXJ3.js} +4 -4
  92. package/dist/{start-E7KVWGW6.js → start-RYQVC4AV.js} +4 -4
  93. package/dist/{status-ZO54EQVF.js → status-IJARRSRU.js} +5 -5
  94. package/dist/{stop-XXLTBUCF.js → stop-XUYL3ICW.js} +4 -4
  95. package/dist/{sync-2BTD7U2A.js → sync-ZGU3G5OD.js} +18 -18
  96. package/dist/{time-WHUJH7FC.js → time-AQ3HEFPA.js} +5 -5
  97. package/dist/{timesheet-T575FQNM.js → timesheet-DM2YY3ZP.js} +7 -7
  98. package/dist/{tree-PV6GRIRG.js → tree-2YWTOJEK.js} +16 -16
  99. package/dist/{update-W5KD6237.js → update-7YGHGCW5.js} +9 -9
  100. package/dist/{usage-AB2UAMHM.js → usage-IEH7X5QH.js} +4 -4
  101. package/dist/{wait-BVU2IHP3.js → wait-I4UVNBU2.js} +5 -5
  102. package/dist/wd-bin.js +2 -2
  103. package/dist/web/assets/{PtyView-CI7F38MV.js → PtyView-BPgPdKsH.js} +2 -2
  104. package/dist/web/assets/{PtyView-CI7F38MV.js.map → PtyView-BPgPdKsH.js.map} +1 -1
  105. package/dist/web/assets/{index-C-u0RGnu.css → index-Ca7KbCED.css} +1 -1
  106. package/dist/web/assets/{index-45mmMijZ.js → index-fsWlaZJc.js} +47 -47
  107. package/dist/web/assets/index-fsWlaZJc.js.map +1 -0
  108. package/dist/web/index.html +2 -2
  109. package/dist/{web-B4C2O7GU.js → web-W3YHTTSV.js} +66 -44
  110. package/dist/web-W3YHTTSV.js.map +1 -0
  111. package/npm-shrinkwrap.json +2 -2
  112. package/package.json +1 -1
  113. package/dist/account-7QAH33LA.js.map +0 -1
  114. package/dist/chunk-EDOYMSIA.js.map +0 -1
  115. package/dist/chunk-V7TACE53.js.map +0 -1
  116. package/dist/chunk-VQ63WDRZ.js +0 -9
  117. package/dist/chunk-ZG3W3DJ3.js.map +0 -1
  118. package/dist/web/assets/index-45mmMijZ.js.map +0 -1
  119. package/dist/web-B4C2O7GU.js.map +0 -1
  120. /package/dist/{add-repo-BFHI76SN.js.map → add-repo-Q2QRLPCY.js.map} +0 -0
  121. /package/dist/{answer-HQVJNI26.js.map → answer-EN2SUUMI.js.map} +0 -0
  122. /package/dist/{attach-OTWK6PD5.js.map → attach-WYSTXYA7.js.map} +0 -0
  123. /package/dist/{block-EB22EIRA.js.map → block-O5XC4JSQ.js.map} +0 -0
  124. /package/dist/{broadcast-BUJ5PWPB.js.map → broadcast-MT77AQG5.js.map} +0 -0
  125. /package/dist/{catchup-YD3OCG66.js.map → catchup-WNXY4QRC.js.map} +0 -0
  126. /package/dist/{child-ZN7PG7DR.js.map → child-4OQQ4RMP.js.map} +0 -0
  127. /package/dist/{chunk-XOA3X4MN.js.map → chunk-4AAFXLXN.js.map} +0 -0
  128. /package/dist/{chunk-QBB5JDFF.js.map → chunk-4VM6GMMI.js.map} +0 -0
  129. /package/dist/{chunk-6GQG5CTJ.js.map → chunk-5TW5NKYZ.js.map} +0 -0
  130. /package/dist/{chunk-MSWU4NDC.js.map → chunk-66OWGZAF.js.map} +0 -0
  131. /package/dist/{chunk-FGWGPTQC.js.map → chunk-7TAPYCLF.js.map} +0 -0
  132. /package/dist/{chunk-6UJLYHK5.js.map → chunk-B4VQXZV4.js.map} +0 -0
  133. /package/dist/{chunk-XT3HB45X.js.map → chunk-E5N4CJDI.js.map} +0 -0
  134. /package/dist/{chunk-5K33LDOS.js.map → chunk-EH4H2I72.js.map} +0 -0
  135. /package/dist/{chunk-MAXPKVQM.js.map → chunk-EXNRUU7Z.js.map} +0 -0
  136. /package/dist/{chunk-FYDBT6AI.js.map → chunk-GGBFSQEX.js.map} +0 -0
  137. /package/dist/{chunk-3LY3FKBF.js.map → chunk-HF3ZGAW7.js.map} +0 -0
  138. /package/dist/{chunk-EGYNUNKI.js.map → chunk-I6GXPPEH.js.map} +0 -0
  139. /package/dist/{chunk-5QJQXRRY.js.map → chunk-J4CEJOSI.js.map} +0 -0
  140. /package/dist/{chunk-QAK5RTKL.js.map → chunk-JATQW6OX.js.map} +0 -0
  141. /package/dist/{chunk-THHDB7JN.js.map → chunk-KSG6RRGI.js.map} +0 -0
  142. /package/dist/{chunk-2YGXGVLV.js.map → chunk-LVRV5UED.js.map} +0 -0
  143. /package/dist/{chunk-2GIPYZCX.js.map → chunk-MD4G7DIO.js.map} +0 -0
  144. /package/dist/{chunk-TCKNRYWG.js.map → chunk-MHKDX7CD.js.map} +0 -0
  145. /package/dist/{chunk-6TY74NY6.js.map → chunk-MRMFJQZI.js.map} +0 -0
  146. /package/dist/{chunk-AO2IFRQW.js.map → chunk-P3QIN44Y.js.map} +0 -0
  147. /package/dist/{chunk-SE3M6KDX.js.map → chunk-QAAYE6IY.js.map} +0 -0
  148. /package/dist/{chunk-KLUN6KKF.js.map → chunk-R4DGGYME.js.map} +0 -0
  149. /package/dist/{chunk-UPYZYJPK.js.map → chunk-RDRQDE6J.js.map} +0 -0
  150. /package/dist/{chunk-FO37VXQE.js.map → chunk-RE6WWXD6.js.map} +0 -0
  151. /package/dist/{chunk-C4W2VTOP.js.map → chunk-RFE3HK2L.js.map} +0 -0
  152. /package/dist/{chunk-INPJC2TX.js.map → chunk-SLA7CB3C.js.map} +0 -0
  153. /package/dist/{chunk-DD4GYEFQ.js.map → chunk-T4Y2Z6HB.js.map} +0 -0
  154. /package/dist/{chunk-VQ63WDRZ.js.map → chunk-TJ5XUAJK.js.map} +0 -0
  155. /package/dist/{chunk-AI4BMD74.js.map → chunk-TZ4BIOMS.js.map} +0 -0
  156. /package/dist/{chunk-IPIVNBKT.js.map → chunk-VOHPXD2P.js.map} +0 -0
  157. /package/dist/{chunk-S7Z3UJW7.js.map → chunk-VT6FJG3P.js.map} +0 -0
  158. /package/dist/{chunk-H5SEBLE2.js.map → chunk-WANJYVUP.js.map} +0 -0
  159. /package/dist/{chunk-IQWUHU2D.js.map → chunk-WDKHEFR6.js.map} +0 -0
  160. /package/dist/{chunk-H7QMUEEA.js.map → chunk-WFKL2SJ3.js.map} +0 -0
  161. /package/dist/{chunk-WRINMNRX.js.map → chunk-XYDGDIGZ.js.map} +0 -0
  162. /package/dist/{chunk-XVE23FA2.js.map → chunk-YYFYCOGY.js.map} +0 -0
  163. /package/dist/{chunk-42MSD6GF.js.map → chunk-Z52GYYGA.js.map} +0 -0
  164. /package/dist/{chunk-I2JMZBZY.js.map → chunk-ZU36UJVG.js.map} +0 -0
  165. /package/dist/{chunk-Z5SKKACK.js.map → chunk-ZWD3QJLP.js.map} +0 -0
  166. /package/dist/{cleanup-2VQTVWIG.js.map → cleanup-OZFN7I2N.js.map} +0 -0
  167. /package/dist/{cli-FK3WEKNF.js.map → cli-RA5CKMTR.js.map} +0 -0
  168. /package/dist/{color-2G5SIVSI.js.map → color-47LQGPVK.js.map} +0 -0
  169. /package/dist/{config-XBTJVJK3.js.map → config-U7RPODOW.js.map} +0 -0
  170. /package/dist/{coordinate-S3HTZFMP.js.map → coordinate-UO432TPP.js.map} +0 -0
  171. /package/dist/{diff-63GBECFI.js.map → diff-TXGP7XHY.js.map} +0 -0
  172. /package/dist/{digest-367JAS7G.js.map → digest-OEU7P5GQ.js.map} +0 -0
  173. /package/dist/{fork-ALCUOTFA.js.map → fork-PBSBRV6J.js.map} +0 -0
  174. /package/dist/{history-JESCVDIU.js.map → history-WF7Z54MS.js.map} +0 -0
  175. /package/dist/{hook-2Y4UOTZ6.js.map → hook-7INHBIR6.js.map} +0 -0
  176. /package/dist/{hydrate-F2BZ6K7Y.js.map → hydrate-RRASKNTO.js.map} +0 -0
  177. /package/dist/{init-QPU6VIYG.js.map → init-BPQTPNQ4.js.map} +0 -0
  178. /package/dist/{keep-DJRHEEFB.js.map → keep-G4WED2HV.js.map} +0 -0
  179. /package/dist/{list-5AVOAFXA.js.map → list-XVLFF6AY.js.map} +0 -0
  180. /package/dist/{move-75DQHXBR.js.map → move-UXB5XDIY.js.map} +0 -0
  181. /package/dist/{note-VFFRLSIF.js.map → note-3JZISZMY.js.map} +0 -0
  182. /package/dist/{overlaps-JW7C7MWI.js.map → overlaps-5VSNWHEA.js.map} +0 -0
  183. /package/dist/{pin-CE63RHI3.js.map → pin-QJZZZETK.js.map} +0 -0
  184. /package/dist/{pr-ONSSW6J4.js.map → pr-P5JHMUIS.js.map} +0 -0
  185. /package/dist/{prune-HHTATOOQ.js.map → prune-7VM47E6R.js.map} +0 -0
  186. /package/dist/{pty-host-UWBE2OIL.js.map → pty-host-VOE63H3Q.js.map} +0 -0
  187. /package/dist/{read-O72SGX7S.js.map → read-Y75YWFMD.js.map} +0 -0
  188. /package/dist/{recent-TI6O5KHP.js.map → recent-O67MPZAU.js.map} +0 -0
  189. /package/dist/{remove-L7YB6227.js.map → remove-L7UKL4HS.js.map} +0 -0
  190. /package/dist/{report-3YX5PLOE.js.map → report-F2ASNP5G.js.map} +0 -0
  191. /package/dist/{restart-P352BMWT.js.map → restart-QJPCIHLM.js.map} +0 -0
  192. /package/dist/{resume-PAHRZPAJ.js.map → resume-6GHK46FG.js.map} +0 -0
  193. /package/dist/{review-WPHNJ47M.js.map → review-XUWVO4XU.js.map} +0 -0
  194. /package/dist/{run-3CYZS4BM.js.map → run-XHU4OPHL.js.map} +0 -0
  195. /package/dist/{screen-YX7C4PXH.js.map → screen-BE5IFYMV.js.map} +0 -0
  196. /package/dist/{search-3LOJM3G4.js.map → search-AHBK3Q6S.js.map} +0 -0
  197. /package/dist/{section-RMQAANNH.js.map → section-VHRFW7OS.js.map} +0 -0
  198. /package/dist/{send-4CKKTNQX.js.map → send-QN56VR4Q.js.map} +0 -0
  199. /package/dist/{sessions-5WRAWFNI.js.map → sessions-36NA666U.js.map} +0 -0
  200. /package/dist/{show-VGC7QTGL.js.map → show-5YRGL7E2.js.map} +0 -0
  201. /package/dist/{snooze-5TASHLGL.js.map → snooze-YQAIVXJ3.js.map} +0 -0
  202. /package/dist/{start-E7KVWGW6.js.map → start-RYQVC4AV.js.map} +0 -0
  203. /package/dist/{status-ZO54EQVF.js.map → status-IJARRSRU.js.map} +0 -0
  204. /package/dist/{stop-XXLTBUCF.js.map → stop-XUYL3ICW.js.map} +0 -0
  205. /package/dist/{sync-2BTD7U2A.js.map → sync-ZGU3G5OD.js.map} +0 -0
  206. /package/dist/{time-WHUJH7FC.js.map → time-AQ3HEFPA.js.map} +0 -0
  207. /package/dist/{timesheet-T575FQNM.js.map → timesheet-DM2YY3ZP.js.map} +0 -0
  208. /package/dist/{tree-PV6GRIRG.js.map → tree-2YWTOJEK.js.map} +0 -0
  209. /package/dist/{update-W5KD6237.js.map → update-7YGHGCW5.js.map} +0 -0
  210. /package/dist/{usage-AB2UAMHM.js.map → usage-IEH7X5QH.js.map} +0 -0
  211. /package/dist/{wait-BVU2IHP3.js.map → wait-I4UVNBU2.js.map} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-GNIYYXQX.js";
9
9
  import {
10
10
  recordedRepos
11
- } from "./chunk-EDOYMSIA.js";
11
+ } from "./chunk-VPFWY2GG.js";
12
12
  import {
13
13
  getConfigPath
14
14
  } from "./chunk-3ZPVKUYD.js";
@@ -180,4 +180,4 @@ export {
180
180
  deleteGroup,
181
181
  setReviewMode
182
182
  };
183
- //# sourceMappingURL=chunk-S7Z3UJW7.js.map
183
+ //# sourceMappingURL=chunk-VT6FJG3P.js.map
@@ -35,7 +35,7 @@ import {
35
35
  upsertSession,
36
36
  upsertSessionWithPort,
37
37
  writeArchiveRecord
38
- } from "./chunk-EDOYMSIA.js";
38
+ } from "./chunk-VPFWY2GG.js";
39
39
  import {
40
40
  sessionIdFor
41
41
  } from "./chunk-QGUBOOEN.js";
@@ -1102,4 +1102,4 @@ export {
1102
1102
  teardownWorktree,
1103
1103
  openBaseCheckout
1104
1104
  };
1105
- //# sourceMappingURL=chunk-H5SEBLE2.js.map
1105
+ //# sourceMappingURL=chunk-WANJYVUP.js.map
@@ -3,7 +3,7 @@ import {
3
3
  isEmptyBaseSpec,
4
4
  openBaseCheckout,
5
5
  setupWorktree
6
- } from "./chunk-H5SEBLE2.js";
6
+ } from "./chunk-WANJYVUP.js";
7
7
  import {
8
8
  defaultRunner
9
9
  } from "./chunk-XBWS77S2.js";
@@ -11,7 +11,7 @@ import {
11
11
  findSession,
12
12
  loadHistory,
13
13
  sessionAliases
14
- } from "./chunk-EDOYMSIA.js";
14
+ } from "./chunk-VPFWY2GG.js";
15
15
  import {
16
16
  ownsBranch
17
17
  } from "./chunk-QWD76K3E.js";
@@ -204,4 +204,4 @@ export {
204
204
  createInChild,
205
205
  createInProcess
206
206
  };
207
- //# sourceMappingURL=chunk-IQWUHU2D.js.map
207
+ //# sourceMappingURL=chunk-WDKHEFR6.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-UPS7NHKI.js";
10
10
  import {
11
11
  loadHistory
12
- } from "./chunk-EDOYMSIA.js";
12
+ } from "./chunk-VPFWY2GG.js";
13
13
  import {
14
14
  sessionIdFor,
15
15
  tx,
@@ -186,4 +186,4 @@ export {
186
186
  claimForDelivery,
187
187
  formatPendingForPrompt
188
188
  };
189
- //# sourceMappingURL=chunk-H7QMUEEA.js.map
189
+ //# sourceMappingURL=chunk-WFKL2SJ3.js.map
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  computeRangeDiff
4
- } from "./chunk-IPIVNBKT.js";
4
+ } from "./chunk-VOHPXD2P.js";
5
5
  import {
6
6
  loadManifest
7
- } from "./chunk-EDOYMSIA.js";
7
+ } from "./chunk-VPFWY2GG.js";
8
8
  import {
9
9
  agentSettings,
10
10
  internalAgent
@@ -232,4 +232,4 @@ export {
232
232
  runInternalReadOnly,
233
233
  summarizeCheckpoint
234
234
  };
235
- //# sourceMappingURL=chunk-WRINMNRX.js.map
235
+ //# sourceMappingURL=chunk-XYDGDIGZ.js.map
@@ -1,23 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  peekPty
4
- } from "./chunk-5QJQXRRY.js";
4
+ } from "./chunk-J4CEJOSI.js";
5
5
  import {
6
6
  isLeftover
7
7
  } from "./chunk-EORL2V7P.js";
8
8
  import {
9
9
  sessionStatusView
10
- } from "./chunk-UPYZYJPK.js";
10
+ } from "./chunk-RDRQDE6J.js";
11
11
  import {
12
12
  readPendingForWorktree,
13
13
  scopeStoreIdsForPaths
14
- } from "./chunk-H7QMUEEA.js";
14
+ } from "./chunk-WFKL2SJ3.js";
15
15
  import {
16
16
  readStoresComments
17
17
  } from "./chunk-UPS7NHKI.js";
18
18
  import {
19
19
  stageInputOf
20
- } from "./chunk-INPJC2TX.js";
20
+ } from "./chunk-SLA7CB3C.js";
21
21
  import {
22
22
  STAGE_WANTS_YOU,
23
23
  archiveDirFor,
@@ -37,7 +37,7 @@ import {
37
37
  snoozeActive,
38
38
  stageRepos,
39
39
  withLiveClaude
40
- } from "./chunk-EDOYMSIA.js";
40
+ } from "./chunk-VPFWY2GG.js";
41
41
  import {
42
42
  sessionIdFor
43
43
  } from "./chunk-QGUBOOEN.js";
@@ -239,6 +239,7 @@ function sessionWire(s, opts = {}) {
239
239
  isGroup: s.isGroup,
240
240
  paths: s.paths,
241
241
  repos: wireRepos(s),
242
+ ...isBaseCheckout(s) ? { baseCheckout: true } : {},
242
243
  folder: s.isGroup,
243
244
  baseBranch: s.baseBranch,
244
245
  issueKey: s.issueKey,
@@ -318,6 +319,13 @@ function wireRepos(s, config = repoConfig) {
318
319
  if (recorded) return recorded.map((r) => r.alias);
319
320
  return sessionRepos(s, s.isGroup ? config() : null).map((r) => r.alias);
320
321
  }
322
+ function isBaseCheckout(s, config = repoConfig) {
323
+ if (s.isGroup || !s.paths[0]) return false;
324
+ const repo = config()?.repos[s.target];
325
+ if (!repo) return false;
326
+ const norm = (p) => path.resolve(p).replace(/\\/g, "/").replace(/\/+$/, "").toLowerCase();
327
+ return norm(s.paths[0]) === norm(repo);
328
+ }
321
329
  var configCache = null;
322
330
  function repoConfig() {
323
331
  const file = getConfigPath();
@@ -418,4 +426,4 @@ export {
418
426
  lastActiveMs,
419
427
  createArchivedRows
420
428
  };
421
- //# sourceMappingURL=chunk-V7TACE53.js.map
429
+ //# sourceMappingURL=chunk-XZF526OU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core/sessions/session-wire.ts","../src/core/comments/linked-stores.ts","../src/core/sessions/session-meta.ts","../src/core/conversations/context-usage.ts","../src/core/conversations/session-title.ts"],"sourcesContent":["import { sessionIssue } from '../issues/issue-source.js';\nimport type { SessionLocalReviewWire } from '../api-types.js';\nimport fs from 'node:fs';\nimport { agentOf, agentWire } from '../agents/index.js';\nimport { readStatus } from '../status/session-status.js';\nimport { snoozeActive, type Snooze } from '../rail/snooze.js';\nimport { idleFrom, withLiveClaude } from '../status/session-status.js';\nimport path from 'node:path';\nimport { readSessionMeta } from './session-meta.js';\nimport { checkedOutBranch } from '../git/git-head.js';\nimport { sessionIdFor } from './web-state.js';\nimport { readContextUsage } from '../conversations/context-usage.js';\nimport { bestEffort } from '../platform/best-effort.js';\nimport type { WorktreeSession } from './history.js';\nimport type {\n DiffStat,\n SessionArchiveInfo,\n SessionAttention,\n SessionClaudes,\n SessionWire,\n BlockerWire,\n PrStageWire,\n SessionBranchWire,\n ElsewherePr,\n} from '../api-types.js';\nimport { archiveDirFor, archivedByOf, keptList, readArchive } from '../archive/session-archive.js';\nimport { isArchiving, isRestoring } from '../archive/archiving.js';\nimport { sessionTitle } from '../conversations/session-title.js';\nimport { prStageOf, stageRepos, STAGE_WANTS_YOU, type StagePr } from '../pr/pr-stage.js';\nimport { stageInputOf } from '../pr/branch-work.js';\nimport { isLeftover } from '../worktree/leftover.js';\nimport { recordedRepos, sessionRepos } from './session-repos.js';\nimport { DEFAULT_ACCOUNT, getConfigPath, loadConfig, type WorkConfig } from '../platform/config.js';\n\n/**\n * One session as every client sees it — the dashboard's /api/sessions rows\n * and `work sessions --json` alike: identity, status, activity, comments,\n * context, archive state. Built in one place so the two can't drift.\n */\nexport interface SessionWireOptions {\n /** The session's `+N −M`, when the caller has one (the web cache). */\n diffStatFor?: (id: string, s: WorktreeSession, hasStatus: boolean) => DiffStat | null;\n /** Whether its Claude runs in the PTY host (the CLI asks the host; the\n * web server's pool knows it already). */\n ptyLive?: (id: string) => boolean;\n /** Its running Claudes, wherever they were started (live-claudes.ts). */\n claudesFor?: (id: string) => SessionClaudes | null;\n /** It shares its folder with another session that owns it\n * (shared-folders.ts): the folder's activity isn't this one's. */\n shadowed?: (id: string) => boolean;\n /** Unresolved review threads on its open PRs (the PR watch's last check). */\n reviewThreadsFor?: (id: string) => number;\n /** Reply drafts its Claude wrote for you to post (pr-replies.ts). */\n replyDraftsFor?: (id: string) => number;\n /** Where its own review stands (local-review.ts `row`); null: it has none. */\n localReviewFor?: (id: string) => SessionLocalReviewWire | null;\n /** Where its PR stands (pr-stage.ts over the PR watch's last check), and whether you've seen it there. */\n prStageFor?: (id: string) => PrStageWire | null;\n /** You have notes on it (session-notes.ts). */\n hasNote?: (id: string) => boolean;\n /** What it waits on that isn't done yet (session-blocks.ts). */\n blockedByFor?: (id: string) => BlockerWire[];\n /** The running Claudes were read against a real process list, so \"none\" means none. */\n liveKnown?: boolean;\n /** A Claude of ours runs for it (PTY host), whether or not Claude Code's file shows it yet. */\n hostedLive?: (id: string) => boolean;\n /** A question its agent is stopped at before its first turn (startup-question.ts): it needs you, whatever was recorded. */\n startupQuestionFor?: (id: string) => { what: string; since: string } | null;\n /** A status read from its terminal output, for a tool with no hooks (output-status.ts). */\n outputStatusFor?: (id: string) => SessionAttention | null;\n /** Its snooze, if any (snooze-store.ts); shown only while it holds. */\n snoozeFor?: (id: string) => Snooze | null;\n /** How far behind main — or the session it is stacked on — it is (behind-main.ts's cache). */\n /** `lastActivity`: its agent's last write (ms; 0 none), so a session entered long ago but worked in today counts as in use. */\n behindFor?: (\n id: string,\n s: WorktreeSession,\n lastActivity: number,\n ) => { base: string; commits: number; conflicts: boolean; stacked?: true } | null;\n /** Every branch it worked on, with what's known of each (branch-facts.ts `createSessionBranches`); null when\n * it stayed on one. */\n branchesFor?: (id: string, s: WorktreeSession) => SessionBranchWire[] | null;\n /** Where it sits in a stack (stack-sessions.ts). */\n stackFor?: (id: string) => {\n parent: { id: string; branch: string; title?: string } | null;\n children: number;\n merged?: { id: string; branch: string } | null;\n };\n}\n\nexport function sessionWire(s: WorktreeSession, opts: SessionWireOptions = {}): SessionWire {\n const id = sessionIdFor(s);\n const meta = readSessionMeta(id, s);\n const shadowed = opts.shadowed?.(id) ?? false;\n const claudes = shadowed ? null : (opts.claudesFor?.(id) ?? null);\n const reviewThreads = s.archivedAt ? 0 : (opts.reviewThreadsFor?.(id) ?? 0);\n const replyDrafts = s.archivedAt ? 0 : (opts.replyDraftsFor?.(id) ?? 0);\n const prStage = s.archivedAt ? null : (opts.prStageFor?.(id) ?? null);\n const localReview = s.archivedAt ? null : (opts.localReviewFor?.(id) ?? null);\n const startup = s.archivedAt || shadowed ? null : (opts.startupQuestionFor?.(id) ?? null);\n const wire: SessionWire = {\n id,\n target: s.target,\n branch: s.branch,\n isGroup: s.isGroup,\n paths: s.paths,\n repos: wireRepos(s),\n ...(isBaseCheckout(s) ? { baseCheckout: true as const } : {}),\n folder: s.isGroup,\n baseBranch: s.baseBranch,\n issueKey: s.issueKey,\n // Its issue whatever it came from (a Jira key is one): what a row links to.\n ...(sessionIssue(s) ? { issue: sessionIssue(s)! } : {}),\n createdAt: s.createdAt,\n lastAccessedAt: s.lastAccessedAt,\n draftCount: meta.draftCount,\n commentCount: meta.commentCount,\n claudeCount: meta.claudeCount,\n ptyStatus: opts.ptyLive ? (opts.ptyLive(id) ? 'running' : 'idle') : meta.ptyStatus,\n lastActivity: shadowed ? null : meta.lastActivity,\n // A running Claude is open even when it writes nothing (idle at its prompt).\n activityState: shadowed\n ? 'stale'\n : claudes\n ? claudes.busy\n ? 'active'\n : meta.activityState === 'active'\n ? 'active'\n : 'open'\n : meta.activityState,\n ...(claudes ? { agents: claudes, claudes } : {}),\n agent: agentWire(agentOf(s)),\n // Only a session on an account other than the default says which.\n ...(s.account && s.account !== DEFAULT_ACCOUNT ? { account: s.account } : {}),\n ...(s.archivedAt ? archiveInfo(id) : {}),\n title: bestEffort(\n `title of ${s.target}:${s.branch}`,\n () => sessionTitle(s, s.archivedAt ? readArchive(id)?.summary.prompts[0]?.text : null),\n null,\n ),\n ...(s.title ? { titleIsYours: true } : {}),\n pendingForClaudeCount: meta.pendingForClaudeCount,\n // Stopped at its own question before any turn (no hook says so): it waits for you, whatever was recorded before.\n // Else Claude Code's own state file over what the hooks recorded, when newer.\n attention: startup\n ? { state: 'needs_input', seen: false, since: startup.since, updatedAt: startup.since, stale: false, summary: startup.what }\n : meta.attention && !shadowed && opts.claudesFor\n ? withLiveClaude(meta.attention, claudes, {\n known: opts.liveKnown === true,\n hosted: opts.hostedLive?.(id) ?? true,\n background: () => agentOf(s).conversation?.backgroundWorkSince?.(s, idleFrom(meta.attention!)) ?? null,\n commands: () =>\n bestEffort(\n `background commands of ${s.target}:${s.branch}`,\n () => agentOf(s).conversation?.backgroundCommandNames?.(s, 0) ?? [],\n [],\n ) ?? [],\n })\n : (meta.attention ?? (shadowed || s.archivedAt ? null : (opts.outputStatusFor?.(id) ?? null))),\n diffStat: opts.diffStatFor ? opts.diffStatFor(id, s, meta.attention !== null) : null,\n archivedAt: s.archivedAt ?? null,\n port: s.port ?? null,\n context: s.archivedAt ? null : bestEffort(`context usage for ${s.target}:${s.branch}`, () => readContextUsage(s), null),\n ...(reviewThreads > 0 ? { openReviewThreads: reviewThreads } : {}),\n ...(replyDrafts > 0 ? { replyDrafts } : {}),\n ...(prStage ? { prStage } : {}),\n ...(localReview ? { localReview } : {}),\n ...otherBranches(s),\n };\n // Snoozed: only while it holds (a time not yet reached, or the status it\n // was snoozed in). \"Its status\" is what the hooks recorded — the same the\n // snooze was taken against — not the shown one, which a live Claude's state\n // file can override (that would end a snooze the moment it was set).\n const snooze = s.archivedAt ? null : (opts.snoozeFor?.(id) ?? null);\n if (snooze && snoozeActive(snooze, { attention: readStatus(id), openReviewThreads: wire.openReviewThreads, prStage: wire.prStage }))\n wire.snoozed = { until: snooze.until };\n const behind = s.archivedAt ? null : (opts.behindFor?.(id, s, wire.lastActivity ?? 0) ?? null);\n if (behind && behind.commits > 0) wire.behind = behind;\n const stack = s.archivedAt ? null : (opts.stackFor?.(id) ?? null);\n if (stack?.parent) wire.stackedOn = stack.parent;\n if (stack?.children) wire.stackedChildren = stack.children;\n if (stack?.merged) wire.stackParentMerged = stack.merged;\n const branches = s.archivedAt ? null : (opts.branchesFor?.(id, s) ?? null);\n if (branches?.length) wire.branches = branches;\n if (opts.hasNote?.(id)) wire.hasNote = true;\n if (s.keepAfterMerge && !s.archivedAt) wire.keepAfterMerge = true;\n if (isArchiving(id)) wire.archiving = true;\n if (!s.archivedAt && isAsleep(readStatus(id)?.stoppedAt, wire.ptyStatus === 'running', wire.lastActivity ?? 0)) wire.asleep = true;\n const blockers = s.archivedAt ? [] : (opts.blockedByFor?.(id) ?? []);\n if (blockers.length) wire.blockedBy = blockers;\n return wire;\n}\n\n/**\n * Asleep: work stopped its Claude (idle sleep, `work stop`: `stoppedAt`), it\n * isn't running now, and its conversation wasn't written since — one started\n * again (opened, sent a note, started in a terminal) is awake. Pure.\n */\nexport function isAsleep(stoppedAt: string | undefined, ptyRunning: boolean, lastActivityMs: number): boolean {\n const stopped = stoppedAt ? Date.parse(stoppedAt) : NaN;\n return Number.isFinite(stopped) && !ptyRunning && lastActivityMs <= stopped;\n}\n\n/** The row, marked Restoring while a Restore of it runs (a copy: archived rows are cached). */\nexport function withRestoring(w: SessionWire): SessionWire {\n return isRestoring(w.id) ? { ...w, restoring: true } : w;\n}\n\n/**\n * Its repos' aliases, one per path (`sessionRepos`). A recorded list needs no\n * config; a group's row from before reads the group's members from the\n * config, read once per change of the file (this runs per row of every list).\n */\nexport function wireRepos(\n s: Pick<WorktreeSession, 'target' | 'isGroup' | 'paths' | 'repos'>,\n config: () => Pick<WorkConfig, 'repos' | 'groups'> | null = repoConfig,\n): string[] {\n const recorded = recordedRepos(s);\n if (recorded) return recorded.map((r) => r.alias);\n return sessionRepos(s, s.isGroup ? config() : null).map((r) => r.alias);\n}\n\n/**\n * A repo's own checkout (`work tree api` with no branch), not a worktree work made: its path is the configured repo's\n * (as `baseCheckoutSession`). The Project view puts it first in its project's card. Config read once per change.\n */\nexport function isBaseCheckout(\n s: Pick<WorktreeSession, 'target' | 'isGroup' | 'paths'>,\n config: () => Pick<WorkConfig, 'repos'> | null = repoConfig,\n): boolean {\n if (s.isGroup || !s.paths[0]) return false;\n const repo = config()?.repos[s.target];\n if (!repo) return false;\n const norm = (p: string) => path.resolve(p).replace(/\\\\/g, '/').replace(/\\/+$/, '').toLowerCase();\n return norm(s.paths[0]) === norm(repo);\n}\n\nlet configCache: { key: string; value: Pick<WorkConfig, 'repos' | 'groups'> | null } | null = null;\n\nfunction repoConfig(): Pick<WorkConfig, 'repos' | 'groups'> | null {\n const file = getConfigPath();\n let key: string;\n try {\n const st = fs.statSync(file);\n key = `${file}|${st.size}|${st.mtimeMs}`;\n } catch {\n return null;\n }\n if (configCache?.key === key) return configCache.value;\n const cfg = bestEffort('config for session repos', () => loadConfig(), null);\n configCache = { key, value: cfg ? { repos: cfg.repos, groups: cfg.groups } : null };\n return configCache.value;\n}\n\n/**\n * Repos of the session checked out on another branch than the session's\n * (read from HEAD files, no git). Ship and the PR watch follow the real\n * branch already; this is so the dashboard says so.\n */\nexport function otherBranches(s: Pick<WorktreeSession, 'branch' | 'paths' | 'target' | 'isGroup' | 'archivedAt'>): {\n onOtherBranch?: Array<{ repo: string; branch: string | null; noGit?: true }>;\n} {\n if (s.archivedAt || !s.branch) return {};\n const out: Array<{ repo: string; branch: string | null; noGit?: true }> = [];\n for (const p of s.paths) {\n if (!fs.existsSync(p)) continue;\n // A folder with no git left in it (a removal that stopped halfway) is on no branch at all.\n if (isLeftover(p)) {\n out.push({ repo: s.isGroup ? path.basename(p) : s.target, branch: null, noGit: true });\n continue;\n }\n const branch = checkedOutBranch(p);\n if (branch !== s.branch) out.push({ repo: s.isGroup ? path.basename(p) : s.target, branch });\n }\n return out.length ? { onOtherBranch: out } : {};\n}\n\n/** A session's unresolved review threads, from the PR watch's per-repo counts (open PRs only). */\nexport function reviewThreadsOf(ci: { repos: Array<{ pr: { state: string } | null; openThreads?: number }> } | null | undefined): number {\n return (ci?.repos ?? []).reduce((n, r) => n + (r.pr?.state === 'OPEN' ? (r.openThreads ?? 0) : 0), 0);\n}\n\n/** The `pr_watch_seen` key that says you saw a session at a PR stage. */\nexport const stageSeenKey = (stageKey: string) => `stage:${stageKey}`;\n\n/**\n * A session's PR stage from the PR watch's last check, with `seen` read only\n * for a stage that would bring it back to the Inbox (one lookup, not one per row).\n */\nexport function prStageWire(\n ci:\n | {\n repos: Array<{ name: string; pr: StagePr | null; branch?: string; otherPrs?: Array<{ branch: string; pr: StagePr }> }>;\n elsewhere?: ElsewherePr[];\n }\n | null\n | undefined,\n seen: (key: string) => boolean,\n): PrStageWire | null {\n // Every open PR across the branches it worked on (stageRepos), and its listed PRs in repos it doesn't have.\n const stage = prStageOf(stageRepos(stageInputOf(ci)));\n if (!stage) return null;\n return STAGE_WANTS_YOU.has(stage.kind) && seen(stageSeenKey(stage.key)) ? { ...stage, seen: true } : stage;\n}\n\n/** Saved uncommitted files a Restore hasn't put back yet. */\nfunction savedFiles(saved: Record<string, { files: number; restoredAt?: string; restoreError?: string }> | undefined): {\n savedUncommitted?: number;\n} {\n const n = Object.values(saved ?? {})\n .filter((u) => !u.restoredAt && !u.restoreError)\n .reduce((sum, u) => sum + u.files, 0);\n return n ? { savedUncommitted: n } : {};\n}\n\nfunction archiveInfo(id: string): { archive?: SessionArchiveInfo } {\n const rec = readArchive(id);\n if (!rec) return {};\n const by = archivedByOf(rec);\n const kept = keptList(rec.kept);\n return {\n archive: {\n ...(by ? { by } : {}),\n worktreeRemoved: rec.worktreeRemoved,\n keptBecause: rec.keptBecause,\n promptCount: rec.summary.promptCount,\n prompts: rec.summary.prompts.map((p) => p.text),\n lastSummary: rec.summary.lastSummary,\n ...(rec.summary.written ? { written: rec.summary.written } : {}),\n ...(rec.buildFolders ? { buildFolders: rec.buildFolders } : {}),\n ...savedFiles(rec.uncommitted),\n ...(kept ? { kept } : {}),\n },\n };\n}\n\n/** Newest sign of life (ms): the hook update, Claude's last write, the\n * `work tree` entry — the same rule as the dashboard's \"Last active\". */\nexport function lastActiveMs(w: Pick<SessionWire, 'lastAccessedAt' | 'lastActivity' | 'attention'>): number {\n return Math.max(Date.parse(w.lastAccessedAt) || 0, w.lastActivity ?? 0, w.attention ? Date.parse(w.attention.updatedAt) || 0 : 0);\n}\n\n/**\n * Archived sessions' rows, kept between builds of the list: an archived\n * session doesn't change — its Claude is stopped, its worktree mostly gone —\n * and building its row reads its archive (2/3 of /api/sessions' time with\n * fifty of them). A row is built again when its archive file was written\n * (the summary lands after archiving, a Restore records what came back), it\n * was renamed or entered, or your note on it came or went.\n */\nexport function createArchivedRows(\n archiveFile: (id: string) => string = (id) => path.join(archiveDirFor(id), 'archive.json'),\n): (s: WorktreeSession, extra: { hasNote: boolean }, build: () => SessionWire) => SessionWire {\n const rows = new Map<string, { key: string; row: SessionWire }>();\n return (s, extra, build) => {\n if (!s.archivedAt) return build();\n const id = sessionIdFor(s);\n let mtime = 0;\n try {\n mtime = fs.statSync(archiveFile(id)).mtimeMs;\n } catch {\n /* none yet */\n }\n const key = `${s.archivedAt}|${mtime}|${s.title ?? ''}|${s.lastAccessedAt}|${extra.hasNote}`;\n const hit = rows.get(id);\n if (hit?.key === key) return hit.row;\n const row = build();\n rows.set(id, { key, row });\n return row;\n };\n}\n","import type { WorktreeSession } from '../sessions/history.js';\nimport { sessionIdFor } from '../sessions/session-id.js';\nimport { readStoresComments } from './comment-file-store.js';\nimport { scopeStoreIdsForPaths } from './pending-delivery.js';\nimport type { Comment } from './comment-types.js';\n\n/**\n * One worktree's comments live in two kinds of store: the session's own (the\n * dashboard's Diff tab posts there) and a `wd` scope's (`scope-<hash>`: the\n * browser diff page, `/diff/<hash>`, posts there). Claude was handed both\n * (`readPendingForWorktree`), but each view showed only its own, so a comment\n * made on one wasn't there on the other. Each view now lists its own store\n * first and the linked ones after: the session's view its scope stores, a\n * scope's view the session(s) whose worktree it covers.\n *\n * The stores stay separate — a new `wd -c` run clears its scope's comments\n * (`ensureScope`), which must never clear the session's.\n */\n\n/** A session as these lookups need it: its id (its store's) and its worktree paths. */\nexport interface LinkedSession {\n id: string;\n paths: string[];\n}\n\nexport const linkedSession = (s: WorktreeSession): LinkedSession => ({ id: sessionIdFor(s), paths: s.paths });\n\n/** The session's store, then every scope store over its paths. */\nexport function sessionLinkedStoreIds(session: LinkedSession): string[] {\n return [session.id, ...scopeStoreIdsForPaths(session.paths)];\n}\n\n/** The scope's store, then each session whose paths that scope covers (the whole worktree, or one repo of a group). */\nexport function scopeLinkedStoreIds(hash: string, sessions: LinkedSession[]): string[] {\n const own = `scope-${hash}`;\n return [own, ...new Set(sessions.filter((s) => scopeStoreIdsForPaths(s.paths).includes(own)).map((s) => s.id))];\n}\n\nexport type Read = (storeId: string) => Comment[];\n\n/** These stores read in one query (they're mostly empty: a scope store has rows only once its page was commented on). */\nexport function readerFor(storeIds: string[]): Read {\n const rows = readStoresComments(storeIds);\n return (id) => rows.get(id) ?? [];\n}\n\n/**\n * Every comment the view shows: the first store's whole, the linked ones'\n * without their drafts (a draft is that view's unsent review; this view's\n * Submit wouldn't send it). Oldest first, each comment once.\n */\nexport function linkedComments(storeIds: string[], read: Read = readerFor(storeIds)): Comment[] {\n const seen = new Set<string>();\n const out: Comment[] = [];\n storeIds.forEach((id, i) => {\n for (const c of read(id)) {\n if (seen.has(c.id) || (i > 0 && c.status === 'draft')) continue;\n seen.add(c.id);\n out.push(c);\n }\n });\n return out.sort((a, b) => a.createdAt.localeCompare(b.createdAt));\n}\n\n/** Which of these stores holds the comment (a delete, a resolve or a reply acts there), or null. */\nexport function storeHolding(storeIds: string[], commentId: string, read: Read = readerFor(storeIds)): string | null {\n return storeIds.find((id) => read(id).some((c) => c.id === commentId)) ?? null;\n}\n\n/** Who to tell a store changed: the sessions and scopes whose views list it. */\nexport function viewersOf(storeId: string, sessions: LinkedSession[]): { sessionIds: string[]; scopeHashes: string[] } {\n if (storeId.startsWith('scope-')) {\n return {\n sessionIds: [...new Set(sessions.filter((s) => scopeStoreIdsForPaths(s.paths).includes(storeId)).map((s) => s.id))],\n scopeHashes: [storeId.slice('scope-'.length)],\n };\n }\n const session = sessions.find((s) => s.id === storeId);\n return {\n sessionIds: [storeId],\n scopeHashes: session ? scopeStoreIdsForPaths(session.paths).map((id) => id.slice('scope-'.length)) : [],\n };\n}\n\n/** How a front-end tells a view its comments changed: a session's Diff tab by id, a scope page on its own stream. */\nexport interface Tell {\n session: (sessionId: string, data: Record<string, unknown>) => void;\n scope: (scopeHash: string, data: Record<string, unknown>) => void;\n}\n\n/** A store changed: every view listing it is told (both comment routes use this, so they can't drift apart). */\nexport function announceChange(storeId: string, sessions: LinkedSession[], tell: Tell, data: Record<string, unknown>): void {\n const { sessionIds, scopeHashes } = viewersOf(storeId, sessions);\n for (const sessionId of sessionIds) tell.session(sessionId, { ...data, sessionId });\n for (const scopeHash of scopeHashes) tell.scope(scopeHash, { ...data, scopeHash });\n}\n","import { peekPty } from '../pty/pty-pool.js';\nimport { sessionStatusView } from '../status/turn-activity.js';\nimport type { ActivityState } from '../api-types.js';\nimport { readSessionActivity } from './session-activity.js';\nimport { linkedComments, sessionLinkedStoreIds } from '../comments/linked-stores.js';\nimport { readPendingForWorktree } from '../comments/pending-delivery.js';\nimport type { WorktreeSession } from './history.js';\nimport { readStatus, type EffectiveStatus } from '../status/session-status.js';\n\nexport type { PtyStatus } from '../api-types.js';\nimport type { PtyStatus } from '../api-types.js';\n\nexport interface SessionMeta {\n draftCount: number;\n /** Open comment threads (top-level, not resolved): the Diff tab's badge. */\n commentCount: number;\n /** Comments authored by claude — used by the client to compute unread. */\n claudeCount: number;\n /** Set when *our* PTY pool has a live Claude for this session. Doesn't\n * catch external terminals — `activityState` does. */\n ptyStatus: PtyStatus;\n /** ms since epoch of Claude's last write across this worktree, or null. */\n lastActivity: number | null;\n /** Derived from `lastActivity`: 'active' (≤30 s), 'open' (≤5 min), 'stale'. */\n activityState: ActivityState;\n /** Published user comments not yet surfaced to Claude via the\n * UserPromptSubmit hook. Drops to zero after Claude takes its next turn. */\n pendingForClaudeCount: number;\n /** Hook-driven agent status for the attention inbox; null until the\n * session's Claude has fired a hook under a full `work web`. */\n attention: EffectiveStatus | null;\n}\n\n/**\n * Cheap per-session metadata. Goes through the file-store cache so badge\n * counts reflect in-flight writes that haven't yet hit disk — reading the\n * raw JSON behind the cache's back produced stale counts under load.\n *\n * `session` is required because we need the worktree paths to look up\n * Claude's transcript directory (the sessionId hash alone isn't enough).\n */\nexport function readSessionMeta(sessionId: string, session: WorktreeSession): SessionMeta {\n // As the Diff tab lists them: with those made on the browser diff page (linked-stores.ts).\n const comments = linkedComments(sessionLinkedStoreIds({ id: sessionId, paths: session.paths }));\n let drafts = 0;\n let claude = 0;\n let open = 0;\n for (const c of comments) {\n if (c.status === 'draft') drafts++;\n if (c.author === 'claude') claude++;\n // The Diff tab's badge: threads still open. One Claude worked through is resolved (resolveAddressed).\n if (!c.parentId && !c.resolved) open++;\n }\n const activity = readSessionActivity(session);\n // What the hooks will hand over: the session's and its scopes' (readPendingForWorktree), as the badges count.\n const pending = readPendingForWorktree(session, sessionId).length;\n const status = readStatus(sessionId);\n return {\n draftCount: drafts,\n commentCount: open,\n claudeCount: claude,\n ptyStatus: peekPty(sessionId) ? 'running' : 'idle',\n lastActivity: activity.lastActivity,\n activityState: activity.state,\n pendingForClaudeCount: pending,\n attention: status ? sessionStatusView(status, session, activity.lastActivity ?? 0) : null,\n };\n}\n","import { readJsonlTail } from './jsonl.js';\nimport { agentOf } from '../agents/index.js';\nimport type { ConversationEntry } from '../agents/types.js';\nimport type { ContextUsage } from '../api-types.js';\nimport type { WorktreeSession } from '../sessions/session-types.js';\n\nexport type { ContextUsage } from '../api-types.js';\n\n/**\n * How full a session's conversation is. Every assistant message in the\n * transcript carries the token usage of the request that produced it, so\n * the newest one says how big the context is now: its prompt (input +\n * cache reads + cache writes) plus its reply, which the next turn carries.\n * Near the window Claude Code compacts the conversation, and answers get\n * worse before that — the dashboard shows when to start fresh.\n */\n\n/** From conversation entries (oldest first): the newest main-thread usage, in the agent's window (`window`). */\nexport function contextUsageFrom(\n entries: readonly ConversationEntry[],\n window: (model: string | undefined, used: number) => number,\n): ContextUsage | null {\n for (let i = entries.length - 1; i >= 0; i--) {\n const e = entries[i];\n // Subagent (Task) turns run in their own context.\n if (e.role !== 'agent' || e.sidechain || !e.usage) continue;\n const used = e.usage.prompt + e.usage.reply;\n if (used === 0) continue;\n return { used, window: window(e.model, used), ...(e.model ? { model: e.model } : {}) };\n }\n return null;\n}\n\n// Claude Code's transcript files, for the callers that still read Claude's own records (turn activity): agents/claude-files.ts.\nexport type { ConversationFile as TranscriptFile } from '../agents/types.js';\n\n/** Only the tail is read — a usage line is always near the end. */\nconst USAGE_TAIL_BYTES = 64 * 1024;\nconst cache = new Map<string, { key: string; usage: ContextUsage | null }>();\n\n/** The session's context usage now, through its agent; re-reads a conversation only after it changed. Null when work can't read its agent's conversations. */\nexport function readContextUsage(session: WorktreeSession): ContextUsage | null {\n const conv = agentOf(session).conversation;\n if (!conv) return null;\n let t: { file: string; size: number; mtimeMs: number } | null = null;\n for (const f of conv.files(session)) if (!t || f.mtimeMs > t.mtimeMs) t = f;\n if (!t) return null;\n const key = `${t.file}:${t.size}:${t.mtimeMs}`;\n const id = session.paths.join('|');\n const hit = cache.get(id);\n if (hit?.key === key) return hit.usage;\n const usage = contextUsageFrom(conv.entries(readJsonlTail(t.file, USAGE_TAIL_BYTES)), conv.contextWindow);\n cache.set(id, { key, usage });\n return usage;\n}\n","import fs from 'node:fs';\nimport { promptsSince } from './digest.js';\nimport { agentOf } from '../agents/index.js';\nimport type { ConversationEntry } from '../agents/types.js';\nimport type { WorktreeSession } from '../sessions/session-types.js';\n\n/**\n * A human name for a session, beside its branch: the name you gave it, or\n * else what you first asked its Claude (\"Rotate the terminal encryption\n * keys\"), or else its Jira key. Worked out when read — the first prompt is\n * read from the start of its oldest transcript, cached per file — so a GET\n * writes nothing; only a rename is stored.\n */\n\nconst TITLE_CHARS = 80;\nconst HEAD_BYTES = 256 * 1024;\nconst cache = new Map<string, { size: number; title: string | null }>();\n\n/** The first prompt in a conversation file (read from its start), its lines read by `toEntries` (the agent's). */\nexport function firstPromptOf(file: string, toEntries: (lines: readonly unknown[]) => ConversationEntry[]): string | null {\n let size: number;\n try {\n size = fs.statSync(file).size;\n } catch {\n return null;\n }\n const hit = cache.get(file);\n // The start of a file doesn't change as it grows, unless it was replaced\n // (smaller). \"No prompt in it\" holds as long as the file is the same, or\n // its whole head was read already: re-reading 256 KB of every such\n // transcript on every session-list build cost the most of all.\n if (hit && size >= hit.size && (hit.title !== null || size === hit.size || hit.size >= HEAD_BYTES)) return hit.title;\n let text: string;\n try {\n const fd = fs.openSync(file, 'r');\n try {\n const buf = Buffer.alloc(Math.min(size, HEAD_BYTES));\n fs.readSync(fd, buf, 0, buf.length, 0);\n text = buf.toString('utf8');\n } finally {\n fs.closeSync(fd);\n }\n } catch {\n return null;\n }\n const lines: unknown[] = [];\n for (const line of text.split('\\n')) {\n try {\n lines.push(JSON.parse(line));\n } catch {\n /* the last, cut-off line */\n }\n }\n const first = promptsSince([toEntries(lines)], 0)[0]?.text ?? null;\n const readable = first ? titleText(first) : null;\n const title = readable ? clip(readable) : null;\n cache.set(file, { size, title });\n return title;\n}\n\nconst clip = (s: string) => (s.length > TITLE_CHARS ? s.slice(0, TITLE_CHARS - 1).trimEnd() + '…' : s);\n\n/**\n * A prompt as a name: what you wrote, without markup. A pasted block\n * (`<pasted_content …>…</pasted_content>`, a log or code you pasted) is left\n * out when you also wrote something; a prompt that is only a paste keeps its\n * text. Other tags are dropped, their text kept. Null when nothing is left.\n */\nexport function titleText(prompt: string): string | null {\n const flat = (s: string) =>\n s\n .replace(/<\\/?[A-Za-z][\\w-]*(?:\\s[^>]*)?>/g, ' ')\n .replace(/\\s+/g, ' ')\n .trim();\n const outside = flat(prompt.replace(/<pasted_content\\b[^>]*>[\\s\\S]*?<\\/pasted_content>/g, ' '));\n const text = outside || flat(prompt);\n return text ? text : null;\n}\n\n/** The session's name: yours, else its first prompt, else its Jira key. */\nexport function sessionTitle(s: WorktreeSession, fallbackPrompt?: string | null): string | null {\n if (s.title?.trim()) return s.title.trim();\n const conv = agentOf(s).conversation;\n const oldestFirst = (conv?.files(s) ?? []).sort((a, b) => a.mtimeMs - b.mtimeMs);\n for (const t of oldestFirst) {\n const p = firstPromptOf(t.file, conv!.entries);\n if (p) return p;\n }\n const fallback = fallbackPrompt ? titleText(fallbackPrompt) : null;\n if (fallback) return clip(fallback);\n return s.issueKey ?? null;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOA,SAAQ;AAKf,OAAO,UAAU;;;ACkBV,IAAM,gBAAgB,CAAC,OAAuC,EAAE,IAAI,aAAa,CAAC,GAAG,OAAO,EAAE,MAAM;AAGpG,SAAS,sBAAsB,SAAkC;AACtE,SAAO,CAAC,QAAQ,IAAI,GAAG,sBAAsB,QAAQ,KAAK,CAAC;AAC7D;AAGO,SAAS,oBAAoB,MAAc,UAAqC;AACrF,QAAM,MAAM,SAAS,IAAI;AACzB,SAAO,CAAC,KAAK,GAAG,IAAI,IAAI,SAAS,OAAO,CAAC,MAAM,sBAAsB,EAAE,KAAK,EAAE,SAAS,GAAG,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAChH;AAKO,SAAS,UAAU,UAA0B;AAClD,QAAM,OAAO,mBAAmB,QAAQ;AACxC,SAAO,CAAC,OAAO,KAAK,IAAI,EAAE,KAAK,CAAC;AAClC;AAOO,SAAS,eAAe,UAAoB,OAAa,UAAU,QAAQ,GAAc;AAC9F,QAAM,OAAO,oBAAI,IAAY;AAC7B,QAAM,MAAiB,CAAC;AACxB,WAAS,QAAQ,CAAC,IAAI,MAAM;AAC1B,eAAW,KAAK,KAAK,EAAE,GAAG;AACxB,UAAI,KAAK,IAAI,EAAE,EAAE,KAAM,I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OAAO,UAAU;AAC1B,QAAI,CAAC,EAAE,WAAY,QAAO,MAAM;AAChC,UAAM,KAAK,aAAa,CAAC;AACzB,QAAI,QAAQ;AACZ,QAAI;AACF,cAAQA,IAAG,SAAS,YAAY,EAAE,CAAC,EAAE;AAAA,IACvC,QAAQ;AAAA,IAER;AACA,UAAM,MAAM,GAAG,EAAE,UAAU,IAAI,KAAK,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,IAAI,MAAM,OAAO;AAC1F,UAAM,MAAM,KAAK,IAAI,EAAE;AACvB,QAAI,KAAK,QAAQ,IAAK,QAAO,IAAI;AACjC,UAAM,MAAM,MAAM;AAClB,SAAK,IAAI,IAAI,EAAE,KAAK,IAAI,CAAC;AACzB,WAAO;AAAA,EACT;AACF;","names":["fs","cache","fs"]}
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  computeDiff,
4
4
  isInsideRoot
5
- } from "./chunk-IPIVNBKT.js";
5
+ } from "./chunk-VOHPXD2P.js";
6
6
  import {
7
7
  createFsWatcher,
8
8
  loadHistory
9
- } from "./chunk-EDOYMSIA.js";
9
+ } from "./chunk-VPFWY2GG.js";
10
10
  import {
11
11
  packageRoot
12
12
  } from "./chunk-LNHSBM4L.js";
@@ -535,4 +535,4 @@ export {
535
535
  submitReviewSchema,
536
536
  resolveSchema
537
537
  };
538
- //# sourceMappingURL=chunk-XVE23FA2.js.map
538
+ //# sourceMappingURL=chunk-YYFYCOGY.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  isFolderSession,
4
4
  sessionRepos
5
- } from "./chunk-EDOYMSIA.js";
5
+ } from "./chunk-VPFWY2GG.js";
6
6
 
7
7
  // src/core/worktree/add-repo-rules.ts
8
8
  import path from "path";
@@ -36,4 +36,4 @@ export {
36
36
  addRepoRefusal,
37
37
  addedRepoNote
38
38
  };
39
- //# sourceMappingURL=chunk-42MSD6GF.js.map
39
+ //# sourceMappingURL=chunk-Z52GYYGA.js.map
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sessionTokens
4
- } from "./chunk-KLUN6KKF.js";
4
+ } from "./chunk-R4DGGYME.js";
5
5
  import {
6
6
  agedWindow
7
7
  } from "./chunk-LK7HJGUC.js";
8
8
  import {
9
9
  lastConversationWriteMs,
10
10
  loadHistory
11
- } from "./chunk-EDOYMSIA.js";
11
+ } from "./chunk-VPFWY2GG.js";
12
12
  import {
13
13
  dayKey
14
14
  } from "./chunk-NEJVK5CF.js";
@@ -155,4 +155,4 @@ export {
155
155
  setupAgentUsage,
156
156
  restoreAgentUsage
157
157
  };
158
- //# sourceMappingURL=chunk-I2JMZBZY.js.map
158
+ //# sourceMappingURL=chunk-ZU36UJVG.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  findSessionForCwd
4
- } from "./chunk-H7QMUEEA.js";
4
+ } from "./chunk-WFKL2SJ3.js";
5
5
  import {
6
6
  sessionIdFor
7
7
  } from "./chunk-QGUBOOEN.js";
@@ -40,4 +40,4 @@ export {
40
40
  agentsBySession,
41
41
  summarizeAgents
42
42
  };
43
- //# sourceMappingURL=chunk-Z5SKKACK.js.map
43
+ //# sourceMappingURL=chunk-ZWD3QJLP.js.map
@@ -6,52 +6,52 @@ import {
6
6
  deleteMergedBranches,
7
7
  findMergedBranches,
8
8
  scanBuildFolders
9
- } from "./chunk-6GQG5CTJ.js";
9
+ } from "./chunk-5TW5NKYZ.js";
10
10
  import {
11
11
  defaultCleanupDeps
12
- } from "./chunk-6TY74NY6.js";
12
+ } from "./chunk-MRMFJQZI.js";
13
13
  import {
14
14
  timeAgo
15
15
  } from "./chunk-UQ35KLHH.js";
16
- import "./chunk-Z5SKKACK.js";
17
- import "./chunk-TCKNRYWG.js";
16
+ import "./chunk-ZWD3QJLP.js";
17
+ import "./chunk-MHKDX7CD.js";
18
18
  import {
19
19
  applyCleanup,
20
20
  scanCleanup
21
21
  } from "./chunk-AKMPF72Y.js";
22
- import "./chunk-2YGXGVLV.js";
23
- import "./chunk-3LY3FKBF.js";
22
+ import "./chunk-LVRV5UED.js";
23
+ import "./chunk-HF3ZGAW7.js";
24
24
  import "./chunk-ICEP4WAK.js";
25
- import "./chunk-5QJQXRRY.js";
25
+ import "./chunk-J4CEJOSI.js";
26
26
  import "./chunk-VRMALBZK.js";
27
- import "./chunk-FYDBT6AI.js";
27
+ import "./chunk-GGBFSQEX.js";
28
28
  import "./chunk-OHX7WKZU.js";
29
29
  import "./chunk-DLV7TRON.js";
30
- import "./chunk-H5SEBLE2.js";
30
+ import "./chunk-WANJYVUP.js";
31
31
  import "./chunk-Y7PWSACJ.js";
32
32
  import "./chunk-EORL2V7P.js";
33
- import "./chunk-UPYZYJPK.js";
34
- import "./chunk-WRINMNRX.js";
35
- import "./chunk-IPIVNBKT.js";
33
+ import "./chunk-RDRQDE6J.js";
34
+ import "./chunk-XYDGDIGZ.js";
35
+ import "./chunk-VOHPXD2P.js";
36
36
  import "./chunk-SJBEIYLK.js";
37
- import "./chunk-QBB5JDFF.js";
37
+ import "./chunk-4VM6GMMI.js";
38
38
  import "./chunk-7E5XPDKX.js";
39
- import "./chunk-SE3M6KDX.js";
40
- import "./chunk-H7QMUEEA.js";
39
+ import "./chunk-QAAYE6IY.js";
40
+ import "./chunk-WFKL2SJ3.js";
41
41
  import "./chunk-ZSHWP2VS.js";
42
42
  import "./chunk-UPS7NHKI.js";
43
43
  import "./chunk-HUXS3VAI.js";
44
44
  import "./chunk-LM2T5OR3.js";
45
- import "./chunk-INPJC2TX.js";
46
- import "./chunk-AO2IFRQW.js";
47
- import "./chunk-FO37VXQE.js";
45
+ import "./chunk-SLA7CB3C.js";
46
+ import "./chunk-P3QIN44Y.js";
47
+ import "./chunk-RE6WWXD6.js";
48
48
  import "./chunk-FGPXMAYU.js";
49
49
  import "./chunk-MJIYIMPI.js";
50
50
  import "./chunk-GNIYYXQX.js";
51
51
  import "./chunk-T5GJVUSL.js";
52
52
  import "./chunk-XBWS77S2.js";
53
53
  import "./chunk-4CXUVBOD.js";
54
- import "./chunk-EDOYMSIA.js";
54
+ import "./chunk-VPFWY2GG.js";
55
55
  import "./chunk-NEJVK5CF.js";
56
56
  import "./chunk-QGUBOOEN.js";
57
57
  import "./chunk-LNHSBM4L.js";
@@ -221,4 +221,4 @@ var cleanupCommand = {
221
221
  export {
222
222
  cleanupCommand
223
223
  };
224
- //# sourceMappingURL=cleanup-2VQTVWIG.js.map
224
+ //# sourceMappingURL=cleanup-OZFN7I2N.js.map
@@ -3,8 +3,8 @@ import {
3
3
  COMMANDS,
4
4
  commandsFor,
5
5
  run
6
- } from "./chunk-FGWGPTQC.js";
7
- import "./chunk-VQ63WDRZ.js";
6
+ } from "./chunk-7TAPYCLF.js";
7
+ import "./chunk-TJ5XUAJK.js";
8
8
  import "./chunk-IPHADNF5.js";
9
9
  import "./chunk-JYWX2N5W.js";
10
10
  import "./chunk-3ZPVKUYD.js";
@@ -17,4 +17,4 @@ export {
17
17
  commandsFor,
18
18
  run
19
19
  };
20
- //# sourceMappingURL=cli-FK3WEKNF.js.map
20
+ //# sourceMappingURL=cli-RA5CKMTR.js.map
@@ -6,13 +6,13 @@ import {
6
6
  import {
7
7
  sessionFromArgs,
8
8
  sessionPositionals
9
- } from "./chunk-XOA3X4MN.js";
9
+ } from "./chunk-4AAFXLXN.js";
10
10
  import "./chunk-6AQRYLOB.js";
11
- import "./chunk-H7QMUEEA.js";
11
+ import "./chunk-WFKL2SJ3.js";
12
12
  import "./chunk-ZSHWP2VS.js";
13
13
  import "./chunk-UPS7NHKI.js";
14
14
  import "./chunk-HUXS3VAI.js";
15
- import "./chunk-EDOYMSIA.js";
15
+ import "./chunk-VPFWY2GG.js";
16
16
  import "./chunk-NEJVK5CF.js";
17
17
  import {
18
18
  sessionIdFor
@@ -67,4 +67,4 @@ var colorCommand = {
67
67
  export {
68
68
  colorCommand
69
69
  };
70
- //# sourceMappingURL=color-2G5SIVSI.js.map
70
+ //# sourceMappingURL=color-47LQGPVK.js.map
@@ -3,7 +3,7 @@ import {
3
3
  RepoAdminError,
4
4
  enrollRepo,
5
5
  repoInventory
6
- } from "./chunk-S7Z3UJW7.js";
6
+ } from "./chunk-VT6FJG3P.js";
7
7
  import {
8
8
  openInEditor
9
9
  } from "./chunk-GRHVKD2K.js";
@@ -15,7 +15,7 @@ import "./chunk-XBWS77S2.js";
15
15
  import "./chunk-4CXUVBOD.js";
16
16
  import {
17
17
  loadHistory
18
- } from "./chunk-EDOYMSIA.js";
18
+ } from "./chunk-VPFWY2GG.js";
19
19
  import "./chunk-NEJVK5CF.js";
20
20
  import "./chunk-QGUBOOEN.js";
21
21
  import {
@@ -422,4 +422,4 @@ function showGroupHelp() {
422
422
  export {
423
423
  configCommand
424
424
  };
425
- //# sourceMappingURL=config-XBTJVJK3.js.map
425
+ //# sourceMappingURL=config-U7RPODOW.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  sessionFromArgs,
4
4
  sessionPositionals
5
- } from "./chunk-XOA3X4MN.js";
5
+ } from "./chunk-4AAFXLXN.js";
6
6
  import "./chunk-6AQRYLOB.js";
7
7
  import {
8
8
  MAX_CHILDREN,
@@ -11,14 +11,14 @@ import {
11
11
  releaseChild,
12
12
  setCoordinator
13
13
  } from "./chunk-VQDE3DRG.js";
14
- import "./chunk-H7QMUEEA.js";
14
+ import "./chunk-WFKL2SJ3.js";
15
15
  import "./chunk-ZSHWP2VS.js";
16
16
  import "./chunk-UPS7NHKI.js";
17
17
  import "./chunk-HUXS3VAI.js";
18
18
  import {
19
19
  findSession,
20
20
  loadHistory
21
- } from "./chunk-EDOYMSIA.js";
21
+ } from "./chunk-VPFWY2GG.js";
22
22
  import "./chunk-NEJVK5CF.js";
23
23
  import {
24
24
  sessionIdFor
@@ -119,4 +119,4 @@ var coordinateCommand = {
119
119
  export {
120
120
  coordinateCommand
121
121
  };
122
- //# sourceMappingURL=coordinate-S3HTZFMP.js.map
122
+ //# sourceMappingURL=coordinate-UO432TPP.js.map
@@ -9,10 +9,10 @@ import {
9
9
  resolveWebRoot,
10
10
  startDiffServer,
11
11
  submitReviewSchema
12
- } from "./chunk-XVE23FA2.js";
12
+ } from "./chunk-YYFYCOGY.js";
13
13
  import {
14
14
  computeDiff
15
- } from "./chunk-IPIVNBKT.js";
15
+ } from "./chunk-VOHPXD2P.js";
16
16
  import {
17
17
  existingWebDecision,
18
18
  readWebUrl,
@@ -29,7 +29,7 @@ import {
29
29
  openUrl
30
30
  } from "./chunk-GRHVKD2K.js";
31
31
  import "./chunk-4CXUVBOD.js";
32
- import "./chunk-EDOYMSIA.js";
32
+ import "./chunk-VPFWY2GG.js";
33
33
  import "./chunk-NEJVK5CF.js";
34
34
  import "./chunk-QGUBOOEN.js";
35
35
  import "./chunk-LNHSBM4L.js";
@@ -592,4 +592,4 @@ export {
592
592
  resolveWorkBinPath,
593
593
  webServerResponds
594
594
  };
595
- //# sourceMappingURL=diff-63GBECFI.js.map
595
+ //# sourceMappingURL=diff-TXGP7XHY.js.map
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createDigestSource
4
- } from "./chunk-QAK5RTKL.js";
5
- import "./chunk-UPYZYJPK.js";
4
+ } from "./chunk-JATQW6OX.js";
5
+ import "./chunk-RDRQDE6J.js";
6
6
  import {
7
7
  askWorkWeb
8
8
  } from "./chunk-SZAD5U3J.js";
9
- import "./chunk-EDOYMSIA.js";
9
+ import "./chunk-VPFWY2GG.js";
10
10
  import {
11
11
  formatWorked
12
12
  } from "./chunk-NEJVK5CF.js";
@@ -110,4 +110,4 @@ export {
110
110
  digestCommand,
111
111
  parseSince
112
112
  };
113
- //# sourceMappingURL=digest-367JAS7G.js.map
113
+ //# sourceMappingURL=digest-OEU7P5GQ.js.map
@@ -4,40 +4,40 @@ import {
4
4
  forkSession,
5
5
  startSessionWithPrompt,
6
6
  uncommittedFiles
7
- } from "./chunk-XT3HB45X.js";
7
+ } from "./chunk-E5N4CJDI.js";
8
8
  import {
9
9
  attachSession
10
- } from "./chunk-6UJLYHK5.js";
11
- import "./chunk-IQWUHU2D.js";
12
- import "./chunk-5QJQXRRY.js";
10
+ } from "./chunk-B4VQXZV4.js";
11
+ import "./chunk-WDKHEFR6.js";
12
+ import "./chunk-J4CEJOSI.js";
13
13
  import "./chunk-VRMALBZK.js";
14
- import "./chunk-FYDBT6AI.js";
14
+ import "./chunk-GGBFSQEX.js";
15
15
  import "./chunk-OHX7WKZU.js";
16
16
  import "./chunk-DLV7TRON.js";
17
- import "./chunk-H5SEBLE2.js";
17
+ import "./chunk-WANJYVUP.js";
18
18
  import "./chunk-Y7PWSACJ.js";
19
19
  import "./chunk-EORL2V7P.js";
20
20
  import {
21
21
  askCatchUp,
22
22
  catchUp,
23
23
  catchUpFacts
24
- } from "./chunk-AI4BMD74.js";
25
- import "./chunk-WRINMNRX.js";
26
- import "./chunk-IPIVNBKT.js";
24
+ } from "./chunk-TZ4BIOMS.js";
25
+ import "./chunk-XYDGDIGZ.js";
26
+ import "./chunk-VOHPXD2P.js";
27
27
  import "./chunk-SJBEIYLK.js";
28
- import "./chunk-QBB5JDFF.js";
28
+ import "./chunk-4VM6GMMI.js";
29
29
  import "./chunk-7E5XPDKX.js";
30
- import "./chunk-SE3M6KDX.js";
30
+ import "./chunk-QAAYE6IY.js";
31
31
  import {
32
32
  findSessionForCwd
33
- } from "./chunk-H7QMUEEA.js";
33
+ } from "./chunk-WFKL2SJ3.js";
34
34
  import "./chunk-ZSHWP2VS.js";
35
35
  import "./chunk-UPS7NHKI.js";
36
36
  import "./chunk-HUXS3VAI.js";
37
37
  import "./chunk-LM2T5OR3.js";
38
- import "./chunk-INPJC2TX.js";
39
- import "./chunk-AO2IFRQW.js";
40
- import "./chunk-FO37VXQE.js";
38
+ import "./chunk-SLA7CB3C.js";
39
+ import "./chunk-P3QIN44Y.js";
40
+ import "./chunk-RE6WWXD6.js";
41
41
  import "./chunk-FGPXMAYU.js";
42
42
  import "./chunk-MJIYIMPI.js";
43
43
  import "./chunk-GNIYYXQX.js";
@@ -47,7 +47,7 @@ import "./chunk-4CXUVBOD.js";
47
47
  import {
48
48
  findSession,
49
49
  loadHistory
50
- } from "./chunk-EDOYMSIA.js";
50
+ } from "./chunk-VPFWY2GG.js";
51
51
  import "./chunk-NEJVK5CF.js";
52
52
  import {
53
53
  sessionIdFor
@@ -145,4 +145,4 @@ var forkCommand = {
145
145
  export {
146
146
  forkCommand
147
147
  };
148
- //# sourceMappingURL=fork-ALCUOTFA.js.map
148
+ //# sourceMappingURL=fork-PBSBRV6J.js.map
@@ -23,7 +23,7 @@ import {
23
23
  touchSession,
24
24
  upsertSession,
25
25
  upsertSessionWithPort
26
- } from "./chunk-EDOYMSIA.js";
26
+ } from "./chunk-VPFWY2GG.js";
27
27
  import "./chunk-NEJVK5CF.js";
28
28
  import "./chunk-QGUBOOEN.js";
29
29
  import "./chunk-QWD76K3E.js";
@@ -68,4 +68,4 @@ export {
68
68
  upsertSession,
69
69
  upsertSessionWithPort
70
70
  };
71
- //# sourceMappingURL=history-JESCVDIU.js.map
71
+ //# sourceMappingURL=history-WF7Z54MS.js.map