mirror of
https://github.com/7836246/cursor2api.git
synced 2026-06-09 03:22:02 +08:00
feat: postinstall 自动安装 stealth-proxy 依赖和 Chromium
npm install 一把搞定,无需手动进 stealth-proxy 目录操作。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"description": "Proxy Cursor docs AI to Anthropic Messages API for Claude Code",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"postinstall": "cd stealth-proxy && npm install && npx playwright install chromium",
|
||||
"dev": "tsx watch src/index.ts",
|
||||
"dev:stealth": "node stealth-proxy/index.js & STEALTH_PROXY=http://127.0.0.1:3011 tsx watch src/index.ts",
|
||||
"build": "tsc",
|
||||
|
||||
Reference in New Issue
Block a user