feat(webui): search loaded message text in Ctrl+K

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-25 21:03:35 +08:00
1 parent 8af6313c56
commit e821144c7e
22 files changed
+396 -23

No files matched your search

+5
View File
@@ -18,6 +18,11 @@ export class MemoryLruCache<T> {
return entry.value;
}
/** Read without making a background observer retain an otherwise old entry. */
peek(key: string): T | undefined {
return this.entries.get(key)?.value;
}
set(key: string, value: T): void {
this.delete(key);
const bytes = this.estimate(value);