feat(vscode): добавлена автоматическая настройка прокси в WSL

- Зачем:
  - обеспечить корректную работу расширений VS Code через прокси-сервер без ручной правки переменных окружения.
- Что:
  - обновлен скрипт `server-env-setup`: добавлена проверка доступности `hproxy.local` через `getent`.
  - реализован автоматический экспорт переменных `HTTP_PROXY`, `HTTPS_PROXY`, `ALL_PROXY` и `NO_PROXY` (в обоих регистрах).
  - комментарии в скрипте переведены на русский язык.
  - в политики Gemini (`readonly-commands.toml`) добавлены разрешения для команд `ls`, `echo` и `[`.
- Проверка:
  - запуск `env | grep -i proxy` в терминале VS Code после перезагрузки окна.
This commit is contained in:
ddadmin committed 2026-03-11 10:41:35 +03:00
1 parent 2cefb484f6
commit c4484b8ce3
2 files changed
+41 -8

No files matched your search

@@ -126,12 +126,30 @@ commandPrefix = "tail "
decision = "allow"
priority = 100
[[rule]]
toolName = "run_shell_command"
commandPrefix = "ls "
decision = "allow"
priority = 100
[[rule]]
toolName = "run_shell_command"
commandPrefix = "cat "
decision = "allow"
priority = 100
[[rule]]
toolName = "run_shell_command"
commandPrefix = "echo "
decision = "allow"
priority = 100
[[rule]]
toolName = "run_shell_command"
commandPrefix = "[ "
decision = "allow"
priority = 100
[[rule]]
toolName = "run_shell_command"
commandPrefix = "sed -n "