@staff0rd/assist 0.319.0 → 0.321.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
@@ -187,6 +187,7 @@ The first backlog command in a repository that still has a local `.assist/backlo
187
187
  - `assist cli-hook deny` - List all deny rules
188
188
  - `assist cli-hook deny add <pattern> <message>` - Add a deny rule for a command pattern
189
189
  - `assist cli-hook deny remove <pattern>` - Remove a deny rule by pattern
190
+ - `assist edit-hook` - PreToolUse hook that blocks `Edit`/`Write`/`MultiEdit` calls from adding, changing, or removing a `// assist-maintainability-override` marker
190
191
  - `assist update` - Update assist to the latest version and sync commands
191
192
  - `assist vscode init` - Add VS Code configuration files
192
193
  - `assist deploy init` - Initialize Netlify project and configure deployment
@@ -246,7 +247,7 @@ The first backlog command in a repository that still has a local `.assist/backlo
246
247
  - `assist complexity <pattern>` - Analyze a file (all metrics if single match, maintainability if multiple)
247
248
  - `assist complexity cyclomatic [pattern]` - Calculate cyclomatic complexity per function
248
249
  - `assist complexity halstead [pattern]` - Calculate Halstead metrics per function
249
- - `assist complexity maintainability [pattern]` - Calculate maintainability index per file (`--ignore <glob>`, repeatable, excludes extra files on top of `complexity.ignore`)
250
+ - `assist complexity maintainability [pattern]` - Calculate maintainability index per file (`--ignore <glob>`, repeatable, excludes extra files on top of `complexity.ignore`). A file can declare its own threshold with a `// assist-maintainability-override: N` comment in its first ~10 lines (integer 0-100); that value replaces the global `--threshold` for that file only and the output annotates it with `(override: N)`
250
251
  - `assist complexity sloc [pattern]` - Count source lines of code per file
251
252
  - `assist transcript configure` - Configure transcript directories
252
253
  - `assist transcript format` - Convert VTT files to formatted markdown transcripts
package/claude/CLAUDE.md CHANGED
@@ -8,7 +8,7 @@ When renaming TypeScript files or symbols, use the refactor commands instead of
8
8
  - `assist refactor rename symbol <file> <oldName> <newName>` — rename a variable, function, class, or type across the project
9
9
  - `assist refactor extract <file> <functionName> <destination>` — extract a function and its private dependencies to a new file
10
10
  All default to dry-run; add `--apply` to execute.
11
- When using extract, name the destination file after the exported function (e.g. `updateWorkerCapacity.ts` for `updateWorkerCapacity`) to satisfy `useFilenamingConvention` lint rules.
11
+ When using extract, name the destination file after the exported function (e.g. `updateWorkerCapacity.ts` for `updateWorkerCapacity`) to satisfy the `oxlint-rules/filenameConvention.ts` lint rule.
12
12
 
13
13
  Do not modify `claude/settings.json` without asking the user first. Only read-only commands should be added to the allow list — write operations (add, remove, set, delete) must require confirmation.
14
14
 
@@ -12,6 +12,10 @@
12
12
  {
13
13
  "matcher": "PowerShell",
14
14
  "hooks": [{ "type": "command", "command": "assist cli-hook" }]
15
+ },
16
+ {
17
+ "matcher": "Edit|Write|MultiEdit",
18
+ "hooks": [{ "type": "command", "command": "assist edit-hook" }]
15
19
  }
16
20
  ],
17
21
  "Notification": [