При выборе Y скрипт проверяет TCP-коннект к IP:port каждого сервера
и показывает цветной статус:
- зелёный ✓ доступен
- красный ✗ недоступен
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
while read ломается на последней строке без переноса — loop body не выполняется.
Добавлен || [[ -n "$line" ]] для обработки EOF без trailing newline.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Добавлен сервер 202.148.54.122 (AmneziaVPN) с flow=xtls-rprx-vision
- Парсер VLESS URL: автоопределение типа транспорта (xhttp/tcp)
- Если flow указан → тип по умолчанию tcp
- Если flow пустой → тип по умолчанию xhttp
- Генератор конфига: xhttpSettings только для xhttp-транспорта
- Поле flow в users теперь берётся из URL (ранее было пустым)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
При выборе N (direct mode) теперь корректно откатываются:
- Системный прокси (gsettings mode 'none')
- Firefox прокси (network.proxy.type = 0)
- IPv6 включается обратно (удаление 99-disable-ipv6.conf + sysctl)
- xray стопается и дизейблится
Раньше браузеры оставались настроенными на мёртвый прокси после переключения с Y на N.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- ai-setup.sh now asks interactive Y/n prompt for vless mode
- On Y: installs xray + proxychains-ng, deploys configs, enables proxychains4 in all ai-* launchers
- On N: generates plain ai-* scripts without proxychains
- Templates moved to home-configs/xray/ and home-configs/proxychains/
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
bash return values are truncated to 0-255: 401 % 256 = 145, 429 % 256 = 173.
This caused _handle_api_response / _handle_openai_api_response to return 145
instead of 401, so the reauth prompt was never triggered and the script exited
silently with code 1.
Fix: use global _API_RET variable in both functions, read via ret=$_API_RET
in ai-deepseek and ai-kimi launchers.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Move GLOBAL_RULES.md to home-configs/ as single source of truth
- Add el-review and el-review-heavy skills for GitLab-style branch diff review
- Update ai-setup.sh to deploy skills to ~/.claude/skills/
- Update README and tests for new paths
- source helpers with 2>/dev/null || true and quoted /home/nikitenko path
- remove redundant reauth flag and extra prompt
- check that claude is installed before exec
- apply same source fix to ai-deepseek for consistency
- Replace native kimi CLI launcher with Claude Code + Kimi backend
- Update README description and permission flags
- Update test_isolated.sh and tests/test_fixes.sh for new ai-kimi logic
- _build_ai_sys_prompt сохраняет в ~/.codex/AGENTS.md + ~/.kimi-code/AGENTS.md
- ai-gpt, ai-kimi: убран неработающий --system-prompt, используют нативные AGENTS.md
- ai-setup.sh: шаблоны синхронизированы под новое поведение
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>