{"_id":"@aidanhibbard/copse","name":"@aidanhibbard/copse","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@aidanhibbard/copse","type":"module","version":"0.0.1","packageManager":"npm@10.9.2","description":"Git worktree manager — create worktrees and open editors for parallel development","author":{"name":"aidanhibbard"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/aidanhibbard/copse.git"},"keywords":["git","worktree","cli","cursor","vscode","editor"],"bin":{"copse":"dist/index.mjs"},"scripts":{"build":"obuild ./src/index.ts","dev":"vitest dev","lint":"eslint .","lint:fix":"eslint . --fix","release":"npm run spec && npm run build && npm publish --access public && git push --follow-tags","spec":"npm run lint && npm run spec:types && npm run spec:coverage && npm run build","spec:coverage":"vitest run --coverage","spec:types":"tsc --noEmit --skipLibCheck","prepublishOnly":"npm run build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"dependencies":{"citty":"^0.2.1","consola":"^3.4.2"},"devDependencies":{"@antfu/eslint-config":"^7.7.2","@types/node":"^25.5.0","@vitest/coverage-v8":"^4.1.0","eslint":"^9.22.0","jiti":"^2.6.1","obuild":"^0.4.31","typescript":"^5.8.2","vitepress":"^1.6.3","vitest":"^4.1.0"},"gitHead":"4d690822979509455abc92f9b4590b738e942cd5","_id":"@aidanhibbard/copse@0.0.1","bugs":{"url":"https://github.com/aidanhibbard/copse/issues"},"homepage":"https://github.com/aidanhibbard/copse#readme","_nodeVersion":"25.8.1","_npmVersion":"11.11.1","dist":{"integrity":"sha512-t12iU+LwjPcD/vP54Xob5SofsTqItyPZdi0RnQPvpU1FbBuQyioq33vQfaBtfvPOEDfmQbzhw+yzdsssOhpC8A==","shasum":"38471244779682e0f2c2520472a60ed2297647e9","tarball":"https://registry.npmjs.org/@aidanhibbard/copse/-/copse-0.0.1.tgz","fileCount":17,"unpackedSize":26691,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC7tWeqDROdstIE5g2J4Nz/blWClOYUwwmnTk8AOwxmjwIgQpp4B5ccirgGDMCI9qfogaArQHQMEjSEds5ygq0eFQE="}]},"_npmUser":{"name":"aidanhibbard","email":"aidanchibbard@gmail.com"},"directories":{},"maintainers":[{"name":"aidanhibbard","email":"aidanchibbard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/copse_0.0.1_1773639381060_0.06797331675704665"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-16T05:36:20.946Z","0.0.1":"2026-03-16T05:36:21.199Z","modified":"2026-03-16T05:36:21.463Z"},"maintainers":[{"name":"aidanhibbard","email":"aidanchibbard@gmail.com"}],"description":"Git worktree manager — create worktrees and open editors for parallel development","homepage":"https://github.com/aidanhibbard/copse#readme","keywords":["git","worktree","cli","cursor","vscode","editor"],"repository":{"type":"git","url":"git+https://github.com/aidanhibbard/copse.git"},"author":{"name":"aidanhibbard"},"bugs":{"url":"https://github.com/aidanhibbard/copse/issues"},"license":"MIT","readme":"# Copse\n\n> /käps/ - a small group of trees.\n\n![GitHub Actions Workflow Status](https://github.com/AidanHibbard/copse/actions/workflows/ci.yml/badge.svg?branch=main)\n![NPM License](https://img.shields.io/npm/l/copse)\n![NPM Downloads](https://img.shields.io/npm/dw/copse)\n![NPM Version](https://img.shields.io/npm/v/copse)\n![NPM Unpacked Size](https://img.shields.io/npm/unpacked-size/copse)\n\nGit worktree manager — create worktrees and open editors for parallel development.\n\nWork on multiple features simultaneously, each in its own editor window. No more stashing, no more branch switching.\n\n## Install\n\n```bash\nnpm install -g @aidanhibbard/copse\n```\n\n## Usage\n\n### Create a worktree\n\n```bash\n# Create a worktree for a branch and open it in Cursor\ncopse add feature/auth\n\n# Use a different editor\ncopse add feature/api --editor code\n\n# Custom path\ncopse add feature/dashboard --path ./dashboard-wt\n\n# Create without opening an editor\ncopse add feature/tests --no-open\n```\n\n### List worktrees\n\n```bash\ncopse list\n```\n\n### Open an existing worktree\n\n```bash\n# Open in Cursor (default)\ncopse open feature/auth\n\n# Open in VS Code\ncopse open feature/auth --editor code\n```\n\n### Remove a worktree\n\n```bash\ncopse remove feature/auth\n\n# Force remove\ncopse remove feature/auth --force\n```\n\n## Supported Editors\n\n| Editor   | Flag value |\n| -------- | ---------- |\n| Cursor   | `cursor`   |\n| VS Code  | `code`     |\n| Zed      | `zed`      |\n| WebStorm | `webstorm` |\n| Neovim   | `nvim`     |\n| Vim      | `vim`      |\n\nAny other value is treated as a command name — pass whatever editor CLI you have on your PATH.\n\n## How It Works\n\nCopse wraps `git worktree` to manage worktrees as sibling directories:\n\n```\nprojects/\n├── my-repo/              # main worktree\n├── my-repo-feature-auth/ # copse add feature/auth\n├── my-repo-feature-api/  # copse add feature/api\n└── my-repo-fix-bug/      # copse add fix/bug\n```\n\nEach worktree gets its own directory with a full working copy, and copse opens it in a separate editor instance so you can work on features in parallel.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-33ddc7745e0823169c21bbf26463b4b2"}