Add persistent context files and cleanup stale references

- Add CONTEXT.md: Full infrastructure documentation with architecture diagram,
  routing table, network details, common operations, and important limitations
- Add CLAUDE.md: Project-level context for AI agents working in this codebase
- Add global-claude-md/CLAUDE.md: User-level global context for ~/.claude/
- Delete nginx-ai-proxy.conf: Unused, Caddy replaced nginx on big-server
- Update deploy.sh: Remove stale nginx setup step, update domain to ai.ein-softworks.com
- Update README.md: Remove nginx-ai-proxy.conf from files list, update domain,
  and remove leaked auth token from example

Context files provide persistent reference for AI coding sessions across
all projects and the ein-ai-proxy codebase specifically.
This commit is contained in:
William Stuckey
2026-03-26 18:22:48 -05:00
parent 2e71fda765
commit 3cfc7cffeb
6 changed files with 293 additions and 65 deletions
+3 -16
View File
@@ -81,32 +81,19 @@ else
exit 1
fi
# --- Step 5: Nginx setup reminder ---
echo "[5/5] Nginx setup:"
echo ""
echo " 1. Create DNS A record: ai.maybe.zone -> $(curl -s ifconfig.me 2>/dev/null || echo 'YOUR_IP')"
echo ""
echo " 2. Install the nginx config:"
echo " sudo cp $PROXY_DIR/nginx-ai-proxy.conf /etc/nginx/sites-available/ai-proxy"
echo " sudo ln -sf /etc/nginx/sites-available/ai-proxy /etc/nginx/sites-enabled/"
echo " sudo nginx -t && sudo systemctl reload nginx"
echo ""
echo " 3. Get SSL cert:"
echo " sudo certbot --nginx -d ai.maybe.zone"
echo ""
echo "============================================"
echo " Deployment complete!"
echo "============================================"
echo ""
echo " Proxy running at: http://127.0.0.1:3100"
echo " After nginx+SSL: https://ai.maybe.zone"
echo " Public URL: https://ai.ein-softworks.com"
echo ""
echo " --- Client Setup ---"
echo ""
echo " Claude Code CLI (~/.claude/settings.json):"
echo ' {'
echo ' "env": {'
echo " \"ANTHROPIC_BASE_URL\": \"https://ai.maybe.zone\","
echo " \"ANTHROPIC_BASE_URL\": \"https://ai.ein-softworks.com\","
echo " \"ANTHROPIC_AUTH_TOKEN\": \"$AUTH_TOKEN\","
echo ' "API_TIMEOUT_MS": "3000000"'
echo ' }'
@@ -115,7 +102,7 @@ echo ""
echo " Roo Code (VS Code):"
echo " Provider: Anthropic"
echo " API Key: $AUTH_TOKEN"
echo " Custom Base URL: https://ai.maybe.zone"
echo " Custom Base URL: https://ai.ein-softworks.com"
echo ""
echo " Model routing:"
echo " Sonnet requests -> GLM-4.7 (Z.ai)"