@gw-tools/gw 0.30.2 โ†’ 0.31.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.
Files changed (2) hide show
  1. package/README.md +13 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -162,10 +162,11 @@ Once installed, your AI agent can:
162
162
  Want Claude Code to autonomously implement features end-to-end? Install the autonomous workflow agent:
163
163
 
164
164
  ```bash
165
- # One-liner install (global)
165
+ # One-liner - installs agent and skill (global - works in all projects)
166
166
  mkdir -p ~/.claude/agents && \
167
167
  curl -fsSL https://raw.githubusercontent.com/mthines/gw-tools/main/packages/autonomous-workflow-agent/agents/autonomous-workflow.md \
168
- -o ~/.claude/agents/autonomous-workflow.md
168
+ -o ~/.claude/agents/autonomous-workflow.md && \
169
+ npx skills add https://github.com/mthines/gw-tools --skill autonomous-workflow --global --yes
169
170
 
170
171
  # Or manually: copy the file from packages/autonomous-workflow-agent/agents/autonomous-workflow.md
171
172
  # to ~/.claude/agents/ (global) or .claude/agents/ (per-project)
@@ -1013,15 +1014,22 @@ gw init --auto-clean --auto-copy-files .env --post-checkout "pnpm install"
1013
1014
 
1014
1015
  - Prompts after `gw checkout` and `gw list` commands when stale worktrees are detected
1015
1016
  - Only prompts once per 24 hours (cooldown)
1016
- - **Never removes the `defaultBranch` worktree** - it's protected as the source for file syncing
1017
+ - **Never removes the `defaultBranch` or `gw_root` worktrees** - they're protected
1017
1018
  - Checks for worktrees older than `cleanThreshold` with:
1018
1019
  - No uncommitted changes
1019
1020
  - No staged files
1020
1021
  - No unpushed commits
1021
- - Shows interactive prompt when stale worktrees are found:
1022
+ - Shows list of branches before prompting:
1023
+
1022
1024
  ```
1023
- ๐Ÿงน Found 2 stale worktrees (7+ days old). Clean them up? [Y/n]:
1025
+ ๐Ÿงน Found stale worktrees to clean:
1026
+
1027
+ โœ— feat/old-feature (10 days old)
1028
+ โœ— fix/bug-123 (8 days old)
1029
+
1030
+ Clean 2 worktrees? [Y/n]:
1024
1031
  ```
1032
+
1025
1033
  - Press Enter or `y` to remove them, or `n` to skip
1026
1034
  - Shows brief summary after cleanup: `โœ“ Removed 2 stale worktrees`
1027
1035
  - Never interrupts or fails the main command
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.30.2",
3
+ "version": "0.31.0",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",