673ff752c5
- 新增 backend/pkg/plugins/ 共享模块:SDK 接口、PluginManager、ToolRegistry(含环形缓冲区调用日志) - 13 个通用插件从 plugin-manager 迁移至共享模块(import 路径统一) - ai-core 切换至共享 ToolRegistry,进程内执行(零网络开销),包装 6 个专属工具 - plugin-manager 迁移至共享模块,保留管理 REST API - 新增 DevTools 插件管理面板(侧边栏 → 🔌 插件管理) - 移除 tool-engine 服务(从 go.work、DevTools 配置、编译系统) - 工具调用记录 API 从 Tool-Engine 迁至 AI-Core(/api/v1/tools/calls) - ai-core ContextStore 启动时从 PostgreSQL 恢复会话历史 - 清理所有过时引用和备份文件 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
76 lines
1.7 KiB
Plaintext
76 lines
1.7 KiB
Plaintext
# ========== 依赖 ==========
|
|
node_modules/
|
|
|
|
# ========== 构建产物 ==========
|
|
dist/
|
|
*.exe
|
|
|
|
# ========== Go 编译二进制 ==========
|
|
backend/ai-core/main
|
|
backend/ai-core/cmd/main
|
|
backend/ai-core/ai-core
|
|
backend/gateway/main
|
|
backend/gateway/cmd/main
|
|
backend/gateway/cmd/gateway
|
|
backend/gateway/gateway
|
|
backend/iot-debug-service/main
|
|
backend/iot-debug-service/cmd/main
|
|
backend/iot-debug-service/iot-debug-service
|
|
backend/memory-service/main
|
|
backend/memory-service/cmd/main
|
|
backend/memory-service/memory-service
|
|
backend/tool-engine/main
|
|
backend/tool-engine/cmd/main
|
|
backend/tool-engine/cmd/tool-engine
|
|
backend/tool-engine/tool-engine
|
|
backend/voice-service/main
|
|
backend/voice-service/cmd/main
|
|
backend/voice-service/cmd/voice-service
|
|
backend/voice-service/voice-service
|
|
backend/cmd/
|
|
|
|
# ========== 运行时数据 ==========
|
|
logs/
|
|
*.log
|
|
*.pid
|
|
uploads/
|
|
backend/gateway/uploads/
|
|
data/
|
|
|
|
# ========== 环境与敏感配置 ==========
|
|
.env
|
|
backend/.env
|
|
models.json
|
|
thinking_schedule.json
|
|
platform_configs.json
|
|
.claude/
|
|
|
|
# ========== 文档 (项目规范:docs/ 不纳入版本管理,docs/api/ 为例外) ==========
|
|
docs/*
|
|
!docs/api/
|
|
|
|
# ========== 调试临时文件 (项目规范:debug/cache/ 为临时脚本目录) ==========
|
|
debug/cache/
|
|
debug/logs/
|
|
|
|
# ========== DevTools 运行时 ==========
|
|
devtools/node_modules/
|
|
devtools/logs/
|
|
devtools/package-lock.json
|
|
|
|
# ========== 语音服务外部依赖 (C++ 编译产物 / 模型文件) ==========
|
|
backend/voice-service/whisper.cpp/
|
|
backend/voice-service/models/
|
|
|
|
# ========== 打包归档 ==========
|
|
*.tar.gz
|
|
*.zip
|
|
|
|
# ========== 平台杂项 ==========
|
|
.DS_Store
|
|
Thumbs.db
|
|
scripts/tunnel.sh
|
|
|
|
# ========== 安卓项目 (该文件夹为安卓客户端项目目录,使用独立的 git 仓库) ==========
|
|
android/
|