# OpenAI API配置 OPENAI_API_KEY=your-openai-api-key-here OPENAI_MODEL=gpt-4-turbo-preview OPENAI_BASE_URL=https://api.openai.com/v1 # Anthropic API配置 ANTHROPIC_API_KEY=your-anthropic-api-key-here ANTHROPIC_MODEL=claude-3-5-sonnet-20241022 # 默认使用的LLM提供商 (openai | anthropic) DEFAULT_LLM_PROVIDER=openai # Puppeteer配置 PUPPETEER_HEADLESS=true PUPPETEER_TIMEOUT=30000 PUPPETEER_ARGS=--disable-web-security,--window-size=1920,1080 PUPPETEER_VIEWPORT=1920x1080 PUPPETEER_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 PUPPETEER_MAX_COLLECTED_URLS=10000 PUPPETEER_MAX_FILES_PER_COLLECT=200 PUPPETEER_MAX_TOTAL_CONTENT_SIZE=524288 PUPPETEER_MAX_SINGLE_FILE_SIZE=204800 PUPPETEER_USER_DATA_DIR=C:\\chrome-profile\\tdac-profile PUPPETEER_USE_STEALTH_SCRIPTS=true PUPPETEER_REUSE_ENV_PER_SESSION=true # External browser mode(可选) USE_EXTERNAL_BROWSER=false REMOTE_DEBUGGING_URL=http://127.0.0.1:9222 AUTO_LAUNCH_EXTERNAL_BROWSER=false EXTERNAL_BROWSER_PATH=C:\Program Files\Google\Chrome\Application\chrome.exe EXTERNAL_BROWSER_ARGS=--disable-features=AutomationControlled # MCP服务器配置 MCP_SERVER_NAME=jshook-reverse-tool MCP_SERVER_VERSION=0.1.0 # 日志配置 LOG_LEVEL=info LOG_FILE=logs/jshook.log # 缓存配置 ENABLE_CACHE=true CACHE_DIR=.cache CACHE_TTL=3600 # 性能配置 MAX_CONCURRENT_ANALYSIS=3 MAX_CODE_SIZE_MB=10 # 验证码检测配置 CAPTCHA_SCREENSHOT_DIR=./screenshots