@moberg_hr/work-tree 2.19.0 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-LUWE75BA.js → account-VGJEBBCS.js} +14 -14
- package/dist/{add-repo-6CPMNL7A.js → add-repo-KA723SUN.js} +11 -11
- package/dist/{answer-4MK7ABHK.js → answer-2MLNGB7P.js} +7 -7
- package/dist/{attach-BISNHO3P.js → attach-4DSUBQBI.js} +12 -12
- package/dist/bin.js +2 -2
- package/dist/{block-R724RFRJ.js → block-KCHJ4KMQ.js} +9 -9
- package/dist/{broadcast-Z3ODUBQL.js → broadcast-XZZ6S6MH.js} +5 -5
- package/dist/{catchup-OXUEJN2I.js → catchup-IVNPQHRM.js} +10 -10
- package/dist/child-6ZMI62MQ.js +148 -0
- package/dist/child-6ZMI62MQ.js.map +1 -0
- package/dist/{chunk-NJXYDMNQ.js → chunk-4EFPHIME.js} +7 -7
- package/dist/chunk-6DOAS4VP.js +9 -0
- package/dist/{chunk-ZL6IYEDM.js → chunk-6V6LBFWB.js} +2 -2
- package/dist/{chunk-HN6ZSSPR.js → chunk-75PWH7BG.js} +3 -3
- package/dist/{chunk-BOVPARRB.js → chunk-7ZOWY7GC.js} +5 -5
- package/dist/{chunk-UNYCEMG4.js → chunk-AB3TSGJ4.js} +2 -2
- package/dist/{chunk-PVBWN4LV.js → chunk-AFYYUXWA.js} +2 -2
- package/dist/chunk-AGICFQMJ.js +151 -0
- package/dist/chunk-AGICFQMJ.js.map +1 -0
- package/dist/{chunk-YSUASP3E.js → chunk-B56NMAPD.js} +2 -2
- package/dist/{chunk-44UME4JD.js → chunk-BDZDOPAA.js} +2 -2
- package/dist/{chunk-3ZB3TXPT.js → chunk-D7TL6I5A.js} +4 -4
- package/dist/{chunk-S5EJTSD2.js → chunk-DCEYDF77.js} +2 -2
- package/dist/{chunk-BKW6R2II.js → chunk-EHVT6G2Z.js} +12 -12
- package/dist/{chunk-OB5NKZYF.js → chunk-EVP5MMA7.js} +9 -9
- package/dist/{chunk-K5U6EWIN.js → chunk-F2H4FQ62.js} +4 -4
- package/dist/{chunk-YOBBM2DF.js → chunk-FCUVFJSY.js} +4 -4
- package/dist/{chunk-DJDI5OPO.js → chunk-FDFFJOV6.js} +7 -1
- package/dist/chunk-FDFFJOV6.js.map +1 -0
- package/dist/{chunk-7L4L4Q73.js → chunk-GROMKF62.js} +2 -2
- package/dist/{chunk-DKQU6K4S.js → chunk-HNZRVCQF.js} +4 -4
- package/dist/{chunk-WUUZF4MY.js → chunk-ILLPPOIY.js} +5 -5
- package/dist/{chunk-HJZ65BMV.js → chunk-IMTPBX3L.js} +3 -3
- package/dist/{chunk-IGMXR7S4.js → chunk-J3XKW5CH.js} +7 -7
- package/dist/{chunk-IHYPHX2Z.js → chunk-JDLRVOX7.js} +3 -3
- package/dist/{chunk-WSDAXREI.js → chunk-JQO5ANP4.js} +5 -5
- package/dist/{chunk-6CG7TAPE.js → chunk-JTADL4BQ.js} +59 -56
- package/dist/chunk-JTADL4BQ.js.map +1 -0
- package/dist/{chunk-DDGTJVLP.js → chunk-JTH2PASW.js} +6 -6
- package/dist/{chunk-3MPFCM5W.js → chunk-L74WY44N.js} +2 -2
- package/dist/{chunk-R5DHVUA2.js → chunk-LHKUHNE3.js} +2 -2
- package/dist/{chunk-C7QOPDZL.js → chunk-M5NJSO3M.js} +6 -6
- package/dist/{chunk-MD6QMSXQ.js → chunk-MQGNH74M.js} +2 -2
- package/dist/{chunk-ZAGEDMIK.js → chunk-MRTSFVRF.js} +3 -3
- package/dist/{chunk-EHX5MGDJ.js → chunk-MYMMOUTW.js} +2 -2
- package/dist/{chunk-I3JB5UGN.js → chunk-NB7IBSKF.js} +2 -2
- package/dist/{chunk-HV5TXLMN.js → chunk-NDSZQKYL.js} +3 -3
- package/dist/{chunk-YRSFUGS5.js → chunk-NDXZKB27.js} +3 -3
- package/dist/{chunk-PSEVXDTS.js → chunk-NHZZMY3H.js} +3 -3
- package/dist/{chunk-4J2F6OWM.js → chunk-OHX7WKZU.js} +2 -2
- package/dist/{chunk-HACRL36E.js → chunk-OOQBMWTK.js} +2 -2
- package/dist/{chunk-2SHSB7JN.js → chunk-PORC2R73.js} +2 -2
- package/dist/{chunk-ALBTIOP3.js → chunk-QGUBOOEN.js} +16 -3
- package/dist/chunk-QGUBOOEN.js.map +1 -0
- package/dist/{chunk-ZERN5OBM.js → chunk-QSY3HEP4.js} +6 -6
- package/dist/{chunk-S4OLDCTC.js → chunk-R7FZ4FNO.js} +4 -4
- package/dist/{chunk-T5SDU4UP.js → chunk-RQ7W2CVL.js} +3 -3
- package/dist/{chunk-BZ2FD3F7.js → chunk-SM6RE2AH.js} +3 -3
- package/dist/{chunk-ULN7Z5VB.js → chunk-TNBZUIIP.js} +6 -6
- package/dist/{chunk-JMILQI5Y.js → chunk-UD5CFHUS.js} +2 -2
- package/dist/{chunk-SMTNDZX5.js → chunk-UEEZ6DGK.js} +7 -7
- package/dist/{chunk-CNJZONIK.js → chunk-UNV2YM5V.js} +2 -2
- package/dist/{chunk-CNZV3UCM.js → chunk-UPS7NHKI.js} +2 -2
- package/dist/{chunk-XCDIMZD3.js → chunk-UXEFUSJV.js} +4 -4
- package/dist/{chunk-WPFDHBQZ.js → chunk-WC4IN5MD.js} +2 -2
- package/dist/{chunk-SRE4CK6Y.js → chunk-WIXY4EDH.js} +2 -2
- package/dist/{chunk-4KETMLQJ.js → chunk-WUW6WRKP.js} +6 -6
- package/dist/{chunk-PV7IOR7X.js → chunk-XDKH4X4N.js} +2 -2
- package/dist/{chunk-TFENIQUQ.js → chunk-XEA3XWKW.js} +5 -5
- package/dist/{chunk-2ALX552Z.js → chunk-XHDC3IU4.js} +6 -6
- package/dist/{chunk-V5VG3V6R.js → chunk-XVHRBV2I.js} +3 -3
- package/dist/{chunk-PZ7WTBSI.js → chunk-Y7PWSACJ.js} +2 -2
- package/dist/{chunk-CDO7AFTJ.js → chunk-YJYYR5RY.js} +3 -3
- package/dist/{chunk-7LU3LKHV.js → chunk-ZAOX63AG.js} +7 -7
- package/dist/{chunk-YCNIIE7Q.js → chunk-ZSDMH3TI.js} +5 -5
- package/dist/{cleanup-EHZ552FT.js → cleanup-6DHF6MVQ.js} +26 -26
- package/dist/{cli-KIBE6YOF.js → cli-7XVDO432.js} +3 -3
- package/dist/{color-GPOUDNDD.js → color-G7OB6JRX.js} +8 -8
- package/dist/{config-V4SDLGYF.js → config-WLHZ5EOU.js} +6 -6
- package/dist/coordinate-YOTO6WGQ.js +122 -0
- package/dist/coordinate-YOTO6WGQ.js.map +1 -0
- package/dist/{diff-K7UDI3G4.js → diff-TKHHSR2G.js} +7 -7
- package/dist/{digest-I7XDH3F6.js → digest-OVUDG6O7.js} +6 -6
- package/dist/{fork-6VEB7OAL.js → fork-6AQ62ODJ.js} +23 -23
- package/dist/{history-XK2XDAKU.js → history-ZT6YAO62.js} +4 -4
- package/dist/{hook-R7S37FCU.js → hook-MDENN4PE.js} +12 -12
- package/dist/{hydrate-RIG5OW5L.js → hydrate-3KEAOXSE.js} +5 -5
- package/dist/{init-HU2YAHSK.js → init-UDRGQJWV.js} +9 -9
- package/dist/{install-skills-DIL6HTHB.js → install-skills-QTNDVA4T.js} +3 -3
- package/dist/install-skills-bin.js +2 -2
- package/dist/{keep-TXA5UIHC.js → keep-G4Z6EBQM.js} +7 -7
- package/dist/{list-WKAOUGRK.js → list-DFENHOZN.js} +4 -4
- package/dist/{move-2O552OT6.js → move-ZF4Z7X5U.js} +11 -11
- package/dist/{note-C2UZCLIE.js → note-UIC3ZWUV.js} +8 -8
- package/dist/{overlaps-VXR54C3B.js → overlaps-SHQUKU7E.js} +10 -10
- package/dist/{pin-UGP5FOKU.js → pin-LC33A2NH.js} +8 -8
- package/dist/{pr-U3VONCMS.js → pr-FRW5V6HV.js} +17 -17
- package/dist/{prune-PJAF4RAB.js → prune-BZ2NL4VG.js} +24 -24
- package/dist/{pty-host-7S5LN5PE.js → pty-host-ULFHBYSP.js} +9 -9
- package/dist/{read-KVRJKWHY.js → read-NQMJXBGZ.js} +7 -7
- package/dist/{recent-D756QKIV.js → recent-5POY67P2.js} +11 -11
- package/dist/{remove-VJSJGTH3.js → remove-4Z2PPUMR.js} +25 -25
- package/dist/report-RBBVHVHD.js +74 -0
- package/dist/report-RBBVHVHD.js.map +1 -0
- package/dist/{restart-WQ2JNXBK.js → restart-S3SSGR6A.js} +7 -7
- package/dist/{resume-VWNVLBDY.js → resume-FLLXA3RH.js} +11 -11
- package/dist/{review-KQV2VC44.js → review-SFRX7ODW.js} +8 -8
- package/dist/{review-now-S6HC7QUZ.js → review-now-KZDBETZK.js} +3 -3
- package/dist/{run-ZQDZM2F7.js → run-BMD66HMR.js} +4 -4
- package/dist/{screen-TFIGUHCM.js → screen-MKRRQSIU.js} +7 -7
- package/dist/{search-OF3OQCOL.js → search-2NDA23G4.js} +4 -4
- package/dist/{section-RXBFBJH3.js → section-Z5G4B5IO.js} +8 -8
- package/dist/{send-SKMM6PMF.js → send-EVYK2JXH.js} +8 -8
- package/dist/{sessions-CHINYTLG.js → sessions-UD7GC6PL.js} +20 -20
- package/dist/{show-YAMZLP4E.js → show-K4MELKXA.js} +6 -6
- package/dist/{snooze-3OHKZEBQ.js → snooze-457UM2MR.js} +7 -7
- package/dist/{start-AFBN5IZM.js → start-CMYT5ELG.js} +7 -7
- package/dist/{state-NBSMRUXX.js → state-TOTGEK7J.js} +8 -4
- package/dist/state-TOTGEK7J.js.map +1 -0
- package/dist/{status-S2WZCF4J.js → status-M5RGLGOI.js} +8 -8
- package/dist/{stop-KSOAPWKH.js → stop-QUXZ4KOU.js} +7 -7
- package/dist/{sync-S2BNPQXB.js → sync-LOUYX24W.js} +24 -24
- package/dist/{time-2QQXML2K.js → time-DQ55WLCX.js} +9 -9
- package/dist/{time-actions-VKQQ64BR.js → time-actions-HY3AML3Y.js} +3 -3
- package/dist/{timesheet-MZNTOM6T.js → timesheet-F4ATWRKK.js} +10 -10
- package/dist/{todo-ADHVKSVA.js → todo-QY5ZPN24.js} +3 -3
- package/dist/{tree-S2PPLSQB.js → tree-7BZQE5JA.js} +23 -23
- package/dist/{update-5K5Y5PB3.js → update-A5N2KKOV.js} +13 -13
- package/dist/{usage-O2POSOEE.js → usage-ZEZY46OJ.js} +6 -6
- package/dist/{wait-TXEVJCYX.js → wait-ZOTGREAN.js} +8 -8
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-DsQS5QEM.js → PtyView-dPCRmDiL.js} +2 -2
- package/dist/web/assets/{PtyView-DsQS5QEM.js.map → PtyView-dPCRmDiL.js.map} +1 -1
- package/dist/web/assets/{index-ppylqAa_.js → index-1o9y5y_j.js} +11 -10
- package/dist/web/assets/index-1o9y5y_j.js.map +1 -0
- package/dist/web/assets/{index-B1gUTG37.css → index-Dt4XbNcI.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/{web-I7Q4ZMJX.js → web-HKNHNSJM.js} +289 -131
- package/dist/web-HKNHNSJM.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/plugins/work-tree/skills/work-sessions/SKILL.md +18 -0
- package/dist/chunk-6CG7TAPE.js.map +0 -1
- package/dist/chunk-ALBTIOP3.js.map +0 -1
- package/dist/chunk-DJDI5OPO.js.map +0 -1
- package/dist/chunk-VJZGPYJT.js +0 -9
- package/dist/state-NBSMRUXX.js.map +0 -1
- package/dist/web/assets/index-ppylqAa_.js.map +0 -1
- package/dist/web-I7Q4ZMJX.js.map +0 -1
- /package/dist/{account-LUWE75BA.js.map → account-VGJEBBCS.js.map} +0 -0
- /package/dist/{add-repo-6CPMNL7A.js.map → add-repo-KA723SUN.js.map} +0 -0
- /package/dist/{answer-4MK7ABHK.js.map → answer-2MLNGB7P.js.map} +0 -0
- /package/dist/{attach-BISNHO3P.js.map → attach-4DSUBQBI.js.map} +0 -0
- /package/dist/{block-R724RFRJ.js.map → block-KCHJ4KMQ.js.map} +0 -0
- /package/dist/{broadcast-Z3ODUBQL.js.map → broadcast-XZZ6S6MH.js.map} +0 -0
- /package/dist/{catchup-OXUEJN2I.js.map → catchup-IVNPQHRM.js.map} +0 -0
- /package/dist/{chunk-NJXYDMNQ.js.map → chunk-4EFPHIME.js.map} +0 -0
- /package/dist/{chunk-VJZGPYJT.js.map → chunk-6DOAS4VP.js.map} +0 -0
- /package/dist/{chunk-ZL6IYEDM.js.map → chunk-6V6LBFWB.js.map} +0 -0
- /package/dist/{chunk-HN6ZSSPR.js.map → chunk-75PWH7BG.js.map} +0 -0
- /package/dist/{chunk-BOVPARRB.js.map → chunk-7ZOWY7GC.js.map} +0 -0
- /package/dist/{chunk-UNYCEMG4.js.map → chunk-AB3TSGJ4.js.map} +0 -0
- /package/dist/{chunk-PVBWN4LV.js.map → chunk-AFYYUXWA.js.map} +0 -0
- /package/dist/{chunk-YSUASP3E.js.map → chunk-B56NMAPD.js.map} +0 -0
- /package/dist/{chunk-44UME4JD.js.map → chunk-BDZDOPAA.js.map} +0 -0
- /package/dist/{chunk-3ZB3TXPT.js.map → chunk-D7TL6I5A.js.map} +0 -0
- /package/dist/{chunk-S5EJTSD2.js.map → chunk-DCEYDF77.js.map} +0 -0
- /package/dist/{chunk-BKW6R2II.js.map → chunk-EHVT6G2Z.js.map} +0 -0
- /package/dist/{chunk-OB5NKZYF.js.map → chunk-EVP5MMA7.js.map} +0 -0
- /package/dist/{chunk-K5U6EWIN.js.map → chunk-F2H4FQ62.js.map} +0 -0
- /package/dist/{chunk-YOBBM2DF.js.map → chunk-FCUVFJSY.js.map} +0 -0
- /package/dist/{chunk-7L4L4Q73.js.map → chunk-GROMKF62.js.map} +0 -0
- /package/dist/{chunk-DKQU6K4S.js.map → chunk-HNZRVCQF.js.map} +0 -0
- /package/dist/{chunk-WUUZF4MY.js.map → chunk-ILLPPOIY.js.map} +0 -0
- /package/dist/{chunk-HJZ65BMV.js.map → chunk-IMTPBX3L.js.map} +0 -0
- /package/dist/{chunk-IGMXR7S4.js.map → chunk-J3XKW5CH.js.map} +0 -0
- /package/dist/{chunk-IHYPHX2Z.js.map → chunk-JDLRVOX7.js.map} +0 -0
- /package/dist/{chunk-WSDAXREI.js.map → chunk-JQO5ANP4.js.map} +0 -0
- /package/dist/{chunk-DDGTJVLP.js.map → chunk-JTH2PASW.js.map} +0 -0
- /package/dist/{chunk-3MPFCM5W.js.map → chunk-L74WY44N.js.map} +0 -0
- /package/dist/{chunk-R5DHVUA2.js.map → chunk-LHKUHNE3.js.map} +0 -0
- /package/dist/{chunk-C7QOPDZL.js.map → chunk-M5NJSO3M.js.map} +0 -0
- /package/dist/{chunk-MD6QMSXQ.js.map → chunk-MQGNH74M.js.map} +0 -0
- /package/dist/{chunk-ZAGEDMIK.js.map → chunk-MRTSFVRF.js.map} +0 -0
- /package/dist/{chunk-EHX5MGDJ.js.map → chunk-MYMMOUTW.js.map} +0 -0
- /package/dist/{chunk-I3JB5UGN.js.map → chunk-NB7IBSKF.js.map} +0 -0
- /package/dist/{chunk-HV5TXLMN.js.map → chunk-NDSZQKYL.js.map} +0 -0
- /package/dist/{chunk-YRSFUGS5.js.map → chunk-NDXZKB27.js.map} +0 -0
- /package/dist/{chunk-PSEVXDTS.js.map → chunk-NHZZMY3H.js.map} +0 -0
- /package/dist/{chunk-4J2F6OWM.js.map → chunk-OHX7WKZU.js.map} +0 -0
- /package/dist/{chunk-HACRL36E.js.map → chunk-OOQBMWTK.js.map} +0 -0
- /package/dist/{chunk-2SHSB7JN.js.map → chunk-PORC2R73.js.map} +0 -0
- /package/dist/{chunk-ZERN5OBM.js.map → chunk-QSY3HEP4.js.map} +0 -0
- /package/dist/{chunk-S4OLDCTC.js.map → chunk-R7FZ4FNO.js.map} +0 -0
- /package/dist/{chunk-T5SDU4UP.js.map → chunk-RQ7W2CVL.js.map} +0 -0
- /package/dist/{chunk-BZ2FD3F7.js.map → chunk-SM6RE2AH.js.map} +0 -0
- /package/dist/{chunk-ULN7Z5VB.js.map → chunk-TNBZUIIP.js.map} +0 -0
- /package/dist/{chunk-JMILQI5Y.js.map → chunk-UD5CFHUS.js.map} +0 -0
- /package/dist/{chunk-SMTNDZX5.js.map → chunk-UEEZ6DGK.js.map} +0 -0
- /package/dist/{chunk-CNJZONIK.js.map → chunk-UNV2YM5V.js.map} +0 -0
- /package/dist/{chunk-CNZV3UCM.js.map → chunk-UPS7NHKI.js.map} +0 -0
- /package/dist/{chunk-XCDIMZD3.js.map → chunk-UXEFUSJV.js.map} +0 -0
- /package/dist/{chunk-WPFDHBQZ.js.map → chunk-WC4IN5MD.js.map} +0 -0
- /package/dist/{chunk-SRE4CK6Y.js.map → chunk-WIXY4EDH.js.map} +0 -0
- /package/dist/{chunk-4KETMLQJ.js.map → chunk-WUW6WRKP.js.map} +0 -0
- /package/dist/{chunk-PV7IOR7X.js.map → chunk-XDKH4X4N.js.map} +0 -0
- /package/dist/{chunk-TFENIQUQ.js.map → chunk-XEA3XWKW.js.map} +0 -0
- /package/dist/{chunk-2ALX552Z.js.map → chunk-XHDC3IU4.js.map} +0 -0
- /package/dist/{chunk-V5VG3V6R.js.map → chunk-XVHRBV2I.js.map} +0 -0
- /package/dist/{chunk-PZ7WTBSI.js.map → chunk-Y7PWSACJ.js.map} +0 -0
- /package/dist/{chunk-CDO7AFTJ.js.map → chunk-YJYYR5RY.js.map} +0 -0
- /package/dist/{chunk-7LU3LKHV.js.map → chunk-ZAOX63AG.js.map} +0 -0
- /package/dist/{chunk-YCNIIE7Q.js.map → chunk-ZSDMH3TI.js.map} +0 -0
- /package/dist/{cleanup-EHZ552FT.js.map → cleanup-6DHF6MVQ.js.map} +0 -0
- /package/dist/{cli-KIBE6YOF.js.map → cli-7XVDO432.js.map} +0 -0
- /package/dist/{color-GPOUDNDD.js.map → color-G7OB6JRX.js.map} +0 -0
- /package/dist/{config-V4SDLGYF.js.map → config-WLHZ5EOU.js.map} +0 -0
- /package/dist/{diff-K7UDI3G4.js.map → diff-TKHHSR2G.js.map} +0 -0
- /package/dist/{digest-I7XDH3F6.js.map → digest-OVUDG6O7.js.map} +0 -0
- /package/dist/{fork-6VEB7OAL.js.map → fork-6AQ62ODJ.js.map} +0 -0
- /package/dist/{history-XK2XDAKU.js.map → history-ZT6YAO62.js.map} +0 -0
- /package/dist/{hook-R7S37FCU.js.map → hook-MDENN4PE.js.map} +0 -0
- /package/dist/{hydrate-RIG5OW5L.js.map → hydrate-3KEAOXSE.js.map} +0 -0
- /package/dist/{init-HU2YAHSK.js.map → init-UDRGQJWV.js.map} +0 -0
- /package/dist/{install-skills-DIL6HTHB.js.map → install-skills-QTNDVA4T.js.map} +0 -0
- /package/dist/{keep-TXA5UIHC.js.map → keep-G4Z6EBQM.js.map} +0 -0
- /package/dist/{list-WKAOUGRK.js.map → list-DFENHOZN.js.map} +0 -0
- /package/dist/{move-2O552OT6.js.map → move-ZF4Z7X5U.js.map} +0 -0
- /package/dist/{note-C2UZCLIE.js.map → note-UIC3ZWUV.js.map} +0 -0
- /package/dist/{overlaps-VXR54C3B.js.map → overlaps-SHQUKU7E.js.map} +0 -0
- /package/dist/{pin-UGP5FOKU.js.map → pin-LC33A2NH.js.map} +0 -0
- /package/dist/{pr-U3VONCMS.js.map → pr-FRW5V6HV.js.map} +0 -0
- /package/dist/{prune-PJAF4RAB.js.map → prune-BZ2NL4VG.js.map} +0 -0
- /package/dist/{pty-host-7S5LN5PE.js.map → pty-host-ULFHBYSP.js.map} +0 -0
- /package/dist/{read-KVRJKWHY.js.map → read-NQMJXBGZ.js.map} +0 -0
- /package/dist/{recent-D756QKIV.js.map → recent-5POY67P2.js.map} +0 -0
- /package/dist/{remove-VJSJGTH3.js.map → remove-4Z2PPUMR.js.map} +0 -0
- /package/dist/{restart-WQ2JNXBK.js.map → restart-S3SSGR6A.js.map} +0 -0
- /package/dist/{resume-VWNVLBDY.js.map → resume-FLLXA3RH.js.map} +0 -0
- /package/dist/{review-KQV2VC44.js.map → review-SFRX7ODW.js.map} +0 -0
- /package/dist/{review-now-S6HC7QUZ.js.map → review-now-KZDBETZK.js.map} +0 -0
- /package/dist/{run-ZQDZM2F7.js.map → run-BMD66HMR.js.map} +0 -0
- /package/dist/{screen-TFIGUHCM.js.map → screen-MKRRQSIU.js.map} +0 -0
- /package/dist/{search-OF3OQCOL.js.map → search-2NDA23G4.js.map} +0 -0
- /package/dist/{section-RXBFBJH3.js.map → section-Z5G4B5IO.js.map} +0 -0
- /package/dist/{send-SKMM6PMF.js.map → send-EVYK2JXH.js.map} +0 -0
- /package/dist/{sessions-CHINYTLG.js.map → sessions-UD7GC6PL.js.map} +0 -0
- /package/dist/{show-YAMZLP4E.js.map → show-K4MELKXA.js.map} +0 -0
- /package/dist/{snooze-3OHKZEBQ.js.map → snooze-457UM2MR.js.map} +0 -0
- /package/dist/{start-AFBN5IZM.js.map → start-CMYT5ELG.js.map} +0 -0
- /package/dist/{status-S2WZCF4J.js.map → status-M5RGLGOI.js.map} +0 -0
- /package/dist/{stop-KSOAPWKH.js.map → stop-QUXZ4KOU.js.map} +0 -0
- /package/dist/{sync-S2BNPQXB.js.map → sync-LOUYX24W.js.map} +0 -0
- /package/dist/{time-2QQXML2K.js.map → time-DQ55WLCX.js.map} +0 -0
- /package/dist/{time-actions-VKQQ64BR.js.map → time-actions-HY3AML3Y.js.map} +0 -0
- /package/dist/{timesheet-MZNTOM6T.js.map → timesheet-F4ATWRKK.js.map} +0 -0
- /package/dist/{todo-ADHVKSVA.js.map → todo-QY5ZPN24.js.map} +0 -0
- /package/dist/{tree-S2PPLSQB.js.map → tree-7BZQE5JA.js.map} +0 -0
- /package/dist/{update-5K5Y5PB3.js.map → update-A5N2KKOV.js.map} +0 -0
- /package/dist/{usage-O2POSOEE.js.map → usage-ZEZY46OJ.js.map} +0 -0
- /package/dist/{wait-TXEVJCYX.js.map → wait-ZOTGREAN.js.map} +0 -0
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ensureAgentPath,
|
|
4
|
+
restartHost
|
|
5
|
+
} from "./chunk-AFYYUXWA.js";
|
|
6
|
+
import {
|
|
7
|
+
addTask,
|
|
8
|
+
completeTask,
|
|
9
|
+
editTask,
|
|
10
|
+
getTasks,
|
|
11
|
+
removeTask,
|
|
12
|
+
uncompleteTask
|
|
13
|
+
} from "./chunk-BDZDOPAA.js";
|
|
2
14
|
import {
|
|
3
15
|
commentInputSchema,
|
|
4
16
|
detectParentBranch,
|
|
@@ -12,39 +24,7 @@ import {
|
|
|
12
24
|
serveSpa,
|
|
13
25
|
sessionBaseForPath,
|
|
14
26
|
submitReviewSchema
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
ensureAgentPath,
|
|
18
|
-
restartHost
|
|
19
|
-
} from "./chunk-PVBWN4LV.js";
|
|
20
|
-
import {
|
|
21
|
-
dropLocalReview,
|
|
22
|
-
readLocalReview,
|
|
23
|
-
reviewNotifyText,
|
|
24
|
-
saveLocalReview
|
|
25
|
-
} from "./chunk-PSEVXDTS.js";
|
|
26
|
-
import {
|
|
27
|
-
createMonthGather,
|
|
28
|
-
defaultTimeDeps,
|
|
29
|
-
fetchIssueDetail,
|
|
30
|
-
fetchJiraPane,
|
|
31
|
-
fetchMyIssues,
|
|
32
|
-
fetchMyIssuesOrThrow,
|
|
33
|
-
finishDeviceLogin,
|
|
34
|
-
graphAccount,
|
|
35
|
-
graphApp,
|
|
36
|
-
graphProblem,
|
|
37
|
-
signOutGraph,
|
|
38
|
-
startDeviceLogin
|
|
39
|
-
} from "./chunk-7LU3LKHV.js";
|
|
40
|
-
import {
|
|
41
|
-
addTask,
|
|
42
|
-
completeTask,
|
|
43
|
-
editTask,
|
|
44
|
-
getTasks,
|
|
45
|
-
removeTask,
|
|
46
|
-
uncompleteTask
|
|
47
|
-
} from "./chunk-44UME4JD.js";
|
|
27
|
+
} from "./chunk-SM6RE2AH.js";
|
|
48
28
|
import {
|
|
49
29
|
announceChange,
|
|
50
30
|
createArchivedRows,
|
|
@@ -59,32 +39,60 @@ import {
|
|
|
59
39
|
stageSeenKey,
|
|
60
40
|
storeHolding,
|
|
61
41
|
withRestoring
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import {
|
|
64
|
-
DiffStatCache,
|
|
65
|
-
findOverlaps,
|
|
66
|
-
wantsDiffStat
|
|
67
|
-
} from "./chunk-ZL6IYEDM.js";
|
|
42
|
+
} from "./chunk-EVP5MMA7.js";
|
|
68
43
|
import {
|
|
69
44
|
createDigestSource
|
|
70
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZSDMH3TI.js";
|
|
71
46
|
import {
|
|
72
47
|
createBuildFoldersJob,
|
|
73
48
|
defaultBranchTidyDeps,
|
|
74
49
|
defaultBuildFoldersDeps,
|
|
75
50
|
deleteMergedBranches,
|
|
76
51
|
findMergedBranches
|
|
77
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-J3XKW5CH.js";
|
|
78
53
|
import {
|
|
79
54
|
defaultCleanupDeps
|
|
80
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QSY3HEP4.js";
|
|
56
|
+
import {
|
|
57
|
+
DiffStatCache,
|
|
58
|
+
findOverlaps,
|
|
59
|
+
wantsDiffStat
|
|
60
|
+
} from "./chunk-6V6LBFWB.js";
|
|
61
|
+
import {
|
|
62
|
+
dropLocalReview,
|
|
63
|
+
readLocalReview,
|
|
64
|
+
reviewNotifyText,
|
|
65
|
+
saveLocalReview
|
|
66
|
+
} from "./chunk-NHZZMY3H.js";
|
|
67
|
+
import {
|
|
68
|
+
createMonthGather,
|
|
69
|
+
defaultTimeDeps,
|
|
70
|
+
fetchIssueDetail,
|
|
71
|
+
fetchJiraPane,
|
|
72
|
+
fetchMyIssues,
|
|
73
|
+
fetchMyIssuesOrThrow,
|
|
74
|
+
finishDeviceLogin,
|
|
75
|
+
graphAccount,
|
|
76
|
+
graphApp,
|
|
77
|
+
graphProblem,
|
|
78
|
+
signOutGraph,
|
|
79
|
+
startDeviceLogin
|
|
80
|
+
} from "./chunk-ZAOX63AG.js";
|
|
81
|
+
import {
|
|
82
|
+
childBrief,
|
|
83
|
+
childrenOf,
|
|
84
|
+
coordinatorSince,
|
|
85
|
+
newBranchCheck,
|
|
86
|
+
setParent,
|
|
87
|
+
spawnCheck
|
|
88
|
+
} from "./chunk-AGICFQMJ.js";
|
|
81
89
|
import {
|
|
82
90
|
anyOwnStatusLine,
|
|
83
91
|
buildUsage,
|
|
84
92
|
realUsageDeps,
|
|
85
93
|
refreshUsage,
|
|
86
94
|
setupAgentUsage
|
|
87
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-7ZOWY7GC.js";
|
|
88
96
|
import {
|
|
89
97
|
sendToSession
|
|
90
98
|
} from "./chunk-KWHHB737.js";
|
|
@@ -93,7 +101,7 @@ import {
|
|
|
93
101
|
readNote,
|
|
94
102
|
saveNote,
|
|
95
103
|
sessionsWithNotes
|
|
96
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-MQGNH74M.js";
|
|
97
105
|
import {
|
|
98
106
|
addBlocker,
|
|
99
107
|
allBlocks,
|
|
@@ -105,16 +113,16 @@ import {
|
|
|
105
113
|
removeBlocker,
|
|
106
114
|
sweepBlocks,
|
|
107
115
|
unblockedPrompt
|
|
108
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-HNZRVCQF.js";
|
|
109
117
|
import {
|
|
110
118
|
jiraWorklogPoster,
|
|
111
119
|
logWorkDay,
|
|
112
120
|
loggedDays,
|
|
113
121
|
worklogSettings
|
|
114
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-WIXY4EDH.js";
|
|
115
123
|
import {
|
|
116
124
|
sessionWorkTime
|
|
117
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-MRTSFVRF.js";
|
|
118
126
|
import {
|
|
119
127
|
accountOverview,
|
|
120
128
|
accountSkillsNote,
|
|
@@ -126,7 +134,7 @@ import {
|
|
|
126
134
|
removeAgentAccount,
|
|
127
135
|
setDefaultAgentAccount,
|
|
128
136
|
switchRefusal
|
|
129
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-WUW6WRKP.js";
|
|
130
138
|
import "./chunk-LK7HJGUC.js";
|
|
131
139
|
import {
|
|
132
140
|
freeLeftovers,
|
|
@@ -136,25 +144,29 @@ import {
|
|
|
136
144
|
parsePrRef,
|
|
137
145
|
resolvePrToStart,
|
|
138
146
|
workOnPrPrompt
|
|
139
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-NDSZQKYL.js";
|
|
140
148
|
import {
|
|
141
149
|
legacyUnsafeCheck
|
|
142
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-UEEZ6DGK.js";
|
|
143
151
|
import {
|
|
144
152
|
howToLift
|
|
145
153
|
} from "./chunk-FZHFD2AY.js";
|
|
146
154
|
import {
|
|
147
155
|
agentsBySession,
|
|
148
156
|
summarizeAgents
|
|
149
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-NDXZKB27.js";
|
|
150
158
|
import {
|
|
151
159
|
removeWorktreeInChild
|
|
152
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-MYMMOUTW.js";
|
|
153
161
|
import {
|
|
154
162
|
archiveMergedSession,
|
|
155
163
|
archiveWaiting,
|
|
156
164
|
defaultArchiveDeps
|
|
157
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-EHVT6G2Z.js";
|
|
166
|
+
import {
|
|
167
|
+
cleanupVerdict,
|
|
168
|
+
createCleanupJob
|
|
169
|
+
} from "./chunk-AKMPF72Y.js";
|
|
158
170
|
import {
|
|
159
171
|
MAX_REPLY_CHARS,
|
|
160
172
|
discardReply,
|
|
@@ -170,11 +182,7 @@ import {
|
|
|
170
182
|
retireResolvedReplies,
|
|
171
183
|
sessionRepoRefs,
|
|
172
184
|
withThreadContext
|
|
173
|
-
} from "./chunk-
|
|
174
|
-
import {
|
|
175
|
-
cleanupVerdict,
|
|
176
|
-
createCleanupJob
|
|
177
|
-
} from "./chunk-AKMPF72Y.js";
|
|
185
|
+
} from "./chunk-JQO5ANP4.js";
|
|
178
186
|
import {
|
|
179
187
|
DEFAULT_TRUSTED_BOTS,
|
|
180
188
|
createCiStore,
|
|
@@ -184,7 +192,7 @@ import {
|
|
|
184
192
|
openThreadsOf,
|
|
185
193
|
reviewMessage,
|
|
186
194
|
subAgentHint
|
|
187
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-F2H4FQ62.js";
|
|
188
196
|
import {
|
|
189
197
|
commandWords,
|
|
190
198
|
describeProcess,
|
|
@@ -198,7 +206,7 @@ import {
|
|
|
198
206
|
defaultForkDeps,
|
|
199
207
|
forkSession,
|
|
200
208
|
startSessionWithPrompt
|
|
201
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-JTH2PASW.js";
|
|
202
210
|
import {
|
|
203
211
|
childText,
|
|
204
212
|
createInChild,
|
|
@@ -206,7 +214,7 @@ import {
|
|
|
206
214
|
keyedQueue,
|
|
207
215
|
oneAtATime,
|
|
208
216
|
runWorkChild
|
|
209
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-R7FZ4FNO.js";
|
|
210
218
|
import {
|
|
211
219
|
configurePtyPool,
|
|
212
220
|
detachPtyPool,
|
|
@@ -231,26 +239,26 @@ import {
|
|
|
231
239
|
syncPtyPool,
|
|
232
240
|
terminalTicketUrl,
|
|
233
241
|
writeToPty
|
|
234
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-4EFPHIME.js";
|
|
235
243
|
import "./chunk-VRMALBZK.js";
|
|
236
244
|
import {
|
|
237
245
|
disposeAllWatchers,
|
|
238
246
|
disposeSessionWatcher,
|
|
239
247
|
findSession as findSession2,
|
|
240
248
|
subscribeSession
|
|
241
|
-
} from "./chunk-
|
|
242
|
-
import "./chunk-
|
|
249
|
+
} from "./chunk-WC4IN5MD.js";
|
|
250
|
+
import "./chunk-OHX7WKZU.js";
|
|
243
251
|
import "./chunk-DLV7TRON.js";
|
|
244
252
|
import {
|
|
245
253
|
addRepoRefusal,
|
|
246
254
|
addedRepoNote
|
|
247
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-DCEYDF77.js";
|
|
248
256
|
import {
|
|
249
257
|
teardownWorktree,
|
|
250
258
|
toBaseSpec,
|
|
251
259
|
wouldRefuseRemoval
|
|
252
|
-
} from "./chunk-
|
|
253
|
-
import "./chunk-
|
|
260
|
+
} from "./chunk-M5NJSO3M.js";
|
|
261
|
+
import "./chunk-Y7PWSACJ.js";
|
|
254
262
|
import {
|
|
255
263
|
isWorktreeFolder
|
|
256
264
|
} from "./chunk-EORL2V7P.js";
|
|
@@ -269,35 +277,35 @@ import {
|
|
|
269
277
|
stackedOn,
|
|
270
278
|
updateFromBase,
|
|
271
279
|
updateFromMain
|
|
272
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-TNBZUIIP.js";
|
|
273
281
|
import {
|
|
274
282
|
sessionStatusView,
|
|
275
283
|
shownState
|
|
276
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-UXEFUSJV.js";
|
|
277
285
|
import {
|
|
278
286
|
askCatchUp,
|
|
279
287
|
cachedCatchUp,
|
|
280
288
|
catchUp,
|
|
281
289
|
catchUpFacts,
|
|
282
290
|
forgetCatchUp
|
|
283
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-XEA3XWKW.js";
|
|
284
292
|
import {
|
|
285
293
|
internalReadOnly,
|
|
286
294
|
runInternal,
|
|
287
295
|
runInternalReadOnly,
|
|
288
296
|
summarizeCheckpoint,
|
|
289
297
|
throttleTrailing
|
|
290
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-D7TL6I5A.js";
|
|
291
299
|
import {
|
|
292
300
|
computeDiff,
|
|
293
301
|
computeRangeDiff,
|
|
294
302
|
parseGitDiff
|
|
295
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-UD5CFHUS.js";
|
|
296
304
|
import {
|
|
297
305
|
changeRailSections,
|
|
298
306
|
placeSession,
|
|
299
307
|
readRailLayout
|
|
300
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-NB7IBSKF.js";
|
|
301
309
|
import {
|
|
302
310
|
QUEUE_RECHECK_MS,
|
|
303
311
|
busyForRestart,
|
|
@@ -335,7 +343,7 @@ import {
|
|
|
335
343
|
tempoSetup,
|
|
336
344
|
timeRange,
|
|
337
345
|
updateDay
|
|
338
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-AB3TSGJ4.js";
|
|
339
347
|
import {
|
|
340
348
|
DISCUSSION_OPEN_MIN_MS,
|
|
341
349
|
LEFT_OVER_SUBMIT,
|
|
@@ -379,7 +387,7 @@ import {
|
|
|
379
387
|
withClaim,
|
|
380
388
|
withFixClaim,
|
|
381
389
|
withoutFixClaim
|
|
382
|
-
} from "./chunk-
|
|
390
|
+
} from "./chunk-LHKUHNE3.js";
|
|
383
391
|
import {
|
|
384
392
|
asData,
|
|
385
393
|
asDataBlock
|
|
@@ -389,9 +397,9 @@ import {
|
|
|
389
397
|
assistantDir,
|
|
390
398
|
describeView,
|
|
391
399
|
writeAssistantContext
|
|
392
|
-
} from "./chunk-
|
|
400
|
+
} from "./chunk-OOQBMWTK.js";
|
|
393
401
|
import "./chunk-7E5XPDKX.js";
|
|
394
|
-
import "./chunk-
|
|
402
|
+
import "./chunk-GROMKF62.js";
|
|
395
403
|
import {
|
|
396
404
|
clearDevWebDiscovery,
|
|
397
405
|
clearWebDiscovery,
|
|
@@ -409,11 +417,11 @@ import {
|
|
|
409
417
|
findSessionForCwd,
|
|
410
418
|
readPendingForSession,
|
|
411
419
|
readPendingForWorktree
|
|
412
|
-
} from "./chunk-
|
|
420
|
+
} from "./chunk-FCUVFJSY.js";
|
|
413
421
|
import "./chunk-ZSHWP2VS.js";
|
|
414
422
|
import {
|
|
415
423
|
getCommentFileStore
|
|
416
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-UPS7NHKI.js";
|
|
417
425
|
import {
|
|
418
426
|
createCommentStore
|
|
419
427
|
} from "./chunk-HUXS3VAI.js";
|
|
@@ -421,7 +429,7 @@ import {
|
|
|
421
429
|
checkTools,
|
|
422
430
|
saveFolders,
|
|
423
431
|
setupState
|
|
424
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-YJYYR5RY.js";
|
|
425
433
|
import {
|
|
426
434
|
chooseWorktreesRoot,
|
|
427
435
|
expandHome
|
|
@@ -434,17 +442,17 @@ import {
|
|
|
434
442
|
stageInputOf,
|
|
435
443
|
withRequiredChecks,
|
|
436
444
|
workElsewhere
|
|
437
|
-
} from "./chunk-
|
|
445
|
+
} from "./chunk-XHDC3IU4.js";
|
|
438
446
|
import {
|
|
439
447
|
createSessionBranches
|
|
440
|
-
} from "./chunk-
|
|
448
|
+
} from "./chunk-ILLPPOIY.js";
|
|
441
449
|
import {
|
|
442
450
|
defaultHost,
|
|
443
451
|
hostById,
|
|
444
452
|
hostForRepo,
|
|
445
453
|
hostOfPrUrl,
|
|
446
454
|
originHostname
|
|
447
|
-
} from "./chunk-
|
|
455
|
+
} from "./chunk-IMTPBX3L.js";
|
|
448
456
|
import {
|
|
449
457
|
MAX_THREAD_BODY
|
|
450
458
|
} from "./chunk-FGPXMAYU.js";
|
|
@@ -457,7 +465,7 @@ import {
|
|
|
457
465
|
readSessionBranches,
|
|
458
466
|
repoNameOf,
|
|
459
467
|
wasPushed
|
|
460
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-PORC2R73.js";
|
|
461
469
|
import {
|
|
462
470
|
RepoAdminError,
|
|
463
471
|
deleteGroup,
|
|
@@ -469,11 +477,11 @@ import {
|
|
|
469
477
|
setRepoIgnored,
|
|
470
478
|
setReviewMode,
|
|
471
479
|
setScanRoot
|
|
472
|
-
} from "./chunk-
|
|
480
|
+
} from "./chunk-UNV2YM5V.js";
|
|
473
481
|
import {
|
|
474
482
|
editorArgs,
|
|
475
483
|
openUrl
|
|
476
|
-
} from "./chunk-
|
|
484
|
+
} from "./chunk-XDKH4X4N.js";
|
|
477
485
|
import {
|
|
478
486
|
enrollProblem,
|
|
479
487
|
groupProblem,
|
|
@@ -573,7 +581,7 @@ import {
|
|
|
573
581
|
updateCheckpoint,
|
|
574
582
|
whileRestoring,
|
|
575
583
|
writeArchiveRecord
|
|
576
|
-
} from "./chunk-
|
|
584
|
+
} from "./chunk-75PWH7BG.js";
|
|
577
585
|
import {
|
|
578
586
|
dayKey
|
|
579
587
|
} from "./chunk-NEJVK5CF.js";
|
|
@@ -584,7 +592,7 @@ import {
|
|
|
584
592
|
sessionIdFor,
|
|
585
593
|
tx,
|
|
586
594
|
withDb
|
|
587
|
-
} from "./chunk-
|
|
595
|
+
} from "./chunk-QGUBOOEN.js";
|
|
588
596
|
import {
|
|
589
597
|
packageRoot
|
|
590
598
|
} from "./chunk-LNHSBM4L.js";
|
|
@@ -606,13 +614,13 @@ import {
|
|
|
606
614
|
projectList,
|
|
607
615
|
readJsonlSince,
|
|
608
616
|
swallow
|
|
609
|
-
} from "./chunk-
|
|
617
|
+
} from "./chunk-FDFFJOV6.js";
|
|
610
618
|
import "./chunk-KGHWHAVF.js";
|
|
611
619
|
import "./chunk-NFM4NGTI.js";
|
|
612
620
|
import "./chunk-YQSWVHKK.js";
|
|
613
621
|
import {
|
|
614
622
|
VERSION
|
|
615
|
-
} from "./chunk-
|
|
623
|
+
} from "./chunk-6DOAS4VP.js";
|
|
616
624
|
import {
|
|
617
625
|
resolveProjectTarget
|
|
618
626
|
} from "./chunk-IPHADNF5.js";
|
|
@@ -4314,6 +4322,17 @@ import { streamSSE as streamSSE2 } from "hono/streaming";
|
|
|
4314
4322
|
|
|
4315
4323
|
// src/server/routes/session-comment-routes.ts
|
|
4316
4324
|
import { zValidator as zValidator3 } from "@hono/zod-validator";
|
|
4325
|
+
|
|
4326
|
+
// src/core/comments/note-delivery.ts
|
|
4327
|
+
function noteDelivery(o) {
|
|
4328
|
+
if (o.author !== "user" || !o.hosted || o.pending === 0) return null;
|
|
4329
|
+
const said = o.live.filter((s) => s !== null);
|
|
4330
|
+
if (said.length) return said.some((s) => s === "busy" || s === "waiting") ? "next-turn" : "typed";
|
|
4331
|
+
return o.shown === "working" || o.shown === "needs_input" ? "next-turn" : "typed";
|
|
4332
|
+
}
|
|
4333
|
+
var RECHECK_AFTER_MS = [2e4, 9e4, 3e5];
|
|
4334
|
+
|
|
4335
|
+
// src/server/routes/session-comment-routes.ts
|
|
4317
4336
|
function mountSessionCommentRoutes(app, opts) {
|
|
4318
4337
|
function requireSession(id) {
|
|
4319
4338
|
return findSession2(id);
|
|
@@ -4347,6 +4366,7 @@ function mountSessionCommentRoutes(app, opts) {
|
|
|
4347
4366
|
changed(ctx, home, { id: comment.id });
|
|
4348
4367
|
const delivery = comment.status === "published" ? ownedPtyDelivery(id, comment.author) : null;
|
|
4349
4368
|
if (delivery === "typed") void typeAndSubmit(id, NOTE_NUDGE).catch(() => false);
|
|
4369
|
+
if (delivery === "next-turn") recheckLater(id, comment.author);
|
|
4350
4370
|
return c.json({ comment, comments: listFor(ctx), delivery });
|
|
4351
4371
|
} catch (err) {
|
|
4352
4372
|
return c.json({ error: err.message }, 400);
|
|
@@ -4395,11 +4415,43 @@ async function deliverViaOwnedPty(sessionId, author) {
|
|
|
4395
4415
|
await typeAndSubmit(sessionId, NOTE_NUDGE).catch(() => false);
|
|
4396
4416
|
}
|
|
4397
4417
|
function ownedPtyDelivery(sessionId, author) {
|
|
4398
|
-
if (author !== "user") return null;
|
|
4399
|
-
if (!peekPty(sessionId)) return null;
|
|
4418
|
+
if (author !== "user" || !peekPty(sessionId)) return null;
|
|
4400
4419
|
const session = findSession2(sessionId);
|
|
4401
|
-
|
|
4402
|
-
|
|
4420
|
+
const pending = (session ? readPendingForWorktree(session, sessionId) : readPendingForSession(sessionId)).length;
|
|
4421
|
+
if (pending === 0) return null;
|
|
4422
|
+
const live = bestEffort(
|
|
4423
|
+
"live state for a note",
|
|
4424
|
+
() => {
|
|
4425
|
+
const hostPids = ptyPids();
|
|
4426
|
+
return (agentsBySession(liveAgents(), loadHistory()).get(sessionId) ?? []).filter((a) => hostPids.has(a.pid)).map((a) => a.state);
|
|
4427
|
+
},
|
|
4428
|
+
[]
|
|
4429
|
+
) ?? [];
|
|
4430
|
+
const raw = readStatus(sessionId);
|
|
4431
|
+
const shown = raw ? session ? bestEffort(
|
|
4432
|
+
"shown state for a note",
|
|
4433
|
+
() => sessionStatusView(raw, session, readSessionActivity(session).lastActivity ?? 0).state,
|
|
4434
|
+
raw.state
|
|
4435
|
+
) ?? raw.state : raw.state : null;
|
|
4436
|
+
return noteDelivery({ author, hosted: true, pending, live, shown });
|
|
4437
|
+
}
|
|
4438
|
+
var rechecking = /* @__PURE__ */ new Set();
|
|
4439
|
+
function recheckLater(sessionId, author, o = {}) {
|
|
4440
|
+
if (rechecking.has(sessionId)) return;
|
|
4441
|
+
rechecking.add(sessionId);
|
|
4442
|
+
const decide = o.decide ?? ownedPtyDelivery;
|
|
4443
|
+
const type = o.type ?? ((id) => typeAndSubmit(id, NOTE_NUDGE));
|
|
4444
|
+
const step = (after) => {
|
|
4445
|
+
const [next, ...rest] = after;
|
|
4446
|
+
if (next === void 0) return void rechecking.delete(sessionId);
|
|
4447
|
+
setTimeout(() => {
|
|
4448
|
+
const d = bestEffort("recheck a waiting note", () => decide(sessionId, author), null);
|
|
4449
|
+
if (d === "next-turn") return step(rest);
|
|
4450
|
+
rechecking.delete(sessionId);
|
|
4451
|
+
if (d === "typed") void type(sessionId).catch(() => false);
|
|
4452
|
+
}, next).unref?.();
|
|
4453
|
+
};
|
|
4454
|
+
step(o.after ?? RECHECK_AFTER_MS);
|
|
4403
4455
|
}
|
|
4404
4456
|
async function typeAndSubmit(sessionId, text, write2 = writeToPty, wait) {
|
|
4405
4457
|
const agent = agentOf(findSession2(sessionId));
|
|
@@ -4693,6 +4745,15 @@ function whenStarted(child) {
|
|
|
4693
4745
|
// src/server/routes/worktree-routes.ts
|
|
4694
4746
|
import { zValidator as zValidator5 } from "@hono/zod-validator";
|
|
4695
4747
|
import { z as z4 } from "zod";
|
|
4748
|
+
var queues = /* @__PURE__ */ new Map();
|
|
4749
|
+
function oneAtATime2(key, fn) {
|
|
4750
|
+
const run2 = (queues.get(key) ?? Promise.resolve()).catch(() => void 0).then(fn);
|
|
4751
|
+
queues.set(key, run2);
|
|
4752
|
+
void run2.finally(() => {
|
|
4753
|
+
if (queues.get(key) === run2) queues.delete(key);
|
|
4754
|
+
}).catch(() => void 0);
|
|
4755
|
+
return run2;
|
|
4756
|
+
}
|
|
4696
4757
|
function mountWorktreeRoutes(app, opts) {
|
|
4697
4758
|
const createSchema = z4.object({
|
|
4698
4759
|
target: z4.string().min(1),
|
|
@@ -4705,7 +4766,9 @@ function mountWorktreeRoutes(app, opts) {
|
|
|
4705
4766
|
/** Name the session (its title); the branch stays its identity. */
|
|
4706
4767
|
name: z4.string().max(120).optional(),
|
|
4707
4768
|
/** The Claude account a new session runs on (a name from `work account list`); empty: the configured default. */
|
|
4708
|
-
account: z4.string().max(64).optional()
|
|
4769
|
+
account: z4.string().max(64).optional(),
|
|
4770
|
+
/** Started by this session (`work child spawn`): a new branch, its first prompt the task (session-children.ts). */
|
|
4771
|
+
parentId: z4.string().optional()
|
|
4709
4772
|
});
|
|
4710
4773
|
const startSession = opts.startSession ?? startSessionWithPrompt;
|
|
4711
4774
|
const create = opts.create ?? createInProcess;
|
|
@@ -4718,41 +4781,75 @@ function mountWorktreeRoutes(app, opts) {
|
|
|
4718
4781
|
app.post("/api/worktrees", zValidator5("json", createSchema), async (c) => {
|
|
4719
4782
|
const { target, base, issueKey, prompt, name } = c.req.valid("json");
|
|
4720
4783
|
const account = c.req.valid("json").account?.trim() || void 0;
|
|
4721
|
-
const
|
|
4722
|
-
if (!
|
|
4784
|
+
const loaded = loadConfig();
|
|
4785
|
+
if (!loaded) return c.json({ error: "no config" }, 400);
|
|
4786
|
+
const config = loaded;
|
|
4723
4787
|
const wanted = c.req.valid("json").branch?.trim() ?? "";
|
|
4724
4788
|
if (!wanted && base?.trim())
|
|
4725
4789
|
return c.json({ error: "a base needs a branch to fork (leave both empty to open the repo as it is)" }, 400);
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
);
|
|
4731
|
-
if (
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4790
|
+
const parentId = c.req.valid("json").parentId;
|
|
4791
|
+
if (parentId) return oneAtATime2(parentId, () => createOne());
|
|
4792
|
+
return createOne();
|
|
4793
|
+
async function createOne() {
|
|
4794
|
+
const parent = parentId ? findSession2(parentId) : void 0;
|
|
4795
|
+
if (parentId) {
|
|
4796
|
+
if (!parent || parent.archivedAt) return c.json({ error: "the coordinating session is unknown or archived" }, 400);
|
|
4797
|
+
if (!wanted || !prompt?.trim()) return c.json({ error: "a child session needs a branch and its task" }, 400);
|
|
4798
|
+
if (findSession2(sessionIdFor({ target, branch: wanted })))
|
|
4799
|
+
return c.json({ error: `a session on ${target} ${wanted} exists already` }, 409);
|
|
4800
|
+
const fresh = newBranchCheck(
|
|
4801
|
+
target,
|
|
4802
|
+
wanted,
|
|
4803
|
+
config,
|
|
4804
|
+
(dir, b) => ["refs/heads/", "refs/remotes/origin/"].some(
|
|
4805
|
+
(ref) => git(["rev-parse", "--verify", "--quiet", `${ref}${b}`], dir).exitCode === 0
|
|
4806
|
+
)
|
|
4807
|
+
);
|
|
4808
|
+
if (!fresh.ok) return c.json({ error: fresh.error }, 409);
|
|
4809
|
+
const may = spawnCheck(parentId, {
|
|
4810
|
+
coordinator: (id) => coordinatorSince(id) !== null,
|
|
4811
|
+
liveChildren: (id) => childrenOf(id).filter((k) => {
|
|
4812
|
+
const s = findSession2(k.id);
|
|
4813
|
+
return !!s && !s.archivedAt;
|
|
4814
|
+
}).length
|
|
4815
|
+
});
|
|
4816
|
+
if (!may.ok) return c.json({ error: may.error }, 403);
|
|
4817
|
+
}
|
|
4818
|
+
try {
|
|
4819
|
+
const made = await create(
|
|
4820
|
+
{ target, branch: wanted || void 0, base: base?.trim() ? toBaseSpec(base.trim()) : void 0, issueKey, name, account },
|
|
4821
|
+
config
|
|
4822
|
+
);
|
|
4823
|
+
if (!made.ok) return c.json({ error: made.error }, 400);
|
|
4824
|
+
const branch = made.branch;
|
|
4825
|
+
const result = { launchDir: made.launchDir, paths: made.paths };
|
|
4744
4826
|
opts.broadcast("sessions-changed", { ts: Date.now() });
|
|
4827
|
+
const id = sessionIdFor({ target, branch });
|
|
4828
|
+
if (parentId && parent) setParent(id, parentId);
|
|
4829
|
+
let started;
|
|
4830
|
+
let startError;
|
|
4831
|
+
if (prompt?.trim()) {
|
|
4832
|
+
try {
|
|
4833
|
+
started = await startSession(
|
|
4834
|
+
id,
|
|
4835
|
+
parent ? childBrief(parent.title?.trim() || `${parent.target} \xB7 ${parent.branch}`, prompt) : prompt.trim()
|
|
4836
|
+
);
|
|
4837
|
+
} catch (err) {
|
|
4838
|
+
startError = err.message;
|
|
4839
|
+
}
|
|
4840
|
+
opts.broadcast("sessions-changed", { ts: Date.now() });
|
|
4841
|
+
}
|
|
4842
|
+
return c.json({
|
|
4843
|
+
sessionId: id,
|
|
4844
|
+
launchDir: result.launchDir,
|
|
4845
|
+
paths: result.paths,
|
|
4846
|
+
...made.warnings?.length ? { warnings: made.warnings } : {},
|
|
4847
|
+
...started ? { started } : {},
|
|
4848
|
+
...startError ? { startError } : {}
|
|
4849
|
+
});
|
|
4850
|
+
} catch (err) {
|
|
4851
|
+
return c.json({ error: err.message }, 500);
|
|
4745
4852
|
}
|
|
4746
|
-
return c.json({
|
|
4747
|
-
sessionId: id,
|
|
4748
|
-
launchDir: result.launchDir,
|
|
4749
|
-
paths: result.paths,
|
|
4750
|
-
...made.warnings?.length ? { warnings: made.warnings } : {},
|
|
4751
|
-
...started ? { started } : {},
|
|
4752
|
-
...startError ? { startError } : {}
|
|
4753
|
-
});
|
|
4754
|
-
} catch (err) {
|
|
4755
|
-
return c.json({ error: err.message }, 500);
|
|
4756
4853
|
}
|
|
4757
4854
|
});
|
|
4758
4855
|
const REFUSED = "Worktree not removed: uncommitted changes, unpushed commits, or git refused. Retry with force, or forget the session only.";
|
|
@@ -7963,7 +8060,7 @@ function createReviewQueue(deps) {
|
|
|
7963
8060
|
let treesSwept = false;
|
|
7964
8061
|
const active = /* @__PURE__ */ new Set();
|
|
7965
8062
|
let chain = Promise.resolve();
|
|
7966
|
-
const
|
|
8063
|
+
const oneAtATime3 = (f) => {
|
|
7967
8064
|
const p = chain.then(f, f);
|
|
7968
8065
|
chain = p.catch(() => void 0);
|
|
7969
8066
|
return p;
|
|
@@ -8085,7 +8182,7 @@ function createReviewQueue(deps) {
|
|
|
8085
8182
|
try {
|
|
8086
8183
|
if (!treesSwept && deps.sweepTrees) {
|
|
8087
8184
|
treesSwept = true;
|
|
8088
|
-
const left = await
|
|
8185
|
+
const left = await oneAtATime3(deps.sweepTrees).catch((err) => {
|
|
8089
8186
|
note(`couldn't sweep the temporary checkouts: ${err.message}`, "warn");
|
|
8090
8187
|
return { swept: [], failed: [] };
|
|
8091
8188
|
});
|
|
@@ -8141,7 +8238,7 @@ function createReviewQueue(deps) {
|
|
|
8141
8238
|
note(`${t.project.alias} #${t.pr.number}: today's cap of ${maxPerDay} reached; waits`);
|
|
8142
8239
|
continue;
|
|
8143
8240
|
}
|
|
8144
|
-
const r = await
|
|
8241
|
+
const r = await oneAtATime3(() => prepareOne(t.project, t.meta, t.pr, true, note));
|
|
8145
8242
|
if (r.ok)
|
|
8146
8243
|
note(
|
|
8147
8244
|
`${t.project.alias} #${t.pr.number}: prepared \u2014 ${plural2(r.review.stories.length, "story", "stories")}, ${plural2(r.review.tests.gaps.length, "untested change")}${r.review.why ? ` (${r.review.why})` : ""}${r.how ? `; ${r.how}` : ""}`,
|
|
@@ -8186,7 +8283,7 @@ function createReviewQueue(deps) {
|
|
|
8186
8283
|
if (!pr) return { ok: false, error: `#${number} isn't an open pull request of ${repo}` };
|
|
8187
8284
|
const run2 = deps.activity?.start("reviews", `Preparing the review of ${repo} #${number}`);
|
|
8188
8285
|
const note = (text, level = "info") => run2?.note(text, { level });
|
|
8189
|
-
const r = await
|
|
8286
|
+
const r = await oneAtATime3(() => prepareOne(project, metaOf(repo, host, pr), pr, false, note, also));
|
|
8190
8287
|
if (r.ok) run2?.done(`prepared${r.how ? `; ${r.how}` : ""}`);
|
|
8191
8288
|
else run2?.fail(r.error);
|
|
8192
8289
|
return r.ok ? { ok: true, review: r.review } : { ok: false, error: r.error };
|
|
@@ -11422,6 +11519,64 @@ var DemoScenario = class {
|
|
|
11422
11519
|
]),
|
|
11423
11520
|
5
|
|
11424
11521
|
);
|
|
11522
|
+
const MANY_REPOS = [
|
|
11523
|
+
"billing",
|
|
11524
|
+
"catalog",
|
|
11525
|
+
"checkout",
|
|
11526
|
+
"identity",
|
|
11527
|
+
"inventory",
|
|
11528
|
+
"notifications",
|
|
11529
|
+
"orders",
|
|
11530
|
+
"payments",
|
|
11531
|
+
"search",
|
|
11532
|
+
"shipping",
|
|
11533
|
+
"reviews",
|
|
11534
|
+
"recommendations",
|
|
11535
|
+
"analytics",
|
|
11536
|
+
"admin"
|
|
11537
|
+
];
|
|
11538
|
+
this.add(
|
|
11539
|
+
"platform",
|
|
11540
|
+
"feat/rate-limits",
|
|
11541
|
+
MANY_REPOS.map((name, i) => {
|
|
11542
|
+
if (i % 3 === 2) return { name };
|
|
11543
|
+
const ident = name.replace(/-/g, "_");
|
|
11544
|
+
const fileCount = [1, 3, 0, 6, 2, 0, 12, 1, 0, 9, 4, 0, 7, 2][i];
|
|
11545
|
+
const bodyLines = [4, 30, 0, 12, 90, 0, 8, 160, 0, 20, 55, 0, 6, 240][i];
|
|
11546
|
+
const limiter = diffNew(`src/${name}/rate-limit.ts`, [
|
|
11547
|
+
`export const ${ident}Limit = { perMinute: ${60 + i * 10}, burst: ${5 + i} };`,
|
|
11548
|
+
"export function allow(count: number): boolean {",
|
|
11549
|
+
` return count <= ${ident}Limit.perMinute;`,
|
|
11550
|
+
"}"
|
|
11551
|
+
]);
|
|
11552
|
+
const extra = Array.from({ length: fileCount - 1 }, (_, k) => {
|
|
11553
|
+
const dir = ["handlers", "middleware", "config", "lib/util", "routes/v2"][k % 5];
|
|
11554
|
+
if (k % 3 === 2) {
|
|
11555
|
+
return diffEdit(
|
|
11556
|
+
`src/${name}/${dir}/index.ts`,
|
|
11557
|
+
10 + k,
|
|
11558
|
+
[` const limit = ${30 + k};`, " return limit;"],
|
|
11559
|
+
[` const limit = ${ident}Limit.perMinute;`, ' if (limit <= 0) throw new Error("rate limit unset");', " return limit;"],
|
|
11560
|
+
["export function limitFor(user: string): number {"]
|
|
11561
|
+
);
|
|
11562
|
+
}
|
|
11563
|
+
const lines = Array.from(
|
|
11564
|
+
{ length: Math.max(3, Math.round(bodyLines * (1 - k / (fileCount + 1)))) },
|
|
11565
|
+
(_2, n) => n % 5 === 0 ? `export function step${k}_${n}(input: number): number {` : n % 5 === 4 ? "}" : ` return input + ${n};`
|
|
11566
|
+
);
|
|
11567
|
+
return diffNew(`src/${name}/${dir}/limit-${k}.ts`, lines);
|
|
11568
|
+
});
|
|
11569
|
+
const change = [limiter, ...extra].join("");
|
|
11570
|
+
return { name, uncommitted: change, sinceBranch: change };
|
|
11571
|
+
}),
|
|
11572
|
+
{ state: "working", seen: true, summary: "Add a rate limit to every service", minutesAgo: 3 },
|
|
11573
|
+
claudeScreen("Add a rate limit to every service", [
|
|
11574
|
+
"\u25CF Write(billing/src/billing/rate-limit.ts)",
|
|
11575
|
+
"\u25CF Write(catalog/src/catalog/rate-limit.ts)",
|
|
11576
|
+
"\u273B Going through the other services\u2026 (esc to interrupt)"
|
|
11577
|
+
]),
|
|
11578
|
+
8
|
|
11579
|
+
);
|
|
11425
11580
|
this.add(
|
|
11426
11581
|
"api",
|
|
11427
11582
|
"chore/dependency-audit",
|
|
@@ -13028,7 +13183,10 @@ function createDemoSettings(repoPathOf) {
|
|
|
13028
13183
|
worktreesRoot: "~/worktrees",
|
|
13029
13184
|
editor: "code",
|
|
13030
13185
|
"prWatch.trustedBots": ["copilot-pull-request-reviewer", "github-actions"],
|
|
13031
|
-
"time.gapTicket": "OPS-1"
|
|
13186
|
+
"time.gapTicket": "OPS-1",
|
|
13187
|
+
// Answered: the dashboard's one-time question (StatusLineAsk) sits in the corner over the pages' own buttons
|
|
13188
|
+
// until it is, and the demo shows work's own line anyway.
|
|
13189
|
+
claudeStatusLine: "work"
|
|
13032
13190
|
};
|
|
13033
13191
|
const repos = /* @__PURE__ */ new Map([
|
|
13034
13192
|
[
|
|
@@ -14643,4 +14801,4 @@ export {
|
|
|
14643
14801
|
stopExisting,
|
|
14644
14802
|
webCommand
|
|
14645
14803
|
};
|
|
14646
|
-
//# sourceMappingURL=web-
|
|
14804
|
+
//# sourceMappingURL=web-HKNHNSJM.js.map
|