Update AGENTS.md
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
- **Styling**: TailwindCSS + DaisyUI
|
- **Styling**: TailwindCSS + DaisyUI
|
||||||
- **Framework**: SvelteKit in SPA mode (SSR disabled for Tauri)
|
- **Framework**: SvelteKit in SPA mode (SSR disabled for Tauri)
|
||||||
- **Error handling**: Standard try/catch with console.error logging
|
- **Error handling**: Standard try/catch with console.error logging
|
||||||
|
- **Responsibility**: Minimal logic & data handling, should play as stateless dumb client
|
||||||
|
|
||||||
### Rust
|
### Rust
|
||||||
|
|
||||||
@@ -45,6 +46,7 @@
|
|||||||
- **State management**: Custom macros (`lock_r!`/`lock_w!`) for thread-safe access
|
- **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
|
- **Security**: Use secure storage (keyring) for sensitive data, proper PKCE flow for OAuth
|
||||||
- **Imports**: Group by standard library, then external crates, then local modules
|
- **Imports**: Group by standard library, then external crates, then local modules
|
||||||
|
- **Responsibility**: Handles app state & data, business logic, controls UI via events.
|
||||||
|
|
||||||
## Note
|
## Note
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user