feat: add Dioxus and GPUI UI prototypes for framework comparison

Dioxus (ui-dioxus/): 2,169 lines, WebView mode (same wry as Tauri),
  Catppuccin theme, 12 components, agor-core integration, compiles clean.
  Evolution path — keeps xterm.js, gradual migration from Tauri.

GPUI (ui-gpui/): 2,490 lines, GPU-accelerated rendering, alacritty_terminal
  for native terminal, 17 files, Catppuccin palette, demo data.
  Revolution path — pure Rust UI, 120fps target, no WebView.

Both are standalone (not in workspace), share agor-core backend.
Created for side-by-side comparison to inform framework decision.
This commit is contained in:
Hibryda 2026-03-19 06:05:58 +01:00
parent 90c7315336
commit f3d2ca78ba
34 changed files with 17467 additions and 0 deletions

20
ui-gpui/Cargo.toml Normal file
View file

@ -0,0 +1,20 @@
[package]
name = "agor-gpui"
version = "0.1.0"
edition = "2021"
description = "GPU-accelerated Agent Orchestrator UI prototype using Zed's GPUI framework"
license = "MIT"
# Standalone — NOT part of the workspace Cargo.toml
# Build with: cd ui-gpui && cargo build
[workspace]
[dependencies]
gpui = "0.2"
agor-core = { path = "../agor-core" }
alacritty_terminal = "0.25"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["v4"] }
dirs = "5"