File tree Expand file tree Collapse file tree 4 files changed +109
-0
lines changed Expand file tree Collapse file tree 4 files changed +109
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : AutoDev MPP
3+ slug : autodev-multiplatform
4+ ---
5+
6+ AutoDev MPP 是 AutoDev 的多平台版本,它基于 Kotlin 的 Multiplatform 技术,可以运行在 JVM、JS、Native 等多个平台之上。
7+
8+ - 远程 AI Agent 支持 🌐
9+ - 新增 CLI 应用
10+ - 新增 TUI 应用
11+ - 新增 Desktop 应用
12+ - 新增 Android 应用
13+ - 重构 IDEA 插件(TODO)
14+
15+ ## Renderer
16+
17+ ![ ] ( /img/next/renderer_architecture.svg ) )
18+
19+ 统一了所有平台的渲染器接口规范,确保跨平台一致性。
20+
21+ ** 统一接口:**
22+ - ** Kotlin** : ` CodingAgentRenderer ` (mpp-core/commonMain)
23+ - ** TypeScript** : ` JsCodingAgentRenderer ` (从 Kotlin 导出)
24+ - ** 基类** : ` BaseRenderer ` (Kotlin/TypeScript 双实现)
25+
26+ ** 渲染器实现:**
27+ | 渲染器 | 平台 | 继承关系 | 状态 |
28+ | --------| ------| ---------| ------|
29+ | ** CliRenderer** | Node.js CLI | extends BaseRenderer | ✅ 已统一 |
30+ | ** ServerRenderer** | mpp-server | extends BaseRenderer | ✅ 已统一 |
31+ | ** TuiRenderer** | React/Ink TUI | implements Interface | ✅ 特殊架构 |
32+ | ** ComposeRenderer** | Desktop/Android | extends BaseRenderer | ✅ 已统一 |
33+
Original file line number Diff line number Diff line change @@ -88,6 +88,12 @@ const config = {
8888 position : 'left' ,
8989 label : 'Agent' ,
9090 } ,
91+ {
92+ type : 'docSidebar' ,
93+ sidebarId : 'multiplatformSidebar' ,
94+ position : 'left' ,
95+ label : 'MultiPlatform' ,
96+ } ,
9197 {
9298 type : 'docSidebar' ,
9399 sidebarId : 'friendlySidebar' ,
Original file line number Diff line number Diff line change @@ -205,6 +205,9 @@ const sidebars = {
205205 ] ,
206206 } ,
207207 ] ,
208+ multiplatformSidebar : [
209+ 'mpp/index'
210+ ] ,
208211 friendlySidebar : [
209212 'ai-friendly/index' ,
210213 'ai-friendly/codebase' ,
You can’t perform that action at this time.
0 commit comments