@staff0rd/assist 0.907.2 → 0.908.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 -7
- package/claude/settings.json +0 -2
- package/claude/skills/review-ci/scripts/review.mjs +2 -2
- package/dist/commands/sessions/web/bundle.js +499 -499
- package/dist/index.js +1302 -1651
- package/package.json +2 -2
- package/claude/commands/subtask.md +0 -30
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@staff0rd/assist",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.908.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "vitest run",
|
|
27
27
|
"docs:install": "npm ci --prefix docs",
|
|
28
28
|
"docs:build": "npm run --prefix docs build",
|
|
29
|
-
"docs:preview": "
|
|
29
|
+
"docs:preview": "tsx src/docs/previewDocs.ts",
|
|
30
30
|
"docs:capture": "tsx src/docs/captureDocs.ts"
|
|
31
31
|
},
|
|
32
32
|
"overrides": {
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Add a sub-task to the session's current backlog item
|
|
3
|
-
allowed_args: "<sub-task text>"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are adding a sub-task to the backlog item this session is working on by calling the `assist backlog add-subtask` CLI command.
|
|
7
|
-
|
|
8
|
-
## Step 1: Resolve the target item
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
14
|
-
## Step 2: Add the sub-task
|
|
15
|
-
|
|
16
|
-
`$ARGUMENTS` is the sub-task title. Call the CLI command with the resolved id:
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
assist backlog add-subtask a<id> --title '<sub-task text>' 2>&1
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Use single quotes around the title to avoid shell escaping issues. The sub-task is created with status `todo`.
|
|
23
|
-
|
|
24
|
-
If the sub-task needs more than a title — extra context, steps, or acceptance detail — pass a `--desc` as well. Sub-task descriptions render as markdown in both the terminal (`assist backlog show`) and the web UI, so author them as structured markdown (short paragraphs, bullet lists, optional `##` headings), never a single run-on prose paragraph. Preserve line breaks by building the value with `printf` (or a quoted heredoc) so `\n` becomes real newlines:
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
assist backlog add-subtask <id> --title '<sub-task text>' --desc "$(printf '## Context\n\nShort paragraph.\n\n- Point one\n- Point two')" 2>&1
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Display the command output so the user can see the result. If the command reports an error (item not found, or a missing title), relay it to the user.
|