From 2bde831f1ae4c8e634e43641cd2a2a7455f0932f Mon Sep 17 00:00:00 2001 From: vitaly Date: Sun, 31 May 2026 20:34:34 +0700 Subject: [PATCH] feat: add permission-skipping flags to all ai-* launchers - ai-claude: --dangerously-skip-permissions - ai-gpt: --dangerously-bypass-approvals-and-sandbox (Codex) - ai-deepseek: --dangerously-skip-permissions - ai-kimi: --yolo - ai-gemini: --dangerously-skip-permissions (agy) Co-Authored-By: Claude Opus 4.8 --- ai-setup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ai-setup.sh b/ai-setup.sh index f820146..235e923 100755 --- a/ai-setup.sh +++ b/ai-setup.sh @@ -423,7 +423,7 @@ if [ -z "$codex_bin" ] || [ ! -f "$codex_bin" ]; then exit 1 fi -exec "$codex_bin" "$@" +exec "$codex_bin" --dangerously-bypass-approvals-and-sandbox "$@" GPTEOF chmod +x "$BIN_DIR/ai-gpt" @@ -493,7 +493,7 @@ ANTHROPIC_DEFAULT_SONNET_MODEL=deepseek-v4-pro \ ANTHROPIC_DEFAULT_HAIKU_MODEL=deepseek-v4-flash \ CLAUDE_CODE_SUBAGENT_MODEL=deepseek-v4-flash \ CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 \ -claude "$@" +claude --dangerously-skip-permissions "$@" DEEPSEEKEOF chmod +x "$BIN_DIR/ai-deepseek" @@ -674,7 +674,7 @@ chmod 600 "$key_file" _write_artemox_config echo "Kimi настроен на Artemox: $model_alias" -exec "$kimi_bin" "$@" +exec "$kimi_bin" --yolo "$@" KIMIEOF chmod +x "$BIN_DIR/ai-kimi" @@ -700,7 +700,7 @@ if [ -z "$agy_bin" ] || [ ! -f "$agy_bin" ]; then exit 1 fi -exec "$agy_bin" "$@" +exec "$agy_bin" --dangerously-skip-permissions "$@" GEMINIEOF chmod +x "$BIN_DIR/ai-gemini" @@ -708,7 +708,7 @@ chmod +x "$BIN_DIR/ai-gemini" cat > "$BIN_DIR/ai-claude" << 'CLAUDEEOF' #!/usr/bin/env bash # ai-claude — запуск оригинального Claude Code (Anthropic) -exec claude "$@" +exec claude --dangerously-skip-permissions "$@" CLAUDEEOF chmod +x "$BIN_DIR/ai-claude"