mirror of
https://github.com/NocturnLabs/opencode-personal-knowledge.git
synced 2026-06-01 21:58:56 +02:00
6ad6748e6e
Adds comprehensive session memory management with the following tools: - start_logging_session: Begin logging a session with optional name - log_message: Log user/agent messages to active sessions - search_session: Semantic search within a specific session - search_all_sessions: Semantic search across all logged sessions - list_sessions: List all sessions with optional active filter - get_session: Get session details and messages - end_session: End session with optional summary Database schema includes: - sessions table with name, timestamps, summary, and active status - session_messages table with role, content, and creation time - Proper indexes for performance - Foreign key relationships All tools support semantic search using the existing embedding model.