[taskboard] auto-dispatch telegram swarm tasks
This commit is contained in:
@@ -450,7 +450,7 @@ async function dispatchOpenClawTask(taskId: number): Promise<DispatchResult> {
|
||||
|
||||
await execFileAsync("git", ["config", "--global", "--add", "safe.directory", repoPath]);
|
||||
|
||||
const agentName = task.preferred_agent || "codex";
|
||||
const agentName = task.preferred_agent || task.assignee || "codex";
|
||||
const taskKey = `taskboard-${task.id}`;
|
||||
const repoName = path.basename(repoPath);
|
||||
const worktree = path.join(SWARM_WORKTREES_DIR, repoName, taskKey);
|
||||
|
||||
Reference in New Issue
Block a user