refactor(core): 移除 UI 交互层,保持 core 为纯能力模块

- 删除 terminal.ts 及其测试(UI 交互应属于 cli 包)
- 清理 index.ts 中的 CLI 入口代码
- 合并 lib.ts 导出到 index.ts
- 移除 commander、inquirer 依赖
- 更新 package.json 导出配置
This commit is contained in:
2025-12-13 00:42:07 +08:00
parent 5b7d62e793
commit 5d4afecd48
5 changed files with 95 additions and 1212 deletions
+1
View File
@@ -55,6 +55,7 @@
"chalk": "^5.3.0",
"js-yaml": "^4.1.1",
"minimatch": "^10.1.1",
"nanoid": "^5.1.6",
"qwen-ai-provider-v5": "^1.0.2",
"simple-git": "^3.30.0",
"tree-sitter-bash": "^0.25.1",