refactor: 将 undici 移至运行时依赖

undici 仍被代理和 mTLS 逻辑按需 require,因此需要保留为运行时依赖。
This commit is contained in:
IronRookieCoder 2026-05-12 15:58:35 +08:00
parent b39887b2d3
commit c473fef8d8
2 changed files with 2 additions and 3 deletions

View File

@ -8,6 +8,7 @@
"@agentclientprotocol/sdk": "^0.19.0",
"@claude-code-best/mcp-chrome-bridge": "^2.0.8",
"gray-matter": "^4.0.3",
"undici": "^7.24.6",
"ws": "^8.20.0",
},
"devDependencies": {
@ -133,7 +134,6 @@
"turndown": "^7.2.2",
"type-fest": "^5.5.0",
"typescript": "^6.0.2",
"undici": "^7.24.6",
"url-handler-napi": "workspace:*",
"usehooks-ts": "^3.1.1",
"vite": "^8.0.8",

View File

@ -206,7 +206,6 @@
"turndown": "^7.2.2",
"type-fest": "^5.5.0",
"typescript": "^6.0.2",
"undici": "^7.24.6",
"url-handler-napi": "workspace:*",
"usehooks-ts": "^3.1.1",
"vite": "^8.0.8",
@ -237,4 +236,4 @@
"biome format --write --no-errors-on-unmatched"
]
}
}
}