@staff0rd/assist 0.745.0 → 0.746.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
@@ -347,6 +347,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
347
347
  - `assist mermaid export [file.md]` - Render each fenced mermaid block to `<stem>-<index>.svg` via [Kroki](https://kroki.io) (`--out`, `--index`, `mermaid.krokiUrl`)
348
348
  - `assist prompts` - Show top 10 denied tool calls by frequency with count and repo breakdown
349
349
  - `assist chart [--title <title>]` - Draw a terminal line chart of a `label value` series piped in on stdin, one pair per line, separated by a comma, tab or whitespace. Points are charted in the order given — nothing is sorted or aggregated — and the chart closes on q, Esc or Ctrl-C. The y axis fits the data range with 20% padding rather than starting at zero, so a series that only moves in its third decimal still reads as a shape; a flat series is padded so the line does not sit on the axis. Blank lines are skipped, fewer than two points prints `Not enough data points to chart.`, and a non-numeric value exits 1 naming the line
350
+ - `assist ask --title <title> --body <markdown|->` - Put a plan, summary or proposed decision in the session's web preview pane under a Review chip and block until the user approves or rejects it; `--body -` reads it from stdin. Inline comments (quote + note) attach to either decision. Approving exits 0 and prints each comment with its quoted excerpt; rejecting exits non-zero, printing the reason and every comment with advice to revise and re-run. An empty body is an error. Outside a web session it prints the markdown to stdout and exits 0
350
351
  - `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 it from stdin. It returns straight away and the pane stays open, with links opening in a new tab, until the user clicks Close. Inline and fenced code each get a copy-to-clipboard button. A later `show` replaces it, but a pending approval preview (PR, backlog item, Slack post and so on) is left in place and `show` exits non-zero saying so. An empty body is an error. Outside a web session it prints the markdown to stdout. The `show-links` advice fragment steers agents to use it; turn it off with `assist config set advice.sections.show-links false`
351
352
 
352
353
  ### Project setup
package/allowed.cli-reads CHANGED
@@ -64,6 +64,7 @@ assist sessions nodes
64
64
  assist sessions nodes doctor
65
65
  assist sessions nodes logs
66
66
  assist sessions output
67
+ assist ask
67
68
  assist show
68
69
  assist sql auth list
69
70
  assist sql columns