@staff0rd/assist 0.587.0 → 0.588.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 CHANGED
@@ -300,6 +300,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
300
300
 
301
301
  - `assist netcap [-p, --port <port>] [-o, --out <dir>] [-f, --filter <pattern>]` - Capture browser network traffic to `capture.jsonl` under `--out` (default `~/.assist/netcap`), paired with the [netcap browser extension](#netcap-browser-extension)
302
302
  - `assist netcap extract-linkedin-posts [file]` - Parse a netcap capture into structured LinkedIn posts, written to `posts.json` beside the capture
303
+ - `assist criteria-extension` - Print the directory to load the [acceptance criteria outliner extension](#acceptance-criteria-outliner-extension) unpacked from (copies to `C:\tools\criteria-extension` under WSL)
303
304
  - `assist screenshot <process>` - Capture a screenshot of a running application window (`screenshot.outputDir`, default `./screenshots`)
304
305
  - `assist handover save --summary <s>` - Save a session handover note (content from stdin), scoped by the repo's git origin
305
306
  - `assist handover list` - List unrecalled handovers for this repo, most recent first
@@ -421,6 +422,16 @@ Web server changes only need the `assist sessions` process restarted — session
421
422
  - `branch.prefix` — when set (e.g. `sw`), `assist branch <slug>` prepends `<prefix>/` to the branch name
422
423
  - `branch.defaultBranch` — override the base branch, which is otherwise resolved live from the remote (`git ls-remote --symref origin HEAD`), falling back to `main`
423
424
 
425
+ ## Acceptance criteria outliner extension
426
+
427
+ `assist criteria-extension` prints the directory to load unpacked; nothing talks to assist at runtime. The extension is a single Manifest V3 content script scoped to `https://github.com/*`, built by `npm run build` from `src/commands/criteriaExtension/criteriaContentScript.tsx` into `criteria-extension/content.js` (gitignored). It adds an **Outline criteria** toggle to the markdown toolbar of an issue's body editor; 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 MUI theme. Each edit is written back through `writeAcceptanceCriteria` into the textarea and dispatched as an `input` event, so GitHub's own Save pushes it.
428
+
429
+ 1. Run `assist criteria-extension` — it prints the extension directory. Under WSL it copies the extension to `C:\tools\criteria-extension` and prints that Windows path instead; re-run and reload the extension after a rebuild.
430
+ 2. Load the unpacked extension:
431
+ - **Chrome**: open `chrome://extensions`, enable **Developer mode**, click **Load unpacked**, and select the extension directory.
432
+ - **Firefox**: open `about:debugging#/runtime/this-firefox` → **Load Temporary Add-on…** → pick `manifest.json` inside the printed extension directory.
433
+ 3. Open an issue, press **Edit** on the body, and press **Outline criteria**.
434
+
424
435
  ## netcap browser extension
425
436
 
426
437
  `assist netcap` only runs the receiver; the browser side is a raw Manifest V3 extension (no build step) under `netcap-extension/`. A MAIN-world content script patches `fetch`/`XMLHttpRequest` to capture `{url, method, status, requestBody, responseBody, timestamp}` and relays each entry to the background service worker, which POSTs it to the receiver. Forwarding happens in the background context, so the page's CSP (`connect-src`) never blocks it.
package/allowed.cli-reads CHANGED
@@ -32,6 +32,7 @@ assist complexity
32
32
  assist config get
33
33
  assist config keys
34
34
  assist config list
35
+ assist criteria-extension
35
36
  assist coverage
36
37
  assist daemon status
37
38
  assist dotnet
@@ -32,6 +32,7 @@ assist complexity
32
32
  assist config get
33
33
  assist config keys
34
34
  assist config list
35
+ assist criteria-extension
35
36
  assist coverage
36
37
  assist daemon status
37
38
  assist dotnet