Skip to content

Audit/agent teams ux - #119

Closed
Yourdaylight wants to merge 2 commits into
mainfrom
audit/agent-teams-ux
Closed

Audit/agent teams ux#119
Yourdaylight wants to merge 2 commits into
mainfrom
audit/agent-teams-ux

Conversation

@Yourdaylight

Copy link
Copy Markdown
Owner

No description provided.

felixhuwang and others added 2 commits May 19, 2026 15:22
核心改进:
1. 新增 ExecutionPanel 组件 — 替代 <pre> 纯文本输出
   - Agent 卡片实时状态切换 (pending→running→completed→error)
   - 运行中呼吸动画 + 展开显示 Agent 实时输出
   - 进度条显示完成比例
   - 错误状态可视化

2. 执行引擎 tier-aware 并行化
   - 同 tier Agent 通过 asyncio.gather 并行执行(非逐个串行)
   - 新增 tier_start / tier_end SSE events
   - 错误不阻断其他 Agent,独立上报

3. Tier 配置持久化修复
   - executionMode / mergeStrategy 存入 output_config
   - 页面加载时从 output_config 恢复

4. OrchestrationList auth token 修复
   - 运行对话框 fetch 现在携带 Authorization header

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
修复 code review 发现的 P0/P1 问题:
- #2 SSE error 事件现在显示具体错误信息给用户
- #4 fetch 后检查 response.ok,非2xx 立即报错
- #6 进度条只计算 agent 类型节点,不再溢出 100%
- #7 添加 AbortController — 页面卸载或重新执行时取消旧 stream
- #8 LLM 调用加 120s 超时,防止 pipeline 永久阻塞
- #9 expandedNode 只在首次 node_start 自动展开,避免并行时闪烁
- #10 移除 deque unused import 和 nodes_by_id dead code
- #11 移除 ExecutionPanel 中未使用的 emit 声明
- #12 SSE parse error 改为 console.warn 而非静默吞掉
- #14 token 为 null 时不发送 Authorization header
- #15 pending 节点不再强制标记为 completed

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Yourdaylight
Yourdaylight deleted the audit/agent-teams-ux branch May 19, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant