sync: PR #21 - MiMo compat fix, endpoint edit dedup, anti-stall Windows compat, AGENTS.md/CLAUDE.md

This commit is contained in:
Roman | RyzenAdvanced
2026-05-27 22:00:12 +04:00
Unverified
parent 825ec43580
commit 745d3f9eb1
3 changed files with 194 additions and 36 deletions

32
CLAUDE.md Normal file
View File

@@ -0,0 +1,32 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project
Codex Launcher — Any AI Provider. Run OpenAI Codex CLI & Desktop with any AI provider.
## Pre-Commit Checklist
- [ ] Run unit tests: `python -m pytest tests/ -v` (all must pass)
- [ ] Verify cross-platform: no `os.getpgid`, `/proc/`, `pgrep`, `SIGUSR*` without `sys.platform` guard
- [ ] Check syntax: `python -c "import py_compile; py_compile.compile('src/translate-proxy.py', doraise=True)"`
- [ ] No hardcoded Unix paths or Windows-only APIs without platform checks
- [ ] No secrets or API keys in source code
## Development Commands
```bash
# Run tests
python -m pytest tests/ -v
# Syntax check
python -c "import py_compile; py_compile.compile('src/translate-proxy.py', doraise=True)"
# Run proxy locally
python src/translate-proxy.py --port 8080
```
## Agent Guidelines
See @AGENTS.md for architecture details, platform compatibility rules, and coding conventions.