Commit Graph

18 Commits

Author SHA1 Message Date
8979313467 feat: optional built-in vless/xray with proxychains4 toggle
- 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>
2026-06-05 08:38:03 +07:00
c68aff4725 fix: use _API_RET global var instead of bash return for HTTP codes > 255
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>
2026-06-04 23:24:02 +07:00
Виталий Никитенко
81a7b024ee feat: add home-configs with auto-deployed Claude skills
- 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
2026-06-04 19:02:37 +07:00
Виталий Никитенко
de7373210c fix(ai-kimi): add source fallback, simplify reauth, check claude presence
- 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
2026-06-03 10:05:45 +07:00
Виталий Никитенко
526b745cb3 refactor: switch ai-kimi to official Kimi API via Claude Code
- 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
2026-06-02 20:03:15 +07:00
Виталий Никитенко
418a5ef6d5 fix: add npm fallback for Codex install when curl gets 403 from Cloudflare
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 10:05:19 +07:00
eeeab3dc2d Remove stale Claude-specific labels 2026-06-02 01:03:37 +07:00
3f9fe30cf0 Extract global rules into markdown file 2026-06-02 00:53:16 +07:00
eb5af7c62c Write native agent rules during setup 2026-06-01 17:27:45 +00:00
b1c585a34c Update AI setup rules and documentation 2026-06-01 16:56:26 +00:00
7814fdd5b2 Add global AI quality rules 2026-06-01 16:42:58 +00:00
25a0512d34 fix: единый источник правил для всех ai-* агентов
- _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>
2026-05-31 23:04:38 +07:00
29f3b76dd2 fix: исправление проброса переменных окружения в ai-deepseek 2026-05-31 21:44:56 +07:00
93b9fbb43b feat: внедрена автогенерация глобальных правил ИИ-агентов и очистка AGENTS.md 2026-05-31 21:36:22 +07:00
2bde831f1a 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 <noreply@anthropic.com>
2026-05-31 20:34:34 +07:00
e50876f616 feat: configure ai-kimi with Artemox API 2026-05-31 20:02:38 +07:00
c888056a7a Fix: correct cleanup logic that accidentally deleted new ai-gpt and ai-kimi scripts 2026-05-31 19:22:08 +07:00
f38915eab2 Refactor: rename setup script to ai-setup.sh and update all references 2026-05-31 19:09:50 +07:00