@gw-tools/gw 0.54.0 → 0.55.0-beta.51.2
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 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -172,7 +172,6 @@ mkdir -p ~/.claude/agents && \
|
|
|
172
172
|
curl -fsSL https://raw.githubusercontent.com/mthines/gw-tools/main/packages/autonomous-workflow-agent/agents/autonomous-workflow.md \
|
|
173
173
|
-o ~/.claude/agents/autonomous-workflow.md && \
|
|
174
174
|
npx skills add https://github.com/mthines/gw-tools --skill autonomous-workflow --global --yes
|
|
175
|
-
|
|
176
175
|
```
|
|
177
176
|
|
|
178
177
|
Or manually: copy the file from `packages/autonomous-workflow-agent/agents/autonomous-workflow.md` to `~/.claude/agents/` (global) or `.claude/agents/` (per-project)
|
|
@@ -361,7 +360,7 @@ gw init --root /path/to/your/repo.git
|
|
|
361
360
|
- **hooks.checkout.pre**: Array of commands to run before creating a worktree
|
|
362
361
|
- **hooks.checkout.post**: Array of commands to run after creating a worktree
|
|
363
362
|
- **cleanThreshold**: Number of days before worktrees are considered stale for `gw clean` (optional, defaults to 7, set via `gw init --clean-threshold`)
|
|
364
|
-
- **autoClean**:
|
|
363
|
+
- **autoClean**: Silently remove stale worktrees in the background when running `gw checkout` or `gw list` (optional, defaults to false, set via `gw init --auto-clean`)
|
|
365
364
|
- **updateStrategy**: Default strategy for `gw update` command: "merge" or "rebase" (optional, defaults to "merge", set via `gw init --update-strategy`)
|
|
366
365
|
- **lastAutoCleanTime**: Internal timestamp tracking last auto-cleanup run (managed automatically, do not edit manually)
|
|
367
366
|
|
|
@@ -931,7 +930,7 @@ gw init [repository-url] [directory] [options]
|
|
|
931
930
|
- `--pre-checkout <command>`: Command to run before `gw checkout` creates a worktree (can be specified multiple times)
|
|
932
931
|
- `--post-checkout <command>`: Command to run after `gw checkout` creates a worktree (can be specified multiple times)
|
|
933
932
|
- `--clean-threshold <days>`: Number of days before worktrees are considered stale for `gw clean` (default: 7)
|
|
934
|
-
- `--auto-clean`: Enable
|
|
933
|
+
- `--auto-clean`: Enable silent background cleanup of stale worktrees (runs non-blocking on `gw checkout` and `gw list` with 24-hour cooldown)
|
|
935
934
|
- `--update-strategy <strategy>`: Set default update strategy: 'merge' or 'rebase' (default: merge)
|
|
936
935
|
- `-h, --help`: Show help message
|
|
937
936
|
|