api.ts and auth.tsx hardcoded API_BASE to http://localhost:8051 with no override, unlike every other component which already checked VITE_API_URL first. That's fine when the browser and server are on the same machine, but breaks auth/chat/stats/documents entirely when accessing the UI from a different machine than the one running claude-os - "localhost" resolves to the browser's own machine, not the server. Also pins mcp<2.0.0 in requirements.txt: mcp 2.0.0 removed the low-level Server.list_tools() API that mcp_server/claude_code_mcp.py (the code-forge stdio MCP server) depends on, so an unbounded mcp>=1.0.0 install silently breaks that integration.
57 lines
1.5 KiB
Text
57 lines
1.5 KiB
Text
# LlamaIndex and RAG
|
|
llama-index>=0.10.0
|
|
llama-index-llms-ollama>=0.1.0
|
|
llama-index-embeddings-ollama>=0.1.0
|
|
llama-index-llms-groq>=0.5.0
|
|
|
|
# Vector Database (SQLite-based)
|
|
sqlite-vec>=0.1.0
|
|
numpy>=1.24.0
|
|
|
|
# Tree-sitter for fast structural indexing
|
|
# NOTE: tree-sitter-languages 1.10.x is incompatible with tree-sitter 0.21+
|
|
# The 0.21+ API changed Parser() and Language() constructors breaking the library
|
|
tree-sitter>=0.20.0,<0.21.0
|
|
tree-sitter-languages>=1.10.0 # Pre-built binaries for 40+ languages
|
|
networkx>=3.2.1 # For dependency graphs and PageRank
|
|
|
|
# File system watching
|
|
watchdog>=3.0.0
|
|
|
|
# Document Processing
|
|
pymupdf>=1.23.0
|
|
|
|
# Reranking and Hybrid Search
|
|
sentence-transformers>=2.2.0
|
|
rank-bm25>=0.2.2
|
|
|
|
# MCP Server
|
|
# Pinned <2.0.0: claude_code_mcp.py uses the low-level Server API
|
|
# (@server.list_tools() etc.) which mcp 2.0.0 removed/renamed.
|
|
mcp>=1.0.0,<2.0.0
|
|
fastapi>=0.104.0
|
|
uvicorn>=0.24.0
|
|
pydantic>=2.0.0
|
|
slowapi>=0.1.9 # Rate limiting
|
|
|
|
# Authentication
|
|
passlib[bcrypt]>=1.7.4
|
|
bcrypt>=4.0.0,<5.0.0 # bcrypt 5.0+ has compatibility issues with passlib 1.7.4
|
|
python-jose[cryptography]>=3.3.0
|
|
python-multipart>=0.0.6
|
|
|
|
# Utilities
|
|
python-dotenv>=1.0.0
|
|
requests>=2.31.0
|
|
|
|
# Real-time Learning System
|
|
redis>=5.0.0 # Redis client for pub/sub and caching
|
|
rq>=1.14.0 # Job queue (Python equivalent of Sidekiq)
|
|
|
|
# Testing
|
|
pytest>=7.4.0
|
|
pytest-asyncio>=0.21.0
|
|
pytest-cov>=4.1.0
|
|
pytest-mock>=3.12.0
|
|
httpx>=0.25.0 # For testing FastAPI endpoints
|
|
faker>=20.0.0 # For generating test data
|