@moberg_hr/work-tree 2.16.0 → 2.17.1

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 (252) hide show
  1. package/dist/{account-MYGAXTF6.js → account-PA3RHK4E.js} +17 -17
  2. package/dist/{add-repo-7PLONSB6.js → add-repo-QI7XUFKB.js} +11 -11
  3. package/dist/{answer-H3D6OLHJ.js → answer-EAVRRXCR.js} +8 -8
  4. package/dist/{attach-Z2HEZVZW.js → attach-T7YF5P37.js} +15 -15
  5. package/dist/bin.js +3 -3
  6. package/dist/{block-BWRLOTSM.js → block-N63GSISZ.js} +10 -10
  7. package/dist/{broadcast-RY6NAYGN.js → broadcast-OD4WMWM2.js} +6 -6
  8. package/dist/{catchup-K5ICNWDH.js → catchup-OSTBIVR3.js} +11 -11
  9. package/dist/{chunk-I5YQ7AC5.js → chunk-24FC64HP.js} +3 -3
  10. package/dist/{chunk-QTUYNY3F.js → chunk-2H3WHT32.js} +2 -2
  11. package/dist/{chunk-XHVRFFOY.js → chunk-2PRMDZBI.js} +4 -4
  12. package/dist/{chunk-EQJZ2GXX.js → chunk-34WI4R2U.js} +3 -3
  13. package/dist/{chunk-SRGOCF73.js → chunk-3A3HSUBD.js} +2 -2
  14. package/dist/{chunk-EX6ELNTN.js → chunk-3L67MINA.js} +3 -3
  15. package/dist/{chunk-NIAXRF5E.js → chunk-4KL62W3H.js} +2 -2
  16. package/dist/{chunk-WPHTWUNV.js → chunk-4MBK25I7.js} +10 -10
  17. package/dist/{chunk-3L5VDONX.js → chunk-4TTIEI7I.js} +2 -2
  18. package/dist/{chunk-42WCSVBK.js → chunk-56D4WJ2S.js} +2 -2
  19. package/dist/{chunk-XIOGNTUA.js → chunk-63HMFHNG.js} +2 -2
  20. package/dist/{chunk-2L2TNYQA.js → chunk-7334DEPX.js} +2 -2
  21. package/dist/{chunk-P5633SI2.js → chunk-7FYYBKJ3.js} +7 -7
  22. package/dist/{chunk-ZAAWSVTU.js → chunk-7WOSK73E.js} +6 -6
  23. package/dist/{chunk-CJQPKHDO.js → chunk-A4KVQ6ZI.js} +4 -4
  24. package/dist/{chunk-VHYFFFZU.js → chunk-A5OQHOEV.js} +2 -2
  25. package/dist/chunk-ATBSACIU.js +71 -0
  26. package/dist/chunk-ATBSACIU.js.map +1 -0
  27. package/dist/{chunk-SSXKC635.js → chunk-CI2M7BKU.js} +3 -3
  28. package/dist/{chunk-C5F36EGT.js → chunk-DHF2USLL.js} +4 -4
  29. package/dist/{chunk-XHUKX3HO.js → chunk-DOESL4MD.js} +3 -3
  30. package/dist/chunk-E22Y75WX.js +9 -0
  31. package/dist/{chunk-YLB2QGAR.js → chunk-FXJOUAWP.js} +4 -4
  32. package/dist/{chunk-LMSKMRNU.js → chunk-GEMTSSVY.js} +4 -4
  33. package/dist/{chunk-LMD2J2JN.js → chunk-HN4BEMHV.js} +3 -3
  34. package/dist/{chunk-N5P2OY5O.js → chunk-I3RYSDAH.js} +2 -2
  35. package/dist/{chunk-WMIQOBHU.js → chunk-IWMODEU4.js} +4 -4
  36. package/dist/{chunk-O2IARWVM.js → chunk-IYXZFXO5.js} +2 -2
  37. package/dist/{chunk-4HNMJIUZ.js → chunk-JHCR7H4Y.js} +2 -2
  38. package/dist/{chunk-45QJQIWF.js → chunk-JVN3AHWH.js} +7 -7
  39. package/dist/{chunk-473UMEVN.js → chunk-KC3A7ZKN.js} +57 -57
  40. package/dist/{chunk-TLXZUE4T.js → chunk-KNGK73TF.js} +3 -3
  41. package/dist/{chunk-ZXDRQ2MV.js → chunk-LD5EGGW6.js} +6 -6
  42. package/dist/{chunk-UAXKMJYA.js → chunk-MQXGUZAX.js} +6 -6
  43. package/dist/{chunk-ZWBXRP2V.js → chunk-MSBPZVVJ.js} +6 -6
  44. package/dist/{chunk-IKGSTBTG.js → chunk-MWIPHUAE.js} +120 -1
  45. package/dist/chunk-MWIPHUAE.js.map +1 -0
  46. package/dist/{chunk-SMARTMBW.js → chunk-NFST7BLF.js} +4 -4
  47. package/dist/{chunk-QUL26RYB.js → chunk-NKHTQHYM.js} +10 -10
  48. package/dist/{chunk-PJPYRXKJ.js → chunk-O3YVUM4P.js} +6 -6
  49. package/dist/{chunk-2H3H23W5.js → chunk-O6GOH6QL.js} +2 -2
  50. package/dist/{chunk-H3WBTKPB.js → chunk-OHMLCXRW.js} +6 -6
  51. package/dist/{chunk-LBPYBBXX.js → chunk-OX4QHT4Y.js} +2 -2
  52. package/dist/{chunk-HT52LVYU.js → chunk-P5XCHHR6.js} +3 -3
  53. package/dist/{chunk-GT3KUREW.js → chunk-QWU67XGR.js} +5 -5
  54. package/dist/{chunk-SWAFQ343.js → chunk-S6V3G3J5.js} +3 -3
  55. package/dist/{chunk-VH6EUWX7.js → chunk-SPCANSN2.js} +5 -5
  56. package/dist/{chunk-63NT2NZD.js → chunk-UBGZM3TD.js} +6 -6
  57. package/dist/{chunk-HWMQV4YD.js → chunk-UC7LKU2U.js} +4 -4
  58. package/dist/{chunk-2CVBAJH7.js → chunk-UKEI5DJS.js} +2 -2
  59. package/dist/{chunk-RJAGFLAP.js → chunk-UR2NJS4C.js} +2 -2
  60. package/dist/{chunk-EVZUJLZH.js → chunk-VCWQ4VED.js} +6 -6
  61. package/dist/{chunk-3JANKWY2.js → chunk-WK5ZIO6B.js} +2 -2
  62. package/dist/{chunk-4YO2PDUC.js → chunk-XGE3OPXP.js} +3 -3
  63. package/dist/{chunk-OA3TYOAY.js → chunk-XGRMJHE6.js} +3 -3
  64. package/dist/{chunk-WLU7EWPD.js → chunk-XNLJDPSH.js} +8 -8
  65. package/dist/{chunk-UN33JXAD.js → chunk-ZCFKFAOT.js} +3 -3
  66. package/dist/chunk-ZCFKFAOT.js.map +1 -0
  67. package/dist/{chunk-Z3HC36JK.js → chunk-ZFFWFVER.js} +2 -2
  68. package/dist/{chunk-MH4D37RT.js → chunk-ZQY52HIP.js} +2 -2
  69. package/dist/{cleanup-HXZ4S2IO.js → cleanup-6JAMAF6I.js} +28 -28
  70. package/dist/{cli-GKHHCDRV.js → cli-K2CH3CIU.js} +4 -4
  71. package/dist/{color-E73MIJWD.js → color-EHNTMQIE.js} +12 -11
  72. package/dist/{color-E73MIJWD.js.map → color-EHNTMQIE.js.map} +1 -1
  73. package/dist/{config-24BNXN5C.js → config-4VEKBBLZ.js} +8 -8
  74. package/dist/{diff-NAL5334E.js → diff-OOH5HOXG.js} +9 -9
  75. package/dist/{digest-NU6XNA7D.js → digest-ZNYODJ3A.js} +8 -8
  76. package/dist/{fork-QVFWYP2Z.js → fork-OFRN64IT.js} +25 -25
  77. package/dist/{history-W5DQNAY3.js → history-QNEYVVPI.js} +6 -6
  78. package/dist/{hook-OIAJHLTJ.js → hook-3LE6BWLO.js} +13 -13
  79. package/dist/{hydrate-VAJO2JGT.js → hydrate-2KSEV4E2.js} +6 -6
  80. package/dist/{init-2IHQUZ4E.js → init-M664MBPZ.js} +11 -11
  81. package/dist/{install-skills-RJPZOV37.js → install-skills-LAFRMJ7N.js} +6 -6
  82. package/dist/install-skills-bin.js +5 -5
  83. package/dist/{keep-IJDON5AL.js → keep-I4BRQQWG.js} +8 -8
  84. package/dist/{list-6LPLVUUD.js → list-NUYPCYLY.js} +6 -6
  85. package/dist/{move-GY5G47JO.js → move-WYMMOZMK.js} +14 -14
  86. package/dist/{note-6Q3AT7W6.js → note-ZRWRTFJG.js} +8 -8
  87. package/dist/{overlaps-JQVWZXEB.js → overlaps-YNU6JCTT.js} +12 -12
  88. package/dist/{pin-MIWOAQ7R.js → pin-36BGIIMW.js} +9 -9
  89. package/dist/{pr-3F3PJCQN.js → pr-6YPNUHRI.js} +19 -19
  90. package/dist/{prune-RKQQWEU6.js → prune-LINCOW7H.js} +26 -26
  91. package/dist/{pty-host-QTWYR5QT.js → pty-host-CE57F776.js} +13 -13
  92. package/dist/{read-RFLYBHLU.js → read-MX7ZURF3.js} +8 -8
  93. package/dist/{recent-R24GG3OG.js → recent-FU4Z4AFU.js} +13 -13
  94. package/dist/{remove-ULIYLBRK.js → remove-BTZAZ6ZA.js} +27 -27
  95. package/dist/{restart-VKQEQEU3.js → restart-AX3FNSDF.js} +8 -8
  96. package/dist/{resume-LE3SXWGI.js → resume-LR4ILRBQ.js} +13 -13
  97. package/dist/{review-QGBSWK2M.js → review-4K2FBZES.js} +7 -7
  98. package/dist/{review-now-74ISYEFP.js → review-now-LYGJDHDE.js} +2 -2
  99. package/dist/{run-RXCZSZKP.js → run-65HDAKBN.js} +6 -6
  100. package/dist/{screen-27WNAGP5.js → screen-NOYYOB5G.js} +8 -8
  101. package/dist/{search-OSNZYFMI.js → search-YQYEF4DW.js} +6 -6
  102. package/dist/{section-HIYOC5HZ.js → section-6HLNG5GQ.js} +11 -10
  103. package/dist/{section-HIYOC5HZ.js.map → section-6HLNG5GQ.js.map} +1 -1
  104. package/dist/{send-BFS32VDO.js → send-IBCRUS7B.js} +9 -9
  105. package/dist/{sessions-Q5EVPLLK.js → sessions-IJK4DPMU.js} +23 -23
  106. package/dist/{show-JYXEQQM2.js → show-CSGVG5BL.js} +7 -7
  107. package/dist/{snooze-YDBFRJYB.js → snooze-NNQXOPNI.js} +8 -8
  108. package/dist/{start-KWQLMKAL.js → start-I3CLQ2CJ.js} +8 -8
  109. package/dist/{state-NXTIYKP5.js → state-24H5QRPO.js} +2 -2
  110. package/dist/{status-ROO4SRGQ.js → status-XCJGTMB4.js} +10 -10
  111. package/dist/{statusline-AMFMWPTV.js → statusline-NEVXTHUY.js} +3 -3
  112. package/dist/{stop-FMBFJUXI.js → stop-JVMDCXB4.js} +8 -8
  113. package/dist/{sync-2DVHV7FT.js → sync-E2GXLD6K.js} +26 -26
  114. package/dist/{time-LMBQVMQG.js → time-KBS66SV5.js} +9 -9
  115. package/dist/{time-actions-4GZLAV4C.js → time-actions-AIKJ7ENX.js} +3 -3
  116. package/dist/{timesheet-DWWIBU5Y.js → timesheet-XUMTURH5.js} +12 -12
  117. package/dist/{todo-SECMZCGC.js → todo-GB7X6KWW.js} +2 -2
  118. package/dist/{tree-NH43RR6O.js → tree-CZUUTSZX.js} +25 -25
  119. package/dist/{update-THIANISA.js → update-7NU3M4DL.js} +14 -14
  120. package/dist/{usage-CZZOI34H.js → usage-GCZV3GDA.js} +8 -8
  121. package/dist/{version-2YUMQ4EN.js → version-U2QIALPO.js} +4 -4
  122. package/dist/{wait-QBBM7MR5.js → wait-OHES2ZLG.js} +9 -9
  123. package/dist/wd-bin.js +3 -3
  124. package/dist/web/assets/{PtyView-CJOk_dgn.js → PtyView-CjtGMoNT.js} +2 -2
  125. package/dist/web/assets/{PtyView-CJOk_dgn.js.map → PtyView-CjtGMoNT.js.map} +1 -1
  126. package/dist/web/assets/index-BIugalNC.js +126 -0
  127. package/dist/web/assets/index-BIugalNC.js.map +1 -0
  128. package/dist/web/assets/index-CBymxw_N.css +1 -0
  129. package/dist/web/index.html +2 -2
  130. package/dist/{web-PHQBICO5.js → web-OQLZHYOM.js} +136 -71
  131. package/dist/web-OQLZHYOM.js.map +1 -0
  132. package/npm-shrinkwrap.json +2 -2
  133. package/package.json +1 -1
  134. package/dist/chunk-3OMFMSZ4.js +0 -9
  135. package/dist/chunk-C6TKUX7I.js +0 -172
  136. package/dist/chunk-C6TKUX7I.js.map +0 -1
  137. package/dist/chunk-IKGSTBTG.js.map +0 -1
  138. package/dist/chunk-UN33JXAD.js.map +0 -1
  139. package/dist/web/assets/index-1hFrx0fV.js +0 -126
  140. package/dist/web/assets/index-1hFrx0fV.js.map +0 -1
  141. package/dist/web/assets/index-DXP8G0eh.css +0 -1
  142. package/dist/web-PHQBICO5.js.map +0 -1
  143. /package/dist/{account-MYGAXTF6.js.map → account-PA3RHK4E.js.map} +0 -0
  144. /package/dist/{add-repo-7PLONSB6.js.map → add-repo-QI7XUFKB.js.map} +0 -0
  145. /package/dist/{answer-H3D6OLHJ.js.map → answer-EAVRRXCR.js.map} +0 -0
  146. /package/dist/{attach-Z2HEZVZW.js.map → attach-T7YF5P37.js.map} +0 -0
  147. /package/dist/{block-BWRLOTSM.js.map → block-N63GSISZ.js.map} +0 -0
  148. /package/dist/{broadcast-RY6NAYGN.js.map → broadcast-OD4WMWM2.js.map} +0 -0
  149. /package/dist/{catchup-K5ICNWDH.js.map → catchup-OSTBIVR3.js.map} +0 -0
  150. /package/dist/{chunk-I5YQ7AC5.js.map → chunk-24FC64HP.js.map} +0 -0
  151. /package/dist/{chunk-QTUYNY3F.js.map → chunk-2H3WHT32.js.map} +0 -0
  152. /package/dist/{chunk-XHVRFFOY.js.map → chunk-2PRMDZBI.js.map} +0 -0
  153. /package/dist/{chunk-EQJZ2GXX.js.map → chunk-34WI4R2U.js.map} +0 -0
  154. /package/dist/{chunk-SRGOCF73.js.map → chunk-3A3HSUBD.js.map} +0 -0
  155. /package/dist/{chunk-EX6ELNTN.js.map → chunk-3L67MINA.js.map} +0 -0
  156. /package/dist/{chunk-NIAXRF5E.js.map → chunk-4KL62W3H.js.map} +0 -0
  157. /package/dist/{chunk-WPHTWUNV.js.map → chunk-4MBK25I7.js.map} +0 -0
  158. /package/dist/{chunk-3L5VDONX.js.map → chunk-4TTIEI7I.js.map} +0 -0
  159. /package/dist/{chunk-42WCSVBK.js.map → chunk-56D4WJ2S.js.map} +0 -0
  160. /package/dist/{chunk-XIOGNTUA.js.map → chunk-63HMFHNG.js.map} +0 -0
  161. /package/dist/{chunk-2L2TNYQA.js.map → chunk-7334DEPX.js.map} +0 -0
  162. /package/dist/{chunk-P5633SI2.js.map → chunk-7FYYBKJ3.js.map} +0 -0
  163. /package/dist/{chunk-ZAAWSVTU.js.map → chunk-7WOSK73E.js.map} +0 -0
  164. /package/dist/{chunk-CJQPKHDO.js.map → chunk-A4KVQ6ZI.js.map} +0 -0
  165. /package/dist/{chunk-VHYFFFZU.js.map → chunk-A5OQHOEV.js.map} +0 -0
  166. /package/dist/{chunk-SSXKC635.js.map → chunk-CI2M7BKU.js.map} +0 -0
  167. /package/dist/{chunk-C5F36EGT.js.map → chunk-DHF2USLL.js.map} +0 -0
  168. /package/dist/{chunk-XHUKX3HO.js.map → chunk-DOESL4MD.js.map} +0 -0
  169. /package/dist/{chunk-3OMFMSZ4.js.map → chunk-E22Y75WX.js.map} +0 -0
  170. /package/dist/{chunk-YLB2QGAR.js.map → chunk-FXJOUAWP.js.map} +0 -0
  171. /package/dist/{chunk-LMSKMRNU.js.map → chunk-GEMTSSVY.js.map} +0 -0
  172. /package/dist/{chunk-LMD2J2JN.js.map → chunk-HN4BEMHV.js.map} +0 -0
  173. /package/dist/{chunk-N5P2OY5O.js.map → chunk-I3RYSDAH.js.map} +0 -0
  174. /package/dist/{chunk-WMIQOBHU.js.map → chunk-IWMODEU4.js.map} +0 -0
  175. /package/dist/{chunk-O2IARWVM.js.map → chunk-IYXZFXO5.js.map} +0 -0
  176. /package/dist/{chunk-4HNMJIUZ.js.map → chunk-JHCR7H4Y.js.map} +0 -0
  177. /package/dist/{chunk-45QJQIWF.js.map → chunk-JVN3AHWH.js.map} +0 -0
  178. /package/dist/{chunk-473UMEVN.js.map → chunk-KC3A7ZKN.js.map} +0 -0
  179. /package/dist/{chunk-TLXZUE4T.js.map → chunk-KNGK73TF.js.map} +0 -0
  180. /package/dist/{chunk-ZXDRQ2MV.js.map → chunk-LD5EGGW6.js.map} +0 -0
  181. /package/dist/{chunk-UAXKMJYA.js.map → chunk-MQXGUZAX.js.map} +0 -0
  182. /package/dist/{chunk-ZWBXRP2V.js.map → chunk-MSBPZVVJ.js.map} +0 -0
  183. /package/dist/{chunk-SMARTMBW.js.map → chunk-NFST7BLF.js.map} +0 -0
  184. /package/dist/{chunk-QUL26RYB.js.map → chunk-NKHTQHYM.js.map} +0 -0
  185. /package/dist/{chunk-PJPYRXKJ.js.map → chunk-O3YVUM4P.js.map} +0 -0
  186. /package/dist/{chunk-2H3H23W5.js.map → chunk-O6GOH6QL.js.map} +0 -0
  187. /package/dist/{chunk-H3WBTKPB.js.map → chunk-OHMLCXRW.js.map} +0 -0
  188. /package/dist/{chunk-LBPYBBXX.js.map → chunk-OX4QHT4Y.js.map} +0 -0
  189. /package/dist/{chunk-HT52LVYU.js.map → chunk-P5XCHHR6.js.map} +0 -0
  190. /package/dist/{chunk-GT3KUREW.js.map → chunk-QWU67XGR.js.map} +0 -0
  191. /package/dist/{chunk-SWAFQ343.js.map → chunk-S6V3G3J5.js.map} +0 -0
  192. /package/dist/{chunk-VH6EUWX7.js.map → chunk-SPCANSN2.js.map} +0 -0
  193. /package/dist/{chunk-63NT2NZD.js.map → chunk-UBGZM3TD.js.map} +0 -0
  194. /package/dist/{chunk-HWMQV4YD.js.map → chunk-UC7LKU2U.js.map} +0 -0
  195. /package/dist/{chunk-2CVBAJH7.js.map → chunk-UKEI5DJS.js.map} +0 -0
  196. /package/dist/{chunk-RJAGFLAP.js.map → chunk-UR2NJS4C.js.map} +0 -0
  197. /package/dist/{chunk-EVZUJLZH.js.map → chunk-VCWQ4VED.js.map} +0 -0
  198. /package/dist/{chunk-3JANKWY2.js.map → chunk-WK5ZIO6B.js.map} +0 -0
  199. /package/dist/{chunk-4YO2PDUC.js.map → chunk-XGE3OPXP.js.map} +0 -0
  200. /package/dist/{chunk-OA3TYOAY.js.map → chunk-XGRMJHE6.js.map} +0 -0
  201. /package/dist/{chunk-WLU7EWPD.js.map → chunk-XNLJDPSH.js.map} +0 -0
  202. /package/dist/{chunk-Z3HC36JK.js.map → chunk-ZFFWFVER.js.map} +0 -0
  203. /package/dist/{chunk-MH4D37RT.js.map → chunk-ZQY52HIP.js.map} +0 -0
  204. /package/dist/{cleanup-HXZ4S2IO.js.map → cleanup-6JAMAF6I.js.map} +0 -0
  205. /package/dist/{cli-GKHHCDRV.js.map → cli-K2CH3CIU.js.map} +0 -0
  206. /package/dist/{config-24BNXN5C.js.map → config-4VEKBBLZ.js.map} +0 -0
  207. /package/dist/{diff-NAL5334E.js.map → diff-OOH5HOXG.js.map} +0 -0
  208. /package/dist/{digest-NU6XNA7D.js.map → digest-ZNYODJ3A.js.map} +0 -0
  209. /package/dist/{fork-QVFWYP2Z.js.map → fork-OFRN64IT.js.map} +0 -0
  210. /package/dist/{history-W5DQNAY3.js.map → history-QNEYVVPI.js.map} +0 -0
  211. /package/dist/{hook-OIAJHLTJ.js.map → hook-3LE6BWLO.js.map} +0 -0
  212. /package/dist/{hydrate-VAJO2JGT.js.map → hydrate-2KSEV4E2.js.map} +0 -0
  213. /package/dist/{init-2IHQUZ4E.js.map → init-M664MBPZ.js.map} +0 -0
  214. /package/dist/{install-skills-RJPZOV37.js.map → install-skills-LAFRMJ7N.js.map} +0 -0
  215. /package/dist/{keep-IJDON5AL.js.map → keep-I4BRQQWG.js.map} +0 -0
  216. /package/dist/{list-6LPLVUUD.js.map → list-NUYPCYLY.js.map} +0 -0
  217. /package/dist/{move-GY5G47JO.js.map → move-WYMMOZMK.js.map} +0 -0
  218. /package/dist/{note-6Q3AT7W6.js.map → note-ZRWRTFJG.js.map} +0 -0
  219. /package/dist/{overlaps-JQVWZXEB.js.map → overlaps-YNU6JCTT.js.map} +0 -0
  220. /package/dist/{pin-MIWOAQ7R.js.map → pin-36BGIIMW.js.map} +0 -0
  221. /package/dist/{pr-3F3PJCQN.js.map → pr-6YPNUHRI.js.map} +0 -0
  222. /package/dist/{prune-RKQQWEU6.js.map → prune-LINCOW7H.js.map} +0 -0
  223. /package/dist/{pty-host-QTWYR5QT.js.map → pty-host-CE57F776.js.map} +0 -0
  224. /package/dist/{read-RFLYBHLU.js.map → read-MX7ZURF3.js.map} +0 -0
  225. /package/dist/{recent-R24GG3OG.js.map → recent-FU4Z4AFU.js.map} +0 -0
  226. /package/dist/{remove-ULIYLBRK.js.map → remove-BTZAZ6ZA.js.map} +0 -0
  227. /package/dist/{restart-VKQEQEU3.js.map → restart-AX3FNSDF.js.map} +0 -0
  228. /package/dist/{resume-LE3SXWGI.js.map → resume-LR4ILRBQ.js.map} +0 -0
  229. /package/dist/{review-QGBSWK2M.js.map → review-4K2FBZES.js.map} +0 -0
  230. /package/dist/{review-now-74ISYEFP.js.map → review-now-LYGJDHDE.js.map} +0 -0
  231. /package/dist/{run-RXCZSZKP.js.map → run-65HDAKBN.js.map} +0 -0
  232. /package/dist/{screen-27WNAGP5.js.map → screen-NOYYOB5G.js.map} +0 -0
  233. /package/dist/{search-OSNZYFMI.js.map → search-YQYEF4DW.js.map} +0 -0
  234. /package/dist/{send-BFS32VDO.js.map → send-IBCRUS7B.js.map} +0 -0
  235. /package/dist/{sessions-Q5EVPLLK.js.map → sessions-IJK4DPMU.js.map} +0 -0
  236. /package/dist/{show-JYXEQQM2.js.map → show-CSGVG5BL.js.map} +0 -0
  237. /package/dist/{snooze-YDBFRJYB.js.map → snooze-NNQXOPNI.js.map} +0 -0
  238. /package/dist/{start-KWQLMKAL.js.map → start-I3CLQ2CJ.js.map} +0 -0
  239. /package/dist/{state-NXTIYKP5.js.map → state-24H5QRPO.js.map} +0 -0
  240. /package/dist/{status-ROO4SRGQ.js.map → status-XCJGTMB4.js.map} +0 -0
  241. /package/dist/{statusline-AMFMWPTV.js.map → statusline-NEVXTHUY.js.map} +0 -0
  242. /package/dist/{stop-FMBFJUXI.js.map → stop-JVMDCXB4.js.map} +0 -0
  243. /package/dist/{sync-2DVHV7FT.js.map → sync-E2GXLD6K.js.map} +0 -0
  244. /package/dist/{time-LMBQVMQG.js.map → time-KBS66SV5.js.map} +0 -0
  245. /package/dist/{time-actions-4GZLAV4C.js.map → time-actions-AIKJ7ENX.js.map} +0 -0
  246. /package/dist/{timesheet-DWWIBU5Y.js.map → timesheet-XUMTURH5.js.map} +0 -0
  247. /package/dist/{todo-SECMZCGC.js.map → todo-GB7X6KWW.js.map} +0 -0
  248. /package/dist/{tree-NH43RR6O.js.map → tree-CZUUTSZX.js.map} +0 -0
  249. /package/dist/{update-THIANISA.js.map → update-7NU3M4DL.js.map} +0 -0
  250. /package/dist/{usage-CZZOI34H.js.map → usage-GCZV3GDA.js.map} +0 -0
  251. /package/dist/{version-2YUMQ4EN.js.map → version-U2QIALPO.js.map} +0 -0
  252. /package/dist/{wait-QBBM7MR5.js.map → wait-OHES2ZLG.js.map} +0 -0
@@ -12,11 +12,11 @@ import {
12
12
  serveSpa,
13
13
  sessionBaseForPath,
14
14
  submitReviewSchema
15
- } from "./chunk-4YO2PDUC.js";
15
+ } from "./chunk-XGE3OPXP.js";
16
16
  import {
17
17
  ensureAgentPath,
18
18
  restartHost
19
- } from "./chunk-WMIQOBHU.js";
19
+ } from "./chunk-IWMODEU4.js";
20
20
  import {
21
21
  dropLocalReview,
22
22
  readLocalReview,
@@ -35,7 +35,7 @@ import {
35
35
  graphProblem,
36
36
  signOutGraph,
37
37
  startDeviceLogin
38
- } from "./chunk-45QJQIWF.js";
38
+ } from "./chunk-JVN3AHWH.js";
39
39
  import {
40
40
  addTask,
41
41
  completeTask,
@@ -58,25 +58,25 @@ import {
58
58
  stageSeenKey,
59
59
  storeHolding,
60
60
  withRestoring
61
- } from "./chunk-WLU7EWPD.js";
61
+ } from "./chunk-XNLJDPSH.js";
62
62
  import {
63
63
  createDigestSource
64
- } from "./chunk-YLB2QGAR.js";
64
+ } from "./chunk-FXJOUAWP.js";
65
65
  import {
66
66
  createBuildFoldersJob,
67
67
  defaultBranchTidyDeps,
68
68
  defaultBuildFoldersDeps,
69
69
  deleteMergedBranches,
70
70
  findMergedBranches
71
- } from "./chunk-P5633SI2.js";
71
+ } from "./chunk-7FYYBKJ3.js";
72
72
  import {
73
73
  defaultCleanupDeps
74
- } from "./chunk-UAXKMJYA.js";
74
+ } from "./chunk-MQXGUZAX.js";
75
75
  import {
76
76
  DiffStatCache,
77
77
  findOverlaps,
78
78
  wantsDiffStat
79
- } from "./chunk-Z3HC36JK.js";
79
+ } from "./chunk-ZFFWFVER.js";
80
80
  import {
81
81
  sendToSession
82
82
  } from "./chunk-KWHHB737.js";
@@ -97,7 +97,7 @@ import {
97
97
  removeBlocker,
98
98
  sweepBlocks,
99
99
  unblockedPrompt
100
- } from "./chunk-OA3TYOAY.js";
100
+ } from "./chunk-XGRMJHE6.js";
101
101
  import {
102
102
  jiraWorklogPoster,
103
103
  logWorkDay,
@@ -115,24 +115,24 @@ import {
115
115
  removeAgentAccount,
116
116
  setDefaultAgentAccount,
117
117
  switchRefusal
118
- } from "./chunk-EVZUJLZH.js";
118
+ } from "./chunk-VCWQ4VED.js";
119
119
  import {
120
120
  buildUsage,
121
121
  realUsageDeps,
122
122
  setupAgentUsage
123
- } from "./chunk-C5F36EGT.js";
123
+ } from "./chunk-DHF2USLL.js";
124
124
  import {
125
125
  sessionWorkTime
126
- } from "./chunk-I5YQ7AC5.js";
126
+ } from "./chunk-24FC64HP.js";
127
127
  import "./chunk-UVZITL47.js";
128
128
  import {
129
129
  removeWorktreeInChild
130
- } from "./chunk-MH4D37RT.js";
130
+ } from "./chunk-ZQY52HIP.js";
131
131
  import {
132
132
  archiveMergedSession,
133
133
  archiveWaiting,
134
134
  defaultArchiveDeps
135
- } from "./chunk-WPHTWUNV.js";
135
+ } from "./chunk-4MBK25I7.js";
136
136
  import {
137
137
  MAX_REPLY_CHARS,
138
138
  discardReply,
@@ -148,7 +148,7 @@ import {
148
148
  retireResolvedReplies,
149
149
  sessionRepoRefs,
150
150
  withThreadContext
151
- } from "./chunk-PJPYRXKJ.js";
151
+ } from "./chunk-O3YVUM4P.js";
152
152
  import {
153
153
  DEFAULT_TRUSTED_BOTS,
154
154
  createCiStore,
@@ -158,7 +158,7 @@ import {
158
158
  openThreadsOf,
159
159
  reviewMessage,
160
160
  subAgentHint
161
- } from "./chunk-SSXKC635.js";
161
+ } from "./chunk-CI2M7BKU.js";
162
162
  import {
163
163
  cleanupVerdict,
164
164
  createCleanupJob
@@ -167,11 +167,11 @@ import {
167
167
  defaultForkDeps,
168
168
  forkSession,
169
169
  startSessionWithPrompt
170
- } from "./chunk-ZWBXRP2V.js";
170
+ } from "./chunk-MSBPZVVJ.js";
171
171
  import {
172
172
  addRepoRefusal,
173
173
  addedRepoNote
174
- } from "./chunk-LBPYBBXX.js";
174
+ } from "./chunk-OX4QHT4Y.js";
175
175
  import {
176
176
  BehindCache,
177
177
  behindMain,
@@ -187,40 +187,35 @@ import {
187
187
  stackedOn,
188
188
  updateFromBase,
189
189
  updateFromMain
190
- } from "./chunk-ZAAWSVTU.js";
190
+ } from "./chunk-7WOSK73E.js";
191
191
  import {
192
192
  sessionStatusView,
193
193
  shownState
194
- } from "./chunk-LMD2J2JN.js";
194
+ } from "./chunk-HN4BEMHV.js";
195
195
  import {
196
196
  askCatchUp,
197
197
  cachedCatchUp,
198
198
  catchUp,
199
199
  catchUpFacts,
200
200
  forgetCatchUp
201
- } from "./chunk-HWMQV4YD.js";
201
+ } from "./chunk-UC7LKU2U.js";
202
202
  import {
203
203
  internalReadOnly,
204
204
  runInternal,
205
205
  runInternalReadOnly,
206
206
  summarizeCheckpoint,
207
207
  throttleTrailing
208
- } from "./chunk-GT3KUREW.js";
208
+ } from "./chunk-QWU67XGR.js";
209
209
  import {
210
210
  computeDiff,
211
211
  computeRangeDiff,
212
212
  parseGitDiff
213
- } from "./chunk-QTUYNY3F.js";
213
+ } from "./chunk-2H3WHT32.js";
214
214
  import {
215
- PLACE_PATCH_EXPECTED,
216
- applyPlacePatch,
217
- applySectionOp,
218
215
  changeRailSections,
219
- cleanPlacePatch,
220
- cleanSectionOp,
221
216
  placeSession,
222
217
  readRailLayout
223
- } from "./chunk-C6TKUX7I.js";
218
+ } from "./chunk-ATBSACIU.js";
224
219
  import {
225
220
  QUEUE_RECHECK_MS,
226
221
  busyForRestart,
@@ -254,7 +249,7 @@ import {
254
249
  tempoSetup,
255
250
  timeRange,
256
251
  updateDay
257
- } from "./chunk-42WCSVBK.js";
252
+ } from "./chunk-56D4WJ2S.js";
258
253
  import {
259
254
  DISCUSSION_OPEN_MIN_MS,
260
255
  LEFT_OVER_SUBMIT,
@@ -319,7 +314,7 @@ import {
319
314
  checkTools,
320
315
  saveFolders,
321
316
  setupState
322
- } from "./chunk-XHVRFFOY.js";
317
+ } from "./chunk-2PRMDZBI.js";
323
318
  import {
324
319
  RepoAdminError,
325
320
  deleteGroup,
@@ -331,7 +326,7 @@ import {
331
326
  setRepoIgnored,
332
327
  setReviewMode,
333
328
  setScanRoot
334
- } from "./chunk-EX6ELNTN.js";
329
+ } from "./chunk-3L67MINA.js";
335
330
  import {
336
331
  freeLeftovers,
337
332
  leftoversOf,
@@ -340,17 +335,17 @@ import {
340
335
  parsePrRef,
341
336
  resolvePrToStart,
342
337
  workOnPrPrompt
343
- } from "./chunk-TLXZUE4T.js";
338
+ } from "./chunk-KNGK73TF.js";
344
339
  import {
345
340
  legacyUnsafeCheck
346
- } from "./chunk-63NT2NZD.js";
341
+ } from "./chunk-UBGZM3TD.js";
347
342
  import {
348
343
  howToLift
349
344
  } from "./chunk-FZHFD2AY.js";
350
345
  import {
351
346
  agentsBySession,
352
347
  summarizeAgents
353
- } from "./chunk-RJAGFLAP.js";
348
+ } from "./chunk-UR2NJS4C.js";
354
349
  import {
355
350
  commandWords,
356
351
  describeProcess,
@@ -367,7 +362,7 @@ import {
367
362
  keyedQueue,
368
363
  oneAtATime,
369
364
  runWorkChild
370
- } from "./chunk-LMSKMRNU.js";
365
+ } from "./chunk-GEMTSSVY.js";
371
366
  import {
372
367
  configurePtyPool,
373
368
  detachPtyPool,
@@ -392,21 +387,21 @@ import {
392
387
  syncPtyPool,
393
388
  terminalTicketUrl,
394
389
  writeToPty
395
- } from "./chunk-QUL26RYB.js";
396
- import "./chunk-3L5VDONX.js";
390
+ } from "./chunk-NKHTQHYM.js";
391
+ import "./chunk-4TTIEI7I.js";
397
392
  import {
398
393
  disposeAllWatchers,
399
394
  disposeSessionWatcher,
400
395
  findSession as findSession2,
401
396
  subscribeSession
402
- } from "./chunk-2H3H23W5.js";
403
- import "./chunk-2CVBAJH7.js";
404
- import "./chunk-XIOGNTUA.js";
397
+ } from "./chunk-O6GOH6QL.js";
398
+ import "./chunk-UKEI5DJS.js";
399
+ import "./chunk-63HMFHNG.js";
405
400
  import {
406
401
  teardownWorktree,
407
402
  toBaseSpec,
408
403
  wouldRefuseRemoval
409
- } from "./chunk-VH6EUWX7.js";
404
+ } from "./chunk-SPCANSN2.js";
410
405
  import "./chunk-PZ7WTBSI.js";
411
406
  import {
412
407
  isWorktreeFolder
@@ -420,15 +415,15 @@ import {
420
415
  assistantDir,
421
416
  describeView,
422
417
  writeAssistantContext
423
- } from "./chunk-O2IARWVM.js";
418
+ } from "./chunk-IYXZFXO5.js";
424
419
  import "./chunk-7E5XPDKX.js";
425
- import "./chunk-NIAXRF5E.js";
420
+ import "./chunk-4KL62W3H.js";
426
421
  import {
427
422
  NOTE_NUDGE,
428
423
  findSessionForCwd,
429
424
  readPendingForSession,
430
425
  readPendingForWorktree
431
- } from "./chunk-XHUKX3HO.js";
426
+ } from "./chunk-DOESL4MD.js";
432
427
  import "./chunk-ZSHWP2VS.js";
433
428
  import {
434
429
  getCommentFileStore
@@ -448,17 +443,17 @@ import {
448
443
  stageInputOf,
449
444
  withRequiredChecks,
450
445
  workElsewhere
451
- } from "./chunk-ZXDRQ2MV.js";
446
+ } from "./chunk-LD5EGGW6.js";
452
447
  import {
453
448
  createSessionBranches
454
- } from "./chunk-CJQPKHDO.js";
449
+ } from "./chunk-A4KVQ6ZI.js";
455
450
  import {
456
451
  defaultHost,
457
452
  hostById,
458
453
  hostForRepo,
459
454
  hostOfPrUrl,
460
455
  originHostname
461
- } from "./chunk-HT52LVYU.js";
456
+ } from "./chunk-P5XCHHR6.js";
462
457
  import {
463
458
  MAX_THREAD_BODY
464
459
  } from "./chunk-FGPXMAYU.js";
@@ -471,11 +466,11 @@ import {
471
466
  readSessionBranches,
472
467
  repoNameOf,
473
468
  wasPushed
474
- } from "./chunk-SRGOCF73.js";
469
+ } from "./chunk-3A3HSUBD.js";
475
470
  import {
476
471
  editorArgs,
477
472
  openUrl
478
- } from "./chunk-SWAFQ343.js";
473
+ } from "./chunk-S6V3G3J5.js";
479
474
  import {
480
475
  enrollProblem,
481
476
  groupProblem,
@@ -575,7 +570,7 @@ import {
575
570
  updateCheckpoint,
576
571
  whileRestoring,
577
572
  writeArchiveRecord
578
- } from "./chunk-UN33JXAD.js";
573
+ } from "./chunk-ZCFKFAOT.js";
579
574
  import {
580
575
  dayKey
581
576
  } from "./chunk-NEJVK5CF.js";
@@ -612,11 +607,11 @@ import {
612
607
  refShaFromFiles,
613
608
  swallow,
614
609
  workingBranch
615
- } from "./chunk-H3WBTKPB.js";
616
- import "./chunk-4HNMJIUZ.js";
610
+ } from "./chunk-OHMLCXRW.js";
611
+ import "./chunk-JHCR7H4Y.js";
617
612
  import {
618
613
  VERSION
619
- } from "./chunk-3OMFMSZ4.js";
614
+ } from "./chunk-E22Y75WX.js";
620
615
  import {
621
616
  resolveProjectTarget
622
617
  } from "./chunk-IPHADNF5.js";
@@ -632,15 +627,22 @@ import {
632
627
  import {
633
628
  DEFAULT_ACCOUNT_NAME,
634
629
  accountNameProblem
635
- } from "./chunk-2L2TNYQA.js";
630
+ } from "./chunk-7334DEPX.js";
636
631
  import {
637
632
  DEFAULT_ACCOUNT,
638
633
  DEFAULT_PROMPTS,
639
634
  DEFAULT_TIME_SETTINGS,
635
+ PLACE_PATCH_EXPECTED,
636
+ RAIL_COLORS,
637
+ applyPlacePatch,
638
+ applySectionOp,
639
+ cleanPlacePatch,
640
+ cleanSectionOp,
640
641
  getConfigPath,
642
+ isRailColor,
641
643
  isWorkday,
642
644
  loadConfig
643
- } from "./chunk-IKGSTBTG.js";
645
+ } from "./chunk-MWIPHUAE.js";
644
646
  import "./chunk-REPFZIPP.js";
645
647
  import {
646
648
  bootTime,
@@ -1644,6 +1646,23 @@ function localReviewNote(review, ids) {
1644
1646
  "For each: say whether you agree, and fix the ones you agree with (with a test where it applies). Leave the ones you disagree with and say why. Then build and run the tests."
1645
1647
  ].join("\n");
1646
1648
  }
1649
+ var MAX_DECISION_CHARS = 4e3;
1650
+ function localRecommendationNote(review, decision) {
1651
+ const rec = review.recommendation;
1652
+ if (!rec) return null;
1653
+ const said = (decision ?? "").trim().slice(0, MAX_DECISION_CHARS);
1654
+ return [
1655
+ `A review of this branch's changes in ${review.repo} ended with the recommendation below ("${VERDICT_LABEL[rec.verdict]}"). It is a reviewer's reading of the diff, between <<< and >>>: weigh it, don't just obey it.`,
1656
+ `<<< ${asData(rec.text, 3e3)} >>>`,
1657
+ ...said ? [
1658
+ "My decision on it (my own words \u2014 follow them):",
1659
+ said,
1660
+ "Say back in a line what you understood, then do it (with a test where it applies), build and run the tests. If my decision leaves one of its questions open, ask me before changing anything about that one."
1661
+ ] : [
1662
+ "I have not decided yet. For each open question it raises: say what the code does today, whether the concern is real (show the lines), and what the options are with what each would change. Change nothing until I answer."
1663
+ ]
1664
+ ].join("\n");
1665
+ }
1647
1666
 
1648
1667
  // src/server/routes/session-review-routes.ts
1649
1668
  function mountSessionReviewRoutes(app, deps) {
@@ -1734,6 +1753,26 @@ function mountSessionReviewRoutes(app, deps) {
1734
1753
  deps.broadcast("session-review-changed", { sessionId: id });
1735
1754
  return c.json({ ok: true, sent: went.length });
1736
1755
  });
1756
+ app.post("/api/sessions/:id/review/recommendation", async (c) => {
1757
+ const id = c.req.param("id");
1758
+ const session = findSession2(id);
1759
+ if (!session) return c.json({ error: "unknown session" }, 404);
1760
+ if (session.archivedAt) return c.json({ error: "It is archived: restore it first." }, 409);
1761
+ const body = await c.req.json().catch(() => ({}));
1762
+ if (body.decision !== void 0 && typeof body.decision !== "string") return c.json({ error: "decision: string" }, 400);
1763
+ if (body.decision && body.decision.length > MAX_DECISION_CHARS)
1764
+ return c.json({ error: `decision: at most ${MAX_DECISION_CHARS} characters` }, 400);
1765
+ const review = reviews.state(id).review;
1766
+ if (!review) return c.json({ error: "no review of it is prepared" }, 409);
1767
+ const note = localRecommendationNote(review, body.decision);
1768
+ if (!note) return c.json({ error: "It has no recommendation to hand over." }, 409);
1769
+ try {
1770
+ await deps.tell(id, note);
1771
+ } catch (err) {
1772
+ return c.json({ error: err.message }, 502);
1773
+ }
1774
+ return c.json({ ok: true, decided: !!body.decision?.trim() });
1775
+ });
1737
1776
  app.post("/api/sessions/:id/review/dismiss", async (c) => {
1738
1777
  const id = c.req.param("id");
1739
1778
  if (!findSession2(id)) return c.json({ error: "unknown session" }, 404);
@@ -3474,7 +3513,8 @@ var REPO_SETTING_PATH = {
3474
3513
  requiredChecks: "prWatch.requiredChecks",
3475
3514
  devCommand: "devCommands",
3476
3515
  reviews: "reviews.projects",
3477
- reviewFocus: "reviews.focusFor"
3516
+ reviewFocus: "reviews.focusFor",
3517
+ color: "colors"
3478
3518
  };
3479
3519
  function checkRepoSetting(key, raw) {
3480
3520
  if (raw === null) return { ok: true, value: null };
@@ -3484,6 +3524,7 @@ function checkRepoSetting(key, raw) {
3484
3524
  return r.value.length ? r : { ok: true, value: null };
3485
3525
  }
3486
3526
  if (key === "devCommand") return checkSetting({ ...SETTINGS[0], kind: { type: "text" } }, raw);
3527
+ if (key === "color") return isRailColor(raw) ? { ok: true, value: raw } : { ok: false, error: RAIL_COLORS.join(", ") };
3487
3528
  return raw === "all" || raw === "asked" || raw === "off" ? { ok: true, value: raw } : { ok: false, error: "all, asked or off" };
3488
3529
  }
3489
3530
  function repoSettingsOf(raw, alias) {
@@ -3495,11 +3536,13 @@ function repoSettingsOf(raw, alias) {
3495
3536
  const dev = map(REPO_SETTING_PATH.devCommand)[alias];
3496
3537
  const review = map(REPO_SETTING_PATH.reviews)[alias];
3497
3538
  const focus = map(REPO_SETTING_PATH.reviewFocus)[alias];
3539
+ const color = map(REPO_SETTING_PATH.color)[alias];
3498
3540
  return {
3499
3541
  requiredChecks: Array.isArray(checks) ? checks.filter((c) => typeof c === "string") : null,
3500
3542
  devCommand: typeof dev === "string" && dev ? dev : null,
3501
3543
  reviews: review === "all" || review === "asked" || review === "off" ? review : null,
3502
- reviewFocus: Array.isArray(focus) && focus.some((c) => typeof c === "string") ? focus.filter((c) => typeof c === "string") : null
3544
+ reviewFocus: Array.isArray(focus) && focus.some((c) => typeof c === "string") ? focus.filter((c) => typeof c === "string") : null,
3545
+ color: isRailColor(color) ? color : null
3503
3546
  };
3504
3547
  }
3505
3548
 
@@ -3537,6 +3580,7 @@ function mountSettingsRoutes(app, opts) {
3537
3580
  const out = await src.writeRepo(c.req.param("alias"), b.key, b.value);
3538
3581
  opts.broadcast("settings-changed", { ts: Date.now() });
3539
3582
  opts.broadcast("repos-changed", { ts: Date.now() });
3583
+ if (b.key === "color") opts.broadcast("rail-changed", { ts: Date.now() });
3540
3584
  return c.json(out);
3541
3585
  } catch (err) {
3542
3586
  return refused(c, err);
@@ -12948,7 +12992,8 @@ function createDemoSettings(repoPathOf) {
12948
12992
  requiredChecks: ["build", "test"],
12949
12993
  devCommand: "npm run dev",
12950
12994
  reviews: "all",
12951
- reviewFocus: ["A refund never exceeds what was paid"]
12995
+ reviewFocus: ["A refund never exceeds what was paid"],
12996
+ color: "blue"
12952
12997
  }
12953
12998
  ]
12954
12999
  ]);
@@ -12961,7 +13006,7 @@ function createDemoSettings(repoPathOf) {
12961
13006
  path: p,
12962
13007
  origin: `https://github.com/acme/${alias}`,
12963
13008
  host: alias === "payments" ? "Azure DevOps" : "GitHub",
12964
- ...repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null }
13009
+ ...repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null, color: null }
12965
13010
  };
12966
13011
  };
12967
13012
  return {
@@ -12978,10 +13023,11 @@ function createDemoSettings(repoPathOf) {
12978
13023
  readRepo,
12979
13024
  async writeRepo(alias, key, value) {
12980
13025
  readRepo(alias);
12981
- if (!["requiredChecks", "devCommand", "reviews", "reviewFocus"].includes(key)) throw new SettingsError(`no repo setting ${key}`, 404);
13026
+ if (!["requiredChecks", "devCommand", "reviews", "reviewFocus", "color"].includes(key))
13027
+ throw new SettingsError(`no repo setting ${key}`, 404);
12982
13028
  const r = checkRepoSetting(key, value);
12983
13029
  if (!r.ok) throw new SettingsError(r.error);
12984
- const now = repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null };
13030
+ const now = repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null, color: null };
12985
13031
  repos.set(alias, { ...now, [key]: r.value });
12986
13032
  return readRepo(alias);
12987
13033
  }
@@ -13019,6 +13065,7 @@ function mountDemoSettings(app, broadcast, src) {
13019
13065
  const out = await src.writeRepo(c.req.param("alias"), b.key, b.value);
13020
13066
  broadcast("settings-changed", { ts: Date.now() });
13021
13067
  broadcast("repos-changed", { ts: Date.now() });
13068
+ if (b.key === "color") broadcast("rail-changed", { ts: Date.now() });
13022
13069
  return c.json(out);
13023
13070
  } catch (err) {
13024
13071
  return refused(c, err);
@@ -13219,6 +13266,16 @@ async function startDemoServer(opts) {
13219
13266
  if (!w) return notFound(c);
13220
13267
  return localReviews.has(w.id) ? c.json({ files: demoReviewFiles() }) : c.json({ error: "no review of it is prepared" }, 404);
13221
13268
  });
13269
+ app.post("/api/sessions/:id/review/recommendation", async (c) => {
13270
+ const w = scenario.list().find((x) => x.id === c.req.param("id"));
13271
+ if (!w) return notFound(c);
13272
+ if (w.archivedAt) return c.json({ error: "It is archived: restore it first." }, 409);
13273
+ const review = demoLocalReview(w).review;
13274
+ if (!review) return c.json({ error: "no review of it is prepared" }, 409);
13275
+ if (!review.recommendation) return c.json({ error: "It has no recommendation to hand over." }, 409);
13276
+ const body = await json2(c);
13277
+ return c.json({ ok: true, decided: typeof body.decision === "string" && !!body.decision.trim() });
13278
+ });
13222
13279
  app.post("/api/sessions/:id/review/send", async (c) => {
13223
13280
  const w = scenario.list().find((x) => x.id === c.req.param("id"));
13224
13281
  if (!w) return notFound(c);
@@ -13589,7 +13646,19 @@ async function startDemoServer(opts) {
13589
13646
  });
13590
13647
  let rail = { sections: [], places: {} };
13591
13648
  const railChanged = () => broadcast({ event: "rail-changed", data: { ts: Date.now() } });
13592
- app.get("/api/rail", (c) => c.json(rail));
13649
+ const demoSettings = createDemoSettings(
13650
+ (alias) => scenario.repos.inventory().repos.find((r) => r.alias === alias && r.status !== "new")?.path ?? null
13651
+ );
13652
+ const railView = () => {
13653
+ const projectColors = {};
13654
+ for (const r of scenario.repos.inventory().repos) {
13655
+ if (r.status === "new" || !r.alias) continue;
13656
+ const color = demoSettings.readRepo(r.alias).color;
13657
+ if (color) projectColors[r.alias] = color;
13658
+ }
13659
+ return { ...rail, ...Object.keys(projectColors).length ? { projectColors } : {} };
13660
+ };
13661
+ app.get("/api/rail", (c) => c.json(railView()));
13593
13662
  app.post("/api/rail/sections", async (c) => {
13594
13663
  const op = cleanSectionOp(await json2(c));
13595
13664
  if (!op) return c.json({ error: "expected {op: add|rename|move|remove, id, name?, by?}" }, 400);
@@ -13604,7 +13673,7 @@ async function startDemoServer(opts) {
13604
13673
  }
13605
13674
  rail = { sections, places };
13606
13675
  railChanged();
13607
- return c.json(rail);
13676
+ return c.json(railView());
13608
13677
  });
13609
13678
  app.put("/api/sessions/:id/rail", async (c) => {
13610
13679
  const id = c.req.param("id");
@@ -13618,7 +13687,7 @@ async function startDemoServer(opts) {
13618
13687
  else delete places[id];
13619
13688
  rail = { ...rail, places };
13620
13689
  railChanged();
13621
- return c.json(rail);
13690
+ return c.json(railView());
13622
13691
  });
13623
13692
  app.post("/api/sessions/:id/send", async (c) => {
13624
13693
  const id = c.req.param("id");
@@ -13844,11 +13913,7 @@ async function startDemoServer(opts) {
13844
13913
  return repoAnswer(c, () => repoModel.saveGroup(b.name, members, b.creating === true));
13845
13914
  });
13846
13915
  app.delete("/api/groups/:name", (c) => repoAnswer(c, () => repoModel.deleteGroup(c.req.param("name"), c.req.query("force") === "1")));
13847
- mountDemoSettings(
13848
- app,
13849
- (event, data) => broadcast({ event, data }),
13850
- createDemoSettings((alias) => repoModel.inventory().repos.find((r) => r.alias === alias && r.status !== "new")?.path ?? null)
13851
- );
13916
+ mountDemoSettings(app, (event, data) => broadcast({ event, data }), demoSettings);
13852
13917
  const demoNotes = [
13853
13918
  {
13854
13919
  version: "2.1.0",
@@ -14533,4 +14598,4 @@ export {
14533
14598
  stopExisting,
14534
14599
  webCommand
14535
14600
  };
14536
- //# sourceMappingURL=web-PHQBICO5.js.map
14601
+ //# sourceMappingURL=web-OQLZHYOM.js.map