@staff0rd/assist 0.739.0 → 0.740.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 CHANGED
@@ -65,7 +65,7 @@ After installation, the `assist` command will be available globally. You can als
65
65
  - `/rename [title]` - Retitle this session's dashboard card via `assist sessions rename`; uses the argument verbatim, or infers a short title from the conversation when given none
66
66
  - `/restructure` - Analyze and restructure tightly-coupled files
67
67
  - `/review-config` - Set this repo's high-level review checklist keys: propose `review.highLevel.criticalPaths` and `uiPaths` from the repo's own tree with the files each glob matches, put them to the user to accept or edit, then write the accepted answers with `assist review --high-level --configure --answer ...` to the project `assist.yml` or this repo's block in `~/.assist.yml`
68
- - `/review-ci` - Install a PR review workflow that has no dependency on assist: copy the bundled `init.mjs` and `check.mjs` to `.github/review-ci/` and the workflow to `.github/workflows/review-ci.yml` (showing a diff and asking before overwriting either), then have the user run `node .github/review-ci/init.mjs` in their terminal. `init.mjs` prompts for the provider (`litellm`), base URL, Claude model, Codex model and API key, checks both models can be reached, then sets the repo variables `ASSIST_REVIEW_PROVIDER`, `ASSIST_REVIEW_BASE_URL`, `ASSIST_REVIEW_CLAUDE_MODEL`, `ASSIST_REVIEW_CODEX_MODEL` and the repo secret `ASSIST_REVIEW_API_KEY` with `gh`. The workflow runs on `pull_request: opened`, installs only Node, Claude Code and Codex, and its first step `check.mjs` fails naming each unset variable or secret, or the model, endpoint and error for a model it cannot reach. The skill ships as a directory that `assist sync` copies whole to `~/.claude/skills/review-ci/`
68
+ - `/review-ci` - Install a PR review workflow that has no dependency on assist: copy the bundled `init.mjs`, `check.mjs` and `review.mjs` to `.github/review-ci/` and the workflow to `.github/workflows/review-ci.yml` (showing a diff and asking before overwriting either), then have the user run `node .github/review-ci/init.mjs` in their terminal. `init.mjs` prompts for the provider (`litellm`), base URL, Claude model, Codex model and API key, checks both models can be reached, then sets the repo variables `ASSIST_REVIEW_PROVIDER`, `ASSIST_REVIEW_BASE_URL`, `ASSIST_REVIEW_CLAUDE_MODEL`, `ASSIST_REVIEW_CODEX_MODEL` and the repo secret `ASSIST_REVIEW_API_KEY` with `gh`. The workflow runs on `pull_request: opened`, installs only Node, Claude Code and Codex, and its first step `check.mjs` fails naming each unset variable or secret, or the model, endpoint and error for a model it cannot reach. Its next step `review.mjs` is the `assist review` pipeline bundled with its CI path: the PR comes from the workflow event rather than the checked-out branch, both reviewers and the synthesis run against the provider's models, line-bound findings post and a `COMMENT` review is submitted with `GITHUB_TOKEN`, and a failed reviewer or synthesis fails the job with nothing posted. The skill ships as a directory that `assist sync` copies whole to `~/.claude/skills/review-ci/`
69
69
  - `/review-high-level [number]` - Open the high-level review checklist for the current branch's PR, or PR `<number>`, via `assist review --high-level`, then report the verdict, the saved review path and any item comments
70
70
  - `/review-pr-comments` - Process PR review comments one by one
71
71
  - `/jira [action] [KEY] [args]` - Jira actions: `view`, `associate`, `update`, `started`, `done`, `help`. `[KEY]` is optional — it resolves from the session's backlog item
@@ -17,6 +17,7 @@ Copy each source to its target, relative to the repo root:
17
17
  | ---------------------------------- | --------------------------------- |
18
18
  | `scripts/init.mjs` | `.github/review-ci/init.mjs` |
19
19
  | `scripts/check.mjs` | `.github/review-ci/check.mjs` |
20
+ | `scripts/review.mjs` | `.github/review-ci/review.mjs` |
20
21
  | `review-ci.yml` | `.github/workflows/review-ci.yml` |
21
22
 
22
23
  For each pair:
@@ -42,4 +43,4 @@ Never overwrite a differing target without the user's confirmation.
42
43
 
43
44
  ## 4. Report
44
45
 
45
- List the files written or skipped, and remind the user to commit `.github/review-ci/` and `.github/workflows/review-ci.yml`. The workflow runs on `pull_request: opened` and fails at its check step, naming the problem, when a variable or the secret is unset or a model cannot be reached.
46
+ List the files written or skipped, and remind the user to commit `.github/review-ci/` and `.github/workflows/review-ci.yml`. The workflow runs on `pull_request: opened` and fails at its check step, naming the problem, when a variable or the secret is unset or a model cannot be reached. Its review step then posts the findings as a `COMMENT` review on the PR.
@@ -35,3 +35,6 @@ jobs:
35
35
 
36
36
  - name: Check review config
37
37
  run: node .github/review-ci/check.mjs
38
+
39
+ - name: Review PR
40
+ run: node .github/review-ci/review.mjs