Repository navigation
Conversation
added 5 commits
October 25, 2026 18:43
保留图标随根字号缩放的既有实现,修正固定16px的测试假设并同步文档。关联 agegr#1415。
保留固定三色轮廓,以 ease-in-out 连续交接亮度,三块相位错开150ms;同步单测、浏览器时序断言和主题文档。Refs agegr#1415, agegr#1418。
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1415
背景
顶部 Agents 按钮已经通过 #1311 提供运行数量及转圈提示。本 PR 不修改该按钮,也不重复实现那项功能;补充的是:用户留在聊天区、不打开 Agents 面板时,就能直接看到后台仍在运行的任务说明,尤其是主代理已经结束当前回复的场景。
改动
RunningSubagentsStatus,在聊天末尾、原主代理阶段提示下方展示数量和派发任务说明,例如:AppShell通过新增的getRunningSubagents()传递当前会话家族的运行列表,复用现有 running-id 轮询,不依赖可能滞后的持久化relation.status。ease-in-out柔和渐变交接亮度,完整一轮 450ms、相邻色块相位错开 150ms,纯 CSS、无 JavaScript 定时器。容器为1rem,随根字号缩放,默认页面下约 14px,不强制显示为 16px。prefers-reduced-motion下通过<picture>切换为真正静止的 SVG,保留三块全亮;动态图本身也保留直接打开时的减少动画媒体查询。保持不变的部分
最终差异中,原有“等待模型”等阶段提示和“运行命令”提示仍在
ChatWindow原位,原判断条件、样式和 pulse 动画均保持不变。新组件不接管这两块状态;countRunningSubagents()和顶部 Agents 数量/动画逻辑也保持原样。不新增设置、运行时依赖、API 或轮询,不改变代理执行、停止、通知和会话文件格式。
验证
setpriv --bounding-set=-dac_override,-dac_read_search npm test移除 DAC 绕过能力,避免影响既有目录权限用例。node_modules/.bin/tsc --noEmit --incremental falsenpm run lintgit diff --check1rem容器一致的尺寸。浏览器用例使用合成 running-id 响应,不派发模型请求。相关检查已接入现有 E2E 入口;上述浏览器结果来自定向运行,并不表示整套 E2E 全部通过。此前整套 E2E 在既有
e2e/font-preferences.mjs字体切换断言失败,未修改的上游基线e533d9b也能复现。视觉取舍,供维护者确认
当前装饰性 Pi 素材保留固定三色;文字和容器仍使用现有主题样式。考虑到贡献规范要求复用主题色、避免新增颜色,这一图标配色是需要维护者确认的视觉取舍,并非新增主题或用户配置项。