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:
BaskDuan
2026-04-02 22:56:28 +08:00
parent 59372c3775
commit 5592cbb1c4

View File

@@ -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",