移除前端「开始执行/终止」阶段开关按钮:phase-bar 仅保留状态胶囊;去掉 state.phase 及 phase SSE 监听、togglePhase、列表「执行中阶段」徽章与相关 CSS(后端 /start /stop 接口保留,工具调用本就不受 phase 门控,纯对话即可驱动 AI 干活);顺手修正相关空态文案
This commit is contained in:
@@ -75,25 +75,14 @@ body {
|
||||
.badge.queued { background: #fff4dc; color: #a06a00; }
|
||||
.badge.completed { background: #eceff5; color: #5c6674; }
|
||||
.badge.cancelled { background: #fdecea; color: #b3382c; }
|
||||
.badge.execution { background: #e8ecfd; color: #3550b8; }
|
||||
.session-del { color: #c33; background: none; border: none; font-size: 12px; padding: 6px; }
|
||||
|
||||
/* ---- 阶段开关条 ---- */
|
||||
/* ---- 任务状态栏 ---- */
|
||||
.phase-bar {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
display: flex; align-items: center;
|
||||
padding: 8px 12px; background: #fff; border-bottom: 1px solid #e8e8ee;
|
||||
}
|
||||
.status-pill { font-size: 12px; color: #666; }
|
||||
.phase-switch {
|
||||
border: none; border-radius: 18px; padding: 8px 18px;
|
||||
font-size: 14px; font-weight: 600; color: #fff; cursor: pointer;
|
||||
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18);
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.phase-switch.planning { background: #2e9d54; }
|
||||
.phase-switch.planning:active { background: #268547; }
|
||||
.phase-switch.execution { background: #d2483c; }
|
||||
.phase-switch.execution:active { background: #b13a2f; }
|
||||
|
||||
/* ---- 消息 ---- */
|
||||
.messages {
|
||||
|
||||
Reference in New Issue
Block a user