From 0c9615594a093086a7e658a40dc2a5efcb050cf6 Mon Sep 17 00:00:00 2001 From: Wind-Explorer Date: Mon, 15 Dec 2025 23:21:19 +0800 Subject: [PATCH] Update AGENTS.md --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index a1132ba..bbc5810 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -33,6 +33,7 @@ - **Styling**: TailwindCSS + DaisyUI - **Framework**: SvelteKit in SPA mode (SSR disabled for Tauri) - **Error handling**: Standard try/catch with console.error logging +- **Responsibility**: Minimal logic & data handling, should play as stateless dumb client ### Rust @@ -45,6 +46,7 @@ - **State management**: Custom macros (`lock_r!`/`lock_w!`) for thread-safe access - **Security**: Use secure storage (keyring) for sensitive data, proper PKCE flow for OAuth - **Imports**: Group by standard library, then external crates, then local modules +- **Responsibility**: Handles app state & data, business logic, controls UI via events. ## Note