Two regressions fixed: 1. RESTORED: original health monitoring (功能树/全部Cron/数据实体/数据流) was an iframe to /mofin_health.html — refactor replaced it with a minimal services-only panel and lost all of it. mofin_health.json (86KB, fresh) was still being generated the whole time. - 健康 tab: XMPP panel (native) + restored iframe below 2. ADDED: 开发原则 parent tab replicating AgentsMeeting structure: - G 规范: /api/spec renders docs/dev-spec.md + git history - K 测试: /api/tests renders agents_health_check report as pass/fail - F 健康: iframe to /mofin_health.html + link to 健康 tab - H 需求: /api/prd (placeholder — prd.md not yet created) - mdRender() ported from AgentsMeeting dashboard
8 lines
180 B
Python
8 lines
180 B
Python
import ast, sys
|
|
p = '/home/hmo/MoFin/server.py'
|
|
try:
|
|
ast.parse(open(p).read())
|
|
print('SYNTAX OK:', p)
|
|
except SyntaxError as e:
|
|
print('SYNTAX ERROR:', e)
|
|
sys.exit(1) |