@staff0rd/assist 0.652.0 → 0.654.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 +2 -0
- package/claude/advice/assist-global.md +6 -0
- package/claude/advice/backlog-ids.md +6 -0
- package/claude/advice/backlog-prs.md +6 -0
- package/claude/advice/code-comments.md +6 -0
- package/claude/advice/drafting-messages.md +6 -0
- package/claude/advice/editing-files.md +6 -0
- package/claude/advice/jira-context.md +6 -0
- package/claude/advice/jira-smart-links.md +6 -0
- package/claude/advice/markdown.md +6 -0
- package/claude/settings.json +4 -1
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/index.js +715 -544
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -270,6 +270,7 @@ The Config tab of the sessions web dashboard never receives secret values: `GET
|
|
|
270
270
|
- `assist code-comment confirm <pin>` - Insert the pinned comment at its file/line and clear the pin state
|
|
271
271
|
- `assist db-migration unlock` - Page a human to approve creating the next new migration module, issuing a pin via desktop notification
|
|
272
272
|
- `assist db-migration confirm <pin>` - Confirm a pin from `db-migration unlock`, letting that migration's file write through once
|
|
273
|
+
- `assist advise [--hook]` - 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. `--hook` reads the SessionStart payload from stdin for the session's cwd and emits the markdown as `hookSpecificOutput.additionalContext`
|
|
273
274
|
- `assist notify` - Show desktop notification from JSON stdin (macOS, Windows, WSL)
|
|
274
275
|
- `assist status-line` - Format Claude Code status line from JSON stdin
|
|
275
276
|
|
|
@@ -440,6 +441,7 @@ A restart kills every managed session's pty, which also kills any background tas
|
|
|
440
441
|
- `prs.slack` — the Slack channel (e.g. `#example`) that `/prs-slack` posts pull requests to via the Slack MCP connector
|
|
441
442
|
- `prs.required` — when `true` (default `false`), `assist backlog run` cuts and records a fresh branch for a story that has no recorded branch at run start, so a new story never inherits the previous one's branch
|
|
442
443
|
- `prs.promptJira` — when `true` (default `false`), the `assist prs raise --help` `--resolves` guidance instructs asking the user for a Jira key
|
|
444
|
+
- `prs.promptGithub` — when `true` (default `false`), the `assist prs raise --help` `--resolves` guidance instructs asking the user for a GitHub issue (`#123`, `owner/repo#123`, or a github.com issue URL). With `prs.promptJira` also `true` the guidance asks for either, and a mixed `--resolves` list renders each value in its own form
|
|
443
445
|
- `prs.draft` — when `true` (default `false`), `assist prs raise` creates a draft PR. `--draft` and `--no-draft` override it in either direction; only the create path is affected, `assist prs edit` never changes an existing PR's draft state
|
|
444
446
|
- `readTime.wordsPerMinute` — nominal prose reading speed (default `200`) that `assist read-time` estimates with. The effective rate decays with document length, fitted to timed readings of real documents: ~88 wpm at 129 words, ~70 wpm at 485. Fenced code is scored at half the prose rate
|
|
445
447
|
- `prs.readingWordsPerMinute` — the same speed under the command's former name, read only when `readTime.wordsPerMinute` is unset
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Drafting messages to send on the user's behalf
|
|
3
|
+
when: always
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
When drafting a message to send on the user's behalf (Slack, PR, email, comment): state only the confirmed conclusion and the facts behind it. No hedging, no speculative next-steps, no fixes not agreed to, no pleasantries. Match the scope of what was asked — nothing added.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Editing files
|
|
3
|
+
when: always
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Always edit files with the Write and Edit tools. Never edit a file by shelling out — no `sed -i`, no heredoc rewrites, no Python or Node scripts that write the file. This overrides any session instruction that says to prefer Bash for file changes.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Editing Jira issues with Smart Links
|
|
3
|
+
when: jira
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
When editing a Jira issue whose description (or comment) contains Smart Links — rendered issue-key/URL chips, stored as ADF `inlineCard` nodes — edit via `editJiraIssue` with `contentFormat: "adf"` and emit real `inlineCard` nodes. Never round-trip such content through `contentFormat: "markdown"`: markdown has no representation for `inlineCard`, so every existing Smart Link is flattened to a plain browse URL and lost. Jira does not auto-promote plain browse URLs back into Smart Links, so the damage is not self-healing. Inspect the current stored ADF first and preserve existing `inlineCard` nodes when making a small edit. For anything beyond a trivial edit, build the ADF programmatically (a small script) rather than hand-authoring it inline — full-description ADF is verbose and easy to get wrong.
|
package/claude/settings.json
CHANGED
|
@@ -39,7 +39,10 @@
|
|
|
39
39
|
"SessionStart": [
|
|
40
40
|
{
|
|
41
41
|
"matcher": "",
|
|
42
|
-
"hooks": [
|
|
42
|
+
"hooks": [
|
|
43
|
+
{ "type": "command", "command": "assist handover load" },
|
|
44
|
+
{ "type": "command", "command": "assist advise --hook" }
|
|
45
|
+
]
|
|
43
46
|
}
|
|
44
47
|
]
|
|
45
48
|
},
|