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.
This commit enhances the npm publish workflow to include automated version bumping and updates necessary permissions and configurations.
Changes:
- Added contents: write permission to allow pushing version bump commits
- Configured git user for automated commits
- Added npm version patch step to automatically increment patch version
- Added commit and push steps for version changes
- Updated version numbers in package.json and src/index.ts
- Added token configuration for checkout step for enhanced security
- Add centered header with npm/license/opencode badges
- Add configuration section documenting data location
- Add technology stack section
- Fix data paths to use ~/.local/share for npx compatibility
- Add OPENCODE_PK_DATA_DIR env var for custom data location
- Update author in package.json