Permission System Upgrade: - Added SHARE permission level to database enum - Three permission tiers now: * READ: View and chat only * WRITE: View, chat, add documents, generate podcasts * SHARE (Write+Share): All of WRITE + can share with others - Only owners can grant SHARE permission - Users with SHARE can add more collaborators Voice Selection for Podcasts: - Added 8 popular ElevenLabs voices to choose from - Speaker 1 (Analytical): Brian, Adam, Charlie, Daniel - Speaker 2 (Explanatory): Sarah, Bella, Charlotte, Emily - Voice IDs stored in task parameters - Passed through to audio generation - Default: Brian + Sarah (original voices) Voice Options: - Brian (Default Male) - nPczCjzI2devNBz1zQrb - Sarah (Default Female) - Xb7hH8MSUJpSbSDYk0k2 - Adam (Deep Male) - pNInz6obpgDQGcFmaJgB - Bella (Friendly Female) - EXAVITQu4vr4xnSDxMaL - Charlie (Casual Male) - IKne3meq5aSn9XLyUdCD - Charlotte (Professional Female) - XB0fDUnXU5powFXDhCwa - Daniel (British Male) - onwK4e9ZLuTAKqWW03F9 - Emily (Warm Female) - LcfcDJNUP1GQjkzn1xUU UI Updates: - Voice selection dropdowns in podcast generation - Helpful descriptions for each speaker role - Permission level shown as "Write + Share" in UI - Help text explains each permission tier - Share button visible for users with SHARE permission Technical: - Updated audio.py to accept voice parameters - Updated background_tasks.py to pass voices - Database enum extended - Permission checks updated throughout 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
78 lines
6.8 KiB
Text
78 lines
6.8 KiB
Text
[10/01/25 17:08:12] INFO Starting MCP server 'MCP For server.py:1358
|
|
NotebookLM' with transport
|
|
'streamable-http' on
|
|
http://127.0.0.1:8000/mcp/
|
|
INFO:FastMCP.fastmcp.server.server:Starting MCP server 'MCP For NotebookLM' with transport 'streamable-http' on http://127.0.0.1:8000/mcp/
|
|
/Users/daveporter/notebookllama/notebookllama/.venv/lib/python3.13/site-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
|
|
warnings.warn( # deprecated in 14.0 - 2024-11-09
|
|
/Users/daveporter/notebookllama/notebookllama/.venv/lib/python3.13/site-packages/uvicorn/protocols/websockets/websockets_impl.py:17: DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated
|
|
from websockets.server import WebSocketServerProtocol
|
|
INFO: Started server process [9983]
|
|
INFO: Waiting for application startup.
|
|
INFO:mcp.server.streamable_http_manager:StreamableHTTP session manager started
|
|
INFO: Application startup complete.
|
|
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
|
|
INFO: 127.0.0.1:56539 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: a97441f5cebf4f8b9de93a1c59333123
|
|
INFO: 127.0.0.1:56539 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:56542 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:56543 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:56542 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:56543 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:56545 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:56545 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:56552 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: a97441f5cebf4f8b9de93a1c59333123
|
|
INFO: 127.0.0.1:56552 - "DELETE /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:58570 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: 403d8c9b18ba43e98eb1ca532b7fbe2d
|
|
INFO: 127.0.0.1:58570 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:58573 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:58574 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:58573 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:58574 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:58576 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:58576 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:58582 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: 403d8c9b18ba43e98eb1ca532b7fbe2d
|
|
INFO: 127.0.0.1:58582 - "DELETE /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:59487 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: b505497d41044d28bb59b2684753a6fc
|
|
INFO: 127.0.0.1:59487 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:59490 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:59491 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:59490 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:59491 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:59493 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:59493 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:59500 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: b505497d41044d28bb59b2684753a6fc
|
|
INFO: 127.0.0.1:59500 - "DELETE /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:60605 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http_manager:Created new transport with session ID: 1bb3384b1c43444e8c5092b7426d62a4
|
|
INFO: 127.0.0.1:60605 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:60608 - "GET /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:60609 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:60608 - "GET /mcp/ HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:60609 - "POST /mcp/ HTTP/1.1" 202 Accepted
|
|
INFO: 127.0.0.1:60611 - "POST /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO: 127.0.0.1:60611 - "POST /mcp/ HTTP/1.1" 200 OK
|
|
INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest
|
|
INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/v1/pipelines/884e242c-86dd-4824-8347-e6dfb91d98dc/retrieve "HTTP/1.1 200 OK"
|
|
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/responses "HTTP/1.1 200 OK"
|
|
INFO:mcp.server.lowlevel.server:Warning: PydanticDeprecatedSince20: The `parse_obj` method is deprecated; use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
|
|
INFO: 127.0.0.1:60625 - "DELETE /mcp HTTP/1.1" 307 Temporary Redirect
|
|
INFO:mcp.server.streamable_http:Terminating session: 1bb3384b1c43444e8c5092b7426d62a4
|
|
INFO: 127.0.0.1:60625 - "DELETE /mcp/ HTTP/1.1" 200 OK
|