@staff0rd/assist 0.1220.0 → 0.1221.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build-files +27 -26
- package/dist/{branch-K45GT7M6.js → branch-GNFILJ4K.js} +1 -1
- package/dist/built-version +1 -1
- package/dist/{chunk-ESNGXPOL.js → chunk-27ZCOFKR.js} +2 -2
- package/dist/{chunk-UQS4CK75.js → chunk-2ZF2NNDU.js} +1 -1
- package/dist/{chunk-4BZ52VZL.js → chunk-556EOOQH.js} +1 -1
- package/dist/{chunk-R2SOOESA.js → chunk-6NO5D57Q.js} +1 -1
- package/dist/{chunk-OETJO2XU.js → chunk-6ONH7KKZ.js} +2 -2
- package/dist/{chunk-XEB7KYZ7.js → chunk-BGBJP2FR.js} +1 -1
- package/dist/{chunk-6VHSP7OM.js → chunk-FRD5DWHC.js} +5 -22
- package/dist/{chunk-FSYH5PZU.js → chunk-GK5TNMPO.js} +1 -1
- package/dist/{chunk-UIVH3UTB.js → chunk-KQFLR55S.js} +1 -1
- package/dist/chunk-N3KQ3NTU.js +27 -0
- package/dist/{chunk-LQBZP7T2.js → chunk-T3PINLZS.js} +1 -0
- package/dist/{chunk-NHJ4GUTW.js → chunk-YLHNMREZ.js} +1 -1
- package/dist/commands/sessions/web/bundle.js +510 -510
- package/dist/{commit-I7G3RGBD.js → commit-LOFSMCD5.js} +65 -3
- package/dist/{doctorNodes-VGLOJC5D.js → doctorNodes-PV4QZP7E.js} +3 -3
- package/dist/index.js +21 -21
- package/dist/{launchMode-ZBTDVC2G.js → launchMode-2CO3BWYY.js} +5 -4
- package/dist/{next-KO3JPKVQ.js → next-26PFOZG5.js} +4 -3
- package/dist/{refine-XPMFZ2IO.js → refine-MUWHTHJC.js} +6 -5
- package/dist/{restartNode-W5JQG2DP.js → restartNode-WUCBIY7G.js} +5 -5
- package/dist/{run-3C4RNIML.js → run-PUGNQ4VC.js} +3 -2
- package/dist/{run-4HYNSV6Y.js → run-UJMX6PPW.js} +3 -2
- package/dist/{runDaemon-GVJJULUB.js → runDaemon-LR5BQVZF.js} +2 -2
- package/dist/{runRefine-UDPQU3IX.js → runRefine-WLDC22DF.js} +6 -5
- package/dist/{signExtension-HUVMD5L7.js → signExtension-R5XVVEHK.js} +1 -1
- package/dist/{updateNode-MCSGOTEQ.js → updateNode-OLKY5I6F.js} +5 -5
- package/dist/{web-RM4RBFSW.js → web-FNST6QQB.js} +5 -5
- package/dist/{web-GHQMEWL3.js → web-T3TOXAJV.js} +5 -5
- package/package.json +1 -1
package/dist/.build-files
CHANGED
|
@@ -18,7 +18,7 @@ associateGithub-OI2HV45X.js
|
|
|
18
18
|
associateJira-QZ5GVAUO.js
|
|
19
19
|
backup-EJ4YDBU7.js
|
|
20
20
|
blockCodeComments-KKJVPYPE.js
|
|
21
|
-
branch-
|
|
21
|
+
branch-GNFILJ4K.js
|
|
22
22
|
browserConsole-6ZRED7DG.js
|
|
23
23
|
browserInspect-2IOKKWOF.js
|
|
24
24
|
browserRun-JJVVNL6H.js
|
|
@@ -30,6 +30,7 @@ check-4222IYZK.js
|
|
|
30
30
|
checkBuildLocks-UBGUSNX5.js
|
|
31
31
|
chunk-24YN3552.js
|
|
32
32
|
chunk-25RUFQVZ.js
|
|
33
|
+
chunk-27ZCOFKR.js
|
|
33
34
|
chunk-2D3ZCQE3.js
|
|
34
35
|
chunk-2DPZIZ42.js
|
|
35
36
|
chunk-2EW62DM5.js
|
|
@@ -43,6 +44,7 @@ chunk-2NSFICTL.js
|
|
|
43
44
|
chunk-2PJELPWT.js
|
|
44
45
|
chunk-2T5HRFWP.js
|
|
45
46
|
chunk-2T5KEQU2.js
|
|
47
|
+
chunk-2ZF2NNDU.js
|
|
46
48
|
chunk-3DLJJ7YO.js
|
|
47
49
|
chunk-3DNFNT2L.js
|
|
48
50
|
chunk-3GTHD6ZV.js
|
|
@@ -61,7 +63,6 @@ chunk-3Z5L5WHU.js
|
|
|
61
63
|
chunk-44UXKNHE.js
|
|
62
64
|
chunk-4AZGXA6X.js
|
|
63
65
|
chunk-4BVUY25U.js
|
|
64
|
-
chunk-4BZ52VZL.js
|
|
65
66
|
chunk-4CP23TT2.js
|
|
66
67
|
chunk-4FLN5D6W.js
|
|
67
68
|
chunk-4HKB2TAG.js
|
|
@@ -74,6 +75,7 @@ chunk-4Y4ADPEK.js
|
|
|
74
75
|
chunk-4YHDWC5E.js
|
|
75
76
|
chunk-52YCRYJ2.js
|
|
76
77
|
chunk-556BOFTS.js
|
|
78
|
+
chunk-556EOOQH.js
|
|
77
79
|
chunk-5H7EHZ3J.js
|
|
78
80
|
chunk-5JOVEUBS.js
|
|
79
81
|
chunk-5KNJD6WC.js
|
|
@@ -89,8 +91,9 @@ chunk-6G2ADBNV.js
|
|
|
89
91
|
chunk-6KSMPTXN.js
|
|
90
92
|
chunk-6MXYEGDK.js
|
|
91
93
|
chunk-6N2MSR7W.js
|
|
94
|
+
chunk-6NO5D57Q.js
|
|
95
|
+
chunk-6ONH7KKZ.js
|
|
92
96
|
chunk-6T53CG7D.js
|
|
93
|
-
chunk-6VHSP7OM.js
|
|
94
97
|
chunk-6YOKIMLO.js
|
|
95
98
|
chunk-6Z7XJJNZ.js
|
|
96
99
|
chunk-74TXMB2S.js
|
|
@@ -115,6 +118,7 @@ chunk-B7B26YPF.js
|
|
|
115
118
|
chunk-B7VOTF5Q.js
|
|
116
119
|
chunk-BAIGEXPY.js
|
|
117
120
|
chunk-BEVDTMKB.js
|
|
121
|
+
chunk-BGBJP2FR.js
|
|
118
122
|
chunk-BGN4WP7H.js
|
|
119
123
|
chunk-BN3MOJ5M.js
|
|
120
124
|
chunk-BO5JCCC5.js
|
|
@@ -150,7 +154,6 @@ chunk-EOOPPGMZ.js
|
|
|
150
154
|
chunk-EPVBZE3T.js
|
|
151
155
|
chunk-ERG23IG5.js
|
|
152
156
|
chunk-ESGB5WWP.js
|
|
153
|
-
chunk-ESNGXPOL.js
|
|
154
157
|
chunk-EU5YCR2M.js
|
|
155
158
|
chunk-EW2ZM2PC.js
|
|
156
159
|
chunk-EYM57SNL.js
|
|
@@ -162,12 +165,13 @@ chunk-FOPR6LRY.js
|
|
|
162
165
|
chunk-FPFQBHN6.js
|
|
163
166
|
chunk-FPWL4VRC.js
|
|
164
167
|
chunk-FQZ6D3OJ.js
|
|
165
|
-
chunk-
|
|
168
|
+
chunk-FRD5DWHC.js
|
|
166
169
|
chunk-FVZP4ULO.js
|
|
167
170
|
chunk-G3ROBZ4I.js
|
|
168
171
|
chunk-GEDUARWV.js
|
|
169
172
|
chunk-GIHVMELY.js
|
|
170
173
|
chunk-GJBG3NPA.js
|
|
174
|
+
chunk-GK5TNMPO.js
|
|
171
175
|
chunk-GKKYQHKI.js
|
|
172
176
|
chunk-GKQV27WM.js
|
|
173
177
|
chunk-GL5GKF5A.js
|
|
@@ -211,6 +215,7 @@ chunk-KDYJRHCI.js
|
|
|
211
215
|
chunk-KE6SKMNG.js
|
|
212
216
|
chunk-KHAZCMO7.js
|
|
213
217
|
chunk-KP5S3FE5.js
|
|
218
|
+
chunk-KQFLR55S.js
|
|
214
219
|
chunk-KUP523UM.js
|
|
215
220
|
chunk-KY77XKAU.js
|
|
216
221
|
chunk-L363MNYZ.js
|
|
@@ -223,7 +228,6 @@ chunk-LKZ7J5AK.js
|
|
|
223
228
|
chunk-LLUXIEWN.js
|
|
224
229
|
chunk-LMHILP5H.js
|
|
225
230
|
chunk-LOP6Y256.js
|
|
226
|
-
chunk-LQBZP7T2.js
|
|
227
231
|
chunk-M3O2BTJG.js
|
|
228
232
|
chunk-MA7HTHHM.js
|
|
229
233
|
chunk-MJ44T7R4.js
|
|
@@ -232,6 +236,7 @@ chunk-MN5WFVKQ.js
|
|
|
232
236
|
chunk-MPY2OF65.js
|
|
233
237
|
chunk-MRHAE5BG.js
|
|
234
238
|
chunk-MRUIXQXS.js
|
|
239
|
+
chunk-N3KQ3NTU.js
|
|
235
240
|
chunk-N65VOEFI.js
|
|
236
241
|
chunk-N755UYFK.js
|
|
237
242
|
chunk-N7MOTWGW.js
|
|
@@ -240,7 +245,6 @@ chunk-NBUBXIUE.js
|
|
|
240
245
|
chunk-NGTSPXSJ.js
|
|
241
246
|
chunk-NGYZK6AF.js
|
|
242
247
|
chunk-NH33OKZQ.js
|
|
243
|
-
chunk-NHJ4GUTW.js
|
|
244
248
|
chunk-NT7WJQ6X.js
|
|
245
249
|
chunk-NTGC7G2R.js
|
|
246
250
|
chunk-NZYSENRR.js
|
|
@@ -248,7 +252,6 @@ chunk-O6HFT23O.js
|
|
|
248
252
|
chunk-O7L27TQP.js
|
|
249
253
|
chunk-OCMUGVGR.js
|
|
250
254
|
chunk-ODLSWRTS.js
|
|
251
|
-
chunk-OETJO2XU.js
|
|
252
255
|
chunk-OL4L2AJB.js
|
|
253
256
|
chunk-OLE7XSNB.js
|
|
254
257
|
chunk-OLZUN3VT.js
|
|
@@ -283,7 +286,6 @@ chunk-QU6OQZJ2.js
|
|
|
283
286
|
chunk-QUHEM3YC.js
|
|
284
287
|
chunk-QVHBQTYZ.js
|
|
285
288
|
chunk-QZXHLY6L.js
|
|
286
|
-
chunk-R2SOOESA.js
|
|
287
289
|
chunk-R3NP33DG.js
|
|
288
290
|
chunk-R72E45HQ.js
|
|
289
291
|
chunk-RFMBA6WA.js
|
|
@@ -304,6 +306,7 @@ chunk-SUBQSZT6.js
|
|
|
304
306
|
chunk-SURCYYQ6.js
|
|
305
307
|
chunk-SW7FSLHP.js
|
|
306
308
|
chunk-T2DY3T55.js
|
|
309
|
+
chunk-T3PINLZS.js
|
|
307
310
|
chunk-T4TPIDXO.js
|
|
308
311
|
chunk-T7ZPGAB5.js
|
|
309
312
|
chunk-TBHJ7JDT.js
|
|
@@ -320,13 +323,11 @@ chunk-UCG62BKS.js
|
|
|
320
323
|
chunk-UDEVQEM5.js
|
|
321
324
|
chunk-UE5PIMY2.js
|
|
322
325
|
chunk-UEWARAPX.js
|
|
323
|
-
chunk-UIVH3UTB.js
|
|
324
326
|
chunk-UJBW7FVI.js
|
|
325
327
|
chunk-UKOLKKXA.js
|
|
326
328
|
chunk-UN4ABKA7.js
|
|
327
329
|
chunk-UOYZCIWZ.js
|
|
328
330
|
chunk-UP6QV5BJ.js
|
|
329
|
-
chunk-UQS4CK75.js
|
|
330
331
|
chunk-UVCAGPRO.js
|
|
331
332
|
chunk-UXTGRDNK.js
|
|
332
333
|
chunk-V3AWLJ7P.js
|
|
@@ -364,7 +365,6 @@ chunk-X44VETJF.js
|
|
|
364
365
|
chunk-XA3VSUG6.js
|
|
365
366
|
chunk-XADYGSUA.js
|
|
366
367
|
chunk-XCMXBJ67.js
|
|
367
|
-
chunk-XEB7KYZ7.js
|
|
368
368
|
chunk-XEHE4IC2.js
|
|
369
369
|
chunk-XEJODD6D.js
|
|
370
370
|
chunk-XJTXAL22.js
|
|
@@ -385,6 +385,7 @@ chunk-YIBSK5OC.js
|
|
|
385
385
|
chunk-YJ72SXVD.js
|
|
386
386
|
chunk-YKONRK6A.js
|
|
387
387
|
chunk-YKVLG4SZ.js
|
|
388
|
+
chunk-YLHNMREZ.js
|
|
388
389
|
chunk-YLQAQHRT.js
|
|
389
390
|
chunk-YNHPTUHS.js
|
|
390
391
|
chunk-YOFY27RM.js
|
|
@@ -452,7 +453,7 @@ comment-PECXLR5X.js
|
|
|
452
453
|
comment-VKR6PKDM.js
|
|
453
454
|
commentIssue-2MH2NGJJ.js
|
|
454
455
|
comments-KMBBATZY.js
|
|
455
|
-
commit-
|
|
456
|
+
commit-LOFSMCD5.js
|
|
456
457
|
commits-QFWMYJC5.js
|
|
457
458
|
configGet-NYQ7DYQP.js
|
|
458
459
|
configImportRepos-22744MRY.js
|
|
@@ -476,7 +477,7 @@ deps-RSUOIZPE.js
|
|
|
476
477
|
docsConfirm-GKP6R67F.js
|
|
477
478
|
docsScreenshots-42NNTXTN.js
|
|
478
479
|
docsUnlock-KA4SIVV6.js
|
|
479
|
-
doctorNodes-
|
|
480
|
+
doctorNodes-PV4QZP7E.js
|
|
480
481
|
done-4774MHRU.js
|
|
481
482
|
drainDaemon-AJVBJMP2.js
|
|
482
483
|
dropRetiredTables-JBLALSG5.js
|
|
@@ -510,7 +511,7 @@ inspect-FPQFTDYV.js
|
|
|
510
511
|
isWake-SLMDAWOG.js
|
|
511
512
|
jiraAuth-WYWRFU44.js
|
|
512
513
|
landPhase-BUBC2RDB.js
|
|
513
|
-
launchMode-
|
|
514
|
+
launchMode-2CO3BWYY.js
|
|
514
515
|
link-TJO2QD4G.js
|
|
515
516
|
link-Z7VOZLYM.js
|
|
516
517
|
linkNode-CNA4X7YA.js
|
|
@@ -537,7 +538,7 @@ netcap-FIHYF3LK.js
|
|
|
537
538
|
netcapExtract-KAFERZ6V.js
|
|
538
539
|
newCli-2ZSE67NN.js
|
|
539
540
|
newProject-VEQTJQBG.js
|
|
540
|
-
next-
|
|
541
|
+
next-26PFOZG5.js
|
|
541
542
|
next-MDRRZOPK.js
|
|
542
543
|
noVenv-5SN25UJR.js
|
|
543
544
|
nodeLogs-VFH5NMNQ.js
|
|
@@ -566,7 +567,7 @@ readBodyArgument-WHNTOBUE.js
|
|
|
566
567
|
readTime-CM5ZYNDH.js
|
|
567
568
|
recordSlack-Q253D73H.js
|
|
568
569
|
redirect-G7WS7LDE.js
|
|
569
|
-
refine-
|
|
570
|
+
refine-MUWHTHJC.js
|
|
570
571
|
refreshDocs-U4YJUKMF.js
|
|
571
572
|
refuseParallelPhasesOff-PLVAYHCC.js
|
|
572
573
|
releasesConfigure-4A4MQSRZ.js
|
|
@@ -583,18 +584,18 @@ repos-L6QZPFLY.js
|
|
|
583
584
|
resolveHarness-YRE5RGUF.js
|
|
584
585
|
resolveModel-ZM3F2HT5.js
|
|
585
586
|
restartDaemon-PXTMQOXH.js
|
|
586
|
-
restartNode-
|
|
587
|
+
restartNode-WUCBIY7G.js
|
|
587
588
|
restructure-TA7QDOCD.js
|
|
588
589
|
review-DCBA33AZ.js
|
|
589
590
|
reviewPrComments-J23PK2NG.js
|
|
590
591
|
rewindPhase-3K5VYYKU.js
|
|
591
592
|
rulesAdd-D45FIH5B.js
|
|
592
|
-
run-
|
|
593
|
-
run-
|
|
594
|
-
runDaemon-
|
|
593
|
+
run-PUGNQ4VC.js
|
|
594
|
+
run-UJMX6PPW.js
|
|
595
|
+
runDaemon-LR5BQVZF.js
|
|
595
596
|
runExtract-3JTDFR6J.js
|
|
596
597
|
runParallelPhase-KPCQWPFK.js
|
|
597
|
-
runRefine-
|
|
598
|
+
runRefine-WLDC22DF.js
|
|
598
599
|
runScope-5LRSM72L.js
|
|
599
600
|
scan-7Y747MSA.js
|
|
600
601
|
scheduleBackup-54EWHDEV.js
|
|
@@ -613,7 +614,7 @@ show-BASBE5KD.js
|
|
|
613
614
|
show-UDZ6MAMB.js
|
|
614
615
|
showClaudeCodeIcon-E4SAM3GN.js
|
|
615
616
|
showCodexIcon-YUAKV4NI.js
|
|
616
|
-
signExtension-
|
|
617
|
+
signExtension-R5XVVEHK.js
|
|
617
618
|
simulateDivergence-VB4UL4UR.js
|
|
618
619
|
skip-TB5RVVIN.js
|
|
619
620
|
slack-24IRGK5S.js
|
|
@@ -641,7 +642,7 @@ unlinkNode-5BA3CO3K.js
|
|
|
641
642
|
unstar-XNTVLPXX.js
|
|
642
643
|
update-E76HUW3G.js
|
|
643
644
|
update-WO2VDF3U.js
|
|
644
|
-
updateNode-
|
|
645
|
+
updateNode-OLKY5I6F.js
|
|
645
646
|
updatePhase-FXTGDEK4.js
|
|
646
647
|
updatePlan-4ORF5MXV.js
|
|
647
648
|
version-IEG2E2RP.js
|
|
@@ -649,8 +650,8 @@ viewIssue-N6W53LSK.js
|
|
|
649
650
|
watchLoop-MV7DVGC6.js
|
|
650
651
|
watchReport-A4W7UOAJ.js
|
|
651
652
|
watchWait-GJXTBZZM.js
|
|
652
|
-
web-
|
|
653
|
-
web-
|
|
653
|
+
web-FNST6QQB.js
|
|
654
|
+
web-T3TOXAJV.js
|
|
654
655
|
withPool-TW3VJ4EX.js
|
|
655
656
|
wontdo-2HNFVYQM.js
|
|
656
657
|
wontfix-WGDQ5UU4.js
|
package/dist/built-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.1221.0
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-JM57BCD6.js";
|
|
11
11
|
import {
|
|
12
12
|
firstBrokenHop
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KQFLR55S.js";
|
|
14
14
|
import {
|
|
15
15
|
describePeerError,
|
|
16
16
|
fetchPeerJson
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
ASSIST_VERSION,
|
|
50
50
|
PROTOCOL_VERSION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-556EOOQH.js";
|
|
52
52
|
import {
|
|
53
53
|
findLinkSpec
|
|
54
54
|
} from "./chunk-6KSMPTXN.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
next
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BGBJP2FR.js";
|
|
4
4
|
import {
|
|
5
5
|
pullIfConfigured
|
|
6
6
|
} from "./chunk-3UMMZHZG.js";
|
|
7
7
|
import {
|
|
8
8
|
run
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FRD5DWHC.js";
|
|
10
10
|
import {
|
|
11
11
|
launchBlocker
|
|
12
12
|
} from "./chunk-24YN3552.js";
|
|
@@ -12,10 +12,13 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
launchBlocker
|
|
14
14
|
} from "./chunk-24YN3552.js";
|
|
15
|
+
import {
|
|
16
|
+
worktreePlaceholderBranch
|
|
17
|
+
} from "./chunk-N3KQ3NTU.js";
|
|
15
18
|
import {
|
|
16
19
|
createBranch,
|
|
17
20
|
generateBranchSlug
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-T3PINLZS.js";
|
|
19
22
|
import {
|
|
20
23
|
inWebSession
|
|
21
24
|
} from "./chunk-HKGCLAZ7.js";
|
|
@@ -96,9 +99,6 @@ import {
|
|
|
96
99
|
import {
|
|
97
100
|
loadConfig
|
|
98
101
|
} from "./chunk-YS46IJ4M.js";
|
|
99
|
-
import {
|
|
100
|
-
linkedWorktree
|
|
101
|
-
} from "./chunk-XSDG7HTJ.js";
|
|
102
102
|
|
|
103
103
|
// src/commands/backlog/run.ts
|
|
104
104
|
import chalk8 from "chalk";
|
|
@@ -569,7 +569,6 @@ function discardStalePause(itemId) {
|
|
|
569
569
|
|
|
570
570
|
// src/commands/backlog/ensureStoryBranch.ts
|
|
571
571
|
import { execFileSync, execSync } from "child_process";
|
|
572
|
-
import { basename } from "path";
|
|
573
572
|
async function ensureStoryBranch(item) {
|
|
574
573
|
const config = loadConfig();
|
|
575
574
|
if (config.prs?.required === false) {
|
|
@@ -590,7 +589,7 @@ function recordedBranch(item) {
|
|
|
590
589
|
return (item.gitRefs ?? []).find((ref) => ref.kind === "branch")?.ref;
|
|
591
590
|
}
|
|
592
591
|
function adoptRecordedBranch(item, branch) {
|
|
593
|
-
const parked =
|
|
592
|
+
const parked = worktreePlaceholderBranch();
|
|
594
593
|
if (!parked) {
|
|
595
594
|
log(
|
|
596
595
|
item,
|
|
@@ -615,22 +614,6 @@ function adoptRecordedBranch(item, branch) {
|
|
|
615
614
|
);
|
|
616
615
|
}
|
|
617
616
|
}
|
|
618
|
-
function worktreeBranchInPlay() {
|
|
619
|
-
const tree = linkedWorktree(process.cwd());
|
|
620
|
-
if (!tree) return null;
|
|
621
|
-
const head = currentBranch();
|
|
622
|
-
return head === basename(tree.root) ? head : null;
|
|
623
|
-
}
|
|
624
|
-
function currentBranch() {
|
|
625
|
-
try {
|
|
626
|
-
return execSync("git rev-parse --abbrev-ref HEAD", {
|
|
627
|
-
encoding: "utf8",
|
|
628
|
-
stdio: ["ignore", "pipe", "ignore"]
|
|
629
|
-
}).trim();
|
|
630
|
-
} catch {
|
|
631
|
-
return null;
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
617
|
function log(item, outcome) {
|
|
635
618
|
appendDaemonLog(`backlog run ${item.id}: ${outcome}`);
|
|
636
619
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
linkedWorktree
|
|
3
|
+
} from "./chunk-XSDG7HTJ.js";
|
|
4
|
+
|
|
5
|
+
// src/shared/worktreePlaceholderBranch.ts
|
|
6
|
+
import { execSync } from "child_process";
|
|
7
|
+
import { basename } from "path";
|
|
8
|
+
function worktreePlaceholderBranch() {
|
|
9
|
+
const tree = linkedWorktree(process.cwd());
|
|
10
|
+
if (!tree) return null;
|
|
11
|
+
const head = currentBranch();
|
|
12
|
+
return head === basename(tree.root) ? head : null;
|
|
13
|
+
}
|
|
14
|
+
function currentBranch() {
|
|
15
|
+
try {
|
|
16
|
+
return execSync("git rev-parse --abbrev-ref HEAD", {
|
|
17
|
+
encoding: "utf8",
|
|
18
|
+
stdio: ["ignore", "pipe", "ignore"]
|
|
19
|
+
}).trim();
|
|
20
|
+
} catch {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
worktreePlaceholderBranch
|
|
27
|
+
};
|