日本語 | 中文 | Español | Français | हिन्दी | Italiano | Português (BR)
CommandUI
AI-native shell environment with semantic command review.
Install
The Microsoft Store product is an MSIX. The package name is mcp-tool-shop.CommandUI, x64 only. Partner Center signs the upload. The file this repo packs is unsigned, so it is the upload, not a double-click installer.
Until that upload is published, the installable build is still the MSI on GitHub Releases.
# Scoop
scoop bucket add mcp-tool-shop https://github.com/mcp-tool-shop-org/scoop-bucket
scoop install commandui
# winget
winget install mcp-tool-shop.CommandUI
Pack the Store upload from a release build of the desktop app:
pnpm --filter @commandui/desktop exec tauri build --no-bundle
./packaging/pack-msix.ps1
packaging/pack-msix.ps1 writes release/CommandUI__x64.msix. It keeps the package name, publisher, and executable already on the Store product, and it refuses a version that is not above 1.0.1.0.
What it does
- Real PTY shell sessions (not a wrapper, not a chatbot)
- Two input paths: direct terminal typing (freeform) + composer (structured/tracked)
- Semantic mode: describe intent → AI generates command → you review/edit/approve
- Risk-tiered confirmation: low (auto), medium (configurable), high (required)
- History with rerun, reopen-plan, and save-to-workflow actions
- Saved workflows: promote any command to a reusable workflow
- Project-scoped memory: learns preferences from repeated edits
- Multi-session tabs with per-session terminal streams
- Local-first SQLite persistence (history, plans, workflows, memory, settings)
- Classic vs Guided modes with real behavioral differences
What it is NOT
- Not a chatbot or autonomous agent
- Not a terminal emulator replacement
- Not the console.
apps/console is a second front end in this repo. The Store package is the desktop executable only.
Security
See SECURITY.md for the threat model and vulnerability reporting.
Workspace layout
commandui/
apps/desktop/ — Tauri v2 + React 19. This is the Store executable.
apps/console/ — Rust terminal front end on the same runtime. Not in the Store package.
crates/runtime-core/ — PTY, sessions, events
crates/runtime-persistence/ — SQLite
crates/runtime-planner/ — Local Ollama planner, mock fallback
packages/domain/ — Domain types
packages/api-contract/ — Request and response contracts
packages/state/ — Zustand stores
packages/ui/ — Shared UI primitives
packaging/msix/ — Store manifest and logos
Quick start
pnpm install
pnpm dev # Vite dev server
pnpm test # Run all tests
pnpm typecheck # TypeScript check
# Rust backend
cd apps/desktop/src-tauri
cargo test
Docs
Current status
v1.0.2 — desktop app on the shared Rust runtime. The planner calls a local Ollama model and falls back to a mock when Ollama is not running. The Store upload is the unsigned x64 MSIX of commandui-desktop.exe. The public GitHub release is still the v1.0.0 MSI.
Built by MCP Tool Shop.