@staff0rd/assist 0.1214.1 → 0.1215.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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Capture a new CLAUDE.md rule from a review comment
3
- allowed_args: "[quoted text, file and note from the comment pane] [--repo [name] | --user | --node]"
3
+ allowed_args: "[quoted text, file and note from the comment pane] [--repo [name] | --user | --node | --scope <path>]"
4
4
  ---
5
5
 
6
6
  You are turning a review comment into a written rule in a `CLAUDE.md` file, so the same mistake is caught next time. `$ARGUMENTS` carries what the comment pane sent: an optional `File:` line, the quoted text in a fenced block, and the reviewer's note. A request from the Rules page's Add rule box carries only a scope flag and a note, with no quote.
@@ -12,7 +12,7 @@ Pull these out of `$ARGUMENTS`:
12
12
  - **File** — the path the selection came from, if a `File:` line is present. The document preview pane has no path, so it may be missing.
13
13
  - **Quote** — the selected text, the concrete example of the rule being broken. Absent when only a note was sent.
14
14
  - **Note** — the reviewer's words, the substance of the rule.
15
- - **Scope flag** — a `--repo` (optionally followed by a repo name), `--user` or `--node` in the arguments. It is an instruction about where the rule goes, not part of the note: strip it from the note before wording the rule.
15
+ - **Scope flag** — a `--repo` (optionally followed by a repo name), `--user`, `--node` or `--scope <path>` (a repo-relative `CLAUDE.md` path) in the arguments. It is an instruction about where the rule goes, not part of the note: strip it from the note before wording the rule.
16
16
 
17
17
  If `$ARGUMENTS` is empty, ask the user what rule they want to add and skip to Step 3.
18
18
 
@@ -28,7 +28,7 @@ Ask the user a clarifying question only when the note is genuinely too vague to
28
28
 
29
29
  The scope is the directory whose `CLAUDE.md` gets the rule, or `advice.rules` in `repo (db)`, `user (db)` or `user (node)`.
30
30
 
31
- If Step 1 found a scope flag, it fixes the scope: `--repo [name]` is `repo (db)` (for the named repo when one follows), `--user` is `user (db)`, `--node` is `user (node)`. Use it as given — do not infer a different scope or second-guess it — and go to Step 4.
31
+ If Step 1 found a scope flag, it fixes the scope: `--repo [name]` is `repo (db)` (for the named repo when one follows), `--user` is `user (db)`, `--node` is `user (node)`, `--scope <path>` is that `CLAUDE.md`, with the path relative to the repo root. Use it as given — do not infer a different scope or second-guess it — and go to Step 4.
32
32
 
33
33
  Otherwise infer it — do not ask by default:
34
34
 
@@ -47,7 +47,7 @@ Ask the user only when two scopes are genuinely defensible and the choice change
47
47
  assist rules add '<rule text>' --title '<title>' --scope <path> 2>&1
48
48
  ```
49
49
 
50
- `--scope` takes a file, a directory, or a `CLAUDE.md` path directly. A file or directory resolves to the nearest existing `CLAUDE.md` at or above it; a `CLAUDE.md` path is written to as given, created if absent. The command allocates the next repo-wide code, creates the `## Rules` section when the file has none, and records the directories that carry their own `## Rules` in the root `CLAUDE.md`.
50
+ `--scope` takes a file, a directory, or a `CLAUDE.md` path directly. A file or directory resolves to the nearest existing `CLAUDE.md` at or above it; a `CLAUDE.md` path is written to as given, created if absent. When the scope came from a `--scope <path>` flag, pass that path to `--scope` unchanged (run from the repo root, or prefix it with the repo root). The command allocates the next repo-wide code, creates the `## Rules` section when the file has none, and records the directories that carry their own `## Rules` in the root `CLAUDE.md`.
51
51
 
52
52
  For a `user (db)` rule, pass `--user` instead of `--scope` (the two can't be combined); `--title` is required:
53
53
 
package/dist/.build-files CHANGED
@@ -69,11 +69,9 @@ chunk-556BOFTS.js
69
69
  chunk-5AAHWTRQ.js
70
70
  chunk-5H7EHZ3J.js
71
71
  chunk-5JOVEUBS.js
72
- chunk-5P7K4AQE.js
73
72
  chunk-5PQE2NIS.js
74
73
  chunk-5Q7MUHCK.js
75
74
  chunk-5RFKHBSM.js
76
- chunk-5Y7KNNE5.js
77
75
  chunk-64HHCDHS.js
78
76
  chunk-66TQS45B.js
79
77
  chunk-67DONCGH.js
@@ -228,6 +226,7 @@ chunk-LQMXLKPW.js
228
226
  chunk-LVPIUSB6.js
229
227
  chunk-M2UR3JHD.js
230
228
  chunk-M3O2BTJG.js
229
+ chunk-M4A6NENS.js
231
230
  chunk-MJ44T7R4.js
232
231
  chunk-MJLABLH5.js
233
232
  chunk-MPY2OF65.js
@@ -245,6 +244,7 @@ chunk-NE5XRT62.js
245
244
  chunk-NGTSPXSJ.js
246
245
  chunk-NGYZK6AF.js
247
246
  chunk-NH33OKZQ.js
247
+ chunk-NOG25MQX.js
248
248
  chunk-NPX2RC46.js
249
249
  chunk-NT7WJQ6X.js
250
250
  chunk-NUFL54RI.js
@@ -267,7 +267,6 @@ chunk-P5LQVJWN.js
267
267
  chunk-P7FVAGFQ.js
268
268
  chunk-PF6E5TS6.js
269
269
  chunk-PIDKNOD6.js
270
- chunk-PIU2MX64.js
271
270
  chunk-PQPK7WO2.js
272
271
  chunk-PTWD34JK.js
273
272
  chunk-PURNABFX.js
@@ -293,6 +292,7 @@ chunk-QZUIBXBB.js
293
292
  chunk-R72E45HQ.js
294
293
  chunk-RCK76YDN.js
295
294
  chunk-RFMBA6WA.js
295
+ chunk-RJV3KYW4.js
296
296
  chunk-RNFWWESE.js
297
297
  chunk-ROP5NQU7.js
298
298
  chunk-RPVG4LT2.js
@@ -317,7 +317,7 @@ chunk-T56YZ5YH.js
317
317
  chunk-T7ZPGAB5.js
318
318
  chunk-TH42OUCW.js
319
319
  chunk-TJGF3Z72.js
320
- chunk-TP4K7PB2.js
320
+ chunk-TOWSOYPZ.js
321
321
  chunk-TS4DZXFR.js
322
322
  chunk-TU3ITOTX.js
323
323
  chunk-TUAXUEF3.js
@@ -342,13 +342,11 @@ chunk-VDE2QVT4.js
342
342
  chunk-VDXS55BC.js
343
343
  chunk-VEZ3FL5H.js
344
344
  chunk-VFJK5XMC.js
345
- chunk-VGS5ZEQT.js
346
345
  chunk-VHRROHRC.js
347
346
  chunk-VPMI4LV2.js
348
347
  chunk-VRPFTMP6.js
349
348
  chunk-VTXNOOK4.js
350
349
  chunk-VVUYBY6D.js
351
- chunk-VW44HB3H.js
352
350
  chunk-W5FPQALS.js
353
351
  chunk-W6UBSIJA.js
354
352
  chunk-W7TRZLEM.js
@@ -382,6 +380,7 @@ chunk-XYZPWUS6.js
382
380
  chunk-XZSATLYY.js
383
381
  chunk-Y3R4C2P7.js
384
382
  chunk-Y4C5PXGS.js
383
+ chunk-YBH5IXEF.js
385
384
  chunk-YBW444MI.js
386
385
  chunk-YDA62L6J.js
387
386
  chunk-YIBSK5OC.js
@@ -402,6 +401,7 @@ chunk-YVL3NXEB.js
402
401
  chunk-YZ5KJFYU.js
403
402
  chunk-Z2YQQYCQ.js
404
403
  chunk-Z64YKE5O.js
404
+ chunk-Z6UU3YCC.js
405
405
  chunk-ZDSSSQZZ.js
406
406
  chunk-ZFX4EZMW.js
407
407
  chunk-ZLCCVR27.js
@@ -475,7 +475,7 @@ deps-RSUOIZPE.js
475
475
  docsConfirm-5JSC4BVS.js
476
476
  docsScreenshots-3L3QEB5C.js
477
477
  docsUnlock-Y7YBDC7H.js
478
- doctorNodes-P656ZODQ.js
478
+ doctorNodes-Y4EZWWDR.js
479
479
  done-MRMZFNXS.js
480
480
  drainDaemon-AJVBJMP2.js
481
481
  dropRetiredTables-JBLALSG5.js
@@ -582,7 +582,7 @@ repos-PPGMWO4B.js
582
582
  resolveHarness-Q53GCTJE.js
583
583
  resolveModel-G7GJGUAY.js
584
584
  restartDaemon-SGNXXO6H.js
585
- restartNode-2WN74YK4.js
585
+ restartNode-3BGJ3V7Z.js
586
586
  restructure-NBVT3EZS.js
587
587
  review-2D36TUAO.js
588
588
  reviewPrComments-JILBLWMX.js
@@ -590,7 +590,7 @@ rewindPhase-QHHZFRUA.js
590
590
  rulesAdd-XYXGF5SQ.js
591
591
  run-CBSRAMXF.js
592
592
  run-PNWUU4NU.js
593
- runDaemon-NR2PQHIW.js
593
+ runDaemon-7YWJL4GU.js
594
594
  runExtract-PTONY7UJ.js
595
595
  runParallelPhase-XX5MRTOA.js
596
596
  runRefine-2RFOSI5R.js
@@ -612,7 +612,7 @@ show-HWHCYCPM.js
612
612
  show-U3FTUMWL.js
613
613
  showClaudeCodeIcon-E4SAM3GN.js
614
614
  showCodexIcon-YUAKV4NI.js
615
- signExtension-BONJRXE2.js
615
+ signExtension-ZTF6LORV.js
616
616
  simulateDivergence-VB4UL4UR.js
617
617
  skip-XAOPATAT.js
618
618
  slack-Y7LJCVZX.js
@@ -640,7 +640,7 @@ unlinkNode-GKFA7U4W.js
640
640
  unstar-TTWHIOYO.js
641
641
  update-5G42A5LW.js
642
642
  update-KD2UWY63.js
643
- updateNode-MEBAXSIE.js
643
+ updateNode-FB2LHMBG.js
644
644
  updatePhase-FN4ZV2ER.js
645
645
  updatePlan-U6FVT54O.js
646
646
  version-SD3HTBJ2.js
@@ -648,8 +648,8 @@ viewIssue-N6W53LSK.js
648
648
  watchLoop-MV7DVGC6.js
649
649
  watchReport-A4W7UOAJ.js
650
650
  watchWait-YYMDQTOI.js
651
- web-G5QTYYKL.js
652
- web-P4RNCC5F.js
651
+ web-S4MZXBV5.js
652
+ web-UQLPKNWE.js
653
653
  withPool-OXM4WN4L.js
654
654
  wontdo-BVSLYH3M.js
655
655
  wontfix-IW6I53QK.js
@@ -1 +1 @@
1
- 0.1214.1
1
+ 0.1215.0
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-JM57BCD6.js";
11
11
  import {
12
12
  firstBrokenHop
13
- } from "./chunk-5Y7KNNE5.js";
13
+ } from "./chunk-RJV3KYW4.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-PIU2MX64.js";
51
+ } from "./chunk-YBH5IXEF.js";
52
52
  import {
53
53
  findLinkSpec
54
54
  } from "./chunk-JWMBBFAS.js";
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@staff0rd/assist",
4
- version: "0.1214.1",
4
+ version: "0.1215.0",
5
5
  type: "module",
6
6
  main: "dist/index.js",
7
7
  bin: {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildDoctorProbes,
3
3
  diagnoseLink
4
- } from "./chunk-VW44HB3H.js";
4
+ } from "./chunk-TOWSOYPZ.js";
5
5
  import {
6
6
  findLinkSpec
7
7
  } from "./chunk-JWMBBFAS.js";
@@ -14,7 +14,7 @@ import {
14
14
  isHello,
15
15
  linkVersionCheck,
16
16
  negotiateProtocol
17
- } from "./chunk-PIU2MX64.js";
17
+ } from "./chunk-YBH5IXEF.js";
18
18
 
19
19
  // src/commands/sessions/nodes/probePeerHello.ts
20
20
  var HELLO_TIMEOUT_MS = 5e3;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-X4QB3FR2.js";
4
4
  import {
5
5
  package_default
6
- } from "./chunk-5P7K4AQE.js";
6
+ } from "./chunk-NOG25MQX.js";
7
7
  import {
8
8
  loadConfig
9
9
  } from "./chunk-TH42OUCW.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  firstBrokenHop
3
- } from "./chunk-5Y7KNNE5.js";
3
+ } from "./chunk-RJV3KYW4.js";
4
4
  import {
5
5
  describePeerError
6
6
  } from "./chunk-VABNWHSE.js";