@moberg_hr/work-tree 2.9.0 → 2.9.2
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-FKNMH5IT.js → account-3A7RQSUC.js} +14 -13
- package/dist/{account-FKNMH5IT.js.map → account-3A7RQSUC.js.map} +1 -1
- package/dist/{add-repo-SG4D3C76.js → add-repo-YGDJZ6HG.js} +9 -9
- package/dist/{answer-M4YETVGV.js → answer-GHVFFKNF.js} +7 -7
- package/dist/{attach-3P3WQJKZ.js → attach-LWOZKLTF.js} +12 -11
- package/dist/{attach-3P3WQJKZ.js.map → attach-LWOZKLTF.js.map} +1 -1
- package/dist/bin.js +3 -3
- package/dist/{block-2C3GZYAP.js → block-WVUT63QY.js} +8 -8
- package/dist/{broadcast-BH2H7UTU.js → broadcast-WM423JGR.js} +5 -5
- package/dist/{catchup-PENTMANK.js → catchup-KJZTLHN7.js} +10 -10
- package/dist/{chunk-TGWUOZJL.js → chunk-2YXY6S7G.js} +7 -7
- package/dist/{chunk-4M5TIZDC.js → chunk-2Z2O5LEA.js} +75 -4
- package/dist/chunk-2Z2O5LEA.js.map +1 -0
- package/dist/{chunk-M6LJ3GE3.js → chunk-3NXRBRRJ.js} +2 -2
- package/dist/{chunk-KC66FLGZ.js → chunk-4BZGUMP7.js} +3 -3
- package/dist/chunk-4MVT7QPZ.js +9 -0
- package/dist/{chunk-WVJASLMV.js → chunk-4SZ7YW7N.js} +53 -53
- package/dist/{chunk-3JFRM4IY.js → chunk-5NKXGQX4.js} +10 -10
- package/dist/{chunk-JEET43KM.js → chunk-5WEBLABB.js} +2 -2
- package/dist/{chunk-K5QBU5CY.js → chunk-6IUFNTBQ.js} +2 -2
- package/dist/{chunk-KNRGVUW7.js → chunk-7NSQVIIK.js} +2 -2
- package/dist/{chunk-YA3WCQ2A.js → chunk-AGTVDF4O.js} +3 -3
- package/dist/{chunk-MMFXUIQQ.js → chunk-AQJSY4CI.js} +2 -2
- package/dist/{chunk-FDKJFIUU.js → chunk-BNGX2JGD.js} +2 -2
- package/dist/{chunk-X63DS7BW.js → chunk-BV2PPIKP.js} +3 -3
- package/dist/{chunk-ZOGGTAOK.js → chunk-BWD24JIP.js} +4 -4
- package/dist/{chunk-6XMH3WFY.js → chunk-F4EWBHTA.js} +15 -77
- package/dist/chunk-F4EWBHTA.js.map +1 -0
- package/dist/{chunk-VQGHVXGL.js → chunk-GBMY7IMP.js} +5 -5
- package/dist/{chunk-VQGHVXGL.js.map → chunk-GBMY7IMP.js.map} +1 -1
- package/dist/{chunk-QJLJH5DC.js → chunk-GJ5V357G.js} +4 -4
- package/dist/{chunk-LZUFHLBF.js → chunk-H7GHJ3CR.js} +223 -9
- package/dist/chunk-H7GHJ3CR.js.map +1 -0
- package/dist/{chunk-NMSJJCOD.js → chunk-HP2QVRSQ.js} +77 -6
- package/dist/chunk-HP2QVRSQ.js.map +1 -0
- package/dist/{chunk-KUO5ATYX.js → chunk-JB6LU6JV.js} +6 -6
- package/dist/{chunk-3TN77GOI.js → chunk-JFN67PRA.js} +2 -2
- package/dist/{chunk-YEXW2OCN.js → chunk-JT5AR7PO.js} +2 -2
- package/dist/{chunk-BT7SZQQL.js → chunk-JWWG624P.js} +2 -2
- package/dist/chunk-K2MOQVTJ.js +78 -0
- package/dist/chunk-K2MOQVTJ.js.map +1 -0
- package/dist/{chunk-WPZTIF5C.js → chunk-KVQNJCXH.js} +4 -4
- package/dist/{chunk-T2ZB6I3Y.js → chunk-LIE5GVDG.js} +6 -6
- package/dist/{chunk-F6M255O5.js → chunk-MPY2ZQBL.js} +4 -4
- package/dist/{chunk-XNLQSW6J.js → chunk-PDWEPIL6.js} +60 -9
- package/dist/chunk-PDWEPIL6.js.map +1 -0
- package/dist/{chunk-W7NCZ3VU.js → chunk-PKXHK5CJ.js} +2 -2
- package/dist/{chunk-SVSRQ3R2.js → chunk-RG7NJEN7.js} +6 -6
- package/dist/{chunk-CNE5SWFH.js → chunk-SBLK524A.js} +3 -3
- package/dist/chunk-SBLK524A.js.map +1 -0
- package/dist/{chunk-A42MFPMC.js → chunk-SWKTDMLL.js} +4 -4
- package/dist/{chunk-UMYB6DZX.js → chunk-TQOHPNDW.js} +2 -2
- package/dist/{chunk-6MJ6BDHL.js → chunk-TR7CTHJA.js} +7 -7
- package/dist/{chunk-VRHQMUPB.js → chunk-UB3DOOPB.js} +4 -4
- package/dist/{chunk-D675JTUZ.js → chunk-V4IHZJD4.js} +5 -5
- package/dist/{chunk-YEY2WKOE.js → chunk-VGRZKBUK.js} +2 -2
- package/dist/{chunk-LCV62KMO.js → chunk-VUNJVF6C.js} +2 -2
- package/dist/{chunk-X7TWBG4X.js → chunk-XEAFWIN6.js} +4 -4
- package/dist/{chunk-WM4JWBKJ.js → chunk-XMWVBLMJ.js} +2 -2
- package/dist/{chunk-VEWSK3FG.js → chunk-XTDTM6JI.js} +3 -3
- package/dist/{chunk-WZ4QXVCC.js → chunk-YHSB7IVZ.js} +3 -3
- package/dist/{chunk-44AU2STD.js → chunk-Z2XY3PLX.js} +3 -3
- package/dist/{chunk-PC67UHUW.js → chunk-ZGT4ZDGG.js} +3 -3
- package/dist/{cleanup-HEUCA22O.js → cleanup-7E3YWQUC.js} +20 -19
- package/dist/{cleanup-HEUCA22O.js.map → cleanup-7E3YWQUC.js.map} +1 -1
- package/dist/{cli-Y4JSWLZ2.js → cli-BHIBPUQG.js} +4 -4
- package/dist/{config-TPK3PXW6.js → config-TUJNIUIO.js} +7 -7
- package/dist/{diff-XGPISLYB.js → diff-PZKOXAU3.js} +8 -8
- package/dist/{digest-4IF376QE.js → digest-XHDDBXA6.js} +7 -7
- package/dist/{fork-DQMXZEQM.js → fork-HYWZW72R.js} +18 -17
- package/dist/{fork-DQMXZEQM.js.map → fork-HYWZW72R.js.map} +1 -1
- package/dist/{history-OXEG6SOK.js → history-MRRY2VTS.js} +5 -5
- package/dist/{hook-Z3THJRUB.js → hook-OWP4H2MT.js} +11 -8
- package/dist/hook-OWP4H2MT.js.map +1 -0
- package/dist/{hydrate-47IPPOYB.js → hydrate-ZTGARW3U.js} +5 -5
- package/dist/{init-OZ6ARQJB.js → init-7VISW3JJ.js} +6 -6
- package/dist/{install-skills-QTWYVAOZ.js → install-skills-IIMTRQ4K.js} +5 -5
- package/dist/install-skills-bin.js +4 -4
- package/dist/{list-22MUAA6K.js → list-5XWYT37A.js} +5 -5
- package/dist/{move-7QGWP7FG.js → move-PSAODKRK.js} +8 -8
- package/dist/{note-PA7HHBXX.js → note-7WQ2YC2F.js} +7 -7
- package/dist/{overlaps-FE36QGVQ.js → overlaps-R27DEX36.js} +7 -7
- package/dist/{pin-AD43POUY.js → pin-LS4WPLOE.js} +7 -7
- package/dist/{pr-MCPGZ44W.js → pr-SMEC5O7O.js} +8 -7
- package/dist/{pr-MCPGZ44W.js.map → pr-SMEC5O7O.js.map} +1 -1
- package/dist/{prune-M4BMLYDQ.js → prune-VA3V5B2I.js} +18 -17
- package/dist/{prune-M4BMLYDQ.js.map → prune-VA3V5B2I.js.map} +1 -1
- package/dist/{pty-host-BMQOW67M.js → pty-host-PN4A3X2Y.js} +10 -9
- package/dist/{pty-host-BMQOW67M.js.map → pty-host-PN4A3X2Y.js.map} +1 -1
- package/dist/{read-VALY2SX6.js → read-75DP75TI.js} +7 -7
- package/dist/{recent-SCQJX6DJ.js → recent-YDSLMD6Y.js} +6 -6
- package/dist/{remove-24KP2GMZ.js → remove-XPSU2VTR.js} +17 -16
- package/dist/{remove-24KP2GMZ.js.map → remove-XPSU2VTR.js.map} +1 -1
- package/dist/{restart-SSOENWTH.js → restart-7EPW5VDV.js} +7 -7
- package/dist/{resume-GM66FDEP.js → resume-26Y6G4UT.js} +6 -6
- package/dist/{run-OATO7NBV.js → run-IIURYUD2.js} +5 -5
- package/dist/{screen-RV2SJGJP.js → screen-AORRCOZQ.js} +7 -7
- package/dist/{search-UHYMBMA7.js → search-Z3XD7ZNQ.js} +5 -5
- package/dist/{section-24WUAJKW.js → section-6N7J4Y6J.js} +7 -7
- package/dist/{send-GRTDUQIN.js → send-SHHXHICL.js} +8 -8
- package/dist/{sessions-FAYRQHXJ.js → sessions-AD5HPY2L.js} +15 -14
- package/dist/{sessions-FAYRQHXJ.js.map → sessions-AD5HPY2L.js.map} +1 -1
- package/dist/{snooze-WPUVDSBY.js → snooze-JZMIVMNS.js} +7 -7
- package/dist/{start-EDY2RTZ3.js → start-6VNWRLPK.js} +7 -7
- package/dist/{state-DC73V5TS.js → state-OZF4S7PG.js} +2 -2
- package/dist/{status-KISVX264.js → status-YRBJR4YB.js} +5 -5
- package/dist/{statusline-A2DTGLK5.js → statusline-RSQMMCRN.js} +3 -3
- package/dist/{stop-YJCB5IOT.js → stop-A2Q4CO6Z.js} +7 -7
- package/dist/{sync-GD6LFFCX.js → sync-GXXBOQ4W.js} +18 -17
- package/dist/{sync-GD6LFFCX.js.map → sync-GXXBOQ4W.js.map} +1 -1
- package/dist/{time-YUSOOTR5.js → time-XKEMSDMN.js} +8 -8
- package/dist/{time-actions-4XNIRNMH.js → time-actions-DB7OQ2IS.js} +5 -3
- package/dist/{timesheet-W6RIHJE7.js → timesheet-ZAZXN6LK.js} +56 -12
- package/dist/timesheet-ZAZXN6LK.js.map +1 -0
- package/dist/{todo-4VTGOCKH.js → todo-ODF7RI27.js} +2 -2
- package/dist/{tree-UVJP5XF4.js → tree-HJGFWO6G.js} +14 -13
- package/dist/{tree-UVJP5XF4.js.map → tree-HJGFWO6G.js.map} +1 -1
- package/dist/{update-2A4JGE3U.js → update-6427PE7F.js} +9 -9
- package/dist/{usage-KJZAMQW5.js → usage-HIXH42ZH.js} +7 -7
- package/dist/{wait-XA3ZS2WF.js → wait-VHPP2B7P.js} +8 -8
- package/dist/wd-bin.js +3 -3
- package/dist/web/assets/{PtyView-BPk8N9xQ.js → PtyView-B7zFUh_M.js} +25 -25
- package/dist/web/assets/PtyView-B7zFUh_M.js.map +1 -0
- package/dist/web/assets/{index-CZwdUbxG.css → index-BAxeogV4.css} +1 -1
- package/dist/web/assets/{index-vXchs7b4.js → index-C4cR3Hwy.js} +54 -53
- package/dist/web/assets/index-C4cR3Hwy.js.map +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-QCHECDRD.js → web-QTXU66K5.js} +86 -253
- package/dist/web-QTXU66K5.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-4M5TIZDC.js.map +0 -1
- package/dist/chunk-6XMH3WFY.js.map +0 -1
- package/dist/chunk-BBZ2DK6W.js +0 -9
- package/dist/chunk-CNE5SWFH.js.map +0 -1
- package/dist/chunk-LZUFHLBF.js.map +0 -1
- package/dist/chunk-NMSJJCOD.js.map +0 -1
- package/dist/chunk-XNLQSW6J.js.map +0 -1
- package/dist/hook-Z3THJRUB.js.map +0 -1
- package/dist/timesheet-W6RIHJE7.js.map +0 -1
- package/dist/web/assets/PtyView-BPk8N9xQ.js.map +0 -1
- package/dist/web/assets/index-vXchs7b4.js.map +0 -1
- package/dist/web-QCHECDRD.js.map +0 -1
- /package/dist/{add-repo-SG4D3C76.js.map → add-repo-YGDJZ6HG.js.map} +0 -0
- /package/dist/{answer-M4YETVGV.js.map → answer-GHVFFKNF.js.map} +0 -0
- /package/dist/{block-2C3GZYAP.js.map → block-WVUT63QY.js.map} +0 -0
- /package/dist/{broadcast-BH2H7UTU.js.map → broadcast-WM423JGR.js.map} +0 -0
- /package/dist/{catchup-PENTMANK.js.map → catchup-KJZTLHN7.js.map} +0 -0
- /package/dist/{chunk-TGWUOZJL.js.map → chunk-2YXY6S7G.js.map} +0 -0
- /package/dist/{chunk-M6LJ3GE3.js.map → chunk-3NXRBRRJ.js.map} +0 -0
- /package/dist/{chunk-KC66FLGZ.js.map → chunk-4BZGUMP7.js.map} +0 -0
- /package/dist/{chunk-BBZ2DK6W.js.map → chunk-4MVT7QPZ.js.map} +0 -0
- /package/dist/{chunk-WVJASLMV.js.map → chunk-4SZ7YW7N.js.map} +0 -0
- /package/dist/{chunk-3JFRM4IY.js.map → chunk-5NKXGQX4.js.map} +0 -0
- /package/dist/{chunk-JEET43KM.js.map → chunk-5WEBLABB.js.map} +0 -0
- /package/dist/{chunk-K5QBU5CY.js.map → chunk-6IUFNTBQ.js.map} +0 -0
- /package/dist/{chunk-KNRGVUW7.js.map → chunk-7NSQVIIK.js.map} +0 -0
- /package/dist/{chunk-YA3WCQ2A.js.map → chunk-AGTVDF4O.js.map} +0 -0
- /package/dist/{chunk-MMFXUIQQ.js.map → chunk-AQJSY4CI.js.map} +0 -0
- /package/dist/{chunk-FDKJFIUU.js.map → chunk-BNGX2JGD.js.map} +0 -0
- /package/dist/{chunk-X63DS7BW.js.map → chunk-BV2PPIKP.js.map} +0 -0
- /package/dist/{chunk-ZOGGTAOK.js.map → chunk-BWD24JIP.js.map} +0 -0
- /package/dist/{chunk-QJLJH5DC.js.map → chunk-GJ5V357G.js.map} +0 -0
- /package/dist/{chunk-KUO5ATYX.js.map → chunk-JB6LU6JV.js.map} +0 -0
- /package/dist/{chunk-3TN77GOI.js.map → chunk-JFN67PRA.js.map} +0 -0
- /package/dist/{chunk-YEXW2OCN.js.map → chunk-JT5AR7PO.js.map} +0 -0
- /package/dist/{chunk-BT7SZQQL.js.map → chunk-JWWG624P.js.map} +0 -0
- /package/dist/{chunk-WPZTIF5C.js.map → chunk-KVQNJCXH.js.map} +0 -0
- /package/dist/{chunk-T2ZB6I3Y.js.map → chunk-LIE5GVDG.js.map} +0 -0
- /package/dist/{chunk-F6M255O5.js.map → chunk-MPY2ZQBL.js.map} +0 -0
- /package/dist/{chunk-W7NCZ3VU.js.map → chunk-PKXHK5CJ.js.map} +0 -0
- /package/dist/{chunk-SVSRQ3R2.js.map → chunk-RG7NJEN7.js.map} +0 -0
- /package/dist/{chunk-A42MFPMC.js.map → chunk-SWKTDMLL.js.map} +0 -0
- /package/dist/{chunk-UMYB6DZX.js.map → chunk-TQOHPNDW.js.map} +0 -0
- /package/dist/{chunk-6MJ6BDHL.js.map → chunk-TR7CTHJA.js.map} +0 -0
- /package/dist/{chunk-VRHQMUPB.js.map → chunk-UB3DOOPB.js.map} +0 -0
- /package/dist/{chunk-D675JTUZ.js.map → chunk-V4IHZJD4.js.map} +0 -0
- /package/dist/{chunk-YEY2WKOE.js.map → chunk-VGRZKBUK.js.map} +0 -0
- /package/dist/{chunk-LCV62KMO.js.map → chunk-VUNJVF6C.js.map} +0 -0
- /package/dist/{chunk-X7TWBG4X.js.map → chunk-XEAFWIN6.js.map} +0 -0
- /package/dist/{chunk-WM4JWBKJ.js.map → chunk-XMWVBLMJ.js.map} +0 -0
- /package/dist/{chunk-VEWSK3FG.js.map → chunk-XTDTM6JI.js.map} +0 -0
- /package/dist/{chunk-WZ4QXVCC.js.map → chunk-YHSB7IVZ.js.map} +0 -0
- /package/dist/{chunk-44AU2STD.js.map → chunk-Z2XY3PLX.js.map} +0 -0
- /package/dist/{chunk-PC67UHUW.js.map → chunk-ZGT4ZDGG.js.map} +0 -0
- /package/dist/{cli-Y4JSWLZ2.js.map → cli-BHIBPUQG.js.map} +0 -0
- /package/dist/{config-TPK3PXW6.js.map → config-TUJNIUIO.js.map} +0 -0
- /package/dist/{diff-XGPISLYB.js.map → diff-PZKOXAU3.js.map} +0 -0
- /package/dist/{digest-4IF376QE.js.map → digest-XHDDBXA6.js.map} +0 -0
- /package/dist/{history-OXEG6SOK.js.map → history-MRRY2VTS.js.map} +0 -0
- /package/dist/{hydrate-47IPPOYB.js.map → hydrate-ZTGARW3U.js.map} +0 -0
- /package/dist/{init-OZ6ARQJB.js.map → init-7VISW3JJ.js.map} +0 -0
- /package/dist/{install-skills-QTWYVAOZ.js.map → install-skills-IIMTRQ4K.js.map} +0 -0
- /package/dist/{list-22MUAA6K.js.map → list-5XWYT37A.js.map} +0 -0
- /package/dist/{move-7QGWP7FG.js.map → move-PSAODKRK.js.map} +0 -0
- /package/dist/{note-PA7HHBXX.js.map → note-7WQ2YC2F.js.map} +0 -0
- /package/dist/{overlaps-FE36QGVQ.js.map → overlaps-R27DEX36.js.map} +0 -0
- /package/dist/{pin-AD43POUY.js.map → pin-LS4WPLOE.js.map} +0 -0
- /package/dist/{read-VALY2SX6.js.map → read-75DP75TI.js.map} +0 -0
- /package/dist/{recent-SCQJX6DJ.js.map → recent-YDSLMD6Y.js.map} +0 -0
- /package/dist/{restart-SSOENWTH.js.map → restart-7EPW5VDV.js.map} +0 -0
- /package/dist/{resume-GM66FDEP.js.map → resume-26Y6G4UT.js.map} +0 -0
- /package/dist/{run-OATO7NBV.js.map → run-IIURYUD2.js.map} +0 -0
- /package/dist/{screen-RV2SJGJP.js.map → screen-AORRCOZQ.js.map} +0 -0
- /package/dist/{search-UHYMBMA7.js.map → search-Z3XD7ZNQ.js.map} +0 -0
- /package/dist/{section-24WUAJKW.js.map → section-6N7J4Y6J.js.map} +0 -0
- /package/dist/{send-GRTDUQIN.js.map → send-SHHXHICL.js.map} +0 -0
- /package/dist/{snooze-WPUVDSBY.js.map → snooze-JZMIVMNS.js.map} +0 -0
- /package/dist/{start-EDY2RTZ3.js.map → start-6VNWRLPK.js.map} +0 -0
- /package/dist/{state-DC73V5TS.js.map → state-OZF4S7PG.js.map} +0 -0
- /package/dist/{status-KISVX264.js.map → status-YRBJR4YB.js.map} +0 -0
- /package/dist/{statusline-A2DTGLK5.js.map → statusline-RSQMMCRN.js.map} +0 -0
- /package/dist/{stop-YJCB5IOT.js.map → stop-A2Q4CO6Z.js.map} +0 -0
- /package/dist/{time-YUSOOTR5.js.map → time-XKEMSDMN.js.map} +0 -0
- /package/dist/{time-actions-4XNIRNMH.js.map → time-actions-DB7OQ2IS.js.map} +0 -0
- /package/dist/{todo-4VTGOCKH.js.map → todo-ODF7RI27.js.map} +0 -0
- /package/dist/{update-2A4JGE3U.js.map → update-6427PE7F.js.map} +0 -0
- /package/dist/{usage-KJZAMQW5.js.map → usage-HIXH42ZH.js.map} +0 -0
- /package/dist/{wait-XA3ZS2WF.js.map → wait-VHPP2B7P.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4MVT7QPZ.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveProjectTarget
|
|
7
7
|
} from "./chunk-J36ULZBO.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-3N3UQEC4.js";
|
|
12
12
|
import {
|
|
13
13
|
loadConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PDWEPIL6.js";
|
|
15
15
|
|
|
16
16
|
// src/cli.ts
|
|
17
17
|
import chalk from "chalk";
|
|
@@ -136,7 +136,7 @@ function completeRepoBranches(alias, current, config, done) {
|
|
|
136
136
|
}
|
|
137
137
|
async function recordedGroupBranches(groupName) {
|
|
138
138
|
try {
|
|
139
|
-
const { loadHistory } = await import("./history-
|
|
139
|
+
const { loadHistory } = await import("./history-MRRY2VTS.js");
|
|
140
140
|
return loadHistory().filter((s) => s.target === groupName && s.isGroup && !s.archivedAt).map((s) => s.branch);
|
|
141
141
|
} catch {
|
|
142
142
|
return [];
|
|
@@ -172,55 +172,55 @@ async function completeGroupBranches(groupName, repoAliases, current, config, do
|
|
|
172
172
|
|
|
173
173
|
// src/cli.ts
|
|
174
174
|
var COMMANDS = [
|
|
175
|
-
{ names: ["init"], load: async () => (await import("./init-
|
|
176
|
-
{ names: ["config"], load: async () => (await import("./config-
|
|
177
|
-
{ names: ["tree", "t"], load: async () => (await import("./tree-
|
|
178
|
-
{ names: ["remove"], load: async () => (await import("./remove-
|
|
179
|
-
{ names: ["fork"], load: async () => (await import("./fork-
|
|
180
|
-
{ names: ["add-repo"], load: async () => (await import("./add-repo-
|
|
181
|
-
{ names: ["update"], load: async () => (await import("./update-
|
|
182
|
-
{ names: ["catchup"], load: async () => (await import("./catchup-
|
|
183
|
-
{ names: ["snooze"], load: async () => (await import("./snooze-
|
|
184
|
-
{ names: ["pin"], load: async () => (await import("./pin-
|
|
185
|
-
{ names: ["section"], load: async () => (await import("./section-
|
|
186
|
-
{ names: ["note"], load: async () => (await import("./note-
|
|
187
|
-
{ names: ["block"], load: async () => (await import("./block-
|
|
188
|
-
{ names: ["time"], load: async () => (await import("./time-
|
|
189
|
-
{ names: ["account"], load: async () => (await import("./account-
|
|
190
|
-
{ names: ["usage"], load: async () => (await import("./usage-
|
|
191
|
-
{ names: ["read"], load: async () => (await import("./read-
|
|
192
|
-
{ names: ["screen"], load: async () => (await import("./screen-
|
|
193
|
-
{ names: ["send"], load: async () => (await import("./send-
|
|
194
|
-
{ names: ["wait"], load: async () => (await import("./wait-
|
|
195
|
-
{ names: ["start"], load: async () => (await import("./start-
|
|
196
|
-
{ names: ["stop"], load: async () => (await import("./stop-
|
|
197
|
-
{ names: ["restart"], load: async () => (await import("./restart-
|
|
198
|
-
{ names: ["answer"], load: async () => (await import("./answer-
|
|
199
|
-
{ names: ["list"], load: async () => (await import("./list-
|
|
200
|
-
{ names: ["status"], load: async () => (await import("./status-
|
|
201
|
-
{ names: ["recent"], load: async () => (await import("./recent-
|
|
202
|
-
{ names: ["resume"], load: async () => (await import("./resume-
|
|
203
|
-
{ names: ["sessions"], load: async () => (await import("./sessions-
|
|
204
|
-
{ names: ["digest"], load: async () => (await import("./digest-
|
|
205
|
-
{ names: ["cleanup"], load: async () => (await import("./cleanup-
|
|
206
|
-
{ names: ["overlaps"], load: async () => (await import("./overlaps-
|
|
207
|
-
{ names: ["search"], load: async () => (await import("./search-
|
|
208
|
-
{ names: ["pr"], load: async () => (await import("./pr-
|
|
209
|
-
{ names: ["timesheet"], load: async () => (await import("./timesheet-
|
|
210
|
-
{ names: ["prune"], load: async () => (await import("./prune-
|
|
211
|
-
{ names: ["sync"], load: async () => (await import("./sync-
|
|
212
|
-
{ names: ["todo"], load: async () => (await import("./todo-
|
|
213
|
-
{ names: ["hydrate"], load: async () => (await import("./hydrate-
|
|
214
|
-
{ names: ["diff"], load: async () => (await import("./diff-
|
|
215
|
-
{ names: ["web"], load: async () => (await import("./web-
|
|
216
|
-
{ names: ["hook"], load: async () => (await import("./hook-
|
|
217
|
-
{ names: ["run"], load: async () => (await import("./run-
|
|
218
|
-
{ names: ["broadcast"], load: async () => (await import("./broadcast-
|
|
219
|
-
{ names: ["attach", "a"], load: async () => (await import("./attach-
|
|
220
|
-
{ names: ["pty-host"], load: async () => (await import("./pty-host-
|
|
221
|
-
{ names: ["state"], load: async () => (await import("./state-
|
|
222
|
-
{ names: ["move"], load: async () => (await import("./move-
|
|
223
|
-
{ names: ["install-skills"], load: async () => (await import("./install-skills-
|
|
175
|
+
{ names: ["init"], load: async () => (await import("./init-7VISW3JJ.js")).initCommand },
|
|
176
|
+
{ names: ["config"], load: async () => (await import("./config-TUJNIUIO.js")).configCommand },
|
|
177
|
+
{ names: ["tree", "t"], load: async () => (await import("./tree-HJGFWO6G.js")).treeCommand },
|
|
178
|
+
{ names: ["remove"], load: async () => (await import("./remove-XPSU2VTR.js")).removeCommand },
|
|
179
|
+
{ names: ["fork"], load: async () => (await import("./fork-HYWZW72R.js")).forkCommand },
|
|
180
|
+
{ names: ["add-repo"], load: async () => (await import("./add-repo-YGDJZ6HG.js")).addRepoCommand },
|
|
181
|
+
{ names: ["update"], load: async () => (await import("./update-6427PE7F.js")).updateCommand },
|
|
182
|
+
{ names: ["catchup"], load: async () => (await import("./catchup-KJZTLHN7.js")).catchupCommand },
|
|
183
|
+
{ names: ["snooze"], load: async () => (await import("./snooze-JZMIVMNS.js")).snoozeCommand },
|
|
184
|
+
{ names: ["pin"], load: async () => (await import("./pin-LS4WPLOE.js")).pinCommand },
|
|
185
|
+
{ names: ["section"], load: async () => (await import("./section-6N7J4Y6J.js")).sectionCommand },
|
|
186
|
+
{ names: ["note"], load: async () => (await import("./note-7WQ2YC2F.js")).noteCommand },
|
|
187
|
+
{ names: ["block"], load: async () => (await import("./block-WVUT63QY.js")).blockCommand },
|
|
188
|
+
{ names: ["time"], load: async () => (await import("./time-XKEMSDMN.js")).timeCommand },
|
|
189
|
+
{ names: ["account"], load: async () => (await import("./account-3A7RQSUC.js")).accountCommand },
|
|
190
|
+
{ names: ["usage"], load: async () => (await import("./usage-HIXH42ZH.js")).usageCommand },
|
|
191
|
+
{ names: ["read"], load: async () => (await import("./read-75DP75TI.js")).readCommand },
|
|
192
|
+
{ names: ["screen"], load: async () => (await import("./screen-AORRCOZQ.js")).screenCommand },
|
|
193
|
+
{ names: ["send"], load: async () => (await import("./send-SHHXHICL.js")).sendCommand },
|
|
194
|
+
{ names: ["wait"], load: async () => (await import("./wait-VHPP2B7P.js")).waitCommand },
|
|
195
|
+
{ names: ["start"], load: async () => (await import("./start-6VNWRLPK.js")).startCommand },
|
|
196
|
+
{ names: ["stop"], load: async () => (await import("./stop-A2Q4CO6Z.js")).stopCommand },
|
|
197
|
+
{ names: ["restart"], load: async () => (await import("./restart-7EPW5VDV.js")).restartCommand },
|
|
198
|
+
{ names: ["answer"], load: async () => (await import("./answer-GHVFFKNF.js")).answerCommand },
|
|
199
|
+
{ names: ["list"], load: async () => (await import("./list-5XWYT37A.js")).listCommand },
|
|
200
|
+
{ names: ["status"], load: async () => (await import("./status-YRBJR4YB.js")).statusCommand },
|
|
201
|
+
{ names: ["recent"], load: async () => (await import("./recent-YDSLMD6Y.js")).recentCommand },
|
|
202
|
+
{ names: ["resume"], load: async () => (await import("./resume-26Y6G4UT.js")).resumeCommand },
|
|
203
|
+
{ names: ["sessions"], load: async () => (await import("./sessions-AD5HPY2L.js")).sessionsCommand },
|
|
204
|
+
{ names: ["digest"], load: async () => (await import("./digest-XHDDBXA6.js")).digestCommand },
|
|
205
|
+
{ names: ["cleanup"], load: async () => (await import("./cleanup-7E3YWQUC.js")).cleanupCommand },
|
|
206
|
+
{ names: ["overlaps"], load: async () => (await import("./overlaps-R27DEX36.js")).overlapsCommand },
|
|
207
|
+
{ names: ["search"], load: async () => (await import("./search-Z3XD7ZNQ.js")).searchCommand },
|
|
208
|
+
{ names: ["pr"], load: async () => (await import("./pr-SMEC5O7O.js")).prCommand },
|
|
209
|
+
{ names: ["timesheet"], load: async () => (await import("./timesheet-ZAZXN6LK.js")).timesheetCommand },
|
|
210
|
+
{ names: ["prune"], load: async () => (await import("./prune-VA3V5B2I.js")).pruneCommand },
|
|
211
|
+
{ names: ["sync"], load: async () => (await import("./sync-GXXBOQ4W.js")).syncCommand },
|
|
212
|
+
{ names: ["todo"], load: async () => (await import("./todo-ODF7RI27.js")).todoCommand },
|
|
213
|
+
{ names: ["hydrate"], load: async () => (await import("./hydrate-ZTGARW3U.js")).hydrateCommand },
|
|
214
|
+
{ names: ["diff"], load: async () => (await import("./diff-PZKOXAU3.js")).diffCommand },
|
|
215
|
+
{ names: ["web"], load: async () => (await import("./web-QTXU66K5.js")).webCommand },
|
|
216
|
+
{ names: ["hook"], load: async () => (await import("./hook-OWP4H2MT.js")).hookCommand },
|
|
217
|
+
{ names: ["run"], load: async () => (await import("./run-IIURYUD2.js")).runCommand },
|
|
218
|
+
{ names: ["broadcast"], load: async () => (await import("./broadcast-WM423JGR.js")).broadcastCommand },
|
|
219
|
+
{ names: ["attach", "a"], load: async () => (await import("./attach-LWOZKLTF.js")).attachCommand },
|
|
220
|
+
{ names: ["pty-host"], load: async () => (await import("./pty-host-PN4A3X2Y.js")).ptyHostCommand },
|
|
221
|
+
{ names: ["state"], load: async () => (await import("./state-OZF4S7PG.js")).stateCommand },
|
|
222
|
+
{ names: ["move"], load: async () => (await import("./move-PSAODKRK.js")).moveCommand },
|
|
223
|
+
{ names: ["install-skills"], load: async () => (await import("./install-skills-IIMTRQ4K.js")).installSkillsCommand },
|
|
224
224
|
{ names: ["completion"], load: async () => (await import("./completion-MXX5TRIV.js")).completionCommand }
|
|
225
225
|
];
|
|
226
226
|
async function commandsFor(argv) {
|
|
@@ -323,4 +323,4 @@ export {
|
|
|
323
323
|
commandsFor,
|
|
324
324
|
run
|
|
325
325
|
};
|
|
326
|
-
//# sourceMappingURL=chunk-
|
|
326
|
+
//# sourceMappingURL=chunk-4SZ7YW7N.js.map
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
listReplies
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H7GHJ3CR.js";
|
|
5
5
|
import {
|
|
6
6
|
examineWorktree,
|
|
7
7
|
normPath
|
|
8
8
|
} from "./chunk-AKMPF72Y.js";
|
|
9
9
|
import {
|
|
10
10
|
shownState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AGTVDF4O.js";
|
|
12
12
|
import {
|
|
13
13
|
runningFromNames,
|
|
14
14
|
stopRunningFrom
|
|
15
15
|
} from "./chunk-SG5LUMGE.js";
|
|
16
16
|
import {
|
|
17
17
|
runInternal
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UB3DOOPB.js";
|
|
19
19
|
import {
|
|
20
20
|
disposePty
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TR7CTHJA.js";
|
|
22
22
|
import {
|
|
23
23
|
checkedOutBranch,
|
|
24
24
|
readPendingForSession
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XMWVBLMJ.js";
|
|
26
26
|
import {
|
|
27
27
|
saveIgnored,
|
|
28
28
|
teardownWorktree,
|
|
29
29
|
worktreeFor
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GBMY7IMP.js";
|
|
31
31
|
import {
|
|
32
32
|
isLeftover
|
|
33
33
|
} from "./chunk-KUCMJHQW.js";
|
|
@@ -50,16 +50,16 @@ import {
|
|
|
50
50
|
setSessionArchived,
|
|
51
51
|
stopDev,
|
|
52
52
|
turnInProgress
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-SBLK524A.js";
|
|
54
54
|
import {
|
|
55
55
|
sessionIdFor
|
|
56
56
|
} from "./chunk-YYBXQBW2.js";
|
|
57
57
|
import {
|
|
58
58
|
agentOf
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-MPY2ZQBL.js";
|
|
60
60
|
import {
|
|
61
61
|
loadConfig
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PDWEPIL6.js";
|
|
63
63
|
|
|
64
64
|
// src/core/archive/session-archive-deps.ts
|
|
65
65
|
import fs from "fs";
|
|
@@ -282,4 +282,4 @@ export {
|
|
|
282
282
|
archiveMergedSession,
|
|
283
283
|
defaultArchiveDeps
|
|
284
284
|
};
|
|
285
|
-
//# sourceMappingURL=chunk-
|
|
285
|
+
//# sourceMappingURL=chunk-5NKXGQX4.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-3GIH4WTA.js";
|
|
5
5
|
import {
|
|
6
6
|
logSwallowed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SBLK524A.js";
|
|
8
8
|
|
|
9
9
|
// src/core/diff/diff-stat.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -207,4 +207,4 @@ export {
|
|
|
207
207
|
wantsDiffStat,
|
|
208
208
|
findOverlaps
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-5WEBLABB.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
computeChanges,
|
|
4
4
|
findOverlaps,
|
|
5
5
|
wantsDiffStat
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5WEBLABB.js";
|
|
7
7
|
import {
|
|
8
8
|
pool
|
|
9
9
|
} from "./chunk-AKMPF72Y.js";
|
|
@@ -34,4 +34,4 @@ async function scanChanges(sessions, opts = {}) {
|
|
|
34
34
|
export {
|
|
35
35
|
scanChanges
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-6IUFNTBQ.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isPersistedPty,
|
|
4
4
|
ptySessionsPath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3NXRBRRJ.js";
|
|
6
6
|
import {
|
|
7
7
|
json,
|
|
8
8
|
tx,
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
adoptLegacyRestoreList,
|
|
74
74
|
forgetPersistedSession
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-7NSQVIIK.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
lastTurnEntryMs,
|
|
7
7
|
readSessionActivity,
|
|
8
8
|
readStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SBLK524A.js";
|
|
10
10
|
import {
|
|
11
11
|
sessionIdFor
|
|
12
12
|
} from "./chunk-YYBXQBW2.js";
|
|
13
13
|
import {
|
|
14
14
|
agentOf,
|
|
15
15
|
readJsonlTail
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MPY2ZQBL.js";
|
|
17
17
|
|
|
18
18
|
// src/core/status/turn-activity.ts
|
|
19
19
|
var cache = /* @__PURE__ */ new Map();
|
|
@@ -45,4 +45,4 @@ export {
|
|
|
45
45
|
sessionStatusView,
|
|
46
46
|
shownState
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-AGTVDF4O.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-LNHSBM4L.js";
|
|
5
5
|
import {
|
|
6
6
|
knownAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MPY2ZQBL.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/install-skills.ts
|
|
10
10
|
import chalk from "chalk";
|
|
@@ -44,4 +44,4 @@ export {
|
|
|
44
44
|
runInstallSkills,
|
|
45
45
|
installSkillsCommand
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=chunk-
|
|
47
|
+
//# sourceMappingURL=chunk-AQJSY4CI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_ACCOUNT
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PDWEPIL6.js";
|
|
5
5
|
import {
|
|
6
6
|
report
|
|
7
7
|
} from "./chunk-AU27USPZ.js";
|
|
@@ -166,4 +166,4 @@ export {
|
|
|
166
166
|
configDirEnv,
|
|
167
167
|
accountEnv
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=chunk-
|
|
169
|
+
//# sourceMappingURL=chunk-BNGX2JGD.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
workSteps,
|
|
5
5
|
workedBetween,
|
|
6
6
|
workedByDay
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SBLK524A.js";
|
|
8
8
|
import {
|
|
9
9
|
dayKey
|
|
10
10
|
} from "./chunk-NEJVK5CF.js";
|
|
11
11
|
import {
|
|
12
12
|
agentOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MPY2ZQBL.js";
|
|
14
14
|
|
|
15
15
|
// src/core/conversations/work-time-source.ts
|
|
16
16
|
import fs from "fs";
|
|
@@ -153,4 +153,4 @@ export {
|
|
|
153
153
|
sessionTokens,
|
|
154
154
|
sessionWorkTime
|
|
155
155
|
};
|
|
156
|
-
//# sourceMappingURL=chunk-
|
|
156
|
+
//# sourceMappingURL=chunk-BV2PPIKP.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sessionStatusView
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AGTVDF4O.js";
|
|
5
5
|
import {
|
|
6
6
|
buildDigest,
|
|
7
7
|
loadHistory,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
readStatus,
|
|
12
12
|
scopeHashForPaths,
|
|
13
13
|
workSteps
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SBLK524A.js";
|
|
15
15
|
import {
|
|
16
16
|
sessionIdFor
|
|
17
17
|
} from "./chunk-YYBXQBW2.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
agentOf,
|
|
20
20
|
lineTimeOf,
|
|
21
21
|
readJsonlSince
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MPY2ZQBL.js";
|
|
23
23
|
|
|
24
24
|
// src/core/conversations/digest-source.ts
|
|
25
25
|
function digestWindow(sinceMs, now = Date.now()) {
|
|
@@ -99,4 +99,4 @@ function createDigestSource(deps = {}) {
|
|
|
99
99
|
export {
|
|
100
100
|
createDigestSource
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=chunk-
|
|
102
|
+
//# sourceMappingURL=chunk-BWD24JIP.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
3
|
+
DISPLAY_LABEL,
|
|
4
|
+
displayStatus
|
|
5
|
+
} from "./chunk-K2MOQVTJ.js";
|
|
6
6
|
import {
|
|
7
7
|
atomicWriteFile
|
|
8
8
|
} from "./chunk-ZXHMC7UO.js";
|
|
@@ -10,68 +10,6 @@ import {
|
|
|
10
10
|
getConfigDir
|
|
11
11
|
} from "./chunk-6THUVP6T.js";
|
|
12
12
|
|
|
13
|
-
// src/core/sessions/session-view.ts
|
|
14
|
-
var RECENT_MS = 24 * 36e5;
|
|
15
|
-
function lastActiveAt(s) {
|
|
16
|
-
const candidates = [Date.parse(s.lastAccessedAt) || 0, s.lastActivity ?? 0, s.attention ? Date.parse(s.attention.updatedAt) || 0 : 0];
|
|
17
|
-
return new Date(Math.max(...candidates)).toISOString();
|
|
18
|
-
}
|
|
19
|
-
function displayStatus(s, now = Date.now()) {
|
|
20
|
-
if (s.archiving) return "archiving";
|
|
21
|
-
if (s.restoring) return "restoring";
|
|
22
|
-
const a = s.attention;
|
|
23
|
-
if (a) {
|
|
24
|
-
if (a.state === "needs_input") return "needs_input";
|
|
25
|
-
if (a.state === "working") return a.background ? "background" : "working";
|
|
26
|
-
}
|
|
27
|
-
if (s.asleep) return "asleep";
|
|
28
|
-
if (a) return "quiet";
|
|
29
|
-
if (s.activityState === "active") return "active";
|
|
30
|
-
if (s.activityState === "open") return "open";
|
|
31
|
-
return now - Date.parse(lastActiveAt(s)) < RECENT_MS ? "recent" : "stale";
|
|
32
|
-
}
|
|
33
|
-
var DISPLAY_LABEL = {
|
|
34
|
-
archiving: "Archiving",
|
|
35
|
-
restoring: "Restoring",
|
|
36
|
-
needs_input: "Needs your input",
|
|
37
|
-
done: "Done",
|
|
38
|
-
working: "Working",
|
|
39
|
-
background: "In background",
|
|
40
|
-
asleep: "Asleep",
|
|
41
|
-
quiet: "Idle",
|
|
42
|
-
active: "Active",
|
|
43
|
-
open: "Open",
|
|
44
|
-
recent: "Idle",
|
|
45
|
-
stale: "Stale"
|
|
46
|
-
};
|
|
47
|
-
var CONTEXT_WARN = 0.7;
|
|
48
|
-
var AGE_LABEL = {
|
|
49
|
-
now: "Now",
|
|
50
|
-
week: "This week",
|
|
51
|
-
older: "Older"
|
|
52
|
-
};
|
|
53
|
-
var WEEK_MS = 7 * 24 * 36e5;
|
|
54
|
-
function ageBucket(s, now = Date.now()) {
|
|
55
|
-
const kind = displayStatus(s, now);
|
|
56
|
-
if (owedToYou(s).length) return "now";
|
|
57
|
-
if (kind === "needs_input" || kind === "done" || kind === "working" || kind === "background" || kind === "archiving" || kind === "restoring" || kind === "active" || kind === "open")
|
|
58
|
-
return "now";
|
|
59
|
-
const age = now - Date.parse(lastActiveAt(s));
|
|
60
|
-
if (age < RECENT_MS) return "now";
|
|
61
|
-
return age < WEEK_MS ? "week" : "older";
|
|
62
|
-
}
|
|
63
|
-
var OWED_LONG = {
|
|
64
|
-
turn: () => "a finished turn to review",
|
|
65
|
-
reply: (n) => `${n} ${n === 1 ? "reply" : "replies"} to post`,
|
|
66
|
-
thread: (n) => `${n} review ${n === 1 ? "thread" : "threads"} with no answer`,
|
|
67
|
-
conflict: (n) => n === 1 ? "a merge conflict" : `${n} PRs with merge conflicts`,
|
|
68
|
-
checks: (n) => n === 1 ? "checks failing" : `${n} PRs with checks failing`,
|
|
69
|
-
merge: () => "ready to merge"
|
|
70
|
-
};
|
|
71
|
-
function waitingOnOthers(s) {
|
|
72
|
-
return !owedToYou(s).length && stageWaiting(s.prStage);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
13
|
// src/core/agents/assistant.ts
|
|
76
14
|
import fs from "fs";
|
|
77
15
|
import path from "path";
|
|
@@ -92,7 +30,8 @@ var ASSISTANT_ALLOW = [
|
|
|
92
30
|
{ command: "work list", prefix: true },
|
|
93
31
|
{ command: "work recent", prefix: true },
|
|
94
32
|
// The Time tab's day, read only (set / reset / off / gather / post ask first).
|
|
95
|
-
{ command: "work timesheet show", prefix: true }
|
|
33
|
+
{ command: "work timesheet show", prefix: true },
|
|
34
|
+
{ command: "work timesheet month", prefix: true }
|
|
96
35
|
];
|
|
97
36
|
var ASSISTANT_HOOKS = [
|
|
98
37
|
{ owner: "assistant", edge: "turn-start", command: "work hook assistant-context", timeoutSec: 5 }
|
|
@@ -110,6 +49,7 @@ Use the \`work\` CLI with \`--json\` (see the work-sessions skill) and parse it;
|
|
|
110
49
|
- \`work overlaps --json\` \u2014 live sessions changing the same files.
|
|
111
50
|
- \`work cleanup --json\` \u2014 which worktrees can go, and why.
|
|
112
51
|
- \`work timesheet show [day] --json\` \u2014 the Time tab's day: hours per ticket, and why (sessions' Claude minutes, commits, Jira, meetings, chats). On the Time tab, the day on screen is described to you with each message.
|
|
52
|
+
- \`work timesheet month [YYYY-MM] --json\` \u2014 a month: every day's rows with how each got its hours, the month's tickets, and what posting it would do. On the Month view, the month on screen is described to you with each message.
|
|
113
53
|
- \`work search <words> --json\` \u2014 sessions whose conversation (live or archived, also older than the agent keeps) mentions it, with the matching lines: "what did we do about X?".
|
|
114
54
|
|
|
115
55
|
Each prompt comes with what the user is looking at in the dashboard (the tab, the selected session). When they say "this", "these" or "here", that is what they mean.
|
|
@@ -118,7 +58,7 @@ Each prompt comes with what the user is looking at in the dashboard (the tab, th
|
|
|
118
58
|
|
|
119
59
|
Ask before you change anything, and say exactly what will happen:
|
|
120
60
|
- Removing, archiving or forgetting worktrees: \`work cleanup --apply <id>\u2026 --action delete|archive|forget --json\`. Each is checked again right before it runs; report what was refused and why. Never \`--force\` unless the user asked for exactly that.
|
|
121
|
-
- A day's hours: \`work timesheet set <day> KEY=HOURS \u2026\` (all its rows; quarter hours, the day's total as the user wants it), \`reset <day>\`, \`off <day
|
|
61
|
+
- A day's hours: \`work timesheet set <day> KEY=HOURS \u2026\` (all its rows; quarter hours, the day's total as the user wants it), \`reset <day>\`, \`off <day>\`; several days: one command per day. Explain the change first. To look at a day again (its sessions, commits, Jira, meetings): \`work timesheet gather <day>\`, or \`gather <YYYY-MM>\` for a month's days not gathered yet. Posting to Tempo (\`work timesheet post <day>\`) only when the user asks for it.
|
|
122
62
|
- Anything else (\`work remove\`, git, files in a worktree): only when asked, and show the command first.
|
|
123
63
|
|
|
124
64
|
Don't post on GitHub, and don't send prompts to other sessions, unless the user asks. Keep answers short: the user is in the middle of something.
|
|
@@ -167,15 +107,19 @@ function describeView(view, session, now = Date.now()) {
|
|
|
167
107
|
if (view.note) lines.push(view.note);
|
|
168
108
|
return lines.join("\n");
|
|
169
109
|
}
|
|
170
|
-
function writeAssistantContext(text, now = Date.now(), day) {
|
|
110
|
+
function writeAssistantContext(text, now = Date.now(), day, month) {
|
|
171
111
|
fs.mkdirSync(assistantDir(), { recursive: true });
|
|
172
|
-
const stored = { at: new Date(now).toISOString(), text, ...day ? { day } : {} };
|
|
112
|
+
const stored = { at: new Date(now).toISOString(), text, ...day ? { day } : {}, ...month ? { month } : {} };
|
|
173
113
|
atomicWriteFile(contextFile(), JSON.stringify(stored));
|
|
174
114
|
}
|
|
175
115
|
function assistantContextDay(now = Date.now()) {
|
|
176
116
|
const s = readStored(now);
|
|
177
117
|
return s && typeof s.day === "string" && /^\d{4}-\d{2}-\d{2}$/.test(s.day) ? s.day : null;
|
|
178
118
|
}
|
|
119
|
+
function assistantContextMonth(now = Date.now()) {
|
|
120
|
+
const s = readStored(now);
|
|
121
|
+
return s && typeof s.month === "string" && /^\d{4}-(0[1-9]|1[0-2])$/.test(s.month) ? s.month : null;
|
|
122
|
+
}
|
|
179
123
|
function readStored(now) {
|
|
180
124
|
try {
|
|
181
125
|
const s = JSON.parse(fs.readFileSync(contextFile(), "utf-8"));
|
|
@@ -193,19 +137,13 @@ ${dayNow}` : ""}`;
|
|
|
193
137
|
}
|
|
194
138
|
|
|
195
139
|
export {
|
|
196
|
-
displayStatus,
|
|
197
|
-
DISPLAY_LABEL,
|
|
198
|
-
CONTEXT_WARN,
|
|
199
|
-
AGE_LABEL,
|
|
200
|
-
ageBucket,
|
|
201
|
-
OWED_LONG,
|
|
202
|
-
waitingOnOthers,
|
|
203
140
|
ASSISTANT_ID,
|
|
204
141
|
assistantDir,
|
|
205
142
|
prepareAssistantDir,
|
|
206
143
|
describeView,
|
|
207
144
|
writeAssistantContext,
|
|
208
145
|
assistantContextDay,
|
|
146
|
+
assistantContextMonth,
|
|
209
147
|
readAssistantContext
|
|
210
148
|
};
|
|
211
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-F4EWBHTA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/core/agents/assistant.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\nimport { getConfigDir } from '../platform/config.js';\nimport { atomicWriteFile } from '../platform/fs-safe.js';\nimport type { AssistantView, SessionWire } from '../api-types.js';\nimport { DISPLAY_LABEL, displayStatus } from '../sessions/session-view.js';\nimport type { AgentAdapter, AllowRule, WorkHook } from './types.js';\n\n/**\n * The dashboard assistant (Ctrl+K): a persistent agent session in the PTY\n * host, like any worktree's, with its own folder under ~/.work/assistant. It\n * runs config `assistantAgent` (Claude Code by default; `assistantAgent()`).\n *\n * That folder is written by work: the agent's instructions file (CLAUDE.md\n * for Claude) saying what it is for and how to get the data (the\n * `work … --json` commands), and through its adapter's `workspace` its own\n * settings: the read-only commands pre-allowed, and a hook at the start of\n * each turn that adds what the user is looking at in the dashboard to the\n * prompt (`work hook assistant-context`), so \"clean these up\" or \"why is this\n * one blocked?\" need no explaining. An agent without a workspace gets the\n * instructions only (it asks before every command, and sees no view).\n *\n * It runs in the agent's normal permission mode, never --unsafe: anything\n * not pre-allowed — `work cleanup --apply`, `work remove`, git — asks first,\n * in the panel (and the Inbox).\n */\n\nexport const ASSISTANT_ID = 'assistant';\n\n/** What the dashboard reported, kept this long for the hook. */\nexport const CONTEXT_TTL_MS = 30 * 60_000;\n\nexport function assistantDir(): string {\n return path.join(getConfigDir(), 'assistant');\n}\nconst contextFile = () => path.join(assistantDir(), 'context.json');\n\n/**\n * Read-only commands it may run without asking (each agent's adapter writes\n * them in its own terms). Exact forms for cleanup: a `work cleanup --json`\n * prefix rule would also allow `--apply`.\n */\nexport const ASSISTANT_ALLOW: AllowRule[] = [\n { command: 'work sessions', prefix: true },\n { command: 'work digest', prefix: true },\n { command: 'work overlaps', prefix: true },\n { command: 'work search', prefix: true },\n { command: 'work cleanup --json' },\n { command: 'work cleanup --json --no-fetch' },\n { command: 'work cleanup --no-fetch --json' },\n { command: 'work list', prefix: true },\n { command: 'work recent', prefix: true },\n // The Time tab's day, read only (set / reset / off / gather / post ask first).\n { command: 'work timesheet show', prefix: true },\n { command: 'work timesheet month', prefix: true },\n];\n\n/** Its hook: what the dashboard shows, added at the start of each turn. */\nexport const ASSISTANT_HOOKS: WorkHook[] = [\n { owner: 'assistant', edge: 'turn-start', command: 'work hook assistant-context', timeoutSec: 5 },\n];\n\nexport const ASSISTANT_INSTRUCTIONS = `# You are the work dashboard's assistant\n\nThe user opens you with Ctrl+K in \\`work web\\`, the dashboard over all their git worktrees and the coding agent session in each. Help them make sense of it and act on it: what needs them, what each session did, what can be cleaned up, which sessions will conflict.\n\n## Getting the data\n\nUse the \\`work\\` CLI with \\`--json\\` (see the work-sessions skill) and parse it; don't guess from the filesystem:\n\n- \\`work sessions --json\\` — every session: status (\\`view.label\\`), age, last active, context usage, archive state. \\`--changes\\` adds +N −M and same-file overlaps; \\`--all\\` adds older and archived ones.\n- \\`work digest --json --since today|yesterday|week\\` — what each session did (prompts, turns, PRs).\n- \\`work overlaps --json\\` — live sessions changing the same files.\n- \\`work cleanup --json\\` — which worktrees can go, and why.\n- \\`work timesheet show [day] --json\\` — the Time tab's day: hours per ticket, and why (sessions' Claude minutes, commits, Jira, meetings, chats). On the Time tab, the day on screen is described to you with each message.\n- \\`work timesheet month [YYYY-MM] --json\\` — a month: every day's rows with how each got its hours, the month's tickets, and what posting it would do. On the Month view, the month on screen is described to you with each message.\n- \\`work search <words> --json\\` — sessions whose conversation (live or archived, also older than the agent keeps) mentions it, with the matching lines: \"what did we do about X?\".\n\nEach prompt comes with what the user is looking at in the dashboard (the tab, the selected session). When they say \"this\", \"these\" or \"here\", that is what they mean.\n\n## Changing things\n\nAsk before you change anything, and say exactly what will happen:\n- Removing, archiving or forgetting worktrees: \\`work cleanup --apply <id>… --action delete|archive|forget --json\\`. Each is checked again right before it runs; report what was refused and why. Never \\`--force\\` unless the user asked for exactly that.\n- A day's hours: \\`work timesheet set <day> KEY=HOURS …\\` (all its rows; quarter hours, the day's total as the user wants it), \\`reset <day>\\`, \\`off <day>\\`; several days: one command per day. Explain the change first. To look at a day again (its sessions, commits, Jira, meetings): \\`work timesheet gather <day>\\`, or \\`gather <YYYY-MM>\\` for a month's days not gathered yet. Posting to Tempo (\\`work timesheet post <day>\\`) only when the user asks for it.\n- Anything else (\\`work remove\\`, git, files in a worktree): only when asked, and show the command first.\n\nDon't post on GitHub, and don't send prompts to other sessions, unless the user asks. Keep answers short: the user is in the middle of something.\n`;\n\n/** What work wrote in the folder last time (relative paths), so files an earlier agent's setup left can go. */\nconst writtenFile = () => path.join(assistantDir(), '.work-written.json');\n/** What a work from before the list wrote: Claude's. */\nconst BEFORE_THE_LIST = ['CLAUDE.md', path.join('.claude', 'settings.json')];\n\nfunction readWritten(): string[] {\n try {\n const v = JSON.parse(fs.readFileSync(writtenFile(), 'utf-8')) as unknown;\n return Array.isArray(v) ? v.filter((x): x is string => typeof x === 'string') : [];\n } catch (err) {\n return (err as NodeJS.ErrnoException).code === 'ENOENT' ? BEFORE_THE_LIST : [];\n }\n}\n\n/**\n * Write (or refresh) the assistant's folder for the agent it runs; returns\n * it. Idempotent. Files work wrote there for another agent before (its\n * instructions, its settings with their allow rules and hooks) are removed:\n * after a switch they would be instructions and permissions nothing manages.\n * Only files work wrote and listed, inside the folder — never the user's own.\n */\nexport function prepareAssistantDir(agent: Pick<AgentAdapter, 'instructionsFile' | 'workspace'>): string {\n const dir = assistantDir();\n fs.mkdirSync(dir, { recursive: true });\n const before = readWritten();\n atomicWriteFile(path.join(dir, agent.instructionsFile), ASSISTANT_INSTRUCTIONS);\n const written = [agent.instructionsFile, ...(agent.workspace?.write(dir, { allow: ASSISTANT_ALLOW, hooks: ASSISTANT_HOOKS }) ?? [])].map(\n (f) => path.normalize(f),\n );\n const root = path.resolve(dir);\n for (const old of before.map((f) => path.normalize(f))) {\n const file = path.resolve(root, old);\n if (written.includes(old) || path.isAbsolute(old) || !file.startsWith(root + path.sep)) continue; // listed by us, inside the folder: nothing else\n fs.rmSync(file, { force: true });\n }\n atomicWriteFile(writtenFile(), JSON.stringify(written));\n return dir;\n}\n\ninterface StoredContext {\n at: string;\n text: string;\n /** The Time tab's day on screen: described afresh at each prompt (rows change by Save, Post, a rebuild). */\n day?: string;\n /** The Time tab's Month view on screen (`YYYY-MM`), described afresh the same way. */\n month?: string;\n}\n\n/**\n * The dashboard view in words, for the hook: which tab, and the selected\n * session's state. Pure.\n */\nexport function describeView(view: AssistantView, session: SessionWire | null, now = Date.now()): string {\n const lines = [`The user is looking at the dashboard's ${view.tab} tab${view.sub ? ` (${view.sub})` : ''}.`];\n if (session) {\n const status = DISPLAY_LABEL[displayStatus(session, now)];\n lines.push(\n `Selected session: ${session.target} · ${session.branch} (id ${session.id}) — ${status}.`,\n ...(session.attention?.summary ? [` Its last line: ${session.attention.summary}`] : []),\n ...(session.diffStat?.files\n ? [` Uncommitted: +${session.diffStat.added} −${session.diffStat.deleted} in ${session.diffStat.files} files.`]\n : []),\n ...(session.overlaps?.length\n ? [` Changes the same files as: ${session.overlaps.map((o) => `${o.target} · ${o.branch}`).join(', ')}.`]\n : []),\n ...(session.context ? [` Its conversation is ${Math.round((session.context.used / session.context.window) * 100)}% full.`] : []),\n ...(session.archivedAt ? [' It is archived.'] : []),\n ` Worktree: ${session.paths.join(', ')}`,\n );\n }\n if (view.note) lines.push(view.note);\n return lines.join('\\n');\n}\n\nexport function writeAssistantContext(text: string, now = Date.now(), day?: string, month?: string): void {\n fs.mkdirSync(assistantDir(), { recursive: true });\n const stored: StoredContext = { at: new Date(now).toISOString(), text, ...(day ? { day } : {}), ...(month ? { month } : {}) };\n atomicWriteFile(contextFile(), JSON.stringify(stored));\n}\n\n/** The day on screen, if the Time tab is: for the hook to describe as it is now. */\nexport function assistantContextDay(now = Date.now()): string | null {\n const s = readStored(now);\n return s && typeof s.day === 'string' && /^\\d{4}-\\d{2}-\\d{2}$/.test(s.day) ? s.day : null;\n}\n\n/** The month on screen, if the Time tab's Month view is: for the hook to describe as it is now. */\nexport function assistantContextMonth(now = Date.now()): string | null {\n const s = readStored(now);\n return s && typeof s.month === 'string' && /^\\d{4}-(0[1-9]|1[0-2])$/.test(s.month) ? s.month : null;\n}\n\nfunction readStored(now: number): Partial<StoredContext> | null {\n try {\n const s = JSON.parse(fs.readFileSync(contextFile(), 'utf-8')) as Partial<StoredContext> | null;\n if (!s || typeof s.text !== 'string' || typeof s.at !== 'string') return null;\n return now - Date.parse(s.at) > CONTEXT_TTL_MS ? null : s;\n } catch {\n return null;\n }\n}\n\n/**\n * What the hook adds to a prompt; null when the dashboard said nothing\n * lately. `dayNow` describes the Time tab's day as it is at this prompt\n * (the hook reads it from state.db), not as it was when the tab was opened.\n */\nexport function readAssistantContext(now = Date.now(), dayNow?: string | null): string | null {\n const s = readStored(now);\n if (!s) return null;\n return `[work dashboard] ${s.text}${dayNow ? `\\n${dayNow}` : ''}`;\n}\n"],"mappings":"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","names":[]}
|
|
@@ -48,16 +48,16 @@ import {
|
|
|
48
48
|
upsertSession,
|
|
49
49
|
upsertSessionWithPort,
|
|
50
50
|
writeArchiveRecord
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-SBLK524A.js";
|
|
52
52
|
import {
|
|
53
53
|
sessionIdFor
|
|
54
54
|
} from "./chunk-YYBXQBW2.js";
|
|
55
55
|
import {
|
|
56
56
|
agentFor
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-MPY2ZQBL.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_ACCOUNT
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-PDWEPIL6.js";
|
|
61
61
|
import {
|
|
62
62
|
atomicWriteFile
|
|
63
63
|
} from "./chunk-ZXHMC7UO.js";
|
|
@@ -338,7 +338,7 @@ function writeSessionInstructions(folder, repoFolders, fileName, importLine) {
|
|
|
338
338
|
import fs3 from "fs";
|
|
339
339
|
import path4 from "path";
|
|
340
340
|
import { globSync } from "glob";
|
|
341
|
-
var EXCLUDED_DIRS = ["bin", "obj", "node_modules", ".git"];
|
|
341
|
+
var EXCLUDED_DIRS = ["bin", "obj", "node_modules", ".git", "cdk.out"];
|
|
342
342
|
function copyConfigFiles(repoPath, worktreePath, patterns) {
|
|
343
343
|
for (const pattern of patterns) {
|
|
344
344
|
const normalized = pattern.replace(/\\/g, "/");
|
|
@@ -1089,4 +1089,4 @@ export {
|
|
|
1089
1089
|
teardownWorktree,
|
|
1090
1090
|
openBaseCheckout
|
|
1091
1091
|
};
|
|
1092
|
-
//# sourceMappingURL=chunk-
|
|
1092
|
+
//# sourceMappingURL=chunk-GBMY7IMP.js.map
|