feat(ai): AI 消息代码块外壳与思维卡流式计时 - shiki 双主题高亮/流式光标/复制工具条, 250ms 节流 mono 秒数 (DCE 工具卡清理)

This commit is contained in:
maomaochong-ai committed 2026-09-06 20:33:22 +08:00
1 parent 97a0b4d111
commit fd5ebb6893
6 files changed
+254 -22

No files matched your search

+1 -11
View File
@@ -63,17 +63,7 @@ export function WorkingDots({
* work. Disabled under prefers-reduced-motion. Caller positions it: wrap the
* control in a `relative` container and pass the matching border radius.
*/
export function WorkingGlow({
active,
color,
radius = 0,
className,
}: {
active: boolean;
color: string;
radius?: number | string;
className?: string;
}) {
export function WorkingGlow({ active, color, radius = 0, className }: { active: boolean; color: string; radius?: number | string; className?: string }) {
const reducedMotion = useReducedMotion();
if (!active || reducedMotion) return null;
const soft = `color-mix(in srgb, ${color} 55%, transparent)`;