@staff0rd/assist 0.845.0 → 0.846.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 -3
- package/allowed.cli-reads +1 -0
- package/claude/commands/prs-slack.md +1 -1
- package/dist/allowed.cli-reads +1 -0
- package/dist/commands/sessions/web/bundle.js +327 -327
- package/dist/index.js +57 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ After installation, the `assist` command will be available globally. You can als
|
|
|
54
54
|
- `/fix-rules [dir]` - Put existing rules into the `## Rules` format `assist rules` reads
|
|
55
55
|
- `/forward-comments` - Split a coarse PR comment into per-line review comments, attributed to the original reviewer
|
|
56
56
|
- `/pr` - Raise a PR with a concise description
|
|
57
|
-
- `/prs-slack <number> [--no-confirm]` - Post a PR's title and URL to the `prs.slack` channel; `--no-confirm` skips the confirmation
|
|
57
|
+
- `/prs-slack <number> [--no-confirm]` - Post a PR's title and URL to the `prs.slack` channel (else `slack.channel`); `--no-confirm` skips the confirmation
|
|
58
58
|
- `/prs-status [channel] <owner/repo>...` - Post an overview of the open PRs across the named repos to Slack (default channel `slack.channel`)
|
|
59
59
|
- `/refactor` - Run refactoring checks for code quality
|
|
60
60
|
- `/prompts` - Analyze denied tool calls and suggest settings changes to auto-allow recurring prompts
|
|
@@ -117,6 +117,7 @@ Every command supports `--help` for full detail on its flags and behaviour.
|
|
|
117
117
|
- `assist read-time <target> [--budget <duration>]` - Estimate how long a PR (number or URL), file or stdin (`-`) takes to read, against `--budget` (default 1m)
|
|
118
118
|
- `assist prs` - List pull requests for the current repository
|
|
119
119
|
- `assist prs status <owner/repo>... [--json]` - Report the open pull requests across the named repos and what each is waiting on
|
|
120
|
+
- `assist prs slack-channel` - Print the Slack channel PRs are announced to: `prs.slack`, else `slack.channel`; exits non-zero when neither is set
|
|
120
121
|
- `assist prs raise --title <t> --what <w> --why <y> [--how <h>] [--resolves <ref>] [--screenshot '[Group/]Caption=path']... [--force] [--draft|--no-draft]` - Raise a PR with a What/Why/How body, previewed for approval in a web session; `--draft`/`--no-draft` override `prs.draft`; each `--screenshot` is uploaded via `gh --attach` and rendered under `## Screenshots` as a `### Group` heading with a 2-column captioned table, ungrouped images last as plain images
|
|
121
122
|
- `assist prs edit [--title <t>] [--what <w>] [--why <y>] [--how <h>] [--resolves <ref>] [--screenshot '[Group/]Caption=path']...` - Update the supplied sections of the current PR's body, previewed for approval in a web session; `--screenshot` replaces the existing `## Screenshots` section
|
|
122
123
|
- `assist prs read-time <target> [--budget <duration>]` - Alias of `assist read-time`
|
|
@@ -134,7 +135,7 @@ Every command supports `--help` for full detail on its flags and behaviour.
|
|
|
134
135
|
- `--apply` - Skip posting; walk through each finding asking apply/skip
|
|
135
136
|
- `--backlog` - Skip posting; file all findings as a single bug backlog item with one phase per finding
|
|
136
137
|
- `--checkout-only` - Skip the review; check the PR out and leave an idle Claude session in it
|
|
137
|
-
- `--high-level` - Skip the LLM review; step through the high-level review checklist in the web preview pane. With `[number]` outside a Claude session, check the PR out and start an auto-mode Claude session running `/review-high-level <number>`, which opens the checklist as a background task so the agent can answer questions meanwhile. See [docs/high-level-review.md](docs/high-level-review.md)
|
|
138
|
+
- `--high-level` - Skip the LLM review; step through the high-level review checklist in the web preview pane; Approve also submits a GitHub approval on the PR (exiting non-zero if `gh` fails). With `[number]` outside a Claude session, check the PR out and start an auto-mode Claude session running `/review-high-level <number>`, which opens the checklist as a background task so the agent can answer questions meanwhile. See [docs/high-level-review.md](docs/high-level-review.md)
|
|
138
139
|
- `--configure` - With `--high-level`: configure the checklist's `review.highLevel.*` keys instead of reviewing
|
|
139
140
|
- `--scope <repo|project>` - With `--configure`: write to this repo's override in the shared assist database or the project `assist.yml` instead of asking
|
|
140
141
|
- `--answer <key=value>` - With `--configure`: answer one key without prompting, repeatable; an empty value leaves the key unset
|
|
@@ -544,7 +545,7 @@ A restart kills every managed session's pty, which also kills any background tas
|
|
|
544
545
|
|
|
545
546
|
- `harness.codexModel` — LiteLLM model every non-review Codex launch uses. Unset, Codex uses its own configured provider.
|
|
546
547
|
- `slack.channel` — the Slack channel `assist slack post` and `/slack-post` target when given none.
|
|
547
|
-
- `prs.slack` — the Slack channel `/prs-slack` posts pull requests to.
|
|
548
|
+
- `prs.slack` — the Slack channel `/prs-slack` posts pull requests to. Falls back to `slack.channel` when unset.
|
|
548
549
|
- `prs.required` — cut a fresh branch when `assist backlog run` starts a story with no recorded branch. Defaults to `true`.
|
|
549
550
|
- `prs.promptJira` — have `assist prs raise --help` ask the user for a Jira key to resolve. Defaults to `false`.
|
|
550
551
|
- `prs.promptGithub` — have `assist prs raise --help` ask the user for a GitHub issue to resolve. Defaults to `false`.
|
package/allowed.cli-reads
CHANGED
|
@@ -6,7 +6,7 @@ Post pull request `$ARGUMENTS` to the configured Slack channel.
|
|
|
6
6
|
|
|
7
7
|
`$ARGUMENTS` is the PR number, optionally followed by `--no-confirm`. When `--no-confirm` is present, skip the confirmation in step 4 and post straight away — every other step is unchanged. Strip the flag before using the PR number.
|
|
8
8
|
|
|
9
|
-
1. Resolve the channel with `assist
|
|
9
|
+
1. Resolve the channel with `assist prs slack-channel`. If it exits non-zero, stop and relay its message to the user. Do not post anything. This applies with `--no-confirm` too.
|
|
10
10
|
2. Fetch the PR with `gh pr view <number> --json title,url`.
|
|
11
11
|
3. Build the message `PR: [<title>](<url>)` using the fetched title and url.
|
|
12
12
|
4. Show the user the resolved channel and the exact message, and confirm via `AskUserQuestion` before posting. Skip this step when `--no-confirm` was passed, printing the channel and message instead.
|