Thanks for your interest in improving AgentPanel! This is a Tauri 2 (Rust) + React/TypeScript desktop app. Contributions of all sizes are welcome — bug reports, fixes, features, and docs.
See the README for prerequisites (Rust stable, Node 20.19+ (20.x) or 22.12+, and the per-OS Tauri prerequisites). Then:
npm install
npm run tauri dev # run in development with hot reloadsrc-tauri/— Rust core:pty.rs(PTY/ConPTY sessions),git.rs(worktree ops),gh.rs(PR/CI),watcher.rs(file watching),commands.rs(the Tauri command surface),store.rs(persistence).src/— React + TypeScript:state/(Zustand store),Terminal.tsx(xterm.js + WebGL),components/,themes/.docs/user-guide.md— user workflows and troubleshooting. Update it and the README when changing terminal lifecycle, setup, or supported actions.docs/dev/— internal design notes, UX research, and plans.
Please make sure the checks below pass locally — CI runs the same on Windows and macOS.
npm test # frontend unit tests (Vitest)
npx tsc --noEmit # TypeScript type-check
cargo test --manifest-path src-tauri/Cargo.toml # Rust tests
cargo build --manifest-path src-tauri/Cargo.toml # Rust compilesIf your change touches UI behavior, please also verify it in a running build (npm run tauri dev)
and describe what you checked in the PR — type-checks and unit tests don't catch render-time issues.
The isolated Ghostty feasibility harness is separate from the production terminal. See the
spike report and reproduction steps before
changing renderers. npm run build:ghostty-spike builds the experiment; npm run build
continues to build AgentPanel with xterm.js. The renderer adapter report
describes the shared boundary, bounded experimental ingestion, current capability limits and
new adapter probes. Keep Ghostty imports confined to the experimental graph and never use
plain diagnostic text as a substitute for replayable styled history. The later
history/wrap extension report and
pinned rebuild workflow describe the maintained metadata
ABI1 candidate; the unmodified npm package remains the historical comparison.
- Branch off
main; keep PRs focused on one logical change. - Write a clear description of what changed and why. Link any related issue.
- Match the surrounding code's style, naming, and comment density. There's no separate formatter step to run — keep diffs minimal and idiomatic.
- The Rust core is intentionally platform-agnostic. Gate OS-specific code behind
#[cfg(...)]and preserve behavior parity between Windows and macOS where practical.
Use the issue templates. For security issues, do not open a public issue — see SECURITY.md.
By contributing, you agree that your contributions will be licensed under the MIT License.