mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-13 00:46:54 +02:00
eca153efc9ee12de410d6e47c0134a6d15b78b3c
- Add error-handling.ts with centralized error parsing and categorization - Implement exponential backoff with jitter for transient errors - Handle rate limits (429) respecting Retry-After header - Add retry state to ChatSessionState and ChatStreamChunk types - Update provider-manager with automatic retry loop for: - Rate limit errors (429) - Server errors (5xx) - Network errors - Timeouts - Add retry indicator UI in AIViewer showing retry progress - Show detailed error messages with attempt count on failure Retry configuration: - Max 3 retries (4 total attempts) - Exponential backoff: 1s, 2s, 4s (capped at 30s) - 20% jitter to prevent thundering herd - Respects abort signal during wait https://claude.ai/code/session_01HqtD9R33oqfB14Gu1V5wHC
…
…
…
…
Grimoire
A Nostr protocol explorer and developer tool with a tiling window manager interface.
Features
- Tiling Windows - Each window is a Nostr "app" (profile viewer, event feed, NIP docs, etc.)
- Command Palette - Unix-style commands via
Cmd+Kto open apps and navigate - Multi-workspace - Virtual desktops with independent layouts
- Real-time - Reactive event subscriptions with automatic updates
Stack
React 19, TypeScript, Vite, TailwindCSS, Jotai, Dexie, Applesauce
Getting Started
npm install
npm run dev
Scripts
| Command | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Build for production |
npm test |
Run tests in watch mode |
npm run lint |
Lint code |
npm run format |
Format code |
License
MIT
Languages
TypeScript
98.9%
CSS
0.8%
JavaScript
0.3%