@staff0rd/assist 0.164.1 → 0.165.1
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/assist.cli-reads +37 -0
- package/claude/commands/draft.md +3 -3
- package/claude/settings.json +0 -38
- package/dist/index.js +444 -414
- 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/assist.cli-reads
CHANGED
|
@@ -19,6 +19,43 @@ acli jira workitem link list
|
|
|
19
19
|
acli jira workitem search
|
|
20
20
|
acli jira workitem view
|
|
21
21
|
acli jira workitem watcher list
|
|
22
|
+
assist backlog add
|
|
23
|
+
assist backlog comment
|
|
24
|
+
assist backlog comments
|
|
25
|
+
assist backlog done
|
|
26
|
+
assist backlog list
|
|
27
|
+
assist backlog phase-done
|
|
28
|
+
assist backlog plan
|
|
29
|
+
assist backlog show
|
|
30
|
+
assist backlog start
|
|
31
|
+
assist backlog view
|
|
32
|
+
assist cli-hook
|
|
33
|
+
assist commit
|
|
34
|
+
assist complexity
|
|
35
|
+
assist coverage
|
|
36
|
+
assist devlog
|
|
37
|
+
assist dotnet
|
|
38
|
+
assist jira ac
|
|
39
|
+
assist jira auth
|
|
40
|
+
assist jira view
|
|
41
|
+
assist news
|
|
42
|
+
assist notify
|
|
43
|
+
assist prs list-comments
|
|
44
|
+
assist ravendb auth list
|
|
45
|
+
assist ravendb collections
|
|
46
|
+
assist ravendb query
|
|
47
|
+
assist refactor
|
|
48
|
+
assist roam show-claude-code-icon
|
|
49
|
+
assist screenshot
|
|
50
|
+
assist seq auth list
|
|
51
|
+
assist seq query
|
|
52
|
+
assist signal next
|
|
53
|
+
assist status-line
|
|
54
|
+
assist sync
|
|
55
|
+
assist transcript format
|
|
56
|
+
assist transcript summarise
|
|
57
|
+
assist verify
|
|
58
|
+
assist voice
|
|
22
59
|
az account list
|
|
23
60
|
az account lock list
|
|
24
61
|
az account lock show
|
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.
|
package/claude/settings.json
CHANGED
|
@@ -23,44 +23,6 @@
|
|
|
23
23
|
},
|
|
24
24
|
"permissions": {
|
|
25
25
|
"allow": [
|
|
26
|
-
"Bash(assist status-line:*)",
|
|
27
|
-
"Bash(assist notify:*)",
|
|
28
|
-
"Bash(assist commit:*)",
|
|
29
|
-
"Bash(assist devlog:*)",
|
|
30
|
-
"Bash(assist complexity:*)",
|
|
31
|
-
"Bash(assist refactor:*)",
|
|
32
|
-
"Bash(assist prs list-comments:*)",
|
|
33
|
-
"Bash(assist cli-hook:*)",
|
|
34
|
-
"Bash(assist sync:*)",
|
|
35
|
-
"Bash(assist verify:*)",
|
|
36
|
-
"Bash(assist news:*)",
|
|
37
|
-
"Bash(assist backlog list:*)",
|
|
38
|
-
"Bash(assist backlog start:*)",
|
|
39
|
-
"Bash(assist backlog done:*)",
|
|
40
|
-
"Bash(assist backlog show:*)",
|
|
41
|
-
"Bash(assist backlog view:*)",
|
|
42
|
-
"Bash(assist backlog plan:*)",
|
|
43
|
-
"Bash(assist backlog phase-done:*)",
|
|
44
|
-
"Bash(assist backlog comment:*)",
|
|
45
|
-
"Bash(assist backlog comments:*)",
|
|
46
|
-
"Bash(assist backlog add:*)",
|
|
47
|
-
"Bash(assist signal next:*)",
|
|
48
|
-
"Bash(assist transcript summarise:*)",
|
|
49
|
-
"Bash(assist complexity:*)",
|
|
50
|
-
"Bash(assist transcript format:*)",
|
|
51
|
-
"Bash(assist voice:*)",
|
|
52
|
-
"Bash(assist jira auth:*)",
|
|
53
|
-
"Bash(assist jira ac:*)",
|
|
54
|
-
"Bash(assist jira view:*)",
|
|
55
|
-
"Bash(assist dotnet:*)",
|
|
56
|
-
"Bash(assist ravendb query:*)",
|
|
57
|
-
"Bash(assist ravendb collections:*)",
|
|
58
|
-
"Bash(assist ravendb auth list:*)",
|
|
59
|
-
"Bash(assist seq query:*)",
|
|
60
|
-
"Bash(assist seq auth list:*)",
|
|
61
|
-
"Bash(assist coverage:*)",
|
|
62
|
-
"Bash(assist screenshot:*)",
|
|
63
|
-
"Bash(assist roam show-claude-code-icon:*)",
|
|
64
26
|
"SlashCommand(/verify)",
|
|
65
27
|
"SlashCommand(/commit)",
|
|
66
28
|
"SlashCommand(/devlog)",
|