feat: add Super Alpha research, management and MCP workflows
Deploy production / deploy (push) Successful in 56s

This commit is contained in:
yuxuanhui
2026-09-13 12:32:16 +08:00
parent 7c8188df9c
commit e256d6fef1
59 changed files with 3766 additions and 125 deletions
+6 -1
View File
@@ -66,6 +66,7 @@ def setting_rows(data):
for key in (
"decay", "truncation", "pasteurization", "unitHandling",
"nanHandling", "language", "visualization", "maxTrade", "maxPosition",
"selectionHandling", "selectionLimit", "componentActivation",
):
definition = children.get(key)
if not isinstance(definition, dict):
@@ -200,11 +201,15 @@ class ResearchMetadata:
raise HTTPException(502, "算子分页提前结束")
raise HTTPException(502, "算子分页超过本地限制,未发布新快照")
async def operators(self, q="", category=None, favorite=False, limit=25, offset=0):
async def operators(self, q="", category=None, favorite=False, limit=25, offset=0, stage=None):
snapshot = await self.get("operators")
notes = {r.name: r for r in await self.db.scalars(select(OperatorNote))}
rows = []
for item in snapshot["content"].get("items", []):
scopes = item.get("scope") or []
scopes = scopes if isinstance(scopes, list) else [scopes]
if stage and stage.upper() not in [str(s).upper() for s in scopes]:
continue
note = notes.get(item["name"])
if q.lower() not in json.dumps(item, ensure_ascii=False).lower() or (
category and item["category"] != category