Unify MCP across clients; remove legacy plugin server
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
This commit is contained in:
@@ -13,7 +13,7 @@ Modes:
|
||||
- Server: Deployed remotely, serves design systems to teams
|
||||
- Local: Dev companion, UI advisor, local services
|
||||
|
||||
Uses SQLite for persistence, integrates with Figma tools.
|
||||
Uses JSON storage for persistence, integrates with Figma tools.
|
||||
"""
|
||||
|
||||
import json
|
||||
@@ -261,10 +261,12 @@ async def health():
|
||||
|
||||
@app.get("/api/stats")
|
||||
async def get_statistics():
|
||||
"""Get database and system statistics."""
|
||||
db_stats = get_stats()
|
||||
"""Get storage and system statistics."""
|
||||
storage_stats = get_stats()
|
||||
return {
|
||||
"database": db_stats,
|
||||
"storage": storage_stats,
|
||||
# Backwards-compatible alias (historical naming; underlying storage is JSON files).
|
||||
"database": storage_stats,
|
||||
"figma": {"mode": figma_suite.mode, "configured": config.figma.is_configured},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user