@moberg_hr/work-tree 2.18.1 → 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-B3HHUCH6.js → account-VGJEBBCS.js} +19 -18
- package/dist/{account-B3HHUCH6.js.map → account-VGJEBBCS.js.map} +1 -1
- package/dist/{add-repo-2U2FLGJQ.js → add-repo-KA723SUN.js} +16 -15
- package/dist/{add-repo-2U2FLGJQ.js.map → add-repo-KA723SUN.js.map} +1 -1
- package/dist/{answer-HHCSBUQE.js → answer-2MLNGB7P.js} +12 -11
- package/dist/{answer-HHCSBUQE.js.map → answer-2MLNGB7P.js.map} +1 -1
- package/dist/{attach-RNWANIFC.js → attach-4DSUBQBI.js} +17 -16
- package/dist/{attach-RNWANIFC.js.map → attach-4DSUBQBI.js.map} +1 -1
- package/dist/bin.js +4 -4
- package/dist/{block-FSGNBJSN.js → block-KCHJ4KMQ.js} +14 -13
- package/dist/{block-FSGNBJSN.js.map → block-KCHJ4KMQ.js.map} +1 -1
- package/dist/{broadcast-5WAUMYVO.js → broadcast-XZZ6S6MH.js} +10 -9
- package/dist/{broadcast-5WAUMYVO.js.map → broadcast-XZZ6S6MH.js.map} +1 -1
- package/dist/{catchup-T5SOCXHV.js → catchup-IVNPQHRM.js} +15 -14
- package/dist/{catchup-T5SOCXHV.js.map → catchup-IVNPQHRM.js.map} +1 -1
- package/dist/child-6ZMI62MQ.js +148 -0
- package/dist/child-6ZMI62MQ.js.map +1 -0
- package/dist/{chunk-7334DEPX.js → chunk-2YGVF224.js} +2 -2
- package/dist/{chunk-S7OCHVVD.js → chunk-4EFPHIME.js} +8 -8
- package/dist/chunk-6DOAS4VP.js +9 -0
- package/dist/{chunk-AT4EPCOV.js → chunk-6V6LBFWB.js} +2 -2
- package/dist/{chunk-A72CRTFG.js → chunk-75PWH7BG.js} +7 -5
- package/dist/chunk-75PWH7BG.js.map +1 -0
- package/dist/{chunk-2SLALFWA.js → chunk-7ZOWY7GC.js} +16 -5
- package/dist/chunk-7ZOWY7GC.js.map +1 -0
- package/dist/{chunk-56D4WJ2S.js → chunk-AB3TSGJ4.js} +3 -3
- package/dist/{chunk-V76KARDB.js → chunk-AFYYUXWA.js} +2 -2
- package/dist/chunk-AGICFQMJ.js +151 -0
- package/dist/chunk-AGICFQMJ.js.map +1 -0
- package/dist/{chunk-2LUTV7UB.js → chunk-B56NMAPD.js} +2 -2
- package/dist/{chunk-44UME4JD.js → chunk-BDZDOPAA.js} +2 -2
- package/dist/{chunk-BGPCIL4U.js → chunk-D7TL6I5A.js} +4 -4
- package/dist/{chunk-IVH5T4U2.js → chunk-DCEYDF77.js} +2 -2
- package/dist/{chunk-DAQJZE3B.js → chunk-EHVT6G2Z.js} +16 -14
- package/dist/{chunk-DAQJZE3B.js.map → chunk-EHVT6G2Z.js.map} +1 -1
- package/dist/{chunk-6EW27TKI.js → chunk-EVP5MMA7.js} +13 -11
- package/dist/{chunk-6EW27TKI.js.map → chunk-EVP5MMA7.js.map} +1 -1
- package/dist/{chunk-PYHYZGY4.js → chunk-F2H4FQ62.js} +4 -4
- package/dist/{chunk-AWP2MCMN.js → chunk-FCUVFJSY.js} +5 -5
- package/dist/{chunk-FJYM2JQN.js → chunk-FDFFJOV6.js} +147 -216
- package/dist/chunk-FDFFJOV6.js.map +1 -0
- package/dist/{chunk-GUEJVX2X.js → chunk-GROMKF62.js} +2 -2
- package/dist/{chunk-55T4LC2P.js → chunk-HNZRVCQF.js} +4 -4
- package/dist/{chunk-XQEP3QYX.js → chunk-ILLPPOIY.js} +8 -6
- package/dist/{chunk-XQEP3QYX.js.map → chunk-ILLPPOIY.js.map} +1 -1
- package/dist/{chunk-WKHP3AXS.js → chunk-IMTPBX3L.js} +4 -4
- package/dist/{chunk-KK5RCNDL.js → chunk-J3XKW5CH.js} +8 -8
- package/dist/{chunk-VG5WQPQB.js → chunk-JDLRVOX7.js} +4 -4
- package/dist/{chunk-AC7FECH5.js → chunk-JQO5ANP4.js} +7 -7
- package/dist/{chunk-PZGLIYMD.js → chunk-JTADL4BQ.js} +60 -57
- package/dist/chunk-JTADL4BQ.js.map +1 -0
- package/dist/{chunk-H4TNGZKT.js → chunk-JTH2PASW.js} +10 -10
- package/dist/{chunk-ADVMIHTB.js → chunk-L74WY44N.js} +2 -2
- package/dist/{chunk-R5DHVUA2.js → chunk-LHKUHNE3.js} +2 -2
- package/dist/{chunk-MWIPHUAE.js → chunk-LXBHVWOY.js} +2 -1
- package/dist/chunk-LXBHVWOY.js.map +1 -0
- package/dist/{chunk-ITNSUPVJ.js → chunk-M5NJSO3M.js} +7 -7
- package/dist/{chunk-MD6QMSXQ.js → chunk-MQGNH74M.js} +2 -2
- package/dist/{chunk-F5RPC3LT.js → chunk-MRTSFVRF.js} +3 -3
- package/dist/{chunk-BMLV63AW.js → chunk-MYMMOUTW.js} +2 -2
- package/dist/{chunk-ATBSACIU.js → chunk-NB7IBSKF.js} +3 -3
- package/dist/{chunk-WVDIS22N.js → chunk-NDSZQKYL.js} +3 -3
- package/dist/{chunk-BGS5M542.js → chunk-NDXZKB27.js} +3 -3
- package/dist/{chunk-WIYDT3PY.js → chunk-NFM4NGTI.js} +2 -2
- package/dist/{chunk-PSEVXDTS.js → chunk-NHZZMY3H.js} +3 -3
- package/dist/{chunk-4J2F6OWM.js → chunk-OHX7WKZU.js} +2 -2
- package/dist/{chunk-AMKLWFT3.js → chunk-OOQBMWTK.js} +2 -2
- package/dist/{chunk-3JLMVWRO.js → chunk-PORC2R73.js} +3 -3
- package/dist/{chunk-ALBTIOP3.js → chunk-QGUBOOEN.js} +16 -3
- package/dist/chunk-QGUBOOEN.js.map +1 -0
- package/dist/{chunk-QTENJUM3.js → chunk-QSY3HEP4.js} +7 -7
- package/dist/{chunk-G7VLIMOH.js → chunk-R7FZ4FNO.js} +4 -4
- package/dist/{chunk-2YRR5Q3C.js → chunk-RQ7W2CVL.js} +3 -3
- package/dist/{chunk-XKPF4MD2.js → chunk-SM6RE2AH.js} +3 -3
- package/dist/{chunk-IBTA4DSY.js → chunk-TNBZUIIP.js} +7 -7
- package/dist/{chunk-QO4QWQUO.js → chunk-UD5CFHUS.js} +2 -2
- package/dist/{chunk-WXYUABCL.js → chunk-UEEZ6DGK.js} +7 -7
- package/dist/{chunk-J5B2Z7SO.js → chunk-UNV2YM5V.js} +3 -3
- package/dist/{chunk-CNZV3UCM.js → chunk-UPS7NHKI.js} +2 -2
- package/dist/{chunk-QDNNFL56.js → chunk-UXEFUSJV.js} +4 -4
- package/dist/{chunk-HGB7BITW.js → chunk-W4GDPHIF.js} +3 -2
- package/dist/chunk-W4GDPHIF.js.map +1 -0
- package/dist/{chunk-374HKMSE.js → chunk-WC4IN5MD.js} +2 -2
- package/dist/{chunk-SRE4CK6Y.js → chunk-WIXY4EDH.js} +2 -2
- package/dist/{chunk-LBJHFVH3.js → chunk-WUW6WRKP.js} +6 -6
- package/dist/{chunk-H5JNYD63.js → chunk-XDKH4X4N.js} +2 -2
- package/dist/{chunk-CIUTNNF4.js → chunk-XEA3XWKW.js} +5 -5
- package/dist/{chunk-VBB3E37Z.js → chunk-XHDC3IU4.js} +7 -7
- package/dist/{chunk-PJ7ZKAZF.js → chunk-XVHRBV2I.js} +3 -3
- package/dist/{chunk-PZ7WTBSI.js → chunk-Y7PWSACJ.js} +2 -2
- package/dist/{chunk-26DBVWJC.js → chunk-YJYYR5RY.js} +4 -4
- package/dist/chunk-Z6ACV5ZQ.js +86 -0
- package/dist/chunk-Z6ACV5ZQ.js.map +1 -0
- package/dist/{chunk-LVNPLXUO.js → chunk-ZAOX63AG.js} +8 -8
- package/dist/{chunk-N2IDEZGB.js → chunk-ZSDMH3TI.js} +5 -5
- package/dist/{cleanup-LJHC5O6U.js → cleanup-6DHF6MVQ.js} +31 -30
- package/dist/{cleanup-LJHC5O6U.js.map → cleanup-6DHF6MVQ.js.map} +1 -1
- package/dist/{cli-K6T6AJHP.js → cli-7XVDO432.js} +4 -4
- package/dist/{color-7PZNDE4R.js → color-G7OB6JRX.js} +13 -12
- package/dist/{color-7PZNDE4R.js.map → color-G7OB6JRX.js.map} +1 -1
- package/dist/{config-TM37HUBM.js → config-WLHZ5EOU.js} +11 -10
- package/dist/{config-TM37HUBM.js.map → config-WLHZ5EOU.js.map} +1 -1
- package/dist/coordinate-YOTO6WGQ.js +122 -0
- package/dist/coordinate-YOTO6WGQ.js.map +1 -0
- package/dist/{diff-RSSLOKE7.js → diff-TKHHSR2G.js} +12 -11
- package/dist/{diff-RSSLOKE7.js.map → diff-TKHHSR2G.js.map} +1 -1
- package/dist/{digest-LCHLLJ4M.js → digest-OVUDG6O7.js} +11 -10
- package/dist/{digest-LCHLLJ4M.js.map → digest-OVUDG6O7.js.map} +1 -1
- package/dist/{fork-XVNZMWCA.js → fork-6AQ62ODJ.js} +28 -27
- package/dist/{fork-XVNZMWCA.js.map → fork-6AQ62ODJ.js.map} +1 -1
- package/dist/{history-CRUFLMA2.js → history-ZT6YAO62.js} +9 -8
- package/dist/{hook-U4WCMGD6.js → hook-MDENN4PE.js} +17 -16
- package/dist/{hook-U4WCMGD6.js.map → hook-MDENN4PE.js.map} +1 -1
- package/dist/{hydrate-BYXK4W6T.js → hydrate-3KEAOXSE.js} +10 -9
- package/dist/{hydrate-BYXK4W6T.js.map → hydrate-3KEAOXSE.js.map} +1 -1
- package/dist/{init-JWBB4HBE.js → init-UDRGQJWV.js} +14 -13
- package/dist/{init-JWBB4HBE.js.map → init-UDRGQJWV.js.map} +1 -1
- package/dist/{install-skills-M2Y6ZGQC.js → install-skills-QTNDVA4T.js} +8 -7
- package/dist/install-skills-bin.js +7 -6
- package/dist/install-skills-bin.js.map +1 -1
- package/dist/{keep-OZJ2XXKF.js → keep-G4Z6EBQM.js} +12 -11
- package/dist/{keep-OZJ2XXKF.js.map → keep-G4Z6EBQM.js.map} +1 -1
- package/dist/{list-YVZSGKT4.js → list-DFENHOZN.js} +9 -8
- package/dist/{list-YVZSGKT4.js.map → list-DFENHOZN.js.map} +1 -1
- package/dist/{move-7TAU3LI3.js → move-ZF4Z7X5U.js} +16 -15
- package/dist/{move-7TAU3LI3.js.map → move-ZF4Z7X5U.js.map} +1 -1
- package/dist/{note-ESLGTIYH.js → note-UIC3ZWUV.js} +13 -12
- package/dist/{note-ESLGTIYH.js.map → note-UIC3ZWUV.js.map} +1 -1
- package/dist/{overlaps-FYXO3OL2.js → overlaps-SHQUKU7E.js} +15 -14
- package/dist/{overlaps-FYXO3OL2.js.map → overlaps-SHQUKU7E.js.map} +1 -1
- package/dist/{pin-AAMXBCV3.js → pin-LC33A2NH.js} +13 -12
- package/dist/{pin-AAMXBCV3.js.map → pin-LC33A2NH.js.map} +1 -1
- package/dist/{pr-42UBVLUT.js → pr-FRW5V6HV.js} +22 -21
- package/dist/{pr-42UBVLUT.js.map → pr-FRW5V6HV.js.map} +1 -1
- package/dist/{prune-B72T33B6.js → prune-BZ2NL4VG.js} +29 -28
- package/dist/{prune-B72T33B6.js.map → prune-BZ2NL4VG.js.map} +1 -1
- package/dist/{pty-host-72L4DQL5.js → pty-host-ULFHBYSP.js} +14 -13
- package/dist/{pty-host-72L4DQL5.js.map → pty-host-ULFHBYSP.js.map} +1 -1
- package/dist/{read-75KS2EXO.js → read-NQMJXBGZ.js} +12 -11
- package/dist/{read-75KS2EXO.js.map → read-NQMJXBGZ.js.map} +1 -1
- package/dist/{recent-H665DNCJ.js → recent-5POY67P2.js} +16 -15
- package/dist/{recent-H665DNCJ.js.map → recent-5POY67P2.js.map} +1 -1
- package/dist/{remove-ZZBCNASU.js → remove-4Z2PPUMR.js} +30 -29
- package/dist/{remove-ZZBCNASU.js.map → remove-4Z2PPUMR.js.map} +1 -1
- package/dist/report-RBBVHVHD.js +74 -0
- package/dist/report-RBBVHVHD.js.map +1 -0
- package/dist/{restart-WFMCSOPB.js → restart-S3SSGR6A.js} +12 -11
- package/dist/{restart-WFMCSOPB.js.map → restart-S3SSGR6A.js.map} +1 -1
- package/dist/{resume-GICIEI2I.js → resume-FLLXA3RH.js} +16 -15
- package/dist/{resume-GICIEI2I.js.map → resume-FLLXA3RH.js.map} +1 -1
- package/dist/{review-TZUVYEAL.js → review-SFRX7ODW.js} +13 -12
- package/dist/{review-TZUVYEAL.js.map → review-SFRX7ODW.js.map} +1 -1
- package/dist/{review-now-LYGJDHDE.js → review-now-KZDBETZK.js} +4 -4
- package/dist/{run-SVJLTKSR.js → run-BMD66HMR.js} +9 -8
- package/dist/{run-SVJLTKSR.js.map → run-BMD66HMR.js.map} +1 -1
- package/dist/{screen-JC6L6MT5.js → screen-MKRRQSIU.js} +12 -11
- package/dist/{screen-JC6L6MT5.js.map → screen-MKRRQSIU.js.map} +1 -1
- package/dist/{search-3BZMJM3P.js → search-2NDA23G4.js} +9 -8
- package/dist/{search-3BZMJM3P.js.map → search-2NDA23G4.js.map} +1 -1
- package/dist/{section-GNYPAEQC.js → section-Z5G4B5IO.js} +13 -12
- package/dist/{section-GNYPAEQC.js.map → section-Z5G4B5IO.js.map} +1 -1
- package/dist/{send-KVUFOWCP.js → send-EVYK2JXH.js} +13 -12
- package/dist/{send-KVUFOWCP.js.map → send-EVYK2JXH.js.map} +1 -1
- package/dist/{sessions-W36QTHAD.js → sessions-UD7GC6PL.js} +25 -24
- package/dist/{sessions-W36QTHAD.js.map → sessions-UD7GC6PL.js.map} +1 -1
- package/dist/{show-FQPMGZO3.js → show-K4MELKXA.js} +11 -10
- package/dist/{show-FQPMGZO3.js.map → show-K4MELKXA.js.map} +1 -1
- package/dist/{snooze-HGO3W2OF.js → snooze-457UM2MR.js} +12 -11
- package/dist/{snooze-HGO3W2OF.js.map → snooze-457UM2MR.js.map} +1 -1
- package/dist/{start-UQSJGUMJ.js → start-CMYT5ELG.js} +12 -11
- package/dist/{start-UQSJGUMJ.js.map → start-CMYT5ELG.js.map} +1 -1
- package/dist/{state-24H5QRPO.js → state-TOTGEK7J.js} +9 -5
- package/dist/state-TOTGEK7J.js.map +1 -0
- package/dist/{status-MGTUAZTA.js → status-M5RGLGOI.js} +13 -12
- package/dist/{status-MGTUAZTA.js.map → status-M5RGLGOI.js.map} +1 -1
- package/dist/{statusline-B6U3ANSM.js → statusline-QZKHVDHR.js} +4 -4
- package/dist/statusline-hook-Q645N4XF.js +162 -0
- package/dist/statusline-hook-Q645N4XF.js.map +1 -0
- package/dist/{stop-JBUL4WY3.js → stop-QUXZ4KOU.js} +12 -11
- package/dist/{stop-JBUL4WY3.js.map → stop-QUXZ4KOU.js.map} +1 -1
- package/dist/{sync-ILYA3AHS.js → sync-LOUYX24W.js} +29 -28
- package/dist/{sync-ILYA3AHS.js.map → sync-LOUYX24W.js.map} +1 -1
- package/dist/{time-ZOJD7HFL.js → time-DQ55WLCX.js} +14 -13
- package/dist/{time-ZOJD7HFL.js.map → time-DQ55WLCX.js.map} +1 -1
- package/dist/{time-actions-AIKJ7ENX.js → time-actions-HY3AML3Y.js} +4 -4
- package/dist/{timesheet-WT7QUB7M.js → timesheet-F4ATWRKK.js} +15 -14
- package/dist/{timesheet-WT7QUB7M.js.map → timesheet-F4ATWRKK.js.map} +1 -1
- package/dist/{todo-GB7X6KWW.js → todo-QY5ZPN24.js} +4 -4
- package/dist/{tree-M6YEJCXF.js → tree-7BZQE5JA.js} +28 -27
- package/dist/{tree-M6YEJCXF.js.map → tree-7BZQE5JA.js.map} +1 -1
- package/dist/{update-47FZ6YO5.js → update-A5N2KKOV.js} +18 -17
- package/dist/{update-47FZ6YO5.js.map → update-A5N2KKOV.js.map} +1 -1
- package/dist/{usage-PTD3C34L.js → usage-ZEZY46OJ.js} +11 -10
- package/dist/{usage-PTD3C34L.js.map → usage-ZEZY46OJ.js.map} +1 -1
- package/dist/{usage-ask-BULFMCUZ.js → usage-ask-C3QLGFC5.js} +3 -3
- package/dist/{version-6UJN2CCE.js → version-3UR4YFMC.js} +4 -4
- package/dist/{wait-JHFM3MA7.js → wait-ZOTGREAN.js} +13 -12
- package/dist/{wait-JHFM3MA7.js.map → wait-ZOTGREAN.js.map} +1 -1
- package/dist/wd-bin.js +3 -3
- package/dist/web/assets/{PtyView-DpIVcrTI.js → PtyView-dPCRmDiL.js} +2 -2
- package/dist/web/assets/{PtyView-DpIVcrTI.js.map → PtyView-dPCRmDiL.js.map} +1 -1
- package/dist/web/assets/{index-DhXqtaRc.js → index-1o9y5y_j.js} +57 -56
- 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-HRGWOUDV.js → web-HKNHNSJM.js} +322 -141
- 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-2SLALFWA.js.map +0 -1
- package/dist/chunk-4YG55UQ6.js +0 -9
- package/dist/chunk-A72CRTFG.js.map +0 -1
- package/dist/chunk-ALBTIOP3.js.map +0 -1
- package/dist/chunk-FJYM2JQN.js.map +0 -1
- package/dist/chunk-HGB7BITW.js.map +0 -1
- package/dist/chunk-MWIPHUAE.js.map +0 -1
- package/dist/chunk-PZGLIYMD.js.map +0 -1
- package/dist/state-24H5QRPO.js.map +0 -1
- package/dist/statusline-hook-SYRLMSDL.js +0 -72
- package/dist/statusline-hook-SYRLMSDL.js.map +0 -1
- package/dist/web/assets/index-DhXqtaRc.js.map +0 -1
- package/dist/web-HRGWOUDV.js.map +0 -1
- /package/dist/{chunk-7334DEPX.js.map → chunk-2YGVF224.js.map} +0 -0
- /package/dist/{chunk-S7OCHVVD.js.map → chunk-4EFPHIME.js.map} +0 -0
- /package/dist/{chunk-4YG55UQ6.js.map → chunk-6DOAS4VP.js.map} +0 -0
- /package/dist/{chunk-AT4EPCOV.js.map → chunk-6V6LBFWB.js.map} +0 -0
- /package/dist/{chunk-56D4WJ2S.js.map → chunk-AB3TSGJ4.js.map} +0 -0
- /package/dist/{chunk-V76KARDB.js.map → chunk-AFYYUXWA.js.map} +0 -0
- /package/dist/{chunk-2LUTV7UB.js.map → chunk-B56NMAPD.js.map} +0 -0
- /package/dist/{chunk-44UME4JD.js.map → chunk-BDZDOPAA.js.map} +0 -0
- /package/dist/{chunk-BGPCIL4U.js.map → chunk-D7TL6I5A.js.map} +0 -0
- /package/dist/{chunk-IVH5T4U2.js.map → chunk-DCEYDF77.js.map} +0 -0
- /package/dist/{chunk-PYHYZGY4.js.map → chunk-F2H4FQ62.js.map} +0 -0
- /package/dist/{chunk-AWP2MCMN.js.map → chunk-FCUVFJSY.js.map} +0 -0
- /package/dist/{chunk-GUEJVX2X.js.map → chunk-GROMKF62.js.map} +0 -0
- /package/dist/{chunk-55T4LC2P.js.map → chunk-HNZRVCQF.js.map} +0 -0
- /package/dist/{chunk-WKHP3AXS.js.map → chunk-IMTPBX3L.js.map} +0 -0
- /package/dist/{chunk-KK5RCNDL.js.map → chunk-J3XKW5CH.js.map} +0 -0
- /package/dist/{chunk-VG5WQPQB.js.map → chunk-JDLRVOX7.js.map} +0 -0
- /package/dist/{chunk-AC7FECH5.js.map → chunk-JQO5ANP4.js.map} +0 -0
- /package/dist/{chunk-H4TNGZKT.js.map → chunk-JTH2PASW.js.map} +0 -0
- /package/dist/{chunk-ADVMIHTB.js.map → chunk-L74WY44N.js.map} +0 -0
- /package/dist/{chunk-R5DHVUA2.js.map → chunk-LHKUHNE3.js.map} +0 -0
- /package/dist/{chunk-ITNSUPVJ.js.map → chunk-M5NJSO3M.js.map} +0 -0
- /package/dist/{chunk-MD6QMSXQ.js.map → chunk-MQGNH74M.js.map} +0 -0
- /package/dist/{chunk-F5RPC3LT.js.map → chunk-MRTSFVRF.js.map} +0 -0
- /package/dist/{chunk-BMLV63AW.js.map → chunk-MYMMOUTW.js.map} +0 -0
- /package/dist/{chunk-ATBSACIU.js.map → chunk-NB7IBSKF.js.map} +0 -0
- /package/dist/{chunk-WVDIS22N.js.map → chunk-NDSZQKYL.js.map} +0 -0
- /package/dist/{chunk-BGS5M542.js.map → chunk-NDXZKB27.js.map} +0 -0
- /package/dist/{chunk-WIYDT3PY.js.map → chunk-NFM4NGTI.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-AMKLWFT3.js.map → chunk-OOQBMWTK.js.map} +0 -0
- /package/dist/{chunk-3JLMVWRO.js.map → chunk-PORC2R73.js.map} +0 -0
- /package/dist/{chunk-QTENJUM3.js.map → chunk-QSY3HEP4.js.map} +0 -0
- /package/dist/{chunk-G7VLIMOH.js.map → chunk-R7FZ4FNO.js.map} +0 -0
- /package/dist/{chunk-2YRR5Q3C.js.map → chunk-RQ7W2CVL.js.map} +0 -0
- /package/dist/{chunk-XKPF4MD2.js.map → chunk-SM6RE2AH.js.map} +0 -0
- /package/dist/{chunk-IBTA4DSY.js.map → chunk-TNBZUIIP.js.map} +0 -0
- /package/dist/{chunk-QO4QWQUO.js.map → chunk-UD5CFHUS.js.map} +0 -0
- /package/dist/{chunk-WXYUABCL.js.map → chunk-UEEZ6DGK.js.map} +0 -0
- /package/dist/{chunk-J5B2Z7SO.js.map → chunk-UNV2YM5V.js.map} +0 -0
- /package/dist/{chunk-CNZV3UCM.js.map → chunk-UPS7NHKI.js.map} +0 -0
- /package/dist/{chunk-QDNNFL56.js.map → chunk-UXEFUSJV.js.map} +0 -0
- /package/dist/{chunk-374HKMSE.js.map → chunk-WC4IN5MD.js.map} +0 -0
- /package/dist/{chunk-SRE4CK6Y.js.map → chunk-WIXY4EDH.js.map} +0 -0
- /package/dist/{chunk-LBJHFVH3.js.map → chunk-WUW6WRKP.js.map} +0 -0
- /package/dist/{chunk-H5JNYD63.js.map → chunk-XDKH4X4N.js.map} +0 -0
- /package/dist/{chunk-CIUTNNF4.js.map → chunk-XEA3XWKW.js.map} +0 -0
- /package/dist/{chunk-VBB3E37Z.js.map → chunk-XHDC3IU4.js.map} +0 -0
- /package/dist/{chunk-PJ7ZKAZF.js.map → chunk-XVHRBV2I.js.map} +0 -0
- /package/dist/{chunk-PZ7WTBSI.js.map → chunk-Y7PWSACJ.js.map} +0 -0
- /package/dist/{chunk-26DBVWJC.js.map → chunk-YJYYR5RY.js.map} +0 -0
- /package/dist/{chunk-LVNPLXUO.js.map → chunk-ZAOX63AG.js.map} +0 -0
- /package/dist/{chunk-N2IDEZGB.js.map → chunk-ZSDMH3TI.js.map} +0 -0
- /package/dist/{cli-K6T6AJHP.js.map → cli-7XVDO432.js.map} +0 -0
- /package/dist/{history-CRUFLMA2.js.map → history-ZT6YAO62.js.map} +0 -0
- /package/dist/{install-skills-M2Y6ZGQC.js.map → install-skills-QTNDVA4T.js.map} +0 -0
- /package/dist/{review-now-LYGJDHDE.js.map → review-now-KZDBETZK.js.map} +0 -0
- /package/dist/{statusline-B6U3ANSM.js.map → statusline-QZKHVDHR.js.map} +0 -0
- /package/dist/{time-actions-AIKJ7ENX.js.map → time-actions-HY3AML3Y.js.map} +0 -0
- /package/dist/{todo-GB7X6KWW.js.map → todo-QY5ZPN24.js.map} +0 -0
- /package/dist/{usage-ask-BULFMCUZ.js.map → usage-ask-C3QLGFC5.js.map} +0 -0
- /package/dist/{version-6UJN2CCE.js.map → version-3UR4YFMC.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-V76KARDB.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-LVNPLXUO.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,31 +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-AT4EPCOV.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 {
|
|
90
|
+
anyOwnStatusLine,
|
|
82
91
|
buildUsage,
|
|
83
92
|
realUsageDeps,
|
|
84
93
|
refreshUsage,
|
|
85
94
|
setupAgentUsage
|
|
86
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-7ZOWY7GC.js";
|
|
87
96
|
import {
|
|
88
97
|
sendToSession
|
|
89
98
|
} from "./chunk-KWHHB737.js";
|
|
@@ -92,7 +101,7 @@ import {
|
|
|
92
101
|
readNote,
|
|
93
102
|
saveNote,
|
|
94
103
|
sessionsWithNotes
|
|
95
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-MQGNH74M.js";
|
|
96
105
|
import {
|
|
97
106
|
addBlocker,
|
|
98
107
|
allBlocks,
|
|
@@ -104,16 +113,16 @@ import {
|
|
|
104
113
|
removeBlocker,
|
|
105
114
|
sweepBlocks,
|
|
106
115
|
unblockedPrompt
|
|
107
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-HNZRVCQF.js";
|
|
108
117
|
import {
|
|
109
118
|
jiraWorklogPoster,
|
|
110
119
|
logWorkDay,
|
|
111
120
|
loggedDays,
|
|
112
121
|
worklogSettings
|
|
113
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-WIXY4EDH.js";
|
|
114
123
|
import {
|
|
115
124
|
sessionWorkTime
|
|
116
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-MRTSFVRF.js";
|
|
117
126
|
import {
|
|
118
127
|
accountOverview,
|
|
119
128
|
accountSkillsNote,
|
|
@@ -125,7 +134,7 @@ import {
|
|
|
125
134
|
removeAgentAccount,
|
|
126
135
|
setDefaultAgentAccount,
|
|
127
136
|
switchRefusal
|
|
128
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-WUW6WRKP.js";
|
|
129
138
|
import "./chunk-LK7HJGUC.js";
|
|
130
139
|
import {
|
|
131
140
|
freeLeftovers,
|
|
@@ -135,25 +144,29 @@ import {
|
|
|
135
144
|
parsePrRef,
|
|
136
145
|
resolvePrToStart,
|
|
137
146
|
workOnPrPrompt
|
|
138
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-NDSZQKYL.js";
|
|
139
148
|
import {
|
|
140
149
|
legacyUnsafeCheck
|
|
141
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-UEEZ6DGK.js";
|
|
142
151
|
import {
|
|
143
152
|
howToLift
|
|
144
153
|
} from "./chunk-FZHFD2AY.js";
|
|
145
154
|
import {
|
|
146
155
|
agentsBySession,
|
|
147
156
|
summarizeAgents
|
|
148
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-NDXZKB27.js";
|
|
149
158
|
import {
|
|
150
159
|
removeWorktreeInChild
|
|
151
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-MYMMOUTW.js";
|
|
152
161
|
import {
|
|
153
162
|
archiveMergedSession,
|
|
154
163
|
archiveWaiting,
|
|
155
164
|
defaultArchiveDeps
|
|
156
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-EHVT6G2Z.js";
|
|
166
|
+
import {
|
|
167
|
+
cleanupVerdict,
|
|
168
|
+
createCleanupJob
|
|
169
|
+
} from "./chunk-AKMPF72Y.js";
|
|
157
170
|
import {
|
|
158
171
|
MAX_REPLY_CHARS,
|
|
159
172
|
discardReply,
|
|
@@ -169,11 +182,7 @@ import {
|
|
|
169
182
|
retireResolvedReplies,
|
|
170
183
|
sessionRepoRefs,
|
|
171
184
|
withThreadContext
|
|
172
|
-
} from "./chunk-
|
|
173
|
-
import {
|
|
174
|
-
cleanupVerdict,
|
|
175
|
-
createCleanupJob
|
|
176
|
-
} from "./chunk-AKMPF72Y.js";
|
|
185
|
+
} from "./chunk-JQO5ANP4.js";
|
|
177
186
|
import {
|
|
178
187
|
DEFAULT_TRUSTED_BOTS,
|
|
179
188
|
createCiStore,
|
|
@@ -183,7 +192,7 @@ import {
|
|
|
183
192
|
openThreadsOf,
|
|
184
193
|
reviewMessage,
|
|
185
194
|
subAgentHint
|
|
186
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-F2H4FQ62.js";
|
|
187
196
|
import {
|
|
188
197
|
commandWords,
|
|
189
198
|
describeProcess,
|
|
@@ -197,7 +206,7 @@ import {
|
|
|
197
206
|
defaultForkDeps,
|
|
198
207
|
forkSession,
|
|
199
208
|
startSessionWithPrompt
|
|
200
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-JTH2PASW.js";
|
|
201
210
|
import {
|
|
202
211
|
childText,
|
|
203
212
|
createInChild,
|
|
@@ -205,7 +214,7 @@ import {
|
|
|
205
214
|
keyedQueue,
|
|
206
215
|
oneAtATime,
|
|
207
216
|
runWorkChild
|
|
208
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-R7FZ4FNO.js";
|
|
209
218
|
import {
|
|
210
219
|
configurePtyPool,
|
|
211
220
|
detachPtyPool,
|
|
@@ -230,26 +239,26 @@ import {
|
|
|
230
239
|
syncPtyPool,
|
|
231
240
|
terminalTicketUrl,
|
|
232
241
|
writeToPty
|
|
233
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-4EFPHIME.js";
|
|
234
243
|
import "./chunk-VRMALBZK.js";
|
|
235
244
|
import {
|
|
236
245
|
disposeAllWatchers,
|
|
237
246
|
disposeSessionWatcher,
|
|
238
247
|
findSession as findSession2,
|
|
239
248
|
subscribeSession
|
|
240
|
-
} from "./chunk-
|
|
241
|
-
import "./chunk-
|
|
249
|
+
} from "./chunk-WC4IN5MD.js";
|
|
250
|
+
import "./chunk-OHX7WKZU.js";
|
|
242
251
|
import "./chunk-DLV7TRON.js";
|
|
243
252
|
import {
|
|
244
253
|
addRepoRefusal,
|
|
245
254
|
addedRepoNote
|
|
246
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-DCEYDF77.js";
|
|
247
256
|
import {
|
|
248
257
|
teardownWorktree,
|
|
249
258
|
toBaseSpec,
|
|
250
259
|
wouldRefuseRemoval
|
|
251
|
-
} from "./chunk-
|
|
252
|
-
import "./chunk-
|
|
260
|
+
} from "./chunk-M5NJSO3M.js";
|
|
261
|
+
import "./chunk-Y7PWSACJ.js";
|
|
253
262
|
import {
|
|
254
263
|
isWorktreeFolder
|
|
255
264
|
} from "./chunk-EORL2V7P.js";
|
|
@@ -268,35 +277,35 @@ import {
|
|
|
268
277
|
stackedOn,
|
|
269
278
|
updateFromBase,
|
|
270
279
|
updateFromMain
|
|
271
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-TNBZUIIP.js";
|
|
272
281
|
import {
|
|
273
282
|
sessionStatusView,
|
|
274
283
|
shownState
|
|
275
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-UXEFUSJV.js";
|
|
276
285
|
import {
|
|
277
286
|
askCatchUp,
|
|
278
287
|
cachedCatchUp,
|
|
279
288
|
catchUp,
|
|
280
289
|
catchUpFacts,
|
|
281
290
|
forgetCatchUp
|
|
282
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-XEA3XWKW.js";
|
|
283
292
|
import {
|
|
284
293
|
internalReadOnly,
|
|
285
294
|
runInternal,
|
|
286
295
|
runInternalReadOnly,
|
|
287
296
|
summarizeCheckpoint,
|
|
288
297
|
throttleTrailing
|
|
289
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-D7TL6I5A.js";
|
|
290
299
|
import {
|
|
291
300
|
computeDiff,
|
|
292
301
|
computeRangeDiff,
|
|
293
302
|
parseGitDiff
|
|
294
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-UD5CFHUS.js";
|
|
295
304
|
import {
|
|
296
305
|
changeRailSections,
|
|
297
306
|
placeSession,
|
|
298
307
|
readRailLayout
|
|
299
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-NB7IBSKF.js";
|
|
300
309
|
import {
|
|
301
310
|
QUEUE_RECHECK_MS,
|
|
302
311
|
busyForRestart,
|
|
@@ -334,7 +343,7 @@ import {
|
|
|
334
343
|
tempoSetup,
|
|
335
344
|
timeRange,
|
|
336
345
|
updateDay
|
|
337
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-AB3TSGJ4.js";
|
|
338
347
|
import {
|
|
339
348
|
DISCUSSION_OPEN_MIN_MS,
|
|
340
349
|
LEFT_OVER_SUBMIT,
|
|
@@ -378,7 +387,7 @@ import {
|
|
|
378
387
|
withClaim,
|
|
379
388
|
withFixClaim,
|
|
380
389
|
withoutFixClaim
|
|
381
|
-
} from "./chunk-
|
|
390
|
+
} from "./chunk-LHKUHNE3.js";
|
|
382
391
|
import {
|
|
383
392
|
asData,
|
|
384
393
|
asDataBlock
|
|
@@ -388,9 +397,9 @@ import {
|
|
|
388
397
|
assistantDir,
|
|
389
398
|
describeView,
|
|
390
399
|
writeAssistantContext
|
|
391
|
-
} from "./chunk-
|
|
400
|
+
} from "./chunk-OOQBMWTK.js";
|
|
392
401
|
import "./chunk-7E5XPDKX.js";
|
|
393
|
-
import "./chunk-
|
|
402
|
+
import "./chunk-GROMKF62.js";
|
|
394
403
|
import {
|
|
395
404
|
clearDevWebDiscovery,
|
|
396
405
|
clearWebDiscovery,
|
|
@@ -408,11 +417,11 @@ import {
|
|
|
408
417
|
findSessionForCwd,
|
|
409
418
|
readPendingForSession,
|
|
410
419
|
readPendingForWorktree
|
|
411
|
-
} from "./chunk-
|
|
420
|
+
} from "./chunk-FCUVFJSY.js";
|
|
412
421
|
import "./chunk-ZSHWP2VS.js";
|
|
413
422
|
import {
|
|
414
423
|
getCommentFileStore
|
|
415
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-UPS7NHKI.js";
|
|
416
425
|
import {
|
|
417
426
|
createCommentStore
|
|
418
427
|
} from "./chunk-HUXS3VAI.js";
|
|
@@ -420,7 +429,7 @@ import {
|
|
|
420
429
|
checkTools,
|
|
421
430
|
saveFolders,
|
|
422
431
|
setupState
|
|
423
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-YJYYR5RY.js";
|
|
424
433
|
import {
|
|
425
434
|
chooseWorktreesRoot,
|
|
426
435
|
expandHome
|
|
@@ -433,17 +442,17 @@ import {
|
|
|
433
442
|
stageInputOf,
|
|
434
443
|
withRequiredChecks,
|
|
435
444
|
workElsewhere
|
|
436
|
-
} from "./chunk-
|
|
445
|
+
} from "./chunk-XHDC3IU4.js";
|
|
437
446
|
import {
|
|
438
447
|
createSessionBranches
|
|
439
|
-
} from "./chunk-
|
|
448
|
+
} from "./chunk-ILLPPOIY.js";
|
|
440
449
|
import {
|
|
441
450
|
defaultHost,
|
|
442
451
|
hostById,
|
|
443
452
|
hostForRepo,
|
|
444
453
|
hostOfPrUrl,
|
|
445
454
|
originHostname
|
|
446
|
-
} from "./chunk-
|
|
455
|
+
} from "./chunk-IMTPBX3L.js";
|
|
447
456
|
import {
|
|
448
457
|
MAX_THREAD_BODY
|
|
449
458
|
} from "./chunk-FGPXMAYU.js";
|
|
@@ -456,7 +465,7 @@ import {
|
|
|
456
465
|
readSessionBranches,
|
|
457
466
|
repoNameOf,
|
|
458
467
|
wasPushed
|
|
459
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-PORC2R73.js";
|
|
460
469
|
import {
|
|
461
470
|
RepoAdminError,
|
|
462
471
|
deleteGroup,
|
|
@@ -468,11 +477,11 @@ import {
|
|
|
468
477
|
setRepoIgnored,
|
|
469
478
|
setReviewMode,
|
|
470
479
|
setScanRoot
|
|
471
|
-
} from "./chunk-
|
|
480
|
+
} from "./chunk-UNV2YM5V.js";
|
|
472
481
|
import {
|
|
473
482
|
editorArgs,
|
|
474
483
|
openUrl
|
|
475
|
-
} from "./chunk-
|
|
484
|
+
} from "./chunk-XDKH4X4N.js";
|
|
476
485
|
import {
|
|
477
486
|
enrollProblem,
|
|
478
487
|
groupProblem,
|
|
@@ -572,7 +581,7 @@ import {
|
|
|
572
581
|
updateCheckpoint,
|
|
573
582
|
whileRestoring,
|
|
574
583
|
writeArchiveRecord
|
|
575
|
-
} from "./chunk-
|
|
584
|
+
} from "./chunk-75PWH7BG.js";
|
|
576
585
|
import {
|
|
577
586
|
dayKey
|
|
578
587
|
} from "./chunk-NEJVK5CF.js";
|
|
@@ -583,7 +592,7 @@ import {
|
|
|
583
592
|
sessionIdFor,
|
|
584
593
|
tx,
|
|
585
594
|
withDb
|
|
586
|
-
} from "./chunk-
|
|
595
|
+
} from "./chunk-QGUBOOEN.js";
|
|
587
596
|
import {
|
|
588
597
|
packageRoot
|
|
589
598
|
} from "./chunk-LNHSBM4L.js";
|
|
@@ -596,8 +605,6 @@ import {
|
|
|
596
605
|
agentWriteMs,
|
|
597
606
|
bestEffort,
|
|
598
607
|
bestEffortAsync,
|
|
599
|
-
checkedOutBranch,
|
|
600
|
-
gitDirs,
|
|
601
608
|
isOwnCheckout,
|
|
602
609
|
knownAgents,
|
|
603
610
|
lineTimeOf,
|
|
@@ -606,22 +613,26 @@ import {
|
|
|
606
613
|
ownsBranch,
|
|
607
614
|
projectList,
|
|
608
615
|
readJsonlSince,
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
workingBranch
|
|
612
|
-
} from "./chunk-FJYM2JQN.js";
|
|
616
|
+
swallow
|
|
617
|
+
} from "./chunk-FDFFJOV6.js";
|
|
613
618
|
import "./chunk-KGHWHAVF.js";
|
|
614
|
-
import "./chunk-
|
|
619
|
+
import "./chunk-NFM4NGTI.js";
|
|
615
620
|
import "./chunk-YQSWVHKK.js";
|
|
616
621
|
import {
|
|
617
622
|
VERSION
|
|
618
|
-
} from "./chunk-
|
|
623
|
+
} from "./chunk-6DOAS4VP.js";
|
|
619
624
|
import {
|
|
620
625
|
resolveProjectTarget
|
|
621
626
|
} from "./chunk-IPHADNF5.js";
|
|
622
627
|
import {
|
|
623
628
|
git
|
|
624
629
|
} from "./chunk-JYWX2N5W.js";
|
|
630
|
+
import {
|
|
631
|
+
checkedOutBranch,
|
|
632
|
+
gitDirs,
|
|
633
|
+
refShaFromFiles,
|
|
634
|
+
workingBranch
|
|
635
|
+
} from "./chunk-Z6ACV5ZQ.js";
|
|
625
636
|
import {
|
|
626
637
|
usageDir
|
|
627
638
|
} from "./chunk-JUGF3YE7.js";
|
|
@@ -631,7 +642,7 @@ import {
|
|
|
631
642
|
import {
|
|
632
643
|
DEFAULT_ACCOUNT_NAME,
|
|
633
644
|
accountNameProblem
|
|
634
|
-
} from "./chunk-
|
|
645
|
+
} from "./chunk-2YGVF224.js";
|
|
635
646
|
import {
|
|
636
647
|
DEFAULT_ACCOUNT,
|
|
637
648
|
DEFAULT_PROMPTS,
|
|
@@ -646,8 +657,8 @@ import {
|
|
|
646
657
|
isRailColor,
|
|
647
658
|
isWorkday,
|
|
648
659
|
loadConfig
|
|
649
|
-
} from "./chunk-
|
|
650
|
-
import "./chunk-
|
|
660
|
+
} from "./chunk-LXBHVWOY.js";
|
|
661
|
+
import "./chunk-W4GDPHIF.js";
|
|
651
662
|
import "./chunk-BR6OWWAA.js";
|
|
652
663
|
import {
|
|
653
664
|
bootTime,
|
|
@@ -3165,6 +3176,21 @@ var SETTINGS = [
|
|
|
3165
3176
|
kind: { type: "list", placeholder: "JAVA_HOME", pattern: SETTING_PATTERNS.envName, patternError: "isn't a variable's name" },
|
|
3166
3177
|
default: []
|
|
3167
3178
|
},
|
|
3179
|
+
{
|
|
3180
|
+
path: "claudeStatusLine",
|
|
3181
|
+
section: "Agents & terminals",
|
|
3182
|
+
label: "Status line under each Claude",
|
|
3183
|
+
help: "work's: the model and how full its context is, the account, the folder and the branch, drawn by work with nothing started. Yours: the one in your Claude settings, run as before. Your settings are never changed.",
|
|
3184
|
+
kind: {
|
|
3185
|
+
type: "choice",
|
|
3186
|
+
options: [
|
|
3187
|
+
{ value: "own", label: "Yours (from your Claude settings)" },
|
|
3188
|
+
{ value: "work", label: "work's" }
|
|
3189
|
+
]
|
|
3190
|
+
},
|
|
3191
|
+
default: "own",
|
|
3192
|
+
when: "at the next refresh (on the Claudes work starts)"
|
|
3193
|
+
},
|
|
3168
3194
|
bool(
|
|
3169
3195
|
"useBundledConpty",
|
|
3170
3196
|
"Agents & terminals",
|
|
@@ -3696,6 +3722,11 @@ var configSettings = {
|
|
|
3696
3722
|
writeRepo: writeRepoSetting
|
|
3697
3723
|
};
|
|
3698
3724
|
|
|
3725
|
+
// src/core/settings/settings-source.ts
|
|
3726
|
+
function withOwnStatusLine(source, own) {
|
|
3727
|
+
return { ...source, read: () => ({ ...source.read(), ownStatusLine: own() }) };
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3699
3730
|
// src/core/conversations/timeline-source.ts
|
|
3700
3731
|
import path8 from "path";
|
|
3701
3732
|
|
|
@@ -4291,6 +4322,17 @@ import { streamSSE as streamSSE2 } from "hono/streaming";
|
|
|
4291
4322
|
|
|
4292
4323
|
// src/server/routes/session-comment-routes.ts
|
|
4293
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
|
|
4294
4336
|
function mountSessionCommentRoutes(app, opts) {
|
|
4295
4337
|
function requireSession(id) {
|
|
4296
4338
|
return findSession2(id);
|
|
@@ -4324,6 +4366,7 @@ function mountSessionCommentRoutes(app, opts) {
|
|
|
4324
4366
|
changed(ctx, home, { id: comment.id });
|
|
4325
4367
|
const delivery = comment.status === "published" ? ownedPtyDelivery(id, comment.author) : null;
|
|
4326
4368
|
if (delivery === "typed") void typeAndSubmit(id, NOTE_NUDGE).catch(() => false);
|
|
4369
|
+
if (delivery === "next-turn") recheckLater(id, comment.author);
|
|
4327
4370
|
return c.json({ comment, comments: listFor(ctx), delivery });
|
|
4328
4371
|
} catch (err) {
|
|
4329
4372
|
return c.json({ error: err.message }, 400);
|
|
@@ -4372,11 +4415,43 @@ async function deliverViaOwnedPty(sessionId, author) {
|
|
|
4372
4415
|
await typeAndSubmit(sessionId, NOTE_NUDGE).catch(() => false);
|
|
4373
4416
|
}
|
|
4374
4417
|
function ownedPtyDelivery(sessionId, author) {
|
|
4375
|
-
if (author !== "user") return null;
|
|
4376
|
-
if (!peekPty(sessionId)) return null;
|
|
4418
|
+
if (author !== "user" || !peekPty(sessionId)) return null;
|
|
4377
4419
|
const session = findSession2(sessionId);
|
|
4378
|
-
|
|
4379
|
-
|
|
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);
|
|
4380
4455
|
}
|
|
4381
4456
|
async function typeAndSubmit(sessionId, text, write2 = writeToPty, wait) {
|
|
4382
4457
|
const agent = agentOf(findSession2(sessionId));
|
|
@@ -4670,6 +4745,15 @@ function whenStarted(child) {
|
|
|
4670
4745
|
// src/server/routes/worktree-routes.ts
|
|
4671
4746
|
import { zValidator as zValidator5 } from "@hono/zod-validator";
|
|
4672
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
|
+
}
|
|
4673
4757
|
function mountWorktreeRoutes(app, opts) {
|
|
4674
4758
|
const createSchema = z4.object({
|
|
4675
4759
|
target: z4.string().min(1),
|
|
@@ -4682,7 +4766,9 @@ function mountWorktreeRoutes(app, opts) {
|
|
|
4682
4766
|
/** Name the session (its title); the branch stays its identity. */
|
|
4683
4767
|
name: z4.string().max(120).optional(),
|
|
4684
4768
|
/** The Claude account a new session runs on (a name from `work account list`); empty: the configured default. */
|
|
4685
|
-
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()
|
|
4686
4772
|
});
|
|
4687
4773
|
const startSession = opts.startSession ?? startSessionWithPrompt;
|
|
4688
4774
|
const create = opts.create ?? createInProcess;
|
|
@@ -4695,41 +4781,75 @@ function mountWorktreeRoutes(app, opts) {
|
|
|
4695
4781
|
app.post("/api/worktrees", zValidator5("json", createSchema), async (c) => {
|
|
4696
4782
|
const { target, base, issueKey, prompt, name } = c.req.valid("json");
|
|
4697
4783
|
const account = c.req.valid("json").account?.trim() || void 0;
|
|
4698
|
-
const
|
|
4699
|
-
if (!
|
|
4784
|
+
const loaded = loadConfig();
|
|
4785
|
+
if (!loaded) return c.json({ error: "no config" }, 400);
|
|
4786
|
+
const config = loaded;
|
|
4700
4787
|
const wanted = c.req.valid("json").branch?.trim() ?? "";
|
|
4701
4788
|
if (!wanted && base?.trim())
|
|
4702
4789
|
return c.json({ error: "a base needs a branch to fork (leave both empty to open the repo as it is)" }, 400);
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
);
|
|
4708
|
-
if (
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
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 };
|
|
4721
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);
|
|
4722
4852
|
}
|
|
4723
|
-
return c.json({
|
|
4724
|
-
sessionId: id,
|
|
4725
|
-
launchDir: result.launchDir,
|
|
4726
|
-
paths: result.paths,
|
|
4727
|
-
...made.warnings?.length ? { warnings: made.warnings } : {},
|
|
4728
|
-
...started ? { started } : {},
|
|
4729
|
-
...startError ? { startError } : {}
|
|
4730
|
-
});
|
|
4731
|
-
} catch (err) {
|
|
4732
|
-
return c.json({ error: err.message }, 500);
|
|
4733
4853
|
}
|
|
4734
4854
|
});
|
|
4735
4855
|
const REFUSED = "Worktree not removed: uncommitted changes, unpushed commits, or git refused. Retry with force, or forget the session only.";
|
|
@@ -7940,7 +8060,7 @@ function createReviewQueue(deps) {
|
|
|
7940
8060
|
let treesSwept = false;
|
|
7941
8061
|
const active = /* @__PURE__ */ new Set();
|
|
7942
8062
|
let chain = Promise.resolve();
|
|
7943
|
-
const
|
|
8063
|
+
const oneAtATime3 = (f) => {
|
|
7944
8064
|
const p = chain.then(f, f);
|
|
7945
8065
|
chain = p.catch(() => void 0);
|
|
7946
8066
|
return p;
|
|
@@ -8062,7 +8182,7 @@ function createReviewQueue(deps) {
|
|
|
8062
8182
|
try {
|
|
8063
8183
|
if (!treesSwept && deps.sweepTrees) {
|
|
8064
8184
|
treesSwept = true;
|
|
8065
|
-
const left = await
|
|
8185
|
+
const left = await oneAtATime3(deps.sweepTrees).catch((err) => {
|
|
8066
8186
|
note(`couldn't sweep the temporary checkouts: ${err.message}`, "warn");
|
|
8067
8187
|
return { swept: [], failed: [] };
|
|
8068
8188
|
});
|
|
@@ -8118,7 +8238,7 @@ function createReviewQueue(deps) {
|
|
|
8118
8238
|
note(`${t.project.alias} #${t.pr.number}: today's cap of ${maxPerDay} reached; waits`);
|
|
8119
8239
|
continue;
|
|
8120
8240
|
}
|
|
8121
|
-
const r = await
|
|
8241
|
+
const r = await oneAtATime3(() => prepareOne(t.project, t.meta, t.pr, true, note));
|
|
8122
8242
|
if (r.ok)
|
|
8123
8243
|
note(
|
|
8124
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}` : ""}`,
|
|
@@ -8163,7 +8283,7 @@ function createReviewQueue(deps) {
|
|
|
8163
8283
|
if (!pr) return { ok: false, error: `#${number} isn't an open pull request of ${repo}` };
|
|
8164
8284
|
const run2 = deps.activity?.start("reviews", `Preparing the review of ${repo} #${number}`);
|
|
8165
8285
|
const note = (text, level = "info") => run2?.note(text, { level });
|
|
8166
|
-
const r = await
|
|
8286
|
+
const r = await oneAtATime3(() => prepareOne(project, metaOf(repo, host, pr), pr, false, note, also));
|
|
8167
8287
|
if (r.ok) run2?.done(`prepared${r.how ? `; ${r.how}` : ""}`);
|
|
8168
8288
|
else run2?.fail(r.error);
|
|
8169
8289
|
return r.ok ? { ok: true, review: r.review } : { ok: false, error: r.error };
|
|
@@ -10123,7 +10243,7 @@ async function startWebServer(opts = {}) {
|
|
|
10123
10243
|
mountDiffSeenRoutes(app);
|
|
10124
10244
|
mountDiffPageRoutes(app, { ensureScope: sessionScope });
|
|
10125
10245
|
mountRepoRoutes(app, { broadcast, activity, workBin: getWorkBin });
|
|
10126
|
-
mountSettingsRoutes(app, { broadcast, source: configSettings });
|
|
10246
|
+
mountSettingsRoutes(app, { broadcast, source: withOwnStatusLine(configSettings, () => anyOwnStatusLine(knownAgents())) });
|
|
10127
10247
|
mountSetupRoutes(app, { broadcast });
|
|
10128
10248
|
const updates = createUpdates();
|
|
10129
10249
|
mountAppUpdateRoutes(app, { updates, broadcast, dev });
|
|
@@ -11399,6 +11519,64 @@ var DemoScenario = class {
|
|
|
11399
11519
|
]),
|
|
11400
11520
|
5
|
|
11401
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
|
+
);
|
|
11402
11580
|
this.add(
|
|
11403
11581
|
"api",
|
|
11404
11582
|
"chore/dependency-audit",
|
|
@@ -13005,7 +13183,10 @@ function createDemoSettings(repoPathOf) {
|
|
|
13005
13183
|
worktreesRoot: "~/worktrees",
|
|
13006
13184
|
editor: "code",
|
|
13007
13185
|
"prWatch.trustedBots": ["copilot-pull-request-reviewer", "github-actions"],
|
|
13008
|
-
"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"
|
|
13009
13190
|
};
|
|
13010
13191
|
const repos = /* @__PURE__ */ new Map([
|
|
13011
13192
|
[
|
|
@@ -14620,4 +14801,4 @@ export {
|
|
|
14620
14801
|
stopExisting,
|
|
14621
14802
|
webCommand
|
|
14622
14803
|
};
|
|
14623
|
-
//# sourceMappingURL=web-
|
|
14804
|
+
//# sourceMappingURL=web-HKNHNSJM.js.map
|