bc75cf46f7
Phase 16: Vector intelligence (+3 tools = 104 total) New tools: - intel_semantic_search: Natural language search across all stored intelligence - intel_similar_events: Find historically similar events for pattern matching - intel_timeline: Chronological timeline of stored data with domain filtering Architecture: - vector_store.py: Qdrant client with FastEmbed (ONNX, bge-small-en-v1.5) - Background worker queue (asyncio) for non-blocking storage - Auto-populates from every Fetcher.get_json() call - 40+ domain categories mapped for filtered search - Graceful degradation: vector store is optional, all 101 existing tools work without it Integration: - Fetcher: new vector_store parameter, stores data after each successful fetch - server.py: vector store init + worker lifecycle + 3 dispatch cases - dashboard/app.py: vector store worker starts on dashboard boot - intel_status: now includes vector store statistics - pyproject.toml: [vector] optional dependency (qdrant-client, fastembed) 186/186 tests passing.
50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[project]
|
|
name = "world-intel-mcp"
|
|
version = "0.1.0"
|
|
description = "World Intelligence MCP Server — real-time global intelligence across 30+ domains with 100+ MCP tools"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Phoenix AGI", email = "phoenix@2acrestudios.com"}
|
|
]
|
|
keywords = ["mcp", "intelligence", "osint", "markets", "geopolitical", "phoenix"]
|
|
|
|
dependencies = [
|
|
"mcp>=1.0.0",
|
|
"httpx>=0.27.0",
|
|
"pydantic>=2.0.0",
|
|
"feedparser>=6.0.0",
|
|
"click>=8.1.0",
|
|
"jinja2>=3.1.0",
|
|
"rich>=13.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dashboard = ["starlette>=0.37.0", "uvicorn>=0.29.0"]
|
|
vector = ["qdrant-client>=1.7.0", "fastembed>=0.7.0"]
|
|
pdf = ["weasyprint>=62.0"]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"pytest-cov>=4.0.0",
|
|
"respx>=0.21.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
world-intel-mcp = "world_intel_mcp.server:run"
|
|
intel = "world_intel_mcp.cli:main"
|
|
intel-dashboard = "world_intel_mcp.dashboard.app:run"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/world_intel_mcp"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["src/world_intel_mcp/tests"]
|
|
addopts = "-v --tb=short"
|