perf: optimize app startup and background lifecycles

This commit is contained in:
inman
2026-08-19 00:56:15 +08:00
parent 31332f6d76
commit 927e13349b
121 changed files with 4359 additions and 1400 deletions

View File

@@ -1842,9 +1842,9 @@ export function ChatScene() {
<PixelAvatar character={activeAgent} size="lg" glow />
<p className="mt-4 font-semibold">{activeAgent.name} 正在思考</p>
<div className="mt-3 flex gap-1">
<span className="h-2 w-2 animate-bounce rounded-full bg-brand" />
<span className="h-2 w-2 animate-bounce rounded-full bg-brand [animation-delay:120ms]" />
<span className="h-2 w-2 animate-bounce rounded-full bg-brand [animation-delay:240ms]" />
<span className="h-2 w-2 rounded-full bg-brand opacity-60" />
<span className="h-2 w-2 rounded-full bg-brand opacity-75" />
<span className="h-2 w-2 rounded-full bg-brand" />
</div>
</div>
) : latestAssistant ? (