diff --git a/desktop/AGENTS.md b/desktop/AGENTS.md index d9291cc27..e56751405 100644 --- a/desktop/AGENTS.md +++ b/desktop/AGENTS.md @@ -1,18 +1,19 @@ # radicle-desktop Tauri desktop app for Radicle. Svelte 5 frontend communicates with a Rust -backend via Tauri IPC commands. TypeScript types are generated from Rust -structs using ts-rs (`crates/radicle-types/`). +backend via Tauri IPC commands. TypeScript types are generated from Rust structs +using ts-rs (`crates/radicle-types/`). The app lives in `desktop/` of the radicle-gui monorepo. It is its own npm package and Cargo workspace: run every command here from `desktop/`, and all -paths in this file are relative to it. Conventions shared with explorer -are in the root `AGENTS.md`. +paths in this file are relative to it. Conventions shared with explorer are in +the root `AGENTS.md`. ## Svelte syntax and aliases - Svelte 5 with runes syntax (`$state`, `$derived`, `$props`, `$effect`) -- Path aliases: `@app` (src), `@bindings` (crates/radicle-types/bindings), `@tests` +- Path aliases: `@app` (src), `@bindings` (crates/radicle-types/bindings), + `@tests` ## Commands @@ -41,9 +42,9 @@ npm run test:unit ``` DOMPurify does not sanitize under happy-dom (the unit-test environment): -`