From 9291f7a564a682635fae79dc40a3801e064dc064 Mon Sep 17 00:00:00 2001 From: tkgstrator <29420801+tkgstrator@users.noreply.github.com> Date: Sat, 12 Sep 2026 18:20:26 +0000 Subject: [PATCH] chore: sync VS Code tasks --- .vscode/tasks.json | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2b00c70..60ca054 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,24 +2,33 @@ "version": "2.0.0", "tasks": [ { - "label": "Update Dependencies", + "label": "start-agents", "type": "shell", - "command": "act workflow_dispatch -W .github/workflows/update_dependencies.yaml --secret GITHUB_TOKEN=$(gh auth token)", + // 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}" }, - "problemMatcher": [], - "group": "test" - }, - { - "label": "Update Dependencies (Dry Run)", - "type": "shell", - "command": "act workflow_dispatch -W .github/workflows/update_dependencies.yaml --secret GITHUB_TOKEN=$(gh auth token) -n", - "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": [], - "group": "test" + "problemMatcher": [] } ] }