[taskboard] allow swarm worktrees on mounted repos
This commit is contained in:
@@ -72,6 +72,8 @@ async function dispatchOpenClawTask(taskId: number) {
|
|||||||
throw new Error(`repo_not_available:${task.repo_slug}`);
|
throw new Error(`repo_not_available:${task.repo_slug}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await execFileAsync("git", ["config", "--global", "--add", "safe.directory", repoPath]);
|
||||||
|
|
||||||
const agentName = task.preferred_agent || "codex";
|
const agentName = task.preferred_agent || "codex";
|
||||||
const taskKey = `taskboard-${task.id}`;
|
const taskKey = `taskboard-${task.id}`;
|
||||||
const repoName = path.basename(repoPath);
|
const repoName = path.basename(repoPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user