fix: 修复 main 文件及 "production" 的问题

This commit is contained in:
claude-code-best
2026-04-07 10:53:45 +08:00
parent dab0783941
commit a7d9a220bf
8 changed files with 6747 additions and 6356 deletions

View File

@@ -28,7 +28,7 @@ export const TestingPermissionTool: Tool<InputSchema, string> = buildTool({
return 'TestingPermission'
},
isEnabled() {
return "production" === 'test'
return process.env.NODE_ENV === 'test'
},
isConcurrencySafe() {
return true