@staff0rd/assist 0.314.0 → 0.315.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 +2 -0
- package/allowed.cli-reads +1 -0
- package/claude/settings.json +1 -2
- package/dist/allowed.cli-reads +1 -0
- package/dist/index.js +275 -185
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,6 +83,7 @@ After installation, the `assist` command will be available globally. You can als
|
|
|
83
83
|
- `assist backup [-o, --out <dir>]` - Write a dump of the entire backlog database to `<dir>/backup-<timestamp>.dump` (default dir `~/.assist/backups`, overridable via the `backup.dir` config key or `--out`) and record the dump's path and byte size in the backups table; on failure no row is recorded and the command exits with an error
|
|
84
84
|
- `assist backup schedule --every <duration>` - Install or update a marked crontab block that runs `assist backup` on a recurring cadence (e.g. `5m` → `*/5 * * * *`, `6h` → `0 */6 * * *`), appending output to `<backup.dir>/cron.log`; re-running with a new duration replaces the block without duplicating it. Durations cron cannot represent evenly (sub-minute, or non-divisor intervals like `90m`) are rejected
|
|
85
85
|
- `assist backup schedule status` - Print the active backup cadence and cron expression, or report that none is set
|
|
86
|
+
- `assist backup schedule remove` - Remove the marked backup schedule block from the crontab, leaving all other crontab lines intact (reports if none is set)
|
|
86
87
|
- `assist init` - Initialize project with VS Code and verify configurations
|
|
87
88
|
- `assist new vite` - Initialize a new Vite React TypeScript project
|
|
88
89
|
- `assist new cli` - Initialize a new tsup CLI project
|
|
@@ -164,6 +165,7 @@ The first backlog command in a repository that still has a local `.assist/backlo
|
|
|
164
165
|
- `assist verify init` - Add verify scripts to a project (writes to `assist.yml` by default; pass `--package-json` to write to `package.json` scripts instead)
|
|
165
166
|
- `assist verify hardcoded-colors` - Check for hardcoded hex colors in src/ (supports `hardcodedColors.ignore` globs in config)
|
|
166
167
|
- `assist verify comment-policy` - Flag comments added on changed lines (staged + unstaged) unless they carry a justification marker; supports `commentPolicy.markers` and `commentPolicy.ignore` globs in config
|
|
168
|
+
- `assist verify settings-guard` - Fail if any `permissions.allow` or `permissions.deny` entry in `claude/settings.json` references the `assist` binary (the hooks block is exempt)
|
|
167
169
|
- `assist lint [-f, --fix]` - Run lint checks for conventions not enforced by oxlint (use `-f` to auto-fix)
|
|
168
170
|
- `assist lint init` - Initialize oxlint with baseline linter config
|
|
169
171
|
- `assist refactor check [pattern]` - Check for files that exceed the maximum line count
|
package/allowed.cli-reads
CHANGED
package/claude/settings.json
CHANGED
|
@@ -83,11 +83,10 @@
|
|
|
83
83
|
"Skill(strip-comments)",
|
|
84
84
|
"SlashCommand(/strip-comments)",
|
|
85
85
|
"Bash(git ls-files:*)",
|
|
86
|
-
"Bash(assist backup schedule status:*)",
|
|
87
86
|
"WebFetch(domain:staffordwilliams.com)"
|
|
88
87
|
],
|
|
89
88
|
"deny": [
|
|
90
|
-
"Bash(npm run:*)"
|
|
89
|
+
"Bash(npm run:*)"
|
|
91
90
|
]
|
|
92
91
|
}
|
|
93
92
|
}
|