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>
30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"types": ["bun"],
|
|
"paths": {
|
|
"src/*": ["./src/*"],
|
|
"@claude-code-best/builtin-tools/*": ["./packages/builtin-tools/src/*"],
|
|
"@claude-code-best/builtin-tools": ["./packages/builtin-tools/src/index.ts"],
|
|
"@claude-code-best/mcp-client/*": ["./packages/mcp-client/src/*"],
|
|
"@claude-code-best/mcp-client": ["./packages/mcp-client/src/index.ts"],
|
|
"@claude-code-best/agent-tools/*": ["./packages/agent-tools/src/*"],
|
|
"@claude-code-best/agent-tools": ["./packages/agent-tools/src/index.ts"],
|
|
"@claude-code-best/weixin/*": ["./packages/weixin/src/*"],
|
|
"@claude-code-best/weixin": ["./packages/weixin/src/index.ts"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx", "packages/**/*.ts", "packages/**/*.tsx"],
|
|
"exclude": ["node_modules"]
|
|
}
|