The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
Install dependencies after creating worktree
Dotta472322de2413
diff --git a/cli/src/commands/worktree.ts b/cli/src/commands/worktree.tsindex d511881e78..8781b00888 100644--- a/cli/src/commands/worktree.ts+++ b/cli/src/commands/worktree.ts@@ -753,6 +753,19 @@ export async function worktreeMakeCommand(nameArg: string, opts: WorktreeMakeOptthrow new Error(extractExecSyncErrorMessage(error) ?? String(error));}+ const installSpinner = p.spinner();+ installSpinner.start("Installing dependencies...");+ try {+ execFileSync("pnpm", ["install"], {+ cwd: targetPath,+ stdio: ["ignore", "pipe", "pipe"],+ });+ installSpinner.stop("Installed dependencies.");+ } catch (error) {+ installSpinner.stop(pc.yellow("Failed to install dependencies (continuing anyway)."));+ p.log.warning(extractExecSyncErrorMessage(error) ?? String(error));+ }+const originalCwd = process.cwd();try {process.chdir(targetPath);