Skip to content

Commit 5130b70

Browse files
committed
feat: add auto-approve setting for chat tools and refactor path detection logic
1 parent 5cbef12 commit 5130b70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"editor.formatOnSave": true,
2020
"editor.defaultFormatter": "esbenp.prettier-vscode",
2121
"eslint.enable": true,
22-
"typescript.tsdk": "node_modules/typescript/lib"
22+
"typescript.tsdk": "node_modules/typescript/lib",
23+
"chat.tools.autoApprove": true
2324
}
2425
}
2526
},

.devcontainer/init-mounts.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ if ($launchedFrom -eq "Unknown") {
4242
Write-Host "VS Code edition (fallback detection): $launchedFrom"
4343
}
4444

45-
$activePath = Join-Path $env:APPDATA (if ($launchedFrom -match 'Insiders') { "Code - Insiders\User" } else { "Code\User" })
45+
$activeSubPath = if ($launchedFrom -match 'Insiders') { "Code - Insiders\User" } else { "Code\User" }
46+
$activePath = Join-Path $env:APPDATA $activeSubPath
4647
Write-Host "Active VS Code session data: $activePath"
4748

4849
# ── Ensure both mount source directories exist ───────────────────────────────

0 commit comments

Comments
 (0)