File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "version" : " 2.0.0" ,
3+ "inputs" : [
4+ {
5+ "id" : " worktreeName" ,
6+ "type" : " promptString" ,
7+ "description" : " Worktree name (e.g. my-feature) — branch will be worktree-<name>"
8+ }
9+ ],
310 "tasks" : [
11+ // ============ Worktree Tasks ============
12+ {
13+ "label" : " worktree: create" ,
14+ "type" : " shell" ,
15+ "command" : " git worktree add \" .claude/worktrees/${input:worktreeName}\" -b \" worktree-${input:worktreeName}\" && code --new-window \" .claude/worktrees/${input:worktreeName}\" " ,
16+ "options" : {
17+ "cwd" : " ${workspaceFolder}"
18+ },
19+ "problemMatcher" : [],
20+ "presentation" : {
21+ "reveal" : " always" ,
22+ "panel" : " dedicated"
23+ }
24+ },
25+ {
26+ "label" : " worktree: remove" ,
27+ "type" : " shell" ,
28+ "command" : " git worktree remove \" .claude/worktrees/${input:worktreeName}\" " ,
29+ "options" : {
30+ "cwd" : " ${workspaceFolder}"
31+ },
32+ "problemMatcher" : [],
33+ "presentation" : {
34+ "reveal" : " always" ,
35+ "panel" : " dedicated"
36+ }
37+ },
438 // ============ Begin Tasks ============
539 {
640 "label" : " begin: serve (desktop)" ,
You can’t perform that action at this time.
0 commit comments