mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 21:05:51 +00:00
将 src/services/weixin/ 中的纯业务逻辑迁入 @claude-code-best/weixin workspace 包,降低 src/ 耦合度。仅保留 server.ts 作为薄适配层。 - 迁移 7 个无修改的纯模块 (types/api/accounts/login/pairing/media/send) - monitor.ts 内联 PERMISSION_REPLY_RE 正则,解除对 src/ 的依赖 - permissions.ts 本地定义 ChannelPermissionRequestParams 接口 - cli.ts 拆分:serve 子命令通过回调注入,login/access 保留在包内 - server.ts 重写为从 @claude-code-best/weixin 导入 - 新增 cli-serve.ts 作为 serve 入口薄壳 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
205 lines
6.7 KiB
JSON
205 lines
6.7 KiB
JSON
{
|
|
"name": "claude-code-best",
|
|
"version": "1.4.4",
|
|
"description": "Reverse-engineered Anthropic Claude Code CLI — interactive AI coding assistant in the terminal",
|
|
"type": "module",
|
|
"author": "claude-code-best <claude-code-best@proton.me>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/claude-code-best/claude-code.git"
|
|
},
|
|
"homepage": "https://github.com/claude-code-best/claude-code#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/claude-code-best/claude-code/issues"
|
|
},
|
|
"keywords": [
|
|
"claude",
|
|
"anthropic",
|
|
"cli",
|
|
"ai",
|
|
"coding-assistant",
|
|
"terminal",
|
|
"repl"
|
|
],
|
|
"engines": {
|
|
"bun": ">=1.2.0"
|
|
},
|
|
"bin": {
|
|
"ccb": "dist/cli-node.js",
|
|
"ccb-bun": "dist/cli-bun.js",
|
|
"claude-code-best": "dist/cli-node.js"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages/@ant/*",
|
|
"packages/@anthropic-ai/*"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"scripts/postinstall.cjs",
|
|
"scripts/run-parallel.mjs",
|
|
"scripts/setup-chrome-mcp.mjs"
|
|
],
|
|
"scripts": {
|
|
"build": "bun run build.ts",
|
|
"build:vite": "vite build && bun run scripts/post-build.ts",
|
|
"build:vite:only": "vite build",
|
|
"build:bun": "bun run build.ts",
|
|
"dev": "bun run scripts/dev.ts",
|
|
"dev:inspect": "bun run scripts/dev-debug.ts",
|
|
"prepublishOnly": "bun run build",
|
|
"lint": "biome lint src/",
|
|
"lint:fix": "biome lint --fix src/",
|
|
"format": "biome format --write src/",
|
|
"prepare": "git config core.hooksPath .githooks",
|
|
"test": "bun test",
|
|
"check:unused": "knip-bun",
|
|
"health": "bun run scripts/health-check.ts",
|
|
"postinstall": "node scripts/run-parallel.mjs scripts/postinstall.cjs scripts/setup-chrome-mcp.mjs",
|
|
"docs:dev": "npx mintlify dev",
|
|
"typecheck": "tsc --noEmit",
|
|
"rcs": "bun run scripts/rcs.ts"
|
|
},
|
|
"dependencies": {
|
|
"@agentclientprotocol/sdk": "^0.19.0",
|
|
"@claude-code-best/mcp-chrome-bridge": "^2.0.8",
|
|
"ws": "^8.20.0"
|
|
},
|
|
"devDependencies": {
|
|
"@alcalzone/ansi-tokenize": "^0.3.0",
|
|
"@ant/model-provider": "workspace:*",
|
|
"@ant/claude-for-chrome-mcp": "workspace:*",
|
|
"@ant/computer-use-input": "workspace:*",
|
|
"@ant/computer-use-mcp": "workspace:*",
|
|
"@ant/computer-use-swift": "workspace:*",
|
|
"@anthropic-ai/bedrock-sdk": "^0.26.4",
|
|
"@anthropic-ai/claude-agent-sdk": "^0.2.114",
|
|
"@anthropic-ai/foundry-sdk": "^0.2.3",
|
|
"@anthropic-ai/mcpb": "^2.1.2",
|
|
"@anthropic-ai/sandbox-runtime": "^0.0.44",
|
|
"@anthropic-ai/sdk": "^0.80.0",
|
|
"@anthropic-ai/vertex-sdk": "^0.14.4",
|
|
"@anthropic/ink": "workspace:*",
|
|
"@aws-sdk/client-bedrock": "^3.1032.0",
|
|
"@aws-sdk/client-bedrock-runtime": "^3.1032.0",
|
|
"@aws-sdk/client-sts": "^3.1032.0",
|
|
"@aws-sdk/credential-provider-node": "^3.972.32",
|
|
"@aws-sdk/credential-providers": "^3.1032.0",
|
|
"@azure/identity": "^4.13.1",
|
|
"@biomejs/biome": "^2.4.12",
|
|
"@claude-code-best/agent-tools": "workspace:*",
|
|
"@claude-code-best/builtin-tools": "workspace:*",
|
|
"@claude-code-best/mcp-client": "workspace:*",
|
|
"@claude-code-best/weixin": "workspace:*",
|
|
"@commander-js/extra-typings": "^14.0.0",
|
|
"@growthbook/growthbook": "^1.6.5",
|
|
"@langfuse/otel": "^5.1.0",
|
|
"@langfuse/tracing": "^5.1.0",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"@opentelemetry/api": "^1.9.1",
|
|
"@opentelemetry/api-logs": "^0.214.0",
|
|
"@opentelemetry/core": "^2.7.0",
|
|
"@opentelemetry/exporter-logs-otlp-grpc": "^0.214.0",
|
|
"@opentelemetry/exporter-logs-otlp-http": "^0.214.0",
|
|
"@opentelemetry/exporter-logs-otlp-proto": "^0.214.0",
|
|
"@opentelemetry/exporter-metrics-otlp-grpc": "^0.214.0",
|
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.214.0",
|
|
"@opentelemetry/exporter-metrics-otlp-proto": "^0.214.0",
|
|
"@opentelemetry/exporter-prometheus": "^0.214.0",
|
|
"@opentelemetry/exporter-trace-otlp-grpc": "^0.214.0",
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.214.0",
|
|
"@opentelemetry/exporter-trace-otlp-proto": "^0.214.0",
|
|
"@opentelemetry/resources": "^2.7.0",
|
|
"@opentelemetry/sdk-logs": "^0.214.0",
|
|
"@opentelemetry/sdk-metrics": "^2.7.0",
|
|
"@opentelemetry/sdk-trace-base": "^2.7.0",
|
|
"@opentelemetry/semantic-conventions": "^1.40.0",
|
|
"@sentry/node": "^10.49.0",
|
|
"@smithy/core": "^3.23.15",
|
|
"@smithy/node-http-handler": "^4.5.3",
|
|
"@types/bun": "^1.3.12",
|
|
"@types/cacache": "^20.0.1",
|
|
"@types/he": "^1.2.3",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^25.6.0",
|
|
"@types/picomatch": "^4.0.3",
|
|
"@types/plist": "^3.0.5",
|
|
"@types/proper-lockfile": "^4.1.4",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-reconciler": "^0.33.0",
|
|
"@types/semver": "^7.7.1",
|
|
"@types/sharp": "^0.32.0",
|
|
"@types/shell-quote": "^1.7.5",
|
|
"@types/stack-utils": "^2.0.3",
|
|
"@types/turndown": "^5.0.6",
|
|
"@types/ws": "^8.18.1",
|
|
"ajv": "^8.18.0",
|
|
"asciichart": "^1.5.25",
|
|
"audio-capture-napi": "workspace:*",
|
|
"auto-bind": "^5.0.1",
|
|
"axios": "^1.15.0",
|
|
"bidi-js": "^1.0.3",
|
|
"cacache": "^20.0.4",
|
|
"chalk": "^5.6.2",
|
|
"chokidar": "^5.0.0",
|
|
"cli-boxes": "^4.0.1",
|
|
"cli-highlight": "^2.1.11",
|
|
"code-excerpt": "^4.0.0",
|
|
"color-diff-napi": "workspace:*",
|
|
"diff": "^8.0.4",
|
|
"emoji-regex": "^10.6.0",
|
|
"env-paths": "^4.0.0",
|
|
"execa": "^9.6.1",
|
|
"fflate": "^0.8.2",
|
|
"figures": "^6.1.0",
|
|
"fuse.js": "^7.3.0",
|
|
"get-east-asian-width": "^1.5.0",
|
|
"google-auth-library": "^10.6.2",
|
|
"he": "^1.2.0",
|
|
"highlight.js": "^11.11.1",
|
|
"https-proxy-agent": "^8.0.0",
|
|
"ignore": "^7.0.5",
|
|
"image-processor-napi": "workspace:*",
|
|
"indent-string": "^5.0.0",
|
|
"jsonc-parser": "^3.3.1",
|
|
"knip": "^6.4.1",
|
|
"lodash-es": "^4.18.1",
|
|
"lru-cache": "^11.3.5",
|
|
"marked": "^17.0.6",
|
|
"modifiers-napi": "workspace:*",
|
|
"openai": "^6.34.0",
|
|
"p-map": "^7.0.4",
|
|
"picomatch": "^4.0.4",
|
|
"plist": "^3.1.0",
|
|
"proper-lockfile": "^4.1.2",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.2.5",
|
|
"react-compiler-runtime": "^1.0.0",
|
|
"react-reconciler": "^0.33.0",
|
|
"rollup": "^4.60.2",
|
|
"semver": "^7.7.4",
|
|
"sharp": "^0.34.5",
|
|
"shell-quote": "^1.8.3",
|
|
"signal-exit": "^4.1.0",
|
|
"stack-utils": "^2.0.6",
|
|
"strip-ansi": "^7.2.0",
|
|
"supports-hyperlinks": "^4.4.0",
|
|
"tree-kill": "^1.2.2",
|
|
"turndown": "^7.2.4",
|
|
"type-fest": "^5.6.0",
|
|
"typescript": "^6.0.3",
|
|
"undici": "^7.25.0",
|
|
"url-handler-napi": "workspace:*",
|
|
"usehooks-ts": "^3.1.1",
|
|
"vite": "^8.0.8",
|
|
"vscode-jsonrpc": "^8.2.1",
|
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
"vscode-languageserver-types": "^3.17.5",
|
|
"wrap-ansi": "^10.0.0",
|
|
"xss": "^1.0.15",
|
|
"yaml": "^2.8.3",
|
|
"zod": "^4.3.6"
|
|
}
|
|
}
|