@staff0rd/assist 0.164.1 → 0.165.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 +2 -2
- package/claude/commands/draft.md +3 -3
- package/dist/index.js +440 -410
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ After installation, the `assist` command will be available globally. You can als
|
|
|
83
83
|
- `assist backlog init` - Create an empty assist.backlog.yml
|
|
84
84
|
- `assist backlog list [--status <type>] [-v]` - List all backlog items with status icons
|
|
85
85
|
- `assist backlog add` - Add a new backlog item interactively (prompts for type: story/bug)
|
|
86
|
-
- `assist backlog add --
|
|
86
|
+
- `assist backlog add --file <path>` - Add a backlog item from a JSON file (used by `/draft`)
|
|
87
87
|
- `assist backlog next` - Pick and run the next backlog item, or open `/draft` if none remain
|
|
88
88
|
- `assist backlog start <id>` - Set a backlog item to in-progress
|
|
89
89
|
- `assist backlog done <id>` - Set a backlog item to done
|
|
@@ -121,7 +121,7 @@ After installation, the `assist` command will be available globally. You can als
|
|
|
121
121
|
- `assist devlog version` - Show current repo name and version info
|
|
122
122
|
- `assist cli-hook` - PreToolUse hook for auto-approving read-only CLI commands (reads from `assist.cli-reads`, also auto-approves read-only `gh api` calls). Supports compound commands (`|`, `&&`, `||`, `;`) by checking each sub-command independently
|
|
123
123
|
- `assist cli-hook add <cli>` - Discover a CLI's commands and auto-permit read-only ones
|
|
124
|
-
- `assist cli-hook check <command
|
|
124
|
+
- `assist cli-hook check <command> [--tool <tool>]` - Check whether a command would be auto-approved by `cli-hook` (tool defaults to `Bash`)
|
|
125
125
|
- `assist cli-hook deny` - List all deny rules
|
|
126
126
|
- `assist cli-hook deny add <pattern> <message>` - Add a deny rule for a command pattern
|
|
127
127
|
- `assist cli-hook deny remove <pattern>` - Remove a deny rule by pattern
|
package/claude/commands/draft.md
CHANGED
|
@@ -46,7 +46,7 @@ Ask the user if they want to change anything. Iterate until they confirm.
|
|
|
46
46
|
|
|
47
47
|
## Step 5: Save
|
|
48
48
|
|
|
49
|
-
Once confirmed,
|
|
49
|
+
Once confirmed, write the JSON to a temp file and add it via the CLI. The JSON must match this shape:
|
|
50
50
|
|
|
51
51
|
```json
|
|
52
52
|
{
|
|
@@ -66,9 +66,9 @@ Once confirmed, pipe the JSON to the CLI. The JSON must match this shape:
|
|
|
66
66
|
}
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
Use the Write tool to save the JSON to a temp file (e.g. `/tmp/backlog-item.json`), then run:
|
|
70
70
|
```
|
|
71
|
-
|
|
71
|
+
assist backlog add --file /tmp/backlog-item.json 2>&1
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
|