fix(webui): make browser notification failures actionable

This commit is contained in:
Xubin Ren authored and chengyongru committed 2026-10-20 13:45:04 +08:00
1 parent 909b277e7a
commit 7b2af031c0
30 files changed
+919 -96

No files matched your search

+1
View File
@@ -246,6 +246,7 @@ vi.mock("@/lib/bootstrap", () => ({
vi.mock("@/lib/nanobot-client", async (importOriginal) => {
const actual = await importOriginal<typeof import("@/lib/nanobot-client")>();
class MockClient {
onTaskNotice = () => () => {};
status = "idle" as const;
defaultChatId = mockDefaultChatId;
sendSystemCommand = sendSystemCommandSpy;