From 7427c96fe8b031c29a4555fa5461de3b43484c16 Mon Sep 17 00:00:00 2001 From: tkgstrator <29420801+tkgstrator@users.noreply.github.com> Date: Sat, 12 Sep 2026 18:20:37 +0000 Subject: [PATCH] chore: sync VS Code tasks --- .vscode/tasks.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..60ca054 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,34 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "start-agents", + "type": "shell", + // Open the tmux session (orchestrator / implementer / codex) as soon as the + // folder opens. VS Code has no per-task property for terminal location, so the + // editor-area placement comes from "terminal.integrated.defaultLocation" in + // settings.json (microsoft/vscode#212070). + // + // Guarded because this file is copied into every project: repositories without + // .devcontainer/start-agents.sh must not get a failing task on open. + "command": "[ -x .devcontainer/start-agents.sh ] && exec .devcontainer/start-agents.sh || true", + "options": { + "cwd": "${workspaceFolder}" + }, + "runOptions": { + "runOn": "folderOpen" + }, + "presentation": { + "reveal": "always", + "panel": "dedicated", + // This terminal owns tmux: never auto-close it, and do not echo the command. + "echo": false, + "close": false, + "clear": true, + // Show it without stealing focus from the editor. + "focus": false + }, + "problemMatcher": [] + } + ] +}