Commit graph

2 commits

Author SHA1 Message Date
Helm
7b857803a7 feat: persist session ID across restarts
When the Hermes Gateway returns X-Hermes-Session-Id, it is now
saved to settings.chatSessionId via the ChatPersistence interface.
On restart, the factory restores the session ID into the ApiClient
so subsequent requests continue the same conversation.

Changes:
- Added chatSessionId to HermesChatSettings + DEFAULT_SETTINGS
- Extended ChatPersistence with loadSessionId/saveSessionId
- Added ApiClient.setSessionId() for restoring saved IDs
- ChatView.handleSend() persists sessionId when received
- main.ts factory restores session ID and updates status bar

Fixes the 'Marco!/Bolo!' test — conversation continuity now
survives Obsidian restarts.
2026-07-10 13:45:49 -04:00
Helm
3b35f59ec8 Initial commit: Obsidian Hermes Chat plugin
- Streaming chat sidebar with OpenAI-compatible API client
- Path-referencing context injection via MCP tools
- Dark theme styling with Obsidian CSS variables
- Settings: gateway URL, API key, context/model toggles
- SSE streaming with fetch timeout protection
- Session continuity via X-Hermes-Session-Id headers
2026-07-10 11:18:23 -04:00