@moberg_hr/work-tree 2.2.0 → 2.3.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/README.md +232 -378
- package/dist/{answer-OF2QNF4A.js → answer-7C4BZSYE.js} +8 -8
- package/dist/{attach-PAFAZ2EH.js → attach-PITHAQC4.js} +11 -11
- package/dist/bin.js +2 -2
- package/dist/{block-3LEG4LKJ.js → block-45UQKMA3.js} +8 -8
- package/dist/{broadcast-ZDIL7UBP.js → broadcast-CUJDQYEW.js} +5 -5
- package/dist/{catchup-ZZ5HZJIT.js → catchup-ZXYFL4XZ.js} +10 -10
- package/dist/{chunk-OCDHKDUN.js → chunk-2IM7Q7WT.js} +47 -47
- package/dist/{chunk-M4YXBQZN.js → chunk-3GTLGDP3.js} +6 -6
- package/dist/{chunk-3GAYLP7W.js → chunk-3N64LEF5.js} +4 -4
- package/dist/{chunk-46VAWZZX.js → chunk-4O7B3ODB.js} +2 -2
- package/dist/{chunk-77SVSNME.js → chunk-56G6RE5J.js} +5 -5
- package/dist/{chunk-ZR2KWY6V.js → chunk-5P7XE7HW.js} +2 -2
- package/dist/{chunk-OE34YZFO.js → chunk-6BITLING.js} +3 -3
- package/dist/{chunk-453EGT2R.js → chunk-6VHECWTC.js} +14 -9
- package/dist/chunk-6VHECWTC.js.map +1 -0
- package/dist/{chunk-LPJEV4R2.js → chunk-7UPS3IZ2.js} +2 -2
- package/dist/{chunk-X6VBITXV.js → chunk-BSSYIB4W.js} +6 -6
- package/dist/{chunk-KTFDSJUD.js → chunk-BTFVGXUG.js} +59 -17
- package/dist/chunk-BTFVGXUG.js.map +1 -0
- package/dist/{chunk-RK6NHIL6.js → chunk-CQR657PU.js} +2 -2
- package/dist/{chunk-TROTIHD5.js → chunk-DEW3VLLK.js} +4 -4
- package/dist/{chunk-UDOXLAE7.js → chunk-DOD6DEWO.js} +4 -4
- package/dist/{chunk-INVFNKU7.js → chunk-EAUE4VEJ.js} +5 -5
- package/dist/{chunk-E3Y4ZACK.js → chunk-EAUSWDOQ.js} +2 -2
- package/dist/{chunk-RT4QZRTC.js → chunk-EHJ63GMQ.js} +7 -3
- package/dist/chunk-EHJ63GMQ.js.map +1 -0
- package/dist/{chunk-EXJYPF64.js → chunk-FAFWD2BZ.js} +3 -3
- package/dist/{chunk-2GX3IOSV.js → chunk-G3LZU2LT.js} +11 -7
- package/dist/chunk-G3LZU2LT.js.map +1 -0
- package/dist/{chunk-IKYZ5CJZ.js → chunk-G3RZAZAI.js} +2 -2
- package/dist/{chunk-62C3CJ5M.js → chunk-GACMWI3H.js} +2 -2
- package/dist/{chunk-XIL4QZFW.js → chunk-IS44ZO7V.js} +3 -3
- package/dist/{chunk-KWU35O5S.js → chunk-JR4UAMZM.js} +4 -4
- package/dist/{chunk-NBI2INQS.js → chunk-LESRAPQH.js} +4 -4
- package/dist/{chunk-LGDECE7V.js → chunk-LZ7LYVHR.js} +3 -3
- package/dist/{chunk-U5V5J237.js → chunk-M5E6EM5B.js} +7 -7
- package/dist/chunk-MCCF7PIY.js +9 -0
- package/dist/{chunk-ISZM5C22.js → chunk-N4J65ADX.js} +11 -11
- package/dist/{chunk-26IZBYVL.js → chunk-NSH62BFD.js} +2 -2
- package/dist/{chunk-KSVZVHTI.js → chunk-OLT6A5L4.js} +6 -6
- package/dist/{chunk-4CVUV2SE.js → chunk-OOZ77YJI.js} +2 -2
- package/dist/{chunk-U4YUMSJY.js → chunk-PVNQJFIU.js} +4 -4
- package/dist/{chunk-OIQY4OKO.js → chunk-SEU6GTXI.js} +2 -2
- package/dist/{chunk-LBQR7KTC.js → chunk-SPS3SSXO.js} +3 -3
- package/dist/{chunk-UOSZFFNY.js → chunk-UWSJHSZM.js} +2 -2
- package/dist/{chunk-JQXUIKU5.js → chunk-VEXEV32Q.js} +2 -2
- package/dist/{chunk-EDAOG56H.js → chunk-VFJYLTWC.js} +3 -3
- package/dist/{chunk-ZVJEWMJN.js → chunk-W2W7MOHA.js} +2 -2
- package/dist/{chunk-MRXD2NSO.js → chunk-WQ6NM7RO.js} +2 -2
- package/dist/{chunk-R4M5DDSN.js → chunk-WQJRZXWB.js} +6 -6
- package/dist/{chunk-DLSAAP3S.js → chunk-X63PWGRB.js} +3 -3
- package/dist/{chunk-U27Q3DVF.js → chunk-XVTUJ5JP.js} +2 -2
- package/dist/{chunk-3B3UMUE6.js → chunk-YLRFDJVU.js} +2 -2
- package/dist/{chunk-C7OK4XEZ.js → chunk-YLYBMVBD.js} +6 -3
- package/dist/chunk-YLYBMVBD.js.map +1 -0
- package/dist/{chunk-TN2TXRHS.js → chunk-ZZ57KXHU.js} +2 -2
- package/dist/{cleanup-W5RGZ3Q6.js → cleanup-O33DLVYY.js} +19 -19
- package/dist/{cli-64TLWGRH.js → cli-XA33SNZC.js} +3 -3
- package/dist/{config-MR7UZCST.js → config-IVFI5HKI.js} +5 -5
- package/dist/{diff-URDY6YMT.js → diff-RJFPY5UC.js} +8 -8
- package/dist/{digest-D4FEZNLU.js → digest-KU7AV7LU.js} +7 -7
- package/dist/{fork-7EUVNEB7.js → fork-GGNDPT5D.js} +17 -17
- package/dist/{hook-6AD3FRKZ.js → hook-SXCVFIKJ.js} +9 -9
- package/dist/{hydrate-ZJZPM6YW.js → hydrate-LLHAMA6B.js} +4 -4
- package/dist/{init-LWL4WVSJ.js → init-JDJFQEPW.js} +5 -5
- package/dist/{install-skills-TQVWZDUD.js → install-skills-OXXTF7QP.js} +3 -3
- package/dist/install-skills-bin.js +2 -2
- package/dist/{move-URV7XIDT.js → move-OYZGR76R.js} +8 -8
- package/dist/{note-S6EGTEIL.js → note-UT4F7TU4.js} +8 -8
- package/dist/{overlaps-4T7NLTJH.js → overlaps-H7ZTPYGI.js} +6 -6
- package/dist/{pin-KKQZ3AR6.js → pin-B7JAUL62.js} +8 -8
- package/dist/{pr-5ZILTVDM.js → pr-U2O4WICL.js} +8 -8
- package/dist/{prune-OK23KLHG.js → prune-DSV7XBIY.js} +18 -18
- package/dist/{pty-host-I5OJGWYA.js → pty-host-XZPHJWCJ.js} +6 -6
- package/dist/{read-NHK26F22.js → read-SOC7UER2.js} +7 -7
- package/dist/{recent-DNSOJQVQ.js → recent-7XAWE6FF.js} +5 -5
- package/dist/{remove-TZQVN2EG.js → remove-KC276OMW.js} +17 -17
- package/dist/{restart-WHJDPDQA.js → restart-LDPKYFLI.js} +8 -8
- package/dist/{resume-BXIYEZM3.js → resume-MME3OFRQ.js} +5 -5
- package/dist/{run-4MQLY3XF.js → run-5NK2IO5X.js} +7 -5
- package/dist/run-5NK2IO5X.js.map +1 -0
- package/dist/{screen-URKN7PU6.js → screen-KSCRMLCO.js} +8 -8
- package/dist/{search-MNBYJEL7.js → search-ME2ME7O2.js} +4 -4
- package/dist/{section-B3OQFADP.js → section-XQ2C5OAR.js} +8 -8
- package/dist/{send-2QTMQQ6E.js → send-KG2REDEE.js} +9 -9
- package/dist/{sessions-4B22O45G.js → sessions-7KNUFP7M.js} +14 -14
- package/dist/{snooze-LSCCM3QT.js → snooze-XAUGXI6F.js} +7 -7
- package/dist/{start-KVNLZRF5.js → start-HJC6EGEL.js} +8 -8
- package/dist/{state-S776FFV5.js → state-6QP5ST4N.js} +4 -3
- package/dist/state-6QP5ST4N.js.map +1 -0
- package/dist/{status-UEMXFLZZ.js → status-JNR4BZH6.js} +4 -4
- package/dist/{stop-NEQBEYEY.js → stop-5LIH3DUX.js} +8 -8
- package/dist/{sync-BHEY6RXE.js → sync-U3BOXQ2S.js} +18 -18
- package/dist/{time-ON27QFG4.js → time-ZAXB2XSF.js} +9 -9
- package/dist/{time-actions-ZRD74CPW.js → time-actions-WBXW6XAY.js} +3 -3
- package/dist/{timesheet-HK5CHAA7.js → timesheet-2SHXLLHP.js} +10 -10
- package/dist/{todo-2GKRUO4D.js → todo-YBDZZUCH.js} +3 -3
- package/dist/{tree-C5BEEKLO.js → tree-OKM2MYTD.js} +13 -13
- package/dist/{update-M4KS23HB.js → update-SC5XCH5P.js} +9 -9
- package/dist/{wait-5QVWSCOL.js → wait-FTQQM7ME.js} +8 -8
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-TjC4VYWv.js → PtyView-DT2KQFV3.js} +2 -2
- package/dist/web/assets/{PtyView-TjC4VYWv.js.map → PtyView-DT2KQFV3.js.map} +1 -1
- package/dist/web/assets/{index-BPadZeCm.js → index-Bc4ETz8-.js} +7 -7
- package/dist/web/assets/index-Bc4ETz8-.js.map +1 -0
- package/dist/web/index.html +1 -1
- package/dist/{web-5YGNY6MI.js → web-H2IVQUID.js} +101 -49
- package/dist/web-H2IVQUID.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-2GX3IOSV.js.map +0 -1
- package/dist/chunk-453EGT2R.js.map +0 -1
- package/dist/chunk-C7OK4XEZ.js.map +0 -1
- package/dist/chunk-KTFDSJUD.js.map +0 -1
- package/dist/chunk-RT4QZRTC.js.map +0 -1
- package/dist/chunk-THJGDJVO.js +0 -9
- package/dist/run-4MQLY3XF.js.map +0 -1
- package/dist/state-S776FFV5.js.map +0 -1
- package/dist/web/assets/index-BPadZeCm.js.map +0 -1
- package/dist/web-5YGNY6MI.js.map +0 -1
- /package/dist/{answer-OF2QNF4A.js.map → answer-7C4BZSYE.js.map} +0 -0
- /package/dist/{attach-PAFAZ2EH.js.map → attach-PITHAQC4.js.map} +0 -0
- /package/dist/{block-3LEG4LKJ.js.map → block-45UQKMA3.js.map} +0 -0
- /package/dist/{broadcast-ZDIL7UBP.js.map → broadcast-CUJDQYEW.js.map} +0 -0
- /package/dist/{catchup-ZZ5HZJIT.js.map → catchup-ZXYFL4XZ.js.map} +0 -0
- /package/dist/{chunk-OCDHKDUN.js.map → chunk-2IM7Q7WT.js.map} +0 -0
- /package/dist/{chunk-M4YXBQZN.js.map → chunk-3GTLGDP3.js.map} +0 -0
- /package/dist/{chunk-3GAYLP7W.js.map → chunk-3N64LEF5.js.map} +0 -0
- /package/dist/{chunk-46VAWZZX.js.map → chunk-4O7B3ODB.js.map} +0 -0
- /package/dist/{chunk-77SVSNME.js.map → chunk-56G6RE5J.js.map} +0 -0
- /package/dist/{chunk-ZR2KWY6V.js.map → chunk-5P7XE7HW.js.map} +0 -0
- /package/dist/{chunk-OE34YZFO.js.map → chunk-6BITLING.js.map} +0 -0
- /package/dist/{chunk-LPJEV4R2.js.map → chunk-7UPS3IZ2.js.map} +0 -0
- /package/dist/{chunk-X6VBITXV.js.map → chunk-BSSYIB4W.js.map} +0 -0
- /package/dist/{chunk-RK6NHIL6.js.map → chunk-CQR657PU.js.map} +0 -0
- /package/dist/{chunk-TROTIHD5.js.map → chunk-DEW3VLLK.js.map} +0 -0
- /package/dist/{chunk-UDOXLAE7.js.map → chunk-DOD6DEWO.js.map} +0 -0
- /package/dist/{chunk-INVFNKU7.js.map → chunk-EAUE4VEJ.js.map} +0 -0
- /package/dist/{chunk-E3Y4ZACK.js.map → chunk-EAUSWDOQ.js.map} +0 -0
- /package/dist/{chunk-EXJYPF64.js.map → chunk-FAFWD2BZ.js.map} +0 -0
- /package/dist/{chunk-IKYZ5CJZ.js.map → chunk-G3RZAZAI.js.map} +0 -0
- /package/dist/{chunk-62C3CJ5M.js.map → chunk-GACMWI3H.js.map} +0 -0
- /package/dist/{chunk-XIL4QZFW.js.map → chunk-IS44ZO7V.js.map} +0 -0
- /package/dist/{chunk-KWU35O5S.js.map → chunk-JR4UAMZM.js.map} +0 -0
- /package/dist/{chunk-NBI2INQS.js.map → chunk-LESRAPQH.js.map} +0 -0
- /package/dist/{chunk-LGDECE7V.js.map → chunk-LZ7LYVHR.js.map} +0 -0
- /package/dist/{chunk-U5V5J237.js.map → chunk-M5E6EM5B.js.map} +0 -0
- /package/dist/{chunk-THJGDJVO.js.map → chunk-MCCF7PIY.js.map} +0 -0
- /package/dist/{chunk-ISZM5C22.js.map → chunk-N4J65ADX.js.map} +0 -0
- /package/dist/{chunk-26IZBYVL.js.map → chunk-NSH62BFD.js.map} +0 -0
- /package/dist/{chunk-KSVZVHTI.js.map → chunk-OLT6A5L4.js.map} +0 -0
- /package/dist/{chunk-4CVUV2SE.js.map → chunk-OOZ77YJI.js.map} +0 -0
- /package/dist/{chunk-U4YUMSJY.js.map → chunk-PVNQJFIU.js.map} +0 -0
- /package/dist/{chunk-OIQY4OKO.js.map → chunk-SEU6GTXI.js.map} +0 -0
- /package/dist/{chunk-LBQR7KTC.js.map → chunk-SPS3SSXO.js.map} +0 -0
- /package/dist/{chunk-UOSZFFNY.js.map → chunk-UWSJHSZM.js.map} +0 -0
- /package/dist/{chunk-JQXUIKU5.js.map → chunk-VEXEV32Q.js.map} +0 -0
- /package/dist/{chunk-EDAOG56H.js.map → chunk-VFJYLTWC.js.map} +0 -0
- /package/dist/{chunk-ZVJEWMJN.js.map → chunk-W2W7MOHA.js.map} +0 -0
- /package/dist/{chunk-MRXD2NSO.js.map → chunk-WQ6NM7RO.js.map} +0 -0
- /package/dist/{chunk-R4M5DDSN.js.map → chunk-WQJRZXWB.js.map} +0 -0
- /package/dist/{chunk-DLSAAP3S.js.map → chunk-X63PWGRB.js.map} +0 -0
- /package/dist/{chunk-U27Q3DVF.js.map → chunk-XVTUJ5JP.js.map} +0 -0
- /package/dist/{chunk-3B3UMUE6.js.map → chunk-YLRFDJVU.js.map} +0 -0
- /package/dist/{chunk-TN2TXRHS.js.map → chunk-ZZ57KXHU.js.map} +0 -0
- /package/dist/{cleanup-W5RGZ3Q6.js.map → cleanup-O33DLVYY.js.map} +0 -0
- /package/dist/{cli-64TLWGRH.js.map → cli-XA33SNZC.js.map} +0 -0
- /package/dist/{config-MR7UZCST.js.map → config-IVFI5HKI.js.map} +0 -0
- /package/dist/{diff-URDY6YMT.js.map → diff-RJFPY5UC.js.map} +0 -0
- /package/dist/{digest-D4FEZNLU.js.map → digest-KU7AV7LU.js.map} +0 -0
- /package/dist/{fork-7EUVNEB7.js.map → fork-GGNDPT5D.js.map} +0 -0
- /package/dist/{hook-6AD3FRKZ.js.map → hook-SXCVFIKJ.js.map} +0 -0
- /package/dist/{hydrate-ZJZPM6YW.js.map → hydrate-LLHAMA6B.js.map} +0 -0
- /package/dist/{init-LWL4WVSJ.js.map → init-JDJFQEPW.js.map} +0 -0
- /package/dist/{install-skills-TQVWZDUD.js.map → install-skills-OXXTF7QP.js.map} +0 -0
- /package/dist/{move-URV7XIDT.js.map → move-OYZGR76R.js.map} +0 -0
- /package/dist/{note-S6EGTEIL.js.map → note-UT4F7TU4.js.map} +0 -0
- /package/dist/{overlaps-4T7NLTJH.js.map → overlaps-H7ZTPYGI.js.map} +0 -0
- /package/dist/{pin-KKQZ3AR6.js.map → pin-B7JAUL62.js.map} +0 -0
- /package/dist/{pr-5ZILTVDM.js.map → pr-U2O4WICL.js.map} +0 -0
- /package/dist/{prune-OK23KLHG.js.map → prune-DSV7XBIY.js.map} +0 -0
- /package/dist/{pty-host-I5OJGWYA.js.map → pty-host-XZPHJWCJ.js.map} +0 -0
- /package/dist/{read-NHK26F22.js.map → read-SOC7UER2.js.map} +0 -0
- /package/dist/{recent-DNSOJQVQ.js.map → recent-7XAWE6FF.js.map} +0 -0
- /package/dist/{remove-TZQVN2EG.js.map → remove-KC276OMW.js.map} +0 -0
- /package/dist/{restart-WHJDPDQA.js.map → restart-LDPKYFLI.js.map} +0 -0
- /package/dist/{resume-BXIYEZM3.js.map → resume-MME3OFRQ.js.map} +0 -0
- /package/dist/{screen-URKN7PU6.js.map → screen-KSCRMLCO.js.map} +0 -0
- /package/dist/{search-MNBYJEL7.js.map → search-ME2ME7O2.js.map} +0 -0
- /package/dist/{section-B3OQFADP.js.map → section-XQ2C5OAR.js.map} +0 -0
- /package/dist/{send-2QTMQQ6E.js.map → send-KG2REDEE.js.map} +0 -0
- /package/dist/{sessions-4B22O45G.js.map → sessions-7KNUFP7M.js.map} +0 -0
- /package/dist/{snooze-LSCCM3QT.js.map → snooze-XAUGXI6F.js.map} +0 -0
- /package/dist/{start-KVNLZRF5.js.map → start-HJC6EGEL.js.map} +0 -0
- /package/dist/{status-UEMXFLZZ.js.map → status-JNR4BZH6.js.map} +0 -0
- /package/dist/{stop-NEQBEYEY.js.map → stop-5LIH3DUX.js.map} +0 -0
- /package/dist/{sync-BHEY6RXE.js.map → sync-U3BOXQ2S.js.map} +0 -0
- /package/dist/{time-ON27QFG4.js.map → time-ZAXB2XSF.js.map} +0 -0
- /package/dist/{time-actions-ZRD74CPW.js.map → time-actions-WBXW6XAY.js.map} +0 -0
- /package/dist/{timesheet-HK5CHAA7.js.map → timesheet-2SHXLLHP.js.map} +0 -0
- /package/dist/{todo-2GKRUO4D.js.map → todo-YBDZZUCH.js.map} +0 -0
- /package/dist/{tree-C5BEEKLO.js.map → tree-OKM2MYTD.js.map} +0 -0
- /package/dist/{update-M4KS23HB.js.map → update-SC5XCH5P.js.map} +0 -0
- /package/dist/{wait-5QVWSCOL.js.map → wait-FTQQM7ME.js.map} +0 -0
package/README.md
CHANGED
|
@@ -1,504 +1,358 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# work
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Run ten Claude Code sessions at once, and always know which one needs you.
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**work is a desktop app (and a browser dashboard) for working with AI coding agents on many branches at the same time. Every task gets its own git worktree and its own Claude Code session. One window shows all of them: who is waiting for your answer, what each one changed, where its pull request stands, and the terminal it runs in.**
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/@moberg_hr/work-tree)
|
|
10
|
+
[](https://github.com/moberghr/cli-work-tree-manager/releases/latest)
|
|
10
11
|
[](https://moberghr.github.io/cli-work-tree-manager/)
|
|
11
|
-
[](https://nodejs.org/)
|
|
12
13
|
[](LICENSE)
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
[Install](#install) · [A day with work](#a-day-with-work) · [Every feature](#every-feature-and-what-it-does-for-you) · [Keyboard](#keyboard) · [The CLI](#the-cli) · [Configuration](#configuration) · [FAQ](#faq)
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
<img src="docs/assets/screens/hero-dark.png" alt="The work app: the sessions on the left, one session's diff on the right" width="900">
|
|
17
18
|
|
|
18
19
|
</div>
|
|
19
20
|
|
|
20
21
|
---
|
|
21
22
|
|
|
22
|
-
## Why
|
|
23
|
+
## Why work
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
An AI agent makes one branch go fast. Several agents on several branches should make you several times faster, but in practice you end up with a terminal per agent, no idea which one finished or is stuck on a permission prompt, diffs you never looked at, and worktrees nobody cleans up.
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
work takes care of all of that:
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
| Multi-repo features = multiple `git worktree add` invocations and a hand-merged CLAUDE.md | `work tree mygroup feature/x` — every repo cloned in lockstep, combined CLAUDE.md generated automatically |
|
|
34
|
-
| Stale worktrees pile up after PRs merge | `work prune` (interactive) / `work sync` (one-shot) — remove worktrees whose branches landed on main |
|
|
35
|
-
| Jira ticket → branch name → worktree → Claude prompt = manual every time | Pick a Jira issue in `work web` → worktree created with a branch for it |
|
|
36
|
-
| Same chore (`npm test`, rebase) in five worktrees, one terminal at a time | `work run --all npm test` / `work broadcast --all "rebase onto main"` — fan out across the fleet |
|
|
37
|
-
| Diffs and reviews scattered across terminals and editor tabs | `wd` / `work web` — every diff and review in one browser, comments routed back to the live AI session |
|
|
38
|
-
|
|
39
|
-
---
|
|
29
|
+
- **One task, one worktree, one agent.** "New worktree" makes the branch, the checkout and the Claude session in one step, and starts Claude on what you asked.
|
|
30
|
+
- **One window for all of them.** The Inbox shows the sessions that want you: waiting on a permission prompt, finished and not looked at, a pull request ready to merge or failing.
|
|
31
|
+
- **Review what the agent did, turn by turn.** Every Claude turn is recorded, so you see exactly what the last instruction changed, or everything since you last looked.
|
|
32
|
+
- **Pull requests handled where you work.** Failing checks and review comments are handed to the session's Claude; replies go to GitHub only when you say so.
|
|
33
|
+
- **Nothing lost, nothing left behind.** Sessions survive restarts and reboots. Merged work archives itself and can be restored exactly as it was, and Clean up removes what's no longer needed.
|
|
40
34
|
|
|
41
|
-
|
|
35
|
+
Claude Code is the default agent. work also starts any other CLI agent, with fewer features (see [FAQ](#faq)).
|
|
42
36
|
|
|
43
|
-
|
|
44
|
-
# 1. Install (Node 22.13+, Git required)
|
|
45
|
-
|
|
46
|
-
# Option A — Homebrew (macOS / Linux)
|
|
47
|
-
brew install moberghr/work-tree/work # provides `work` and `wd`
|
|
37
|
+
---
|
|
48
38
|
|
|
49
|
-
|
|
50
|
-
# with `work` and `wd` inside it; it updates itself
|
|
51
|
-
brew install --cask moberghr/work-tree/work-desktop
|
|
39
|
+
## Install
|
|
52
40
|
|
|
53
|
-
|
|
54
|
-
git clone https://github.com/moberghr/cli-work-tree-manager work
|
|
55
|
-
cd work
|
|
56
|
-
npm install
|
|
57
|
-
npm run build
|
|
58
|
-
npm link
|
|
41
|
+
**The desktop app** (recommended): the dashboard in its own window, with the `work` and `wd` commands included. It updates itself.
|
|
59
42
|
|
|
60
|
-
|
|
61
|
-
|
|
43
|
+
| Platform | Download |
|
|
44
|
+
|:---|:---|
|
|
45
|
+
| Windows | [WorkDesktop-win-Setup.exe](https://github.com/moberghr/cli-work-tree-manager/releases/latest/download/WorkDesktop-win-Setup.exe) |
|
|
46
|
+
| macOS (Apple silicon) | [WorkDesktop-osx-Setup.pkg](https://github.com/moberghr/cli-work-tree-manager/releases/latest/download/WorkDesktop-osx-Setup.pkg), or `brew install --cask moberghr/work-tree/work-desktop` |
|
|
47
|
+
| Linux | [WorkDesktop.AppImage](https://github.com/moberghr/cli-work-tree-manager/releases/latest/download/WorkDesktop.AppImage) |
|
|
62
48
|
|
|
63
|
-
|
|
64
|
-
work tree api feature/login
|
|
49
|
+
**Or just the command line**, with the same dashboard in your browser (`work web`):
|
|
65
50
|
|
|
66
|
-
|
|
67
|
-
work
|
|
51
|
+
```bash
|
|
52
|
+
npm install -g @moberg_hr/work-tree # or: brew install moberghr/work-tree/work
|
|
53
|
+
work web # opens the dashboard
|
|
68
54
|
```
|
|
69
55
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### Prerequisites
|
|
56
|
+
On first start, the app's **Welcome** page asks where your repos are and where worktrees should go, lists the repos it finds so you can tick them, and checks your tools:
|
|
73
57
|
|
|
74
|
-
| Tool |
|
|
58
|
+
| Tool | | What for |
|
|
75
59
|
|:---|:---|:---|
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
80
|
-
|
|
60
|
+
| Git | needed | Worktrees |
|
|
61
|
+
| [Claude Code](https://claude.ai/code) | needed | The agent in each session |
|
|
62
|
+
| [GitHub CLI](https://cli.github.com/) (`gh`) | optional | Pull requests: their status, checks, review comments, Ship |
|
|
63
|
+
| [Atlassian CLI](https://developer.atlassian.com/cloud/acli/) (`acli`) | optional | Jira: your issues, starting work on one, the Time tab |
|
|
64
|
+
|
|
65
|
+
Want to look around first? `work web --demo` opens the real app on a made-up world (repos, agents, PRs, Jira) and touches nothing of yours.
|
|
81
66
|
|
|
82
67
|
---
|
|
83
68
|
|
|
84
|
-
##
|
|
69
|
+
## A day with work
|
|
85
70
|
|
|
86
|
-
|
|
87
|
-
work init # Interactive first-time setup
|
|
88
|
-
work tree|t <target> <branch> [flags] # Create or switch to a worktree
|
|
89
|
-
work tree|t <target> # Work on the base repo (no worktree) — pulls + continues the last conversation
|
|
90
|
-
work tree --here # Infer target+branch from the current worktree
|
|
91
|
-
work remove <target> <branch> [--force] # Remove a worktree
|
|
92
|
-
work list [target] # List worktrees
|
|
93
|
-
work status [target] [branch] [--prune] # Show worktree merge/dirty status
|
|
94
|
-
work recent [count] # List recent sessions
|
|
95
|
-
work resume [--unsafe] # Resume a recent session
|
|
96
|
-
work attach [target] [branch] # Attach this terminal to a session's Claude (Ctrl+] detaches)
|
|
97
|
-
work web [--stop] [--no-open] # Browser dashboard (singleton; all sessions in one tab)
|
|
98
|
-
work prune [--force] # Remove merged worktrees (interactive)
|
|
99
|
-
work sync [--dry-run] [--force] [--include-squash] # Fetch all repos + prune merged worktrees (non-interactive)
|
|
100
|
-
work completion [--install] # Shell completions
|
|
101
|
-
|
|
102
|
-
work run <cmd...> [--target <a>] [--all] [--parallel] # Run a shell command across worktrees
|
|
103
|
-
work broadcast <prompt> [--target <a>] [--all] # Queue a prompt to every live AI session
|
|
104
|
-
|
|
105
|
-
work todo # List open tasks
|
|
106
|
-
work todo add|done|undo|edit|rm <args> # Manage tasks
|
|
107
|
-
work todo --all # Include completed tasks
|
|
108
|
-
|
|
109
|
-
work config add|remove|list|show|edit # Manage repos
|
|
110
|
-
work config group add|remove|regen <args> # Manage multi-repo groups
|
|
111
|
-
|
|
112
|
-
wd # PR-style diff in your browser (live server)
|
|
113
|
-
wd --branch # Open the "Since branch" tab by default
|
|
114
|
-
wd --static # Self-contained HTML file (no server)
|
|
115
|
-
wd --stop # Stop the background server for this scope
|
|
116
|
-
wd -c # Interactive review with streaming comments
|
|
117
|
-
```
|
|
71
|
+
<img src="docs/assets/screens/inbox.png" alt="The Inbox: sessions that need your input, finished work, pull requests that want you" width="900">
|
|
118
72
|
|
|
119
|
-
|
|
73
|
+
**Morning.** The Inbox lists what needs you: a session blocked on `npm test` (Allow / Deny right there), one that finished overnight, a PR that's approved and green. **Sessions → Today** gives you a standup note of what every session did yesterday.
|
|
120
74
|
|
|
121
|
-
|
|
75
|
+
**Starting something.** Press `c`, pick the project and write what Claude should do: `PAY-31 Export invoices as PDF`. work names the branch (`feat/PAY-31`), creates the worktree, copies your local settings into it and starts Claude with your prompt. Or start from a Jira issue, from one of your pull requests, or from a PR someone asked you to review.
|
|
122
76
|
|
|
123
|
-
|
|
77
|
+
<img src="docs/assets/screens/new-worktree.png" alt="New worktree: a project, what Claude should do, and the branch named from it" width="900">
|
|
124
78
|
|
|
125
|
-
|
|
126
|
-
2. **Continues the previous AI conversation** for that directory, by passing the tool's resume flag (`--continue` for Claude Code). This is gated on a transcript actually existing for that exact path, so a first visit starts fresh instead of erroring out. `--fresh` forces a new conversation.
|
|
79
|
+
**While they work.** Each session has a **Terminal** (Claude itself, live), a **Diff**, a **PR** tab and a **Code** tab. When a session wants you, the Inbox count and the taskbar badge go up, and you get a notification unless you're already looking at it. `n` jumps to the next session that wants you.
|
|
127
80
|
|
|
128
|
-
|
|
81
|
+
**Reviewing.** The Diff opens on what changed since you last looked. Leave comments on lines, and Claude gets them on its next turn. Look at one turn, one commit, or any span of them.
|
|
129
82
|
|
|
130
|
-
|
|
83
|
+
<img src="docs/assets/screens/diff.png" alt="The Diff tab: the changes, with a list of commits and Claude's turns to pick from" width="900">
|
|
131
84
|
|
|
132
|
-
When
|
|
85
|
+
**Pull requests.** **Ship…** pushes, opens the PR and merges it when it's ready. When checks fail or a reviewer comments, the session's Claude is told, plans a fix and drafts replies for you to post.
|
|
133
86
|
|
|
134
|
-
|
|
135
|
-
2. **Remote branch exists** → fetched and checked out as a tracking branch
|
|
136
|
-
3. **Neither** → a new branch is created from the configured base (or `--base`)
|
|
87
|
+
<img src="docs/assets/screens/pr.png" alt="The PR tab: failing checks with Ask Claude to fix, and a drafted reply to a review comment" width="900">
|
|
137
88
|
|
|
138
|
-
|
|
89
|
+
**Done.** When the PR merges, the session archives itself: Claude stopped, worktree removed, the conversation and any uncommitted files kept. Restore brings it back exactly as it was.
|
|
139
90
|
|
|
140
91
|
---
|
|
141
92
|
|
|
142
|
-
|
|
93
|
+
## Every feature, and what it does for you
|
|
143
94
|
|
|
144
|
-
|
|
95
|
+
### Knowing who needs you
|
|
145
96
|
|
|
146
|
-
|
|
97
|
+
| Feature | What it does for you |
|
|
98
|
+
|:---|:---|
|
|
99
|
+
| **Inbox** | One list of the sessions that want you, most urgent first: *needs your input* (a permission prompt or a question), *done* (finished, not looked at), *pull requests* (ready to merge, conflict, failing checks), *review comments* (unanswered threads on its PR). Everything else is summed up in one line. |
|
|
100
|
+
| **Allow / Deny from the Inbox** | Answer a permission prompt (`Bash npm test`) without opening the terminal, for the sessions the app runs. work types the answer only after checking the screen still shows that exact request. |
|
|
101
|
+
| **Notifications** | A browser or desktop notification when a session needs you or finishes, but not for the session you're looking at. Optional `statusHooks` run your own command (a sound, a Slack ping). |
|
|
102
|
+
| **Taskbar badge** | The desktop app shows the Inbox count on its taskbar / Dock icon and flashes when a session starts waiting on you. |
|
|
103
|
+
| **`n`: next that wants you** | One key takes you to the next session that needs attention. |
|
|
104
|
+
| **Review all** | Walks the finished sessions one by one, each opened on its last turn's diff. |
|
|
105
|
+
| **Snooze** | "Not now": 2 hours, until tomorrow, until a time you pick, or until something changes. The session leaves the Inbox until then. |
|
|
106
|
+
| **Blocked by** | Mark a session as waiting on another session or a PR. It stays out of the Inbox until that's done, then you're told. |
|
|
107
|
+
| **Status icons** | Every session shows one icon for where it stands: working, needs you, done, in review, PR wants you, idle, stale. |
|
|
147
108
|
|
|
148
|
-
|
|
149
|
-
work web # start (or re-attach to) the dashboard, opens the browser
|
|
150
|
-
work web --no-open # start without opening a browser
|
|
151
|
-
work web --stop # shut the dashboard down
|
|
152
|
-
```
|
|
109
|
+
### All sessions in one place
|
|
153
110
|
|
|
154
|
-
|
|
155
|
-
- **Every session in one place** — the sidebar lists all worktree sessions with activity badges (active / idle / stale) and per-session comment/draft counts, reactive to `work tree` / `work remove` anywhere on the machine.
|
|
156
|
-
- **Per-session tabs** — a **Diff** tab (Uncommitted vs HEAD, "Since branch", and **Last turn** — only what Claude's most recent instruction changed, with a picker for earlier turns). On the Uncommitted diff, **↶ Revert** on a file or hunk undoes it back to HEAD and leaves Claude a note not to reintroduce it; **Start review** batches comments as drafts and **Submit review** sends them to Claude as one message (pushed straight into an idle Claude in the Terminal tab); **]** / **[** jump between comment threads, a **Comments** review tab, and a live **Terminal** tab (the session's Claude in the PTY host — `work attach` opens the same one in a real terminal).
|
|
157
|
-
- **Top panes** — PRs (via `gh`), Jira (via `acli`), and Tasks — with create / sync / rebase / open-in-editor actions wired to `POST /api/worktrees` and friends.
|
|
158
|
-
- **One server, every `wd` scope** — every `wd` and `wd -c` invocation registers as a *scope* on this server (addressable at `/diff/<hash>` and `/review/<hash>`) instead of spawning its own port. A dozen reviews share one process and one set of tabs.
|
|
159
|
-
- **Hook bridge to live Claude** — on startup `work web` installs `UserPromptSubmit` and `Stop` command hooks in `~/.claude/settings.json` (removed on shutdown). Drop a comment on a line and any Claude running in that worktree picks it up on its next turn — no copy-paste.
|
|
111
|
+
<img src="docs/assets/screens/sessions.png" alt="The Sessions table: status, session, project, summary, changes, last active" width="900">
|
|
160
112
|
|
|
161
|
-
|
|
113
|
+
| Feature | What it does for you |
|
|
114
|
+
|:---|:---|
|
|
115
|
+
| **Session list (the rail)** | Every session on the left, on every page, with its status, project and PR pills. Pin sessions to the top, put them under your own headings, drag them into your order. |
|
|
116
|
+
| **Sessions table** | Status, summary, changes and last activity for every session, with filters and grouping. Switch between **Live · Archived · All**, with **Restore** on archived rows. |
|
|
117
|
+
| **Select several** | Archive, restore, snooze, prompt or delete many sessions at once. |
|
|
118
|
+
| **Today** | What each session did today, yesterday or this week: your prompts, its finished turns, its PRs. **Copy as Markdown** gives you a standup note. |
|
|
119
|
+
| **Quick switcher (Ctrl+P)** | Type a few letters of any session, archived ones included. Works from inside a terminal too. |
|
|
120
|
+
| **Alt+1…9, j / k** | Jump to the first nine sessions, or walk the list. |
|
|
121
|
+
| **Search past conversations** | "What did we do about X?": every word in any session's conversation, live or archived, kept beyond Claude Code's own 30 days. |
|
|
122
|
+
| **Overlap warning** | "⚠ Same files as chore/deps-update": two live sessions changing the same files will conflict when the second one merges. |
|
|
123
|
+
| **Context fill** | "84% full" when a conversation is getting long, so you start fresh before Claude loses the thread. |
|
|
124
|
+
| **Notes** | Your own scratchpad per session (what you decided, what to tell the reviewer), with **Send to Claude** when you want it to know. |
|
|
125
|
+
| **Catch me up** | A few sentences on where a session stands, for one you haven't touched in days. |
|
|
126
|
+
|
|
127
|
+
### A real terminal for every agent
|
|
128
|
+
|
|
129
|
+
<img src="docs/assets/screens/terminal.png" alt="The Terminal tab: Claude Code running in the session, asking for permission" width="900">
|
|
130
|
+
|
|
131
|
+
| Feature | What it does for you |
|
|
132
|
+
|:---|:---|
|
|
133
|
+
| **Terminal tab** | Claude Code itself, live, in the app. Type to it as in any terminal. |
|
|
134
|
+
| **Sessions survive restarts** | Claude runs in a background host, not in the app: closing the window or restarting or updating the app doesn't end it. After a reboot it comes back with its conversation. |
|
|
135
|
+
| **`work attach`** | The same session in your own terminal (Windows Terminal, iTerm…), at the same time as the app. Ctrl+] detaches. |
|
|
136
|
+
| **Open in editor / terminal** | One key opens the session's folder in VS Code (`o`), or the session in a new Windows Terminal tab (`⇧T`, Windows). |
|
|
137
|
+
| **Idle sleep** | A Claude nobody has used for hours is stopped to free memory. Opening the session resumes it where it was. |
|
|
138
|
+
| **Restart outdated agents** | After Claude Code updates itself, the app tells you which sessions still run the old version and restarts them in place, each when its turn ends. |
|
|
139
|
+
| **Send a prompt** | Saved instructions ("Review your changes", "Add tests", "Open a pull request") sent to a session's Claude from its ⋯ menu, or to many at once. |
|
|
140
|
+
| **Ask (Ctrl+K)** | An assistant that knows what's on your screen: "which of these is safe to archive?", "what's blocking this one?". It asks before it changes anything. |
|
|
141
|
+
|
|
142
|
+
### Reviewing what the agent did
|
|
143
|
+
|
|
144
|
+
| Feature | What it does for you |
|
|
145
|
+
|:---|:---|
|
|
146
|
+
| **Diff tab** | Uncommitted changes, or everything on the branch since it left its base, side by side or unified, with syntax highlighting. |
|
|
147
|
+
| **Turns and commits** | Every Claude turn is recorded. **Changes ▾** lists them with the branch's commits: show one, or Shift+click for a span. **Last turn** is one click. |
|
|
148
|
+
| **Since you looked** | The diff opens on what changed since you last reviewed this session, not everything again. **Your looks** keeps the diffs you reviewed before. |
|
|
149
|
+
| **Comments to Claude** | Comment on a line, a file or the whole change; Claude gets the comments on its next turn, and they're marked resolved once it's addressed them. |
|
|
150
|
+
| **Revert file** | Undo an uncommitted file back to its last commit, and tell Claude not to bring it back. |
|
|
151
|
+
| **Viewed** | Tick files as you review them. A file Claude changes again is unticked. |
|
|
152
|
+
| **Groups by repo** | In a multi-repo session, a switch at the top picks the repo, with each one's file count. |
|
|
153
|
+
| **Full screen, Open in browser** | The diff over the whole window, or on its own page in your browser. |
|
|
154
|
+
| **`wd`** | The same diff page for any folder, from the command line, with or without a session. |
|
|
162
155
|
|
|
163
|
-
###
|
|
156
|
+
### Reading the code
|
|
164
157
|
|
|
165
|
-
|
|
166
|
-
work web --demo # or: npm run demo
|
|
167
|
-
```
|
|
158
|
+
<img src="docs/assets/screens/code-search.png" alt="Code search: types and members by name, and lines with the text" width="900">
|
|
168
159
|
|
|
169
|
-
|
|
160
|
+
| Feature | What it does for you |
|
|
161
|
+
|:---|:---|
|
|
162
|
+
| **Code tab** | The session's files as they are now, read only: a tree, a filter, highlighting. Files changed on the branch carry a dot and link to their diff. |
|
|
163
|
+
| **Search the code (Ctrl+T)** | As in Visual Studio: types and members by name (`GPJ` finds `GetPendingJobs`), files by path, and lines containing the text, across all of a group's repos. Enter opens the place at its line. |
|
|
164
|
+
| **Open in editor** | The open file in VS Code at the line you're reading, in the worktree's window (JetBrains IDEs and Sublime too). |
|
|
170
165
|
|
|
171
|
-
###
|
|
166
|
+
### Pull requests
|
|
172
167
|
|
|
173
|
-
|
|
168
|
+
| Feature | What it does for you |
|
|
169
|
+
|:---|:---|
|
|
170
|
+
| **PR tab** | Every pull request of the session with its stage (waiting for review, approved, ready to merge, conflict, checks failing), its checks and its review threads. |
|
|
171
|
+
| **Ask Claude to fix** | Failing checks are sent to the session's Claude, once per pushed commit, with which checks and why. |
|
|
172
|
+
| **Review comments to Claude** | New review comments from people with write access (and Copilot) go to the session's Claude. It plans what to change and drafts a reply to each thread. |
|
|
173
|
+
| **Replies only on your yes** | Drafts show under each comment, editable. **Post & resolve** sends them, or tell Claude "yes" in the conversation. Nothing is posted on GitHub without you. |
|
|
174
|
+
| **Ship…** | Push, open the PR (ready or draft), and merge, checking first that the PR still has the commits you reviewed. A group ships repo by repo. |
|
|
175
|
+
| **Merged → archived** | When every PR of a session has merged, it archives itself. |
|
|
176
|
+
| **PR pills** | Each session's PRs on its row, coloured by stage; a click opens it on GitHub. |
|
|
174
177
|
|
|
175
|
-
|
|
176
|
-
- **Done — not looked at yet** — finished a turn since you last opened it. Opens on the diff to review.
|
|
177
|
-
- **Working** — mid-turn, with the prompt it's working on.
|
|
178
|
+
### Starting work
|
|
178
179
|
|
|
179
|
-
|
|
180
|
+
<img src="docs/assets/screens/start.png" alt="Start: your pull requests and the ones waiting for your review" width="900">
|
|
180
181
|
|
|
181
|
-
|
|
182
|
+
| Feature | What it does for you |
|
|
183
|
+
|:---|:---|
|
|
184
|
+
| **New worktree (`c`)** | A project and what Claude should do. The branch is named from your words (`PAY-31 …` → `feat/PAY-31`, a stack trace → `fix/…`, a question → `tmp/…`), checked against branches that already exist. |
|
|
185
|
+
| **Start from a PR** | Paste a PR link or number to work on that branch, someone else's included. |
|
|
186
|
+
| **Review someone's PR** | From **Start**: a worktree on their branch and a Claude asked to read it, try it and tell you what it would comment, without posting anything. |
|
|
187
|
+
| **Jira** | Your assigned issues, each with **Start**. Optionally, newly assigned issues start themselves: Claude picks the right project, or asks you when it isn't sure. |
|
|
188
|
+
| **Fork** | A new branch and worktree from where a session is, with a new Claude that gets a summary of the conversation so far. |
|
|
189
|
+
| **Stacked sessions** | A session made from another session's branch follows it: it takes in the parent's new commits when clean, and moves onto main when the parent merges. |
|
|
190
|
+
| **Groups (multi-repo)** | One worktree folder spanning several repos (backend + frontend), one Claude seeing all of them, with a combined `CLAUDE.md` written for the group. |
|
|
191
|
+
| **Local settings copied** | Git-ignored files you need to run the app (`appsettings.Development.json`, `.env.local`) are copied into every new worktree. |
|
|
192
|
+
| **Dev server and preview** | Each worktree gets its own port; start its dev server from the session and open the preview. |
|
|
193
|
+
| **Repos & groups page** | Every git repo in your folders, to add with one click, and groups to make from them. |
|
|
194
|
+
|
|
195
|
+
### Keeping branches healthy
|
|
196
|
+
|
|
197
|
+
| Feature | What it does for you |
|
|
198
|
+
|:---|:---|
|
|
199
|
+
| **Behind main** | "↓ 34 behind origin/main" and whether merging would conflict, with **Update from main** (a rebase or a merge, aborted cleanly on a conflict, and then **Ask Claude to resolve**). |
|
|
200
|
+
| **Pull on return** | Going back into a worktree pulls its branch and continues the last conversation. |
|
|
182
201
|
|
|
183
|
-
|
|
202
|
+
### Finishing and cleaning up
|
|
184
203
|
|
|
185
|
-
|
|
204
|
+
| Feature | What it does for you |
|
|
205
|
+
|:---|:---|
|
|
206
|
+
| **Archive** | Stops the session's Claude and whatever still runs from its folder, keeps the conversation, a written summary, uncommitted files and local settings, and removes the worktree when nothing would be lost. Each archived session shows who archived it and when. |
|
|
207
|
+
| **Restore** | Brings an archived session back as if it had never left: branch, worktree, uncommitted files, local settings, its turns and its conversation. |
|
|
208
|
+
| **Clean up** | What can go and why: merged worktrees, build output in worktrees idle for a week (`node_modules`, `bin/obj`, `.next`…), and local branches already in main. Nothing with unpushed work. |
|
|
209
|
+
| **Move to another computer** | `work move export` / `import` takes your sessions, conversations and settings to a new machine; worktrees come back from origin. |
|
|
186
210
|
|
|
187
|
-
|
|
188
|
-
work run npm test # run in EVERY worktree (requires --all)
|
|
189
|
-
work run --all npm test # explicit confirmation for the whole fleet
|
|
190
|
-
work run --target api npm run build # only worktrees for the `api` alias
|
|
191
|
-
work run --target api --branch feat/x … # narrow to a single branch
|
|
192
|
-
work run --all --parallel --jobs 6 … # run concurrently, up to 6 at a time
|
|
193
|
-
work run --all --halt-on-error npm test # sequential: stop after the first failure
|
|
194
|
-
```
|
|
211
|
+
### Time
|
|
195
212
|
|
|
196
|
-
|
|
197
|
-
- **Sequential by default** — output streams through transparently. With `--parallel`, output is captured and re-emitted line-by-line with a `[target/branch]` prefix so concurrent logs stay attributable; `--jobs` (default 4) caps concurrency with a worker pool.
|
|
198
|
-
- **Ctrl-C tears the whole fleet down** — in-flight children are killed and the pool stops dequeuing rather than orphaning subprocesses. Exit code is non-zero if any worktree failed.
|
|
199
|
-
- The command runs through `sh -c` (POSIX) / `cmd.exe /c` (Windows); your command string is the intentional payload — Work never interpolates paths or branch names into a shell string itself.
|
|
213
|
+
<img src="docs/assets/screens/time.png" alt="The Time tab: hours per Jira ticket for a day, suggested from the day's work" width="900">
|
|
200
214
|
|
|
201
|
-
|
|
215
|
+
| Feature | What it does for you |
|
|
216
|
+
|:---|:---|
|
|
217
|
+
| **Time tab** | Each workday's hours per Jira ticket, suggested from what you did: Claude's working time per session, your commits, the issues you moved, and (if you connect Outlook and Teams) your meetings and chats. Change what you like. |
|
|
218
|
+
| **Post to Tempo** | One click writes the day to Tempo, and never touches worklogs you made by hand. |
|
|
219
|
+
| **Work time** | How long each session's Claude worked, per day, on its Timeline. |
|
|
202
220
|
|
|
203
|
-
|
|
204
|
-
work broadcast --all "rebase onto main and resolve conflicts"
|
|
205
|
-
work broadcast --target api "run the test suite and fix failures"
|
|
206
|
-
echo "long prompt…" | work broadcast --all - # read the prompt from stdin
|
|
207
|
-
```
|
|
221
|
+
### The app itself
|
|
208
222
|
|
|
209
|
-
|
|
223
|
+
| Feature | What it does for you |
|
|
224
|
+
|:---|:---|
|
|
225
|
+
| **Desktop app** | Windows, macOS and Linux. Updates itself (Restart when it's downloaded); your Claudes keep running through the update. |
|
|
226
|
+
| **Activity** | What work does in the background (checking PRs, cleaning up, archiving) and why, in one panel. A dot turns amber when something needs you. |
|
|
227
|
+
| **Light and dark** | Follows your system, or pick one. |
|
|
228
|
+
| **Demo** | `work web --demo`: the real app on a simulated world, for trying it out or showing it to someone. |
|
|
210
229
|
|
|
211
230
|
---
|
|
212
231
|
|
|
213
|
-
##
|
|
232
|
+
## Keyboard
|
|
214
233
|
|
|
215
|
-
|
|
234
|
+
`?` shows them all in the app.
|
|
216
235
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
api/ # worktree for api repo
|
|
229
|
-
web/ # worktree for web repo
|
|
230
|
-
shared-lib/ # worktree for shared-lib repo
|
|
231
|
-
CLAUDE.md # auto-generated combined instructions
|
|
232
|
-
|
|
233
|
-
# Tear it all down at once
|
|
234
|
-
work remove fullstack feature/new-checkout
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
The combined `CLAUDE.md` is produced by invoking the Claude CLI to merge each repo's individual `CLAUDE.md` into a coherent multi-repo brief — so the Claude session that gets launched understands every codebase it can see. Regenerate any time with `work config group regen <name>`.
|
|
236
|
+
| Anywhere | | On a session | |
|
|
237
|
+
|:---|:---|:---|:---|
|
|
238
|
+
| `c` | New worktree | `1` `2` `3` `4` | Terminal, Diff, PR, Code |
|
|
239
|
+
| `n` | Next that wants you | `e` | Archive / Restore |
|
|
240
|
+
| `j` / `k` | Next / previous session | `z` | Snooze |
|
|
241
|
+
| `Alt+1…9` | Session 1–9 | `p` | Send a prompt |
|
|
242
|
+
| `Ctrl+P` | Quick switcher | `r` | Catch me up |
|
|
243
|
+
| `Ctrl+K` | Ask | `o` / `⇧T` | Open in editor / terminal (Windows) |
|
|
244
|
+
| `Ctrl+T` | Search the code (desktop app) | `f` | Fork |
|
|
245
|
+
| `/` | Search sessions | `⇧S` | Ship |
|
|
246
|
+
| `g i`, `g s`, `g d` | Inbox, Sessions, Today | `F2` | Rename |
|
|
238
247
|
|
|
239
248
|
---
|
|
240
249
|
|
|
241
|
-
##
|
|
250
|
+
## The CLI
|
|
242
251
|
|
|
243
|
-
|
|
252
|
+
Everything the app does is also a command, for scripts, for your terminal, and for Claude itself (a skill tells every session how to read other sessions with `work … --json`).
|
|
244
253
|
|
|
245
254
|
```bash
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
| `wd -c` | **Interactive review.** Click any line number to drop an inline comment; each comment streams to stdout as a markdown marker as it's saved. Blocks until you click "Done & Send" (or Ctrl+C). |
|
|
265
|
-
|
|
266
|
-
### Reading the diff
|
|
267
|
-
|
|
268
|
-
- **Uncommitted vs Since branch** — toggle between the working-tree diff and the full PR-style diff against the branch this worktree was forked from.
|
|
269
|
-
- **Checkpoints + range diff** — `wd` snapshots each repo's working tree (including untracked files) and holds the snapshots alive behind `refs/wd/<scope>/<n>` refs. Snapshots are taken **per Claude turn** (via the Stop hook) and when edits settle, so each one is a meaningful unit of work rather than one-per-save. A **Range** picker — a single `From → To` dropdown with a pinned *All changes* reset — lets you diff any two points: the full diff, a single checkpoint's own changes (click it), or any span (shift-click to widen the start). Each checkpoint is labelled with a one-line **Claude-generated summary** of what it changed (generated lazily, cached in the manifest), so you pick by meaning, not by number.
|
|
270
|
-
- **Coverage badges** — if a `coverage/lcov.info` (or `lcov.info`) is present, each file shows its line-coverage percentage. The badge is de-emphasized and flagged when the source has been edited since the coverage report was written, so you don't trust stale numbers.
|
|
271
|
-
- **Reviewed-hunk checkboxes** — tick individual hunks as you review them. The state is keyed on a content hash of the hunk (not line numbers), so it survives live reloads and unrelated edits elsewhere in the file, and persists per-scope in `localStorage`.
|
|
272
|
-
- **Expand context** — each hunk separator is a GitHub-style bar showing the `@@ … @@` heading; where lines are collapsed, converging `↓` / `↑` controls on it reveal the hidden lines a chunk at a time (or all the way to the top/bottom of the file). When a gap is fully expanded — or two hunks are already adjacent — the lines become contiguous and the separator drops away.
|
|
273
|
-
- **Open whole file** — each file header has an *"Open file ↗"* link that opens the full working-tree file, syntax-highlighted and read-only, in a new tab. (Hidden for deleted/binary files and in `--static` mode, which has no server to read from.)
|
|
274
|
-
- **Word-level intra-line diff**, npm-bundled syntax highlighting, auto-collapsed large/migration files, and a file-tree sidebar with per-file viewed checkboxes.
|
|
275
|
-
|
|
276
|
-
### Interactive review (`wd -c`)
|
|
277
|
-
|
|
278
|
-
Designed to be driven by an AI assistant (or any process that wants to react to comments as they happen). When you save a comment in the browser it lands on stdout as a markdown chunk like:
|
|
279
|
-
|
|
255
|
+
work tree api feat/login --prompt "Add rate limiting to login" # new worktree + Claude, your terminal attached
|
|
256
|
+
work tree api # the repo's own checkout: pull, continue the last conversation
|
|
257
|
+
work attach # this terminal on the session for this folder (Ctrl+] detaches)
|
|
258
|
+
work sessions [--json] [--changes] # every session and its status, as the app shows it
|
|
259
|
+
work digest --since yesterday # what each session did, as Markdown
|
|
260
|
+
work search "rate limit" # every conversation, live and archived
|
|
261
|
+
work read / screen / send -m "…" / wait # another session's messages, screen; message it; wait for its turn
|
|
262
|
+
work fork feat/login-v2 # fork the session for this folder
|
|
263
|
+
work update # bring the branch up to date from main (or its parent)
|
|
264
|
+
work snooze --for 2h | pin | note | block # the same as the app's menu
|
|
265
|
+
work pr reply / post # drafts and posting review replies (Claude uses these)
|
|
266
|
+
work cleanup [--apply] [--build-folders] [--branches]
|
|
267
|
+
work run --all npm test # a command in every worktree
|
|
268
|
+
work broadcast --all "rebase onto main" # a prompt to every live session
|
|
269
|
+
work time | timesheet show | todo # time, the Time tab's day, your task list
|
|
270
|
+
work move export <dir> / import <dir> # to another computer
|
|
271
|
+
work config add|remove|list|group … # repos and groups
|
|
272
|
+
wd [-c] [--static] # the diff page for this folder (-c: review with comments)
|
|
280
273
|
```
|
|
281
|
-
--- comment ---
|
|
282
|
-
**api/src/users.ts** : line 42 (right)
|
|
283
|
-
id: 1df977d4...
|
|
284
|
-
> use the new helper here
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
Other features in review mode:
|
|
288
|
-
|
|
289
|
-
- **Markdown comments** — both your comments and Claude's replies render as formatted markdown (code blocks, lists, links), not raw text.
|
|
290
|
-
- **Live reload** via SSE — the page refreshes itself when files change; reloads are deferred while you're composing so your draft isn't lost.
|
|
291
|
-
- **Threaded replies** — a wrapping process posts replies with `parentId` and `author: 'claude'`. In the normal (work-web) flow that's `POST <web>/api/scopes/<hash>/comments`, where `<hash>` is the segment from the `/review/<hash>` URL; the standalone fallback is `POST <url>/api/comments`. Replies render inline under the original with distinct styling.
|
|
292
|
-
- **Resolve / mark done** — mark a comment thread resolved: it collapses to a one-line bar in the diff (click to reopen), and stays listed but dimmed + struck-through in the comments panel, so you can fold away what's handled without losing the record.
|
|
293
|
-
- **Whole-file comments** — a *Comment on file* button in each file header attaches a comment to the file as a whole (GitHub-style), not a specific line.
|
|
294
|
-
- **Drafts & submit** — stage multiple comments as drafts, then submit them in one batch (GitHub-style).
|
|
295
|
-
- **Outdated detection** — the line's raw content is captured at compose time; if the file changes underneath, the comment is dimmed with an "outdated" badge.
|
|
296
|
-
- **General comments** — a top-of-page composer for review notes that aren't tied to any line.
|
|
297
|
-
- **Stable scope hash** — keep one tab open across repeated `wd` / `wd -c` invocations for the same worktree.
|
|
298
274
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
```bash
|
|
302
|
-
/plugin marketplace add moberghr/moberg-plugins
|
|
303
|
-
/plugin install work-tree@moberg-plugins
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
Then say *"review my changes with wd"* in any Claude session to drive the loop.
|
|
275
|
+
`work --help` and `work <command> --help` list every flag. [CLAUDE.md](CLAUDE.md) has the full reference.
|
|
307
276
|
|
|
308
277
|
---
|
|
309
278
|
|
|
310
279
|
## Configuration
|
|
311
280
|
|
|
312
|
-
|
|
281
|
+
Most of it is set in the app (Welcome, Repos & groups). Everything lives in `~/.work/config.json`:
|
|
313
282
|
|
|
314
283
|
```json
|
|
315
284
|
{
|
|
316
|
-
"worktreesRoot": "
|
|
317
|
-
"repos": {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
},
|
|
321
|
-
"groups": {
|
|
322
|
-
"fullstack": ["api", "web"]
|
|
323
|
-
},
|
|
324
|
-
"copyFiles": [
|
|
325
|
-
"*.Development.json",
|
|
326
|
-
"*.Local.json",
|
|
327
|
-
".claude/settings.local.json"
|
|
328
|
-
],
|
|
329
|
-
"aiCommand": "claude",
|
|
285
|
+
"worktreesRoot": "C:/Users/you/source/worktrees",
|
|
286
|
+
"repos": { "api": "C:/Users/you/source/repos/api", "web": "C:/Users/you/source/repos/web" },
|
|
287
|
+
"groups": { "shop": ["api", "web"] },
|
|
288
|
+
"copyFiles": ["*.Development.json", ".env.local", ".claude/settings.local.json"],
|
|
330
289
|
"editor": "code",
|
|
331
|
-
"portRange": { "start": 3000, "end": 3099 },
|
|
332
290
|
"devCommands": { "web": "npm run dev -- --port $PORT" },
|
|
333
|
-
"
|
|
334
|
-
"statusHooks": [
|
|
335
|
-
{ "on": "needs_input", "command": "afplay /System/Library/Sounds/Glass.aiff" }
|
|
336
|
-
]
|
|
291
|
+
"statusHooks": [{ "on": "needs_input", "command": "afplay /System/Library/Sounds/Glass.aiff" }]
|
|
337
292
|
}
|
|
338
293
|
```
|
|
339
294
|
|
|
340
295
|
| Key | Purpose |
|
|
341
296
|
|:---|:---|
|
|
342
|
-
| `worktreesRoot` |
|
|
343
|
-
| `repos` |
|
|
344
|
-
| `
|
|
345
|
-
| `
|
|
346
|
-
| `
|
|
347
|
-
| `
|
|
348
|
-
| `
|
|
349
|
-
| `
|
|
350
|
-
| `
|
|
351
|
-
| `
|
|
352
|
-
| `
|
|
353
|
-
| `
|
|
354
|
-
|
|
355
|
-
Edit via `work config edit`, or manage repos/groups via the `work config …` subcommands.
|
|
356
|
-
|
|
357
|
-
### Notifications & status hooks
|
|
358
|
-
|
|
359
|
-
When a background AI session finishes its turn (`idle`) or blocks waiting on you (`needs_input`), Work can let you know — `work web` does it via its Claude hooks, for any Claude on the machine:
|
|
360
|
-
|
|
361
|
-
- **Only when you're not looking.** Nothing fires for a session a focused dashboard tab is showing. Click **Enable notifications** on the Inbox tab and the dashboard raises browser notifications instead — clicking one jumps to that session (the terminal if it's asking you something, the diff if it finished). The desktop toast below is the fallback for when no dashboard tab can notify.
|
|
362
|
-
- **`notifications: true`** — fires a native desktop notification (macOS `osascript`, Linux `notify-send`, Windows BurntToast/balloon best-effort). Repeated alerts within one idle period are de-duplicated; submitting a new prompt re-arms it.
|
|
363
|
-
- **`statusHooks`** — the general form. Each entry is `{ "on": "idle" | "needs_input", "command": "..." }`. The command runs (with the session directory as cwd) on that transition, with `WORK_SESSION` and `WORK_STATUS` in its environment — use it for sounds, Slack pings, or anything scriptable.
|
|
364
|
-
|
|
365
|
-
### Session tracking
|
|
366
|
-
|
|
367
|
-
Every `work tree` invocation upserts a row into `~/.work/state.db` (SQLite) keyed by `target + branch`. This powers:
|
|
368
|
-
|
|
369
|
-
- **`work status`** — joins history with live `git status` to show merge state, dirty trees, unpushed commits, and last-access timestamps.
|
|
370
|
-
- **`work recent`** — sessions sorted by last touched.
|
|
371
|
-
- **`work resume`** — interactive picker; one keystroke to re-enter the worktree and continue the prior AI conversation.
|
|
372
|
-
- **`work prune` / `work sync`** — `prune` interactively removes worktrees whose branches landed on `main`/`master`; `work sync` does the same non-interactively after fetching every repo in parallel (`--dry-run` to preview, `--force` to include dirty/unpushed trees, `--include-squash` to also catch squash-merged branches).
|
|
373
|
-
- **Dashboard reactivity** — every write bumps a change counter the running `work web` polls, so a `work tree` in another terminal shows up in the dashboard within a second.
|
|
374
|
-
|
|
375
|
-
All session state (history, status, review comments, restore list, tasks) lives in that one database, so the CLI, Claude's hooks, `work web` and the PTY host can all write at once without losing updates. Upgrading from a version with JSON files imports them on first run and keeps the originals as `*.migrated`. `work state` shows what's stored; `work state --export <dir>` writes it back out as the old JSON files.
|
|
376
|
-
|
|
377
|
-
---
|
|
378
|
-
|
|
379
|
-
## Architecture
|
|
380
|
-
|
|
381
|
-
Three kinds of process: the `work` CLI, the `work web` dashboard server (one
|
|
382
|
-
per user), and the PTY host that owns every agent's terminal, so agents
|
|
383
|
-
survive dashboard restarts and reboots. All logic lives in `src/core/`,
|
|
384
|
-
grouped by feature; the CLI (`src/commands/`) and the HTTP server
|
|
385
|
-
(`src/server/`) are thin front-ends over it. Session state is one SQLite
|
|
386
|
-
database, `~/.work/state.db`.
|
|
387
|
-
|
|
388
|
-
**[docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)** has the overview: processes,
|
|
389
|
-
source layout, state, the agent interface, one turn end to end, the security
|
|
390
|
-
model. The decisions behind it are in [docs/adr/](docs/adr/README.md).
|
|
391
|
-
|
|
392
|
-
### Design principles
|
|
393
|
-
|
|
394
|
-
| Principle | What it means |
|
|
395
|
-
|:---|:---|
|
|
396
|
-
| **Atomic worktree operations** | `setupWorktree()` and `teardownWorktree()` are the high-level entry points used by both the CLI and `work web`. Low-level `createSingleWorktree()` rolls back on partial failure. |
|
|
397
|
-
| **Resolver pattern** | One name (`api`, `fullstack`) is dispatched through `resolveProjectTarget()` to either a group or a single repo. Commands branch on `isGroup` once and delegate. |
|
|
398
|
-
| **Branch resolution priority** | Local exists → remote exists (tracking branch) → neither (new branch from base). |
|
|
399
|
-
| **Path normalisation** | `feature/login` → `feature-login` directory. Always. |
|
|
400
|
-
| **External binaries are external** | tsup bundles `src/bin.ts` as ESM with all dependencies marked `external` — they're resolved from `node_modules` at runtime. Adding a dep means `npm install` *and* rebuild. |
|
|
401
|
-
| **Color forcing for Windows** | `bin.ts` raises `chalk.level` to 1 when chalk detects 0 — Windows `.cmd` shims don't preserve TTY detection. `NO_COLOR` is respected. |
|
|
402
|
-
|
|
403
|
-
---
|
|
404
|
-
|
|
405
|
-
## Tab Completion
|
|
406
|
-
|
|
407
|
-
Auto-installed during `work init`. Available standalone:
|
|
408
|
-
|
|
409
|
-
```bash
|
|
410
|
-
work completion --install
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
Detects PowerShell 7 / 5.1 on Windows (via `[Environment]::GetFolderPath('MyDocuments')`) and bash / zsh on Unix (via `$SHELL`). Idempotent — uses a `# work tab completions` marker to skip if already present. Manual fallback:
|
|
414
|
-
|
|
415
|
-
| Shell | Add to profile |
|
|
416
|
-
|:---|:---|
|
|
417
|
-
| **PowerShell** (`$PROFILE`) | `work completion --shell powershell \| Out-String \| Invoke-Expression` |
|
|
418
|
-
| **Bash** (`~/.bashrc`) | `eval "$(work completion)"` |
|
|
419
|
-
| **Zsh** (`~/.zshrc`) | `eval "$(work completion)"` |
|
|
420
|
-
|
|
421
|
-
Completions are dynamic — branch names come from the worktree directory listing for groups, and from each repo's worktree list for single repos.
|
|
422
|
-
|
|
423
|
-
---
|
|
424
|
-
|
|
425
|
-
## Development
|
|
426
|
-
|
|
427
|
-
```bash
|
|
428
|
-
npm ci && npm run build && npm link # `work` and `wd` from this checkout
|
|
429
|
-
npm run typecheck && npm run lint && npm test
|
|
430
|
-
```
|
|
431
|
-
|
|
432
|
-
See **[CONTRIBUTING.md](CONTRIBUTING.md)** for the checks, where code goes, and
|
|
433
|
-
how releases work; [CHANGELOG.md](CHANGELOG.md) for what changed;
|
|
434
|
-
[SECURITY.md](SECURITY.md) to report a vulnerability.
|
|
435
|
-
|
|
436
|
-
---
|
|
437
|
-
|
|
438
|
-
## Unsafe Mode & Debug Logging
|
|
439
|
-
|
|
440
|
-
`--unsafe` on `work tree` or `work resume` passes the AI tool's skip-permissions flag (`--dangerously-skip-permissions` for Claude Code; configurable per tool via `aiCommandFlags`) — useful in trusted, sandboxed worktrees, dangerous everywhere else. Use deliberately.
|
|
441
|
-
|
|
442
|
-
All CLI output and internal debug messages stream to `~/.work/debug.log` with timestamps. Auto-rotates at 5 MB. The first place to look when worktree creation, group CLAUDE.md generation, or hook delivery misbehaves.
|
|
297
|
+
| `worktreesRoot` | Where worktrees go. |
|
|
298
|
+
| `repos`, `groups` | Your repos by alias, and groups of them. |
|
|
299
|
+
| `copyFiles` | Git-ignored files copied into each new worktree. |
|
|
300
|
+
| `editor` | What **Open in editor** runs (default `code`). |
|
|
301
|
+
| `devCommands` | Each repo's dev-server command; `$PORT` is the worktree's own port. |
|
|
302
|
+
| `statusHooks` | Your command on `needs_input` / `idle`, with `WORK_SESSION` and `WORK_STATUS` set. |
|
|
303
|
+
| `notifications` | `true` for a desktop toast when no dashboard can notify you. |
|
|
304
|
+
| `prompts` | Your own saved prompts for **Send a prompt** (replacing the defaults; each can be limited to some repos). |
|
|
305
|
+
| `prWatch` | `trustedBots` (whose review comments reach Claude), `wakeClaude` (start a stopped Claude for a PR note). |
|
|
306
|
+
| `sleepIdleAfterMinutes` | When an unused Claude is stopped to free memory (default 120; 0 = never). |
|
|
307
|
+
| `time` | The Time tab: hours a day, tickets for gaps and days off, Tempo and Outlook settings. |
|
|
308
|
+
| `aiCommand`, `aiCommandFlags` | The agent new sessions run (default Claude Code). |
|
|
443
309
|
|
|
444
310
|
---
|
|
445
311
|
|
|
446
312
|
## FAQ
|
|
447
313
|
|
|
448
314
|
<details>
|
|
449
|
-
<summary><b>Why
|
|
450
|
-
|
|
451
|
-
Branches share a working directory. Worktrees give every branch its own isolated checkout — separate `node_modules`, separate `bin/obj`, separate dev-server processes, separate Claude Code sessions. You can run all of them concurrently without `git stash` gymnastics or losing your build cache.
|
|
452
|
-
</details>
|
|
453
|
-
|
|
454
|
-
<details>
|
|
455
|
-
<summary><b>Do I have to use Claude Code?</b></summary>
|
|
315
|
+
<summary><b>Why worktrees?</b></summary>
|
|
456
316
|
|
|
457
|
-
|
|
317
|
+
Each branch gets its own folder: its own `node_modules`, build output, dev server and Claude session. Several agents can work at once without stepping on each other, and you never stash to switch.
|
|
458
318
|
</details>
|
|
459
319
|
|
|
460
320
|
<details>
|
|
461
|
-
<summary><b>Does the
|
|
321
|
+
<summary><b>Does closing the app stop my agents?</b></summary>
|
|
462
322
|
|
|
463
|
-
|
|
323
|
+
No. Claude sessions run in a background host: closing or updating the app doesn't end them. After a reboot they come back with their conversation.
|
|
464
324
|
</details>
|
|
465
325
|
|
|
466
326
|
<details>
|
|
467
|
-
<summary><b>
|
|
327
|
+
<summary><b>Can it post on GitHub without me?</b></summary>
|
|
468
328
|
|
|
469
|
-
|
|
329
|
+
No. Claude drafts replies to review comments; they're posted only when you click **Post** or tell Claude yes in its conversation, and Claude Code asks you before running that command. work merges a pull request only when you click Merge in **Ship…**.
|
|
470
330
|
</details>
|
|
471
331
|
|
|
472
332
|
<details>
|
|
473
|
-
<summary><b>
|
|
333
|
+
<summary><b>What does Archive delete?</b></summary>
|
|
474
334
|
|
|
475
|
-
|
|
335
|
+
Only what can be recreated. The worktree folder is removed when everything in it is pushed or saved; uncommitted files and local settings are saved first, and **Restore** puts everything back. A worktree with commits not yet in main is kept.
|
|
476
336
|
</details>
|
|
477
337
|
|
|
478
338
|
<details>
|
|
479
|
-
<summary><b>
|
|
339
|
+
<summary><b>Do I need Claude Code?</b></summary>
|
|
480
340
|
|
|
481
|
-
|
|
341
|
+
It's the default and gets every feature. Another CLI agent (`aiCommand`, e.g. `opencode`) runs in the terminal tab and is managed the same way, with a simpler status (working or idle, from its output) and without the features that read Claude's conversation or hooks (its questions in the Inbox, turns, catch-up, context fill).
|
|
482
342
|
</details>
|
|
483
343
|
|
|
484
344
|
<details>
|
|
485
|
-
<summary><b>
|
|
345
|
+
<summary><b>Windows, macOS, Linux?</b></summary>
|
|
486
346
|
|
|
487
|
-
|
|
347
|
+
All three, for both the app and the CLI. It's built and used daily on Windows.
|
|
488
348
|
</details>
|
|
489
349
|
|
|
490
350
|
---
|
|
491
351
|
|
|
492
|
-
##
|
|
493
|
-
|
|
494
|
-
MIT — see [LICENSE](LICENSE).
|
|
495
|
-
|
|
496
|
-
---
|
|
497
|
-
|
|
498
|
-
<div align="center">
|
|
499
|
-
|
|
500
|
-
**Work — Git Worktree Manager** · [Moberg d.o.o.](https://www.moberg.hr)
|
|
352
|
+
## More
|
|
501
353
|
|
|
502
|
-
|
|
354
|
+
- [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md): how it's put together (processes, state, the agent interface, security), and [docs/adr/](docs/adr/README.md) for the decisions behind it.
|
|
355
|
+
- [CONTRIBUTING.md](CONTRIBUTING.md): building, testing, releasing. [CHANGELOG.md](CHANGELOG.md), [SECURITY.md](SECURITY.md).
|
|
356
|
+
- `~/.work/debug.log`: the first place to look when something misbehaves.
|
|
503
357
|
|
|
504
|
-
|
|
358
|
+
MIT licensed · [Moberg d.o.o.](https://www.moberg.hr)
|