Root AGENTS.md becomes a map plus cross-cutting rules; folder rules live in one AGENTS.md per package and top-level folder, checked by check:docs. CONTRIBUTING.md owns process; README and the docs page link to it. Release preparation copies the root LICENSE into every published package, Core, CLI, and MCP gain READMEs, and the release workflow test packs its fixture in-process instead of through npm.
1.3 KiB
1.3 KiB
Desktop (Tauri v2)
Check desktop/Cargo.toml, desktop/capabilities/**, and desktop/tauri.conf.json before adding desktop capabilities. Release versions are also set in desktop/tauri.conf.json and desktop/Cargo.toml (tools/AGENTS.md, Releases).
- File system and shell permissions must be configured explicitly; a vague "Internal error" save failure usually means a missing permission.
- Dev tools: add or use a menu item to toggle them; do not rely on keyboard shortcuts.
desktop/src/credentials.rsstores secrets in the native system credential store; failures must surface, never fall back to browser or plaintext storage (src/AGENTS.md, Settings).- ACP and harness process changes require checking
desktop/capabilities/**. desktop/generated/menu.jsonis produced bybun run generate:tauri-menufromsrc/app/shell/menu/schema.ts; do not edit or import it directly.- Run
bun run generate:icons --target desktopbefore direct Cargo checks; native icons are generated, not committed. build_fig_fileperforms.figexport on desktop; the browser path uses fflate (packages/fig/AGENTS.md).- The embedded WebDriver plugin compiles only with the
native-testCargo feature and must never be enabled in development or production binaries. Native tests usebun run test:native(tests/AGENTS.md).