11# DexDex Design
22
33DexDex is a cross-platform orchestration UI for CLI-based coding agents.
4- DexDex uses a Connect RPC-first architecture with Tauri clients and Rust servers.
4+ DexDex uses a Connect RPC-first architecture with Tauri clients and Go servers.
55This document is the primary architecture reference.
66
77## Product Overview
@@ -21,7 +21,7 @@ Primary outcomes:
2121## Product Goals
2222
23231 . Use Tauri as the desktop and mobile app container.
24- 2 . Use Rust for ` main-server ` and ` worker-server ` .
24+ 2 . Use Go for ` main-server ` and ` worker-server ` .
25253 . Use ` Workspace ` as the primary connectivity and scope concept.
26264 . Use UnitTask-centric workflows with nested SubTask and AgentSession history.
27275 . Make PR management and PR review assist first-class workflows.
@@ -58,7 +58,7 @@ Mobile is not a separate business-logic path.
5858```
5959 Connect RPC + Event Streams
6060┌───────────────────────┐ https://api endpoint ┌───────────────────────┐
61- │ Tauri Client │ <----------------------> │ Main Server (Rust) │
61+ │ Tauri Client │ <----------------------> │ Main Server (Go) │
6262│ (Desktop / iOS / │ │ - RPC API │
6363│ Android) │ │ - Workspace/Task/PR │
6464│ - React UI │ │ - Event broker │
@@ -68,7 +68,7 @@ Mobile is not a separate business-logic path.
6868 │ │ Connect RPC
6969 │ │
7070 │ ┌─────────▼──────────┐
71- │ │ Worker Server (Rust) │
71+ │ │ Worker Server (Go) │
7272 │ │ - Worktree exec │
7373 │ │ - Agent sessions │
7474 │ │ - Log stream │
@@ -83,10 +83,10 @@ Communication rule:
8383
8484## Monorepo Structure
8585
86- - ` apps/main-server/ ` (Rust )
87- - ` apps/worker-server/ ` (Rust )
86+ - ` apps/main-server/ ` (Go )
87+ - ` apps/worker-server/ ` (Go )
8888- ` apps/tauri-app/ ` (Tauri + React)
89- - shared Rust crates under ` crates/ ` with Cargo workspace management
89+ - shared crates and shared packages under ` crates/ `
9090
9191## Deployment Profiles
9292
0 commit comments