@staff0rd/assist 0.372.0 → 0.374.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 +4 -1
- package/claude/commands/bug.md +3 -3
- package/claude/commands/draft.md +4 -4
- package/claude/commands/jira.md +1 -1
- package/claude/commands/subtask.md +2 -2
- package/dist/commands/sessions/web/bundle.js +90 -90
- package/dist/index.js +1235 -616
- package/package.json +12 -2
package/README.md
CHANGED
|
@@ -121,6 +121,8 @@ After installation, the `assist` command will be available globally. You can als
|
|
|
121
121
|
|
|
122
122
|
The first backlog command in a repository that still has a local `.assist/backlog.jsonl` automatically migrates it into Postgres — but only as a one-time bootstrap into an empty origin. If Postgres has **no** items for the repo's origin yet, it runs `git pull` (best-effort) to fetch the latest committed copy, imports every item under the origin with fresh global IDs (rewriting links to other items), and verifies the result. If Postgres **already** has items for that origin (a prior run, another clone, or a pre-seeded database), the import is skipped to avoid creating duplicates. Either way the local `.assist/backlog.jsonl` and `.assist/backlog.db` are renamed to `*.bak`, so the migration never re-runs and a local copy is retained.
|
|
123
123
|
|
|
124
|
+
Backlog item ids are written and displayed in an `a`-prefixed form (e.g. item 555 is `a555`) to disambiguate them from GitHub PR/issue numbers (`#42`) and Jira keys. Commands and web API routes that take an `<id>` accept either the prefixed form (`a555`) or a bare number (`555`).
|
|
125
|
+
|
|
124
126
|
- `assist backlog [--dir <path>]` - Open the backlog tab in the web dashboard (same as `backlog web`). `--dir` overrides the directory used to resolve the current repository's git origin
|
|
125
127
|
- `assist backlog init` - Create an empty backlog
|
|
126
128
|
- `assist backlog list [--status <type>] [-a, --all] [--all-repos] [-v]` - List backlog items with status icons (alias: `ls`). Defaults to the current repository's todo/in-progress items; `--all` includes done/wontdo, `--all-repos` lists items across all repositories. Also available as the top-level shortcut `assist list` / `assist ls` with the same flags
|
|
@@ -163,7 +165,7 @@ The first backlog command in a repository that still has a local `.assist/backlo
|
|
|
163
165
|
- `assist backlog web [-p, --port <number>] [--no-open]` - Open the backlog tab in the web dashboard (default port 3100); `--no-open` skips opening a browser on startup
|
|
164
166
|
- `assist roam auth` - Authenticate with Roam via OAuth (opens browser, saves tokens to ~/.assist.yml)
|
|
165
167
|
- `assist roam show-claude-code-icon` - Forward Claude Code hook activity to Roam local API
|
|
166
|
-
- `assist run <name> [params...]` - Run a configured command from assist.yml (positional params are matched to `params` config; supports `pre` array of commands to run first). If `<name>` is
|
|
168
|
+
- `assist run <name> [params...]` - Run a configured command from assist.yml (positional params are matched to `params` config; supports `pre` array of commands to run first). If `<name>` is a backlog item id (`a555` or a bare `555`) and matches no configured command, it is treated as an alias for `assist backlog run <name>` and forwards `--write`/`--no-write`/`-w`.
|
|
167
169
|
- `assist run add` - Add a new run configuration to assist.yml and create a Claude command file
|
|
168
170
|
- `assist run link <path> --prefix <prefix>` - Link run configurations from another project's assist.yml
|
|
169
171
|
- `assist run remove <name>` - Remove a run configuration from assist.yml and delete its Claude command file
|
|
@@ -179,6 +181,7 @@ The first backlog command in a repository that still has a local `.assist/backlo
|
|
|
179
181
|
- `assist verify hardcoded-colors` - Check for hardcoded hex colors in src/ (supports `hardcodedColors.ignore` globs in config)
|
|
180
182
|
- `assist verify block-comments` - Fail on any comment on a changed line (staged + unstaged), whether newly added or edited, reporting each offending file:line; functional machine directives are exempt and `blockComments.ignore` globs in config scope which files are scanned. Yaml `.yml`/`.yaml` files are scanned for `#` comments with no directive exemptions
|
|
181
183
|
- `assist verify forbidden-strings` - Check configured JSON files for disallowed values. Each `forbiddenStrings` rule names a `file`, a list of dot-`paths` to inspect (string or string[] values are scanned; other types skipped), and a `disallowed` wildcard matched via minimatch; any matching value fails the check. Zero rules is a no-op that passes
|
|
184
|
+
- `assist verify config-keys` - Check that every leaf key in `assistConfigSchema` is surfaced in some command's `--help` via the `configHelp` helper. Fails when a schema key is documented by no command (add it with `configHelp`) or when a declared key is not in the schema. Keys not yet migrated are tracked in a `pendingConfigDocumentation` list that must be drained as commands adopt `configHelp`
|
|
182
185
|
- `assist lint [-f, --fix]` - Run lint checks for conventions not enforced by oxlint (use `-f` to auto-fix)
|
|
183
186
|
- `assist lint init` - Initialize oxlint with baseline linter config
|
|
184
187
|
- `assist refactor check [pattern]` - Check for files that exceed the maximum line count
|
package/claude/commands/bug.md
CHANGED
|
@@ -69,12 +69,12 @@ Pass the description as real markdown with line breaks preserved (use `printf` o
|
|
|
69
69
|
|
|
70
70
|
Note the created item id from the output — you'll pass it to the done signal below.
|
|
71
71
|
|
|
72
|
-
Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
|
|
72
|
+
Then show the user the item was created and suggest they can run `assist backlog run a<id>` to start implementation.
|
|
73
73
|
|
|
74
|
-
Finally, signal that the bug-filing task is complete, passing the created item id:
|
|
74
|
+
Finally, signal that the bug-filing task is complete, passing the created item id (a-prefixed, e.g. `a555`):
|
|
75
75
|
|
|
76
76
|
```
|
|
77
|
-
assist signal done <id> 2>&1
|
|
77
|
+
assist signal done a<id> 2>&1
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
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
|
@@ -102,15 +102,15 @@ Note the created item id from the output — you'll pass it to the done signal b
|
|
|
102
102
|
Then add each phase:
|
|
103
103
|
|
|
104
104
|
```
|
|
105
|
-
assist backlog add-phase <id> "Phase name" --task "Task 1" --task "Task 2" --manual-check "optional check" 2>&1
|
|
105
|
+
assist backlog add-phase a<id> "Phase name" --task "Task 1" --task "Task 2" --manual-check "optional check" 2>&1
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
|
|
108
|
+
Then show the user the item was created and suggest they can run `assist backlog run a<id>` to start implementation.
|
|
109
109
|
|
|
110
|
-
Finally, signal that the drafting task is complete, passing the created item id:
|
|
110
|
+
Finally, signal that the drafting task is complete, passing the created item id (a-prefixed, e.g. `a555`):
|
|
111
111
|
|
|
112
112
|
```
|
|
113
|
-
assist signal done <id> 2>&1
|
|
113
|
+
assist signal done a<id> 2>&1
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
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.
|
package/claude/commands/jira.md
CHANGED
|
@@ -22,7 +22,7 @@ These actions operate on a single Jira issue. Resolve it once:
|
|
|
22
22
|
- Otherwise read it from the backlog item this session is working on — the one you are implementing, reviewing, or otherwise focused on (e.g. via `/next-backlog-item`, a `backlog run`, or earlier in this conversation). Get its id, then run:
|
|
23
23
|
|
|
24
24
|
```
|
|
25
|
-
assist backlog show <id> 2>&1
|
|
25
|
+
assist backlog show a<id> 2>&1
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
Use the `Jira: <KEY>` line from the output.
|
|
@@ -9,14 +9,14 @@ You are adding a sub-task to the backlog item this session is working on by call
|
|
|
9
9
|
|
|
10
10
|
Use the backlog item this session is working on — the one you are implementing, reviewing, or otherwise focused on (e.g. via `/next-backlog-item`, a `backlog run`, or earlier in this conversation). Use its id directly.
|
|
11
11
|
|
|
12
|
-
If this session is not working on a backlog item, there is nothing to attach the sub-task to — tell the user there is no current item and ask them to run this from a session working on one (or to add the sub-task with `assist backlog add-subtask <id>` directly).
|
|
12
|
+
If this session is not working on a backlog item, there is nothing to attach the sub-task to — tell the user there is no current item and ask them to run this from a session working on one (or to add the sub-task with `assist backlog add-subtask a<id>` directly).
|
|
13
13
|
|
|
14
14
|
## Step 2: Add the sub-task
|
|
15
15
|
|
|
16
16
|
`$ARGUMENTS` is the sub-task title. Call the CLI command with the resolved id:
|
|
17
17
|
|
|
18
18
|
```
|
|
19
|
-
assist backlog add-subtask <id> --title '<sub-task text>' 2>&1
|
|
19
|
+
assist backlog add-subtask a<id> --title '<sub-task text>' 2>&1
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
Use single quotes around the title to avoid shell escaping issues. The sub-task is created with status `todo`.
|