From ef2c2bdb44fbe86da44859d203ecae3ef4cfcad8 Mon Sep 17 00:00:00 2001 From: kicer Date: Sun, 20 Sep 2026 06:57:50 +0800 Subject: [PATCH] =?UTF-8?q?scheduler:=20=E7=8A=B6=E6=80=81=E6=9D=A1?= =?UTF-8?q?=E6=94=B9=20eye=20=E5=9B=BE=E6=A0=87=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=BC=B9=E8=AF=A6=E6=83=85=E7=AA=97=E5=B1=95=E7=A4=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4/=E6=8F=90=E7=A4=BA=E8=AF=8D=EF=BC=8C=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA=E8=AF=8D=E4=B8=8E?= =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/server/public/index.html | 108 +++++++++++++++++++++++++++++++--- app/server/routes/sessions.js | 21 +++++-- docs/ARCHITECTURE.md | 7 ++- 3 files changed, 120 insertions(+), 16 deletions(-) diff --git a/app/server/public/index.html b/app/server/public/index.html index 05e2d62..9dc2c26 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -56,14 +56,24 @@ .stop-link.icon-only.icon-primary:hover { color: #2854d6; } /* 推到 phase-bar 最右侧(独立动作,与左侧状态/选择模型区分) */ .phase-bar .phase-bar-right { margin-left: auto; } - /* 定时任务状态条:仅展示 + 删除(创建走 AI 的 schedule_task 工具;改=删后让 AI 重建),淡黄底区别于状态栏 */ + /* 定时任务状态条:整条可点,弹详情窗(看/改提示词、删除;创建走 AI 的 schedule_task 工具),淡黄底区别于状态栏 */ .schedule-bar { flex: none; display: flex; align-items: center; gap: 8px; - padding: 5px 12px; font-size: 12px; color: #8a6400; + padding: 5px 12px; font-size: 12px; color: #8a6400; cursor: pointer; background: #fffdf2; border-bottom: 1px solid #f0e6c8; } + .schedule-bar:active { opacity: 0.75; } .schedule-bar .sched-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .schedule-bar .sched-del { margin-left: auto; flex: none; } + .schedule-bar .sched-eye { margin-left: auto; flex: none; display: inline-flex; align-items: center; } + .schedule-bar .sched-eye svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } + /* schedule 弹窗内的提示词编辑区(.modal input 不覆盖 textarea,单独给样式) */ + #schedule-modal textarea { + width: 100%; box-sizing: border-box; display: block; + border: 1px solid #dde1ea; border-radius: 10px; + padding: 10px 12px; font-size: 14px; line-height: 1.5; + margin-bottom: 10px; background: #fff; color: var(--ink); resize: vertical; + } + #schedule-modal textarea:focus { border-color: var(--active); }