diff --git a/.opencode/tools/git-worktree-create.ts b/.opencode/tools/git-worktree-create.ts index c36f932..d0a89a8 100644 --- a/.opencode/tools/git-worktree-create.ts +++ b/.opencode/tools/git-worktree-create.ts @@ -5,11 +5,9 @@ export default tool({ description: "Create a git worktree for a branch or PR", args: { branch: tool.schema.string().describe("Branch name or PR number"), - directory: tool.schema.string().describe("Worktree directory name (optional)"), }, async execute(args) { - const worktreeDir = args.directory || args.branch - const result = await $`git worktree add ../worktrees/${worktreeDir} ${args.branch}`.text() + const result = await $`git worktree add ../worktrees/${args.branch}`.text() return result.trim() }, }) \ No newline at end of file