Commit cdd5054
🐛 修复 MCP 发布后执行失败问题
1. 修复 CloudBase 导入兼容性问题
- 添加 allowSyntheticDefaultImports 支持 CommonJS 模块导入
- 解决 "o.default is not a constructor" 错误
2. 修复 TypeScript 编译错误
- 为 storage.ts 中的 progressData 参数添加类型注解
3. 优化构建配置
- 确保 webpack 打包后的 CLI 能正常运行
- 解决 ESM/CommonJS 混合使用的兼容性问题
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 954eb6f commit cdd5054
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments