@staff0rd/assist 0.1155.0 → 0.1156.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/agent/commands/add-rule.md +7 -1
- package/dist/.build-files +16 -17
- package/dist/built-version +1 -1
- package/dist/{chunk-FKHKR4UU.js → chunk-3MDY76Q4.js} +1 -1
- package/dist/{chunk-OCMOCAJ5.js → chunk-IV4XOPGF.js} +1 -1
- package/dist/{chunk-QXVJYD33.js → chunk-PR34VFPP.js} +1 -1
- package/dist/{chunk-U7UPKLBZ.js → chunk-UGVPVJJG.js} +1 -1
- package/dist/{chunk-R7MRAYLZ.js → chunk-XXSAUKDC.js} +2 -2
- package/dist/{chunk-ZA7XPP63.js → chunk-Y3AHHDAV.js} +1 -1
- package/dist/commands/sessions/web/bundle.js +2 -2
- package/dist/{doctorNodes-7VOBS7QT.js → doctorNodes-EWYB77RO.js} +3 -3
- package/dist/index.js +16 -17
- package/dist/{restartNode-OYD6K3I3.js → restartNode-X3CT7RGF.js} +5 -5
- package/dist/rulesAdd-BY3QLX3M.js +317 -0
- package/dist/{runDaemon-AK3NM65C.js → runDaemon-3RUZEJ25.js} +6 -3
- package/dist/{signExtension-KDADDRPS.js → signExtension-7GUHW35N.js} +1 -1
- package/dist/{updateNode-MNAVM4QG.js → updateNode-6UO5J3HF.js} +5 -5
- package/dist/{web-3GFJKG3L.js → web-XHZZGQBJ.js} +5 -5
- package/dist/{web-W47PETV3.js → web-ZBDWZVA7.js} +5 -5
- package/package.json +1 -1
- package/dist/addRule-J432LIS3.js +0 -102
- package/dist/addUserRule-XO2BNQFH.js +0 -136
- package/dist/{add-QQQ472AZ.js → add-LM2C4OO4.js} +3 -3
- package/dist/{sqlQuery-OAXPQJPY.js → sqlQuery-XCD5LQOS.js} +3 -3
|
@@ -59,7 +59,13 @@ It appends the rule to `advice.rules` in `user (db)` with no R-code. For `user (
|
|
|
59
59
|
|
|
60
60
|
Use single quotes around the rule text to avoid shell escaping issues.
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
Run `assist rules add` as a background task and do no other work until it returns. In a web session it opens the rule, its title and where it will land in the preview pane, and writes nothing until the user decides:
|
|
63
|
+
|
|
64
|
+
- **Approved** — it exits 0 having written the rule. Show the command output — it names the allocated code (or, for an `advice.rules` rule, the title) and where it went — then tell the user in one line which rule was added and where.
|
|
65
|
+
- **Rejected** — it exits non-zero having written nothing, printing the reason and every inline comment. Revise the wording, title or scope to address each one, then re-run `assist rules add` with the revision as a background task again. Do not move on to Step 5 until a version is approved.
|
|
66
|
+
- **Superseded** — an earlier run whose preview a re-run replaced exits 0 saying so; ignore its result.
|
|
67
|
+
|
|
68
|
+
Outside a web session it writes immediately and exits 0.
|
|
63
69
|
|
|
64
70
|
## Step 5: Fix what broke it
|
|
65
71
|
|
package/dist/.build-files
CHANGED
|
@@ -2,11 +2,9 @@ acceptanceCriteria-CJ4GRITK.js
|
|
|
2
2
|
activity-2SEJVUW5.js
|
|
3
3
|
add-AESVVBQN.js
|
|
4
4
|
add-HXSZYGPR.js
|
|
5
|
-
add-
|
|
5
|
+
add-LM2C4OO4.js
|
|
6
6
|
addActivity-QEU4PLVN.js
|
|
7
7
|
addPhase-OFF3RW5D.js
|
|
8
|
-
addRule-J432LIS3.js
|
|
9
|
-
addUserRule-XO2BNQFH.js
|
|
10
8
|
adviceFragments-5XVE6JXX.js
|
|
11
9
|
advise-JRADZKQR.js
|
|
12
10
|
allowed.cli-reads
|
|
@@ -41,6 +39,7 @@ chunk-2O7TIRCQ.js
|
|
|
41
39
|
chunk-3AYMOUTH.js
|
|
42
40
|
chunk-3JXMQFUS.js
|
|
43
41
|
chunk-3KLTYFPV.js
|
|
42
|
+
chunk-3MDY76Q4.js
|
|
44
43
|
chunk-3NK55YVZ.js
|
|
45
44
|
chunk-3NPVVAAT.js
|
|
46
45
|
chunk-3OMKOT6D.js
|
|
@@ -138,7 +137,6 @@ chunk-ERG23IG5.js
|
|
|
138
137
|
chunk-EW2ZM2PC.js
|
|
139
138
|
chunk-EYM57SNL.js
|
|
140
139
|
chunk-FDWIKBS3.js
|
|
141
|
-
chunk-FKHKR4UU.js
|
|
142
140
|
chunk-FOPR6LRY.js
|
|
143
141
|
chunk-FPWL4VRC.js
|
|
144
142
|
chunk-FVZP4ULO.js
|
|
@@ -176,6 +174,7 @@ chunk-IMKMNPRL.js
|
|
|
176
174
|
chunk-INBM4BQQ.js
|
|
177
175
|
chunk-IOKBCYSG.js
|
|
178
176
|
chunk-IOYGR6YV.js
|
|
177
|
+
chunk-IV4XOPGF.js
|
|
179
178
|
chunk-IV7Z4UVQ.js
|
|
180
179
|
chunk-IVBWOIGE.js
|
|
181
180
|
chunk-IYTAHYEL.js
|
|
@@ -241,7 +240,6 @@ chunk-NZYSENRR.js
|
|
|
241
240
|
chunk-O5JIFWMQ.js
|
|
242
241
|
chunk-O6HFT23O.js
|
|
243
242
|
chunk-OBC245PJ.js
|
|
244
|
-
chunk-OCMOCAJ5.js
|
|
245
243
|
chunk-OD7CMDGZ.js
|
|
246
244
|
chunk-ODLSWRTS.js
|
|
247
245
|
chunk-OFLEIPAR.js
|
|
@@ -264,6 +262,7 @@ chunk-PIMHGLG4.js
|
|
|
264
262
|
chunk-PJHWN6XE.js
|
|
265
263
|
chunk-PMZ6A7XX.js
|
|
266
264
|
chunk-PPTQQIP3.js
|
|
265
|
+
chunk-PR34VFPP.js
|
|
267
266
|
chunk-PRYFYXI6.js
|
|
268
267
|
chunk-PURNABFX.js
|
|
269
268
|
chunk-PXQTFJ2N.js
|
|
@@ -280,11 +279,9 @@ chunk-QPRFHNX7.js
|
|
|
280
279
|
chunk-QR7KY3Y6.js
|
|
281
280
|
chunk-QU6OQZJ2.js
|
|
282
281
|
chunk-QVQ2OJXX.js
|
|
283
|
-
chunk-QXVJYD33.js
|
|
284
282
|
chunk-R2HLLDFE.js
|
|
285
283
|
chunk-R3GZTWTX.js
|
|
286
284
|
chunk-R72E45HQ.js
|
|
287
|
-
chunk-R7MRAYLZ.js
|
|
288
285
|
chunk-RFMBA6WA.js
|
|
289
286
|
chunk-RIMA7EFJ.js
|
|
290
287
|
chunk-RNFWWESE.js
|
|
@@ -313,8 +310,8 @@ chunk-TUPSNHFZ.js
|
|
|
313
310
|
chunk-TVQY3HPZ.js
|
|
314
311
|
chunk-TZ5PVDAR.js
|
|
315
312
|
chunk-U732RAGX.js
|
|
316
|
-
chunk-U7UPKLBZ.js
|
|
317
313
|
chunk-UEWARAPX.js
|
|
314
|
+
chunk-UGVPVJJG.js
|
|
318
315
|
chunk-UJBW7FVI.js
|
|
319
316
|
chunk-UN4ABKA7.js
|
|
320
317
|
chunk-UP6QV5BJ.js
|
|
@@ -361,9 +358,11 @@ chunk-XT3AOF2P.js
|
|
|
361
358
|
chunk-XTPBXBZA.js
|
|
362
359
|
chunk-XV2STPP6.js
|
|
363
360
|
chunk-XV6BO5MK.js
|
|
361
|
+
chunk-XXSAUKDC.js
|
|
364
362
|
chunk-XXXMWMVQ.js
|
|
365
363
|
chunk-XY5OS2GH.js
|
|
366
364
|
chunk-XZFSW5AY.js
|
|
365
|
+
chunk-Y3AHHDAV.js
|
|
367
366
|
chunk-Y3JV5CEL.js
|
|
368
367
|
chunk-Y3R4C2P7.js
|
|
369
368
|
chunk-YDA62L6J.js
|
|
@@ -381,7 +380,6 @@ chunk-YYXDBRET.js
|
|
|
381
380
|
chunk-YZ5KJFYU.js
|
|
382
381
|
chunk-Z2YQQYCQ.js
|
|
383
382
|
chunk-Z64YKE5O.js
|
|
384
|
-
chunk-ZA7XPP63.js
|
|
385
383
|
chunk-ZABRGL2F.js
|
|
386
384
|
chunk-ZAMEG3EN.js
|
|
387
385
|
chunk-ZCGRZJ6Y.js
|
|
@@ -455,7 +453,7 @@ denyRemove-4IUYBEMU.js
|
|
|
455
453
|
deps-RSUOIZPE.js
|
|
456
454
|
docsConfirm-OVUTMONK.js
|
|
457
455
|
docsUnlock-YOHDLSPU.js
|
|
458
|
-
doctorNodes-
|
|
456
|
+
doctorNodes-EWYB77RO.js
|
|
459
457
|
done-VE3V5YKS.js
|
|
460
458
|
drainDaemon-T2X2H2Z5.js
|
|
461
459
|
dropRetiredTables-JBLALSG5.js
|
|
@@ -559,14 +557,15 @@ repos-JP75ZTBU.js
|
|
|
559
557
|
resolveHarness-Q6HQK2IZ.js
|
|
560
558
|
resolveModel-EPG2YC5Q.js
|
|
561
559
|
restartDaemon-JZRU364H.js
|
|
562
|
-
restartNode-
|
|
560
|
+
restartNode-X3CT7RGF.js
|
|
563
561
|
restructure-FJ3BME7E.js
|
|
564
562
|
review-LIGFHQUT.js
|
|
565
563
|
reviewPrComments-5UGXLCP2.js
|
|
566
564
|
rewindPhase-M56REXTY.js
|
|
565
|
+
rulesAdd-BY3QLX3M.js
|
|
567
566
|
run-KSZAMSBT.js
|
|
568
567
|
run-U6FTOWVL.js
|
|
569
|
-
runDaemon-
|
|
568
|
+
runDaemon-3RUZEJ25.js
|
|
570
569
|
runExtract-HCHT2Z6A.js
|
|
571
570
|
runRefine-Q6GPUW2O.js
|
|
572
571
|
runScope-H3J75ZMO.js
|
|
@@ -586,7 +585,7 @@ show-5SPRXCHW.js
|
|
|
586
585
|
show-WMXEI4AG.js
|
|
587
586
|
showClaudeCodeIcon-E4SAM3GN.js
|
|
588
587
|
showCodexIcon-YUAKV4NI.js
|
|
589
|
-
signExtension-
|
|
588
|
+
signExtension-7GUHW35N.js
|
|
590
589
|
simulateDivergence-VB4UL4UR.js
|
|
591
590
|
skip-ZZHUH3MU.js
|
|
592
591
|
slack-4ZPQ5C5L.js
|
|
@@ -594,7 +593,7 @@ sloc-KPIIBOMR.js
|
|
|
594
593
|
sqlAuth-IN4PYCIX.js
|
|
595
594
|
sqlColumns-SNPMTHHK.js
|
|
596
595
|
sqlMutate-4QC4IT4E.js
|
|
597
|
-
sqlQuery-
|
|
596
|
+
sqlQuery-XCD5LQOS.js
|
|
598
597
|
sqlSetConnection-UAX7TRB4.js
|
|
599
598
|
sqlTables-ZM2PUJ7N.js
|
|
600
599
|
star-UKT6KZF7.js
|
|
@@ -614,7 +613,7 @@ unlinkNode-OK6M6RHF.js
|
|
|
614
613
|
unstar-FBZF3RJQ.js
|
|
615
614
|
update-64YJ4HRY.js
|
|
616
615
|
update-Z73FZ4ZB.js
|
|
617
|
-
updateNode-
|
|
616
|
+
updateNode-6UO5J3HF.js
|
|
618
617
|
updatePhase-QNEA4YU2.js
|
|
619
618
|
updatePlan-H6WWSTM3.js
|
|
620
619
|
version-4E3HWTDD.js
|
|
@@ -622,8 +621,8 @@ viewIssue-CYHIPCFO.js
|
|
|
622
621
|
watchLoop-MV7DVGC6.js
|
|
623
622
|
watchReport-A4W7UOAJ.js
|
|
624
623
|
watchWait-FF65XUH2.js
|
|
625
|
-
web-
|
|
626
|
-
web-
|
|
624
|
+
web-XHZZGQBJ.js
|
|
625
|
+
web-ZBDWZVA7.js
|
|
627
626
|
withPool-APJFDKR2.js
|
|
628
627
|
wontdo-NIR44VPG.js
|
|
629
628
|
wontfix-PHYW2KQ7.js
|
package/dist/built-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.1156.0
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-3NPVVAAT.js";
|
|
27
27
|
import {
|
|
28
28
|
firstBrokenHop
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UGVPVJJG.js";
|
|
30
30
|
import {
|
|
31
31
|
TRACE_HEADER,
|
|
32
32
|
newTraceId
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
ASSIST_VERSION,
|
|
36
36
|
PROTOCOL_VERSION
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PR34VFPP.js";
|
|
38
38
|
import {
|
|
39
39
|
queryNodes
|
|
40
40
|
} from "./chunk-OD7CMDGZ.js";
|