mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 07:56:50 +02:00
54fe1aafe8743dc28d45e92d2c2702941056671f
Adds configurable provider settings, conversation browsing, and enhanced command interface for LLM chat functionality. **New Features:** - Provider dropdown in config panel (ready for multi-provider) - Base URL field for custom endpoints (OpenRouter, local servers, proxies) - `llm list` command - Browse all conversations with search/sort - `llm open <id>` - Open specific conversation by ID - Enhanced command parser supporting list and open subcommands **Components:** - LLMConversationListViewer: Searchable, sortable conversation list - Search by title or message content - Sort by recent, oldest, or token usage - Shows message count, tokens, cost, last update - Click to open, hover to delete - Empty state with helpful instructions **Config Panel Enhancements:** - Provider dropdown (currently shows OpenAI, ready for more) - Base URL input (optional, for custom endpoints) - Supports OpenAI-compatible APIs with custom URLs **Command Improvements:** - `llm` - Start new conversation (existing) - `llm list` - Open conversation browser - `llm open <id>` - Open by UUID - `llm <id>` - Shorthand for open - Updated man page with all options and examples **Type System:** - Added `llm-list` appId for conversation browser - Extended LLMCommandResult with `showList` flag - Updated command parser to route to correct appId **Window System:** - Lazy-loaded LLMConversationListViewer - Proper routing based on command subcommand - WindowRenderer case for llm-list This sets the stage for custom provider management while making the current single-provider setup much more flexible with base URL overrides for OpenAI-compatible APIs.
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%