Skip to content

架构与目录

3. 顶层目录结构

text
.
├── apps/
│   ├── cli/                       # 无头演示程序
│   └── desktop/                   # Tauri + React 桌面应用
├── crates/                        # Rust 内核工作区,包含 24 个成员 crate
├── .deepagent/
│   ├── agents/                    # 工作区代理定义
│   ├── commands/                  # 工作区 slash/命令文件,如 review.md
│   └── skills/                    # 工作区技能资源,含 docx/pdf/pptx/xlsx/superpowers 等
├── .kiro/
│   ├── settings/                  # Kiro/MCP 示例配置
│   └── specs/                     # knowledge-base、office-agent、project-map 等规格文档
├── .github/workflows/             # CI 与桌面发布流水线
├── scripts/                       # 数据库观察、DeepSeek 探测、Kiro 自动确认等脚本
├── Cargo.toml                     # Rust workspace manifest
├── Cargo.lock
├── README.md
├── system-architecture.svg        # 早期架构图
├── system-business-flow.svg       # 早期业务流程图
└── 项目指南.md                    # 本文档

补充说明:

  • apps/desktop/src-tauri 故意不加入根 Cargo workspace。Tauri shell 有独立依赖树,避免污染内核 workspace。
  • DeepAgent_Studio_Official/ 当前为空目录或未被 rg --files 枚举,暂不承载运行逻辑。
  • .tmp/.pnpm-store/target/、IDE 目录属于本地构建或工具缓存,不应作为业务源代码理解。

4. 整体架构分层

39. Mermaid 总览图集

39.1 功能地图

39.2 数据边界

39.3 桌面启动

DeepSeek 原生 Agent Runtime Operating System