@staff0rd/assist 0.827.0 → 0.827.2
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/README.md
CHANGED
|
@@ -252,7 +252,7 @@ The Config tab of the sessions web dashboard never shows secret values; their fi
|
|
|
252
252
|
- `assist refactor rename file <source> <destination>` - Rename/move a TypeScript file and update all imports (`--apply` to execute)
|
|
253
253
|
- `assist refactor rename symbol <file> <oldName> <newName>` - Rename a symbol across the project (`--apply` to execute)
|
|
254
254
|
- `assist refactor extract <file> <functionName> <destination>` - Extract a function and its private dependencies to a new file (`--apply` to execute)
|
|
255
|
-
- `assist refactor restructure [root]` - Move files under `root` (default `src`) into folders derived from the import graph (`--apply` to execute, `--check` to fail on drift)
|
|
255
|
+
- `assist refactor restructure [root]` - Move files under `root` (default `src`) into folders derived from the import graph (`--apply` to execute, `--check` to fail on drift or when the plan exceeds `restructure.maxDepth` or `restructure.maxPathLength`)
|
|
256
256
|
|
|
257
257
|
### Rules
|
|
258
258
|
|
|
@@ -11,6 +11,8 @@ assist review --high-level $ARGUMENTS
|
|
|
11
11
|
|
|
12
12
|
Run it as a background task — it opens the checklist in the web UI preview pane and returns once the user approves or requests changes. Do not review the PR yourself or post anything to GitHub.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Once it is launched, say in one line that the checklist is open and end your turn straight away. Do not wait on the task — no polling its output, `sleep`, `Monitor` or reading its output file — and the "do no other work until it returns" rule for sign-off commands does not apply here. Input the user sends while you are mid-turn only queues behind it, so staying in the turn blocks every question until the review closes.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
While it runs, the user may send diff comments from the pane: a file path and line range, the quoted code, and a note. Answer each one as its own turn in the terminal by reading the code and the PR's diff — explain, or say whether the concern holds — then end the turn again, leaving the review running. Do not edit files, post to GitHub or restart the review in reply. These answers live in the terminal only; nothing is added to the saved review.
|
|
17
|
+
|
|
18
|
+
When the task's completion notification arrives, report the verdict and the path it saved the review to, quoting the command's own output. If the user left comments on any item, list them.
|