@gw-tools/gw 0.52.1 → 0.52.3

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 +8 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -27,6 +27,7 @@ A command-line tool for managing git worktrees, built with Deno.
27
27
  - [Arguments](#arguments)
28
28
  - [Options](#options)
29
29
  - [Examples](#examples)
30
+ - [Staged Files](#staged-files)
30
31
  - [Auto-Copy Configuration](#auto-copy-configuration)
31
32
  - [Hooks](#hooks)
32
33
  - [cd](#cd)
@@ -161,17 +162,18 @@ Once installed, your AI agent can:
161
162
 
162
163
  Want Claude Code to autonomously implement features end-to-end? Install the autonomous workflow agent:
163
164
 
165
+ One-liner - installs agent and skill (global - works in all projects)
166
+
164
167
  ```bash
165
- # One-liner - installs agent and skill (global - works in all projects)
166
168
  mkdir -p ~/.claude/agents && \
167
169
  curl -fsSL https://raw.githubusercontent.com/mthines/gw-tools/main/packages/autonomous-workflow-agent/agents/autonomous-workflow.md \
168
170
  -o ~/.claude/agents/autonomous-workflow.md && \
169
171
  npx skills add https://github.com/mthines/gw-tools --skill autonomous-workflow --global --yes
170
172
 
171
- # Or manually: copy the file from packages/autonomous-workflow-agent/agents/autonomous-workflow.md
172
- # to ~/.claude/agents/ (global) or .claude/agents/ (per-project)
173
173
  ```
174
174
 
175
+ Or manually: copy the file from `packages/autonomous-workflow-agent/agents/autonomous-workflow.md` to `~/.claude/agents/` (global) or `.claude/agents/` (per-project)
176
+
175
177
  Once installed, Claude will automatically use this agent when you ask it to implement features, and it will:
176
178
 
177
179
  - Create isolated worktrees for each task
@@ -968,11 +970,14 @@ gw init git@github.com:user/repo.git
968
970
  5. Creates the default branch worktree (e.g., `main`)
969
971
  6. Automatically navigates to the repository directory (requires shell integration)
970
972
 
973
+ **Empty repositories** are handled automatically — if the remote has no branches or commits, `gw init` creates an initial commit on `gw_root` and sets up the default branch worktree from it.
974
+
971
975
  **Benefits:**
972
976
 
973
977
  - No need to manually run `git clone --bare` or `git worktree add`
974
978
  - Configuration is set up immediately
975
979
  - Ready to use `gw checkout` right away
980
+ - Works with both existing and empty repositories
976
981
 
977
982
  **Notes:**
978
983
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.52.1",
3
+ "version": "0.52.3",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",