@staff0rd/assist 0.260.0 → 0.261.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/README.md +1 -1
- package/claude/commands/bug.md +5 -4
- package/claude/commands/draft.md +5 -4
- package/dist/commands/sessions/web/bundle.js +62 -62
- package/dist/index.js +180 -118
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -257,7 +257,7 @@ When iterating on assist itself: web server changes only need the `assist sessio
|
|
|
257
257
|
- `assist refine [id] [--once]` - Launch Claude in `/refine` mode to refine a backlog item; prompts for selection when no id given; `--once` exits when the done signal arrives after refinement completes
|
|
258
258
|
- `assist review-comments [number]` - Launch Claude in `/review-comments` mode to process PR review comments (single session, no chaining); when a PR number is supplied, checks out that PR via `gh pr checkout` first
|
|
259
259
|
- `assist signal next [id]` - Write a next signal to chain into `assist next`; when `id` is supplied, the parent launcher runs that backlog item directly
|
|
260
|
-
- `assist signal done` - Write a done signal marking the session's initial task complete; `--once` launch sessions exit when it arrives, plain sessions ignore it
|
|
260
|
+
- `assist signal done [id]` - Write a done signal marking the session's initial task complete; an optional `id` surfaces the backlog item the session created onto its session card; `--once` launch sessions exit when it arrives, plain sessions ignore it
|
|
261
261
|
|
|
262
262
|
When `commit.pull` is enabled in config, `assist draft`, `assist bug`, `assist refine`, `assist next`, and `assist backlog run` run `git pull --ff-only` before doing anything else; if the pull fails the command aborts. `assist next` pulls once per invocation, not per item in its loop.
|
|
263
263
|
|
package/claude/commands/bug.md
CHANGED
|
@@ -41,15 +41,16 @@ Ask the user if they want to change anything. Iterate until they confirm.
|
|
|
41
41
|
|
|
42
42
|
## Step 5: Save
|
|
43
43
|
|
|
44
|
-
Once confirmed, add the item via CLI:
|
|
44
|
+
Once confirmed, add the item via CLI and capture the id it prints:
|
|
45
45
|
```
|
|
46
46
|
assist backlog add --name "Bug title" --type bug --desc "**Repro:**\n1. ...\n\n**Expected:** ...\n\n**Actual:** ..." --ac "criterion 1" --ac "criterion 2" 2>&1
|
|
47
47
|
```
|
|
48
|
+
Note the created item id from the output — you'll pass it to the done signal below.
|
|
48
49
|
|
|
49
50
|
Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
|
|
50
51
|
|
|
51
|
-
Finally, signal that the bug-filing task is complete:
|
|
52
|
+
Finally, signal that the bug-filing task is complete, passing the created item id:
|
|
52
53
|
```
|
|
53
|
-
assist signal done 2>&1
|
|
54
|
+
assist signal done <id> 2>&1
|
|
54
55
|
```
|
|
55
|
-
This lets a wrapping `assist bug --once` session end; in a plain interactive session it has no effect.
|
|
56
|
+
This lets a wrapping `assist bug --once` session end and surfaces the created item id to the session card; in a plain interactive session it has no effect.
|
package/claude/commands/draft.md
CHANGED
|
@@ -73,10 +73,11 @@ Ask the user if they want to change anything. Iterate until they confirm.
|
|
|
73
73
|
|
|
74
74
|
Once confirmed, create the item and its phases via CLI commands.
|
|
75
75
|
|
|
76
|
-
First, add the item:
|
|
76
|
+
First, add the item and capture the id it prints:
|
|
77
77
|
```
|
|
78
78
|
assist backlog add --name "Item name" --type story --desc "Description text" --ac "criterion 1" --ac "criterion 2" 2>&1
|
|
79
79
|
```
|
|
80
|
+
Note the created item id from the output — you'll pass it to the done signal below.
|
|
80
81
|
|
|
81
82
|
Then add each phase:
|
|
82
83
|
```
|
|
@@ -85,8 +86,8 @@ assist backlog add-phase <id> "Phase name" --task "Task 1" --task "Task 2" --man
|
|
|
85
86
|
|
|
86
87
|
Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
|
|
87
88
|
|
|
88
|
-
Finally, signal that the drafting task is complete:
|
|
89
|
+
Finally, signal that the drafting task is complete, passing the created item id:
|
|
89
90
|
```
|
|
90
|
-
assist signal done 2>&1
|
|
91
|
+
assist signal done <id> 2>&1
|
|
91
92
|
```
|
|
92
|
-
This lets a wrapping `assist draft --once` session end; in a plain interactive session it has no effect.
|
|
93
|
+
This lets a wrapping `assist draft --once` session end and surfaces the created item id to the session card; in a plain interactive session it has no effect.
|