@staff0rd/assist 0.658.0 → 0.659.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 +3 -2
- package/dist/commands/sessions/web/bundle.js +391 -391
- package/dist/index.js +229 -157
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -228,6 +228,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
228
228
|
- `assist verify block-code-comments` - Fail on any comment on a changed line (`blockCodeComments.ignore`); machine directives exempt
|
|
229
229
|
- `assist verify forbidden-strings` - Check configured JSON files for disallowed values (`forbiddenStrings` rules)
|
|
230
230
|
- `assist verify config-keys` - Check every leaf key in `assistConfigSchema` is surfaced in some command's `--help` via `configHelp`
|
|
231
|
+
- `assist verify advice-fragments` - Check `adviceFragmentNames` matches the fragments shipped in `claude/advice`, so `advice.include`/`advice.exclude` can name every one and reject the rest
|
|
231
232
|
- `assist verify migrations` - Check bundled DB migrations are sequentially numbered, append-only, and free of unacknowledged destructive DDL
|
|
232
233
|
- `assist lint [-f, --fix]` - Run lint checks for conventions not enforced by oxlint
|
|
233
234
|
- `assist lint init` - Initialize oxlint with baseline linter config
|
|
@@ -270,7 +271,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
270
271
|
- `assist code-comment confirm <pin>` - Insert the pinned comment at its file/line and clear the pin state
|
|
271
272
|
- `assist db-migration unlock` - Page a human to approve creating the next new migration module, issuing a pin via desktop notification
|
|
272
273
|
- `assist db-migration confirm <pin>` - Confirm a pin from `db-migration unlock`, letting that migration's file write through once
|
|
273
|
-
- `assist advise [--hook] [--explain]` - Print the advice fragments from `claude/advice/*.md` that apply to the cwd's repo, each selected by its `when` condition against the merged config and repo facts, composed in filename order. A fragment body may interpolate `{{variable}}` placeholders — `verify.md` names the repo's own `verify*` run commands that way. `advice.include` and `advice.exclude` override a fragment's condition by name, `advice.verify` replaces the verify fragment's text and forces it in, and `advice.extra` is appended as a "Repo notes" section. `--hook` reads the SessionStart payload from stdin for the session's cwd and emits the markdown as `hookSpecificOutput.additionalContext`; `--explain` lists every shipped fragment with whether it was included and the reason. Claude Code gets this through the `assist advise --hook` SessionStart hook, Codex through `assist codex-hook` on its own `SessionStart` event, and pi through the `assist-advice.ts` extension, which composes on `session_start` and appends the markdown to the system prompt on `before_agent_start`
|
|
274
|
+
- `assist advise [--hook] [--explain]` - Print the advice fragments from `claude/advice/*.md` that apply to the cwd's repo, each selected by its `when` condition against the merged config and repo facts, composed in filename order. A fragment body may interpolate `{{variable}}` placeholders — `verify.md` names the repo's own `verify*` run commands that way. `advice.include` and `advice.exclude` override a fragment's condition by name — both are schema-validated against the shipped fragment set, so `assist config set` refuses an unknown name instead of writing one that silently never matches, the web `/config` page edits them as a checklist of the real names, and a hand-edited bad name fails on load like any other invalid enum value — `advice.verify` replaces the verify fragment's text and forces it in, and `advice.extra` is appended as a "Repo notes" section. `--hook` reads the SessionStart payload from stdin for the session's cwd and emits the markdown as `hookSpecificOutput.additionalContext`; `--explain` lists every shipped fragment with whether it was included and the reason. Claude Code gets this through the `assist advise --hook` SessionStart hook, Codex through `assist codex-hook` on its own `SessionStart` event, and pi through the `assist-advice.ts` extension, which composes on `session_start` and appends the markdown to the system prompt on `before_agent_start`
|
|
274
275
|
- `assist notify` - Show desktop notification from JSON stdin (macOS, Windows, WSL)
|
|
275
276
|
- `assist status-line` - Format Claude Code status line from JSON stdin
|
|
276
277
|
|
|
@@ -326,7 +327,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
326
327
|
- `assist handover load` - SessionStart hook entry point advising how many unrecalled handovers exist
|
|
327
328
|
- `assist mermaid export [file.md]` - Render each fenced mermaid block to `<stem>-<index>.svg` via [Kroki](https://kroki.io) (`--out`, `--index`, `mermaid.krokiUrl`)
|
|
328
329
|
- `assist prompts` - Show top 10 denied tool calls by frequency with count and repo breakdown
|
|
329
|
-
- `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. 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
|
|
330
|
+
- `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
|
|
330
331
|
|
|
331
332
|
### Project setup
|
|
332
333
|
|