2026-08-21 16:33:23 +08:00

32 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Runtime
Runtime 是本地常驻的唯一运行宿主负责状态写入、Agent 执行与 Tool 调用。CLI、Web、Desktop 都是它的客户端。
## 工程与包边界
- 期望实现阶段P1
- 实际开发状态:未开始
- 已确认点TypeScript + Node.js + monorepoRuntime、客户端与共享边界需要清晰。
- 待确认点Node 版本、包管理器、monorepo 工具、首批包的职责与依赖方向。
## 常驻进程
- 期望实现阶段P1
- 实际开发状态:未开始
- 已确认点Runtime 从第一天起独立常驻CLI 日常启动时自动连接,必要时自动拉起。
- 待确认点:单实例检测、启动/停止、健康检查、日志位置和异常退出行为。
## 本地通信
- 期望实现阶段P1
- 实际开发状态:未开始
- 已确认点:客户端不直接读写 Agent 数据;协议不绑定 CLI并应能支持流式输出。
- 待确认点HTTP + SSE、Unix Socket 或其他本地 RPC 方案。
## Runtime 服务边界
- 期望实现阶段P1
- 实际开发状态:未开始
- 已确认点Runtime 负责 Space、Conversation、Run、本地数据、Agent Behavior 与 Tool 执行。
- 待确认点:首版内部模块边界,以及哪些能力进入微内核、哪些保留为可替换实现。