@staff0rd/assist 0.661.0 → 0.662.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/dist/commands/sessions/web/bundle.js +379 -379
- package/dist/index.js +28 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -276,7 +276,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
276
276
|
- `assist code-comment confirm <pin>` - Insert the pinned comment at its file/line and clear the pin state
|
|
277
277
|
- `assist db-migration unlock` - Page a human to approve creating the next new migration module, issuing a pin via desktop notification
|
|
278
278
|
- `assist db-migration confirm <pin>` - Confirm a pin from `db-migration unlock`, letting that migration's file write through once
|
|
279
|
-
- `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.
|
|
279
|
+
- `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.fragments` overrides a fragment's condition by name — `advice.fragments.verify false` drops it where its condition matched, `true` forces one in where it did not. Names 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 picks the key from a list of the real names with each fragment's title beside it, 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`
|
|
280
280
|
- `assist notify` - Show desktop notification from JSON stdin (macOS, Windows, WSL)
|
|
281
281
|
- `assist status-line` - Format Claude Code status line from JSON stdin
|
|
282
282
|
|