commit 869abe19bf2a93735259e2c584dbf6e5b9212406
parent 34fa0e09545f6d1b2c52f247c85be7b75a2eef85
Author: alltheseas <64376233+alltheseas@users.noreply.github.com>
Date: Thu, 16 Oct 2025 12:03:27 -0500
Update AGENTS.md
Use a fully qualified path here for consistency with surrounding references (e.g., line 18). Suggest: (crates/notedeck/src/app.rs) instead of just (app.rs).
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/AGENTS.md b/AGENTS.md
@@ -16,7 +16,7 @@ This document captures the current architecture, coding conventions, and design
### Application Host
- **`App` trait** (`crates/notedeck/src/app.rs`): Apps implement `update(&mut self, &mut AppContext, &mut egui::Ui) -> AppResponse` to drive egui rendering and signal high-level actions (`AppAction` for route changes, chrome toggles, etc.).
-- **`Notedeck` struct** (`app.rs`) owns global resources—NostrDB connection, caches, relay pool, accounts, zaps, localization, clipboard, frame history—and injects them through `AppContext`.
+- **`Notedeck` struct** (`crates/notedeck/src/app.rs`) owns global resources—NostrDB connection, caches, relay pool, accounts, zaps, localization, clipboard, frame history—and injects them through `AppContext`.
- **`AppContext`** (`crates/notedeck/src/context.rs`) is the dependency hub handed to every app update. It exposes mutable handles to services (database, caches, relay pool, account state, localization, job pool, settings, wallet) so apps stay decoupled from the host.
- **`AppResponse`** carries optional actions and drag targets; chrome inspects it to react to app-level intent.