Major Changes: - Implemented notebook-first architecture (multi-document collections) - Added user authentication and multi-tenancy - Created comprehensive database schema (7 tables) - Built complete notebook management system - Implemented notebook-level chat across multiple documents - Added podcast generation from notebooks - Implemented notebook sharing with permissions - Fixed MCP server crashes by bypassing for document processing - Added all enterprise features requested New Features: - User login/signup with bcrypt password hashing - Create/edit/delete notebooks - Upload multiple PDFs to notebooks - Add documents to existing notebooks - Chat across all documents in a notebook - Generate podcasts from entire notebooks - Share notebooks with other users - View shared notebooks - Persistent chat history per notebook - Document summaries, Q&A, and highlights Technical Improvements: - PostgreSQL database with SQLAlchemy ORM - Connection pooling and proper cleanup - Bypassed buggy MCP server for document processing - Direct LlamaCloud API calls for reliability - Proper CASCADE deletes - Session management - Error handling and logging Documentation: - ENTERPRISE_SETUP.md - Setup guide - IMPLEMENTATION_SUMMARY.md - Technical details - SIMPLIFIED_PLAN.md - Architecture overview - CURRENT_STATUS.md - Status and known issues - FINAL_README.md - User guide 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
593 B
Bash
Executable file
25 lines
593 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# MCP Server Watchdog - Auto-restart on crash
|
|
|
|
echo "🔍 Starting MCP server watchdog..."
|
|
|
|
while true; do
|
|
# Check if server is running
|
|
if ! lsof -i :8000 > /dev/null 2>&1; then
|
|
echo "⚠️ MCP server not running, starting..."
|
|
|
|
# Kill any zombie processes
|
|
killall -9 python 2>/dev/null
|
|
|
|
# Start server
|
|
cd /Users/daveporter/notebookllama/notebookllama
|
|
nohup uv run src/notebookllama/server.py > server.log 2>&1 &
|
|
|
|
sleep 3
|
|
echo "✅ MCP server restarted"
|
|
fi
|
|
|
|
# Check every 2 seconds
|
|
sleep 2
|
|
done
|