perf(panel): cached info and history paint first, lazy markdown up the thread, background prefetch

This commit is contained in:
hh
2026-09-02 05:16:13 +02:00
parent 2d903c7c5f
commit 5b851c11d4
10 changed files with 192 additions and 16 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import type {
LimitWindow,
} from "./api/types";
import { panelCache } from "./panel/cache";
import { browserHost } from "./panel/host";
import { ConversationIndex } from "./panel/index.svelte";
import { session } from "./session.svelte";
@@ -23,7 +24,7 @@ class Gateway extends ConversationIndex {
jobs = $state<JobsResponse | null>(cache.get<JobsResponse>(JOBS_KEY) ?? null);
constructor() {
super(() => session.client);
super(() => session.client, browserHost().cache ?? null);
}
async refreshJobs(): Promise<void> {