@staff0rd/assist 0.147.4 → 0.149.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 CHANGED
@@ -152,6 +152,7 @@ After installation, the `assist` command will be available globally. You can als
152
152
  - `assist seq query <filter> --json` - Output raw JSON
153
153
  - `assist seq query <filter> -n <count>` - Fetch a specific number of events (default 50)
154
154
  - `assist screenshot <process>` - Capture a screenshot of a running application window (e.g. `assist screenshot notepad`). Output directory is configurable via `screenshot.outputDir` (default `./screenshots`)
155
+ - `assist coverage` - Print global statement coverage percentage
155
156
  - `assist complexity <pattern>` - Analyze a file (all metrics if single match, maintainability if multiple)
156
157
  - `assist complexity cyclomatic [pattern]` - Calculate cyclomatic complexity per function
157
158
  - `assist complexity halstead [pattern]` - Calculate Halstead metrics per function
@@ -7,7 +7,9 @@ You are increasing test coverage for this project. Your goal is to pick the high
7
7
 
8
8
  ## Step 1: Measure current coverage
9
9
 
10
- Run coverage against all source files to identify what is untested:
10
+ Run `assist coverage` to get the current global statement coverage percentage.
11
+
12
+ Then run coverage with JSON output to identify what is untested:
11
13
 
12
14
  ```
13
15
  npx vitest run --coverage --coverage.include='src/**/*.ts' --coverage.all --coverage.reporter=json 2>&1
@@ -116,4 +118,4 @@ File | Before | After
116
118
  <file path> | 0% | 95%
117
119
  ```
118
120
 
119
- And the new repo-wide coverage number.
121
+ And the new repo-wide coverage number (run `assist coverage`).
@@ -49,6 +49,7 @@
49
49
  "Bash(assist ravendb auth list:*)",
50
50
  "Bash(assist seq query:*)",
51
51
  "Bash(assist seq auth list:*)",
52
+ "Bash(assist coverage:*)",
52
53
  "Bash(assist screenshot:*)",
53
54
  "Bash(assist roam show-claude-code-icon:*)",
54
55
  "SlashCommand(/verify)",