更新 API 路由,添加获取所有代理、心跳、锁和会议的端点;修改会议队列和前端请求处理;新增前端完整测试脚本。

This commit is contained in:
Claude Code
2026-03-09 18:24:14 +08:00
parent dc398d7c7b
commit 7a5a58b4e5
17 changed files with 302 additions and 28 deletions

View File

@@ -1009,7 +1009,7 @@ def human_pending_tasks(
for t in tasks:
urgent_mark = "[red]⚠️[/red] " if t.is_urgent else ""
console.print(f" {urgent_mark}[yellow]{t.id}[/yellow]")
console.print(f" From: {t.from} | Priority: {t.priority}")
console.print(f" From: {t.from_user} | Priority: {t.priority}")
if t.title:
console.print(f" Title: {t.title}")
console.print(f" Content: {t.content}")
@@ -1029,7 +1029,7 @@ def human_urgent_tasks():
if tasks:
console.print(Panel(f"[red]⚠️ Urgent Tasks ({len(tasks)}):[/red]", border_style="red"))
for t in tasks:
console.print(f" [yellow]{t.id}[/yellow] | {t.from}")
console.print(f" [yellow]{t.id}[/yellow] | {t.from_user}")
console.print(f" Content: {t.content}")
else:
console.print(Panel("[green]No urgent tasks[/green]", border_style="green"))
@@ -1076,7 +1076,7 @@ def human_pending_comments(
if comments:
console.print(Panel(f"[cyan]Pending Comments ({len(comments)}):[/cyan]", border_style="cyan"))
for c in comments:
console.print(f" [yellow]{c.id}[/yellow] | {c.from} -> {c.meeting_id}")
console.print(f" [yellow]{c.id}[/yellow] | {c.from_user} -> {c.meeting_id}")
console.print(f" Type: {c.type} | Priority: {c.priority}")
console.print(f" Content: {c.content}")
else: