DeepSeek-Reasonix icon indicating copy to clipboard operation
DeepSeek-Reasonix copied to clipboard

[Feature]: 在reasonix的界面上,子编程体工具(task、parallel_tasks、explore、research)的渲染问题

Open eghrhegpe opened this issue 5 months ago • 0 comments

Version line

v2 — Go rewrite (1.x), main-v2 (active development)

What problem does this solve?

分析了现有代码,子编程体工具(task、parallel_tasks、explore、research)的渲染问题清晰了。主要有 4 处同一点不同层的问题:

当前问题 1 ⊞ 神秘符号

  • ToolCard.tsx:130 ⊞3 像游戏手柄图标,用户看不懂

2 并列任务无独立卡片

  • parallel_tasks 工具把子任务作为 notice 行显示 ℹ background task started: task-1 混在主卡片里

3 嵌套层级靠纯缩进

  • CSS tool--subagent + tool__nested 多层嵌套后看不清谁是谁的父级

4 子 agent 卡片与普通卡片同色

  • 无区分样式 无法一眼区分"这是一个子编程体"vs"这是一个工具调用"

改进方案(全在 ToolCard.tsx + styles.css) ⊞3 →

  • 数字徽章 3(带圆角背景色),像通知数

子 agent

  • 卡片头加一条彩色左边框或背景淡色,如 border-left: 3px solid var(--accent)

嵌套连接线:

  • tool__nested 左侧画一条垂直线,对齐到父卡片头
  • tool--subagent 的 task/explore 等名称前加一个小图标,如 🔍 表示调查、⚡ 表示执行

parallel_tasks 的 notice 行转为真正的嵌套卡片,不再挤在单行里

Proposed solution

No response

eghrhegpe avatar Jun 21 '26 05:06 eghrhegpe