@staff0rd/assist 0.1197.0 → 0.1198.1
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/agent/commands/github.md +3 -1
- package/dist/.build-files +46 -45
- package/dist/{addPhase-N73554MQ.js → addPhase-572KZDOK.js} +2 -2
- package/dist/{ask-PLVOYYSQ.js → ask-XTA5XMDM.js} +3 -3
- package/dist/{askCheck-3JRXFKWA.js → askCheck-5AEU7R3U.js} +2 -2
- package/dist/{askDesign-JEJFPAEZ.js → askDesign-PP37KDLX.js} +3 -3
- package/dist/{askQuestion-QRQSYRXK.js → askQuestion-SBC6XZHQ.js} +2 -2
- package/dist/built-version +1 -1
- package/dist/{chunk-N7MKYWPX.js → chunk-42SUHCAB.js} +1 -1
- package/dist/chunk-BTLMJ735.js +26 -0
- package/dist/{chunk-IEDFQBJI.js → chunk-EPVBZE3T.js} +13 -30
- package/dist/{chunk-O3YZV2FA.js → chunk-IPEA3FVY.js} +1 -1
- package/dist/{chunk-ABLDOQ4B.js → chunk-JAZX2JSS.js} +22 -1
- package/dist/{chunk-D24GLTCK.js → chunk-KU3BOP7V.js} +1 -1
- package/dist/chunk-O7L27TQP.js +14 -0
- package/dist/{chunk-SZNARW4L.js → chunk-OL3XIGSW.js} +1 -1
- package/dist/{chunk-CSOKDY43.js → chunk-ONP7DDB6.js} +1 -1
- package/dist/{chunk-6SKKK2RR.js → chunk-OSFBFZ4O.js} +1 -1
- package/dist/{chunk-VLJWAMAH.js → chunk-OWAUNGD6.js} +1 -1
- package/dist/{chunk-DPCFT55U.js → chunk-P5LQVJWN.js} +0 -8
- package/dist/{chunk-G7UI2W7U.js → chunk-PSSNCOG4.js} +1 -1
- package/dist/{chunk-Y74CGS5C.js → chunk-S6RW5GNM.js} +6 -4
- package/dist/{chunk-Q4TGGE5L.js → chunk-VHRROHRC.js} +1 -1
- package/dist/{chunk-3EGHC5DC.js → chunk-XJKVJATG.js} +1 -1
- package/dist/{chunk-RBR2DXCS.js → chunk-YLEBZYTG.js} +1 -1
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/{comment-5VFL65DI.js → comment-CEDFMOXC.js} +4 -4
- package/dist/{commentIssue-JQCEL3GH.js → commentIssue-PT3WJ7WF.js} +31 -13
- package/dist/{createIssue-ZEZ4APQ7.js → createIssue-RHHIMF44.js} +9 -8
- package/dist/{doctorNodes-R5LSHBSG.js → doctorNodes-WNMQMS73.js} +3 -3
- package/dist/{edit-CGFJYKXA.js → edit-IBDT3I4O.js} +9 -7
- package/dist/{editIssue-X4C4ULTM.js → editIssue-XGP2RL2O.js} +9 -8
- package/dist/{editIssueComment-L6RLH4GX.js → editIssueComment-G7XE73QZ.js} +24 -13
- package/dist/index.js +46 -38
- package/dist/{postSlackMessage-LCK42KAO.js → postSlackMessage-QVUIQY6T.js} +3 -3
- package/dist/{propose-OCR3WXJK.js → propose-XTDFZXZI.js} +2 -2
- package/dist/{raise-SJ5JLPBS.js → raise-PXY3YLOB.js} +9 -7
- package/dist/{reply-VL6NV6IF.js → reply-VPQL6VJB.js} +3 -3
- package/dist/{restartNode-JKNJHOBN.js → restartNode-L4UYWD5P.js} +5 -5
- package/dist/{review-Q2HDUBAA.js → review-36GCDNOH.js} +13 -6
- package/dist/{rulesAdd-DR25M5KY.js → rulesAdd-MTHY5RTQ.js} +3 -3
- package/dist/{runDaemon-H26DPNF2.js → runDaemon-QPMNLZPK.js} +6 -5
- package/dist/{runExtract-7H2MKKFQ.js → runExtract-2QQLXAU7.js} +2 -2
- package/dist/{signExtension-HFA73PC5.js → signExtension-RWAKXX4Q.js} +1 -1
- package/dist/{slack-VILAGICW.js → slack-6ML35TRH.js} +3 -3
- package/dist/{updateNode-YY3552ZX.js → updateNode-GUHTGV4N.js} +5 -5
- package/dist/{updatePlan-QZVWDL2U.js → updatePlan-CFOXHKSR.js} +2 -2
- package/dist/{web-LO36XJET.js → web-D5PMDPIG.js} +7 -6
- package/dist/{web-UIJZ6XQT.js → web-HGJRIJAG.js} +7 -6
- package/dist/{wontfix-XV5XJADI.js → wontfix-3ZV2NW5C.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-JJKRUHWS.js +0 -22
- package/dist/{chunk-QS2S63AF.js → chunk-HCDJLCN4.js} +3 -3
package/agent/commands/github.md
CHANGED
|
@@ -147,9 +147,11 @@ Do not mention `assist`, the assist backlog, or any backlog item number in the c
|
|
|
147
147
|
**Post it** through the assist wrapper, which validates the body and, in a web session, opens the preview pane for approve/reject before anything lands:
|
|
148
148
|
|
|
149
149
|
```
|
|
150
|
-
assist github issue comment <number> -R <owner>/<repo> --body "<comment>" 2>&1
|
|
150
|
+
assist github issue comment <number> -R <owner>/<repo> --body "<comment>" [--screenshot '[Group/]Caption=path']... 2>&1
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
+
When you already have an image or video to include (e.g. a file the user pointed at on disk), pass it with `--screenshot '[Group/]Caption=path'`, once per file, rather than asking the user to drop it into the preview. It is attached under `## Screenshots` for you; never author that section yourself.
|
|
154
|
+
|
|
153
155
|
Display the result so the user can see it landed. If the command exits non-zero, relay the rejection reason and any inline comments, revise the draft accordingly, and run it again — nothing was posted.
|
|
154
156
|
|
|
155
157
|
## Action: started
|
package/dist/.build-files
CHANGED
|
@@ -4,16 +4,16 @@ add-7DAC5W2W.js
|
|
|
4
4
|
add-R7G76G7G.js
|
|
5
5
|
add-YGWMQIDK.js
|
|
6
6
|
addActivity-D7F3E6IR.js
|
|
7
|
-
addPhase-
|
|
7
|
+
addPhase-572KZDOK.js
|
|
8
8
|
adviceFragments-5XVE6JXX.js
|
|
9
9
|
advise-XBZMABJX.js
|
|
10
10
|
allowed.cli-reads
|
|
11
11
|
allowed.cli-writes
|
|
12
12
|
analyze-NW4ZFOCH.js
|
|
13
|
-
ask-
|
|
14
|
-
askCheck-
|
|
15
|
-
askDesign-
|
|
16
|
-
askQuestion-
|
|
13
|
+
ask-XTA5XMDM.js
|
|
14
|
+
askCheck-5AEU7R3U.js
|
|
15
|
+
askDesign-PP37KDLX.js
|
|
16
|
+
askQuestion-SBC6XZHQ.js
|
|
17
17
|
associateGithub-3QPKQWBG.js
|
|
18
18
|
associateJira-WE6KVOXN.js
|
|
19
19
|
backup-MPCOJXTK.js
|
|
@@ -39,13 +39,13 @@ chunk-2RUGZQUD.js
|
|
|
39
39
|
chunk-2RYBRXTJ.js
|
|
40
40
|
chunk-2T5HRFWP.js
|
|
41
41
|
chunk-2ZUJA3R6.js
|
|
42
|
-
chunk-3EGHC5DC.js
|
|
43
42
|
chunk-3HNTLFII.js
|
|
44
43
|
chunk-3JXMQFUS.js
|
|
45
44
|
chunk-3KLTYFPV.js
|
|
46
45
|
chunk-3NK55YVZ.js
|
|
47
46
|
chunk-3PM5JCHE.js
|
|
48
47
|
chunk-3VDV7VHX.js
|
|
48
|
+
chunk-42SUHCAB.js
|
|
49
49
|
chunk-4AZGXA6X.js
|
|
50
50
|
chunk-4BVUY25U.js
|
|
51
51
|
chunk-4CP23TT2.js
|
|
@@ -74,7 +74,6 @@ chunk-67DONCGH.js
|
|
|
74
74
|
chunk-6DGPQ67E.js
|
|
75
75
|
chunk-6G2ADBNV.js
|
|
76
76
|
chunk-6QO66MJ4.js
|
|
77
|
-
chunk-6SKKK2RR.js
|
|
78
77
|
chunk-6T53CG7D.js
|
|
79
78
|
chunk-6Z7XJJNZ.js
|
|
80
79
|
chunk-7F22C6MC.js
|
|
@@ -85,7 +84,6 @@ chunk-7NZOH4LN.js
|
|
|
85
84
|
chunk-7SMQSAXT.js
|
|
86
85
|
chunk-A2XSU5K6.js
|
|
87
86
|
chunk-A7ONLVZD.js
|
|
88
|
-
chunk-ABLDOQ4B.js
|
|
89
87
|
chunk-ACEJSQDN.js
|
|
90
88
|
chunk-ADIYP3KC.js
|
|
91
89
|
chunk-ADLCDG2V.js
|
|
@@ -106,6 +104,7 @@ chunk-BFGH34XT.js
|
|
|
106
104
|
chunk-BJNES5JB.js
|
|
107
105
|
chunk-BO5JCCC5.js
|
|
108
106
|
chunk-BOXQXHJ3.js
|
|
107
|
+
chunk-BTLMJ735.js
|
|
109
108
|
chunk-BVHK2VVT.js
|
|
110
109
|
chunk-BXGPF3TG.js
|
|
111
110
|
chunk-C3MGHR3N.js
|
|
@@ -115,15 +114,12 @@ chunk-CDD4ZTG7.js
|
|
|
115
114
|
chunk-CDDJAXEJ.js
|
|
116
115
|
chunk-CDU6M5IX.js
|
|
117
116
|
chunk-CGYVYHMM.js
|
|
118
|
-
chunk-CSOKDY43.js
|
|
119
117
|
chunk-CUOHHT2F.js
|
|
120
|
-
chunk-D24GLTCK.js
|
|
121
118
|
chunk-D33NLT35.js
|
|
122
119
|
chunk-D6WBUFXT.js
|
|
123
120
|
chunk-D7UZLH36.js
|
|
124
121
|
chunk-DGQ7KOW4.js
|
|
125
122
|
chunk-DP5YM3WJ.js
|
|
126
|
-
chunk-DPCFT55U.js
|
|
127
123
|
chunk-DPHNPX75.js
|
|
128
124
|
chunk-DQUUWYB3.js
|
|
129
125
|
chunk-DS2YJZZY.js
|
|
@@ -136,6 +132,7 @@ chunk-EM5TGZYD.js
|
|
|
136
132
|
chunk-ENBVLWTC.js
|
|
137
133
|
chunk-ENTJ2N5Y.js
|
|
138
134
|
chunk-EOUZVOHM.js
|
|
135
|
+
chunk-EPVBZE3T.js
|
|
139
136
|
chunk-EQZXAFIP.js
|
|
140
137
|
chunk-ERG23IG5.js
|
|
141
138
|
chunk-ES5IPLDM.js
|
|
@@ -158,7 +155,6 @@ chunk-FYYZG4GY.js
|
|
|
158
155
|
chunk-G3CJH2XK.js
|
|
159
156
|
chunk-G3ROBZ4I.js
|
|
160
157
|
chunk-G5GN2KBP.js
|
|
161
|
-
chunk-G7UI2W7U.js
|
|
162
158
|
chunk-GIHVMELY.js
|
|
163
159
|
chunk-GL5GKF5A.js
|
|
164
160
|
chunk-GNNMJOUE.js
|
|
@@ -170,6 +166,7 @@ chunk-H2KHIEQF.js
|
|
|
170
166
|
chunk-H63MI5HI.js
|
|
171
167
|
chunk-H7EUPSJB.js
|
|
172
168
|
chunk-HBEQCMHL.js
|
|
169
|
+
chunk-HCDJLCN4.js
|
|
173
170
|
chunk-HEFN57NV.js
|
|
174
171
|
chunk-HI6T3DND.js
|
|
175
172
|
chunk-HIOA4WIF.js
|
|
@@ -182,7 +179,6 @@ chunk-I3TEQBTO.js
|
|
|
182
179
|
chunk-IBPSXDUB.js
|
|
183
180
|
chunk-IBVCCKC3.js
|
|
184
181
|
chunk-IDRVSAV5.js
|
|
185
|
-
chunk-IEDFQBJI.js
|
|
186
182
|
chunk-IFMJH2XY.js
|
|
187
183
|
chunk-IHZGFTOB.js
|
|
188
184
|
chunk-IISY3AMC.js
|
|
@@ -190,6 +186,7 @@ chunk-IKCS5JTK.js
|
|
|
190
186
|
chunk-IOAF6P3G.js
|
|
191
187
|
chunk-IOKBCYSG.js
|
|
192
188
|
chunk-IOYGR6YV.js
|
|
189
|
+
chunk-IPEA3FVY.js
|
|
193
190
|
chunk-IS5SG2SN.js
|
|
194
191
|
chunk-ISIVSUR5.js
|
|
195
192
|
chunk-IULYBBGP.js
|
|
@@ -199,11 +196,11 @@ chunk-IXVSWYW2.js
|
|
|
199
196
|
chunk-J2PPCMCR.js
|
|
200
197
|
chunk-J6ULAU7G.js
|
|
201
198
|
chunk-J7SNTS4M.js
|
|
199
|
+
chunk-JAZX2JSS.js
|
|
202
200
|
chunk-JDYC4JZQ.js
|
|
203
201
|
chunk-JFBD33EV.js
|
|
204
202
|
chunk-JHBA5IZR.js
|
|
205
203
|
chunk-JJKKIBF5.js
|
|
206
|
-
chunk-JJKRUHWS.js
|
|
207
204
|
chunk-JM57BCD6.js
|
|
208
205
|
chunk-JMEYVW4M.js
|
|
209
206
|
chunk-JNCFHWBK.js
|
|
@@ -221,6 +218,7 @@ chunk-KD2PWI4Z.js
|
|
|
221
218
|
chunk-KMLHCI35.js
|
|
222
219
|
chunk-KOA2T5AC.js
|
|
223
220
|
chunk-KP5S3FE5.js
|
|
221
|
+
chunk-KU3BOP7V.js
|
|
224
222
|
chunk-KY77XKAU.js
|
|
225
223
|
chunk-KZX6UIKC.js
|
|
226
224
|
chunk-L363MNYZ.js
|
|
@@ -245,7 +243,6 @@ chunk-MT2LAO3P.js
|
|
|
245
243
|
chunk-MYH4MQX2.js
|
|
246
244
|
chunk-N65VOEFI.js
|
|
247
245
|
chunk-N755UYFK.js
|
|
248
|
-
chunk-N7MKYWPX.js
|
|
249
246
|
chunk-NBADZOXB.js
|
|
250
247
|
chunk-NFD2LJ2B.js
|
|
251
248
|
chunk-NGTSPXSJ.js
|
|
@@ -256,18 +253,23 @@ chunk-NPYFCGGD.js
|
|
|
256
253
|
chunk-NT7WJQ6X.js
|
|
257
254
|
chunk-NZYSENRR.js
|
|
258
255
|
chunk-O3SCSMQJ.js
|
|
259
|
-
chunk-O3YZV2FA.js
|
|
260
256
|
chunk-O6HFT23O.js
|
|
261
257
|
chunk-O6RBWPG2.js
|
|
258
|
+
chunk-O7L27TQP.js
|
|
262
259
|
chunk-ODLSWRTS.js
|
|
260
|
+
chunk-OL3XIGSW.js
|
|
263
261
|
chunk-OLE7XSNB.js
|
|
262
|
+
chunk-ONP7DDB6.js
|
|
264
263
|
chunk-OQ6AYXHB.js
|
|
264
|
+
chunk-OSFBFZ4O.js
|
|
265
265
|
chunk-OU6Q5ZS3.js
|
|
266
|
+
chunk-OWAUNGD6.js
|
|
266
267
|
chunk-OZNYQOQK.js
|
|
267
268
|
chunk-P23ZWXGY.js
|
|
268
269
|
chunk-P253KAVC.js
|
|
269
270
|
chunk-P26XSDFU.js
|
|
270
271
|
chunk-P56S7RYB.js
|
|
272
|
+
chunk-P5LQVJWN.js
|
|
271
273
|
chunk-P7FVAGFQ.js
|
|
272
274
|
chunk-P7SERZI6.js
|
|
273
275
|
chunk-PB3F4XB3.js
|
|
@@ -275,10 +277,10 @@ chunk-PCJ25T4O.js
|
|
|
275
277
|
chunk-PIDKNOD6.js
|
|
276
278
|
chunk-PPPKJV3H.js
|
|
277
279
|
chunk-PS3TSUFD.js
|
|
280
|
+
chunk-PSSNCOG4.js
|
|
278
281
|
chunk-PURNABFX.js
|
|
279
282
|
chunk-PVJZDW3D.js
|
|
280
283
|
chunk-PZAEU7LL.js
|
|
281
|
-
chunk-Q4TGGE5L.js
|
|
282
284
|
chunk-Q6PZLPK4.js
|
|
283
285
|
chunk-Q7YVMIA3.js
|
|
284
286
|
chunk-QADVHG7P.js
|
|
@@ -288,11 +290,9 @@ chunk-QJRCKXTM.js
|
|
|
288
290
|
chunk-QNVYNVAM.js
|
|
289
291
|
chunk-QO3TSFL2.js
|
|
290
292
|
chunk-QRTB7PVR.js
|
|
291
|
-
chunk-QS2S63AF.js
|
|
292
293
|
chunk-QU6OQZJ2.js
|
|
293
294
|
chunk-R62CNGZO.js
|
|
294
295
|
chunk-R72E45HQ.js
|
|
295
|
-
chunk-RBR2DXCS.js
|
|
296
296
|
chunk-RFMBA6WA.js
|
|
297
297
|
chunk-RNFWWESE.js
|
|
298
298
|
chunk-RP227DNL.js
|
|
@@ -302,6 +302,7 @@ chunk-RWVRH774.js
|
|
|
302
302
|
chunk-RXFNQQZC.js
|
|
303
303
|
chunk-RXKI4XAU.js
|
|
304
304
|
chunk-RZBCBCNG.js
|
|
305
|
+
chunk-S6RW5GNM.js
|
|
305
306
|
chunk-S6XYTJU2.js
|
|
306
307
|
chunk-SDMBTSYP.js
|
|
307
308
|
chunk-SHWMHL7S.js
|
|
@@ -311,7 +312,6 @@ chunk-SSKHLBQB.js
|
|
|
311
312
|
chunk-SURCYYQ6.js
|
|
312
313
|
chunk-SVCR2A7L.js
|
|
313
314
|
chunk-SW7FSLHP.js
|
|
314
|
-
chunk-SZNARW4L.js
|
|
315
315
|
chunk-T2DY3T55.js
|
|
316
316
|
chunk-T4TPIDXO.js
|
|
317
317
|
chunk-T7ZPGAB5.js
|
|
@@ -342,7 +342,7 @@ chunk-VDE2QVT4.js
|
|
|
342
342
|
chunk-VDKJH36N.js
|
|
343
343
|
chunk-VDXS55BC.js
|
|
344
344
|
chunk-VEZ3FL5H.js
|
|
345
|
-
chunk-
|
|
345
|
+
chunk-VHRROHRC.js
|
|
346
346
|
chunk-VPMI4LV2.js
|
|
347
347
|
chunk-VVUYBY6D.js
|
|
348
348
|
chunk-W4T6HQPP.js
|
|
@@ -362,6 +362,7 @@ chunk-XA3VSUG6.js
|
|
|
362
362
|
chunk-XADYGSUA.js
|
|
363
363
|
chunk-XCMXBJ67.js
|
|
364
364
|
chunk-XEJODD6D.js
|
|
365
|
+
chunk-XJKVJATG.js
|
|
365
366
|
chunk-XJTXAL22.js
|
|
366
367
|
chunk-XNCJ3OIJ.js
|
|
367
368
|
chunk-XSJGIJEE.js
|
|
@@ -372,13 +373,13 @@ chunk-XV2STPP6.js
|
|
|
372
373
|
chunk-XV6BO5MK.js
|
|
373
374
|
chunk-XZT5S5IY.js
|
|
374
375
|
chunk-Y3R4C2P7.js
|
|
375
|
-
chunk-Y74CGS5C.js
|
|
376
376
|
chunk-YCFOCDUA.js
|
|
377
377
|
chunk-YDA62L6J.js
|
|
378
378
|
chunk-YHJHYOBF.js
|
|
379
379
|
chunk-YIBSK5OC.js
|
|
380
380
|
chunk-YJ72SXVD.js
|
|
381
381
|
chunk-YKVLG4SZ.js
|
|
382
|
+
chunk-YLEBZYTG.js
|
|
382
383
|
chunk-YNHPTUHS.js
|
|
383
384
|
chunk-YNRNHUFX.js
|
|
384
385
|
chunk-YOFY27RM.js
|
|
@@ -446,9 +447,9 @@ commands/sessions/web/bundle.js
|
|
|
446
447
|
commands/sessions/web/monaco.css
|
|
447
448
|
commands/sessions/web/monaco.js
|
|
448
449
|
commands/sessions/web/monaco.worker.js
|
|
449
|
-
comment-
|
|
450
|
+
comment-CEDFMOXC.js
|
|
450
451
|
comment-YXTD4LLT.js
|
|
451
|
-
commentIssue-
|
|
452
|
+
commentIssue-PT3WJ7WF.js
|
|
452
453
|
comments-Z46LCFIS.js
|
|
453
454
|
commit-UBFHBWPL.js
|
|
454
455
|
commits-QFWMYJC5.js
|
|
@@ -462,7 +463,7 @@ configSet-NMSZ27OX.js
|
|
|
462
463
|
configUnset-IINMDUOO.js
|
|
463
464
|
configure-M2ECXTUT.js
|
|
464
465
|
coverage-FZKHWD7V.js
|
|
465
|
-
createIssue-
|
|
466
|
+
createIssue-RHHIMF44.js
|
|
466
467
|
cyclomatic-CYUIP7H3.js
|
|
467
468
|
daemonStatus-EAZHBC6O.js
|
|
468
469
|
del-6CB5KFFD.js
|
|
@@ -474,14 +475,14 @@ deps-RSUOIZPE.js
|
|
|
474
475
|
docsConfirm-AQGXUXUM.js
|
|
475
476
|
docsScreenshots-VV5F5SK5.js
|
|
476
477
|
docsUnlock-JTCIE32Q.js
|
|
477
|
-
doctorNodes-
|
|
478
|
+
doctorNodes-WNMQMS73.js
|
|
478
479
|
done-YSG44MAX.js
|
|
479
480
|
drainDaemon-ZHP2VY7D.js
|
|
480
481
|
dropRetiredTables-JBLALSG5.js
|
|
481
|
-
edit-
|
|
482
|
+
edit-IBDT3I4O.js
|
|
482
483
|
editHook-LIRUJTEJ.js
|
|
483
|
-
editIssue-
|
|
484
|
-
editIssueComment-
|
|
484
|
+
editIssue-XGP2RL2O.js
|
|
485
|
+
editIssueComment-G7XE73QZ.js
|
|
485
486
|
exportBacklog-ZTMILEAX.js
|
|
486
487
|
extension-YYRD5EM6.js
|
|
487
488
|
extract-SGYOCBTT.js
|
|
@@ -544,17 +545,17 @@ permitCliReads-LPRVXYMU.js
|
|
|
544
545
|
phaseDone-YJAHCOSB.js
|
|
545
546
|
piHook-I3ZWJEB7.js
|
|
546
547
|
plan-CJ4PUZNL.js
|
|
547
|
-
postSlackMessage-
|
|
548
|
+
postSlackMessage-QVUIQY6T.js
|
|
548
549
|
posted-MWD6MQLW.js
|
|
549
550
|
printComments-EMV3SE6H.js
|
|
550
551
|
printExtensionUrl-IW2WTSNS.js
|
|
551
552
|
prompts-SL6SHWOA.js
|
|
552
|
-
propose-
|
|
553
|
+
propose-XTDFZXZI.js
|
|
553
554
|
prs-RSBCBF4N.js
|
|
554
555
|
prsSlackChannel-QGXDVDOM.js
|
|
555
556
|
prsStatus-AEZDQ4HE.js
|
|
556
557
|
pullIfConfigured-AJ6X5WXS.js
|
|
557
|
-
raise-
|
|
558
|
+
raise-PXY3YLOB.js
|
|
558
559
|
raiseHelpText-IDZI3UAC.js
|
|
559
560
|
ravendbAuth-SDXPMPDN.js
|
|
560
561
|
ravendbCollections-DLILEMS5.js
|
|
@@ -575,22 +576,22 @@ removePhase-7FHB5VHO.js
|
|
|
575
576
|
rename-PM5VQUCY.js
|
|
576
577
|
renameSession-6OCEPFKV.js
|
|
577
578
|
renameSymbol-OOIIGF3B.js
|
|
578
|
-
reply-
|
|
579
|
+
reply-VPQL6VJB.js
|
|
579
580
|
reportCliError-GXHKBCKF.js
|
|
580
581
|
repos-HRCIMY6J.js
|
|
581
582
|
resolveHarness-CRWWVE4U.js
|
|
582
583
|
resolveModel-2I3SVZKR.js
|
|
583
584
|
restartDaemon-Y7V2QF3N.js
|
|
584
|
-
restartNode-
|
|
585
|
+
restartNode-L4UYWD5P.js
|
|
585
586
|
restructure-S6KIV6TM.js
|
|
586
|
-
review-
|
|
587
|
+
review-36GCDNOH.js
|
|
587
588
|
reviewPrComments-PX4MPOTQ.js
|
|
588
589
|
rewindPhase-TCQMOWKB.js
|
|
589
|
-
rulesAdd-
|
|
590
|
+
rulesAdd-MTHY5RTQ.js
|
|
590
591
|
run-D7UQIGJU.js
|
|
591
592
|
run-DRGU5WNL.js
|
|
592
|
-
runDaemon-
|
|
593
|
-
runExtract-
|
|
593
|
+
runDaemon-QPMNLZPK.js
|
|
594
|
+
runExtract-2QQLXAU7.js
|
|
594
595
|
runParallelPhase-6GQMW5NT.js
|
|
595
596
|
runRefine-K764J34T.js
|
|
596
597
|
runScope-3HBSV5JL.js
|
|
@@ -611,10 +612,10 @@ show-GUW62FKK.js
|
|
|
611
612
|
show-IWLHTZEP.js
|
|
612
613
|
showClaudeCodeIcon-E4SAM3GN.js
|
|
613
614
|
showCodexIcon-YUAKV4NI.js
|
|
614
|
-
signExtension-
|
|
615
|
+
signExtension-RWAKXX4Q.js
|
|
615
616
|
simulateDivergence-VB4UL4UR.js
|
|
616
617
|
skip-7Q3IVOBV.js
|
|
617
|
-
slack-
|
|
618
|
+
slack-6ML35TRH.js
|
|
618
619
|
sloc-YKCRSSNV.js
|
|
619
620
|
sqlAuth-5MZEMBVF.js
|
|
620
621
|
sqlColumns-2LSPBSWL.js
|
|
@@ -639,18 +640,18 @@ unlinkNode-RKC44U2T.js
|
|
|
639
640
|
unstar-YQDZUJV7.js
|
|
640
641
|
update-FHGTCK6N.js
|
|
641
642
|
update-W7ANHGDR.js
|
|
642
|
-
updateNode-
|
|
643
|
+
updateNode-GUHTGV4N.js
|
|
643
644
|
updatePhase-JEVJRAOR.js
|
|
644
|
-
updatePlan-
|
|
645
|
+
updatePlan-CFOXHKSR.js
|
|
645
646
|
version-5K75T67C.js
|
|
646
647
|
viewIssue-N6W53LSK.js
|
|
647
648
|
watchLoop-MV7DVGC6.js
|
|
648
649
|
watchReport-A4W7UOAJ.js
|
|
649
650
|
watchWait-5Y2J5VQY.js
|
|
650
|
-
web-
|
|
651
|
-
web-
|
|
651
|
+
web-D5PMDPIG.js
|
|
652
|
+
web-HGJRIJAG.js
|
|
652
653
|
withPool-LEJ76IOJ.js
|
|
653
654
|
wontdo-XAQGHSR5.js
|
|
654
|
-
wontfix-
|
|
655
|
+
wontfix-3ZV2NW5C.js
|
|
655
656
|
write-DSMLI4RN.js
|
|
656
657
|
writeSignal-RXEOI7SK.js
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-22EV6N3N.js";
|
|
9
9
|
import {
|
|
10
10
|
awaitPreviewApproval
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-KU3BOP7V.js";
|
|
12
|
+
import "./chunk-HCDJLCN4.js";
|
|
13
13
|
import {
|
|
14
14
|
isAgentHarness
|
|
15
15
|
} from "./chunk-G5GN2KBP.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printApprovedComments
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OSFBFZ4O.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitPreviewApproval
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KU3BOP7V.js";
|
|
7
|
+
import "./chunk-HCDJLCN4.js";
|
|
8
8
|
import "./chunk-P7SERZI6.js";
|
|
9
9
|
import {
|
|
10
10
|
readBodyArgument
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
} from "./chunk-H63MI5HI.js";
|
|
16
16
|
import {
|
|
17
17
|
awaitPreviewApproval
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-KU3BOP7V.js";
|
|
19
|
+
import "./chunk-HCDJLCN4.js";
|
|
20
20
|
import "./chunk-P7SERZI6.js";
|
|
21
21
|
import "./chunk-QRTB7PVR.js";
|
|
22
22
|
import "./chunk-3VDV7VHX.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printApprovedComments
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OSFBFZ4O.js";
|
|
4
4
|
import {
|
|
5
5
|
isLiveDaemonSession
|
|
6
6
|
} from "./chunk-H63MI5HI.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitPreviewApproval
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KU3BOP7V.js";
|
|
10
|
+
import "./chunk-HCDJLCN4.js";
|
|
11
11
|
import "./chunk-P7SERZI6.js";
|
|
12
12
|
import {
|
|
13
13
|
readBodyArgument
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
} from "./chunk-H63MI5HI.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitPreviewApproval
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-KU3BOP7V.js";
|
|
13
|
+
import "./chunk-HCDJLCN4.js";
|
|
14
14
|
import "./chunk-P7SERZI6.js";
|
|
15
15
|
import "./chunk-QRTB7PVR.js";
|
|
16
16
|
import "./chunk-3VDV7VHX.js";
|
package/dist/built-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.1198.1
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
stageScreenshots
|
|
3
|
+
} from "./chunk-JAZX2JSS.js";
|
|
4
|
+
import {
|
|
5
|
+
awaitPreviewApproval
|
|
6
|
+
} from "./chunk-KU3BOP7V.js";
|
|
7
|
+
|
|
8
|
+
// src/commands/github/issue/reviewProposedIssueComment.ts
|
|
9
|
+
import { randomUUID } from "crypto";
|
|
10
|
+
async function reviewProposedIssueComment(title, body, screenshots = []) {
|
|
11
|
+
const sessionId = process.env.ASSIST_SESSION_ID;
|
|
12
|
+
if (process.env.ASSIST_SESSION !== "1" || !sessionId) return void 0;
|
|
13
|
+
return await awaitPreviewApproval("GitHub issue comment preview", {
|
|
14
|
+
sessionId,
|
|
15
|
+
requestId: randomUUID(),
|
|
16
|
+
title,
|
|
17
|
+
body,
|
|
18
|
+
prNumber: null,
|
|
19
|
+
kind: "github-issue-comment",
|
|
20
|
+
screenshots: screenshots.length ? await stageScreenshots(screenshots) : void 0
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export {
|
|
25
|
+
reviewProposedIssueComment
|
|
26
|
+
};
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
minGhAttachVersion
|
|
3
3
|
} from "./chunk-B7B26YPF.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
5
|
+
isStagedAttachmentPath
|
|
6
|
+
} from "./chunk-O7L27TQP.js";
|
|
7
|
+
import {
|
|
8
|
+
ghAttachableExtensions
|
|
9
|
+
} from "./chunk-P5LQVJWN.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/prs/renderScreenshotBlock.ts
|
|
12
12
|
import { extname } from "path";
|
|
@@ -85,6 +85,11 @@ function appendScreenshots(body, attachments) {
|
|
|
85
85
|
${section}` : section;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
// src/commands/prs/attachArgs.ts
|
|
89
|
+
function attachArgs(attachments) {
|
|
90
|
+
return attachments.flatMap(({ path }) => ["--attach", path]);
|
|
91
|
+
}
|
|
92
|
+
|
|
88
93
|
// src/commands/prs/parseScreenshotSpec.ts
|
|
89
94
|
import { statSync } from "fs";
|
|
90
95
|
import { basename, extname as extname2, resolve } from "path";
|
|
@@ -125,30 +130,9 @@ function parseScreenshotSpecs(specs) {
|
|
|
125
130
|
}
|
|
126
131
|
}
|
|
127
132
|
|
|
128
|
-
// src/commands/prs/stageScreenshots.ts
|
|
129
|
-
import { readFile } from "fs/promises";
|
|
130
|
-
import { basename as basename2 } from "path";
|
|
131
|
-
function stageScreenshots(screenshots = []) {
|
|
132
|
-
return Promise.all(
|
|
133
|
-
screenshots.map(async (screenshot) => {
|
|
134
|
-
const { filePath } = await stageAttachment(
|
|
135
|
-
basename2(screenshot.path),
|
|
136
|
-
attachmentContentType(screenshot.path),
|
|
137
|
-
await readFile(screenshot.path)
|
|
138
|
-
);
|
|
139
|
-
return { ...screenshot, path: filePath };
|
|
140
|
-
})
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// src/commands/prs/attachArgs.ts
|
|
145
|
-
function attachArgs(attachments) {
|
|
146
|
-
return attachments.flatMap(({ path }) => ["--attach", path]);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
133
|
// src/commands/prs/runGhWithAttachments.ts
|
|
150
134
|
import { execFileSync } from "child_process";
|
|
151
|
-
import { basename as
|
|
135
|
+
import { basename as basename2 } from "path";
|
|
152
136
|
|
|
153
137
|
// src/shared/removeStagedAttachments.ts
|
|
154
138
|
import { rmSync } from "fs";
|
|
@@ -165,7 +149,7 @@ function removeStagedAttachments(attachments) {
|
|
|
165
149
|
var PLACED_URL = /https:\/\/\S+\/(pull|issues)\/\d+/;
|
|
166
150
|
function reportPartialFailure(attachments, stderr) {
|
|
167
151
|
const failed = attachments.filter(
|
|
168
|
-
({ path }) => stderr.includes(path) || stderr.includes(
|
|
152
|
+
({ path }) => stderr.includes(path) || stderr.includes(basename2(path))
|
|
169
153
|
);
|
|
170
154
|
const named = failed.length > 0 ? failed : attachments;
|
|
171
155
|
console.error(
|
|
@@ -201,8 +185,7 @@ function runGhWithAttachments(args, attachments) {
|
|
|
201
185
|
export {
|
|
202
186
|
renderScreenshotsSection,
|
|
203
187
|
appendScreenshots,
|
|
204
|
-
parseScreenshotSpecs,
|
|
205
|
-
stageScreenshots,
|
|
206
188
|
attachArgs,
|
|
189
|
+
parseScreenshotSpecs,
|
|
207
190
|
runGhWithAttachments
|
|
208
191
|
};
|
|
@@ -5,6 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
rejectHarnessAttribution
|
|
7
7
|
} from "./chunk-C3MGHR3N.js";
|
|
8
|
+
import {
|
|
9
|
+
attachmentContentType,
|
|
10
|
+
stageAttachment
|
|
11
|
+
} from "./chunk-P5LQVJWN.js";
|
|
8
12
|
|
|
9
13
|
// src/shared/validateProposedContent.ts
|
|
10
14
|
var URL_PATTERN = /https?:\/\/[^\s<>()[\]"'`]+/gi;
|
|
@@ -37,6 +41,23 @@ function validateProposedContent(labels, title, body) {
|
|
|
37
41
|
}
|
|
38
42
|
}
|
|
39
43
|
|
|
44
|
+
// src/commands/prs/stageScreenshots.ts
|
|
45
|
+
import { readFile } from "fs/promises";
|
|
46
|
+
import { basename } from "path";
|
|
47
|
+
function stageScreenshots(screenshots = []) {
|
|
48
|
+
return Promise.all(
|
|
49
|
+
screenshots.map(async (screenshot) => {
|
|
50
|
+
const { filePath } = await stageAttachment(
|
|
51
|
+
basename(screenshot.path),
|
|
52
|
+
attachmentContentType(screenshot.path),
|
|
53
|
+
await readFile(screenshot.path)
|
|
54
|
+
);
|
|
55
|
+
return { ...screenshot, path: filePath };
|
|
56
|
+
})
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
40
60
|
export {
|
|
41
|
-
validateProposedContent
|
|
61
|
+
validateProposedContent,
|
|
62
|
+
stageScreenshots
|
|
42
63
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
stagedAttachmentsDir
|
|
3
|
+
} from "./chunk-P5LQVJWN.js";
|
|
4
|
+
|
|
5
|
+
// src/shared/isStagedAttachmentPath.ts
|
|
6
|
+
import { isAbsolute, relative, resolve, sep } from "path";
|
|
7
|
+
function isStagedAttachmentPath(path) {
|
|
8
|
+
const rel = relative(stagedAttachmentsDir, resolve(path));
|
|
9
|
+
return rel !== "" && rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
isStagedAttachmentPath
|
|
14
|
+
};
|
|
@@ -3,13 +3,6 @@ import { homedir } from "os";
|
|
|
3
3
|
import { join } from "path";
|
|
4
4
|
var stagedAttachmentsDir = join(homedir(), ".assist", "attachments");
|
|
5
5
|
|
|
6
|
-
// src/shared/isStagedAttachmentPath.ts
|
|
7
|
-
import { isAbsolute, relative, resolve, sep } from "path";
|
|
8
|
-
function isStagedAttachmentPath(path) {
|
|
9
|
-
const rel = relative(stagedAttachmentsDir, resolve(path));
|
|
10
|
-
return rel !== "" && rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
6
|
// src/commands/sessions/web/attachmentContentType.ts
|
|
14
7
|
import { extname } from "path";
|
|
15
8
|
|
|
@@ -73,7 +66,6 @@ async function stageAttachment(name, contentType, body) {
|
|
|
73
66
|
|
|
74
67
|
export {
|
|
75
68
|
stagedAttachmentsDir,
|
|
76
|
-
isStagedAttachmentPath,
|
|
77
69
|
attachmentContentType,
|
|
78
70
|
ghAttachableExtensions,
|
|
79
71
|
stageAttachment
|