@staff0rd/assist 0.768.4 → 0.769.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
@@ -48,6 +48,7 @@ After installation, the `assist` command will be available globally. You can als
48
48
  - `/comment` - Add pending review comments to the current PR
49
49
  - `/commit` - Commit only relevant files from the session
50
50
  - `/devlog` - Generate devlog entry for the next unversioned day
51
+ - `/extension` - Get the install link for the assist browser extension
51
52
  - `/draft` - Draft a new backlog item with LLM-assisted questioning
52
53
  - `/fix-conflict [--rebase]` - Resolve the current PR branch's conflicts against the remote default; `--rebase` rebases instead of merging
53
54
  - `/fix-rules [dir]` - Put existing rules into the `## Rules` format `assist rules` reads
@@ -326,7 +327,7 @@ Rules are `- **<code>** — **<title>** — <text>` bullets, the title optional,
326
327
 
327
328
  - `assist netcap [-p, --port <port>] [-o, --out <dir>] [-f, --filter <pattern>]` - Capture browser network traffic under `--out` (default `~/.assist/netcap`), paired with the [netcap browser extension](#netcap-browser-extension)
328
329
  - `assist netcap extract-linkedin-posts [file]` - Parse a netcap capture into structured LinkedIn posts
329
- - `assist criteria-extension [--sign]` - Locate the [acceptance criteria outliner extension](#acceptance-criteria-outliner-extension) to load unpacked; `--sign` signs it for a permanent Firefox install
330
+ - `assist criteria-extension [--sign] [--url]` - Locate the [acceptance criteria outliner extension](#acceptance-criteria-outliner-extension) to load unpacked; `--sign` signs it for a permanent Firefox install; `--url` prints the latest signed build's download URL
330
331
  - `assist screenshot <process>` - Capture a screenshot of a running application window (`screenshot.outputDir`, default `./screenshots`)
331
332
  - `assist mermaid export [file.md]` - Render each fenced mermaid block to SVG via [Kroki](https://kroki.io) (`--out`, `--index`, `mermaid.krokiUrl`)
332
333
  - `assist prompts` - Show the most frequently denied tool calls
@@ -553,7 +554,7 @@ Firefox release and beta only install signed add-ons, so a permanent install mea
553
554
  Signing runs in CI, so the AMO key lives only as repo secrets and never on a developer machine. One-time setup: create an AMO API key at [addons.mozilla.org/developers/addon/api/key](https://addons.mozilla.org/en-US/developers/addon/api/key/) and add its two halves as the repo secrets `AMO_JWT_ISSUER` (the `user:12345678:123` issuer) and `AMO_JWT_SECRET`. The **Criteria extension** workflow maps them onto the `WEB_EXT_API_KEY` / `WEB_EXT_API_SECRET` that `web-ext` reads.
554
555
 
555
556
  1. Run the **Criteria extension** workflow from the Actions tab (`gh workflow run criteria-extension.yml`). It checks out `main`, builds, signs the extension at assist's current version, and uploads the signed add-on to that version's GitHub release as `criteria-extension.xpi`. A failed AMO submission fails the job and attaches nothing.
556
- 2. Download `criteria-extension.xpi` from the release — the URL follows from the version, `https://github.com/staff0rd/assist/releases/download/v<version>/criteria-extension.xpi`.
557
+ 2. Download `criteria-extension.xpi` from the release — the URL follows from the version, `https://github.com/staff0rd/assist/releases/download/v<version>/criteria-extension.xpi`. `assist criteria-extension --url` (or `/extension`) prints the latest signed build's URL, read from the update manifest on `main`.
557
558
  3. Open the `.xpi` in Firefox (drag it onto a window, or `about:addons` → gear → **Install Add-on From File…**). It survives restarts.
558
559
 
559
560
  AMO refuses a version it has already signed, which is why the staged manifest carries assist's version instead of the manifest's `1.0.0` placeholder — sign once per release, not twice at the same version.
@@ -0,0 +1,19 @@
1
+ ---
2
+ description: Get the install link for the assist browser extension
3
+ ---
4
+
5
+ Run:
6
+
7
+ ```
8
+ assist criteria-extension --url
9
+ ```
10
+
11
+ It prints the download URL of the latest signed Firefox build. If it fails, report the error and stop.
12
+
13
+ Show the link whole in the web preview pane:
14
+
15
+ ```
16
+ printf '%s\n' '[Install the assist browser extension](<url>)' '' 'Open it in Firefox and accept the install prompt. Once installed, the add-on updates itself.' | assist show --title 'assist browser extension' --body -
17
+ ```
18
+
19
+ Then reply with the URL and one line saying Firefox installs it permanently and keeps it updated.