@staff0rd/assist 0.957.0 → 0.959.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 +2 -1
- package/claude/skills/review-ci/scripts/review.mjs +113 -113
- package/dist/commands/extension/extension/content.js +45 -47
- package/dist/commands/extension/extension/updates.json +2 -2
- package/dist/commands/sessions/web/bundle.js +496 -496
- package/dist/index.js +378 -265
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -357,6 +357,7 @@ Rules are `- **<code>** — **<title>** — <text>` bullets, the title optional,
|
|
|
357
357
|
- `assist prompts` - Show the most frequently denied tool calls
|
|
358
358
|
- `assist chart [--title <title>]` - Draw a terminal line chart of a `label value` series piped in on stdin, one pair per line
|
|
359
359
|
- `assist ask --title <title> --body <markdown|->` - Put a plan, summary or proposed decision in the session's web preview pane and wait for the user to approve or reject it; `--body -` reads stdin
|
|
360
|
+
- `assist ask-question --json <file|->` - Ask `AskUserQuestion` questions (1-4, each with 2-4 options, plus an Other free-text answer) as a form in the session's web preview pane and wait for the answers; prints the same result text as the built-in tool, exits non-zero when dismissed, and outside an assist session or with `sessions.askQuestion` off (the default) exits non-zero so Claude uses the built-in tool
|
|
360
361
|
- `assist show --body <markdown|-> [--title <title>]` - Render markdown in the session's web preview pane so long links, paths and code can be clicked and copied unbroken; `--body -` reads stdin
|
|
361
362
|
|
|
362
363
|
### Project setup
|
|
@@ -585,7 +586,7 @@ A restart kills every managed session's pty, which also kills any background tas
|
|
|
585
586
|
|
|
586
587
|
## assist browser extension
|
|
587
588
|
|
|
588
|
-
`assist extension` prints the directory to load unpacked. The extension is a Manifest V3 content script scoped to `https://github.com/*`, a [docs feedback](#docs-feedback) content script on `localhost`, plus a background script and an options page, built by `npm run build` from `src/commands/extension/` into `extension/content.js`, `docs.js`, `background.js` and `options.js` (gitignored). It adds an **Outline criteria** toggle to the markdown toolbar of an issue's body editor and the new-issue form, re-attaching after client-side navigation; pressing it hides the textarea and mounts the same `AcceptanceCriteriaOutline` control the web preview panel uses, in a shadow root with its own emotion cache and
|
|
589
|
+
`assist extension` prints the directory to load unpacked. The extension is a Manifest V3 content script scoped to `https://github.com/*`, a [docs feedback](#docs-feedback) content script on `localhost`, plus a background script and an options page, built by `npm run build` from `src/commands/extension/` into `extension/content.js`, `docs.js`, `background.js` and `options.js` (gitignored). It adds an **Outline criteria** toggle to the markdown toolbar of an issue's body editor and the new-issue form, re-attaching after client-side navigation; pressing it hides the textarea and mounts the same `AcceptanceCriteriaOutline` control the web preview panel uses, in a shadow root with its own emotion cache and the web UI's Slate theme (`createDesignTheme`). Every popover and the injected **assist** button use Slate's colours, radius and font stack (falling back along the stack, as no fonts are bundled), in light or dark following GitHub's `data-color-mode` and theme names, else the OS `prefers-color-scheme`, and switch when either changes. A body whose acceptance criteria are bullets, checkboxes or prose gets a **Convert to outline** button instead, and a body with no acceptance criteria heading gets **Add acceptance criteria**. Each edit is written back through `writeAcceptanceCriteria` into the textarea and dispatched as an `input` event, so GitHub's own Save pushes it.
|
|
589
590
|
|
|
590
591
|
1. Run `assist extension` — it prints the extension directory. Under WSL it copies the extension to `C:\tools\extension` and prints that Windows path instead; re-run and reload the extension after a rebuild.
|
|
591
592
|
2. Load the unpacked extension:
|