Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(architecture): add frontend architecture documentation

Steven Enamakel277bcffc5b01
diff --git a/gitbooks/developing/architecture/frontend.md b/gitbooks/developing/architecture/frontend.md
index 212c0b895f..224fb80279 100644
--- a/gitbooks/developing/architecture/frontend.md
+++ b/gitbooks/developing/architecture/frontend.md
@@ -568,12 +568,12 @@ Conventions:
\~45 app-level hooks. Representative examples:
-- **`useUser`**: thin wrapper over `useCoreState()`; returns `{ user: snapshot.currentUser, isLoading, error, refetch }`. There is no standalone user store.
-- **`useBackendUrl`**: runtime backend URL resolution (see [Runtime config precedence](frontend.md#runtime-config-precedence)).
-- **`useThreadQueries`**: chat thread fetching.
-- **`useDaemonHealth` / `useDaemonLifecycle`**: core service health.
-- **`useDictationHotkey` / `usePttHotkey`**: global hotkey managers.
-- **`useDeveloperMode`**, **`useMediaQuery`**, **`useEscapeKey`**: UI utilities.
+- `useUser` is a thin wrapper over `useCoreState()`; it returns `{ user: snapshot.currentUser, isLoading, error, refetch }`. There is no standalone user store.
+- `useBackendUrl` resolves the backend URL at runtime (see [Runtime config precedence](frontend.md#runtime-config-precedence)).
+- `useThreadQueries` fetches chat threads.
+- `useDaemonHealth` / `useDaemonLifecycle` track core service health.
+- `useDictationHotkey` / `usePttHotkey` manage global hotkeys.
+- `useDeveloperMode`, `useMediaQuery`, `useEscapeKey` are general UI utilities.
- Feature hooks: `useFlowRunProgress`, `useWorkflowBuilderChat`, `useConsciousItems`, `useIntelligenceStats`, `useCostDashboard`, ….
Feature-local hooks live next to their feature under `features/*/`.