Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
AI CLI terminal workspace for Windows developers - run claude / codex / shells / test commands side-by-side (Tauri + Rust + React + xterm.js)
Jump to setup instructionsFetched from the repository for this visit.
面向 Windows 开发者的 AI CLI 终端工作台 — 并行管理
claude/codex/ 常规 shell / 测试命令的桌面工作台(Tauri · Rust · React · xterm.js)。
Status: MVP · 自渲染 Claude/Codex 对话面板 · 真实 PTY(按项目隔离)· 多项目多主窗口 · 可弹出独立窗口 · WT 式分屏(每 pane 多 tab)· 内置 oh-my-posh + Nerd Font · 布局持久化
An AI CLI terminal workspace for Windows developers.
txuyStudio is a desktop workbench (built with Tauri + Rust + React + xterm.js) for running and managing AI CLI tools — claude, codex, regular shells, and test commands — side by side within a per-project workspace. It is not a general-purpose terminal replacement; the differentiation is a UI and workflow designed around AI-coding-CLI usage.
Status: MVP — self-rendered Claude/Codex conversation panes (with thinking blocks), real PTY with per-project isolation, multi-project workspaces with multi-window support, detachable project windows, Windows-Terminal-style pane splitting (draggable dividers) with per-pane multi-tab, a Typora-style notes pane, switchable themes + custom wallpaper with frosted-glass panels, bundled oh-my-posh + Nerd Font, TUI tool windows (lazygit/yazi/fresh) with install prompts, WT-style shortcuts, and persisted layouts are all implemented. Destructive-command protection and one-click task launching are on the roadmap.
To see it live: clone →
bun install→bun run tauri dev.
/compact, and ! inline PowerShell commands. The claude executable is auto-located — native installer (~/.local/bin, recommended), PATH, or legacy ~/.claude/local.paneTree model, persisted to state.json.claude, codex, and TUI tools (lazygit / yazi / fresh) panes; uninstalled tools prompt with install commands (winget/scoop/npm) instead of silently failing..note file in the project root, so it's git-friendly and readable/writable by claude/codex; auto-saves (debounced) and follows the global font size.midnight, One Dark) with matching terminal ANSI palettes. Themes are plain CSS-variable maps under [data-theme], so adding one is a single map + a terminal palette (see docs/theme-guide.md).portable-pty (Windows ConPTY) with a pooled TauriPtyTransport; the UI never calls PTY commands directly.oh-my-posh.exe + a Tokyo Night theme + a Nerd Font (CaskaydiaCove NF), so the prompt renders consistently on any Windows machine without depending on the user's local setup.Alt+Shift+- / Alt+Shift++ / Alt+Shift+arrows / Alt+Shift+W / Ctrl+Shift+T / Ctrl+Shift+W / Ctrl+Tab / Ctrl+Alt+1…9 (switch project).tauri-plugin-log writes to the app log dir (daily rotation), stdout, and the webview console.| Layer | Tech |
|---|---|
| Shell / Desktop | Tauri 2.x (Rust backend) |
| Frontend | React + TypeScript + Vite |
| Terminal | @xterm/xterm + @xterm/addon-fit |
| Styling | Tailwind CSS v4 (@tailwindcss/vite) |
| PTY | portable-pty (Windows ConPTY) |
| Relay (self-hostable) | Go (coder/websocket + modernc sqlite, no CGO) |
| Mobile companion | Flutter (mobile web) |
| Package manager | Bun |
src/
domain/ # Pure types & models (paneTree, sessions, transport interface, shellKinds, claude/codex stream reducers, bg)
components/ # AppShell, TopProjectBar, PaneSurface, StatusBar, TerminalPane, ClaudePane, CodexPane, NotesPane, HtmlPreviewPane, SettingsModal, ...
mock/ # Mock data (browser-only fallback)
src-tauri/
src/
pty/ # PTY registry (per-project buckets) + spawn/write/resize/kill commands
claude/ # Claude stream-json long-process sessions + event read loop
codex/ # Codex exec (per-turn short process + resume)
filetree/ # File-tree & read/write file commands (notes pane uses these)
state/ # AppState, persistence (state.json), pane-tree commands, window-aware hydrate
system/ # Read-only env queries (memory %, git branch, tool-install detection)
lib.rs # Tauri entry; registers plugins, commands & global window-event listener
relay/ # Self-hostable relay server (Go): routes encrypted frames, never decrypts
companion/app/ # Mobile companion (Flutter web): a second view of desktop sessions
docs/ # Theme guide + screenshot assets
Rust may not be on
PATHin a fresh PowerShell session. Add it if needed:$env:Path += ";C:\Users\<user>\.cargo\bin"
bun install # install dependencies
bun run tauri dev # daily dev: launches Vite (:1420) + Tauri window
Other commands:
bun run dev # frontend only (browser, falls back to mock data)
bun run build # frontend production build (tsc + vite build)
bun run tauri build # full release build -> src-tauri/target/release/txuy-studio.exe
cargo check # backend type/compile check (run inside src-tauri/)
The frontend dev server is pinned to port :1420 (strictPort) — Tauri depends on it. If a stale process holds the port, kill it before launching.
| Key | Action |
|---|---|
Alt+Shift+- | Split focused pane downward |
Alt+Shift++ | Split focused pane to the right |
Alt+Shift+↑↓←→ | Move focus to adjacent pane |
Alt+Shift+W | Close focused pane (neighbor refills) |
Ctrl+Shift+T | New tab in focused pane (copies current tab's shell kind) |
Ctrl+Shift+W | Close current tab |
Ctrl+Tab / Ctrl+Shift+Tab | Cycle tabs forward / backward |
Ctrl+Alt+1…9 | Switch to project N (by visible-project order) |
Ctrl+C | Copy when text is selected in a terminal pane; otherwise send ^C (interrupt) |
Right-click the top-bar project chip for "Open in new window" (detach) and other project actions. The gear in the bottom-left status bar opens the shortcuts/settings panel.
Terminal IO is decoupled behind a TerminalTransport interface (src/domain/terminalTransport.ts). TerminalPane depends only on this interface — it never calls Tauri PTY commands directly. Swapping backends means adding a new transport implementation; UI components stay unchanged.
Desktop ↔ Relay ↔ Companion. txuyStudio ships as three parts in one repo: the desktop app (this project), an optional relay server, and a mobile companion.
desktop (Tauri, all business logic) ──outbound WSS──> relay (dumb pipe) <── your phone (companion)
relay/README.md for deployment (systemd + TLS reverse proxy). Your code and tokens stay on machines you control.git reset --hard / git clean -fd interception)Implementation progress and the roadmap are listed above; ongoing tracking moves to GitHub Issues over time.
面向 Windows 开发者的 AI CLI 终端工作台。
txuyStudio 是一个桌面工作台(基于 Tauri + Rust + React + xterm.js),用于在同一个项目工作区内并行运行和管理 AI CLI 工具——claude、codex、常规 shell、测试命令。它不是通用终端替代品,差异化在于为「AI 编程 CLI 工作流」专门设计的界面与流程。
**当前阶段:**MVP——自渲染 Claude/Codex 对话面板(含思考块)、真实 PTY(按项目隔离)、多项目多主窗口工作区、可弹出独立项目窗口、Windows Terminal 式分屏(分隔线可拖拽调比例,每 pane 多 tab)、Typora 式笔记 Pane、可切换主题 + 自定义背景图玻璃化、内置 oh-my-posh + Nerd Font、TUI 工具窗口(lazygit/yazi/fresh,未安装则提示)、WT 式快捷键、布局持久化均已实现。危险命令保护、一键启动任务在路线图上。
本地体验:
git clone→bun install→bun run tauri dev。
/compact、! 内联 PowerShell。claude 可执行文件自动定位(原生安装包 ~/.local/bin,推荐 > PATH > 旧版 ~/.claude/local)。paneTree 模型持久化到 state.json。claude、codex 与 TUI 工具(lazygit / yazi / fresh)面板;未安装的工具弹安装命令提示(winget/scoop/npm),而非静默失败。.note 文件,可 git、可被 claude/codex 读写联动;防抖自动保存,字号跟随全局设置。midnight、One Dark),终端 ANSI 色板与之匹配。主题就是 [data-theme] 下的一组 CSS 变量映射,加一个主题只需一张变量表 + 一个终端色板(见 docs/theme-guide.md)。portable-pty(Windows ConPTY),前端 TauriPtyTransport 池化;UI 不直接调用 PTY 命令。oh-my-posh.exe + Tokyo Night 主题 + Nerd Font(CaskaydiaCove NF),任何 Windows 都得到一致 prompt,不依赖用户本机环境。Alt+Shift+- / Alt+Shift++ / Alt+Shift+方向 / Alt+Shift+W / Ctrl+Shift+T / Ctrl+Shift+W / Ctrl+Tab / Ctrl+Alt+1…9(切项目)。tauri-plugin-log 同时写入应用日志目录(按天轮转)、stdout、webview console。| 层级 | 技术 |
|---|---|
| 桌面外壳 | Tauri 2.x(Rust 后端) |
| 前端 | React + TypeScript + Vite |
| 终端 | @xterm/xterm + @xterm/addon-fit |
| 样式 | Tailwind CSS v4(@tailwindcss/vite) |
| PTY | portable-pty(Windows ConPTY) |
| 中继(可自建) | Go(coder/websocket + modernc sqlite,免 CGO) |
| 移动伴侣 | Flutter(移动网页端) |
| 包管理 | Bun |
src/
domain/ # 纯类型与领域模型(paneTree、sessions、transport 接口、shellKinds、claude/codex 流归并、bg)
components/ # AppShell、TopProjectBar、PaneSurface、StatusBar、TerminalPane、ClaudePane、CodexPane、NotesPane、HtmlPreviewPane、SettingsModal 等
mock/ # mock 数据(纯浏览器兜底)
src-tauri/
src/
pty/ # PTY 注册表(按项目分桶)+ spawn/write/resize/kill 命令
claude/ # Claude stream-json 长进程会话 + 事件读循环
codex/ # Codex exec(每轮短命进程 + resume)
filetree/ # 文件树与 read/write file 命令(笔记 Pane 复用)
state/ # AppState、持久化(state.json)、pane-tree 命令、按窗口 hydrate
system/ # 只读环境查询(内存%、git 分支、工具安装检测)
lib.rs # Tauri 入口;注册插件、命令与全局窗口事件监听
relay/ # 可自建中继服务(Go):只路由密文帧,永不解密
companion/app/ # 移动伴侣(Flutter 网页端):桌面会话的第二视图
docs/ # 主题扩展指南 + 截图资源
新开 PowerShell 会话时 Rust 可能不在
PATH上,按需添加:$env:Path += ";C:\Users\<user>\.cargo\bin"
bun install # 安装依赖
bun run tauri dev # 日常开发:启动 Vite(:1420)+ Tauri 窗口
其他命令:
bun run dev # 仅前端(浏览器环境,回退 mock 数据)
bun run build # 前端生产构建(tsc + vite build)
bun run tauri build # 完整 release 构建 -> src-tauri/target/release/txuy-studio.exe
cargo check # 后端类型/编译检查(在 src-tauri/ 下执行)
前端开发服务器固定监听 :1420(strictPort)——Tauri 依赖该端口。若有残留进程占用,启动前先清理。
| 键 | 动作 |
|---|---|
Alt+Shift+- | 焦点 pane 向下分屏 |
Alt+Shift++ | 焦点 pane 向右分屏 |
Alt+Shift+↑↓←→ | 焦点切到相邻 pane |
Alt+Shift+W | 关闭焦点 pane(邻居回填) |
Ctrl+Shift+T | 在焦点 pane 新建 tab(复制当前 tab 的 shell 种类) |
Ctrl+Shift+W | 关闭当前 tab |
Ctrl+Tab / Ctrl+Shift+Tab | 循环切 tab(前 / 后) |
Ctrl+Alt+1…9 | 切到第 N 个项目(按可见项目顺序) |
Ctrl+C | 终端里有选中文字时复制;无选中时发送中断(^C) |
右键顶栏项目 chip 可「在新窗口打开」(detach)等操作;状态栏左下角齿轮打开快捷键/设置面板。
终端 IO 通过 TerminalTransport 接口解耦(src/domain/terminalTransport.ts)。TerminalPane 只依赖该接口,不直接调用 Tauri PTY 命令。替换后端只需新增一个 transport 实现,UI 组件无需改动。
桌面端 ↔ 中继 ↔ 手机伴侣。 txuyStudio 一仓三端:桌面应用(本仓主体)、可选的中继服务、移动伴侣。
桌面端(Tauri,全部业务逻辑) ──出站 WSS──> 中继(哑管道) <── 手机(伴侣)
relay/README.md(systemd + TLS 反代)。代码与 token 全部留在你自己的机器上。git reset --hard / git clean -fd 拦截确认)实现进度与路线图见上方;后续跟踪逐步迁移到 GitHub Issues。
MIT — see LICENSE. 内置第三方资源(oh-my-posh、Cascadia Code Nerd Font)遵循各自许可证,详见 THIRD_PARTY_NOTICES.md。
GitHub checked 208h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.