feat(core): Wave 3 messages — 详情多动作 actions[](按type推断)+ 静音同类 + 查看日志壳

消息中心(sub-agent):inferActions 按 notification_type+priority 推断动作集(task→进入项目/查看日志、
  team→查看团队/调整权限、billing→前往充值、system→已了解);固定 归档+静音同类(前端本地 Set 过滤);
  查看日志就地展开黑底 mono .msg-log(消费 metadata.log,后端无该字段时显占位「暂无日志」,不造假)

验证: tsc 0 · build 0

⚠️ 需后端补 metadata.log 字段(失败/异常任务原始日志)前端即生效。移交监督。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
seaislee1209
2026-06-19 12:26:05 +08:00
co-authored by Claude Opus 4.8
parent 05215206f1
commit 9643f9ba5e
2 changed files with 136 additions and 8 deletions
+13
View File
@@ -382,6 +382,11 @@
letter-spacing: .02em;
white-space: pre-wrap;
}
/* 查看日志:后端缺 log 字段时的占位(壳照出、内容留白,不造假) */
.msg-log-empty {
color: var(--accent-white);
opacity: .48;
}
.msg-detail-f {
display: flex;
align-items: center;
@@ -391,6 +396,14 @@
background: var(--background-lighter);
}
.msg-detail-f .spacer { flex: 1; }
/* 「查看日志」展开中的高亮(单橙锚点,alpha 表达态,不换 hue) */
.msg-detail-f .btn.is-active {
border-color: var(--heat-20);
background: var(--heat-12);
color: var(--heat);
}
/* 底栏带图标的 ghost 动作(静音同类)图标与文字间距 */
.msg-detail-f .btn svg { margin-right: 6px; }
.msg-foot-note {
display: flex;
align-items: center;