@moberg_hr/work-tree 2.0.7 → 2.0.9
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/{answer-AX2VHEXS.js → answer-QQAEJ5N3.js} +4 -4
- package/dist/{attach-WLJVKXOJ.js → attach-XG3Y7QA7.js} +6 -6
- package/dist/bin.js +2 -2
- package/dist/{block-NZJC7GVM.js → block-WW4BWDN7.js} +5 -5
- package/dist/{broadcast-JPVHPQ6Y.js → broadcast-LEOMDVSA.js} +2 -2
- package/dist/{catchup-RUNKM6ZH.js → catchup-UBHGEMED.js} +7 -7
- package/dist/{chunk-IOO2OAUC.js → chunk-3R4HBEIG.js} +6 -6
- package/dist/{chunk-KZQDONTU.js → chunk-45XJ4JGE.js} +12 -5
- package/dist/chunk-45XJ4JGE.js.map +1 -0
- package/dist/{chunk-5RRKVAIZ.js → chunk-4KZBZA5D.js} +3 -2
- package/dist/chunk-4KZBZA5D.js.map +1 -0
- package/dist/{chunk-QWIGFAKZ.js → chunk-4MXWNDH7.js} +6 -5
- package/dist/chunk-4MXWNDH7.js.map +1 -0
- package/dist/{chunk-CNFPZVNO.js → chunk-5PAPD6VT.js} +6 -2
- package/dist/chunk-5PAPD6VT.js.map +1 -0
- package/dist/{chunk-EK3WRCQX.js → chunk-6AULWNAN.js} +3 -3
- package/dist/{chunk-UI5MPBIH.js → chunk-73J2ZJA6.js} +3 -3
- package/dist/{chunk-ES3KY6YT.js → chunk-7IZW6GLY.js} +2 -2
- package/dist/chunk-B6V6SV2F.js +9 -0
- package/dist/{chunk-DH2PLKCW.js → chunk-BIL3S6XH.js} +4 -4
- package/dist/{chunk-7Z2USU3A.js → chunk-BZA7NKWU.js} +2 -2
- package/dist/{chunk-DUUH6FPH.js → chunk-G5PN5NIS.js} +28 -4
- package/dist/chunk-G5PN5NIS.js.map +1 -0
- package/dist/{chunk-J2ZJ2DIJ.js → chunk-GJDXEHII.js} +2 -2
- package/dist/{chunk-HB2I7GF7.js → chunk-H2NVIZ3M.js} +3 -3
- package/dist/{chunk-65DPISNE.js → chunk-HLXEMPEI.js} +2 -2
- package/dist/{chunk-VICXQQ5X.js → chunk-I5CDLVJY.js} +6 -6
- package/dist/{chunk-CK2QC2UF.js → chunk-IC5PFQCV.js} +2 -2
- package/dist/{chunk-6HDVRMCX.js → chunk-ICVR5M6W.js} +4 -4
- package/dist/{chunk-ED7E2WKK.js → chunk-JYWCNLZN.js} +2 -2
- package/dist/{chunk-LZHCTPBF.js → chunk-KLK6O54M.js} +3 -3
- package/dist/chunk-L6RUHCKB.js +78 -0
- package/dist/chunk-L6RUHCKB.js.map +1 -0
- package/dist/{chunk-67IZNVDI.js → chunk-LXM7QFBK.js} +2 -2
- package/dist/{chunk-YXTJVPOI.js → chunk-OP5ZIVXO.js} +42 -42
- package/dist/{chunk-HZEYGMYK.js → chunk-P2U6R35K.js} +3 -3
- package/dist/{chunk-LDCY457K.js → chunk-PDF3BZZH.js} +3 -3
- package/dist/{chunk-K3ESY6OJ.js → chunk-QKGZ65TC.js} +3 -3
- package/dist/{chunk-QDNCUUNQ.js → chunk-QP6LFMMK.js} +28 -20
- package/dist/chunk-QP6LFMMK.js.map +1 -0
- package/dist/{chunk-N23HFT4X.js → chunk-SDE3BZ6P.js} +244 -54
- package/dist/chunk-SDE3BZ6P.js.map +1 -0
- package/dist/{chunk-YCDULFF5.js → chunk-SIHAOB4F.js} +3 -3
- package/dist/{chunk-MODMK7WQ.js → chunk-ULQQ6SXT.js} +3 -3
- package/dist/{chunk-R7BXN427.js → chunk-UNLBHYA5.js} +2 -2
- package/dist/{chunk-M2QL43DS.js → chunk-UPR2F7QP.js} +4 -4
- package/dist/{chunk-QQJF4R6J.js → chunk-WB2BP2G5.js} +2 -2
- package/dist/{chunk-6GCF2XWP.js → chunk-WTR5BUGS.js} +20 -1
- package/dist/chunk-WTR5BUGS.js.map +1 -0
- package/dist/{chunk-WQMY4AJR.js → chunk-WUWED3LV.js} +2 -2
- package/dist/{cleanup-YVQOAMSK.js → cleanup-AEZKR7Q3.js} +16 -15
- package/dist/{cleanup-YVQOAMSK.js.map → cleanup-AEZKR7Q3.js.map} +1 -1
- package/dist/{cli-VSCHBZRS.js → cli-73A5TR5V.js} +3 -3
- package/dist/{config-4W5MMHLU.js → config-RF2S4YBA.js} +6 -6
- package/dist/{diff-IDF3K74H.js → diff-2PPFXZD6.js} +4 -4
- package/dist/{digest-AXSMYBYS.js → digest-5CRGAAK5.js} +4 -4
- package/dist/{fork-ZBEMNEPA.js → fork-W5ZF62UP.js} +15 -13
- package/dist/{fork-ZBEMNEPA.js.map → fork-W5ZF62UP.js.map} +1 -1
- package/dist/{hook-QMW5HHNP.js → hook-U37AFPKY.js} +4 -4
- package/dist/{hydrate-XMHHC5EG.js → hydrate-MAFHTY2W.js} +2 -2
- package/dist/{init-J2AB37DO.js → init-CJDDD4AS.js} +6 -6
- package/dist/{move-O7NEJZQV.js → move-6J35JMFB.js} +11 -8
- package/dist/move-6J35JMFB.js.map +1 -0
- package/dist/{note-C4RNIDRJ.js → note-TNC633NG.js} +4 -4
- package/dist/{overlaps-SKKGH6EG.js → overlaps-NZL5XFC4.js} +5 -5
- package/dist/{pin-TJBCJGPQ.js → pin-E53PGMGD.js} +4 -4
- package/dist/{pr-AC44DGJY.js → pr-CBLU6UJ2.js} +5 -5
- package/dist/{prune-NQOVBIFT.js → prune-FKNNOITA.js} +15 -14
- package/dist/{prune-NQOVBIFT.js.map → prune-FKNNOITA.js.map} +1 -1
- package/dist/{pty-host-MQSUN6EI.js → pty-host-36Y4XSPP.js} +14 -7
- package/dist/pty-host-36Y4XSPP.js.map +1 -0
- package/dist/{read-NU4WZ3J5.js → read-ESOOJSBO.js} +4 -4
- package/dist/{recent-ZW4WDGCK.js → recent-3WYFF36X.js} +2 -2
- package/dist/{remove-JESX7RCN.js → remove-2CQ4MRSI.js} +14 -13
- package/dist/{remove-JESX7RCN.js.map → remove-2CQ4MRSI.js.map} +1 -1
- package/dist/{resume-SLNE75JO.js → resume-NDE6NKKT.js} +2 -2
- package/dist/{run-MD77Z2BV.js → run-UW4BJCSC.js} +2 -2
- package/dist/{screen-RCUGD52V.js → screen-5BLTXIKS.js} +4 -4
- package/dist/{search-5GK5HL4Y.js → search-MK6R5VR6.js} +2 -2
- package/dist/{section-OAMRNSO7.js → section-B4BWRY7K.js} +4 -4
- package/dist/{send-TT6U64HQ.js → send-OT3OXHHW.js} +5 -5
- package/dist/{sessions-T6UXM2OX.js → sessions-6BBMLMPQ.js} +12 -10
- package/dist/{sessions-T6UXM2OX.js.map → sessions-6BBMLMPQ.js.map} +1 -1
- package/dist/{snooze-DBJJD6ZM.js → snooze-A2BVEYWD.js} +4 -4
- package/dist/{start-2KUDSMBM.js → start-LEYVJWZG.js} +4 -4
- package/dist/{status-S3NZTRG3.js → status-AO653RKW.js} +2 -2
- package/dist/{stop-KJHXWYZ2.js → stop-QYIRUR5Y.js} +4 -4
- package/dist/{sync-E4CU4IHG.js → sync-FE3AEVOP.js} +15 -14
- package/dist/{sync-E4CU4IHG.js.map → sync-FE3AEVOP.js.map} +1 -1
- package/dist/{time-MWABXPA6.js → time-4V56YERF.js} +5 -5
- package/dist/{tree-RAN6SQKW.js → tree-PA7BK7F6.js} +11 -10
- package/dist/{tree-RAN6SQKW.js.map → tree-PA7BK7F6.js.map} +1 -1
- package/dist/{update-5DM5V2E3.js → update-EISQJXEI.js} +7 -7
- package/dist/{wait-JZIJB6P6.js → wait-FW7RARBV.js} +5 -5
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/PtyView-Eh_9_oeq.js +90 -0
- package/dist/web/assets/PtyView-Eh_9_oeq.js.map +1 -0
- package/dist/web/assets/index-9lt7iidI.css +1 -0
- package/dist/web/assets/index-NvjFIXGV.js +118 -0
- package/dist/web/assets/index-NvjFIXGV.js.map +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-EUI5U2H4.js → web-EORTIDIA.js} +88 -69
- package/dist/web-EORTIDIA.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-5RRKVAIZ.js.map +0 -1
- package/dist/chunk-6GCF2XWP.js.map +0 -1
- package/dist/chunk-C4LRHXEB.js +0 -9
- package/dist/chunk-CNFPZVNO.js.map +0 -1
- package/dist/chunk-DUUH6FPH.js.map +0 -1
- package/dist/chunk-KZQDONTU.js.map +0 -1
- package/dist/chunk-N23HFT4X.js.map +0 -1
- package/dist/chunk-QDNCUUNQ.js.map +0 -1
- package/dist/chunk-QWIGFAKZ.js.map +0 -1
- package/dist/move-O7NEJZQV.js.map +0 -1
- package/dist/pty-host-MQSUN6EI.js.map +0 -1
- package/dist/web/assets/PtyView-Ci395OL2.js +0 -90
- package/dist/web/assets/PtyView-Ci395OL2.js.map +0 -1
- package/dist/web/assets/index-D-_oxT3O.css +0 -1
- package/dist/web/assets/index-DjdfILvB.js +0 -118
- package/dist/web/assets/index-DjdfILvB.js.map +0 -1
- package/dist/web-EUI5U2H4.js.map +0 -1
- /package/dist/{answer-AX2VHEXS.js.map → answer-QQAEJ5N3.js.map} +0 -0
- /package/dist/{attach-WLJVKXOJ.js.map → attach-XG3Y7QA7.js.map} +0 -0
- /package/dist/{block-NZJC7GVM.js.map → block-WW4BWDN7.js.map} +0 -0
- /package/dist/{broadcast-JPVHPQ6Y.js.map → broadcast-LEOMDVSA.js.map} +0 -0
- /package/dist/{catchup-RUNKM6ZH.js.map → catchup-UBHGEMED.js.map} +0 -0
- /package/dist/{chunk-IOO2OAUC.js.map → chunk-3R4HBEIG.js.map} +0 -0
- /package/dist/{chunk-EK3WRCQX.js.map → chunk-6AULWNAN.js.map} +0 -0
- /package/dist/{chunk-UI5MPBIH.js.map → chunk-73J2ZJA6.js.map} +0 -0
- /package/dist/{chunk-ES3KY6YT.js.map → chunk-7IZW6GLY.js.map} +0 -0
- /package/dist/{chunk-C4LRHXEB.js.map → chunk-B6V6SV2F.js.map} +0 -0
- /package/dist/{chunk-DH2PLKCW.js.map → chunk-BIL3S6XH.js.map} +0 -0
- /package/dist/{chunk-7Z2USU3A.js.map → chunk-BZA7NKWU.js.map} +0 -0
- /package/dist/{chunk-J2ZJ2DIJ.js.map → chunk-GJDXEHII.js.map} +0 -0
- /package/dist/{chunk-HB2I7GF7.js.map → chunk-H2NVIZ3M.js.map} +0 -0
- /package/dist/{chunk-65DPISNE.js.map → chunk-HLXEMPEI.js.map} +0 -0
- /package/dist/{chunk-VICXQQ5X.js.map → chunk-I5CDLVJY.js.map} +0 -0
- /package/dist/{chunk-CK2QC2UF.js.map → chunk-IC5PFQCV.js.map} +0 -0
- /package/dist/{chunk-6HDVRMCX.js.map → chunk-ICVR5M6W.js.map} +0 -0
- /package/dist/{chunk-ED7E2WKK.js.map → chunk-JYWCNLZN.js.map} +0 -0
- /package/dist/{chunk-LZHCTPBF.js.map → chunk-KLK6O54M.js.map} +0 -0
- /package/dist/{chunk-67IZNVDI.js.map → chunk-LXM7QFBK.js.map} +0 -0
- /package/dist/{chunk-YXTJVPOI.js.map → chunk-OP5ZIVXO.js.map} +0 -0
- /package/dist/{chunk-HZEYGMYK.js.map → chunk-P2U6R35K.js.map} +0 -0
- /package/dist/{chunk-LDCY457K.js.map → chunk-PDF3BZZH.js.map} +0 -0
- /package/dist/{chunk-K3ESY6OJ.js.map → chunk-QKGZ65TC.js.map} +0 -0
- /package/dist/{chunk-YCDULFF5.js.map → chunk-SIHAOB4F.js.map} +0 -0
- /package/dist/{chunk-MODMK7WQ.js.map → chunk-ULQQ6SXT.js.map} +0 -0
- /package/dist/{chunk-R7BXN427.js.map → chunk-UNLBHYA5.js.map} +0 -0
- /package/dist/{chunk-M2QL43DS.js.map → chunk-UPR2F7QP.js.map} +0 -0
- /package/dist/{chunk-QQJF4R6J.js.map → chunk-WB2BP2G5.js.map} +0 -0
- /package/dist/{chunk-WQMY4AJR.js.map → chunk-WUWED3LV.js.map} +0 -0
- /package/dist/{cli-VSCHBZRS.js.map → cli-73A5TR5V.js.map} +0 -0
- /package/dist/{config-4W5MMHLU.js.map → config-RF2S4YBA.js.map} +0 -0
- /package/dist/{diff-IDF3K74H.js.map → diff-2PPFXZD6.js.map} +0 -0
- /package/dist/{digest-AXSMYBYS.js.map → digest-5CRGAAK5.js.map} +0 -0
- /package/dist/{hook-QMW5HHNP.js.map → hook-U37AFPKY.js.map} +0 -0
- /package/dist/{hydrate-XMHHC5EG.js.map → hydrate-MAFHTY2W.js.map} +0 -0
- /package/dist/{init-J2AB37DO.js.map → init-CJDDD4AS.js.map} +0 -0
- /package/dist/{note-C4RNIDRJ.js.map → note-TNC633NG.js.map} +0 -0
- /package/dist/{overlaps-SKKGH6EG.js.map → overlaps-NZL5XFC4.js.map} +0 -0
- /package/dist/{pin-TJBCJGPQ.js.map → pin-E53PGMGD.js.map} +0 -0
- /package/dist/{pr-AC44DGJY.js.map → pr-CBLU6UJ2.js.map} +0 -0
- /package/dist/{read-NU4WZ3J5.js.map → read-ESOOJSBO.js.map} +0 -0
- /package/dist/{recent-ZW4WDGCK.js.map → recent-3WYFF36X.js.map} +0 -0
- /package/dist/{resume-SLNE75JO.js.map → resume-NDE6NKKT.js.map} +0 -0
- /package/dist/{run-MD77Z2BV.js.map → run-UW4BJCSC.js.map} +0 -0
- /package/dist/{screen-RCUGD52V.js.map → screen-5BLTXIKS.js.map} +0 -0
- /package/dist/{search-5GK5HL4Y.js.map → search-MK6R5VR6.js.map} +0 -0
- /package/dist/{section-OAMRNSO7.js.map → section-B4BWRY7K.js.map} +0 -0
- /package/dist/{send-TT6U64HQ.js.map → send-OT3OXHHW.js.map} +0 -0
- /package/dist/{snooze-DBJJD6ZM.js.map → snooze-A2BVEYWD.js.map} +0 -0
- /package/dist/{start-2KUDSMBM.js.map → start-LEYVJWZG.js.map} +0 -0
- /package/dist/{status-S3NZTRG3.js.map → status-AO653RKW.js.map} +0 -0
- /package/dist/{stop-KJHXWYZ2.js.map → stop-QYIRUR5Y.js.map} +0 -0
- /package/dist/{time-MWABXPA6.js.map → time-4V56YERF.js.map} +0 -0
- /package/dist/{update-5DM5V2E3.js.map → update-EISQJXEI.js.map} +0 -0
- /package/dist/{wait-JZIJB6P6.js.map → wait-FW7RARBV.js.map} +0 -0
package/dist/web/index.html
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
})();
|
|
22
22
|
</script>
|
|
23
|
-
<script type="module" crossorigin src="/assets/index-
|
|
24
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
23
|
+
<script type="module" crossorigin src="/assets/index-NvjFIXGV.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="/assets/index-9lt7iidI.css">
|
|
25
25
|
</head>
|
|
26
26
|
<body>
|
|
27
27
|
<div id="root"></div>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
serveSpa,
|
|
12
12
|
sessionBaseForPath,
|
|
13
13
|
submitReviewSchema
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-73J2ZJA6.js";
|
|
15
15
|
import {
|
|
16
16
|
agentsBySession,
|
|
17
17
|
createBuildFoldersJob,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
deleteMergedBranches,
|
|
21
21
|
findMergedBranches,
|
|
22
22
|
summarizeAgents
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-I5CDLVJY.js";
|
|
24
24
|
import {
|
|
25
25
|
defaultCleanupDeps
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3R4HBEIG.js";
|
|
27
27
|
import {
|
|
28
28
|
addTask,
|
|
29
29
|
completeTask,
|
|
@@ -39,15 +39,15 @@ import {
|
|
|
39
39
|
reviewThreadsOf,
|
|
40
40
|
sessionWire,
|
|
41
41
|
stageSeenKey
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-45XJ4JGE.js";
|
|
43
43
|
import {
|
|
44
44
|
DiffStatCache,
|
|
45
45
|
findOverlaps,
|
|
46
46
|
wantsDiffStat
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-H2NVIZ3M.js";
|
|
48
48
|
import {
|
|
49
49
|
createDigestSource
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-P2U6R35K.js";
|
|
51
51
|
import {
|
|
52
52
|
MAX_NOTE_CHARS,
|
|
53
53
|
readNote,
|
|
@@ -64,14 +64,14 @@ import {
|
|
|
64
64
|
removeBlocker,
|
|
65
65
|
sweepBlocks,
|
|
66
66
|
unblockedPrompt
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-7IZW6GLY.js";
|
|
68
68
|
import {
|
|
69
69
|
jiraWorklogPoster,
|
|
70
70
|
logWorkDay,
|
|
71
71
|
loggedDays,
|
|
72
72
|
sessionWorkTime,
|
|
73
73
|
worklogSettings
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-WB2BP2G5.js";
|
|
75
75
|
import {
|
|
76
76
|
sendToSession
|
|
77
77
|
} from "./chunk-RYNBBSLY.js";
|
|
@@ -79,12 +79,12 @@ import {
|
|
|
79
79
|
fetchAllPullRequests,
|
|
80
80
|
parsePrRef,
|
|
81
81
|
resolvePrToStart
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-4MXWNDH7.js";
|
|
83
83
|
import {
|
|
84
84
|
archiveMergedSession,
|
|
85
85
|
archiveWaiting,
|
|
86
86
|
defaultArchiveDeps
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-QP6LFMMK.js";
|
|
88
88
|
import {
|
|
89
89
|
MAX_REPLY_CHARS,
|
|
90
90
|
THREAD_ID,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
postReply,
|
|
96
96
|
rememberSent,
|
|
97
97
|
saveDraft
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-WTR5BUGS.js";
|
|
99
99
|
import {
|
|
100
100
|
cleanupVerdict,
|
|
101
101
|
createCleanupJob
|
|
@@ -104,12 +104,12 @@ import {
|
|
|
104
104
|
defaultForkDeps,
|
|
105
105
|
forkSession,
|
|
106
106
|
startSessionWithPrompt
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-UPR2F7QP.js";
|
|
108
108
|
import {
|
|
109
109
|
createInChild,
|
|
110
110
|
createInProcess,
|
|
111
111
|
oneAtATime
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-ICVR5M6W.js";
|
|
113
113
|
import {
|
|
114
114
|
resolveWorkBinPath
|
|
115
115
|
} from "./chunk-AH5TM3NB.js";
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
teardownWorktree,
|
|
118
118
|
toBaseSpec,
|
|
119
119
|
wouldRefuseRemoval
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-SDE3BZ6P.js";
|
|
121
121
|
import {
|
|
122
122
|
configurePtyPool,
|
|
123
123
|
detachPtyPool,
|
|
@@ -139,10 +139,13 @@ import {
|
|
|
139
139
|
subscribeSession,
|
|
140
140
|
syncPtyPool,
|
|
141
141
|
writeToPty
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-KLK6O54M.js";
|
|
143
143
|
import {
|
|
144
144
|
dbPtySessions
|
|
145
145
|
} from "./chunk-BLLLVWEB.js";
|
|
146
|
+
import {
|
|
147
|
+
isWorktreeFolder
|
|
148
|
+
} from "./chunk-L6RUHCKB.js";
|
|
146
149
|
import "./chunk-G6IJ76DW.js";
|
|
147
150
|
import {
|
|
148
151
|
BehindCache,
|
|
@@ -159,28 +162,28 @@ import {
|
|
|
159
162
|
stackedOn,
|
|
160
163
|
updateFromBase,
|
|
161
164
|
updateFromMain
|
|
162
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-BIL3S6XH.js";
|
|
163
166
|
import {
|
|
164
167
|
sessionStatusView,
|
|
165
168
|
shownState
|
|
166
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-UNLBHYA5.js";
|
|
167
170
|
import {
|
|
168
171
|
askCatchUp,
|
|
169
172
|
cachedCatchUp,
|
|
170
173
|
catchUp,
|
|
171
174
|
catchUpFacts,
|
|
172
175
|
forgetCatchUp
|
|
173
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-SIHAOB4F.js";
|
|
174
177
|
import {
|
|
175
178
|
runInternal,
|
|
176
179
|
summarizeCheckpoint,
|
|
177
180
|
throttleTrailing
|
|
178
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-6AULWNAN.js";
|
|
179
182
|
import {
|
|
180
183
|
computeDiff,
|
|
181
184
|
computeRangeDiff,
|
|
182
185
|
parseGitDiff
|
|
183
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-HLXEMPEI.js";
|
|
184
187
|
import {
|
|
185
188
|
applyPlacePatch,
|
|
186
189
|
applySectionOp,
|
|
@@ -195,7 +198,7 @@ import {
|
|
|
195
198
|
} from "./chunk-LNHSBM4L.js";
|
|
196
199
|
import {
|
|
197
200
|
VERSION
|
|
198
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-B6V6SV2F.js";
|
|
199
202
|
import {
|
|
200
203
|
resolveProjectTarget
|
|
201
204
|
} from "./chunk-H5LKMR45.js";
|
|
@@ -218,12 +221,12 @@ import {
|
|
|
218
221
|
CONTEXT_WARN,
|
|
219
222
|
describeView,
|
|
220
223
|
writeAssistantContext
|
|
221
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-LXM7QFBK.js";
|
|
222
225
|
import {
|
|
223
226
|
NOTE_NUDGE,
|
|
224
227
|
findSessionForCwd,
|
|
225
228
|
readPendingForSession
|
|
226
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-JYWCNLZN.js";
|
|
227
230
|
import "./chunk-ZSHWP2VS.js";
|
|
228
231
|
import {
|
|
229
232
|
getCommentFileStore
|
|
@@ -235,7 +238,7 @@ import {
|
|
|
235
238
|
checkTools,
|
|
236
239
|
saveFolders,
|
|
237
240
|
setupState
|
|
238
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-PDF3BZZH.js";
|
|
239
242
|
import {
|
|
240
243
|
git
|
|
241
244
|
} from "./chunk-7NAXFBFI.js";
|
|
@@ -248,7 +251,7 @@ import {
|
|
|
248
251
|
saveGroup,
|
|
249
252
|
setRepoIgnored,
|
|
250
253
|
setScanRoot
|
|
251
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-GJDXEHII.js";
|
|
252
255
|
import {
|
|
253
256
|
openUrl
|
|
254
257
|
} from "./chunk-5XMXZIJS.js";
|
|
@@ -256,14 +259,14 @@ import {
|
|
|
256
259
|
enrollProblem,
|
|
257
260
|
groupProblem,
|
|
258
261
|
suggestAlias
|
|
259
|
-
} from "./chunk-
|
|
260
|
-
import "./chunk-
|
|
262
|
+
} from "./chunk-BZA7NKWU.js";
|
|
263
|
+
import "./chunk-5PAPD6VT.js";
|
|
261
264
|
import {
|
|
262
265
|
defaultRunner,
|
|
263
266
|
mergeSelected,
|
|
264
267
|
runShipAction,
|
|
265
268
|
shipPreflight
|
|
266
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-4KZBZA5D.js";
|
|
267
270
|
import {
|
|
268
271
|
DECISION_MARKER,
|
|
269
272
|
STAGE_WANTS_YOU,
|
|
@@ -338,7 +341,7 @@ import {
|
|
|
338
341
|
turnInProgress,
|
|
339
342
|
updateCheckpoint,
|
|
340
343
|
writeArchiveRecord
|
|
341
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-G5PN5NIS.js";
|
|
342
345
|
import {
|
|
343
346
|
json,
|
|
344
347
|
pendingMigration,
|
|
@@ -376,7 +379,7 @@ import {
|
|
|
376
379
|
import chalk from "chalk";
|
|
377
380
|
|
|
378
381
|
// src/server/web-server.ts
|
|
379
|
-
import
|
|
382
|
+
import fs10 from "fs";
|
|
380
383
|
|
|
381
384
|
// src/server/routes/session-control-routes.ts
|
|
382
385
|
function realDeps(app) {
|
|
@@ -2965,7 +2968,6 @@ function mountStatusRoutes(app, opts) {
|
|
|
2965
2968
|
}
|
|
2966
2969
|
|
|
2967
2970
|
// src/server/routes/ship-routes.ts
|
|
2968
|
-
import fs4 from "fs";
|
|
2969
2971
|
var ACTIONS = /* @__PURE__ */ new Set(["push", "create-pr", "merge"]);
|
|
2970
2972
|
var METHODS = /* @__PURE__ */ new Set(["squash", "merge", "rebase"]);
|
|
2971
2973
|
function mountShipRoutes(app, opts) {
|
|
@@ -2977,9 +2979,12 @@ function mountShipRoutes(app, opts) {
|
|
|
2977
2979
|
const out = await archiveSession(session, defaultArchiveDeps({ release: opts.release }), { force, merged });
|
|
2978
2980
|
if (out.blocked) return { ok: false, blocked: out.blocked, message: out.message };
|
|
2979
2981
|
ok = out.ok;
|
|
2980
|
-
} else if (session.paths.some((p) => !
|
|
2982
|
+
} else if (session.paths.some((p) => !isWorktreeFolder(p))) {
|
|
2981
2983
|
const config = loadConfig();
|
|
2982
|
-
|
|
2984
|
+
if (!config) return { ok: false, error: "no config" };
|
|
2985
|
+
const made = await (opts.create ?? createInProcess)({ target: session.target, branch: session.branch }, config);
|
|
2986
|
+
if (!made.ok) return { ok: false, error: `Couldn't restore it: ${made.error}` };
|
|
2987
|
+
ok = true;
|
|
2983
2988
|
} else {
|
|
2984
2989
|
restoreArchivedTranscripts(session);
|
|
2985
2990
|
ok = await setSessionArchived(session.target, session.branch, false);
|
|
@@ -3038,6 +3043,7 @@ function mountShipRoutes(app, opts) {
|
|
|
3038
3043
|
if (typeof body.archived !== "boolean") return c.json({ error: "archived (boolean) required" }, 400);
|
|
3039
3044
|
const r = await archive(c.req.param("id"), body.archived, body.force === true);
|
|
3040
3045
|
if (r.blocked) return c.json({ error: r.message, blocked: r.blocked }, 409);
|
|
3046
|
+
if (r.error) return c.json({ error: r.error }, 500);
|
|
3041
3047
|
return r.ok ? c.json({ ok: true }) : c.json({ error: "unknown session" }, 404);
|
|
3042
3048
|
});
|
|
3043
3049
|
}
|
|
@@ -3132,7 +3138,7 @@ function mountRailRoutes(app, opts) {
|
|
|
3132
3138
|
}
|
|
3133
3139
|
|
|
3134
3140
|
// src/core/worktree/shared-folders.ts
|
|
3135
|
-
import
|
|
3141
|
+
import fs4 from "fs";
|
|
3136
3142
|
import path7 from "path";
|
|
3137
3143
|
var norm = (p) => path7.resolve(p).replace(/\\/g, "/").toLowerCase();
|
|
3138
3144
|
function shadowedSessions(sessions, branchCheckedOut2) {
|
|
@@ -3155,12 +3161,12 @@ function branchCheckedOut(dir) {
|
|
|
3155
3161
|
try {
|
|
3156
3162
|
const dotGit = path7.join(dir, ".git");
|
|
3157
3163
|
let gitDir = dotGit;
|
|
3158
|
-
if (
|
|
3159
|
-
const m = /^gitdir:\s*(.+)$/m.exec(
|
|
3164
|
+
if (fs4.statSync(dotGit).isFile()) {
|
|
3165
|
+
const m = /^gitdir:\s*(.+)$/m.exec(fs4.readFileSync(dotGit, "utf8"));
|
|
3160
3166
|
if (!m) return null;
|
|
3161
3167
|
gitDir = path7.resolve(dir, m[1].trim());
|
|
3162
3168
|
}
|
|
3163
|
-
const head =
|
|
3169
|
+
const head = fs4.readFileSync(path7.join(gitDir, "HEAD"), "utf8");
|
|
3164
3170
|
const ref = /^ref:\s*refs\/heads\/(.+)$/m.exec(head);
|
|
3165
3171
|
return ref ? ref[1].trim() : null;
|
|
3166
3172
|
} catch {
|
|
@@ -3169,14 +3175,14 @@ function branchCheckedOut(dir) {
|
|
|
3169
3175
|
}
|
|
3170
3176
|
|
|
3171
3177
|
// src/core/platform/build-stamp.ts
|
|
3172
|
-
import
|
|
3178
|
+
import fs5 from "fs";
|
|
3173
3179
|
var cached = null;
|
|
3174
3180
|
function buildStamp() {
|
|
3175
3181
|
if (cached) return cached;
|
|
3176
3182
|
const forced = process.env.WORK_BUILD_STAMP;
|
|
3177
3183
|
if (forced) return cached = forced;
|
|
3178
3184
|
try {
|
|
3179
|
-
cached = String(Math.floor(
|
|
3185
|
+
cached = String(Math.floor(fs5.statSync(process.argv[1]).mtimeMs));
|
|
3180
3186
|
} catch {
|
|
3181
3187
|
cached = "unknown";
|
|
3182
3188
|
}
|
|
@@ -3473,7 +3479,7 @@ function mountPrReplyRoutes(app, opts) {
|
|
|
3473
3479
|
}
|
|
3474
3480
|
|
|
3475
3481
|
// src/core/archive/archive-retention.ts
|
|
3476
|
-
import
|
|
3482
|
+
import fs6 from "fs";
|
|
3477
3483
|
import path8 from "path";
|
|
3478
3484
|
import zlib from "zlib";
|
|
3479
3485
|
var DEFAULT_COMPRESS_AFTER_DAYS = 30;
|
|
@@ -3486,19 +3492,26 @@ function applyArchiveRetention(opts) {
|
|
|
3486
3492
|
const out = { compressed: [], dropped: [], bytesSaved: 0 };
|
|
3487
3493
|
let ids;
|
|
3488
3494
|
try {
|
|
3489
|
-
ids =
|
|
3495
|
+
ids = fs6.readdirSync(root, { withFileTypes: true }).filter((d) => d.isDirectory()).map((d) => d.name);
|
|
3490
3496
|
} catch {
|
|
3491
3497
|
return out;
|
|
3492
3498
|
}
|
|
3493
3499
|
for (const id of ids) {
|
|
3494
3500
|
const rec = readArchive(id, root);
|
|
3495
|
-
if (!rec
|
|
3501
|
+
if (!rec) continue;
|
|
3496
3502
|
const age = now - Date.parse(rec.archivedAt);
|
|
3497
3503
|
if (!Number.isFinite(age)) continue;
|
|
3504
|
+
const ignored = path8.join(archiveDirFor(id, root), "ignored");
|
|
3505
|
+
if (compressAfter > 0 && age >= compressAfter * DAY_MS && !rec.ignoredDroppedAt && fs6.existsSync(ignored)) {
|
|
3506
|
+
fs6.rmSync(ignored, { recursive: true, force: true });
|
|
3507
|
+
rec.ignoredDroppedAt = new Date(now).toISOString();
|
|
3508
|
+
writeArchiveRecord(rec, root);
|
|
3509
|
+
}
|
|
3510
|
+
if (rec.transcriptsDroppedAt) continue;
|
|
3498
3511
|
const dir = path8.join(archiveDirFor(id, root), "transcripts");
|
|
3499
3512
|
if (dropAfter > 0 && age >= dropAfter * DAY_MS) {
|
|
3500
3513
|
out.bytesSaved += dirBytes(dir);
|
|
3501
|
-
|
|
3514
|
+
fs6.rmSync(dir, { recursive: true, force: true });
|
|
3502
3515
|
rec.transcriptsDroppedAt = new Date(now).toISOString();
|
|
3503
3516
|
writeArchiveRecord(rec, root);
|
|
3504
3517
|
out.dropped.push(id);
|
|
@@ -3507,15 +3520,15 @@ function applyArchiveRetention(opts) {
|
|
|
3507
3520
|
if (compressAfter <= 0 || rec.compressedAt || age < compressAfter * DAY_MS) continue;
|
|
3508
3521
|
for (const t of rec.transcripts) {
|
|
3509
3522
|
const plain = path8.join(dir, t.file);
|
|
3510
|
-
if (!
|
|
3511
|
-
const data =
|
|
3523
|
+
if (!fs6.existsSync(plain)) continue;
|
|
3524
|
+
const data = fs6.readFileSync(plain);
|
|
3512
3525
|
const gz = zlib.gzipSync(data);
|
|
3513
|
-
|
|
3514
|
-
if (!zlib.gunzipSync(
|
|
3515
|
-
|
|
3526
|
+
fs6.writeFileSync(`${plain}.gz`, gz);
|
|
3527
|
+
if (!zlib.gunzipSync(fs6.readFileSync(`${plain}.gz`)).equals(data)) {
|
|
3528
|
+
fs6.rmSync(`${plain}.gz`, { force: true });
|
|
3516
3529
|
continue;
|
|
3517
3530
|
}
|
|
3518
|
-
|
|
3531
|
+
fs6.rmSync(plain, { force: true });
|
|
3519
3532
|
out.bytesSaved += data.length - gz.length;
|
|
3520
3533
|
}
|
|
3521
3534
|
rec.compressedAt = new Date(now).toISOString();
|
|
@@ -3527,7 +3540,7 @@ function applyArchiveRetention(opts) {
|
|
|
3527
3540
|
function dirBytes(dir) {
|
|
3528
3541
|
let n = 0;
|
|
3529
3542
|
try {
|
|
3530
|
-
for (const f of
|
|
3543
|
+
for (const f of fs6.readdirSync(dir)) n += fs6.statSync(path8.join(dir, f)).size;
|
|
3531
3544
|
} catch {
|
|
3532
3545
|
}
|
|
3533
3546
|
return n;
|
|
@@ -3539,7 +3552,7 @@ import { zValidator as zValidator6 } from "@hono/zod-validator";
|
|
|
3539
3552
|
import { z as z5 } from "zod";
|
|
3540
3553
|
|
|
3541
3554
|
// src/core/diff/revert.ts
|
|
3542
|
-
import
|
|
3555
|
+
import fs7 from "fs";
|
|
3543
3556
|
import path9 from "path";
|
|
3544
3557
|
function inside(root, rel) {
|
|
3545
3558
|
const abs = path9.resolve(root, rel);
|
|
@@ -3554,7 +3567,7 @@ function removeNew(root, rel) {
|
|
|
3554
3567
|
const abs = inside(root, rel);
|
|
3555
3568
|
if (!abs) return { ok: false, status: 400, error: `path escapes the worktree: ${rel}` };
|
|
3556
3569
|
git(["rm", "--cached", "-q", "--ignore-unmatch", "--", rel], root);
|
|
3557
|
-
|
|
3570
|
+
fs7.rmSync(abs, { force: true });
|
|
3558
3571
|
return null;
|
|
3559
3572
|
}
|
|
3560
3573
|
function revertFile(root, file) {
|
|
@@ -3715,7 +3728,7 @@ function mountDevRoutes(app, opts) {
|
|
|
3715
3728
|
}
|
|
3716
3729
|
|
|
3717
3730
|
// src/server/routes/ci-routes.ts
|
|
3718
|
-
import
|
|
3731
|
+
import fs8 from "fs";
|
|
3719
3732
|
|
|
3720
3733
|
// src/core/pr/review-quote.ts
|
|
3721
3734
|
function quoteForAgent(s, max = 600) {
|
|
@@ -3751,9 +3764,9 @@ function parseReviewFeedback(stdout) {
|
|
|
3751
3764
|
try {
|
|
3752
3765
|
const j = JSON.parse(stdout);
|
|
3753
3766
|
const pr = j.data?.repository?.pullRequest;
|
|
3754
|
-
if (!pr) return null;
|
|
3767
|
+
if (!pr || !j.data?.viewer?.login) return null;
|
|
3755
3768
|
return {
|
|
3756
|
-
viewer: j.data
|
|
3769
|
+
viewer: j.data.viewer.login,
|
|
3757
3770
|
threads: (pr.reviewThreads?.nodes ?? []).map((t) => ({
|
|
3758
3771
|
id: t.id,
|
|
3759
3772
|
isResolved: !!t.isResolved,
|
|
@@ -3792,6 +3805,7 @@ var DEFAULT_TRUSTED_BOTS = ["copilot-pull-request-reviewer", "github-actions"];
|
|
|
3792
3805
|
var botName = (login) => login.toLowerCase().replace(/^app\//, "").replace(/\[bot\]$/, "");
|
|
3793
3806
|
var isTrusted = (c, trustedBots = /* @__PURE__ */ new Set()) => TRUSTED_ASSOCIATIONS.has(c.association.toUpperCase()) || !!c.author && trustedBots.has(botName(c.author));
|
|
3794
3807
|
function newFeedback(fb, scope, seen, opts = {}) {
|
|
3808
|
+
if (!fb.viewer.trim()) return [];
|
|
3795
3809
|
const mine = (a) => a.toLowerCase() === fb.viewer.toLowerCase();
|
|
3796
3810
|
const bots = new Set((opts.trustedBots ?? []).map(botName));
|
|
3797
3811
|
const trusted = (c) => isTrusted(c, bots);
|
|
@@ -3826,6 +3840,7 @@ function openThreadCount(fb) {
|
|
|
3826
3840
|
}
|
|
3827
3841
|
function openThreadsOf(fb, trustedBots = []) {
|
|
3828
3842
|
const bots = new Set(trustedBots.map(botName));
|
|
3843
|
+
if (!fb.viewer.trim()) return [];
|
|
3829
3844
|
return fb.threads.filter((t) => {
|
|
3830
3845
|
const last = t.comments[t.comments.length - 1];
|
|
3831
3846
|
return !t.isResolved && last && last.author.toLowerCase() !== fb.viewer.toLowerCase();
|
|
@@ -4030,6 +4045,7 @@ function createPrWatch(deps) {
|
|
|
4030
4045
|
}
|
|
4031
4046
|
const ci = {
|
|
4032
4047
|
checkedAt: new Date(now()).toISOString(),
|
|
4048
|
+
...viewer ? { viewer } : {},
|
|
4033
4049
|
repos: pre.repos.map((r) => ({
|
|
4034
4050
|
name: r.name,
|
|
4035
4051
|
pr: r.pr,
|
|
@@ -4216,7 +4232,7 @@ function mountCiRoutes(app, opts) {
|
|
|
4216
4232
|
lookOnly: opts.lookOnly,
|
|
4217
4233
|
sessions: () => {
|
|
4218
4234
|
const cutoff = Date.now() - RECENT_MS;
|
|
4219
|
-
return loadHistory().filter((s) => !s.archivedAt && Date.parse(s.lastAccessedAt) >= cutoff && s.paths.some((p) =>
|
|
4235
|
+
return loadHistory().filter((s) => !s.archivedAt && Date.parse(s.lastAccessedAt) >= cutoff && s.paths.some((p) => fs8.existsSync(p))).map((session) => ({ id: sessionIdFor(session), session }));
|
|
4220
4236
|
},
|
|
4221
4237
|
// Never-pushed branches can't have a PR: don't ask GitHub about them,
|
|
4222
4238
|
// unless the watch already knows one (a merged PR whose branch is gone).
|
|
@@ -4281,7 +4297,7 @@ function mountCiRoutes(app, opts) {
|
|
|
4281
4297
|
}
|
|
4282
4298
|
|
|
4283
4299
|
// src/core/diff/diffs-sweep.ts
|
|
4284
|
-
import
|
|
4300
|
+
import fs9 from "fs";
|
|
4285
4301
|
import path11 from "path";
|
|
4286
4302
|
var SWEEP_AFTER_DAYS = 30;
|
|
4287
4303
|
var DISPOSABLE = /\.(html|log)$/i;
|
|
@@ -4291,7 +4307,7 @@ function sweepOldDiffArtifacts(now = Date.now(), maxAgeDays = SWEEP_AFTER_DAYS,
|
|
|
4291
4307
|
let bytes = 0;
|
|
4292
4308
|
let names;
|
|
4293
4309
|
try {
|
|
4294
|
-
names =
|
|
4310
|
+
names = fs9.readdirSync(dir);
|
|
4295
4311
|
} catch {
|
|
4296
4312
|
return { removed, bytes };
|
|
4297
4313
|
}
|
|
@@ -4299,9 +4315,9 @@ function sweepOldDiffArtifacts(now = Date.now(), maxAgeDays = SWEEP_AFTER_DAYS,
|
|
|
4299
4315
|
if (!DISPOSABLE.test(name)) continue;
|
|
4300
4316
|
const file = path11.join(dir, name);
|
|
4301
4317
|
try {
|
|
4302
|
-
const st =
|
|
4318
|
+
const st = fs9.statSync(file);
|
|
4303
4319
|
if (!st.isFile() || st.mtimeMs >= cutoff) continue;
|
|
4304
|
-
|
|
4320
|
+
fs9.rmSync(file, { force: true });
|
|
4305
4321
|
removed++;
|
|
4306
4322
|
bytes += st.size;
|
|
4307
4323
|
} catch {
|
|
@@ -4628,7 +4644,7 @@ async function startWebServer(opts = {}) {
|
|
|
4628
4644
|
let activityWatcher = null;
|
|
4629
4645
|
if (!lean) {
|
|
4630
4646
|
try {
|
|
4631
|
-
const roots = activityRoots().filter((r) =>
|
|
4647
|
+
const roots = activityRoots().filter((r) => fs10.existsSync(r));
|
|
4632
4648
|
if (roots.length > 0) {
|
|
4633
4649
|
activityWatcher = createFsWatcher({
|
|
4634
4650
|
roots,
|
|
@@ -5100,7 +5116,7 @@ async function startWebServer(opts = {}) {
|
|
|
5100
5116
|
updatesTimer?.unref?.();
|
|
5101
5117
|
const desktopFile = desktopUpdatePath();
|
|
5102
5118
|
const onDesktopUpdate = () => broadcast("updates-changed", { ts: Date.now() });
|
|
5103
|
-
if (jobs)
|
|
5119
|
+
if (jobs) fs10.watchFile(desktopFile, { interval: 3e3 }, onDesktopUpdate);
|
|
5104
5120
|
app.get("/api/pty-host/health", (c) => c.json(hostHealth(hostBeat())));
|
|
5105
5121
|
let lastHostState = hostHealth(hostBeat()).state;
|
|
5106
5122
|
const hostTick = lean ? null : setInterval(() => {
|
|
@@ -5162,7 +5178,7 @@ async function startWebServer(opts = {}) {
|
|
|
5162
5178
|
if (conversationsFirst) clearTimeout(conversationsFirst);
|
|
5163
5179
|
if (updatesFirst) clearTimeout(updatesFirst);
|
|
5164
5180
|
if (updatesTimer) clearInterval(updatesTimer);
|
|
5165
|
-
|
|
5181
|
+
fs10.unwatchFile(desktopFile, onDesktopUpdate);
|
|
5166
5182
|
for (const t of conversationSyncs.values()) clearTimeout(t);
|
|
5167
5183
|
clearTimeout(sweepTimer);
|
|
5168
5184
|
activityWatcher?.stop();
|
|
@@ -5185,7 +5201,7 @@ async function startWebServer(opts = {}) {
|
|
|
5185
5201
|
}
|
|
5186
5202
|
|
|
5187
5203
|
// src/core/platform/autostart.ts
|
|
5188
|
-
import
|
|
5204
|
+
import fs11 from "fs";
|
|
5189
5205
|
import path14 from "path";
|
|
5190
5206
|
function startupScriptPath() {
|
|
5191
5207
|
if (process.platform !== "win32" || !process.env.APPDATA) return null;
|
|
@@ -5207,11 +5223,11 @@ function setAutostart(enabled, workBin) {
|
|
|
5207
5223
|
const file = startupScriptPath();
|
|
5208
5224
|
if (!file) throw new Error("Autostart is only supported on Windows so far.");
|
|
5209
5225
|
if (enabled) {
|
|
5210
|
-
|
|
5211
|
-
|
|
5226
|
+
fs11.mkdirSync(path14.dirname(file), { recursive: true });
|
|
5227
|
+
fs11.writeFileSync(file, buildStartupScript(process.execPath, workBin), "utf-8");
|
|
5212
5228
|
} else {
|
|
5213
5229
|
try {
|
|
5214
|
-
|
|
5230
|
+
fs11.unlinkSync(file);
|
|
5215
5231
|
} catch {
|
|
5216
5232
|
}
|
|
5217
5233
|
}
|
|
@@ -5734,6 +5750,8 @@ var DemoScenario = class {
|
|
|
5734
5750
|
pr: {
|
|
5735
5751
|
number: 216,
|
|
5736
5752
|
url: "https://github.com/example/api/pull/216",
|
|
5753
|
+
author: "ivana",
|
|
5754
|
+
// a colleague's PR you're working on: the PR tab says whose
|
|
5737
5755
|
state: "OPEN",
|
|
5738
5756
|
isDraft: false,
|
|
5739
5757
|
mergeStateStatus: "BLOCKED",
|
|
@@ -6178,9 +6196,10 @@ ${reply}\r
|
|
|
6178
6196
|
if (!s) return null;
|
|
6179
6197
|
return {
|
|
6180
6198
|
checkedAt: new Date(this.now()).toISOString(),
|
|
6199
|
+
viewer: "you",
|
|
6181
6200
|
repos: s.repos.map((r) => ({
|
|
6182
6201
|
name: r.name,
|
|
6183
|
-
pr: r.pr,
|
|
6202
|
+
pr: r.pr ? { author: "you", ...r.pr } : r.pr,
|
|
6184
6203
|
done: r.pr?.state === "MERGED",
|
|
6185
6204
|
...r.pr?.state === "OPEN" && r.openThreads ? { openThreads: r.openThreads } : {}
|
|
6186
6205
|
}))
|
|
@@ -7836,4 +7855,4 @@ export {
|
|
|
7836
7855
|
stopExisting,
|
|
7837
7856
|
webCommand
|
|
7838
7857
|
};
|
|
7839
|
-
//# sourceMappingURL=web-
|
|
7858
|
+
//# sourceMappingURL=web-EORTIDIA.js.map
|