@gw-tools/gw 0.29.1 → 0.30.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 +24 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,6 +8,7 @@ A command-line tool for managing git worktrees, built with Deno.
8
8
  - [Table of Contents](#table-of-contents)
9
9
  - [Quick Start](#quick-start)
10
10
  - [🎓 AI Skills (for Claude Code, Copilot, Cursor, etc.)](#-ai-skills-for-claude-code-copilot-cursor-etc)
11
+ - [🤖 Use as a Claude Code Agent](#-use-as-a-claude-code-agent)
11
12
  - [Initial Setup: Secrets in the Default Branch](#initial-setup-secrets-in-the-default-branch)
12
13
  - [First-Time Setup Flow](#first-time-setup-flow)
13
14
  - [Why This Matters](#why-this-matters)
@@ -156,6 +157,29 @@ Once installed, your AI agent can:
156
157
 
157
158
  📖 **Skill documentation:** [skills/README.md](../../skills/README.md)
158
159
 
160
+ ### 🤖 Use as a Claude Code Agent
161
+
162
+ Want Claude Code to autonomously implement features end-to-end? Install the autonomous workflow agent:
163
+
164
+ ```bash
165
+ # One-liner install (global)
166
+ mkdir -p ~/.claude/agents && \
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
169
+
170
+ # Or manually: copy the file from packages/autonomous-workflow-agent/agents/autonomous-workflow.md
171
+ # to ~/.claude/agents/ (global) or .claude/agents/ (per-project)
172
+ ```
173
+
174
+ Once installed, Claude will automatically use this agent when you ask it to implement features, and it will:
175
+
176
+ - Create isolated worktrees for each task
177
+ - Plan and implement incrementally
178
+ - Run tests and iterate until passing
179
+ - Create draft PRs with full context
180
+
181
+ 📦 **Building custom agents?** See [@gw-tools/autonomous-workflow-agent](https://www.npmjs.com/package/@gw-tools/autonomous-workflow-agent) for SDK integration.
182
+
159
183
  ## Initial Setup: Secrets in the Default Branch
160
184
 
161
185
  **Important:** Before using `gw checkout` with auto-copy, ensure your secrets and environment files exist in your `defaultBranch` worktree (typically `main`). This worktree is the **source** from which files are copied to new worktrees.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.29.1",
3
+ "version": "0.30.0",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",