From 5592cbb1c4c5d57238e53b38c0486fd5852ca953 Mon Sep 17 00:00:00 2001 From: BaskDuan <133692311@qq.com> Date: Thu, 2 Apr 2026 22:56:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20postinstall=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=AE=89=E8=A3=85=20stealth-proxy=20=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=92=8C=20Chromium?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit npm install 一把搞定,无需手动进 stealth-proxy 目录操作。 Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 54b5e32..4f61234 100644 --- a/package.json +++ b/package.json @@ -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",