@staff0rd/assist 0.730.1 → 0.731.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 +1 -1
- package/claude/advice/show-links.md +6 -0
- package/dist/commands/sessions/web/bundle.js +285 -285
- package/dist/index.js +206 -49
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -346,7 +346,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
346
346
|
- `assist mermaid export [file.md]` - Render each fenced mermaid block to `<stem>-<index>.svg` via [Kroki](https://kroki.io) (`--out`, `--index`, `mermaid.krokiUrl`)
|
|
347
347
|
- `assist prompts` - Show top 10 denied tool calls by frequency with count and repo breakdown
|
|
348
348
|
- `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
|
|
349
|
-
- `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. A later `show` replaces it. Outside a web session it prints the markdown to stdout
|
|
349
|
+
- `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`
|
|
350
350
|
|
|
351
351
|
### Project setup
|
|
352
352
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Showing long links, paths and snippets
|
|
3
|
+
when: always
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The terminal hard-wraps long lines, so a long URL, file path or code snippet in a reply can't be clicked or copied cleanly. When a reply contains one the user needs to open or copy, also pass it to `assist show --title '<title>' --body -` as markdown on stdin. It opens in the session's web preview pane, where it stays whole, and returns straight away; outside a web session it just prints the markdown.
|