feat: IODA fallback, UCDP timeout fix, PDF export, 18 tests
- infrastructure.py: Add IODA (Georgia Tech) as fallback when Cloudflare Radar returns 403 (no API token). Internet outage data now available without CLOUDFLARE_API_TOKEN. - conflict.py: Increase UCDP GED API timeout from 15s to 30s to handle slow responses from ucdpapi.pcr.uu.se. - dashboard/app.py: Add /api/report/pdf endpoint for PDF daily brief export via weasyprint (optional dependency). - pyproject.toml: Add dashboard + pdf optional deps, intel-dashboard script entry point, update description for 55 tools. - tests: Add 11 new tests covering health, sanctions, elections, shipping, social, nuclear, infrastructure (IODA fallback + cable health), and UCDP conflict. Fix cross-loop asyncio lock issue in conftest. - Total: 50 tests passing, 55 tools verified. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
6fee3feae5
commit
2d33ea136a
+3
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "world-intel-mcp"
|
||||
version = "0.1.0"
|
||||
description = "World Intelligence MCP Server - real-time global intelligence across 17 domains"
|
||||
description = "World Intelligence MCP Server - real-time global intelligence across 23 domains with 55 MCP tools"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
license = {text = "MIT"}
|
||||
@@ -21,6 +21,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dashboard = ["starlette>=0.37.0", "uvicorn>=0.29.0"]
|
||||
pdf = ["weasyprint>=62.0"]
|
||||
dev = [
|
||||
"pytest>=8.0.0",
|
||||
@@ -32,6 +33,7 @@ dev = [
|
||||
[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"]
|
||||
|
||||
Reference in New Issue
Block a user