@staff0rd/assist 0.730.2 → 0.732.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 +3 -3
- package/claude/advice/show-links.md +6 -0
- package/dist/commands/sessions/web/bundle.js +285 -285
- package/dist/index.js +191 -63
- 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
|
|
|
@@ -510,13 +510,13 @@ releases:
|
|
|
510
510
|
|
|
511
511
|
## Next
|
|
512
512
|
|
|
513
|
-
The **Next** tab (`/next`) answers "what should I do next?" from the selected repo, across the GitHub repos that repo is configured to span. `next.repos` lists the
|
|
513
|
+
The **Next** tab (`/next`) answers "what should I do next?" from the selected repo, across the GitHub repos that repo is configured to span. `next.repos` lists the repos it reads, defaulting to the selected repo: an `owner/name` entry reads that repo, and a bare `owner` (an org or user) reads every unarchived repo it owns through GitHub search; set it per repo with `-g --repo` so each repo's Next view spans its own set. Across those repos it lists open, non-draft PRs authored by a login in `next.peers` or requesting your review, hiding peer PRs you approved at their current head commit, ordered by your latest review request (or creation, for an unrequested peer PR), oldest first. Below them come open issues assigned to you, oldest first. The header shows the current peers and repos, with the command for any that is unset.
|
|
514
514
|
|
|
515
515
|
The top item (peer PRs before issues) is shown as a hero with a line explaining why it was chosen, and every item shows its `owner/name#number`. Every item has **Start session** and **GitHub**. Start session runs in the local clone of the item's repo (matched by origin among the repos the web app knows), and is disabled when there is none: on a PR it opens the same review type dialog as the toolbar `prs` dropdown; on an issue it opens the new-session dialog prefilled with the issue reference. Opening `/?new=<text>&newCwd=<path>` prefills the new-session prompt and repo the same way. A source that fails to load, or one of its repos that cannot be read, shows its error in its own section without hiding the rest. Data comes from `GET /api/next?cwd=<repo>`, with gh results cached for 30s.
|
|
516
516
|
|
|
517
517
|
```bash
|
|
518
518
|
assist config set next.peers alice,bob -g --repo
|
|
519
|
-
assist config set next.repos
|
|
519
|
+
assist config set next.repos my-org,other/web -g --repo
|
|
520
520
|
```
|
|
521
521
|
|
|
522
522
|
## Parallel work
|
|
@@ -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.
|