From 988b8cc27bc8c5cce8dbcb88740241fe0cbb0a1e Mon Sep 17 00:00:00 2001 From: wusumac <736139669@qq.com> Date: Fri, 29 May 2026 16:11:09 +0800 Subject: [PATCH] feat: show original task prompt in step detail view Displays the task description (the original instruction sent to Claude Code) in a highlighted box above the step timeline, so users can always see what prompt produced the current task. Co-Authored-By: Claude Opus 4.7 --- frontend/dashboard.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/dashboard.html b/frontend/dashboard.html index c500330..80b903a 100644 --- a/frontend/dashboard.html +++ b/frontend/dashboard.html @@ -433,6 +433,9 @@ function renderTaskDetail(projects, tasks, agents, terminals) { 创建于 ${new Date(activeTask.created_at).toLocaleString('zh-CN')} ${activeTask.completed_at ? ` · 完成于 ${new Date(activeTask.completed_at).toLocaleString('zh-CN')}` : ''} + ${activeTask.description ? `
+ 💬 下发指令:${escapeHtml(activeTask.description)} +
` : ''}
${stepHtml}
${activeTask.status === 'completed' ? '
🎉 任务全部完成!
' : ''}