diff --git a/.gitignore b/.gitignore index d2b74d08c..c3c9a17bc 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,6 @@ .DS_Store /config.d/ /venv/ -CLAUDE.md -AGENTS.md +/CLAUDE.md +/AGENTS.md /.claude/ diff --git a/service/ccm/CLAUDE.md b/service/ccm/CLAUDE.md new file mode 100644 index 000000000..d339aece1 --- /dev/null +++ b/service/ccm/CLAUDE.md @@ -0,0 +1,13 @@ +# Claude Code Multiplexer + +### Reverse Claude Code + +Claude distributes a huge binary by default in a Bun, which is difficult to reverse engineer (and is very likely the one the user have installed now). + +You must obtain the npm version of the Claude Code js source code: + +Example: + +```bash +cd /tmp && npm pack @anthropic-ai/claude-code && tar xzf anthropic-ai-claude-code-*.tgz && npx prettier --write package/cli.js +``` diff --git a/service/ocm/CLAUDE.md b/service/ocm/CLAUDE.md new file mode 100644 index 000000000..986cb2673 --- /dev/null +++ b/service/ocm/CLAUDE.md @@ -0,0 +1,7 @@ +# OpenAI Codex Multiplexer + +### Reverse Codex + +Oh, Codex is just open source. + +Clone it and study its code: https://github.com/openai/codex