Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

feat(desktop): add scheduled encrypted backups and recovery (#684)

LuoQianhonge557db13ad22
diff --git a/apps/api/src/backup-consistency.test.mjs b/apps/api/src/backup-consistency.test.mjs
new file mode 100644
index 00000000..60343a04
--- /dev/null
+++ b/apps/api/src/backup-consistency.test.mjs
@@ -0,0 +1,126 @@
+import { afterEach, describe, expect, test } from "bun:test";
+import { Database } from "bun:sqlite";
+import { globSync, mkdtempSync, readFileSync, rmSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
+import { Hono } from "hono";
+import { registerBackupRoutes } from "./backup-routes.ts";
+import { createSelfHostedStorageAdapter } from "./self-hosted-storage-adapter.ts";
+import { createMemoRecord, getMemoDetail, mapMemoDetail } from "./memo-service.ts";
+import { restoreJsonMemos, restoreJsonNotebooks } from "./backup-service.ts";
+import { sha256Bytes } from "./hash-utils.ts";
+
+const cleanups = [];
+afterEach(() => cleanups.splice(0).forEach((cleanup) => cleanup()));
+const auth = { kind: "user", actorType: "user", actorId: "backup-test-user", username: "owner", displayName: "Owner", scopes: [], workspaceId: "ws_default", role: "owner" };
+
+const installation = async () => {
+ const sqlite = new Database(":memory:");
+ const migrations = globSync("migrations/*.sql").sort();
+ // Start with the existing schema and data, then upgrade it in place.
+ for (const file of migrations.filter((file) => !file.endsWith("0080_backup_revision.sql"))) sqlite.exec(readFileSync(file, "utf8"));
+ const directory = mkdtempSync(join(tmpdir(), "edgeever-backup-protocol-"));
+ cleanups.push(() => { sqlite.close(); rmSync(directory, { recursive: true, force: true }); });
+ const storage = createSelfHostedStorageAdapter(sqlite, directory);
+ const inbox = sqlite.query("SELECT id FROM notebooks WHERE workspace_id = 'ws_default' AND slug = 'inbox'").get().id;
+ const note = await createMemoRecord(storage.db, "ws_default", { notebookId: inbox, title: "Before upgrade", contentMarkdown: "original body", tags: ["backup"] }, auth, "owner");
+ sqlite.exec(readFileSync("migrations/0080_backup_revision.sql", "utf8"));
+ let activeAuth = auth;
+ const app = new Hono();
+ app.use("/api/v1/*", async (c, next) => { c.set("auth", activeAuth); await next(); });
+ registerBackupRoutes(app, { clampNumber: (v, min, max) => Math.min(Math.max(Number.isFinite(v) ? v : min, min), max), getMemoDetail, mapMemoDetail, restoreJsonMemos, restoreJsonNotebooks, sha256Bytes, initiateResourceRestoreUpload: async () => { throw new Error("unused"); } });
+ return {
+ sqlite, storage, note, inbox,
+ revision: (workspace = "ws_default") => String(sqlite.query("SELECT backup_revision FROM workspaces WHERE id = ?").get(workspace).backup_revision),
+ request: (path) => app.request(path, {}, { storage }),
+ setAuth: (value) => { activeAuth = value; },
+ };
+};
+
+const pageUrl = (state, kind = "memos", after = "") => `/api/v1/backups/data?${new URLSearchParams({ kind, identity: state.identity, revision: state.backupRevision, after, limit: "1" })}`;
+
+describe("consistent backup reads across a real schema upgrade", () => {
+ test("keeps existing data and old export callers usable, with a separate revision", async () => {
+ const db = await installation();
+ expect(db.revision()).toBe("0");
+ expect((await db.request("/api/v1/backups/json")).status).toBe(200);
+ const response = await db.request("/api/v1/backups/state");
+ expect(response.status).toBe(200);
+ expect(response.headers.get("cache-control")).toContain("no-store");
+ const state = await response.json();
+ expect(state).toMatchObject({ protocolVersion: 1, userId: auth.actorId, workspaceId: "ws_default", backupRevision: "0" });
+ expect(state.counts.memos).toBeGreaterThan(0);
+ const page = await (await db.request(pageUrl(state))).json();
+ expect(page.memos).toHaveLength(1);
+ expect(typeof page.nextCursor).toBe("string");
+ const ids = page.memos.map((memo) => memo.id);
+ let cursor = page.nextCursor;
+ while (cursor !== null) {
+ const next = await (await db.request(pageUrl(state, "memos", cursor))).json();
+ ids.push(...next.memos.map((memo) => memo.id));
+ cursor = next.nextCursor;
+ }
+ expect(new Set(ids).size).toBe(state.counts.memos);
+ expect(ids).toContain(db.note.id);
+ });
+
+ test("rejects stale pages after deletion instead of silently skipping notes", async () => {
+ const db = await installation();
+ const state = await (await db.request("/api/v1/backups/state")).json();
+ expect((await db.request(pageUrl(state))).status).toBe(200);
+ db.sqlite.query("UPDATE memos SET is_deleted = 1 WHERE id = ?").run(db.note.id);
+ const stale = await db.request(pageUrl(state));
+ expect(stale.status).toBe(409);
+ expect(await stale.json()).toMatchObject({ error: { code: "backup_source_changed" } });
+ expect((await db.request("/api/v1/backups/json")).status).toBe(200);
+ });
+
+ test("covers content, revisions, resources, prompts and deletions in their transaction", async () => {
+ const db = await installation();
+ const changes = [
+ () => db.sqlite.query("UPDATE memo_contents SET content_markdown = 'changed' WHERE memo_id = ?").run(db.note.id),
+ () => db.sqlite.query("INSERT INTO memo_revisions (id,memo_id,revision,content_json,content_hash,created_by) VALUES ('backup-revision',?,1,'{\"type\":\"doc\",\"content\":[]}','test','user')").run(db.note.id),
+ () => db.sqlite.exec("DELETE FROM memo_revisions WHERE id = 'backup-revision'"),
+ () => db.sqlite.query("INSERT INTO resources (id,memo_id,object_key,kind,byte_size) VALUES ('backup-resource',?,'backup-object','attachment',4)").run(db.note.id),
+ () => db.sqlite.exec("UPDATE resources SET filename = 'changed.txt' WHERE id = 'backup-resource'"),
+ () => db.sqlite.exec("DELETE FROM resources WHERE id = 'backup-resource'"),
+ () => db.sqlite.exec("UPDATE ai_prompt_templates SET description = 'changed' WHERE workspace_id = 'ws_default'"),
+ () => db.sqlite.query("UPDATE notebooks SET name = 'Changed inbox' WHERE id = ?").run(db.inbox),
+ ];
+ for (const mutate of changes) {
+ const before = BigInt(db.revision());
+ mutate();
+ expect(BigInt(db.revision())).toBeGreaterThan(before);
+ }
+ const before = db.revision();
+ expect(() => db.sqlite.transaction(() => { changes[0](); throw new Error("rollback"); })()).toThrow("rollback");
+ expect(db.revision()).toBe(before);
+ const restored = await restoreJsonMemos(db.storage.db, "ws_default", [{ memo: db.note, revisions: [], resources: [] }]);
+ expect(restored).toBeUndefined();
+ expect(BigInt(db.revision())).toBeGreaterThan(BigInt(before));
+ });
+
+ test("keeps workspace counters isolated and invalidates both sides of a move", async () => {
+ const db = await installation();
+ db.sqlite.exec("INSERT INTO workspaces (id,name) VALUES ('ws_other','Other'); INSERT INTO notebooks (id,name,workspace_id) VALUES ('nb_move','Move','ws_default');");
+ expect(db.revision("ws_other")).toBe("0");
+ const before = db.revision();
+ db.sqlite.exec("UPDATE notebooks SET workspace_id = 'ws_other' WHERE id = 'nb_move'");
+ expect(BigInt(db.revision())).toBeGreaterThan(BigInt(before));
+ expect(BigInt(db.revision("ws_other"))).toBeGreaterThan(0n);
+ db.setAuth({ ...auth, workspaceId: "ws_other", actorId: "other-user" });
+ const state = await (await db.request("/api/v1/backups/state")).json();
+ const page = await (await db.request(pageUrl(state, "notebooks"))).json();
+ expect(page.notebooks.map((n) => n.id)).toEqual(["nb_move"]);
+ });
+
+ test("retains prompt and notebook permissions and rejects missing consistency context", async () => {
+ const db = await installation();
+ const state = await (await db.request("/api/v1/backups/state")).json();
+ expect((await db.request("/api/v1/backups/data?kind=memos")).status).toBe(400);
+ db.setAuth({ ...auth, kind: "agent", scopes: ["read:memos", "read:resources"] });
+ expect((await db.request(pageUrl(state, "prompts"))).status).toBe(403);
+ expect((await db.request(pageUrl(state, "notebooks"))).status).toBe(403);
+ expect((await db.request("/api/v1/backups/json")).status).toBe(200);
+ });
+});
diff --git a/apps/api/src/backup-restore.test.mjs b/apps/api/src/backup-restore.test.mjs
index 15f5e36f..d4b4ef0c 100644
--- a/apps/api/src/backup-restore.test.mjs
+++ b/apps/api/src/backup-restore.test.mjs
@@ -381,6 +381,48 @@ describe("JSON backup and restore", () => {
expect(target.sqlite.query("SELECT COUNT(*) AS count FROM memos WHERE id IN (?, ?)").get(valid.memo.id, plan.memo.id).count).toBe(0);
});
+ for (const crossWorkspace of [false, true]) test(`rejects existing revision IDs owned by another note (${crossWorkspace ? "other workspace" : "same workspace"}) before any page writes`, async () => {
+ const source = installation();
+ await populate(source);
+ const backup = await exportBackup(source);
+ const target = installation();
+ await target.postJson("/api/v1/restores/json/notebooks", { notebooks: backup.notebooks });
+ const plan = backup.memos.find(({ revisions }) => revisions.length > 0);
+ const valid = backup.memos.find(({ memo, revisions }) => revisions.length === 0 && memo.id !== "memo_welcome");
+ if (crossWorkspace) target.sqlite.exec(`
+ INSERT INTO workspaces (id, name, is_personal) VALUES ('ws_other', 'Other', 1);
+ INSERT INTO notebooks (id, workspace_id, name, slug) VALUES ('nb_other', 'ws_other', 'Other', 'other');
+ `);
+ target.sqlite.query(`INSERT INTO memos (id, workspace_id, notebook_id, title, created_by, updated_by)
+ VALUES ('memo_owner', ?, ?, 'Owner', 'other', 'other')`)
+ .run(crossWorkspace ? "ws_other" : WORKSPACE_ID, crossWorkspace ? "nb_other" : plan.memo.notebookId);
+ target.sqlite.query(`INSERT INTO memo_revisions (id, memo_id, revision, title, content_json, content_markdown, content_hash, created_by)
+ VALUES (?, 'memo_owner', 1, 'Original', '{}', 'Do not replace', 'original', 'other')`).run(plan.revisions[0].id);
+ const before = target.sqlite.query("SELECT * FROM memo_revisions WHERE id = ?").get(plan.revisions[0].id);
+
+ const response = await target.postJson("/api/v1/restores/json/memos", { memos: [valid, plan] });
+
+ expect(response.status).toBe(409);
+ expect(response.body.error.code).toBe("backup_revision_id_conflict");
+ expect(target.sqlite.query("SELECT * FROM memo_revisions WHERE id = ?").get(plan.revisions[0].id)).toEqual(before);
+ expect(target.sqlite.query("SELECT COUNT(*) AS count FROM memos WHERE id IN (?, ?)").get(valid.memo.id, plan.memo.id).count).toBe(0);
+ });
+
+ test("rejects a revision ID assigned to two notes within the same restore page", async () => {
+ const source = installation();
+ await populate(source);
+ const backup = await exportBackup(source);
+ const target = installation();
+ await target.postJson("/api/v1/restores/json/notebooks", { notebooks: backup.notebooks });
+ const plan = backup.memos.find(({ revisions }) => revisions.length > 0);
+ const other = backup.memos.find(({ memo, revisions }) => revisions.length === 0 && memo.id !== "memo_welcome");
+ const response = await target.postJson("/api/v1/restores/json/memos", { memos: [plan, {
+ ...other, revisions: [{ ...plan.revisions[0], memoId: other.memo.id }],
+ }] });
+ expect(response.status).toBe(409);
+ expect(target.sqlite.query("SELECT COUNT(*) AS count FROM memos WHERE id IN (?, ?)").get(plan.memo.id, other.memo.id).count).toBe(0);
+ });
+
test("allows only signed-in users to restore", async () => {
const source = installation();
await populate(source);
diff --git a/apps/api/src/backup-routes.ts b/apps/api/src/backup-routes.ts
index 5ac5ea05..cc62c5cb 100644
--- a/apps/api/src/backup-routes.ts
+++ b/apps/api/src/backup-routes.ts
@@ -18,6 +18,8 @@ import { AppError } from "./app-error";
import { isoNow, parseJsonArray } from "./entity-utils";
import { apiError, badRequest, conflict, notFound } from "./http-errors";
import { resolveObjectStorage } from "./object-storage";
+import { AI_PROMPT_SELECT_COLUMNS, mapAiPromptTemplateRow, type AiPromptTemplateRow } from "./ai-prompt-service";
+import { mapNotebook, notebookSelectSql, type NotebookRow } from "./notebook-service";
import {
MAX_ATTACHMENT_UPLOAD_BYTES,
MAX_IMAGE_UPLOAD_BYTES,
@@ -134,6 +136,45 @@ const MEMO_EXPORT_SELECT_SQL = `SELECT m.id, m.notebook_id, m.title, m.excerpt,
FROM memos m
INNER JOIN memo_contents mc ON mc.memo_id = m.id`;
+type BackupStateRow = {
+ identity: string;
+ backup_revision: string;
+ notebooks: number;
+ memos: number;
+ revisions: number;
+ resources: number;
+ prompts: number;
+};
+
+const readBackupState = (database: DatabaseAdapter, workspaceId: string) => database.prepare(
+ `SELECT w.created_at AS identity, CAST(w.backup_revision AS TEXT) AS backup_revision,
+ (SELECT COUNT(*) FROM notebooks WHERE workspace_id = w.id AND is_deleted = 0) AS notebooks,
+ (SELECT COUNT(*) FROM memos WHERE workspace_id = w.id AND is_deleted = 0) AS memos,
+ (SELECT COUNT(*) FROM memo_revisions r JOIN memos m ON m.id = r.memo_id WHERE m.workspace_id = w.id AND m.is_deleted = 0) AS revisions,
+ (SELECT COUNT(*) FROM resources r JOIN memos m ON m.id = r.memo_id WHERE m.workspace_id = w.id AND m.is_deleted = 0 AND r.is_deleted = 0) AS resources,
+ (SELECT COUNT(*) FROM ai_prompt_templates WHERE workspace_id = w.id) AS prompts
+ FROM workspaces w WHERE w.id = ?`,
+).bind(workspaceId).first<BackupStateRow>();
+
+const readBackupRelations = async (database: DatabaseAdapter, memoIds: string[]) => {
+ if (memoIds.length === 0) return { resources: [] as Resource[], revisions: [] as JsonBackupRevision[] };
+ const placeholders = memoIds.map(() => "?").join(", ");
+ const [resources, revisions] = await Promise.all([
+ database.prepare(
+ `SELECT id, memo_id, original_memo_id, bucket_name, object_key, storage_config_id, kind, mime_type,
+ filename, byte_size, sha256, width, height, created_at, updated_at
+ FROM resources WHERE is_deleted = 0 AND memo_id IN (${placeholders})
+ ORDER BY memo_id ASC, created_at ASC, id ASC`,
+ ).bind(...memoIds).all<ResourceRow>(),
+ database.prepare(
+ `SELECT id, memo_id, revision, title, tags_json, content_json, content_markdown,
+ content_text, content_hash, created_by, created_at FROM memo_revisions
+ WHERE memo_id IN (${placeholders}) ORDER BY memo_id ASC, revision ASC, created_at ASC`,
+ ).bind(...memoIds).all<BackupRevisionRow>(),
+ ]);
+ return { resources: resources.results.map(mapResource), revisions: revisions.results.map(mapJsonBackupRevision) };
+};
+
const listBackupPage = async (
database: DatabaseAdapter,
workspaceId: string,
@@ -193,6 +234,79 @@ export const registerBackupRoutes = (
app: Hono<AppEnv>,
dependencies: BackupRouteDependencies,
) => {
+ app.get("/api/v1/backups/state", async (context) => {
+ const denied = requireScopes(context, "read:memos", "read:resources");
+ if (denied) return denied;
+ // The aggregate includes private AI prompts, just like their existing route.
+ const userDenied = requireUser(context);
+ if (userDenied) return userDenied;
+ context.header("Cache-Control", "private, no-store");
+ const workspaceId = getWorkspaceId(context);
+ const state = await readBackupState(context.env.storage.db, workspaceId);
+ if (!state) return notFound(context, "Workspace not found.");
+ return context.json({
+ protocolVersion: 1,
+ userId: context.get("auth").actorId,
+ workspaceId,
+ identity: state.identity,
+ backupRevision: state.backup_revision,
+ counts: { notebooks: state.notebooks, memos: state.memos, revisions: state.revisions, resources: state.resources, prompts: state.prompts },
+ });
+ });
+
+ app.get("/api/v1/backups/data", async (context) => {
+ const denied = requireScopes(context, "read:memos", "read:resources");
+ if (denied) return denied;
+ context.header("Cache-Control", "private, no-store");
+ const kind = context.req.query("kind");
+ if (!["memos", "notebooks", "prompts"].includes(kind ?? "")) return badRequest(context, "Unknown backup data kind.");
+ if (kind === "notebooks") {
+ const notebookDenied = requireScopes(context, "read:notebooks");
+ if (notebookDenied) return notebookDenied;
+ }
+ if (kind === "prompts") {
+ const promptDenied = requireUser(context);
+ if (promptDenied) return promptDenied;
+ }
+ const identity = context.req.query("identity");
+ const revision = context.req.query("revision");
+ if (!identity || revision === undefined || !/^\d+$/.test(revision)) return badRequest(context, "A backup identity and revision are required.");
+ const workspaceId = getWorkspaceId(context);
+ const database = context.env.storage.db;
+ const unchanged = async () => {
+ const state = await readBackupState(database, workspaceId);
+ return state?.identity === identity && state.backup_revision === revision;
+ };
+ const changed = () => conflict(context, "backup_source_changed", "The source changed during backup. Try again when it is idle.");
+ if (!await unchanged()) return changed();
+ const after = context.req.query("after") ?? "";
+ const limit = dependencies.clampNumber(Number(context.req.query("limit") ?? 25), 1, 50);
+ let result: Record<string, unknown>;
+ let ids: string[];
+ if (kind === "memos") {
+ const rows = await database.prepare(
+ `${MEMO_EXPORT_SELECT_SQL} WHERE m.workspace_id = ? AND m.is_deleted = 0 AND m.id > ? ORDER BY m.id ASC LIMIT ?`,
+ ).bind(workspaceId, after, limit + 1).all<BackupMemoDetailRow>();
+ const selected = rows.results.slice(0, limit);
+ ids = rows.results.map((row) => row.id);
+ result = { memos: selected.map(dependencies.mapMemoDetail), ...await readBackupRelations(database, selected.map((row) => row.id)) };
+ } else if (kind === "notebooks") {
+ const rows = await database.prepare(notebookSelectSql(
+ `WHERE n.workspace_id = ? AND n.is_deleted = 0 AND n.id > ? GROUP BY n.id ORDER BY n.id ASC LIMIT ?`,
+ )).bind(workspaceId, after, limit + 1).all<NotebookRow>();
+ ids = rows.results.map((row) => row.id);
+ result = { notebooks: rows.results.slice(0, limit).map(mapNotebook) };
+ } else {
+ const rows = await database.prepare(
+ `SELECT ${AI_PROMPT_SELECT_COLUMNS} FROM ai_prompt_templates WHERE workspace_id = ? AND id > ? ORDER BY id ASC LIMIT ?`,
+ ).bind(workspaceId, after, limit + 1).all<AiPromptTemplateRow>();
+ ids = rows.results.map((row) => row.id);
+ result = { prompts: rows.results.slice(0, limit).map((row) => mapAiPromptTemplateRow(row, context.req.header("Accept-Language"))) };
+ }
+ if (!await unchanged()) return changed();
+ return context.json({ ...result, nextCursor: ids.length > limit ? ids[limit - 1] : null });
+ });
+
app.get("/api/v1/exports/markdown", async (context) => {
const denied = requireScopes(context, "read:memos", "read:resources");
if (denied) return denied;
diff --git a/apps/api/src/backup-service.ts b/apps/api/src/backup-service.ts
index 2e30ba1b..142a44be 100644
--- a/apps/api/src/backup-service.ts
+++ b/apps/api/src/backup-service.ts
@@ -125,6 +125,24 @@ export const restoreJsonMemos = async (
throw new AppError("invalid_backup", "A backup revision belongs to a different memo.", 400);
}
+ const revisionOwners = new Map<string, string>();
+ const revisionConflict = () => new AppError("backup_revision_id_conflict", "A backup revision ID is already used by another memo.", 409);
+ for (const backup of backups) {
+ for (const revision of backup.revisions) {
+ const owner = revisionOwners.get(revision.id);
+ if (owner && owner !== backup.memo.id) throw revisionConflict();
+ revisionOwners.set(revision.id, backup.memo.id);
+ }
+ }
+ const revisionIds = [...revisionOwners.keys()];
+ for (let index = 0; index < revisionIds.length; index += 50) {
+ const ids = revisionIds.slice(index, index + 50);
+ const existing = await db.prepare(
+ `SELECT id, memo_id FROM memo_revisions WHERE id IN (${ids.map(() => "?").join(", ")})`,
+ ).bind(...ids).all<{ id: string; memo_id: string }>();
+ if (existing.results.some((row) => revisionOwners.get(row.id) !== row.memo_id)) throw revisionConflict();
+ }
+
for (const backup of backups) {
const memo = backup.memo;
const contentJson = parseBackupDoc(memo.contentJson);
@@ -203,18 +221,7 @@ export const restoreJsonMemos = async (
`INSERT INTO memo_revisions (
id, memo_id, revision, title, content_json, content_markdown,
content_hash, created_by, created_at, tags_json, content_text
- ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- ON CONFLICT(id) DO UPDATE SET
- memo_id = excluded.memo_id,
- revision = excluded.revision,
- title = excluded.title,
- content_json = excluded.content_json,
- content_markdown = excluded.content_markdown,
- content_hash = excluded.content_hash,
- created_by = excluded.created_by,
- created_at = excluded.created_at,
- tags_json = excluded.tags_json,
- content_text = excluded.content_text`,
+ ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`,
).bind(
revision.id,
memo.id,
diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.yml
index 0af5b19c..23164b56 100644
--- a/apps/desktop/electron-builder.yml
+++ b/apps/desktop/electron-builder.yml
@@ -18,6 +18,7 @@ fileAssociations:
description: Open a Markdown document in EdgeEver
role: Editor
asar: true
+beforePack: ./scripts/prepare-backup-worker.cjs
# Cross-platform master (1024). macOS uses the prebuilt full ICNS below so Dock
# always receives ic10/ic14 instead of electron-builder's thin 512-only pack.
icon: assets/icon.png
@@ -25,6 +26,8 @@ directories:
output: ../../release/desktop
files:
- src/**
+ - build/backup-worker.mjs
+ - build/zip.js.LICENSE
- package.json
# Apply to application code and production dependencies. Keep executable JS,
# npm commands (including test.js), node-gyp, schemas and license notices.
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 55dcf820..2350146b 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -8,8 +8,8 @@
"type": "module",
"main": "src/main/index.mjs",
"scripts": {
- "dev": "electron .",
- "start": "electron .",
+ "dev": "bun scripts/build-backup-worker.mjs && electron .",
+ "start": "bun scripts/build-backup-worker.mjs && electron .",
"dist": "electron-builder --config electron-builder.yml",
"verify-origin-migration": "electron ../../scripts/renderer-origin-verifier"
},
diff --git a/apps/desktop/scripts/build-backup-worker.mjs b/apps/desktop/scripts/build-backup-worker.mjs
new file mode 100644
index 00000000..02828950
--- /dev/null
+++ b/apps/desktop/scripts/build-backup-worker.mjs
@@ -0,0 +1,10 @@
+import { copyFile, mkdir } from "node:fs/promises";
+import { fileURLToPath } from "node:url";
+import { join } from "node:path";
+
+const root = fileURLToPath(new URL("../../../", import.meta.url));
+const directory = join(root, "apps/desktop/build");
+await mkdir(directory, { recursive: true });
+const result = await Bun.build({ entrypoints: [join(root, "apps/desktop/src/backup/worker.ts")], target: "node", format: "esm", outdir: directory, naming: "backup-worker.mjs" });
+if (!result.success) throw new AggregateError(result.logs, "Could not build the desktop backup worker");
+await copyFile(join(root, "node_modules/@zip.js/zip.js/LICENSE"), join(directory, "zip.js.LICENSE"));
diff --git a/apps/desktop/scripts/prepare-backup-worker.cjs b/apps/desktop/scripts/prepare-backup-worker.cjs
new file mode 100644
index 00000000..2cda4781
--- /dev/null
+++ b/apps/desktop/scripts/prepare-backup-worker.cjs
@@ -0,0 +1,6 @@
+const { execFileSync } = require("node:child_process");
+const { join } = require("node:path");
+
+module.exports = async () => {
+ execFileSync("bun", [join(__dirname, "build-backup-worker.mjs")], { stdio: "inherit" });
+};
diff --git a/apps/desktop/src/backup/encrypted-archive.d.mts b/apps/desktop/src/backup/encrypted-archive.d.mts
new file mode 100644
index 00000000..1c8ccaf3
--- /dev/null
+++ b/apps/desktop/src/backup/encrypted-archive.d.mts
@@ -0,0 +1,4 @@
+export const MAX_ENCRYPTED_ARCHIVE_BYTES: number;
+export function assertEncryptedArchiveSize(size: number): void;
+export function encryptArchive(source: AsyncIterable<Uint8Array>, password: string, options?: { signal?: AbortSignal }): AsyncGenerator<Uint8Array>;
+export function decryptArchive(input: string, destination: string, password?: string, options?: { signal?: AbortSignal }): Promise<void>;
diff --git a/apps/desktop/src/backup/encrypted-archive.mjs b/apps/desktop/src/backup/encrypted-archive.mjs
new file mode 100644
index 00000000..08ba080e
--- /dev/null
+++ b/apps/desktop/src/backup/encrypted-archive.mjs
@@ -0,0 +1,75 @@
+import { createCipheriv, createDecipheriv, pbkdf2, randomBytes } from "node:crypto";
+import { createReadStream, createWriteStream } from "node:fs";
+import { open, rm, stat } from "node:fs/promises";
+import { pipeline } from "node:stream/promises";
+import { promisify } from "node:util";
+
+const derive = promisify(pbkdf2);
+const HEADER_SIZE = 40;
+const TAG_SIZE = 16;
+const ITERATIONS = 600000;
+export const MAX_ENCRYPTED_ARCHIVE_BYTES = 2 ** 36 - 32;
+const failure = (code, message) => Object.assign(new Error(message), { code });
+
+export const assertEncryptedArchiveSize = (size) => {
+ if (size > MAX_ENCRYPTED_ARCHIVE_BYTES) throw failure("backup_too_large", "The encrypted ZIP exceeds the GCM size limit (64 GiB minus 32 bytes).");
+};
+
+const keyFor = async (password, header) => {
+ if (typeof password !== "string" || password.length === 0) throw failure("backup_password_required", "A backup password is required.");
+ return derive(Buffer.from(password, "utf8"), header.subarray(12, 28), ITERATIONS, 32, "sha256");
+};
+
+export async function* encryptArchive(source, password, { signal } = {}) {
+ const header = Buffer.alloc(HEADER_SIZE);
+ header.write("EDGB"); header.writeUInt16BE(1, 4); header[6] = 1; header[7] = 1;
+ header.writeUInt32BE(ITERATIONS, 8); randomBytes(16).copy(header, 12); randomBytes(12).copy(header, 28);
+ const key = await keyFor(password, header);
+ try {
+ signal?.throwIfAborted();
+ const cipher = createCipheriv("aes-256-gcm", key, header.subarray(28, 40), { authTagLength: TAG_SIZE });
+ cipher.setAAD(header);
+ yield header;
+ let size = 0;
+ for await (const chunk of source) {
+ signal?.throwIfAborted();
+ size += chunk.byteLength; assertEncryptedArchiveSize(size);
+ yield cipher.update(chunk);
+ }
+ signal?.throwIfAborted();
+ yield cipher.final(); yield cipher.getAuthTag();
+ } finally { key.fill(0); }
+}
+
+export const decryptArchive = async (input, destination, password, { signal } = {}) => {
+ const size = (await stat(input)).size;
+ if (size < HEADER_SIZE + TAG_SIZE) throw failure("backup_unsupported_container", "The encrypted backup header is incomplete.");
+ assertEncryptedArchiveSize(size - HEADER_SIZE - TAG_SIZE);
+ const source = await open(input, "r");
+ const header = Buffer.alloc(HEADER_SIZE); const tag = Buffer.alloc(TAG_SIZE);
+ try {
+ await source.read(header, 0, HEADER_SIZE, 0); await source.read(tag, 0, TAG_SIZE, size - TAG_SIZE);
+ } finally { await source.close(); }
+ if (header.toString("ascii", 0, 4) !== "EDGB" || header.readUInt16BE(4) !== 1 || header[6] !== 1 || header[7] !== 1 || header.readUInt32BE(8) !== ITERATIONS) {
+ throw failure("backup_unsupported_container", "This encrypted backup version or password suite is not supported.");
+ }
+ const key = await keyFor(password, header);
+ let output;
+ try {
+ signal?.throwIfAborted();
+ output = await open(destination, "wx", 0o600);
+ const decipher = createDecipheriv("aes-256-gcm", key, header.subarray(28, 40), { authTagLength: TAG_SIZE });
+ decipher.setAAD(header); decipher.setAuthTag(tag);
+ try {
+ await pipeline(createReadStream(input, { start: HEADER_SIZE, end: size - TAG_SIZE - 1 }), decipher,
+ createWriteStream(destination, { fd: output.fd, autoClose: false }), { signal });
+ await output.sync();
+ } catch (error) {
+ if (signal?.aborted || ["ENOSPC", "EACCES", "EPERM", "EIO", "ENOENT"].includes(error.code)) throw error;
+ throw failure("backup_decrypt_failed", "Unable to decrypt: the password is incorrect or the file is damaged.");
+ }
+ } catch (error) {
+ if (output) { await output.close().catch(() => {}); output = null; await rm(destination, { force: true }); }
+ throw error;
+ } finally { key.fill(0); await output?.close(); }
+};
diff --git a/apps/desktop/src/backup/encrypted-archive.test.mjs b/apps/desktop/src/backup/encrypted-archive.test.mjs
new file mode 100644
index 00000000..9b048c69
--- /dev/null
+++ b/apps/desktop/src/backup/encrypted-archive.test.mjs
@@ -0,0 +1,65 @@
+import { afterEach, expect, test } from "bun:test";
+import { mkdtemp, readFile, writeFile, stat, rm } from "node:fs/promises";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
+import { encryptArchive, decryptArchive, assertEncryptedArchiveSize, MAX_ENCRYPTED_ARCHIVE_BYTES } from "./encrypted-archive.mjs";
+
+const directories = [];
+afterEach(async () => { for (const path of directories.splice(0)) await rm(path, { recursive: true, force: true }); });
+const directory = async () => { const path = await mkdtemp(join(tmpdir(), "edgeever-encryption-")); directories.push(path); return path; };
+const encode = async (bytes, password) => {
+ const parts = [];
+ for await (const chunk of encryptArchive((async function* () { yield bytes.subarray(0, 3); yield bytes.subarray(3); })(), password)) parts.push(chunk);
+ return Buffer.concat(parts);
+};
+
+test("EDGB v1 authenticates its exact header and preserves Unicode and whitespace passwords", async () => {
+ const path = await directory();
+ const bytes = Buffer.from("A portable ZIP stream\n".repeat(100));
+ const password = " 备份 café ";
+ const first = await encode(bytes, password);
+ const second = await encode(bytes, password);
+ expect(first.subarray(0, 4).toString()).toBe("EDGB");
+ expect(first.readUInt16BE(4)).toBe(1);
+ expect(first.readUInt32BE(8)).toBe(600000);
+ expect(first.length).toBe(bytes.length + 56);
+ expect(first.subarray(12, 40).equals(second.subarray(12, 40))).toBe(false);
+ const input = join(path, "backup.edgeever.enc");
+ const output = join(path, "restored.zip");
+ await writeFile(input, first);
+ await decryptArchive(input, output, password);
+ expect(await readFile(output)).toEqual(bytes);
+ if (process.platform !== "win32") expect((await stat(output)).mode & 0o777).toBe(0o600);
+ await expect(decryptArchive(input, join(path, "wrong.zip"), password.trim())).rejects.toMatchObject({ code: "backup_decrypt_failed" });
+ await expect(stat(join(path, "wrong.zip"))).rejects.toMatchObject({ code: "ENOENT" });
+});
+
+test("rejects tampered, truncated and unsupported containers without leaving plaintext", async () => {
+ const path = await directory();
+ const valid = await encode(Buffer.from("authenticated payload"), "password");
+ for (const [name, mutate] of [
+ ["salt", (data) => { data[12] ^= 1; }],
+ ["ciphertext", (data) => { data[40] ^= 1; }],
+ ["suite", (data) => { data[6] = 9; }],
+ ["iterations", (data) => { data.writeUInt32BE(1, 8); }],
+ ]) {
+ const bytes = Buffer.from(valid); mutate(bytes);
+ const input = join(path, `${name}.enc`); const output = join(path, `${name}.zip`);
+ await writeFile(input, bytes);
+ await expect(decryptArchive(input, output, "password")).rejects.toBeDefined();
+ await expect(stat(output)).rejects.toMatchObject({ code: "ENOENT" });
+ }
+ const short = join(path, "short.enc"); await writeFile(short, valid.subarray(0, 30));
+ await expect(decryptArchive(short, join(path, "short.zip"), "password")).rejects.toMatchObject({ code: "backup_unsupported_container" });
+});
+
+test("honors the GCM limit and does not remove an existing destination", async () => {
+ expect(MAX_ENCRYPTED_ARCHIVE_BYTES).toBe(64 * 1024 ** 3 - 32);
+ expect(() => assertEncryptedArchiveSize(MAX_ENCRYPTED_ARCHIVE_BYTES)).not.toThrow();
+ expect(() => assertEncryptedArchiveSize(MAX_ENCRYPTED_ARCHIVE_BYTES + 1)).toThrow();
+ const path = await directory(); const input = join(path, "input.enc"); const output = join(path, "existing.zip");
+ await writeFile(input, await encode(Buffer.from("payload"), "password"));
+ await writeFile(output, "preserve me");
+ await expect(decryptArchive(input, output, "password")).rejects.toMatchObject({ code: "EEXIST" });
+ expect(await readFile(output, "utf8")).toBe("preserve me");
+});
diff --git a/apps/desktop/src/backup/tests/large-archive.mjs b/apps/desktop/src/backup/tests/large-archive.mjs
new file mode 100644
index 00000000..e591aa28
--- /dev/null
+++ b/apps/desktop/src/backup/tests/large-archive.mjs
@@ -0,0 +1,55 @@
+// Manual acceptance: bun apps/desktop/src/backup/tests/large-archive.mjs
+// Requires approximately 15 GiB of temporary disk space; removes its own fixtures.
+import { Database } from "bun:sqlite";
+import { fork, execFileSync } from "node:child_process";
+import { mkdtemp, mkdir, readdir, readFile, open, rm, stat, writeFile } from "node:fs/promises";
+import { createReadStream } from "node:fs";
+import { createHash } from "node:crypto";
+import { join } from "node:path";
+import { tmpdir } from "node:os";
+const root = process.cwd();
+const { fetchEdgeEverApp } = await import(join(root, "apps/api/src/index.ts"));
+const { createSelfHostedStorageAdapter } = await import(join(root, "apps/api/src/self-hosted-storage-adapter.ts"));
+const { createEdgeEverClient } = await import(join(root, "packages/client/src/index.ts"));
+const directory = await mkdtemp(join(tmpdir(), "edgeever-backup-large-")); const servers = []; const dbs = []; const children = [];
+const create = async (name) => {
+ const folder = join(directory, name); await mkdir(folder);
+ const db = new Database(join(folder, "db.sqlite")); dbs.push(db);
+ for (const file of (await readdir("migrations")).filter(n => n.endsWith(".sql")).sort()) db.exec(await readFile(join("migrations", file), "utf8"));
+ const resources = join(folder, "objects");
+ const env = { storage: createSelfHostedStorageAdapter(db, resources), EDGE_EVER_ALLOW_UNAUTHENTICATED: "true", EDGE_EVER_RUNTIME: "self-hosted-bun" };
+ const server = Bun.serve({ hostname: "127.0.0.1", port: 0, fetch: r => fetchEdgeEverApp(r, env, { waitUntil() {}, passThroughOnException() {} }) }); servers.push(server);
+ const baseUrl = `http://127.0.0.1:${server.port}`; return { db, server, resources, baseUrl, client: createEdgeEverClient({ baseUrl }) };
+};
+const node = execFileSync("node", ["-p", "process.execPath"], { encoding: "utf8" }).trim();
+let peakRssKiB = 0; let stage = "export"; const peaks = {};
+const bundle = join(directory, "instrumented-worker.mjs");
+await writeFile(bundle, `import { parentPort as memoryPort } from "node:worker_threads";
+const memoryTimer = setInterval(() => memoryPort?.postMessage({type:"memory", result:process.memoryUsage()}),100); memoryTimer.unref();
+` + await readFile(join(root, "apps/desktop/build/backup-worker.mjs"), "utf8"));
+const launch = (data) => {
+ const child = fork(join(root, "apps/desktop/src/backup/tests/node-worker-runner.mjs"), [bundle], { execPath: node, stdio: ["ignore", "ignore", "inherit", "ipc"] }); children.push(child);
+ const messages=[];let notify;
+ child.on("message", m=>{ if (m.type === "memory") { const p = peaks[stage] ??= { rss:0, external:0, heapUsed:0, arrayBuffers:0 }; for (const key of Object.keys(p)) p[key] = Math.max(p[key],m.result[key]); return; } messages.push(m); notify?.();}); child.send(data);
+ const sample=setInterval(()=>{try{peakRssKiB=Math.max(peakRssKiB,Number(execFileSync("ps",["-p",String(child.pid),"-o","rss="],{encoding:"utf8"}).trim()));}catch{}},1000);
+ child.on("exit",()=>clearInterval(sample));
+ const next=async(type)=>{while(true){const e=messages.find(m=>m.type==="error");if(e)throw new Error(JSON.stringify(e));const i=messages.findIndex(m=>m.type===type);if(i>=0)return messages.splice(i,1)[0].result;await new Promise(r=>notify=r);}};
+ return {child,next};
+};
+const started=Date.now();
+try {
+ const source=await create("source"); const {notebook}=await source.client.createNotebook({name:"Large archive"});const {memo}=await source.client.createMemo({notebookId:notebook.id,title:"ZIP64 >4 GiB",contentMarkdown:"Five streamed 900 MiB attachments."});
+ const size=900*1024*1024;
+ for(let i=0;i<5;i++) {const {resource}=await source.client.uploadMemoResource(memo.id,new File([new Uint8Array([0])],`part-${i}.bin`,{type:"application/octet-stream"}));const row=source.db.query("SELECT object_key FROM resources WHERE id=?").get(resource.id); const file=await open(join(source.resources,row.object_key),"r+");try{await file.truncate(size);}finally{await file.close();}source.db.query("UPDATE resources SET byte_size=?,sha256=NULL WHERE id=?").run(size,resource.id);}
+ console.log("Large source ready",{bytes:5*size});
+ const path=join(directory,"large.zip");const job=launch({operation:"export",context:{baseUrl:source.baseUrl,accountId:null,token:""},path,version:{edgeeverVersion:"2.2.0",buildId:"large-acceptance"}});
+ const exported=await job.next("done");if(exported.size<=2**32)throw new Error("Archive is not >4 GiB");console.log("Large export complete",{bytes:exported.size,seconds:(Date.now()-started)/1000});
+ source.server.stop(true);
+ stage = "scan"; const target=await create("target");const staging=join(directory,"private");await mkdir(staging,{mode:0o700});
+ const restore=launch({operation:"import",context:{baseUrl:target.baseUrl,accountId:null,token:""},path,stagingDirectory:staging});
+ const checked=await restore.next("ready");if(checked.manifest.counts.resources!==5)throw new Error("Wrong resource count");if(target.db.query("SELECT id FROM memos WHERE id=?").get(memo.id))throw new Error("Wrote before confirmation");
+ console.log("Large scan complete",{seconds:(Date.now()-started)/1000});stage = "restore"; restore.child.send({type:"confirm"});await restore.next("done");
+ for(const row of target.db.query("SELECT object_key,sha256,byte_size FROM resources WHERE memo_id=?").all(memo.id)){const file=join(target.resources,row.object_key);if((await stat(file)).size!==size)throw new Error("Restored length differs");const hash=createHash("sha256");for await(const chunk of createReadStream(file))hash.update(chunk);if(hash.digest("hex")!==row.sha256)throw new Error("Restored digest differs");}
+ const result={archiveBytes:exported.size,resources:5,resourceBytes:size,seconds:(Date.now()-started)/1000,peakWorkerRssMiB:Math.round(peakRssKiB/1024),phasePeaks:peaks,restored:true,sourceDisconnected:true};
+ if (process.env.EDGE_EVER_BACKUP_REPORT) await writeFile(process.env.EDGE_EVER_BACKUP_REPORT,JSON.stringify(result,null,2));console.log(result); if (peaks.restore.rss > 1024**3) throw new Error("Restoring a 4.7 GB archive exceeded the 1 GiB RSS acceptance budget");
+} finally {for(const child of children)if(child.connected)child.kill("SIGTERM");for(const server of servers)server.stop(true);for(const db of dbs)db.close();await rm(directory,{recursive:true,force:true});}
diff --git a/apps/desktop/src/backup/tests/node-worker-runner.mjs b/apps/desktop/src/backup/tests/node-worker-runner.mjs
new file mode 100644
index 00000000..a491b67e
--- /dev/null
+++ b/apps/desktop/src/backup/tests/node-worker-runner.mjs
@@ -0,0 +1,11 @@
+import { Worker } from "node:worker_threads";
+
+let worker;
+process.on("message", (message) => {
+ if (worker) { worker.postMessage(message); return; }
+ worker = new Worker(process.argv[2], { workerData: message });
+ worker.on("message", (value) => process.send(value));
+ worker.on("error", (error) => process.send({ type: "error", error: { code: error.code, message: error.message } }));
+ worker.on("exit", (code) => { process.exitCode = code; process.disconnect(); });
+});
+process.on("disconnect", () => { void worker?.terminate(); });
diff --git a/apps/desktop/src/backup/tests/restore-sink-rejection.mjs b/apps/desktop/src/backup/tests/restore-sink-rejection.mjs
new file mode 100644
index 00000000..22348816
--- /dev/null
+++ b/apps/desktop/src/backup/tests/restore-sink-rejection.mjs
@@ -0,0 +1,31 @@
+import { BlobWriter, TextReader, ZipWriter } from "@zip.js/zip.js";
+import { restoreEdgeEverZip } from "../../../../../packages/shared/src/backup-archive.ts";
+
+const writer = new ZipWriter(new BlobWriter(), { useWebWorkers: false, level: 0 });
+await writer.add("resource.bin", new TextReader("resource bytes"));
+const zip = await writer.close();
+const archive = {
+ size: zip.size,
+ slice(start, end) {
+ return {
+ async arrayBuffer() {
+ // Disk reads yield to the event loop before the entry can consume data.
+ await new Promise(setImmediate);
+ return zip.slice(start, end).arrayBuffer();
+ },
+ };
+ },
+};
+const failure = Object.assign(new Error("Target storage unavailable"), { status: 503, code: "object_storage_unavailable" });
+await restoreEdgeEverZip({
+ archive, notebooks: [], prompts: [],
+ memos: [{ resources: [{ id: "resource-1", archivePath: "resource.bin", byteSize: 14 }] }],
+ manifest: { counts: { resources: 1 } },
+}, {
+ restoreNotebooks: async () => {}, restoreMemos: async () => {}, restorePrompts: async () => {},
+ createResourceRestoreSink: async () => { throw failure; },
+}).then(() => {
+ throw new Error("Expected upload initialization to fail");
+}, error => {
+ console.log(JSON.stringify({ status: error.status, code: error.code, message: error.message }));
+});
diff --git a/apps/desktop/src/backup/tests/zip64-entry-count.mjs b/apps/desktop/src/backup/tests/zip64-entry-count.mjs
new file mode 100644
index 00000000..b1c38cf5
--- /dev/null
+++ b/apps/desktop/src/backup/tests/zip64-entry-count.mjs
@@ -0,0 +1,14 @@
+// Manual ZIP64 entry-count boundary: bun apps/desktop/src/backup/tests/zip64-entry-count.mjs
+import { BlobWriter, TextReader, ZipWriter } from "@zip.js/zip.js/index-native.js";
+import { parseEdgeEverZip } from "../../../../../packages/shared/src/backup-archive.ts";
+
+const manifest = { format: "edgeever-zip", formatVersion: 2, schemaVersion: 1, edgeeverVersion: "2.2.0", buildId: "zip64-entry-count", exportedAt: new Date().toISOString(), includesTrash: false, counts: { notebooks: 0, memos: 0, revisions: 0, resources: 0, prompts: 0 } };
+const writer = new ZipWriter(new BlobWriter(), { level: 0, useWebWorkers: false });
+await writer.add("manifest.json", new TextReader(JSON.stringify(manifest)));
+await writer.add("notebooks.json", new TextReader("[]"));
+await writer.add("prompts.json", new TextReader("[]"));
+for (let index = 0; index < 65533; index++) await writer.add(`padding/${index}/`, undefined, { directory: true });
+const archive = await writer.close();
+const parsed = await parseEdgeEverZip(archive);
+if (parsed.manifest.buildId !== manifest.buildId) throw new Error("ZIP64 entry-count boundary failed");
+console.log(JSON.stringify({ entries: 65536, archiveBytes: archive.size, parsed: true }));
diff --git a/apps/desktop/src/backup/worker-integration.test.mjs b/apps/desktop/src/backup/worker-integration.test.mjs
new file mode 100644
index 00000000..12880429
--- /dev/null
+++ b/apps/desktop/src/backup/worker-integration.test.mjs
@@ -0,0 +1,235 @@
+import { afterAll, afterEach, expect, test } from "bun:test";
+import { Database } from "bun:sqlite";
+import { execFile, execFileSync, fork } from "node:child_process";
+import { mkdtemp, readdir, readFile, rm } from "node:fs/promises";
+import { tmpdir } from "node:os";
+import { join } from "node:path";
+import { promisify } from "node:util";
+import { fetchEdgeEverApp } from "../../../api/src/index.ts";
+import { createSelfHostedStorageAdapter } from "../../../api/src/self-hosted-storage-adapter.ts";
+import { BackupManager } from "../main/backup-manager.mjs";
+import { createEdgeEverClient } from "../../../../packages/client/src/index.ts";
+
+const cleanups = [];
+afterEach(async () => { for (const cleanup of cleanups.splice(0).reverse()) await cleanup(); });
+const directory = async () => { const path = await mkdtemp(join(tmpdir(), "edgeever-backup-e2e-")); cleanups.push(() => rm(path, { recursive: true, force: true })); return path; };
+const instance = async ({ intercept } = {}) => {
+ const directoryPath = await directory();
+ const db = new Database(join(directoryPath, "db.sqlite"));
+ for (const file of (await readdir("migrations")).filter((name) => name.endsWith(".sql")).sort()) db.exec(await readFile(join("migrations", file), "utf8"));
+ const env = { storage: createSelfHostedStorageAdapter(db, join(directoryPath, "resources")), EDGE_EVER_ALLOW_UNAUTHENTICATED: "true", EDGE_EVER_RUNTIME: "self-hosted-bun" };
+ const server = Bun.serve({ hostname: "127.0.0.1", port: 0, async fetch(request) {
+ const response = await intercept?.(request);
+ return response ?? fetchEdgeEverApp(request, env, { waitUntil() {}, passThroughOnException() {} });
+ } });
+ cleanups.push(() => { server.stop(true); db.close(); });
+ const baseUrl = `http://127.0.0.1:${server.port}`;
+ return { db, server, baseUrl, client: createEdgeEverClient({ baseUrl }) };
+};
+
+let bundle;
+let bundleDirectory;
+afterAll(async () => { if (bundleDirectory) await rm(bundleDirectory, { recursive: true, force: true }); });
+const nodeBinary = execFileSync("node", ["-p", "process.execPath"], { encoding: "utf8" }).trim();
+const prepareBundle = async () => {
+ if (!bundle) {
+ bundleDirectory = await mkdtemp(join(tmpdir(), "edgeever-backup-e2e-bundle-"));
+ const build = await Bun.build({ entrypoints: ["apps/desktop/src/backup/worker.ts", "apps/desktop/src/backup/tests/restore-sink-rejection.mjs"], target: "node", format: "esm", outdir: bundleDirectory, naming: "[name].mjs" });
+ if (!build.success) throw new Error(build.logs.join("\n"));
+ bundle = join(bundleDirectory, "worker.mjs");
+ }
+};
+const launch = async (data) => {
+ await prepareBundle();
+ // Bun's Worker emulation is not Electron's Node runtime. Exercise actual Node.
+ const child = fork(new URL("./tests/node-worker-runner.mjs", import.meta.url), [bundle], { execPath: nodeBinary, stdio: ["ignore", "ignore", "pipe", "ipc"] });
+ const exited = new Promise((resolve) => child.once("exit", resolve));
+ child.send(data);
+ const worker = { postMessage: (message) => child.send(message), terminate: () => child.kill("SIGTERM") };
+ cleanups.push(() => worker.terminate());
+ const messages = [];
+ let notify;
+ child.on("message", (message) => { messages.push(message); notify?.(); });
+ child.on("error", (error) => { messages.push({ type: "error", error: { message: error.message } }); notify?.(); });
+ child.stderr.on("data", (chunk) => process.stderr.write(chunk));
+ const next = async (type) => {
+ while (true) {
+ const error = messages.find((value) => value.type === "error");
+ if (error) throw Object.assign(new Error(error.error.message), error.error);
+ const index = messages.findIndex((value) => value.type === type);
+ if (index !== -1) return messages.splice(index, 1)[0];
+ await new Promise((resolve) => { notify = resolve; });
+ }
+ };
+ return { worker, next, exited, messages };
+};
+
+test("fast upload initialization failures reach the restore handler without terminating Node", async () => {
+ await prepareBundle();
+ const { stdout } = await promisify(execFile)(nodeBinary, [join(bundleDirectory, "restore-sink-rejection.mjs")]);
+ expect(JSON.parse(stdout)).toEqual({ status: 503, code: "object_storage_unavailable", message: "Target storage unavailable" });
+});
+
+test("failed workers cancel unfinished sibling requests and exit", async () => {
+ let release;
+ const promptsStarted = new Promise((resolve) => { release = resolve; });
+ const server = Bun.serve({ hostname: "127.0.0.1", port: 0, async fetch(request) {
+ const url = new URL(request.url);
+ if (url.pathname.endsWith("/state")) return Response.json({ protocolVersion: 1, userId: null, workspaceId: "ws_default", identity: "fixture", backupRevision: "0", counts: { notebooks: 0, memos: 0, revisions: 0, resources: 0, prompts: 0 } });
+ if (url.searchParams.get("kind") === "prompts") { release(); return new Promise(() => {}); }
+ await promptsStarted;
+ return Response.json({ error: { code: "fixture_read_failed", message: "Source read failed" } }, { status: 500 });
+ } });
+ cleanups.push(() => server.stop(true));
+ const job = await launch({ operation: "export", context: { baseUrl: `http://127.0.0.1:${server.port}`, accountId: null, token: "" }, path: join(await directory(), "pending.zip.part"), version: { edgeeverVersion: "2.2.0", buildId: "failure" } });
+ await expect(job.next("done")).rejects.toMatchObject({ code: "fixture_read_failed" });
+ let timer;
+ try {
+ expect(await Promise.race([job.exited.then(() => true), new Promise((resolve) => { timer = setTimeout(() => resolve(false), 2000); })])).toBe(true);
+ } finally { clearTimeout(timer); }
+}, 10000);
+
+test("real Node background workers export encrypted and plain archives and restore without the original server", async () => {
+ for (const encrypted of [false, true]) {
+ const source = await instance();
+ const { notebook } = await source.client.createNotebook({ name: "Backup hierarchy" });
+ const { memo } = await source.client.createMemo({ notebookId: notebook.id, title: "Disaster recovery", contentMarkdown: "**portable note**", tags: ["backup"] });
+ const bytes = new Uint8Array(2 * 1024 * 1024 + 11).fill(42);
+ const { resource } = await source.client.uploadMemoResource(memo.id, new File([bytes], "payload.bin", { type: "application/octet-stream" }));
+ const sourceState = await (await fetch(`${source.baseUrl}/api/v1/backups/state`)).json();
+ const root = await directory(); const archive = join(root, encrypted ? "backup.edgeever.enc" : "backup.zip");
+ const job = await launch({ operation: "export", context: { baseUrl: source.baseUrl, accountId: null, token: "", locale: "en-US" }, path: archive, password: encrypted ? " 备份 password " : undefined, version: { edgeeverVersion: "2.2.0", buildId: "e2e" } });
+ const done = await job.next("done");
+ expect(done.result.manifest.counts).toEqual(sourceState.counts);
+ source.server.stop(true);
+ const target = await instance();
+ if (!encrypted) {
+ const wrong = await launch({ operation: "import", context: { baseUrl: target.baseUrl, accountId: "another-account", token: "" }, path: archive, stagingDirectory: await directory() });
+ await expect(wrong.next("ready")).rejects.toMatchObject({ code: "backup_account_changed" });
+ expect(target.db.query("SELECT id FROM memos WHERE id = ?").get(memo.id)).toBeNull();
+ const cancelledDirectory = await directory();
+ const cancelled = await launch({ operation: "import", context: { baseUrl: target.baseUrl, accountId: null, token: "" }, path: archive, stagingDirectory: cancelledDirectory });
+ await cancelled.next("ready"); cancelled.worker.postMessage({ type: "cancel" });
+ await expect(cancelled.next("done")).rejects.toMatchObject({ code: "backup_cancelled" });
+ expect(await readdir(cancelledDirectory)).toEqual([]);
+ expect(target.db.query("SELECT id FROM memos WHERE id = ?").get(memo.id)).toBeNull();
+ }
+ const restore = await launch({ operation: "import", context: { baseUrl: target.baseUrl, accountId: null, token: "" }, path: archive, password: encrypted ? " 备份 password " : undefined, stagingDirectory: await directory() });
+ const ready = await restore.next("ready");
+ expect(ready.result.manifest.counts).toEqual(sourceState.counts);
+ expect(target.db.query("SELECT id FROM memos WHERE id = ?").get(memo.id)).toBeNull();
+ restore.worker.postMessage({ type: "confirm" });
+ await restore.next("done");
+ const restored = await target.client.getMemo(memo.id);
+ expect(restored.memo.contentMarkdown).toBe("**portable note**");
+ const response = await target.client.getResourceResponse(`/api/v1/resources/${resource.id}/blob`);
+ expect(new Uint8Array(await response.arrayBuffer())).toEqual(bytes);
+ }
+}, 30000);
+
+for (const jsonError of [true, false]) test(`preserves and diagnoses a third-resource HTTP 503 (${jsonError ? "API JSON" : "non-JSON response"})`, async () => {
+ const source = await instance();
+ const { notebook } = await source.client.createNotebook({ name: "Restore HTTP errors" });
+ const { memo } = await source.client.createMemo({ notebookId: notebook.id, contentMarkdown: "Three attachments" });
+ const resourceIds = [];
+ for (let i = 0; i < 3; i++) {
+ const { resource } = await source.client.uploadMemoResource(memo.id, new File([new Uint8Array(32 + i).fill(i)], `file-${i}.bin`, { type: "application/octet-stream" }));
+ resourceIds.push(resource.id);
+ }
+ const archive = join(await directory(), "backup.edgeever.enc");
+ const exported = await launch({ operation: "export", context: { baseUrl: source.baseUrl, accountId: null, token: "" }, path: archive, password: "fixture password", version: { edgeeverVersion: "2.2.0", buildId: "http-error" } });
+ await exported.next("done");
+ const initializations = [];
+ let failedPath;
+ const target = await instance({ intercept(request) {
+ const path = new URL(request.url).pathname;
+ const resourceId = /^\/api\/v1\/restores\/json\/resources\/([^/]+)\/uploads$/.exec(path)?.[1];
+ if (request.method === "POST" && resourceIds.includes(resourceId)) initializations.push(resourceId);
+ if (request.method === "POST" && resourceIds.includes(resourceId) && initializations.length === 3) {
+ failedPath = path;
+ return jsonError
+ ? Response.json({ error: { code: "object_storage_unavailable", message: "Target storage initialization unavailable", details: { token: "private-response-token", note: "private-note-content" } } }, { status: 503 })
+ : new Response("<html>private proxy response</html>", { status: 503, statusText: "Service Unavailable" });
+ }
+ } });
+ const staging = await directory();
+ const restore = await launch({ operation: "import", context: { baseUrl: target.baseUrl, accountId: null, token: "private-request-token" }, path: archive, password: "fixture password", stagingDirectory: staging });
+ await restore.next("ready"); restore.worker.postMessage({ type: "confirm" });
+ const failure = await restore.next("done").catch(error => error);
+ expect(failure).toMatchObject({ status: 503, code: jsonError ? "object_storage_unavailable" : "backup_request_failed", message: jsonError ? "Target storage initialization unavailable" : "Service Unavailable" });
+ expect(initializations).toHaveLength(3);
+ for (const id of initializations.slice(0, 2)) expect(target.db.query("SELECT id FROM resources WHERE id = ?").get(id)).toEqual({ id });
+ expect(target.db.query("SELECT id FROM resources WHERE id = ?").get(initializations[2])).toBeNull();
+ expect(await readdir(staging)).toEqual([]);
+ const diagnostic = restore.messages.find(message => message.type === "request-error")?.result;
+ expect(diagnostic).toEqual({ method: "POST", path: failedPath, status: 503, code: jsonError ? "object_storage_unavailable" : "backup_request_failed", message: jsonError ? "Target storage initialization unavailable" : "Service Unavailable" });
+ for (const secret of ["private-response-token", "private-request-token", "private-note-content", "private proxy response", "fixture password"]) expect(JSON.stringify(diagnostic)).not.toContain(secret);
+}, 10000);
+
+test('unchanged scheduled sources read only state and changed sources produce an archive', async () => {
+ const requests = [];
+ const source = await instance({ intercept(request) { requests.push(new URL(request.url).pathname); } });
+ await source.client.listNotebooks();
+ const state = await (await fetch(`${source.baseUrl}/api/v1/backups/state`)).json();
+ const previousState = { identity: state.identity, workspaceId: state.workspaceId, backupRevision: state.backupRevision };
+ requests.length = 0;
+ const root = await directory();
+ const input = { operation: 'export', context: { baseUrl: source.baseUrl, accountId: null, token: '' }, path: join(root, 'new.zip.part'), previousState, version: { edgeeverVersion: '2.2.0', buildId: 'skip' } };
+ const unchanged = await launch(input);
+ expect((await unchanged.next('done')).result).toMatchObject({ skipped: true, sourceState: previousState });
+ expect(await readdir(root)).toEqual([]);
+ expect(requests).toEqual(['/api/v1/backups/state']);
+ await source.client.createNotebook({ name: 'Changed' });
+ const changed = await launch(input);
+ const result = (await changed.next('done')).result;
+ expect(result.skipped).not.toBe(true);
+ expect(result.sourceState.backupRevision).not.toBe(previousState.backupRevision);
+ expect(result.size).toBeGreaterThan(0);
+}, 10000);
+
+
+test("manager creates named files, restores from history and deletes only the selected archive", async () => {
+ await prepareBundle();
+ const source = await instance();
+ const { notebook } = await source.client.createNotebook({ name: "Named backups" });
+ const { memo } = await source.client.createMemo({ notebookId: notebook.id, title: "Original", contentMarkdown: "Restorable content" });
+ const bytes = new Uint8Array(65539).fill(73);
+ const { resource } = await source.client.uploadMemoResource(memo.id, new File([bytes], "named.bin", { type: "application/octet-stream" }));
+ const root = await directory();
+ const manager = new BackupManager({
+ userData: join(root, "private"), defaultDirectory: join(root, "backups"),
+ secureStorage: { isEncryptionAvailable: () => true, isAsyncEncryptionAvailable: async () => true },
+ version: { edgeeverVersion: "2.2.0", buildId: "named-e2e" },
+ workerFactory(data) {
+ const child = fork(new URL("./tests/node-worker-runner.mjs", import.meta.url), [bundle], { execPath: nodeBinary, stdio: ["ignore", "ignore", "inherit", "ipc"] });
+ child.send(data);
+ return { on: child.on.bind(child), postMessage: child.send.bind(child), terminate: () => child.kill("SIGTERM") };
+ },
+ });
+ cleanups.push(() => manager.close());
+ await manager.setContext({ baseUrl: source.baseUrl, accountId: "local", token: "" });
+ const id = manager.status().backupSetId;
+ for (const encrypted of [false, true]) {
+ await manager.run(encrypted ? "fixture password" : undefined, id, undefined, { name: encrypted ? "Encrypted snapshot.zip" : "Plain snapshot", encrypted });
+ await manager.waitForIdle(); expect(manager.status().error).toBeNull();
+ }
+ const status = manager.status();
+ expect(status.history.map(entry => entry.name)).toEqual(["Plain snapshot.zip", "Encrypted snapshot.edgeever.enc"]);
+ expect(status.config.encrypted).toBe(false); expect(status.passwordSet).toBe(false);
+ expect((await readdir(status.actualDirectory)).sort()).toEqual(["Encrypted snapshot.edgeever.enc", "Plain snapshot.zip"]);
+ const selection = await manager.selectHistory("Encrypted snapshot.edgeever.enc", id);
+ expect(selection.encrypted).toBe(true);
+ await source.client.deleteMemo(memo.id);
+ let ready;
+ const checked = new Promise(resolve => { ready = resolve; });
+ manager.onChange = (value) => { if (value?.task?.phase === "ready") ready(); };
+ await manager.prepareImport(selection.id, "fixture password"); await checked;
+ manager.confirmImport(); await manager.waitForIdle();
+ expect(manager.status().importError).toBeNull();
+ expect((await source.client.getMemo(memo.id)).memo.contentMarkdown).toBe("Restorable content");
+ const response = await source.client.getResourceResponse(`/api/v1/resources/${resource.id}/blob`);
+ expect(new Uint8Array(await response.arrayBuffer())).toEqual(bytes);
+ await manager.deleteHistory("Plain snapshot.zip", id);
+ expect(await readdir(status.actualDirectory)).toEqual(["Encrypted snapshot.edgeever.enc"]);
+ expect(manager.status().history.map(entry => entry.name)).toEqual(["Encrypted snapshot.edgeever.enc"]);
+}, 15000);
diff --git a/apps/desktop/src/backup/worker.ts b/apps/desktop/src/backup/worker.ts
new file mode 100644
index 00000000..fbeb9568
--- /dev/null
+++ b/apps/desktop/src/backup/worker.ts
@@ -0,0 +1,215 @@
+import { parentPort, workerData } from "node:worker_threads";
+import { createHash } from "node:crypto";
+import { createReadStream, createWriteStream } from "node:fs";
+import { open, rm } from "node:fs/promises";
+import { join } from "node:path";
+import { Readable } from "node:stream";
+import { pipeline } from "node:stream/promises";
+import { createEdgeEverClient } from "../../../../packages/client/src/index";
+import { createEdgeEverZipStream, parseEdgeEverZip, restoreEdgeEverZip, validateBackupRelationships, type JsonBackupSource } from "../../../../packages/shared/src/backup-archive";
+import type { JsonBackupManifest } from "../../../../packages/shared/src/backup";
+import type { AuthSession, Notebook, Resource, AiPromptTemplate } from "../../../../packages/shared/src/types";
+import { encryptArchive, decryptArchive } from "./encrypted-archive.mjs";
+
+type Context = { baseUrl: string; accountId: string | null; token: string; locale?: string };
+type Input = { operation: "export" | "import" | "verify"; context: Context; path: string; password?: string; stagingDirectory?: string; previousState?: SourceState; version?: { edgeeverVersion: string; buildId: string } };
+type State = { protocolVersion: number; userId: string | null; workspaceId: string; identity: string; backupRevision: string; counts: Required<JsonBackupManifest["counts"]> };
+type SourceState = Pick<State, "identity" | "workspaceId" | "backupRevision">;
+const input = workerData as Input;
+const abort = new AbortController();
+const signal = abort.signal;
+let confirm: (() => void) | undefined;
+parentPort?.on("message", (message) => {
+ if (message.type === "cancel") abort.abort(new DOMException("Cancelled", "AbortError"));
+ if (message.type === "confirm") confirm?.();
+});
+const send = (type: string, result: unknown) => parentPort?.postMessage({ type, result });
+const fail = (code: string, message: string, status?: number): never => { throw Object.assign(new Error(message), { code, ...(status === undefined ? {} : { status }) }); };
+const fetchWithDiagnostics: typeof fetch = async (url, init) => {
+ const response = await fetch(url, init);
+ if (!response.ok) {
+ const body = await response.clone().json().catch(() => null) as { error?: { code?: unknown; message?: unknown } } | null;
+ send("request-error", {
+ method: init?.method ?? "GET",
+ path: new URL(typeof url === "string" ? url : url instanceof URL ? url.href : url.url).pathname,
+ status: response.status,
+ code: typeof body?.error?.code === "string" ? body.error.code : "backup_request_failed",
+ message: typeof body?.error?.message === "string" ? body.error.message : response.statusText,
+ });
+ }
+ return response;
+};
+const request = async <T>(context: Context, path: string): Promise<T> => {
+ const response = await fetchWithDiagnostics(`${context.baseUrl}${path}`, { signal, headers: { Authorization: `Bearer ${context.token}`, "Accept-Language": context.locale ?? "en-US" }, credentials: "omit" });
+ if (!response.ok) {
+ if (response.status === 404 && path === "/api/v1/backups/state") fail("backup_server_upgrade_required", "Update the EdgeEver server to enable consistent backups.", response.status);
+ const body = await response.json().catch(() => null) as { error?: { code?: string; message?: string } } | null;
+ fail(body?.error?.code ?? "backup_request_failed", body?.error?.message ?? `Backup request failed (${response.status}).`, response.status);
+ }
+ return response.json() as Promise<T>;
+};
+const verifyAccount = async () => {
+ const session = await request<AuthSession>(input.context, "/api/v1/auth/session");
+ if (!session.authenticated || session.user?.id !== (input.context.accountId ?? "local")) fail("backup_account_changed", "The signed-in account changed. Sign in again before continuing.");
+ return session;
+};
+const readState = async () => {
+ const state = await request<State>(input.context, "/api/v1/backups/state");
+ if (state.protocolVersion !== 1) fail("backup_server_upgrade_required", "The server backup protocol is not supported.");
+ if (state.userId !== input.context.accountId) {
+ const local = state.userId === null && input.context.accountId === "local" && !(await verifyAccount()).authRequired;
+ if (!local) fail("backup_account_changed", "The signed-in backup account changed.");
+ }
+ return state;
+};
+const digestFactory = () => {
+ const hash = createHash("sha256");
+ return { update: (chunk: Uint8Array) => { hash.update(chunk); }, digest: () => hash.digest("hex") };
+};
+
+const runExport = async () => {
+ const state = await readState();
+ const sourceState: SourceState = { identity: state.identity, workspaceId: state.workspaceId, backupRevision: state.backupRevision };
+ if (input.previousState && Object.keys(sourceState).every((key) => sourceState[key as keyof SourceState] === input.previousState![key as keyof SourceState])) return { skipped: true, sourceState };
+ const page = <T>(kind: string, after: string) => request<T>(input.context, `/api/v1/backups/data?${new URLSearchParams({ kind, after, identity: state.identity, revision: state.backupRevision })}`);
+ const collect = async <T>(kind: "notebooks" | "prompts") => {
+ const values: T[] = [];
+ let after = "";
+ while (true) {
+ const result = await page<Record<string, T[]> & { nextCursor: string | null }>(kind, after);
+ values.push(...result[kind]);
+ if (result.nextCursor === null) return values;
+ after = result.nextCursor;
+ }
+ };
+ const resourceByUrl = new Map<string, Resource>();
+ let cursor = "";
+ let manifest: JsonBackupManifest | undefined;
+ const source: JsonBackupSource = {
+ signal, resourceOrigin: input.context.baseUrl,
+ listNotebooks: async () => ({ notebooks: await collect<Notebook>("notebooks") }),
+ listPrompts: async () => ({ prompts: await collect<AiPromptTemplate>("prompts") }),
+ getPage: async (offset) => {
+ const result = await page<Awaited<ReturnType<JsonBackupSource["getPage"]>> & { nextCursor: string | null }>("memos", cursor);
+ resourceByUrl.clear();
+ for (const resource of result.resources) resourceByUrl.set(resource.url, resource);
+ if (result.nextCursor !== null) cursor = result.nextCursor;
+ return { ...result, totalCount: state.counts.memos, nextOffset: result.nextCursor === null ? null : offset + result.memos.length };
+ },
+ getResourceResponse: async (url) => {
+ const resource = resourceByUrl.get(url) ?? fail("incompleteResources", "A backup resource is missing from its page.");
+ const response = await fetchWithDiagnostics(`${input.context.baseUrl}/api/v1/resources/${encodeURIComponent(resource.id)}/blob`, { signal, headers: { Authorization: `Bearer ${input.context.token}` }, credentials: "omit" });
+ if (!response.ok) fail("incompleteResources", `Could not download an attachment (${response.status}).`);
+ const body = response.body ?? fail("incompleteResources", "An attachment has no body.");
+ const digest = digestFactory();
+ const expectedDigest = resource.sha256;
+ let bytes = 0;
+ return new Response(body.pipeThrough(new TransformStream<Uint8Array, Uint8Array>({
+ transform(chunk, controller) {
+ bytes += chunk.byteLength;
+ if (bytes > resource.byteSize) fail("incompleteResources", "An attachment exceeds its recorded size.");
+ digest.update(chunk); controller.enqueue(chunk);
+ },
+ flush() {
+ const hash = digest.digest();
+ if (bytes !== resource.byteSize || (expectedDigest !== null && hash !== expectedDigest)) fail("incompleteResources", "An attachment is incomplete or damaged.");
+ resource.sha256 = hash;
+ },
+ })), { headers: { "Content-Type": resource.mimeType ?? "application/octet-stream" } });
+ },
+ onManifest(value) {
+ for (const key of Object.keys(state.counts) as Array<keyof State["counts"]>) {
+ if ((value.counts[key] ?? 0) !== state.counts[key]) fail("incompleteData", "The archive does not include every source record.");
+ }
+ manifest = value;
+ },
+ };
+ const output = await open(input.path, "wx", 0o600);
+ try {
+ const zip = await createEdgeEverZipStream(source, input.version!, (progress) => send("progress", { stage: "exporting", ...progress }));
+ const stream = Readable.fromWeb(zip as import("node:stream/web").ReadableStream<Uint8Array>);
+ const contents = input.password !== undefined ? Readable.from(encryptArchive(stream, input.password, { signal })) : stream;
+ await pipeline(contents, createWriteStream(input.path, { fd: output.fd, autoClose: false }), { signal });
+ const final = await readState();
+ if (final.identity !== state.identity || final.workspaceId !== state.workspaceId || final.backupRevision !== state.backupRevision) fail("backup_source_changed", "The source changed during backup. Try again when it is idle.");
+ if (!manifest) fail("incompleteData", "The archive did not finish.");
+ await output.sync();
+ const size = (await output.stat()).size;
+ return { manifest, size, sourceState };
+ } finally { await output.close(); }
+};
+
+const diskArchive = async (path: string) => {
+ const handle = await open(path, "r");
+ const size = (await handle.stat()).size;
+ const blob = {
+ size, type: "application/zip",
+ slice(start = 0, end = size) {
+ return {
+ async arrayBuffer() {
+ signal.throwIfAborted();
+ const bytes = new Uint8Array(Math.max(0, Math.min(end, size) - start));
+ let received = 0;
+ while (received < bytes.length) {
+ const { bytesRead } = await handle.read(bytes, received, bytes.length - received, start + received);
+ if (!bytesRead) fail("invalidZip", "The archive was truncated.");
+ received += bytesRead;
+ }
+ return bytes.buffer;
+ },
+ };
+ },
+ } as Blob;
+ return { blob, close: () => handle.close() };
+};
+
+const runImport = async () => {
+ const staged = join(input.stagingDirectory!, "verified.zip");
+ let archive: Awaited<ReturnType<typeof diskArchive>> | undefined;
+ try {
+ const handle = await open(input.path, "r"); const magic = Buffer.alloc(4);
+ try { await handle.read(magic, 0, 4, 0); } finally { await handle.close(); }
+ if (magic.toString("ascii") === "EDGB") {
+ send("progress", { stage: "decrypting", completed: 0, total: 0 });
+ await decryptArchive(input.path, staged, input.password, { signal });
+ } else {
+ const output = await open(staged, "wx", 0o600);
+ try { await pipeline(createReadStream(input.path), createWriteStream(staged, { fd: output.fd, autoClose: false }), { signal }); }
+ finally { await output.close(); }
+ }
+ archive = await diskArchive(staged);
+ const backup = await parseEdgeEverZip(archive.blob, (percentage) => send("progress", { stage: "checking", completed: percentage, total: 100 }), digestFactory);
+ validateBackupRelationships(backup);
+ signal.throwIfAborted();
+ if (input.operation === "verify") return { manifest: backup.manifest };
+ await verifyAccount();
+ const confirmation = new Promise<void>((resolve, reject) => {
+ confirm = resolve;
+ signal.addEventListener("abort", () => reject(signal.reason), { once: true });
+ });
+ send("ready", { manifest: backup.manifest });
+ await confirmation;
+ signal.throwIfAborted();
+ await verifyAccount();
+ const client = createEdgeEverClient({
+ baseUrl: input.context.baseUrl, token: input.context.token,
+ fetch: async (url, init) => {
+ // The client builds bounded multipart Blobs (8 MiB). Use byte bodies in
+ // Node so fetch does not retain native Blob stores across the archive.
+ const body = init?.body instanceof Blob ? new Uint8Array(await init.body.arrayBuffer()) : init?.body;
+ return fetchWithDiagnostics(url, { ...init, body, credentials: "omit", signal: AbortSignal.any(init?.signal ? [signal, init.signal] : [signal]) });
+ },
+ });
+ await restoreEdgeEverZip(backup, {
+ restoreNotebooks: client.restoreJsonNotebooks, restoreMemos: client.restoreJsonMemos,
+ restorePrompts: client.restoreJsonAiPrompts, createResourceRestoreSink: client.createJsonResourceRestoreSink,
+ }, (progress) => send("progress", { stage: "restoring", ...progress }));
+ return { manifest: backup.manifest };
+ } finally { await archive?.close(); await rm(staged, { force: true }); }
+};
+
+if (parentPort) {
+ (input.operation === "export" ? runExport() : runImport()).then((result) => send("done", result)).catch((error) => {
+ parentPort?.postMessage({ type: "error", error: { code: signal.aborted ? "backup_cancelled" : error.code ?? (error.status ? "backup_request_failed" : "backup_failed"), message: signal.aborted ? "Cancelled" : error.message, ...(Number.isInteger(error.status) ? { status: error.status } : {}) } });
+ }).finally(() => { abort.abort(); parentPort?.close(); });
+}
diff --git a/apps/desktop/src/main/backup-ipc.mjs b/apps/desktop/src/main/backup-ipc.mjs
new file mode 100644
index 00000000..c487d2a9
--- /dev/null
+++ b/apps/desktop/src/main/backup-ipc.mjs
@@ -0,0 +1,41 @@
+// Keep paths and saved credentials in the main process. Renderers receive status only.
+export const registerBackupIpc = ({ ipcMain, manager, getWindow, dialog, shell }) => {
+ ipcMain.handle("desktop:backup", async (event, action, input) => {
+ if (event.sender !== getWindow()?.webContents || event.senderFrame !== event.sender.mainFrame) throw new Error("Backup requests must come from the main frame");
+ try {
+ const checkScope = () => {
+ if (!input?.backupSetId || input.backupSetId !== manager.status()?.backupSetId) throw Object.assign(new Error("The backup account changed. Review the current target and try again."), { code: "backup_account_changed" });
+ };
+ if (action !== "status") checkScope();
+ let value;
+ switch (action) {
+ case "status": value = manager.status(); break;
+ case "save": value = await manager.save(input?.config, input?.password, input.backupSetId); void manager.tick(); break;
+ case "choose-directory": {
+ const result = await dialog.showOpenDialog(getWindow(), { properties: ["openDirectory", "createDirectory"], defaultPath: manager.status()?.config.directory });
+ checkScope();
+ value = result.canceled ? null : await manager.approveDirectory(result.filePaths[0]); break;
+ }
+ case "run": value = await manager.run(input?.password, input.backupSetId, undefined, input?.options); break;
+ case "cancel": await manager.cancel(); value = manager.status(); break;
+ case "open-folder": {
+ const status = manager.status(); if (!status) throw Object.assign(new Error("Sign in first"), { code: "backup_login_required" });
+ const error = await shell.openPath(await manager.openFolderPath(input.backupSetId)); if (error) throw Object.assign(new Error(error), { code: "backup_directory_invalid" });
+ value = true; break;
+ }
+ case "choose-import": {
+ const result = await dialog.showOpenDialog(getWindow(), { properties: ["openFile"], defaultPath: manager.status()?.actualDirectory, filters: [{ name: "EdgeEver backup", extensions: ["zip", "enc"] }, { name: "All files", extensions: ["*"] }] });
+ checkScope();
+ value = result.canceled ? null : await manager.selectImport(result.filePaths[0]); break;
+ }
+ case "select-history": value = await manager.selectHistory(input?.name, input.backupSetId); break;
+ case "delete-history": value = await manager.deleteHistory(input?.name, input.backupSetId); break;
+ case "prepare-import": value = await manager.prepareImport(input?.id, input?.password); break;
+ case "confirm-import": manager.confirmImport(); value = manager.status(); break;
+ default: throw Object.assign(new Error("Unknown backup action"), { code: "backup_invalid_action" });
+ }
+ if (action !== "status") checkScope();
+ return { ok: true, value };
+ } catch (error) { return { ok: false, error: { code: error.code ?? "backup_failed", message: error.message } }; }
+ });
+};
diff --git a/apps/desktop/src/main/backup-ipc.test.mjs b/apps/desktop/src/main/backup-ipc.test.mjs
new file mode 100644
index 00000000..d499a190
--- /dev/null
+++ b/apps/desktop/src/main/backup-ipc.test.mjs
@@ -0,0 +1,38 @@
+import { expect, test } from "bun:test";
+import { registerBackupIpc } from "./backup-ipc.mjs";
+
+const fixture = () => {
+ let handler; const frame = {}; const webContents = { mainFrame: frame };
+ const calls = []; const dialogs = [];
+ const status = { backupSetId: "set-A", actualDirectory: "/configured/backups/set-A" };
+ registerBackupIpc({ ipcMain: { handle: (channel, value) => { expect(channel).toBe("desktop:backup"); handler = value; } }, getWindow: () => ({ webContents }),
+ manager: { status: () => status, selectImport: async (path) => { calls.push(path); return { id: "opaque-file-selection", name: "archive.zip", encrypted: false }; }, save: async () => { throw Object.assign(new Error("Locked"), { code: "backup_secure_storage_unavailable" }); } },
+ dialog: { showOpenDialog: async (_window, options) => { dialogs.push(options); return { canceled: false, filePaths: ["/native/selected/archive.zip"] }; } }, shell: {},
+ });
+ return { invoke: (...args) => handler(...args), event: { sender: webContents, senderFrame: frame }, calls, dialogs, status };
+};
+
+test("restricts backup IPC to the main window and main frame", async () => {
+ const f = fixture();
+ await expect(f.invoke({ ...f.event, sender: {} }, "choose-import")).rejects.toThrow("main frame");
+ await expect(f.invoke({ ...f.event, senderFrame: {} }, "choose-import")).rejects.toThrow("main frame");
+ expect(f.calls).toHaveLength(0);
+});
+test("selects files only through the native dialog and preserves actionable error codes", async () => {
+ const f = fixture();
+ const result = await f.invoke(f.event, "choose-import", { backupSetId: "set-A", path: "/arbitrary/not-allowed.zip" });
+ expect(f.dialogs[0].defaultPath).toBe("/configured/backups/set-A");
+ expect(f.calls).toEqual(["/native/selected/archive.zip"]);
+ expect(result.value).toEqual({ id: "opaque-file-selection", name: "archive.zip", encrypted: false });
+ expect(JSON.stringify(result)).not.toContain("/native/");
+ f.status.actualDirectory = "/changed/backups/set-A";
+ await f.invoke(f.event, "choose-import", { backupSetId: "set-A" });
+ expect(f.dialogs[1].defaultPath).toBe("/changed/backups/set-A");
+ expect(f.calls).toEqual(["/native/selected/archive.zip", "/native/selected/archive.zip"]);
+ expect(await f.invoke(f.event, "save", { backupSetId: "set-A" })).toEqual({ ok: false, error: { code: "backup_secure_storage_unavailable", message: "Locked" } });
+});
+
+test("rejects settings actions from a previously displayed account", async () => {
+ const f = fixture();
+ expect(await f.invoke(f.event, "save", { backupSetId: "previous-account" })).toMatchObject({ ok: false, error: { code: "backup_account_changed" } });
+});
diff --git a/apps/desktop/src/main/backup-manager.mjs b/apps/desktop/src/main/backup-manager.mjs
new file mode 100644
index 00000000..e15bf4bb
--- /dev/null
+++ b/apps/desktop/src/main/backup-manager.mjs
@@ -0,0 +1,501 @@
+import { Worker } from "node:worker_threads";
+import { randomUUID } from "node:crypto";
+import { chmod, lstat, link, mkdir, open, readFile, realpath, rename, rm } from "node:fs/promises";
+import { join, basename, isAbsolute } from "node:path";
+import { accountScopeKey } from "./account-scope.mjs";
+import { normalizeBackupConfig, nextBackupAt, backupError, backupFileName } from "./backup-settings.mjs";
+import { sanitizeDesktopDiagnosticText } from "./desktop-diagnostics.mjs";
+
+const errorInfo = (error) => ({ code: error.code ?? "backup_failed", message: error.message ?? "Backup failed", ...(Number.isInteger(error.status) ? { status: error.status } : {}) });
+const assertDirectory = async (path, privateMode = false) => {
+ await mkdir(path, { recursive: true, mode: privateMode ? 0o700 : undefined });
+ const info = await lstat(path);
+ if (!info.isDirectory() || info.isSymbolicLink()) throw backupError("backup_directory_invalid", "Choose a regular backup directory, not a symbolic link.");
+ if (privateMode && process.platform !== "win32") await chmod(path, 0o700);
+};
+const atomicWrite = async (path, bytes) => {
+ const temporary = `${path}.${randomUUID()}.tmp`;
+ const file = await open(temporary, "wx", 0o600);
+ try { await file.writeFile(bytes); await file.sync(); await file.close(); await rename(temporary, path); }
+ finally { await file.close().catch(() => {}); await rm(temporary, { force: true }); }
+};
+const atomicJson = (path, value) => atomicWrite(path, JSON.stringify(value));
+const readJson = async (path) => { try { return JSON.parse(await readFile(path, "utf8")); } catch (error) { if (error.code === "ENOENT") return null; throw error; } };
+const ownedDirectoriesExist = async (paths) => {
+ for (const path of paths) {
+ const info = await lstat(path).catch((error) => { if (error.code === "ENOENT") return null; throw error; });
+ if (!info) return false;
+ if (!info.isDirectory() || info.isSymbolicLink()) throw new Error("A temporary-file directory was replaced.");
+ }
+ return true;
+};
+
+export class BackupManager {
+ constructor({ userData, defaultDirectory, secureStorage, platform = process.platform, workerFactory, onChange = () => {}, onSuccess = () => {}, onDiagnostic = () => {}, version = { edgeeverVersion: "unknown", buildId: "unknown" } }) {
+ Object.assign(this, { userData, defaultDirectory, secureStorage, platform, onChange, onSuccess, onDiagnostic, version });
+ this.workerFactory = workerFactory ?? ((data) => new Worker(new URL("../../build/backup-worker.mjs", import.meta.url), { workerData: data }));
+ this.generation = 0; this.context = null; this.record = null; this.task = null; this.operation = null; this.closed = false; this.transitioning = false;
+ this.approvedDirectories = new Set([defaultDirectory]);
+ this.queue = Promise.resolve();
+ }
+ secureAvailable() {
+ try { return this.secureStorage.isEncryptionAvailable() && !(this.platform === "linux" && this.secureStorage.getSelectedStorageBackend?.() === "basic_text"); } catch { return false; }
+ }
+ async secureUsable() {
+ const usable = this.secureAvailable() && await this.secureStorage.isAsyncEncryptionAvailable().catch(() => false);
+ const changed = this.secureUnavailable !== !usable; this.secureUnavailable = !usable;
+ if (changed) this.emit();
+ return usable;
+ }
+ statePath() { return join(this.userData, "scheduled-backups", `${this.scope}.json`); }
+ secretPath(passwordId = this.record?.passwordId) { return join(this.userData, "scheduled-backups", `${this.scope}${passwordId ? `.${passwordId}` : ""}.secret`); }
+ async persist() { this.record.nextDueAt = this.record.config.enabled ? nextBackupAt(this.record.scheduleAnchorAt ?? this.record.lastSuccessAt, this.record.config.interval) : null; await atomicJson(this.statePath(), this.record); }
+ status() {
+ if (this.transitioning || !this.record) return null;
+ const r = this.record;
+ return structuredClone({ config: r.config, backupSetId: r.backupSetId, actualDirectory: join(r.config.directory, r.backupSetId),
+ blocked: Boolean(this.initializationError), passwordSet: Boolean(r.passwordSet), secureStorageAvailable: this.secureAvailable() && !this.secureUnavailable, lastAttemptAt: r.lastAttemptAt ?? null,
+ lastCheck: r.lastCheck ?? null, lastSuccessAt: r.lastSuccessAt ?? null, lastRestoreAt: r.lastRestoreAt ?? null, nextDueAt: r.config.enabled ? nextBackupAt(r.scheduleAnchorAt ?? r.lastSuccessAt, r.config.interval) : null,
+ error: r.error ?? null, warning: r.warning ?? null, importError: r.importError ?? null, importWarning: r.importWarning ?? null, history: r.history.filter((item) => item.directory === r.config.directory), task: this.task,
+ pendingPublication: r.pending ? { name: r.pending.name, encrypted: r.pending.encrypted } : null,
+ target: { baseUrl: this.context.baseUrl, accountId: this.context.accountId } });
+ }
+ emit() { try { this.onChange(this.status()); } catch { /* A renderer can disappear while background work continues. */ } }
+ exclusive(action) {
+ const result = this.queue.then(action); this.queue = result.catch(() => {}); return result;
+ }
+ setContext(context) {
+ if (this.closed) return Promise.resolve();
+ this.startupController?.abort();
+ const next = context?.baseUrl && context?.accountId && typeof context?.token === "string" ? { ...context } : null;
+ if (this.desiredContext?.baseUrl === next?.baseUrl && this.desiredContext?.accountId === next?.accountId && this.desiredContext?.token === next?.token) return this.contextReady ?? Promise.resolve();
+ this.desiredContext = next;
+ const generation = ++this.generation;
+ this.transitioning = true; this.emit();
+ this.contextReady = (async () => {
+ await this.cancel();
+ await this.exclusive(async () => {
+ if (generation !== this.generation) return;
+ this.approvedDirectories = new Set([this.defaultDirectory]);
+ this.context = next; this.record = null; this.selection = null; this.initializationError = null;
+ if (!next) { this.transitioning = false; this.emit(); return; }
+ this.scope = accountScopeKey(next.baseUrl, next.accountId);
+ await assertDirectory(join(this.userData, "scheduled-backups"), true);
+ this.record = await readJson(this.statePath()) ?? { config: normalizeBackupConfig(undefined, this.defaultDirectory), backupSetId: randomUUID(), history: [] };
+ this.record.config = normalizeBackupConfig(this.record.config, this.defaultDirectory);
+ if (this.record.lastCheck?.result === "running") this.record.lastCheck = { ...this.record.lastCheck, result: "cancelled" };
+ if (!this.record.pending && this.record.error?.code === "backup_decrypt_failed") {
+ this.record.importError ??= this.record.error; this.record.error = null;
+ }
+ const entryValid = (entry) => entry && typeof entry.name === "string" && basename(entry.name) === entry.name && typeof entry.directory === "string" && isAbsolute(entry.directory) && Number.isFinite(Date.parse(entry.completedAt)) && Number.isSafeInteger(entry.size) && entry.size >= 0 && typeof entry.encrypted === "boolean";
+ if (!/^[a-f0-9-]{36}$/.test(this.record.backupSetId) || !Array.isArray(this.record.history) || !this.record.history.every(entryValid) || (this.record.pending && !entryValid(this.record.pending))) throw new Error("Invalid backup completion record");
+ if (this.record.passwordId !== undefined && !/^[a-f0-9-]{36}$/.test(this.record.passwordId)) throw new Error("Invalid backup credential reference");
+ this.approvedDirectories.add(this.record.config.directory);
+ await this.cleanStaging();
+ await this.persist();
+ if (generation === this.generation) { this.transitioning = false; this.emit(); }
+ });
+ if (generation === this.generation && this.record?.pending && !this.operation) await this.recoverPublication();
+ })().catch((error) => {
+ if (generation !== this.generation) return;
+ this.initializationError = backupError("backup_configuration_unavailable", error.message);
+ this.record = { config: normalizeBackupConfig(undefined, this.defaultDirectory), backupSetId: "unavailable", history: [], error: errorInfo(this.initializationError) };
+ this.transitioning = false;
+ this.emit();
+ });
+ return this.contextReady;
+ }
+
+ async restoreContext(seed, request = fetch) {
+ if (this.closed || this.transitioning || this.context || this.record || this.startupController || !seed?.baseUrl) return;
+ const generation = this.generation;
+ const controller = new AbortController(); this.startupController = controller;
+ try {
+ const response = await request(`${seed.baseUrl}/api/v1/auth/session`, { signal: controller.signal, credentials: "omit", headers: { Authorization: `Bearer ${seed.token}` } });
+ if (!response.ok) return;
+ const session = await response.json();
+ if (controller.signal.aborted || generation !== this.generation || this.closed || this.context || this.record || !session.authenticated || !session.user?.id) return;
+ await this.setContext({ ...seed, accountId: session.user.id });
+ } catch { /* Startup can be offline. The existing hourly/resume checks retry. */ }
+ finally { if (this.startupController === controller) this.startupController = null; }
+ }
+
+ assertReady() { if (this.transitioning) throw backupError("backup_account_changed", "The backup account is changing. Wait until it is ready."); if (this.initializationError) throw this.initializationError; if (this.closed || !this.context || !this.record) throw backupError("backup_login_required", "Sign in to an EdgeEver instance first."); }
+ assertScope(expected) { if (expected !== undefined && expected !== this.record?.backupSetId) throw backupError("backup_account_changed", "The backup account changed. Review the current target."); }
+ async approveDirectory(path) {
+ const generation = this.generation;
+ if (!isAbsolute(path)) throw backupError("backup_directory_invalid", "Choose an absolute directory.");
+ const directory = await realpath(path);
+ if (generation !== this.generation) throw backupError("backup_account_changed", "The backup account changed.");
+ this.approvedDirectories.add(directory); return directory;
+ }
+ async openFolderPath(expected) {
+ this.assertReady(); this.assertScope(expected); const generation = this.generation;
+ const root = this.record.config.directory;
+ const folder = join(root, this.record.backupSetId);
+ await assertDirectory(root); await assertDirectory(folder);
+ if (generation !== this.generation) throw backupError("backup_account_changed", "The backup account changed.");
+ return folder;
+ }
+ async save(config, password, expected) {
+ return this.exclusive(async () => {
+ this.assertReady(); this.assertScope(expected); if (this.operation) throw backupError("backup_busy", "Cancel the running task before changing settings.");
+ const normalized = normalizeBackupConfig(config, this.defaultDirectory);
+ if (!this.approvedDirectories.has(normalized.directory)) throw backupError("backup_directory_invalid", "Choose the backup directory using the directory picker.");
+ if (normalized.encrypted && !this.record.passwordSet && password === undefined && this.secureAvailable() && !this.secureUnavailable) throw backupError("backup_password_required", "Enter a backup password.");
+ const previous = this.record;
+ const next = { ...previous, config: normalized, error: null };
+ const previousSecretPath = this.secretPath();
+ let newSecretPath;
+ try {
+ if (password !== undefined) {
+ if (typeof password !== "string" || !password.length) throw backupError("backup_password_required", "Enter a backup password.");
+ if (!await this.secureUsable()) throw backupError("backup_secure_storage_unavailable", "Unlock secure storage, or enter a password for a single backup without saving it.");
+ const encrypted = await this.secureStorage.encryptStringAsync(password);
+ next.passwordId = randomUUID(); newSecretPath = this.secretPath(next.passwordId);
+ await atomicWrite(newSecretPath, encrypted);
+ next.passwordSet = true; next.passwordVersion = (previous.passwordVersion ?? 0) + 1;
+ }
+ this.record = next;
+ await this.persist();
+ } catch (error) {
+ this.record = previous;
+ if (newSecretPath) await rm(newSecretPath, { force: true }).catch(() => {});
+ throw error;
+ }
+ // The committed reference is authoritative; retiring old ciphertext cannot undo a saved password.
+ if (newSecretPath) await rm(previousSecretPath, { force: true }).catch(() => {});
+ this.emit(); return this.status();
+ });
+ }
+ async password(once, encrypted = this.record.config.encrypted) {
+ if (!encrypted) return undefined;
+ if (typeof once === "string" && once.length) return once;
+ if (!await this.secureUsable()) throw backupError("backup_secure_storage_unavailable", "Unlock secure storage, or enter a password for a single backup.");
+ if (!this.record.passwordSet) throw backupError("backup_password_required", "Set a backup password, or enter one for a single backup.");
+ try {
+ const { result, shouldReEncrypt } = await this.secureStorage.decryptStringAsync(await readFile(this.secretPath()));
+ if (shouldReEncrypt) await atomicWrite(this.secretPath(), await this.secureStorage.encryptStringAsync(result));
+ return result;
+ }
+ catch { this.secureUnavailable = true; this.emit(); throw backupError("backup_secure_storage_unavailable", "Unlock secure storage or set the backup password again."); }
+ }
+ async tick(now = Date.now()) {
+ if (this.closed || this.transitioning || !this.record?.config.enabled || this.operation || this.checking) return;
+ this.checking = true;
+ const record = this.record; const generation = this.generation;
+ try {
+ const due = nextBackupAt(record.scheduleAnchorAt ?? record.lastSuccessAt, record.config.interval);
+ if (record.nextDueAt !== due) await this.exclusive(async () => { if (generation === this.generation) await this.persist(); });
+ if (generation !== this.generation || (due && Date.parse(due) > now) || (record.lastAttemptAt && Date.parse(record.lastAttemptAt) + 3600000 > now)) return;
+ await this.run(undefined, record.backupSetId, now);
+ } catch (error) {
+ if (this.record && !this.transitioning && generation === this.generation) { this.record.error = errorInfo(error); await this.persist().catch(() => {}); this.emit(); }
+ } finally { this.checking = false; }
+ }
+
+ configKey() { return JSON.stringify([this.record.config, this.record.passwordVersion ?? 0]); }
+ async previousState() {
+ const entry = this.record.history.at(-1);
+ if (!entry?.sourceState || entry.configKey !== this.configKey() || entry.directory !== this.record.config.directory) return undefined;
+ const folder = join(entry.directory, this.record.backupSetId);
+ if (!await ownedDirectoriesExist([entry.directory, folder])) return undefined;
+ const file = await lstat(join(folder, entry.name)).catch((error) => { if (error.code === "ENOENT") return null; throw error; });
+ return file?.isFile() && !file.isSymbolicLink() && file.size === entry.size ? entry.sourceState : undefined;
+ }
+ async run(oncePassword, expected, scheduledAt, options) {
+ return this.exclusive(async () => {
+ this.assertReady(); this.assertScope(expected);
+ if (scheduledAt !== undefined) {
+ const due = nextBackupAt(this.record.scheduleAnchorAt ?? this.record.lastSuccessAt, this.record.config.interval);
+ if (!this.record.config.enabled || this.operation || (due && Date.parse(due) > scheduledAt) || (this.record.lastAttemptAt && Date.parse(this.record.lastAttemptAt) + 3600000 > scheduledAt)) return this.status();
+ }
+ if (this.operation) throw backupError("backup_busy", "A backup or restore is already running.");
+ if (this.record.pending) { await this.verifyPublication(oncePassword); return this.status(); }
+ const generation = this.generation;
+ const encrypted = options ? options.encrypted : this.record.config.encrypted;
+ if (typeof encrypted !== "boolean") throw backupError("backup_invalid_configuration", "Choose a backup format.");
+ const name = options ? backupFileName(options.name, encrypted) : `edgeever-backup-${new Date().toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, "")}-${randomUUID()}${encrypted ? ".edgeever.enc" : ".zip"}`;
+ const root = this.record.config.directory;
+ const folder = join(root, this.record.backupSetId);
+ const finalPath = join(folder, name);
+ if (options && await lstat(finalPath).catch((error) => { if (error.code === "ENOENT") return null; throw error; })) throw backupError("backup_name_exists", "A file with this name already exists. Choose another name.");
+ const checkedAt = () => new Date(Math.max(Date.now(), scheduledAt ?? 0)).toISOString();
+ try {
+ await this.cleanStaging();
+ this.record.lastAttemptAt = checkedAt(); this.record.lastCheck = { at: this.record.lastAttemptAt, result: "running" }; this.record.error = null;
+ await this.persist();
+ const password = await this.password(oncePassword, encrypted);
+ const previousState = scheduledAt === undefined ? undefined : await this.previousState();
+ await assertDirectory(root); await assertDirectory(folder);
+ const path = join(folder, `${name}.${randomUUID()}.part`);
+ this.record.activePart = { name: basename(path), directory: root }; await this.persist();
+ if (generation !== this.generation) { await this.cleanStaging(); throw backupError("backup_cancelled", "Cancelled"); }
+ const configKey = encrypted === this.record.config.encrypted && oncePassword === undefined ? this.configKey() : undefined;
+ const operation = this.startWorker({ operation: "export", context: this.context, path, password, previousState, version: this.version }, { kind: "export", phase: previousState ? "checking-source" : "exporting", completed: 0, total: 0 });
+ operation.finish = async (result) => {
+ if (!operation.current()) return;
+ if (result.skipped) {
+ // The comparison file must still exist when the source check completes.
+ if (!await this.previousState()) throw backupError("backup_file_required", "The previous backup is no longer available. Run a new backup.");
+ if (!operation.current()) return;
+ this.record.lastCheck = { at: checkedAt(), result: "unchanged" };
+ this.record.scheduleAnchorAt = this.record.lastCheck.at;
+ return;
+ }
+ const completedAt = new Date().toISOString();
+ const entry = { name, directory: root, completedAt, size: result.size, encrypted, sourceState: result.sourceState, configKey, checkedAt: checkedAt() };
+ if (!options) { this.record.pending = entry; await this.persist(); }
+ if (!await ownedDirectoriesExist([root, folder])) throw backupError("backup_publication_unverified", "The backup directory changed before publication. Its files were preserved.");
+ const file = await lstat(path);
+ if (!file.isFile() || file.isSymbolicLink() || file.size !== result.size) throw backupError("backup_publication_unverified", "The backup file changed before publication.");
+ if (options) { entry.publicationIdentity = { dev: file.dev, ino: file.ino }; this.record.pending = entry; await this.persist(); }
+ if (!operation.current()) return;
+ if (!await ownedDirectoriesExist([root, folder])) throw backupError("backup_publication_unverified", "The backup directory changed before publication.");
+ if (options) {
+ try { await link(path, finalPath); }
+ catch (error) {
+ delete this.record.pending; await this.persist();
+ if (error.code === "EEXIST") throw backupError("backup_name_exists", "A file with this name already exists. Choose another name.");
+ throw error;
+ }
+ } else await rename(path, finalPath);
+ if (!operation.current()) return;
+ const completed = await this.completePublication(entry, operation.current);
+ if (!completed || !operation.current()) return;
+ try { this.onSuccess(entry); } catch { /* Notifications do not change a completed backup. */ }
+ };
+ operation.cleanup = () => this.cleanStaging();
+ this.emit(); return this.status();
+ } catch (error) {
+ if (generation === this.generation) {
+ this.record.lastCheck = { at: checkedAt(), result: "failed" }; this.record.error = errorInfo(error);
+ await this.persist().catch(() => {}); this.emit();
+ }
+ throw error;
+ }
+ });
+ }
+ startWorker(data, task) {
+ const generation = this.generation;
+ const worker = this.workerFactory(data);
+ let resolve;
+ const operation = { worker, importing: task.kind === "import", current: () => generation === this.generation && !operation.cancelled, settled: false, done: new Promise((r) => { resolve = r; }) };
+ const errorKey = operation.importing ? "importError" : "error";
+ const warningKey = operation.importing ? "importWarning" : "warning";
+ this.operation = operation; this.task = task;
+ const settle = (error, result) => {
+ if (operation.settled) return; operation.settled = true;
+ void this.exclusive(async () => {
+ try {
+ if (!error && operation.current()) await operation.finish?.(result);
+ if (error && operation.current()) {
+ this.record[errorKey] = errorInfo(error);
+ if (!operation.importing) this.record.lastCheck = { at: new Date().toISOString(), result: "failed" };
+ }
+ if (!operation.importing && operation.cancelled && generation === this.generation) {
+ this.record.lastCheck = { at: new Date().toISOString(), result: "cancelled" }; await this.persist();
+ }
+ if (operation.current()) { if (!error) this.record[errorKey] = null; await this.persist(); }
+ } catch (failure) { if (operation.current()) { this.record[errorKey] = errorInfo(failure); if (!operation.importing) this.record.lastCheck = { at: new Date().toISOString(), result: "failed" }; await this.persist().catch(() => {}); } }
+ finally {
+ try { await operation.cleanup?.(); }
+ catch { this.record[warningKey] = { code: operation.importing ? "backup_staging_cleanup_failed" : "backup_part_cleanup_failed" }; await this.persist().catch(() => {}); }
+ if (this.operation === operation) { this.operation = null; this.task = null; this.emit(); }
+ resolve();
+ }
+ });
+ };
+ worker.on("message", (message) => {
+ if (message.type === "request-error" && this.operation === operation && operation.current()) {
+ const detail = message.result;
+ try {
+ void Promise.resolve(this.onDiagnostic("backup.request-failed", {
+ kind: task.kind, phase: this.task?.phase,
+ method: sanitizeDesktopDiagnosticText(detail.method),
+ path: sanitizeDesktopDiagnosticText(detail.path?.split(/[?#]/, 1)[0]),
+ status: detail.status,
+ code: sanitizeDesktopDiagnosticText(detail.code),
+ message: sanitizeDesktopDiagnosticText(detail.message),
+ })).catch(() => {});
+ } catch { /* Diagnostic output must not change the task result. */ }
+ }
+ else if (message.type === "done") settle(null, message.result);
+ else if (message.type === "error") settle(message.error);
+ else if (operation.current() && message.type === "progress") { this.task = { ...this.task, ...message.result, phase: message.result.stage }; this.emit(); }
+ else if (operation.current() && message.type === "ready") { this.task = { ...this.task, phase: "ready", manifest: message.result.manifest }; this.emit(); }
+ });
+ worker.on("error", (error) => settle(error));
+ worker.on("exit", (code) => { if (!operation.settled) settle(backupError(operation.cancelled ? "backup_cancelled" : "backup_worker_failed", `Backup worker exited (${code}).`)); });
+ return operation;
+ }
+ async waitForIdle() { await this.operation?.done; }
+ async cancel() {
+ const operation = this.operation; if (!operation) return;
+ operation.cancelled = true; operation.worker.postMessage({ type: "cancel" });
+ const timer = setTimeout(() => { void operation.worker.terminate?.(); }, 5000); timer.unref?.();
+ await operation.done; clearTimeout(timer);
+ }
+ async completePublication(entry, isCurrent = () => true) {
+ if (!isCurrent()) return false;
+ const publishedPath = await realpath(join(entry.directory, this.record.backupSetId, entry.name));
+ const history = [];
+ for (const old of this.record.history) {
+ if (old.directory === entry.directory) {
+ if (old.name === entry.name) continue;
+ const path = join(old.directory, this.record.backupSetId, old.name);
+ const resolved = await lstat(path).then((info) => info.isFile() && !info.isSymbolicLink() ? realpath(path) : null).catch(() => null);
+ if (resolved === publishedPath) continue;
+ }
+ history.push(old);
+ }
+ if (!isCurrent()) return false;
+ const previous = { history: [...this.record.history], lastSuccessAt: this.record.lastSuccessAt, lastCheck: this.record.lastCheck, scheduleAnchorAt: this.record.scheduleAnchorAt, warning: this.record.warning };
+ this.record.history = [...history, entry]; this.record.lastSuccessAt = entry.completedAt;
+ this.record.lastCheck = { at: entry.checkedAt ?? entry.completedAt, result: "success" }; this.record.scheduleAnchorAt = this.record.lastCheck.at;
+ delete this.record.pending; this.record.warning = null;
+ try { await this.persist(); }
+ catch (error) { Object.assign(this.record, previous, { pending: entry }); throw error; }
+ if (!isCurrent()) {
+ Object.assign(this.record, previous, { pending: entry }); await this.persist(); return false;
+ }
+ const entries = this.record.history.filter((item) => item.directory === entry.directory).reverse().sort((a, b) => b.completedAt.localeCompare(a.completedAt));
+ for (const old of entries.slice(this.record.config.retention)) {
+ if (!isCurrent()) break;
+ if (basename(old.name) !== old.name) { this.record.warning = { code: "backup_cleanup_failed" }; continue; }
+ const path = join(old.directory, this.record.backupSetId, old.name);
+ try {
+ for (const folder of [old.directory, join(old.directory, this.record.backupSetId)]) { const metadata = await lstat(folder); if (!metadata.isDirectory() || metadata.isSymbolicLink()) throw backupError("backup_cleanup_failed", "A directory was replaced."); }
+ const info = await lstat(path).catch((error) => { if (error.code === "ENOENT") return null; throw error; });
+ if (info && (!info.isFile() || info.isSymbolicLink())) throw backupError("backup_cleanup_failed", "A backup file was replaced. It was preserved.");
+ if (!isCurrent()) break;
+ await rm(path, { force: true }); this.record.history = this.record.history.filter((item) => item !== old);
+ } catch { this.record.warning = { code: "backup_cleanup_failed" }; }
+ }
+ await this.persist(); return true;
+ }
+ async cleanStaging() {
+ if (this.record.activePart) {
+ const part = this.record.activePart;
+ try {
+ if (basename(part.name) === part.name && part.name.endsWith(".part")) {
+ const folder = join(part.directory, this.record.backupSetId);
+ if (await ownedDirectoriesExist([part.directory, folder])) {
+ const path = join(folder, part.name);
+ const info = await lstat(path).catch((error) => { if (error.code === "ENOENT") return null; throw error; });
+ if (info && (!info.isFile() || info.isSymbolicLink())) throw new Error("The temporary backup file was replaced.");
+ if (info) await rm(path);
+ }
+ }
+ } catch { throw backupError("backup_part_cleanup_failed", "An unfinished backup file could not be removed. Check its directory permissions and try again."); }
+ delete this.record.activePart; await this.persist();
+ }
+ if (this.record.stagingId) {
+ const id = this.record.stagingId;
+ try {
+ const parent = join(this.userData, "scheduled-backups");
+ const directory = join(parent, "staging", id);
+ if (/^[a-f0-9-]{36}$/.test(id) && await ownedDirectoriesExist([parent, join(parent, "staging"), directory])) await rm(directory, { recursive: true });
+ }
+ catch { throw backupError("backup_staging_cleanup_failed", "Private temporary files could not be removed. Check permissions and try again."); }
+ if (this.record.warning?.code === "backup_staging_cleanup_failed") this.record.warning = null;
+ if (this.record.importWarning?.code === "backup_staging_cleanup_failed") this.record.importWarning = null;
+ delete this.record.stagingId; await this.persist();
+ }
+ }
+ async stagingDirectory() {
+ await this.cleanStaging();
+ const id = randomUUID();
+ const parent = join(this.userData, "scheduled-backups", "staging"); await assertDirectory(parent, true);
+ const path = join(parent, id);
+ this.record.stagingId = id; await this.persist(); await assertDirectory(path, true); return path;
+ }
+ recoverPublication() { return this.exclusive(() => this.verifyPublication()); }
+ async verifyPublication(oncePassword) {
+ this.assertReady(); if (this.operation) return;
+ const generation = this.generation;
+ const pending = this.record.pending; if (!pending) return;
+ const folder = join(pending.directory, this.record.backupSetId);
+ const path = join(folder, pending.name);
+ try {
+ if (!await ownedDirectoriesExist([pending.directory, folder])) throw new Error("The backup directory is unavailable.");
+ } catch {
+ this.record.error = { code: "backup_publication_unverified", message: "The interrupted backup directory is unavailable or was replaced. Its files were preserved." };
+ await this.persist(); this.emit(); return;
+ }
+ try {
+ const info = await lstat(path).catch((error) => { if (error.code === "ENOENT") return null; throw error; });
+ if (!info) { await this.cleanStaging(); delete this.record.pending; this.record.error = null; await this.persist(); this.emit(); return; }
+ if (!info.isFile() || info.isSymbolicLink() || info.size !== pending.size || (pending.publicationIdentity && (info.dev !== pending.publicationIdentity.dev || info.ino !== pending.publicationIdentity.ino))) { this.record.error = { code: "backup_publication_unverified", message: "An interrupted backup needs verification. Its file was preserved." }; await this.persist(); this.emit(); return; }
+ const stagingDirectory = await this.stagingDirectory();
+ const password = pending.encrypted ? await this.password(oncePassword, true) : undefined;
+ if (generation !== this.generation) { await this.cleanStaging(); return; }
+ const operation = this.startWorker({ operation: "verify", path, stagingDirectory, password, context: this.context }, { kind: "export", phase: "checking", completed: 0, total: 0 });
+ operation.finish = () => this.completePublication(pending, operation.current);
+ operation.cleanup = () => this.cleanStaging();
+ this.emit();
+ } catch (error) { this.record.error = errorInfo(error); await this.persist(); this.emit(); }
+ }
+
+ async historyPath(name, expected, allowMissing = false) {
+ this.assertReady(); this.assertScope(expected);
+ if (this.operation) throw backupError("backup_busy", "A task is already running.");
+ const generation = this.generation;
+ const entry = this.record.history.find((item) => item.name === name && item.directory === this.record.config.directory);
+ if (!entry || basename(name) !== name) throw backupError("backup_file_required", "Choose a registered backup file.");
+ const folder = join(entry.directory, this.record.backupSetId);
+ if (!await ownedDirectoriesExist([entry.directory, folder])) throw backupError("backup_directory_invalid", "The backup directory is unavailable.");
+ const path = join(folder, name);
+ const info = await lstat(path).catch((error) => { if (error.code === "ENOENT") return null; throw error; });
+ if (info && (!info.isFile() || info.isSymbolicLink())) throw backupError("backup_file_replaced", "The backup file was replaced. It was preserved.");
+ if (!info && !allowMissing) throw backupError("backup_file_required", "The backup file no longer exists.");
+ if (generation !== this.generation) throw backupError("backup_account_changed", "The backup account changed.");
+ return { path, entry, generation };
+ }
+ selectHistory(name, expected) {
+ return this.exclusive(async () => {
+ const { path } = await this.historyPath(name, expected);
+ return this.selectImport(path);
+ });
+ }
+ deleteHistory(name, expected) {
+ return this.exclusive(async () => {
+ const { path, entry, generation } = await this.historyPath(name, expected, true);
+ await rm(path, { force: true });
+ if (generation !== this.generation) throw backupError("backup_account_changed", "The backup account changed.");
+ const previous = this.record.history;
+ this.record.history = previous.filter((item) => item !== entry);
+ try { await this.persist(); } catch (error) { this.record.history = previous; throw error; }
+ if (this.selection?.path === path) this.selection = null;
+ this.emit(); return this.status();
+ });
+ }
+ async selectImport(path) {
+ this.assertReady(); if (this.operation) throw backupError("backup_busy", "A task is already running.");
+ const generation = this.generation;
+ const file = await open(path, "r"); const magic = Buffer.alloc(4);
+ try { await file.read(magic, 0, 4, 0); } finally { await file.close(); }
+ if (generation !== this.generation) throw backupError("backup_account_changed", "The backup account changed.");
+ this.selection = { id: randomUUID(), path, encrypted: magic.toString("ascii") === "EDGB" };
+ return { id: this.selection.id, name: basename(path), encrypted: this.selection.encrypted };
+ }
+ async prepareImport(id, password) {
+ return this.exclusive(async () => {
+ this.assertReady(); if (this.operation) throw backupError("backup_busy", "A task is already running.");
+ if (this.selection?.id !== id) throw backupError("backup_file_required", "Choose the backup file again.");
+ const generation = this.generation;
+ this.record.importError = null;
+ const stagingDirectory = await this.stagingDirectory();
+ if (generation !== this.generation) { await this.cleanStaging(); throw backupError("backup_cancelled", "Cancelled"); }
+ const operation = this.startWorker({ operation: "import", context: this.context, path: this.selection.path, password, stagingDirectory }, { kind: "import", phase: "checking", completed: 0, total: 0 });
+ operation.finish = async () => { this.record.lastRestoreAt = new Date().toISOString(); };
+ operation.cleanup = () => this.cleanStaging();
+ this.emit(); return this.status();
+ });
+ }
+ confirmImport() {
+ this.assertReady(); if (!this.operation || this.task?.kind !== "import" || this.task.phase !== "ready") throw backupError("backup_import_not_ready", "Wait for the archive check to finish.");
+ this.task = { ...this.task, phase: "restoring" }; this.emit(); this.operation.worker.postMessage({ type: "confirm" });
+ }
+ async close() { this.closed = true; this.startupController?.abort(); ++this.generation; await this.cancel(); await this.queue; }
+}
diff --git a/apps/desktop/src/main/backup-manager.test.mjs b/apps/desktop/src/main/backup-manager.test.mjs
new file mode 100644
index 00000000..26141d6d
--- /dev/null
+++ b/apps/desktop/src/main/backup-manager.test.mjs
@@ -0,0 +1,642 @@
+import { expect, test } from "bun:test";
+import { EventEmitter } from "node:events";
+import { mkdtemp, readFile, readdir, rm, writeFile, symlink, chmod, mkdir, rename } from "node:fs/promises";
+import { join } from "node:path";
+import { tmpdir } from "node:os";
+import { BackupManager } from "./backup-manager.mjs";
+
+const fixture = async () => {
+ const root = await mkdtemp(join(tmpdir(), "edgeever-backup-manager-"));
+ const workers = [];
+ const manager = new BackupManager({
+ userData: join(root, "private"), defaultDirectory: join(root, "backups"),
+ secureStorage: { isEncryptionAvailable: () => true, encryptString: (s) => Buffer.from(`sealed:${s}`), decryptString: (b) => b.toString().slice(7), isAsyncEncryptionAvailable: async () => true, encryptStringAsync: async (s) => Buffer.from(`sealed:${s}`), decryptStringAsync: async (b) => ({ result: b.toString().slice(7), shouldReEncrypt: false }) },
+ workerFactory: (data) => { const worker = new EventEmitter(); worker.data = data; worker.postMessage = (message) => { if (message.type === "cancel") worker.emit("message", { type: "error", error: { code: "backup_cancelled", message: "Cancelled" } }); }; workers.push(worker); return worker; },
+ });
+ await manager.setContext({ baseUrl: "http://localhost:1111", accountId: "a", token: "session-a" });
+ return { root, manager, workers, cleanup: async () => { await manager.close(); await rm(root, { recursive: true, force: true }); } };
+};
+const complete = async (f) => { const worker = f.workers.at(-1); await writeFile(worker.data.path, "complete archive"); worker.emit("message", { type: "done", result: { size: 16, manifest: { counts: { memos: 1 } } } }); await f.manager.waitForIdle(); };
+
+test("publishes only completed jobs, retains registered files and isolates account changes", async () => {
+ const f = await fixture();
+ try {
+ let status = f.manager.status();
+ expect(status.config.enabled).toBe(false); expect(status.config.retention).toBe(5);
+ await f.manager.save({ ...status.config, retention: 3 });
+ for (let i = 0; i < 4; i++) { await f.manager.run(); await complete(f); }
+ status = f.manager.status(); expect(status.history).toHaveLength(3);
+ const folder = status.actualDirectory;
+ await writeFile(join(folder, "manual.zip"), "keep");
+ await f.manager.run(); const late = f.workers.at(-1);
+ await f.manager.setContext({ baseUrl: "http://localhost:2222", accountId: "b", token: "session-b" });
+ late.emit("message", { type: "done", result: { size: 16 } });
+ expect(f.manager.status().history).toHaveLength(0);
+ expect(await readFile(join(folder, "manual.zip"), "utf8")).toBe("keep");
+ expect((await readdir(folder)).filter((n) => n.endsWith(".zip"))).toHaveLength(4);
+ expect(f.manager.status().lastSuccessAt).toBeNull();
+ } finally { await f.cleanup(); }
+});
+
+test("failure and cancellation preserve success and never rotate; credentials stay out of config", async () => {
+ const f = await fixture();
+ try {
+ await f.manager.save({ ...f.manager.status().config, encrypted: true, retention: 3 }, " 密码 ");
+ await f.manager.run(); expect(f.workers.at(-1).data.password).toBe(" 密码 "); await complete(f);
+ const successful = f.manager.status().lastSuccessAt;
+ await f.manager.run();
+ await expect(f.manager.save(f.manager.status().config)).rejects.toThrow();
+ f.workers.at(-1).emit("message", { type: "error", error: { code: "backup_source_changed", message: "Changed" } });
+ await f.manager.waitForIdle();
+ expect(f.manager.status().lastSuccessAt).toBe(successful);
+ expect(f.manager.status().history).toHaveLength(1);
+ await f.manager.run(); await f.manager.cancel();
+ expect(f.manager.status().history).toHaveLength(1);
+ const state = await readFile(f.manager.statePath(), "utf8");
+ expect(state).not.toContain("密码"); expect(state).not.toContain("session-a");
+ expect(f.manager.status().passwordSet).toBe(true);
+ const external = join(f.root, "external"); await writeFile(external, "keep");
+ const oldest = f.manager.status().history[0]; await rm(join(f.manager.status().actualDirectory, oldest.name));
+ await symlink(external, join(f.manager.status().actualDirectory, oldest.name));
+ for (let i = 0; i < 3; i++) { await f.manager.run(); await complete(f); }
+ expect(await readFile(external, "utf8")).toBe("keep");
+ expect(f.manager.status().warning?.code).toBe("backup_cleanup_failed");
+ } finally { await f.cleanup(); }
+});
+
+test("basic_text cannot persist a password and a one-time encrypted run never downgrades", async () => {
+ const f = await fixture();
+ try {
+ f.manager.platform = "linux";
+ f.manager.secureStorage.getSelectedStorageBackend = () => "basic_text";
+ await expect(f.manager.save({ ...f.manager.status().config, encrypted: true }, "secret")).rejects.toThrow();
+ await f.manager.save({ ...f.manager.status().config, encrypted: true });
+ await expect(f.manager.run()).rejects.toThrow();
+ await f.manager.run("once only"); expect(f.workers.at(-1).data.password).toBe("once only");
+ await f.manager.cancel(); expect(f.manager.status().passwordSet).toBe(false);
+ } finally { await f.cleanup(); }
+});
+
+test("scheduled failures wait one hour while manual retries remain immediate", async () => {
+ const f = await fixture();
+ try {
+ await f.manager.save({ ...f.manager.status().config, enabled: true });
+ await f.manager.tick(); expect(f.workers).toHaveLength(1);
+ const attempt = Date.parse(f.manager.status().lastAttemptAt);
+ f.workers[0].emit("message", { type: "error", error: { code: "backup_source_changed", message: "Changed" } }); await f.manager.waitForIdle();
+ await f.manager.tick(attempt + 3599999); expect(f.workers).toHaveLength(1);
+ await f.manager.run(); expect(f.workers).toHaveLength(2); await f.manager.cancel();
+ await f.manager.tick(Date.parse(f.manager.status().lastAttemptAt) + 3600001); expect(f.workers).toHaveLength(3); await complete(f);
+ expect(f.manager.status().nextDueAt).not.toBeNull();
+ } finally { await f.cleanup(); }
+});
+
+test("interrupted publication is verified before success and only registered staging is cleaned", async () => {
+ const f = await fixture(); let recovered;
+ try {
+ await f.manager.run(); await complete(f);
+ const state = JSON.parse(await readFile(f.manager.statePath(), "utf8"));
+ const entry = state.history.pop(); state.lastSuccessAt = null; state.pending = entry;
+ const path = f.manager.statePath(); await f.manager.close(); await writeFile(path, JSON.stringify(state));
+ recovered = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ await recovered.setContext({ baseUrl: "http://localhost:1111", accountId: "a", token: "session-a" });
+ expect(recovered.status().lastSuccessAt).toBeNull(); expect(f.workers.at(-1).data.operation).toBe("verify");
+ f.workers.at(-1).emit("message", { type: "done", result: {} }); await recovered.waitForIdle();
+ expect(recovered.status().history).toHaveLength(1); expect(recovered.status().lastSuccessAt).toBe(entry.completedAt);
+ } finally { await recovered?.close(); await f.cleanup(); }
+});
+
+test("a context switch while preparing a job cannot launch it with the old credentials", async () => {
+ const f = await fixture(); let release; let entered;
+ const started = new Promise(resolve => { entered = resolve; });
+ const gate = new Promise(resolve => { release = resolve; });
+ f.manager.password = async () => { entered(); await gate; return undefined; };
+ try {
+ const run = f.manager.run(); await started;
+ const switched = f.manager.setContext({ baseUrl: "http://localhost:2222", accountId: "b", token: "session-b" });
+ release();
+ const result = await run.then(() => "launched", error => error.code);
+ await switched;
+ expect(result).toBe("backup_cancelled"); expect(f.workers).toHaveLength(0);
+ expect(f.manager.status().target.accountId).toBe("b");
+ } finally { release(); await f.cleanup(); }
+});
+
+test("the existing local workspace can back up when instance authentication is disabled", async () => {
+ const f = await fixture();
+ try {
+ await f.manager.setContext({ baseUrl: "http://localhost:3333", accountId: "local", token: "" });
+ expect(f.manager.status()?.target.accountId).toBe("local");
+ await f.manager.run(); expect(f.workers.at(-1).data.context.token).toBe(""); await complete(f);
+ } finally { await f.cleanup(); }
+});
+
+test("temporarily unavailable secure storage pauses encrypted work without plaintext fallback", async () => {
+ const f = await fixture();
+ try {
+ await f.manager.save({ ...f.manager.status().config, encrypted: true }, "saved password");
+ f.manager.secureStorage.isAsyncEncryptionAvailable = async () => false;
+ const result = await f.manager.run().then(() => "launched", error => error.code);
+ expect(result).toBe("backup_secure_storage_unavailable"); expect(f.workers).toHaveLength(0);
+ expect(f.manager.status().secureStorageAvailable).toBe(false);
+ await f.manager.run("one-time password"); expect(f.workers.at(-1).data.password).toBe("one-time password"); await f.manager.cancel();
+ } finally { await f.cleanup(); }
+});
+
+test("unreadable backup settings do not block account readiness or overwrite recovery records", async () => {
+ const f = await fixture(); let next;
+ try {
+ const path = f.manager.statePath(); await writeFile(path, "incomplete JSON"); await f.manager.close();
+ next = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ await next.setContext({ baseUrl: "http://localhost:1111", accountId: "a", token: "session-a" });
+ expect(next.status().blocked).toBe(true); expect(next.status().error.code).toBe("backup_configuration_unavailable");
+ await expect(next.run()).rejects.toThrow(); expect(await readFile(path, "utf8")).toBe("incomplete JSON");
+ } finally { await next?.close(); await f.cleanup(); }
+});
+
+test("a missing renderer cannot fail or strand the background job", async () => {
+ const f = await fixture();
+ try { f.manager.onChange = () => { throw new Error("Renderer unavailable"); }; await f.manager.run(); await complete(f); expect(f.manager.status().history).toHaveLength(1); }
+ finally { await f.cleanup(); }
+});
+
+test("the default backup set survives restart before the first backup", async () => {
+ const f = await fixture(); let next;
+ try {
+ const id = f.manager.status().backupSetId; await f.manager.close();
+ next = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ await next.setContext({ baseUrl: "http://localhost:1111", accountId: "a", token: "session-a" });
+ expect(next.status().backupSetId).toBe(id); expect(next.status().config.enabled).toBe(false);
+ } finally { await next?.close(); await f.cleanup(); }
+});
+
+test("a failed completion journal preserves the previous success and leaves a recoverable publication", async () => {
+ const f = await fixture();
+ try {
+ await f.manager.run(); await complete(f); const previous = f.manager.status().lastSuccessAt;
+ const persist = f.manager.persist.bind(f.manager); let failed = false;
+ f.manager.persist = async () => { if (!failed && f.manager.record.history.length === 2 && !f.manager.record.pending) { failed = true; throw Object.assign(new Error("Disk full"), { code: "ENOSPC" }); } await persist(); };
+ await f.manager.run(); await complete(f);
+ expect(f.manager.status().lastSuccessAt).toBe(previous); expect(f.manager.status().history).toHaveLength(1);
+ expect(f.manager.record.pending).toBeDefined(); expect(f.manager.status().error.code).toBe("ENOSPC");
+ expect((await readdir(f.manager.status().actualDirectory)).filter(name => name.endsWith(".zip"))).toHaveLength(2);
+ } finally { await f.cleanup(); }
+});
+
+
+test("an account transition rejects queued actions from the previous ready context", async () => {
+ const f = await fixture();
+ try {
+ const oldSet = f.manager.status().backupSetId;
+ await f.manager.run();
+ const switching = f.manager.setContext({ baseUrl: "http://localhost:2222", accountId: "b", token: "session-b" });
+ const queued = f.manager.run(undefined, oldSet).then(() => "started", error => error.code);
+ await switching;
+ expect(await queued).toBe("backup_account_changed");
+ expect(f.workers).toHaveLength(1);
+ expect(f.manager.status().history).toEqual([]);
+ expect(f.manager.status().target.accountId).toBe("b");
+ } finally { await f.cleanup(); }
+});
+
+test("a successfully disabled schedule cannot start a queued automatic run", async () => {
+ const f = await fixture();
+ try {
+ await f.manager.save({ ...f.manager.status().config, enabled: true });
+ f.manager.record.nextDueAt = "old-timezone-result";
+ const persist = f.manager.persist.bind(f.manager); let release; let enter;
+ const entered = new Promise(resolve => { enter = resolve; });
+ const gate = new Promise(resolve => { release = resolve; });
+ let first = true;
+ f.manager.persist = async () => { if (first) { first = false; enter(); await gate; } await persist(); };
+ const tick = f.manager.tick(); await entered;
+ const disable = f.manager.save({ ...f.manager.status().config, enabled: false });
+ release(); await disable; await tick;
+ expect(f.manager.status().config.enabled).toBe(false);
+ expect(f.workers).toHaveLength(0);
+ await f.manager.run(); expect(f.workers).toHaveLength(1);
+ } finally { await f.cleanup(); }
+});
+
+for (const saved of [true, false]) test(`pending encrypted publication accepts its original password (${saved ? "rotated saved password" : "unsaved one-time password"})`, async () => {
+ const f = await fixture();
+ try {
+ if (!saved) { f.manager.platform = "linux"; f.manager.secureStorage.getSelectedStorageBackend = () => "basic_text"; }
+ await f.manager.save({ ...f.manager.status().config, encrypted: true }, saved ? "original" : undefined);
+ const persist = f.manager.persist.bind(f.manager); let failed = false;
+ f.manager.persist = async () => { if (!failed && f.manager.record.history.length === 1 && !f.manager.record.pending) { failed = true; throw Object.assign(new Error("Disk full"), { code: "ENOSPC" }); } await persist(); };
+ await f.manager.run(saved ? undefined : "original"); await complete(f);
+ const pendingTime = f.manager.record.pending.completedAt;
+ if (saved) await f.manager.save(f.manager.status().config, "replacement");
+ await f.manager.run("original");
+ const verify = f.workers.at(-1);
+ expect(verify.data.operation).toBe("verify"); expect(verify.data.password).toBe("original");
+ verify.emit("message", { type: "done", result: {} }); await f.manager.waitForIdle();
+ expect(f.manager.status().pendingPublication).toBeNull();
+ expect(f.manager.status().lastSuccessAt).toBe(pendingTime);
+ expect(f.manager.status().passwordSet).toBe(saved);
+ await f.manager.run(saved ? undefined : "next one-time");
+ expect(f.workers.at(-1).data.password).toBe(saved ? "replacement" : "next one-time");
+ } finally { await f.cleanup(); }
+});
+
+test.skipIf(process.platform === "win32")("failed private staging cleanup keeps its registration until cleanup succeeds", async () => {
+ const f = await fixture(); let staging;
+ try {
+ const archive = join(f.root, "input.zip"); await writeFile(archive, "PK fixture");
+ f.manager.record.warning = { code: "backup_cleanup_failed" };
+ const file = await f.manager.selectImport(archive); await f.manager.prepareImport(file.id);
+ staging = f.workers.at(-1).data.stagingDirectory;
+ const id = f.manager.record.stagingId;
+ await writeFile(join(staging, "verified.zip"), "private plaintext"); await chmod(staging, 0o500);
+ await f.manager.cancel();
+ expect(f.manager.status().importWarning.code).toBe("backup_staging_cleanup_failed");
+ expect(f.manager.status().warning).toEqual({ code: "backup_cleanup_failed" });
+ await expect(f.manager.prepareImport(file.id)).rejects.toMatchObject({ code: "backup_staging_cleanup_failed" });
+ expect(f.manager.record.stagingId).toBe(id);
+ await chmod(staging, 0o700);
+ await f.manager.prepareImport(file.id);
+ expect(f.manager.record.stagingId).not.toBe(id);
+ expect(f.manager.status().importWarning).toBeNull();
+ expect(f.manager.status().warning).toEqual({ code: "backup_cleanup_failed" });
+ expect(await readdir(staging).catch(error => error.code)).toBe("ENOENT");
+ } finally { if (staging) await chmod(staging, 0o700).catch(() => {}); await f.cleanup(); }
+});
+
+test("startup restores the saved backup account without a renderer", async () => {
+ const f = await fixture(); let next;
+ try {
+ await f.manager.save({ ...f.manager.status().config, enabled: true }); await f.manager.close();
+ next = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ let authRequests = 0;
+ await next.restoreContext({ baseUrl: "http://localhost:1111", token: "session-a" }, async (url, init) => { authRequests++; expect(url).toBe("http://localhost:1111/api/v1/auth/session"); expect(init.headers.Authorization).toBe("Bearer session-a"); return Response.json({ authenticated: true, user: { id: "a" } }); });
+ await next.tick();
+ expect(authRequests).toBe(1); expect(next.status().target.accountId).toBe("a");
+ expect(f.workers.at(-1).data.context.accountId).toBe("a");
+ } finally { await next?.close(); await f.cleanup(); }
+});
+
+test("logout cancels an unresolved startup session without restoring its account later", async () => {
+ const f = await fixture(); let next;
+ try {
+ next = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ let release; let signal;
+ const restoring = next.restoreContext({ baseUrl: "http://localhost:1111", token: "session-a" }, async (_url, init) => { signal = init.signal; return new Promise(resolve => { release = () => resolve(Response.json({ authenticated: true, user: { id: "a" } })); }); });
+ await next.setContext(null); release(); await restoring;
+ expect(signal.aborted).toBe(true); expect(next.status()).toBeNull();
+ } finally { await next?.close(); await f.cleanup(); }
+});
+
+
+test.skipIf(process.platform === "win32")("failed part cleanup cannot be overwritten by the next backup", async () => {
+ const f = await fixture(); let folder;
+ try {
+ await f.manager.run(); const part = f.manager.record.activePart;
+ folder = f.manager.status().actualDirectory;
+ await writeFile(f.workers.at(-1).data.path, "unfinished"); await chmod(folder, 0o500);
+ await f.manager.cancel();
+ expect(f.manager.status().warning.code).toBe("backup_part_cleanup_failed");
+ await expect(f.manager.run()).rejects.toMatchObject({ code: "backup_part_cleanup_failed" });
+ expect(f.manager.record.activePart).toEqual(part);
+ await chmod(folder, 0o700); await f.manager.run();
+ expect(f.manager.record.activePart.name).not.toBe(part.name);
+ expect(await readFile(join(folder, part.name)).catch(error => error.code)).toBe("ENOENT");
+ } finally { if (folder) await chmod(folder, 0o700).catch(() => {}); await f.cleanup(); }
+});
+
+test.skipIf(process.platform === "win32")("part cleanup never follows a replaced backup root", async () => {
+ const f = await fixture(); let moved;
+ try {
+ await f.manager.run(); const status = f.manager.status(); const part = f.manager.record.activePart;
+ moved = `${status.config.directory}-original`;
+ await rename(status.config.directory, moved);
+ const external = join(f.root, "external"); const externalSet = join(external, status.backupSetId);
+ await mkdir(externalSet, { recursive: true }); await writeFile(join(externalSet, part.name), "external file");
+ await symlink(external, status.config.directory, "dir");
+ await f.manager.cancel();
+ expect(await readFile(join(externalSet, part.name), "utf8")).toBe("external file");
+ expect(f.manager.record.activePart).toEqual(part);
+ expect(f.manager.status().warning.code).toBe("backup_part_cleanup_failed");
+ } finally {
+ if (moved) { await rm(f.manager.defaultDirectory, { force: true }); await rename(moved, f.manager.defaultDirectory); }
+ await f.cleanup();
+ }
+});
+
+test.skipIf(process.platform === "win32")("pending verification preserves external parts when its root was replaced", async () => {
+ const f = await fixture(); let moved;
+ try {
+ const status = f.manager.status(); const name = "interrupted.zip";
+ await mkdir(status.actualDirectory, { recursive: true });
+ f.manager.record.pending = { name, directory: status.config.directory, completedAt: new Date().toISOString(), size: 16, encrypted: false };
+ moved = `${status.config.directory}-original`; await rename(status.config.directory, moved);
+ const external = join(f.root, "external"); const externalSet = join(external, status.backupSetId);
+ await mkdir(externalSet, { recursive: true }); await writeFile(join(externalSet, `${name}.part`), "external file");
+ await symlink(external, status.config.directory, "dir");
+ await f.manager.run();
+ expect(await readFile(join(externalSet, `${name}.part`), "utf8")).toBe("external file");
+ expect(f.manager.record.pending.name).toBe(name);
+ expect(f.manager.status().error.code).toBe("backup_publication_unverified");
+ } finally {
+ if (moved) { await rm(f.manager.defaultDirectory, { force: true }); await rename(moved, f.manager.defaultDirectory); }
+ await f.cleanup();
+ }
+});
+
+test.skipIf(process.platform === "win32")("publication cannot rename an external part through a replaced backup root", async () => {
+ const f = await fixture(); let moved;
+ try {
+ await f.manager.run(); const status = f.manager.status(); const worker = f.workers.at(-1); const part = f.manager.record.activePart;
+ await writeFile(worker.data.path, "complete archive");
+ moved = `${status.config.directory}-original`; await rename(status.config.directory, moved);
+ const external = join(f.root, "external"); const externalSet = join(external, status.backupSetId);
+ await mkdir(externalSet, { recursive: true }); await writeFile(join(externalSet, part.name), "external file");
+ await symlink(external, status.config.directory, "dir");
+ worker.emit("message", { type: "done", result: { size: 16, manifest: { counts: { memos: 1 } } } }); await f.manager.waitForIdle();
+ expect(await readFile(join(externalSet, part.name), "utf8")).toBe("external file");
+ expect(f.manager.status().lastSuccessAt).toBeNull(); expect(f.manager.status().history).toEqual([]);
+ expect(f.manager.record.pending).toBeDefined();
+ } finally {
+ if (moved) { await rm(f.manager.defaultDirectory, { force: true }); await rename(moved, f.manager.defaultDirectory); }
+ await f.cleanup();
+ }
+});
+
+test("import failure and successful retry preserve automatic-backup errors and history", async () => {
+ const f = await fixture();
+ try {
+ await f.manager.run(); await complete(f);
+ f.manager.record.error = { code: "backup_source_changed", message: "Backup source changed" };
+ f.manager.record.warning = { code: "backup_cleanup_failed" };
+ const backupFields = () => {
+ const { error, warning, lastAttemptAt, lastSuccessAt, history } = f.manager.status();
+ return { error, warning, lastAttemptAt, lastSuccessAt, history };
+ };
+ const before = backupFields();
+ const archive = join(f.root, "input.edgeever.enc"); await writeFile(archive, "EDGB fixture");
+ const file = await f.manager.selectImport(archive);
+ await f.manager.prepareImport(file.id, "wrong");
+ expect(backupFields()).toEqual(before);
+ f.workers.at(-1).emit("message", { type: "error", error: { code: "backup_decrypt_failed" } });
+ await f.manager.waitForIdle();
+ expect(f.manager.status().importError).toEqual({ code: "backup_decrypt_failed", message: "Backup failed" });
+ expect(backupFields()).toEqual(before);
+ expect(f.manager.status().lastRestoreAt).toBeNull();
+ await f.manager.prepareImport(file.id, "correct");
+ expect(f.manager.status().importError).toBeNull();
+ const worker = f.workers.at(-1);
+ worker.emit("message", { type: "ready", result: { manifest: { counts: { memos: 1 } } } });
+ f.manager.confirmImport();
+ worker.emit("message", { type: "done", result: {} }); await f.manager.waitForIdle();
+ expect(f.manager.status().lastRestoreAt).not.toBeNull();
+ expect(f.manager.status().importError).toBeNull();
+ expect(backupFields()).toEqual(before);
+ const persisted = JSON.parse(await readFile(f.manager.statePath(), "utf8"));
+ expect(persisted.error).toEqual(before.error); expect(persisted.importError).toBeNull();
+ } finally { await f.cleanup(); }
+});
+
+for (const pending of [false, true]) test(`legacy decryption errors belong to ${pending ? "pending backup verification" : "import"}`, async () => {
+ const f = await fixture(); let next;
+ try {
+ await f.manager.run(); await complete(f);
+ const state = JSON.parse(await readFile(f.manager.statePath(), "utf8"));
+ state.error = { code: "backup_decrypt_failed", message: "Incorrect password" };
+ if (pending) { state.pending = state.history.pop(); state.lastSuccessAt = null; }
+ const path = f.manager.statePath(); await f.manager.close(); await writeFile(path, JSON.stringify(state));
+ next = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ await next.setContext({ baseUrl: "http://localhost:1111", accountId: "a", token: "session-a" });
+ expect(next.status().error).toEqual(pending ? state.error : null);
+ expect(next.status().importError).toEqual(pending ? null : state.error);
+ expect(next.status().lastSuccessAt).toBe(state.lastSuccessAt);
+ expect(next.status().history).toEqual(state.history);
+ } finally { await next?.close(); await f.cleanup(); }
+});
+
+test("preserves HTTP status and emits only redacted request diagnostics without affecting failure handling", async () => {
+ const f = await fixture();
+ try {
+ const archive = join(f.root, "input.zip"); await writeFile(archive, "PK fixture");
+ const file = await f.manager.selectImport(archive); await f.manager.prepareImport(file.id);
+ const worker = f.workers.at(-1);
+ worker.emit("message", { type: "progress", result: { stage: "restoring", completed: 2, total: 3 } });
+ const events = [];
+ f.manager.onDiagnostic = (event, data) => events.push({ event, ...data });
+ const diagnostic = { method: "POST", path: "/api/v1/restores/json/resources/res_fixture/uploads?token=private-query", status: 503, code: "object_storage_unavailable", message: "Storage unavailable; token=private-token; Authorization: Bearer private-bearer", headers: { Authorization: "private-header" }, body: "private-note-content", password: "private-password" };
+ worker.emit("message", { type: "request-error", result: diagnostic });
+ expect(events).toHaveLength(1);
+ expect(events[0]).toMatchObject({ event: "backup.request-failed", kind: "import", phase: "restoring", method: "POST", path: "/api/v1/restores/json/resources/res_fixture/uploads", status: 503, code: "object_storage_unavailable" });
+ expect(events[0].message).toContain("[redacted]");
+ for (const secret of ["private-query", "private-token", "private-bearer", "private-header", "private-note-content", "private-password"]) expect(JSON.stringify(events)).not.toContain(secret);
+ f.manager.onDiagnostic = () => { throw new Error("Diagnostic destination unavailable"); };
+ expect(() => worker.emit("message", { type: "request-error", result: diagnostic })).not.toThrow();
+ worker.emit("message", { type: "error", error: { status: 503, code: "object_storage_unavailable", message: "Target storage unavailable" } });
+ await f.manager.waitForIdle();
+ expect(f.manager.status().importError).toEqual({ status: 503, code: "object_storage_unavailable", message: "Target storage unavailable" });
+ expect(f.manager.status().error).toBeNull(); expect(f.manager.status().lastRestoreAt).toBeNull();
+ expect(JSON.parse(await readFile(f.manager.statePath(), "utf8")).importError.status).toBe(503);
+ worker.emit("message", { type: "request-error", result: diagnostic });
+ expect(events).toHaveLength(1);
+ } finally { await f.cleanup(); }
+});
+
+const sourceState = { identity: 'instance-a', workspaceId: 'workspace-a', backupRevision: '8' };
+const finishSnapshot = async (f, result = {}) => {
+ const worker = f.workers.at(-1);
+ if (!result.skipped) await writeFile(worker.data.path, 'complete archive');
+ worker.emit('message', { type: 'done', result: { size: 16, sourceState, ...result } });
+ await f.manager.waitForIdle();
+};
+
+test('named manual backups preserve formats/settings and never overwrite a collision', async () => {
+ const f = await fixture();
+ try {
+ await f.manager.save({ ...f.manager.status().config, encrypted: true }, 'saved');
+ const id = f.manager.status().backupSetId;
+ await f.manager.run(undefined, id, undefined, { name: ' Travel.zip ', encrypted: false });
+ expect(f.workers.at(-1).data.password).toBeUndefined();
+ await finishSnapshot(f);
+ expect(f.manager.status().history[0].name).toBe('Travel.zip');
+ expect(f.manager.status().config.encrypted).toBe(true);
+ expect(f.manager.status().history[0].encrypted).toBe(false);
+ await expect(f.manager.run(undefined, id, undefined, { name: 'Travel', encrypted: false })).rejects.toMatchObject({ code: 'backup_name_exists' });
+ for (const name of ['', '../escape', 'a/b', 'a\\b', 'CON', 'a:', '.', 'file.']) {
+ await expect(f.manager.run(undefined, id, undefined, { name, encrypted: false })).rejects.toMatchObject({ code: 'backup_name_invalid' });
+ }
+ await f.manager.run('once', id, undefined, { name: 'Encrypted.zip', encrypted: true });
+ expect(f.workers.at(-1).data.password).toBe('once');
+ await finishSnapshot(f);
+ expect(f.manager.status().history.at(-1).name).toBe('Encrypted.edgeever.enc');
+ await f.manager.run(undefined, id, undefined, { name: 'Raced', encrypted: false });
+ const final = join(f.manager.status().actualDirectory, 'Raced.zip');
+ await writeFile(final, 'external file');
+ await finishSnapshot(f);
+ expect(await readFile(final, 'utf8')).toBe('external file');
+ expect(f.manager.status().error.code).toBe('backup_name_exists');
+ expect(f.manager.status().pendingPublication).toBeNull();
+ expect(f.manager.status().history).toHaveLength(2);
+ } finally { await f.cleanup(); }
+});
+
+test('history restore/delete are scoped, reject replacements and remove only the selected file', async () => {
+ const f = await fixture();
+ try {
+ await f.manager.run(); await complete(f);
+ await f.manager.run(); await complete(f);
+ const s = f.manager.status(); const [first, second] = s.history;
+ const selected = await f.manager.selectHistory(first.name, s.backupSetId);
+ expect(selected.name).toBe(first.name); expect(selected.encrypted).toBe(false);
+ expect(f.manager.selection.path).toBe(join(s.actualDirectory, first.name));
+ await expect(f.manager.deleteHistory(first.name, 'other-set')).rejects.toMatchObject({ code: 'backup_account_changed' });
+ await expect(f.manager.deleteHistory('../elsewhere.zip', s.backupSetId)).rejects.toMatchObject({ code: 'backup_file_required' });
+ await expect(f.manager.selectHistory('unknown.zip', s.backupSetId)).rejects.toMatchObject({ code: 'backup_file_required' });
+ const external = join(f.root, 'keep'); await writeFile(external, 'preserve');
+ await rm(join(s.actualDirectory, first.name)); await symlink(external, join(s.actualDirectory, first.name));
+ await expect(f.manager.deleteHistory(first.name, s.backupSetId)).rejects.toMatchObject({ code: 'backup_file_replaced' });
+ await expect(f.manager.selectHistory(first.name, s.backupSetId)).rejects.toMatchObject({ code: 'backup_file_replaced' });
+ expect(f.manager.status().history).toHaveLength(2);
+ expect(await readFile(external, 'utf8')).toBe('preserve');
+ await rm(join(s.actualDirectory, first.name));
+ await f.manager.deleteHistory(first.name, s.backupSetId);
+ expect(f.manager.status().history.map(x => x.name)).toEqual([second.name]);
+ await f.manager.deleteHistory(second.name, s.backupSetId);
+ expect(f.manager.status().history).toEqual([]);
+ expect(await readdir(s.actualDirectory)).toEqual([]);
+ } finally { await f.cleanup(); }
+});
+
+test('automatic no-change advances checks, not archive time/retention, and invalidates its baseline correctly', async () => {
+ const f = await fixture();
+ try {
+ await f.manager.save({ ...f.manager.status().config, enabled: true, interval: 'daily' });
+ await f.manager.run(); await finishSnapshot(f);
+ const first = f.manager.status(); const due = Date.parse(first.nextDueAt);
+ await f.manager.tick(due + 1);
+ expect(f.workers.at(-1).data.previousState).toEqual(sourceState);
+ await finishSnapshot(f, { skipped: true });
+ let status = f.manager.status();
+ expect(status.lastSuccessAt).toBe(first.lastSuccessAt);
+ expect(status.lastCheck.result).toBe('unchanged');
+ expect(status.history).toHaveLength(1);
+ expect(Date.parse(status.nextDueAt)).toBeGreaterThan(due);
+ const count = f.workers.length; await f.manager.tick(due + 3600001); expect(f.workers).toHaveLength(count);
+ await f.manager.run(); expect(f.workers.at(-1).data.previousState).toBeUndefined(); await finishSnapshot(f);
+ await rm(join(status.actualDirectory, status.history[0].name));
+ await f.manager.save({ ...status.config, retention: 3 });
+ await f.manager.tick(Date.parse(f.manager.status().nextDueAt) + 1);
+ expect(f.workers.at(-1).data.previousState).toBeUndefined(); await finishSnapshot(f);
+ status = f.manager.status(); await rm(join(status.actualDirectory, status.history.at(-1).name));
+ await f.manager.tick(Date.parse(status.nextDueAt) + 1);
+ expect(f.workers.at(-1).data.previousState).toBeUndefined();
+ await f.manager.cancel(); expect(f.manager.status().lastCheck.result).toBe('cancelled');
+ } finally { await f.cleanup(); }
+});
+
+test('restart retains the unchanged schedule and resolves an interrupted running check', async () => {
+ const f = await fixture(); let recovered;
+ const restart = async () => {
+ recovered = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ await recovered.setContext({ baseUrl: 'http://localhost:1111', accountId: 'a', token: 'session-a' });
+ };
+ try {
+ await f.manager.save({ ...f.manager.status().config, enabled: true });
+ await f.manager.run(); await finishSnapshot(f);
+ await f.manager.tick(Date.parse(f.manager.status().nextDueAt) + 1); await finishSnapshot(f, { skipped: true });
+ const status = f.manager.status(); await f.manager.close(); await restart();
+ expect(recovered.status().lastSuccessAt).toBe(status.lastSuccessAt);
+ expect(recovered.status().lastCheck).toEqual(status.lastCheck);
+ expect(recovered.status().nextDueAt).toBe(status.nextDueAt);
+ await recovered.close(); recovered = null;
+ const record = JSON.parse(await readFile(f.manager.statePath(), 'utf8'));
+ record.lastCheck.result = 'running'; await writeFile(f.manager.statePath(), JSON.stringify(record));
+ await restart(); expect(recovered.status().lastCheck.result).toBe('cancelled');
+ expect(recovered.status().lastSuccessAt).toBe(status.lastSuccessAt);
+ } finally { await recovered?.close(); await f.cleanup(); }
+});
+
+for (const replaced of [false, true]) test(`named publication recovery verifies the owned file (${replaced ? 'replacement rejected' : 'owned archive recovered'})`, async () => {
+ const f = await fixture(); let recovered;
+ try {
+ const persist = f.manager.persist.bind(f.manager); let failed = false;
+ f.manager.persist = async () => { if (!failed && f.manager.record.history.length === 1 && !f.manager.record.pending) { failed = true; throw Object.assign(new Error('Disk full'), { code: 'ENOSPC' }); } await persist(); };
+ await f.manager.run(undefined, f.manager.status().backupSetId, undefined, { name: 'Interrupted', encrypted: false }); await finishSnapshot(f);
+ const pending = f.manager.record.pending; expect(pending.publicationIdentity).toBeDefined();
+ const path = join(f.manager.status().actualDirectory, pending.name);
+ if (replaced) { await rename(path, `${path}.original`); await writeFile(path, 'complete archive'); }
+ const count = f.workers.length; await f.manager.close();
+ recovered = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ await recovered.setContext({ baseUrl: 'http://localhost:1111', accountId: 'a', token: 'session-a' });
+ if (replaced) {
+ expect(f.workers).toHaveLength(count); expect(recovered.status().error.code).toBe('backup_publication_unverified'); expect(recovered.status().history).toHaveLength(0);
+ } else {
+ expect(f.workers.at(-1).data.operation).toBe('verify'); f.workers.at(-1).emit('message', { type: 'done', result: {} }); await recovered.waitForIdle();
+ expect(recovered.status().history[0].name).toBe('Interrupted.zip'); expect(recovered.status().lastCheck.result).toBe('success');
+ }
+ expect(await readFile(path, 'utf8')).toBe('complete archive');
+ } finally { await recovered?.close(); await f.cleanup(); }
+});
+
+for (const reusedName of ['A', 'a']) test(`retention preserves a newly published archive when a missing filename is reused as ${reusedName}`, async () => {
+ const f = await fixture();
+ try {
+ await f.manager.save({ ...f.manager.status().config, retention: 3 });
+ const id = f.manager.status().backupSetId;
+ await f.manager.run(undefined, id, undefined, { name: 'A', encrypted: false }); await finishSnapshot(f);
+ await rm(join(f.manager.status().actualDirectory, 'A.zip'));
+ for (const name of ['B', 'C', reusedName]) {
+ await f.manager.run(undefined, id, undefined, { name, encrypted: false }); await finishSnapshot(f);
+ }
+ const status = f.manager.status();
+ expect(status.history.map(entry => entry.name)).toEqual(['B.zip', 'C.zip', `${reusedName}.zip`]);
+ expect(await readFile(join(status.actualDirectory, `${reusedName}.zip`), 'utf8')).toBe('complete archive');
+ expect(status.lastCheck.result).toBe('success'); expect(status.warning).toBeNull();
+ } finally { await f.cleanup(); }
+});
+
+test('a failed password/configuration commit preserves legacy credentials across restart and a later change invalidates the baseline', async () => {
+ const f = await fixture(); let recovered;
+ try {
+ await f.manager.save({ ...f.manager.status().config, encrypted: true, enabled: true }, 'old password');
+ // Existing installations have a single .secret file even when passwordVersion is present.
+ const legacyPath = join(f.manager.userData, 'scheduled-backups', `${f.manager.scope}.secret`);
+ if (f.manager.secretPath() !== legacyPath) await rename(f.manager.secretPath(), legacyPath);
+ delete f.manager.record.passwordId; await f.manager.persist();
+ await f.manager.run(); await finishSnapshot(f);
+ const previous = structuredClone(f.manager.record);
+ const persist = f.manager.persist.bind(f.manager);
+ f.manager.persist = async () => { throw Object.assign(new Error('Disk full'), { code: 'ENOSPC' }); };
+ await expect(f.manager.save({ ...previous.config, interval: 'daily' }, 'new password')).rejects.toMatchObject({ code: 'ENOSPC' });
+ f.manager.persist = persist;
+ expect(f.manager.record).toEqual(previous);
+ expect(await f.manager.password()).toBe('old password');
+ expect((await readdir(join(f.manager.userData, 'scheduled-backups'))).filter(name => name.endsWith('.secret'))).toHaveLength(1);
+ await f.manager.close();
+ recovered = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage, workerFactory: f.manager.workerFactory });
+ await recovered.setContext({ baseUrl: 'http://localhost:1111', accountId: 'a', token: 'session-a' });
+ const due = Date.parse(recovered.status().nextDueAt) + 1;
+ await recovered.tick(due);
+ expect(f.workers.at(-1).data.password).toBe('old password');
+ expect(f.workers.at(-1).data.previousState).toEqual(sourceState);
+ await recovered.cancel();
+ await recovered.save(recovered.status().config, 'new password');
+ expect(recovered.record.passwordVersion).toBe(previous.passwordVersion + 1);
+ expect(recovered.record.passwordId).toMatch(/^[a-f0-9-]{36}$/);
+ await expect(readFile(legacyPath)).rejects.toMatchObject({ code: 'ENOENT' });
+ await recovered.tick(due + 3600001);
+ expect(f.workers.at(-1).data.password).toBe('new password');
+ expect(f.workers.at(-1).data.previousState).toBeUndefined();
+ await recovered.cancel();
+ } finally { await recovered?.close(); await f.cleanup(); }
+});
+
+test('a credential reference cannot escape the account private directory', async () => {
+ const f = await fixture(); let recovered;
+ try {
+ const path = f.manager.statePath(); const record = JSON.parse(await readFile(path, 'utf8'));
+ record.passwordId = '../../outside'; await f.manager.close(); await writeFile(path, JSON.stringify(record));
+ recovered = new BackupManager({ userData: f.manager.userData, defaultDirectory: f.manager.defaultDirectory, secureStorage: f.manager.secureStorage });
+ await recovered.setContext({ baseUrl: 'http://localhost:1111', accountId: 'a', token: 'session-a' });
+ expect(recovered.status().blocked).toBe(true);
+ expect(recovered.status().error.code).toBe('backup_configuration_unavailable');
+ } finally { await recovered?.close(); await f.cleanup(); }
+});
diff --git a/apps/desktop/src/main/backup-settings.mjs b/apps/desktop/src/main/backup-settings.mjs
new file mode 100644
index 00000000..7f996f80
--- /dev/null
+++ b/apps/desktop/src/main/backup-settings.mjs
@@ -0,0 +1,33 @@
+export const BACKUP_INTERVALS = ["daily", "weekly", "biweekly", "monthly"];
+export const BACKUP_RETENTION = [3, 5, 10, 20];
+export const backupError = (code, message) => Object.assign(new Error(message), { code });
+
+export const normalizeBackupConfig = (input, directory) => {
+ if (input === undefined) return { enabled: false, interval: "weekly", retention: 5, directory, encrypted: false };
+ if (!input || typeof input.enabled !== "boolean" || typeof input.encrypted !== "boolean"
+ || !BACKUP_INTERVALS.includes(input.interval) || !BACKUP_RETENTION.includes(input.retention)
+ || typeof input.directory !== "string" || !input.directory) throw backupError("backup_invalid_configuration", "The backup configuration is invalid.");
+ return { enabled: input.enabled, interval: input.interval, retention: input.retention, directory: input.directory, encrypted: input.encrypted };
+};
+
+export const nextBackupAt = (lastSuccessAt, interval) => {
+ if (!lastSuccessAt) return null;
+ const date = new Date(lastSuccessAt);
+ if (interval === "monthly") {
+ const day = date.getDate();
+ date.setDate(1); date.setMonth(date.getMonth() + 1);
+ const last = new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate();
+ date.setDate(Math.min(day, last));
+ } else date.setDate(date.getDate() + ({ daily: 1, weekly: 7, biweekly: 14 })[interval]);
+ return date.toISOString();
+};
+
+export const backupFileName = (value, encrypted) => {
+ if (typeof value !== "string") throw backupError("backup_name_invalid", "Enter a backup name.");
+ const name = value.trim().replace(/(?:\.edgeever\.enc|\.zip)$/i, "");
+ const hasControlCharacter = Array.from(name).some((character) => character.charCodeAt(0) < 32);
+ if (!name || hasControlCharacter || /[<>:"/\\|?*]/.test(name) || /[. ]$/.test(name) || /^(?:con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(name)) {
+ throw backupError("backup_name_invalid", "Use a filename without paths or reserved characters.");
+ }
+ return `${name}${encrypted ? ".edgeever.enc" : ".zip"}`;
+};
diff --git a/apps/desktop/src/main/backup-settings.test.mjs b/apps/desktop/src/main/backup-settings.test.mjs
new file mode 100644
index 00000000..a5f45d26
--- /dev/null
+++ b/apps/desktop/src/main/backup-settings.test.mjs
@@ -0,0 +1,20 @@
+import { expect, test } from "bun:test";
+import { nextBackupAt, normalizeBackupConfig } from "./backup-settings.mjs";
+
+test("calendar schedules clamp month end and preserve successful history when frequency changes", () => {
+ const jan = new Date(2026, 0, 31, 12, 0, 0);
+ const feb = new Date(nextBackupAt(jan.toISOString(), "monthly"));
+ expect([feb.getFullYear(), feb.getMonth(), feb.getDate(), feb.getHours()]).toEqual([2026, 1, 28, 12]);
+ const weekly = new Date(nextBackupAt(jan.toISOString(), "weekly"));
+ expect(weekly.getDate()).toBe(7);
+ expect(weekly.getMonth()).toBe(1);
+ expect(nextBackupAt(null, "weekly")).toBeNull();
+});
+
+test("accepts the specified defaults and choices, rejects invalid configuration", () => {
+ const defaults = normalizeBackupConfig(undefined, "/Documents/EdgeEver Backups");
+ expect(defaults).toEqual({ enabled: false, interval: "weekly", retention: 5, directory: "/Documents/EdgeEver Backups", encrypted: false });
+ expect(() => normalizeBackupConfig({ ...defaults, interval: "hourly" }, defaults.directory)).toThrow();
+ expect(() => normalizeBackupConfig({ ...defaults, retention: 4 }, defaults.directory)).toThrow();
+ expect(() => normalizeBackupConfig({ ...defaults, directory: "" }, defaults.directory)).toThrow();
+});
diff --git a/apps/desktop/src/main/index.mjs b/apps/desktop/src/main/index.mjs
index b8981bcc..f9db80c7 100644
--- a/apps/desktop/src/main/index.mjs
+++ b/apps/desktop/src/main/index.mjs
@@ -1,4 +1,4 @@
-import { app, BrowserWindow, Menu, Tray, globalShortcut, nativeImage, ipcMain, session, net, protocol, shell, dialog, safeStorage, clipboard, ClipboardItem, powerMonitor, desktopCapturer, screen } from "electron";
+import { app, Notification, BrowserWindow, Menu, Tray, globalShortcut, nativeImage, ipcMain, session, net, protocol, shell, dialog, safeStorage, clipboard, ClipboardItem, powerMonitor, desktopCapturer, screen } from "electron";
import { createReadStream, existsSync } from "node:fs";
import { appendFile, mkdir, open, readdir, readFile, rename, rm, stat, unlink, writeFile } from "node:fs/promises";
import { basename, join } from "node:path";
@@ -6,6 +6,8 @@ import { Readable } from "node:stream";
import { execFile, spawn } from "node:child_process";
import { fileURLToPath, pathToFileURL } from "node:url";
import { release as operatingSystemRelease } from "node:os";
+import { BackupManager } from "./backup-manager.mjs";
+import { registerBackupIpc } from "./backup-ipc.mjs";
import { SidecarRpcClient } from "./rpc.mjs";
import { instanceOrigin, encodeSessionCredential, decodeSessionCredential, credentialForUrl } from "./session-credential.mjs";
import { resourceRequestHeaders } from "./resource-request.mjs";
@@ -200,6 +202,21 @@ const installationMarkerPath = () => join(app.getPath("userData"), "installation
const logPath = () => join(app.getPath("userData"), "logs", "desktop.log");
let desktopSessionToken = "";
let desktopSessionTokenOrigin = null;
+let backupManager = null;
+let backupCheckTimer = null;
+const backupSession = () => ({ baseUrl: configuredApiBaseUrl, token: credentialForUrl(desktopSessionToken, desktopSessionTokenOrigin, configuredApiBaseUrl), locale: app.getLocale() });
+const refreshBackupContext = () => {
+ const seed = backupSession();
+ // Startup may authenticate backups before the renderer scopes its sidecar.
+ const authenticated = backupManager?.context;
+ const accountId = activeAccountId ?? (authenticated?.baseUrl === seed.baseUrl && authenticated?.token === seed.token ? authenticated.accountId : null);
+ return backupManager?.setContext({ ...seed, accountId });
+};
+const checkBackups = async () => {
+ if (!backupManager) return;
+ await backupManager.restoreContext(backupSession(), (url, init) => net.fetch(url, init));
+ await backupManager.tick();
+};
let instanceChangePending = false;
let configuredGlobalShortcut = null;
let registeredGlobalShortcut = null;
@@ -1847,6 +1864,19 @@ const startApplication = async () => {
}
return result;
});
+ backupManager = new BackupManager({
+ userData: app.getPath("userData"), defaultDirectory: join(app.getPath("documents"), "EdgeEver Backups"), secureStorage: safeStorage,
+ version: { edgeeverVersion: app.getVersion(), buildId: app.getVersion() },
+ onChange: (status) => { if (mainWindow && !mainWindow.isDestroyed()) mainWindow.webContents.send("desktop:backup-status", status); },
+ onDiagnostic: (event, details) => writeDiagnostic(event, details),
+ onSuccess: () => {
+ if (Notification.isSupported()) new Notification({ title: "EdgeEver", body: app.getLocale().startsWith("zh") ? "本地备份完成" : "Local backup complete" }).show();
+ },
+ });
+ registerBackupIpc({ ipcMain, manager: backupManager, getWindow: () => mainWindow, dialog, shell });
+ void checkBackups();
+ backupCheckTimer = setInterval(() => { void checkBackups(); }, 3600000);
+ powerMonitor.on("resume", () => { void checkBackups(); });
ipcMain.handle("desktop:sidecar-status", () => ({ available: Boolean(sidecar), path: sidecarPath, scope: sidecarScopeKey }));
ipcMain.handle("desktop:system-info", () => desktopRuntimeSystemInfo());
ipcMain.handle("desktop:global-shortcut", (event) => {
@@ -1874,18 +1904,22 @@ const startApplication = async () => {
globalShortcut.setSuspended(capturing);
return true;
});
- ipcMain.handle("desktop:set-account-scope", async (_event, accountId) => {
+ ipcMain.handle("desktop:set-account-scope", async (event, accountId) => {
+ if (event.sender !== mainWindow?.webContents || event.senderFrame !== event.sender.mainFrame) throw new Error("Account changes must come from the main frame");
const normalizedAccountId = typeof accountId === "string" && accountId.trim() ? accountId.trim() : null;
const nextScopeKey = accountScopeKey(configuredApiBaseUrl, normalizedAccountId);
scheduledTaskScheduler.clear();
if (sidecar && sidecarScopeKey === nextScopeKey) {
await sidecar.waitUntilReady();
+ await refreshBackupContext(); void backupManager.tick();
return { ready: true, scope: nextScopeKey };
}
+ if (backupManager.context?.baseUrl !== configuredApiBaseUrl || backupManager.context?.accountId !== normalizedAccountId) await backupManager.setContext(null);
await stopSidecar();
const nextSidecar = await startSidecar(normalizedAccountId);
if (!nextSidecar) throw new Error("EdgeEver sidecar is unavailable");
await nextSidecar.waitUntilReady();
+ await refreshBackupContext(); void backupManager.tick();
return { ready: true, scope: nextScopeKey };
});
ipcMain.on("desktop:rich-text-heading-shortcut", (event, active) => {
@@ -1923,11 +1957,13 @@ const startApplication = async () => {
ipcMain.handle("desktop:set-session-token", async (event, value) => {
if (event.sender !== mainWindow?.webContents || event.senderFrame !== event.sender.mainFrame || instanceChangePending) throw new Error("Session update forbidden");
await saveDesktopSessionToken(value);
+ await refreshBackupContext(); void backupManager.tick();
return { stored: Boolean(desktopSessionToken) };
});
ipcMain.handle("desktop:clear-session-token", async (event) => {
if (event.sender !== mainWindow?.webContents || event.senderFrame !== event.sender.mainFrame || instanceChangePending) throw new Error("Session update forbidden");
scheduledTaskScheduler.clear();
+ await backupManager.setContext(null);
await saveDesktopSessionToken("");
return { stored: false };
});
@@ -2086,6 +2122,8 @@ const startApplication = async () => {
message: error instanceof Error ? error.message : String(error),
});
}
+ if (backupCheckTimer) clearInterval(backupCheckTimer);
+ await backupManager?.close();
await stopSidecar().catch((error) => writeDiagnostic("local-data-reset.sidecar-stop-failed", {
message: error instanceof Error ? error.message : String(error),
}));
@@ -2126,9 +2164,11 @@ const startApplication = async () => {
buttons: chinese ? ["取消", "切换实例"] : ["Cancel", "Switch instance"], defaultId: 0, cancelId: 0,
});
if (answer.response !== 1) throw new Error("Instance change cancelled");
+ await backupManager.setContext(null);
await saveDesktopSessionToken("");
}
scheduledTaskScheduler.clear();
+ await backupManager.setContext(null);
const temporaryInstancePath = `${instanceUrlPath()}.tmp`;
await writeFile(temporaryInstancePath, normalized, { mode: 0o600 });
await rename(temporaryInstancePath, instanceUrlPath());
@@ -2139,6 +2179,7 @@ const startApplication = async () => {
if (!nextSidecar) throw new Error("EdgeEver sidecar is unavailable after changing instance");
await nextSidecar.waitUntilReady();
}
+ await refreshBackupContext(); void backupManager.tick();
return configuredApiBaseUrl;
} finally { instanceChangePending = false; }
});
@@ -2408,7 +2449,9 @@ app.on("before-quit", (event) => {
updateCheckTimer = null;
}
tray?.destroy();
+ if (backupCheckTimer) clearInterval(backupCheckTimer);
void (async () => {
+ await backupManager?.close();
await releaseDesktopAcpSessions().catch(() => {});
await stopSidecar();
await unlink(crashMarkerPath()).catch(() => {});
diff --git a/apps/desktop/src/preload/index.cjs b/apps/desktop/src/preload/index.cjs
index c314f4fb..ab22caeb 100644
--- a/apps/desktop/src/preload/index.cjs
+++ b/apps/desktop/src/preload/index.cjs
@@ -28,6 +28,15 @@ contextBridge.exposeInMainWorld("edgeeverDesktop", Object.freeze({
isAvailable: true,
canClearLocalData: ipcRenderer.sendSync("desktop:local-data-reset-available-sync"),
recoveredAfterAbnormalExit: ipcRenderer.sendSync("desktop:recovered-after-abnormal-exit-sync"),
+ backup: (action, input) => ipcRenderer.invoke("desktop:backup", action, input).then((result) => {
+ if (!result.ok) throw Object.assign(new Error(result.error.message), { code: result.error.code });
+ return result.value;
+ }),
+ onBackupStatus: (callback) => {
+ const listener = (_event, status) => callback(status);
+ ipcRenderer.on("desktop:backup-status", listener);
+ return () => ipcRenderer.removeListener("desktop:backup-status", listener);
+ },
sidecarStatus: () => ipcRenderer.invoke("desktop:sidecar-status"),
systemInfo: () => ipcRenderer.invoke("desktop:system-info"),
globalShortcut: () => ipcRenderer.invoke("desktop:global-shortcut"),
diff --git a/apps/web/src/components/SettingsPane.tsx b/apps/web/src/components/SettingsPane.tsx
index e9d6e263..18531c20 100644
--- a/apps/web/src/components/SettingsPane.tsx
+++ b/apps/web/src/components/SettingsPane.tsx
@@ -15,7 +15,8 @@ import {
Users,
Wrench,
} from "lucide-react";
-import type { ReactNode } from "react";
+import { useSyncExternalStore, type ReactNode } from "react";
+import { isDesktopViewport } from "@/lib/workspace-shell";
import { useTranslation } from "react-i18next";
import { useSearchParams } from "react-router";
import * as m from "motion/react-m";
@@ -26,6 +27,7 @@ import type { NoteProsePatch, ResolvedNoteProse } from "@edgeever/shared";
import { BETA_BADGE_CLASSNAME, WORKSPACE_PAGE_TITLE_CLASSNAME } from "@/lib/workspace-ui";
import { cn } from "@/lib/utils";
import { AccountInfoCard } from "./settings/AccountInfoCard";
+import { DesktopScheduledBackupCard } from "./settings/DesktopScheduledBackupCard";
import { DataExportCard } from "./settings/DataExportCard";
import { DesktopLocalDataCard } from "./settings/DesktopLocalDataCard";
import { LoginDevicesCard } from "./settings/LoginDevicesCard";
@@ -48,6 +50,12 @@ import { contentEnterMotion } from "@/lib/motion";
import { useDeployedUpdateNotice } from "@/hooks/useDeployedUpdateNotice";
import { ExecutionCenterButton } from "@/components/execution/ExecutionCenterButton";
+const subscribeViewport = (callback: () => void) => {
+ const media = window.matchMedia("(min-width: 1024px)");
+ media.addEventListener("change", callback);
+ return () => media.removeEventListener("change", callback);
+};
+
interface SettingsPaneProps {
onClose: () => void;
onOpenTemplates: () => void;
@@ -208,7 +216,10 @@ export const SettingsPane = ({
return User;
})();
- const renderTabContent = (key: TabKey) => {
+ const desktopViewport = useSyncExternalStore(subscribeViewport, isDesktopViewport);
+ const renderTabContent = (key: TabKey, desktopLayout: boolean) => {
+ // Backup dialogs reflect a main-process task; mount one consumer, not both CSS layouts.
+ if (key === "data" && desktopLayout !== desktopViewport) return null;
switch (key) {
case "general":
return (
@@ -240,7 +251,7 @@ export const SettingsPane = ({
case "data":
return (
<SettingsGroup>
- <DataExportCard refreshWorkspaceAfterImport={refreshWorkspaceAfterImport} />
+ {window.edgeeverDesktop?.backup ? <DesktopScheduledBackupCard /> : <DataExportCard refreshWorkspaceAfterImport={refreshWorkspaceAfterImport} />}
<EvernoteImportGuideCard />
</SettingsGroup>
);
@@ -363,15 +374,15 @@ export const SettingsPane = ({
</aside>
{/* 右侧设置内容区 */}
- <main className="flex-1 min-w-0 overflow-y-auto pr-2">
+ <main className="flex-1 min-w-0 overflow-y-auto [scrollbar-gutter:stable] pr-2">
<m.div key={activeTab} className="grid gap-4" {...contentEnterMotion}>
- {renderTabContent(activeTab)}
+ {renderTabContent(activeTab, true)}
</m.div>
</main>
</div>
{/* 移动端布局 */}
- <div className="flex lg:hidden flex-1 flex-col min-h-0 min-w-0 overflow-y-auto px-4 py-4">
+ <div className="flex lg:hidden flex-1 flex-col min-h-0 min-w-0 overflow-y-auto [scrollbar-gutter:stable] px-4 py-4">
{activeMobileTab === null ? (
/* 分类主菜单 */
<div className="grid gap-2">
@@ -435,7 +446,7 @@ export const SettingsPane = ({
) : (
/* 详情页面 */
<m.div key={activeMobileTab} className="grid gap-4" {...contentEnterMotion}>
- {renderTabContent(activeMobileTab)}
+ {renderTabContent(activeMobileTab, false)}
</m.div>
)}
</div>
diff --git a/apps/web/src/components/WorkspaceApp.tsx b/apps/web/src/components/WorkspaceApp.tsx
index 9d992632..04807f42 100644
--- a/apps/web/src/components/WorkspaceApp.tsx
+++ b/apps/web/src/components/WorkspaceApp.tsx
@@ -25,7 +25,8 @@ import { QuickMemoSwitcher } from "./QuickMemoSwitcher";
import { AppConfirmDialog, MemoDeleteConfirmDialog, NotebookNameDialog } from "./dialogs/ConfirmDialogs";
import { PluginPanelDialog } from "./plugins/PluginPanelDialog";
import { shouldDiscardPluginNoteSearchRequest } from "./editor/note-search";
-import { api, ApiRequestError, getOrCreateClientDeviceId } from "@/lib/api";
+import { api, ApiRequestError, getConfiguredDesktopApiBaseUrl, getOrCreateClientDeviceId } from "@/lib/api";
+import type { DesktopBackupStatus } from "@edgeever/shared";
import { useShowDescendantNotesPreference } from "@/lib/descendant-notes-preference";
import { MarkdownExportMemoryLimitError, type MarkdownExportProgress } from "@/lib/markdown-export";
import { exportSelectedMemosAsMarkdownZip } from "@/lib/selected-markdown-export";
@@ -637,6 +638,27 @@ export const WorkspaceApp = ({
});
}, [invalidateWorkspaceQueries, repository, runQueuedSync, syncSummary.total]);
+ const refreshedBackupRestores = useRef(new Set<string>());
+ useEffect(() => {
+ const bridge = window.edgeeverDesktop;
+ if (!bridge?.backup || (authRequired && !user) || isLoggingOut) return;
+ let active = true;
+ const consume = (status: DesktopBackupStatus | null) => {
+ if (!active || !status?.lastRestoreAt || status.task || status.importError
+ || status.target.accountId !== (user?.id ?? "local")
+ || status.target.baseUrl !== getConfiguredDesktopApiBaseUrl()) return;
+ const key = `${status.backupSetId}:${status.lastRestoreAt}`;
+ if (refreshedBackupRestores.current.has(key)) return;
+ refreshedBackupRestores.current.add(key);
+ void refreshWorkspaceFromServer("manual").catch(() => {
+ if (active) setAppNoticeDialog({ title: t("desktopBackup.restoreTitle"), description: t("desktopBackup.restoreRefreshFailed") });
+ });
+ };
+ const unsubscribe = bridge.onBackupStatus(consume);
+ void bridge.backup("status").then(consume).catch(() => {});
+ return () => { active = false; unsubscribe(); };
+ }, [authRequired, user?.id, isLoggingOut, refreshWorkspaceFromServer, t]);
+
const refreshLatestMemos = useCallback(async () => {
if (isBrowserOffline()) {
setIsOnline(false);
diff --git a/apps/web/src/components/settings/DesktopBackupImport.tsx b/apps/web/src/components/settings/DesktopBackupImport.tsx
new file mode 100644
index 00000000..29c467d5
--- /dev/null
+++ b/apps/web/src/components/settings/DesktopBackupImport.tsx
@@ -0,0 +1,131 @@
+import { useEffect, useRef, useState, type ReactNode } from "react";
+import { Upload } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import type { DesktopBackupSelection, DesktopBackupStatus } from "@edgeever/shared";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "@/components/ui/dialog";
+import { describeDesktopBackupError, useDesktopBackup } from "@/lib/desktop-backup";
+
+type Props = { disabled: boolean; children?: (restore: (name?: string) => void, disabled: boolean) => ReactNode };
+export const DesktopBackupImport = ({ disabled, children }: Props) => {
+ const { t } = useTranslation();
+ const { bridge, status } = useDesktopBackup();
+ const [selection, setSelection] = useState<DesktopBackupSelection | null>(null);
+ const [password, setPassword] = useState("");
+ const [unlockError, setUnlockError] = useState<string | null>(null);
+ const [error, setError] = useState<string | null>(null);
+ const [complete, setComplete] = useState(false);
+ const [working, setWorking] = useState(false);
+ const [checking, setChecking] = useState(false);
+ const [cancelling, setCancelling] = useState(false);
+ const previousRestoreAt = useRef<string | null | undefined>(undefined);
+ const importing = useRef(false);
+ const preparation = useRef<Promise<DesktopBackupStatus> | null>(null);
+ const scope = useRef(status?.backupSetId);
+ useEffect(() => {
+ scope.current = status?.backupSetId;
+ importing.current = false;
+ preparation.current = null;
+ previousRestoreAt.current = undefined;
+ setSelection(null); setPassword(""); setUnlockError(null); setError(null);
+ setWorking(false); setChecking(false); setCancelling(false); setComplete(false);
+ }, [status?.backupSetId]);
+ useEffect(() => {
+ if (status?.task?.kind === "import") {
+ importing.current = true;
+ if (status.task.phase === "ready") {
+ setChecking(false); setSelection(null); setPassword(""); setUnlockError(null);
+ }
+ } else if (importing.current) {
+ importing.current = false; setChecking(false);
+ if (status?.importError) {
+ const message = describeDesktopBackupError(t, status.importError);
+ if (selection) setUnlockError(message); else setError(message);
+ } else { setSelection(null); setPassword(""); }
+ }
+ }, [status, selection, t]);
+ useEffect(() => {
+ const at = status?.lastRestoreAt;
+ if (!status) return;
+ if (previousRestoreAt.current !== undefined && at && previousRestoreAt.current !== at && !status.importError) setComplete(true);
+ previousRestoreAt.current = at;
+ }, [status]);
+ if (!bridge?.backup || !status) return null;
+ const task = status.task?.kind === "import" ? status.task : null;
+ const ready = task?.phase === "ready";
+ const attempt = async (action: () => Promise<unknown>) => {
+ const expected = status.backupSetId;
+ setError(null); setComplete(false); setWorking(true);
+ try { await action(); }
+ catch (failure) { if (scope.current === expected) setError(describeDesktopBackupError(t, failure)); }
+ finally { if (scope.current === expected) setWorking(false); }
+ };
+ const prepare = async (file: DesktopBackupSelection, value?: string) => {
+ const expected = status.backupSetId;
+ setError(null); setUnlockError(null); setComplete(false); setWorking(true); setChecking(true);
+ importing.current = true;
+ const request = bridge.backup("prepare-import", { backupSetId: expected, id: file.id, password: value });
+ preparation.current = request;
+ try { await request; }
+ catch (failure) {
+ if (scope.current !== expected) return;
+ importing.current = false; setChecking(false);
+ const message = describeDesktopBackupError(t, failure);
+ if (file.encrypted) setUnlockError(message); else setError(message);
+ } finally {
+ if (preparation.current === request) preparation.current = null;
+ if (scope.current === expected) setWorking(false);
+ }
+ };
+ const closeUnlock = async () => {
+ if (cancelling) return;
+ const expected = status.backupSetId;
+ setCancelling(true);
+ try {
+ // Wait for worker startup so Cancel cannot race ahead of prepare-import.
+ await preparation.current?.catch(() => {});
+ if (scope.current !== expected) return;
+ if (checking || task) await bridge.backup("cancel", { backupSetId: expected });
+ if (scope.current !== expected) return;
+ importing.current = false; setChecking(false); setSelection(null); setPassword(""); setUnlockError(null);
+ } catch (failure) {
+ if (scope.current === expected) setUnlockError(describeDesktopBackupError(t, failure));
+ } finally { if (scope.current === expected) setCancelling(false); }
+ };
+ const unavailable = disabled || working || checking || Boolean(status.task) || status.blocked;
+ const restore = (name?: string) => { if (unavailable) return; void attempt(async () => {
+ const file = name === undefined
+ ? await bridge.backup("choose-import", { backupSetId: status.backupSetId })
+ : await bridge.backup("select-history", { backupSetId: status.backupSetId, name });
+ if (!file || scope.current !== status.backupSetId) return;
+ setUnlockError(null); if (file.encrypted) setSelection(file); else await prepare(file);
+ }); };
+ return <>
+ {children ? children(restore, unavailable) : <Button size="sm" variant="outline" type="button" disabled={unavailable} onClick={() => restore()}><Upload className="h-4 w-4" />{t("desktopBackup.importButton")}</Button>}
+ <Dialog open={Boolean(selection)} onOpenChange={(open) => { if (!open) void closeUnlock(); }}>
+ <DialogContent>
+ <form className="grid gap-4" onSubmit={(event) => {
+ event.preventDefault();
+ if (selection && password && !working && !checking && !cancelling) void prepare(selection, password);
+ }}>
+ <DialogHeader><DialogTitle>{t("desktopBackup.decryptTitle")}</DialogTitle><DialogDescription className="break-all">{selection?.name}</DialogDescription></DialogHeader>
+ <Input type="password" autoComplete="off" aria-label={t("desktopBackup.password")} aria-invalid={Boolean(unlockError)} aria-describedby={unlockError ? "desktop-backup-unlock-error" : undefined} disabled={working || checking || cancelling} value={password} onChange={(event) => setPassword(event.target.value)} />
+ {unlockError ? <p id="desktop-backup-unlock-error" className="text-sm text-destructive" role="alert">{unlockError}</p> : null}
+ {checking ? <p className="text-sm text-muted-foreground" role="status">{t(`desktopBackup.phases.${task?.phase ?? "checking"}`)}</p> : null}
+ <DialogFooter>
+ <Button type="button" variant="outline" disabled={cancelling} onClick={() => void closeUnlock()}>{t("common.cancel")}</Button>
+ <Button type="submit" disabled={!password || working || checking || cancelling}>{t("desktopBackup.checkFile")}</Button>
+ </DialogFooter>
+ </form>
+ </DialogContent>
+ </Dialog>
+ <Dialog open={Boolean(task && !selection && task.phase !== "restoring")} onOpenChange={(open) => { if (!open) void attempt(() => bridge.backup("cancel", { backupSetId: status.backupSetId })); }}><DialogContent><DialogHeader><DialogTitle>{t("desktopBackup.restoreTitle")}</DialogTitle><DialogDescription>{ready ? t("desktopBackup.restoreConfirmation") : t(`desktopBackup.phases.${task?.phase ?? "checking"}`)}</DialogDescription></DialogHeader>
+ {ready ? <div className="grid gap-3 text-sm"><dl className="grid gap-2"><div><dt className="text-muted-foreground">{t("desktopBackup.target")}</dt><dd className="break-all">{status.target.baseUrl}<br />{status.target.accountId}</dd></div></dl><p>{t("desktopBackup.restoreSummary", { notebooks: task?.manifest?.counts.notebooks ?? 0, prompts: task?.manifest?.counts.prompts ?? 0, memos: task?.manifest?.counts.memos ?? 0, resources: task?.manifest?.counts.resources ?? 0 })}</p></div> : <p className="text-sm text-muted-foreground" aria-live="polite">{task && task.total > 0 ? `${task.completed} / ${task.total}` : t("desktopBackup.wait")}</p>}
+ <DialogFooter><Button variant="outline" onClick={() => void attempt(() => bridge.backup("cancel", { backupSetId: status.backupSetId }))}>{t("common.cancel")}</Button>{ready ? <Button onClick={() => void attempt(() => bridge.backup("confirm-import", { backupSetId: status.backupSetId }))}>{t("desktopBackup.confirmRestore")}</Button> : null}</DialogFooter>
+ </DialogContent></Dialog>
+ {error ? <Dialog open onOpenChange={() => setError(null)}><DialogContent><DialogHeader><DialogTitle>{t("desktopBackup.restoreIncomplete")}</DialogTitle><DialogDescription>{error}</DialogDescription></DialogHeader><p className="text-sm text-muted-foreground">{t("desktopBackup.restoreRetry")}</p><DialogFooter><Button onClick={() => setError(null)}>{t("common.close")}</Button></DialogFooter></DialogContent></Dialog> : null}
+ {status.importWarning ? <span className="text-sm text-amber-700" role="status">{describeDesktopBackupError(t, status.importWarning)}</span> : null}
+ {complete ? <span className="text-xs text-emerald-700" role="status">{t("desktopBackup.restoreComplete")}</span> : null}
+ </>;
+};
diff --git a/apps/web/src/components/settings/DesktopBackupRunDialog.tsx b/apps/web/src/components/settings/DesktopBackupRunDialog.tsx
new file mode 100644
index 00000000..0ac8a531
--- /dev/null
+++ b/apps/web/src/components/settings/DesktopBackupRunDialog.tsx
@@ -0,0 +1,59 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import type { DesktopBackupActions, DesktopBackupStatus } from "@edgeever/shared";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { Switch } from "@/components/ui/switch";
+import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "@/components/ui/dialog";
+import { describeDesktopBackupError } from "@/lib/desktop-backup";
+
+const defaultName = () => {
+ const date = new Date();
+ const two = (value: number) => String(value).padStart(2, "0");
+ return `EdgeEver-${date.getFullYear()}-${two(date.getMonth() + 1)}-${two(date.getDate())}_${two(date.getHours())}${two(date.getMinutes())}${two(date.getSeconds())}`;
+};
+
+export const DesktopBackupRunDialog = ({ status, onRun, onClose }: {
+ status: DesktopBackupStatus;
+ onRun: (input: DesktopBackupActions["run"]["input"]) => Promise<unknown>;
+ onClose: () => void;
+}) => {
+ const { t } = useTranslation();
+ const pending = status.pendingPublication;
+ const [name, setName] = useState(defaultName);
+ const [encrypted, setEncrypted] = useState(pending?.encrypted ?? status.config.encrypted);
+ const [password, setPassword] = useState("");
+ const [confirmation, setConfirmation] = useState("");
+ const [working, setWorking] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const needsPassword = encrypted && (Boolean(pending) || !status.passwordSet || !status.secureStorageAvailable);
+ const valid = (pending || name.trim()) && (!needsPassword || password) && (pending || !encrypted || !password || password === confirmation);
+ const run = async () => {
+ if (!valid || working) return;
+ setWorking(true); setError(null);
+ try {
+ await onRun({ backupSetId: status.backupSetId, ...(encrypted && password ? { password } : {}), ...(!pending ? { options: { name, encrypted } } : {}) });
+ onClose();
+ } catch (failure) { setError(describeDesktopBackupError(t, failure)); setWorking(false); }
+ };
+ return <Dialog open onOpenChange={(open) => { if (!open && !working) onClose(); }}><DialogContent>
+ <form className="grid gap-4" onSubmit={(event) => { event.preventDefault(); void run(); }}>
+ <DialogHeader>
+ <DialogTitle>{t(pending ? "desktopBackup.verifyPublication" : "desktopBackup.run")}</DialogTitle>
+ <DialogDescription className="break-all">{pending ? t("desktopBackup.verifyPassword", { name: pending.name }) : status.actualDirectory}</DialogDescription>
+ </DialogHeader>
+ {!pending ? <>
+ <label className="grid gap-2 text-sm font-medium"><span>{t("desktopBackup.fileName")}</span><div className="flex items-center gap-2"><Input autoFocus value={name} disabled={working} onChange={(event) => setName(event.target.value)} /><span className="shrink-0 text-muted-foreground">{encrypted ? ".edgeever.enc" : ".zip"}</span></div></label>
+ <label className="flex items-center justify-between gap-3 text-sm font-medium"><span>{t("desktopBackup.encryption")}</span><Switch checked={encrypted} disabled={working} onCheckedChange={(value) => { setEncrypted(value); setPassword(""); setConfirmation(""); }} /></label>
+ </> : null}
+ {encrypted ? <div className="grid gap-2">
+ <Input type="password" autoComplete="off" aria-label={t("desktopBackup.password")} placeholder={t(needsPassword ? "desktopBackup.password" : "desktopBackup.savedPasswordPlaceholder")} disabled={working} value={password} onChange={(event) => setPassword(event.target.value)} />
+ {!pending && (needsPassword || password) ? <Input type="password" autoComplete="off" aria-label={t("desktopBackup.confirmPassword")} placeholder={t("desktopBackup.confirmPassword")} disabled={working} value={confirmation} onChange={(event) => setConfirmation(event.target.value)} /> : null}
+ {!pending && confirmation && password !== confirmation ? <p className="text-sm text-destructive" role="alert">{t("desktopBackup.passwordMismatch")}</p> : null}
+ {!pending ? <p className="text-sm text-muted-foreground">{t("desktopBackup.oncePassword")}</p> : null}
+ </div> : null}
+ {error ? <p className="text-sm text-destructive" role="alert">{error}</p> : null}
+ <DialogFooter><Button type="button" variant="outline" disabled={working} onClick={onClose}>{t("common.cancel")}</Button><Button type="submit" className="bg-foreground text-background hover:bg-foreground/90" disabled={!valid || working}>{t(working ? "common.processing" : pending ? "desktopBackup.verifyPublication" : "desktopBackup.run")}</Button></DialogFooter>
+ </form>
+ </DialogContent></Dialog>;
+};
diff --git a/apps/web/src/components/settings/DesktopScheduledBackupCard.tsx b/apps/web/src/components/settings/DesktopScheduledBackupCard.tsx
new file mode 100644
index 00000000..0d61ecf3
--- /dev/null
+++ b/apps/web/src/components/settings/DesktopScheduledBackupCard.tsx
@@ -0,0 +1,112 @@
+import { useEffect, useRef, useState } from "react";
+import { FolderOpen, HardDriveDownload, Loader2, Upload } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import type { DesktopBackupConfig } from "@edgeever/shared";
+import { Button } from "@/components/ui/button";
+import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
+import { Input } from "@/components/ui/input";
+import { Switch } from "@/components/ui/switch";
+import { AppConfirmDialog } from "@/components/dialogs/ConfirmDialogs";
+import { describeDesktopBackupError, useDesktopBackup } from "@/lib/desktop-backup";
+import { DesktopBackupImport } from "./DesktopBackupImport";
+import { DesktopBackupRunDialog } from "./DesktopBackupRunDialog";
+import { SETTINGS_CARD_DESCRIPTION_CLASSNAME, SETTINGS_CARD_HEADER_CLASSNAME, SETTINGS_CARD_ICON_CLASSNAME, SETTINGS_CARD_TITLE_CLASSNAME } from "./settings-ui";
+
+export const DesktopScheduledBackupCard = () => {
+ const { t } = useTranslation();
+ const { bridge, status } = useDesktopBackup();
+ const [config, setConfig] = useState<DesktopBackupConfig | null>(null);
+ const [password, setPassword] = useState("");
+ const [confirmation, setConfirmation] = useState("");
+ const [changePassword, setChangePassword] = useState(false);
+ const [runOpen, setRunOpen] = useState(false);
+ const [deleting, setDeleting] = useState<string | null>(null);
+ const [deleteError, setDeleteError] = useState<string | null>(null);
+ const [saving, setSaving] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const scope = useRef(status?.backupSetId);
+ const configKey = status ? JSON.stringify(status.config) : "";
+ useEffect(() => {
+ if (configKey) setConfig(JSON.parse(configKey) as DesktopBackupConfig);
+ setPassword(""); setConfirmation(""); setChangePassword(false);
+ }, [configKey, status?.backupSetId]);
+ useEffect(() => {
+ scope.current = status?.backupSetId;
+ setRunOpen(false); setDeleting(null); setDeleteError(null); setError(null); setSaving(false);
+ }, [status?.backupSetId]);
+ if (!bridge?.backup || !status || !config) return null;
+ if (status.blocked) return <Card className="shadow-none"><CardHeader className={SETTINGS_CARD_HEADER_CLASSNAME}><CardTitle className={SETTINGS_CARD_TITLE_CLASSNAME}><HardDriveDownload className={SETTINGS_CARD_ICON_CLASSNAME} />{t("desktopBackup.title")}</CardTitle></CardHeader><CardContent className="p-4 pt-0 sm:px-5"><p className="text-sm text-destructive" role="alert">{describeDesktopBackupError(t, status.error)}</p></CardContent></Card>;
+ const busy = Boolean(status.task);
+ const pending = status.pendingPublication;
+ const dirty = JSON.stringify(config) !== configKey || Boolean(password);
+ const passwordNeeded = config.encrypted && status.secureStorageAvailable && (!status.passwordSet || changePassword);
+ const passwordValid = !passwordNeeded || (password.length > 0 && password === confirmation);
+ const patch = (value: Partial<DesktopBackupConfig>) => setConfig({ ...config, ...value });
+ const attempt = async (action: () => Promise<unknown>) => {
+ const expected = status.backupSetId;
+ setError(null); setSaving(true);
+ try { await action(); } catch (failure) { if (scope.current === expected) setError(describeDesktopBackupError(t, failure)); }
+ finally { if (scope.current === expected) setSaving(false); }
+ };
+ const date = (value: string | null) => value ? new Date(value).toLocaleString() : t("desktopBackup.never");
+ const remove = async () => {
+ if (!deleting || saving) return;
+ const expected = status.backupSetId;
+ setDeleteError(null); setSaving(true);
+ try { await bridge.backup("delete-history", { backupSetId: expected, name: deleting }); if (scope.current === expected) setDeleting(null); }
+ catch (failure) { if (scope.current === expected) setDeleteError(describeDesktopBackupError(t, failure)); }
+ finally { if (scope.current === expected) setSaving(false); }
+ };
+ return <Card className="w-full min-w-0 overflow-hidden shadow-none">
+ <CardHeader className={SETTINGS_CARD_HEADER_CLASSNAME}>
+ <CardTitle className={SETTINGS_CARD_TITLE_CLASSNAME}><HardDriveDownload className={SETTINGS_CARD_ICON_CLASSNAME} />{t("desktopBackup.title")}</CardTitle>
+ <CardDescription className={SETTINGS_CARD_DESCRIPTION_CLASSNAME}>{t("desktopBackup.scope")}</CardDescription>
+ </CardHeader>
+ <CardContent className="grid gap-5 p-4 pt-0 sm:px-5">
+ <DesktopBackupImport disabled={saving || runOpen || Boolean(deleting)}>{(restore, restoreDisabled) => <>
+ <div className="flex flex-wrap gap-2">
+ {busy ? <Button type="button" size="sm" variant="outline" disabled={saving} onClick={() => void attempt(() => bridge.backup("cancel", { backupSetId: status.backupSetId }))}>{t("common.cancel")}</Button> : <Button type="button" size="sm" className="bg-foreground text-background hover:bg-foreground/90" disabled={saving || (!pending && dirty)} onClick={() => { if (pending && !pending.encrypted) void attempt(() => bridge.backup("run", { backupSetId: status.backupSetId })); else setRunOpen(true); }}>{t(pending ? "desktopBackup.verifyPublication" : "desktopBackup.run")}</Button>}
+ <Button type="button" size="sm" variant="outline" disabled={restoreDisabled} onClick={() => restore()}><Upload className="h-4 w-4" />{t("desktopBackup.importButton")}</Button>
+ <Button type="button" size="sm" variant="ghost" disabled={saving} onClick={() => void attempt(() => bridge.backup("open-folder", { backupSetId: status.backupSetId }))}><FolderOpen className="h-4 w-4" />{t("desktopBackup.openFolder")}</Button>
+ </div>
+ <div className="grid gap-1.5 rounded-md bg-muted/50 p-3 text-sm" aria-live="polite" data-backup-status>
+ <p className="font-medium">{t("desktopBackup.lastSuccess", { time: date(status.lastSuccessAt) })}</p>
+ {status.task ? <p className="flex items-center gap-2"><Loader2 className="h-3.5 w-3.5 animate-spin" />{t(`desktopBackup.phases.${status.task.phase}`)}{status.task.total > 0 ? ` ${status.task.completed} / ${status.task.total}` : ""}</p> : status.lastCheck ? <p>{t(`desktopBackup.checkResults.${status.lastCheck.result}`)}</p> : null}
+ <p className="text-muted-foreground">{t("desktopBackup.lastCheck", { time: status.lastCheck ? date(status.lastCheck.at) : t("desktopBackup.notChecked") })}</p>
+ <p className="text-muted-foreground">{status.config.enabled ? t("desktopBackup.nextDue", { time: status.nextDueAt ? date(status.nextDueAt) : t("desktopBackup.whenReady") }) : t("desktopBackup.autoOff")}</p>
+ {error || status.error ? <p className="break-words text-destructive" role="alert">{error ?? describeDesktopBackupError(t, status.error)}</p> : null}
+ {status.warning ? <p className="text-amber-700">{describeDesktopBackupError(t, status.warning)}</p> : null}
+ </div>
+ <details className="border-t pt-4">
+ <summary className="cursor-pointer text-sm font-medium">{t("desktopBackup.settings")}</summary>
+ <div className="mt-4 grid gap-4">
+ <fieldset disabled={busy || saving} className="grid min-w-0 gap-4 disabled:opacity-60">
+ <label className="flex items-center justify-between gap-3 text-sm font-medium"><span>{t("desktopBackup.enable")}</span><Switch checked={config.enabled} onCheckedChange={(enabled) => patch({ enabled })} /></label>
+ <div className="grid gap-1.5"><span className="text-sm font-medium">{t("desktopBackup.directory")}</span><div className="flex min-w-0 items-center gap-2"><p className="min-w-0 flex-1 break-all rounded-md bg-muted px-3 py-2 text-sm">{config.directory}/{status.backupSetId}</p><Button type="button" variant="outline" size="sm" onClick={() => void attempt(async () => { const directory = await bridge.backup("choose-directory", { backupSetId: status.backupSetId }); if (directory && scope.current === status.backupSetId) patch({ directory }); })}>{t("desktopBackup.choose")}</Button></div></div>
+ <div className="grid grid-cols-2 gap-4">
+ <label className="grid gap-1.5 text-sm"><span className="font-medium">{t("desktopBackup.frequency")}</span><select className="h-9 rounded-md border border-input bg-background px-3" value={config.interval} onChange={(event) => patch({ interval: event.target.value as DesktopBackupConfig["interval"] })}>{(["daily", "weekly", "biweekly", "monthly"] as const).map((key) => <option key={key} value={key}>{t(`desktopBackup.intervals.${key}`)}</option>)}</select></label>
+ <label className="grid gap-1.5 text-sm"><span className="font-medium">{t("desktopBackup.retention")}</span><select className="h-9 rounded-md border border-input bg-background px-3" value={config.retention} onChange={(event) => patch({ retention: Number(event.target.value) as DesktopBackupConfig["retention"] })}>{([3, 5, 10, 20] as const).map((count) => <option key={count} value={count}>{t("desktopBackup.copies", { count })}</option>)}</select></label>
+ </div>
+ <div className="grid gap-3">
+ <label className="flex items-center justify-between gap-3 text-sm font-medium"><span>{t("desktopBackup.encryption")}</span><Switch checked={config.encrypted} onCheckedChange={(encrypted) => patch({ encrypted })} /></label>
+ {config.encrypted && !status.secureStorageAvailable ? <p className="text-sm text-amber-700">{t("desktopBackup.secureUnavailable")}</p> : null}
+ {config.encrypted && status.passwordSet && !changePassword ? <div className="flex items-center justify-between gap-2 text-sm"><span className="text-muted-foreground">{t("desktopBackup.passwordSet")}</span><Button type="button" variant="ghost" size="sm" onClick={() => setChangePassword(true)}>{t("desktopBackup.changePassword")}</Button></div> : null}
+ {passwordNeeded ? <div className="grid gap-2"><Input type="password" autoComplete="new-password" aria-label={t("desktopBackup.password")} placeholder={t("desktopBackup.password")} value={password} onChange={(event) => setPassword(event.target.value)} /><Input type="password" autoComplete="new-password" aria-label={t("desktopBackup.confirmPassword")} placeholder={t("desktopBackup.confirmPassword")} value={confirmation} onChange={(event) => setConfirmation(event.target.value)} />{confirmation && password !== confirmation ? <p className="text-sm text-destructive" role="alert">{t("desktopBackup.passwordMismatch")}</p> : null}<p className="text-sm text-muted-foreground">{t("desktopBackup.passwordChangeNote")}</p></div> : null}
+ </div>
+ </fieldset>
+ <Button className="justify-self-start" size="sm" type="button" disabled={busy || saving || !dirty || !passwordValid} onClick={() => void attempt(async () => { await bridge.backup("save", { backupSetId: status.backupSetId, config, ...(passwordNeeded ? { password } : {}) }); if (scope.current === status.backupSetId) { setPassword(""); setConfirmation(""); setChangePassword(false); } })}>{t("common.save")}</Button>
+ </div>
+ </details>
+ <section className="grid gap-3" aria-label={t("desktopBackup.history", { count: status.history.length })}>
+ <h3 className="text-sm font-medium">{t("desktopBackup.history", { count: status.history.length })}</h3>
+ {status.history.length ? <ul className="divide-y">{[...status.history].reverse().map((item) => <li key={item.name} className="flex flex-wrap items-center justify-between gap-x-3 gap-y-2 py-3 first:pt-0 last:pb-0">
+ <div className="min-w-0 flex-1 basis-60 space-y-1"><p className="break-all text-sm">{item.name}</p><p className="text-sm text-muted-foreground">{date(item.completedAt)} · {(item.size / 1048576).toFixed(1)} MiB · {t(item.encrypted ? "desktopBackup.encrypted" : "desktopBackup.plain")}</p></div>
+ <div className="flex shrink-0 gap-1"><Button size="sm" variant="outline" disabled={restoreDisabled} onClick={() => restore(item.name)}>{t("desktopBackup.restore")}</Button><Button size="sm" variant="ghost" className="text-destructive hover:text-destructive" disabled={busy || saving} onClick={() => { setDeleteError(null); setDeleting(item.name); }}>{t("common.delete")}</Button></div>
+ </li>)}</ul> : <p className="text-sm text-muted-foreground">{t("desktopBackup.emptyHistory")}</p>}
+ </section>
+ </>}</DesktopBackupImport>
+ </CardContent>
+ {runOpen ? <DesktopBackupRunDialog key={status.backupSetId} status={status} onRun={(input) => bridge.backup("run", input)} onClose={() => setRunOpen(false)} /> : null}
+ {deleting ? <AppConfirmDialog title={t("desktopBackup.deleteTitle")} description={t("desktopBackup.deleteDescription", { name: deleting })} confirmLabel={t("desktopBackup.deleteConfirm")} error={deleteError} isWorking={saving} onCancel={() => setDeleting(null)} onConfirm={() => void remove()} /> : null}
+ </Card>;
+};
diff --git a/apps/web/src/lib/desktop-backup.ts b/apps/web/src/lib/desktop-backup.ts
new file mode 100644
index 00000000..ff63be73
--- /dev/null
+++ b/apps/web/src/lib/desktop-backup.ts
@@ -0,0 +1,29 @@
+import { useEffect, useState } from "react";
+import type { DesktopBackupStatus, DesktopBackupError } from "@edgeever/shared";
+import type { TFunction } from "i18next";
+
+export const useDesktopBackup = () => {
+ const [status, setStatus] = useState<DesktopBackupStatus | null>(null);
+ const bridge = window.edgeeverDesktop;
+ useEffect(() => {
+ if (!bridge?.backup) return;
+ let active = true;
+ const unsubscribe = bridge.onBackupStatus((value) => { if (active) setStatus(value); });
+ void bridge.backup("status").then((value) => { if (active) setStatus(value); }).catch(() => {});
+ return () => { active = false; unsubscribe(); };
+ }, [bridge]);
+ return { bridge, status };
+};
+
+const archiveErrors = new Set(["invalidZip", "missingManifest", "unsupportedFormat", "unsupportedVersion", "invalidManifest", "missingData", "invalidData", "incompleteData", "incompleteResources"]);
+const cleanupErrors: Record<string, string> = { backup_cleanup_failed: "cleanupWarning", backup_staging_cleanup_failed: "stagingWarning", backup_part_cleanup_failed: "partWarning" };
+
+export const describeDesktopBackupError = (t: TFunction, error: unknown) => {
+ const value = error as DesktopBackupError;
+ if (archiveErrors.has(value?.code)) return t(`dataExport.importErrors.${value.code}`);
+ if (cleanupErrors[value?.code]) return t(`desktopBackup.${cleanupErrors[value.code]}`);
+ const description = value?.status && value.code === "backup_request_failed" && value.message
+ ? value.message
+ : t(`desktopBackup.errors.${value?.code ?? "backup_failed"}`, { defaultValue: value?.message || t("desktopBackup.errors.backup_failed") });
+ return value?.status ? t("desktopBackup.httpError", { message: description, status: value.status }) : description;
+};
diff --git a/apps/web/src/lib/json-backup.ts b/apps/web/src/lib/json-backup.ts
index b8e0ffb4..c77205bd 100644
--- a/apps/web/src/lib/json-backup.ts
+++ b/apps/web/src/lib/json-backup.ts
@@ -1,324 +1,9 @@
-import {
- EDGEEVER_ZIP_FORMAT,
- EDGEEVER_ZIP_FORMAT_VERSION,
- JsonBackupManifestSchema,
- JsonBackupAiPromptSchema,
- JsonBackupMemoSchema,
- JsonBackupNotebookSchema,
- type JsonBackupManifest,
- type JsonBackupAiPrompt,
- type JsonBackupMemo,
- type JsonBackupNotebook,
- type JsonBackupResource,
- type JsonBackupRevision,
- type MemoDetail,
- type Notebook,
- type Resource,
-} from "@edgeever/shared";
-import {
- Inflate,
- strFromU8,
- strToU8,
- Zip,
- ZipDeflate,
- ZipPassThrough,
-} from "fflate";
-import {
- buildNoteMarkdown,
- buildNotebookExportPaths,
- getExportResourceExtension,
- replaceExportResourceUrl,
- sanitizeExportPathSegment,
- uniqueExportName,
-} from "./markdown-export";
+import { createEdgeEverZipStream } from "@edgeever/shared/backup-archive";
+import type { JsonBackupSource, EdgeEverZipProgress } from "@edgeever/shared/backup-archive";
+export * from "@edgeever/shared/backup-archive";
-export type EdgeEverZipProgress = {
- completed: number;
- total: number;
-};
-
-export type EdgeEverZipImportErrorCode =
- | "invalidZip"
- | "missingManifest"
- | "unsupportedFormat"
- | "unsupportedVersion"
- | "invalidManifest"
- | "missingData"
- | "invalidData"
- | "incompleteData"
- | "incompleteResources";
-
-export class EdgeEverZipImportError extends Error {
- code: EdgeEverZipImportErrorCode;
-
- constructor(code: EdgeEverZipImportErrorCode, cause?: unknown) {
- super(code, { cause });
- this.name = "EdgeEverZipImportError";
- this.code = code;
- }
-}
-
-type JsonBackupPage = {
- memos: MemoDetail[];
- resources: Resource[];
- revisions: JsonBackupRevision[];
- totalCount: number;
- nextOffset: number | null;
-};
-
-type JsonBackupSource = {
- listNotebooks: () => Promise<{ notebooks: Notebook[] }>;
- getPage: (offset: number, limit: number) => Promise<JsonBackupPage>;
- getResourceResponse?: (resourceUrl: string) => Promise<Response>;
- getResourceBlob?: (resourceUrl: string) => Promise<Blob>;
- listPrompts: () => Promise<{ prompts: JsonBackupAiPrompt[] }>;
-};
-
-type JsonResourceRestoreSink = {
- write: (chunk: Uint8Array) => Promise<void>;
- close: () => Promise<unknown>;
- abort: () => Promise<void>;
-};
-
-type JsonRestoreTarget = {
- restoreNotebooks: (notebooks: JsonBackupNotebook[]) => Promise<unknown>;
- restoreMemos: (memos: JsonBackupMemo[]) => Promise<unknown>;
- createResourceRestoreSink: (
- resourceId: string,
- metadata: JsonBackupResource,
- ) => Promise<JsonResourceRestoreSink>;
- restorePrompts: (prompts: JsonBackupAiPrompt[]) => Promise<unknown>;
-};
-
-export type ParsedEdgeEverZip = {
- manifest: JsonBackupManifest;
- notebooks: JsonBackupNotebook[];
- memos: JsonBackupMemo[];
- prompts: JsonBackupAiPrompt[];
- archive: Blob;
-};
-
-const PAGE_SIZE = 25;
const ZIP_MIME_TYPE = "application/zip";
const MAX_BUFFERED_ZIP_BYTES = 128 * 1024 * 1024;
-const jsonBytes = (value: unknown) => strToU8(`${JSON.stringify(value, null, 2)}\n`);
-
-const addJsonFile = (zip: Zip, path: string, value: unknown) => {
- const file = new ZipDeflate(path, { level: 6 });
- zip.add(file);
- file.push(jsonBytes(value), true);
-};
-
-const streamResourceIntoZip = async (
- source: JsonBackupSource,
- resourceUrl: string,
- file: ZipPassThrough,
- waitForOutputCapacity: () => Promise<void>,
-) => {
- if (!source.getResourceResponse && !source.getResourceBlob) {
- throw new Error("A resource response source is required");
- }
- const response = source.getResourceResponse
- ? await source.getResourceResponse(resourceUrl)
- : new Response(await source.getResourceBlob!(resourceUrl));
- if (!response.ok) throw new Error(`Resource download failed (${response.status})`);
- if (!response.body) {
- file.push(new Uint8Array(), true);
- return;
- }
- const reader = response.body.getReader();
- try {
- while (true) {
- const next = await reader.read();
- if (next.done) break;
- file.push(next.value, false);
- await waitForOutputCapacity();
- }
- file.push(new Uint8Array(), true);
- } finally {
- reader.releaseLock();
- }
-};
-
-const toBackupNotebook = (notebook: Notebook): JsonBackupNotebook => ({
- id: notebook.id,
- parentId: notebook.parentId,
- name: notebook.name,
- slug: notebook.slug,
- icon: notebook.icon,
- color: notebook.color,
- textColor: notebook.textColor ?? null,
- colorTarget: notebook.colorTarget ?? "icon",
- isBold: notebook.isBold ?? false,
- iconInverted: notebook.iconInverted ?? false,
- rowInverted: notebook.rowInverted ?? false,
- sortOrder: notebook.sortOrder,
- createdAt: notebook.createdAt,
- updatedAt: notebook.updatedAt,
-});
-
-export const createEdgeEverZipStream = async (
- source: JsonBackupSource,
- version: { edgeeverVersion: string; buildId: string },
- onProgress?: (progress: EdgeEverZipProgress) => void
-) => {
- const [{ notebooks }, { prompts }] = await Promise.all([
- source.listNotebooks(),
- source.listPrompts(),
- ]);
- const notebookPaths = buildNotebookExportPaths(notebooks);
- const memoNamesByNotebook = new Map<string, Set<string>>();
- let zip: Zip | null = null;
- let releaseBackpressure: (() => void) | null = null;
-
- return new ReadableStream<Uint8Array>({
- start(controller) {
- const waitForOutputCapacity = () => {
- if ((controller.desiredSize ?? 1) > 0) return Promise.resolve();
- return new Promise<void>((resolve) => {
- releaseBackpressure = resolve;
- });
- };
- zip = new Zip((error, data, final) => {
- if (error) {
- controller.error(error);
- return;
- }
- if (data.byteLength > 0) controller.enqueue(data);
- if (final) controller.close();
- });
-
- void (async () => {
- try {
- const backupNotebooks = notebooks.map(toBackupNotebook);
- addJsonFile(zip!, "notebooks.json", backupNotebooks);
- addJsonFile(zip!, "prompts.json", prompts);
- let offset = 0;
- let completed = 0;
- let total = 0;
- let revisionCount = 0;
- let resourceCount = 0;
-
- while (true) {
- const page = await source.getPage(offset, PAGE_SIZE);
- total = page.totalCount;
- onProgress?.({ completed, total });
- const resourcesByMemo = new Map<string, Resource[]>();
- const revisionsByMemo = new Map<string, JsonBackupRevision[]>();
-
- for (const resource of page.resources) {
- const items = resourcesByMemo.get(resource.memoId) ?? [];
- items.push(resource);
- resourcesByMemo.set(resource.memoId, items);
- }
- for (const revision of page.revisions) {
- const items = revisionsByMemo.get(revision.memoId) ?? [];
- items.push(revision);
- revisionsByMemo.set(revision.memoId, items);
- }
-
- for (const memo of page.memos) {
- const notebookPath = notebookPaths.get(memo.notebookId) ?? "Unfiled";
- const usedMemoNames = memoNamesByNotebook.get(notebookPath) ?? new Set<string>();
- memoNamesByNotebook.set(notebookPath, usedMemoNames);
- const memoStem = uniqueExportName(
- sanitizeExportPathSegment(memo.title?.trim() || "Untitled note", "Untitled note"),
- usedMemoNames
- );
- const markdownDirectory = `notes/${notebookPath}`;
- const assetDirectory = `${memoStem}.assets`;
- const usedResourceNames = new Set<string>();
- let markdown = memo.contentMarkdown;
- const backupResources: JsonBackupResource[] = [];
- for (const resource of resourcesByMemo.get(memo.id) ?? []) {
- const fallbackName = `${resource.kind}-${resource.id}.${getExportResourceExtension(resource)}`;
- const filename = uniqueExportName(
- sanitizeExportPathSegment(resource.filename || fallbackName, fallbackName),
- usedResourceNames
- );
- const relativePath = `${assetDirectory}/${filename}`;
- const archivePath = `${markdownDirectory}/${relativePath}`;
- const file = new ZipPassThrough(archivePath);
- zip!.add(file);
- await streamResourceIntoZip(source, resource.url, file, waitForOutputCapacity);
- backupResources.push({
- id: resource.id,
- memoId: resource.memoId,
- originalMemoId: resource.originalMemoId,
- kind: resource.kind,
- mimeType: resource.mimeType,
- filename: resource.filename,
- byteSize: resource.byteSize,
- sha256: resource.sha256,
- width: resource.width,
- height: resource.height,
- createdAt: resource.createdAt,
- updatedAt: resource.updatedAt,
- archivePath,
- });
- markdown = replaceExportResourceUrl(markdown, resource.url, relativePath);
- resourceCount += 1;
- }
-
- const revisions = revisionsByMemo.get(memo.id) ?? [];
- addJsonFile(zip!, `memos/${memo.id}.json`, { memo, revisions, resources: backupResources });
- const markdownFile = new ZipDeflate(`${markdownDirectory}/${memoStem}.md`, { level: 6 });
- zip!.add(markdownFile);
- markdownFile.push(strToU8(buildNoteMarkdown(markdown, memo, notebookPath)), true);
- revisionCount += revisions.length;
- completed += 1;
- onProgress?.({ completed, total });
- }
-
- if (page.nextOffset === null) {
- break;
- }
- offset = page.nextOffset;
- }
-
- const manifest: JsonBackupManifest = {
- format: EDGEEVER_ZIP_FORMAT,
- formatVersion: EDGEEVER_ZIP_FORMAT_VERSION,
- schemaVersion: 1,
- edgeeverVersion: version.edgeeverVersion,
- buildId: version.buildId,
- exportedAt: new Date().toISOString(),
- includesTrash: false,
- counts: {
- notebooks: backupNotebooks.length,
- memos: total,
- revisions: revisionCount,
- resources: resourceCount,
- prompts: prompts.length,
- },
- };
- addJsonFile(zip!, "manifest.json", manifest);
- zip!.end();
- } catch (error) {
- zip?.terminate();
- controller.error(error);
- }
- })();
- },
- pull() {
- releaseBackpressure?.();
- releaseBackpressure = null;
- },
- cancel() {
- releaseBackpressure?.();
- releaseBackpressure = null;
- zip?.terminate();
- },
- });
-};
-
-export const createEdgeEverZip = async (
- source: JsonBackupSource,
- version: { edgeeverVersion: string; buildId: string },
- onProgress?: (progress: EdgeEverZipProgress) => void,
-) => new Response(await createEdgeEverZipStream(source, version, onProgress), {
- headers: { "Content-Type": ZIP_MIME_TYPE },
-}).blob();
export class EdgeEverZipMemoryLimitError extends Error {
constructor() {
@@ -409,467 +94,6 @@ export const createEdgeEverZipTemporaryFile = async (
}
};
-type ZipEntryConsumer = {
- write?: (chunk: Uint8Array) => void | Promise<void>;
- close?: () => void | Promise<void>;
-};
-
-type ZipDirectoryEntry = {
- name: string;
- method: number;
- compressedSize: number;
- localHeaderOffset: number;
-};
-
-const ZIP_LOCAL_FILE_HEADER = 0x04034b50;
-const ZIP_CENTRAL_DIRECTORY_HEADER = 0x02014b50;
-const ZIP_END_OF_CENTRAL_DIRECTORY = 0x06054b50;
-const ZIP_LOCAL_HEADER_BYTES = 30;
-const ZIP_CENTRAL_HEADER_BYTES = 46;
-const ZIP64_MAGIC_32 = 0xffffffff;
-const ZIP64_ENTRY_COUNT = 0xffff;
-const MAX_ZIP_COMMENT_BYTES = 65535;
-const MAX_CENTRAL_DIRECTORY_BYTES = 32 * 1024 * 1024;
-const ZIP_ENTRY_CHUNK_BYTES = 1024 * 1024;
-
-const readU16 = (bytes: Uint8Array, offset: number) => bytes[offset] | (bytes[offset + 1] << 8);
-
-const readU32 = (bytes: Uint8Array, offset: number) => (
- bytes[offset] | (bytes[offset + 1] << 8) | (bytes[offset + 2] << 16) | (bytes[offset + 3] << 24)
-) >>> 0;
-
-const rejectInvalidZip = (error?: unknown): never => {
- if (error instanceof EdgeEverZipImportError) throw error;
- throw new EdgeEverZipImportError("invalidZip", error);
-};
-
-const readBlobRange = async (blob: Blob, start: number, length: number) => {
- if (!Number.isSafeInteger(start) || !Number.isSafeInteger(length) || start < 0 || length < 0 || start + length > blob.size) {
- rejectInvalidZip();
- }
- const bytes = new Uint8Array(await blob.slice(start, start + length).arrayBuffer());
- if (bytes.byteLength !== length) rejectInvalidZip();
- return bytes;
-};
-
-// Stored attachments are written with a data descriptor, so their local headers
-// have no size. Office files are ZIP archives and contain the same signature
-// inside those bytes. The central directory already records each entry's offset
-// and compressed size, which keeps nested ZIP contents inside their attachment.
-const readZipCentralDirectory = async (blob: Blob) => {
- if (blob.size < 22) rejectInvalidZip();
- const tailLength = Math.min(blob.size, 22 + MAX_ZIP_COMMENT_BYTES);
- const tail = await readBlobRange(blob, blob.size - tailLength, tailLength);
- let endOffset = -1;
- for (let offset = tail.length - 22; offset >= 0; offset -= 1) {
- if (readU32(tail, offset) !== ZIP_END_OF_CENTRAL_DIRECTORY) continue;
- const commentLength = readU16(tail, offset + 20);
- if (offset + 22 + commentLength === tail.length) {
- endOffset = offset;
- break;
- }
- }
- if (endOffset < 0) rejectInvalidZip();
- const entryCount = readU16(tail, endOffset + 10);
- const directorySize = readU32(tail, endOffset + 12);
- const directoryOffset = readU32(tail, endOffset + 16);
- if (directorySize > MAX_CENTRAL_DIRECTORY_BYTES || directoryOffset === ZIP64_MAGIC_32 || directorySize === ZIP64_MAGIC_32) {
- rejectInvalidZip();
- }
- const endOfDirectory = blob.size - tailLength + endOffset;
- if (directoryOffset > endOfDirectory || directorySize > endOfDirectory - directoryOffset) rejectInvalidZip();
- const directory = directorySize === 0
- ? new Uint8Array()
- : await readBlobRange(blob, directoryOffset, directorySize);
- const entries: ZipDirectoryEntry[] = [];
- let offset = 0;
- while (offset < directory.length) {
- if (offset + ZIP_CENTRAL_HEADER_BYTES > directory.length || readU32(directory, offset) !== ZIP_CENTRAL_DIRECTORY_HEADER) {
- rejectInvalidZip();
- }
- const flags = readU16(directory, offset + 8);
- const method = readU16(directory, offset + 10);
- const compressedSize = readU32(directory, offset + 20);
- const localHeaderOffset = readU32(directory, offset + 42);
- const nameLength = readU16(directory, offset + 28);
- const extraLength = readU16(directory, offset + 30);
- const commentLength = readU16(directory, offset + 32);
- const nameStart = offset + ZIP_CENTRAL_HEADER_BYTES;
- const nextOffset = nameStart + nameLength + extraLength + commentLength;
- if (
- nextOffset > directory.length
- || (method !== 0 && method !== 8)
- || compressedSize === ZIP64_MAGIC_32
- || localHeaderOffset === ZIP64_MAGIC_32
- ) {
- rejectInvalidZip();
- }
- let name = "";
- try {
- name = strFromU8(directory.subarray(nameStart, nameStart + nameLength), (flags & 0x800) === 0);
- } catch (error) {
- rejectInvalidZip(error);
- }
- if (!name) rejectInvalidZip();
- entries.push({ name, method, compressedSize, localHeaderOffset });
- offset = nextOffset;
- }
- if (entryCount !== ZIP64_ENTRY_COUNT && entries.length !== entryCount) rejectInvalidZip();
- return entries;
-};
-
-const locateZipEntryData = async (blob: Blob, entry: ZipDirectoryEntry) => {
- const header = await readBlobRange(blob, entry.localHeaderOffset, ZIP_LOCAL_HEADER_BYTES);
- if (readU32(header, 0) !== ZIP_LOCAL_FILE_HEADER) rejectInvalidZip();
- const flags = readU16(header, 6);
- if (readU16(header, 8) !== entry.method) rejectInvalidZip();
- if ((flags & 0x08) === 0 && readU32(header, 18) !== entry.compressedSize) rejectInvalidZip();
- const dataOffset = entry.localHeaderOffset + ZIP_LOCAL_HEADER_BYTES + readU16(header, 26) + readU16(header, 28);
- if (dataOffset < entry.localHeaderOffset || dataOffset + entry.compressedSize > blob.size) rejectInvalidZip();
- return dataOffset;
-};
-
-const streamZipEntry = async (
- blob: Blob,
- entry: ZipDirectoryEntry,
- consumer: ZipEntryConsumer,
- report: (bytes: number) => void,
-) => {
- const dataOffset = await locateZipEntryData(blob, entry);
- if (entry.method === 0) {
- let remaining = entry.compressedSize;
- let offset = dataOffset;
- while (remaining > 0) {
- const length = Math.min(ZIP_ENTRY_CHUNK_BYTES, remaining);
- const chunk = await readBlobRange(blob, offset, length);
- offset += length;
- remaining -= length;
- report(length);
- await consumer.write?.(chunk);
- }
- await consumer.close?.();
- return;
- }
-
- let deliveredFinal = false;
- let delivering = Promise.resolve();
- const inflate = new Inflate((data, final) => {
- const copy = data?.byteLength ? new Uint8Array(data) : undefined;
- delivering = delivering.then(async () => {
- if (copy) await consumer.write?.(copy);
- if (final) {
- deliveredFinal = true;
- await consumer.close?.();
- }
- });
- });
- let remaining = entry.compressedSize;
- let offset = dataOffset;
- do {
- const length = Math.min(ZIP_ENTRY_CHUNK_BYTES, remaining);
- const chunk = length === 0 ? new Uint8Array() : await readBlobRange(blob, offset, length);
- offset += length;
- remaining -= length;
- if (length > 0) report(length);
- try {
- inflate.push(chunk, remaining === 0);
- } catch (error) {
- await delivering.catch((deliveryError: unknown) => rejectInvalidZip(deliveryError));
- rejectInvalidZip(error);
- }
- await delivering;
- } while (remaining > 0);
- if (!deliveredFinal) rejectInvalidZip();
-};
-
-const streamZipEntries = async (
- blob: Blob,
- onEntry: (file: { name: string }) => ZipEntryConsumer,
- onInputProgress?: (completedBytes: number) => void,
-) => {
- const entries = await readZipCentralDirectory(blob);
- const totalCompressed = entries.reduce((total, entry) => total + entry.compressedSize, 0);
- let consumed = 0;
- const report = (bytes: number) => {
- consumed += bytes;
- if (!onInputProgress || blob.size <= 0 || totalCompressed <= 0) return;
- onInputProgress(Math.min(blob.size, Math.round((consumed / totalCompressed) * blob.size)));
- };
- for (const entry of entries) {
- await streamZipEntry(blob, entry, onEntry({ name: entry.name }), report);
- }
- onInputProgress?.(blob.size);
-};
-
-const MAX_ZIP_METADATA_ENTRY_BYTES = 32 * 1024 * 1024;
-const MAX_ZIP_ENTRY_BYTES = 1024 * 1024 * 1024;
-const MAX_RESTORED_IMAGE_BYTES = 100 * 1024 * 1024;
-
-const isStructuredZipEntry = (path: string) => path === "manifest.json"
- || path === "notebooks.json"
- || path === "prompts.json"
- || /^memos\/[^/]+\.json$/.test(path);
-
-const concatZipChunks = (chunks: Uint8Array[], total: number) => {
- const bytes = new Uint8Array(total);
- let offset = 0;
- for (const chunk of chunks) {
- bytes.set(chunk, offset);
- offset += chunk.byteLength;
- }
- return bytes;
-};
-
-const scanEdgeEverZip = async (blob: Blob, onProgress?: (percentage: number) => void) => {
- const signature = new Uint8Array(await blob.slice(0, 4).arrayBuffer());
- const signatureValue = signature.length === 4
- ? signature[0] | (signature[1] << 8) | (signature[2] << 16) | (signature[3] << 24)
- : 0;
- if (signatureValue !== 0x04034b50 && signatureValue !== 0x06054b50) {
- throw new EdgeEverZipImportError("invalidZip");
- }
- const entrySizes = new Map<string, number>();
- const structuredEntries = new Map<string, Uint8Array>();
- let lastPercentage = -1;
-
- await streamZipEntries(blob, (file) => {
- if (entrySizes.has(file.name)) {
- throw new EdgeEverZipImportError("invalidZip", new Error(`Duplicate ZIP entry: ${file.name}`));
- }
- entrySizes.set(file.name, -1);
- const structured = isStructuredZipEntry(file.name);
- const chunks: Uint8Array[] = [];
- let byteSize = 0;
- return {
- write(chunk) {
- byteSize += chunk.byteLength;
- const limit = structured ? MAX_ZIP_METADATA_ENTRY_BYTES : MAX_ZIP_ENTRY_BYTES;
- if (byteSize > limit) {
- throw new EdgeEverZipImportError(structured ? "invalidData" : "incompleteResources");
- }
- if (structured) {
- const copy = new Uint8Array(chunk.byteLength);
- copy.set(chunk);
- chunks.push(copy);
- }
- },
- close() {
- entrySizes.set(file.name, byteSize);
- if (structured) structuredEntries.set(file.name, concatZipChunks(chunks, byteSize));
- },
- };
- }, (completedBytes) => {
- const percentage = blob.size > 0 ? Math.min(100, Math.round((completedBytes / blob.size) * 100)) : 100;
- if (percentage !== lastPercentage) {
- lastPercentage = percentage;
- onProgress?.(percentage);
- }
- });
-
- return { entrySizes, structuredEntries };
-};
-
-const parseJsonEntry = (
- entries: Map<string, Uint8Array>,
- path: string,
- missingCode: EdgeEverZipImportErrorCode = "missingData",
-) => {
- const data = entries.get(path);
- if (!data) throw new EdgeEverZipImportError(missingCode);
- try {
- return JSON.parse(strFromU8(data)) as unknown;
- } catch (error) {
- throw new EdgeEverZipImportError(path === "manifest.json" ? "invalidManifest" : "invalidData", error);
- }
-};
-
-const sortNotebooksForRestore = (notebooks: JsonBackupNotebook[]) => {
- const byId = new Map(notebooks.map((notebook) => [notebook.id, notebook]));
- const depth = (notebook: JsonBackupNotebook, seen = new Set<string>()): number => {
- if (!notebook.parentId || !byId.has(notebook.parentId) || seen.has(notebook.id)) {
- return 0;
- }
- seen.add(notebook.id);
- return 1 + depth(byId.get(notebook.parentId)!, seen);
- };
- return [...notebooks].sort((left, right) => depth(left) - depth(right));
-};
-
-export const parseEdgeEverZip = async (
- blob: Blob,
- onProgress?: (percentage: number) => void,
-): Promise<ParsedEdgeEverZip> => {
- const { entrySizes, structuredEntries } = await scanEdgeEverZip(blob, onProgress);
- const manifestValue = parseJsonEntry(structuredEntries, "manifest.json", "missingManifest");
- if (!manifestValue || typeof manifestValue !== "object") {
- throw new EdgeEverZipImportError("invalidManifest");
- }
- const manifestRecord = manifestValue as Record<string, unknown>;
- if (manifestRecord.format !== EDGEEVER_ZIP_FORMAT) {
- throw new EdgeEverZipImportError("unsupportedFormat");
- }
- if (manifestRecord.formatVersion !== 1 && manifestRecord.formatVersion !== EDGEEVER_ZIP_FORMAT_VERSION) {
- throw new EdgeEverZipImportError("unsupportedVersion");
- }
- const manifestResult = JsonBackupManifestSchema.safeParse(manifestValue);
- if (!manifestResult.success) {
- throw new EdgeEverZipImportError("invalidManifest", manifestResult.error);
- }
- const manifest = manifestResult.data;
- const notebooksValue = parseJsonEntry(structuredEntries, "notebooks.json");
- if (!Array.isArray(notebooksValue)) {
- throw new EdgeEverZipImportError("invalidData");
- }
- const notebooksResult = JsonBackupNotebookSchema.array().safeParse(notebooksValue);
- if (!notebooksResult.success) {
- throw new EdgeEverZipImportError("invalidData", notebooksResult.error);
- }
- const notebooks = sortNotebooksForRestore(notebooksResult.data);
- const promptsValue = manifest.formatVersion >= 2
- ? parseJsonEntry(structuredEntries, "prompts.json")
- : [];
- const promptsResult = JsonBackupAiPromptSchema.array().safeParse(promptsValue);
- if (!promptsResult.success) {
- throw new EdgeEverZipImportError("invalidData", promptsResult.error);
- }
- const prompts = promptsResult.data as JsonBackupAiPrompt[];
- const memoPaths = [...structuredEntries.keys()].filter((path) => /^memos\/[^/]+\.json$/.test(path)).sort();
- const memos: JsonBackupMemo[] = [];
- for (const path of memoPaths) {
- const memoResult = JsonBackupMemoSchema.safeParse(parseJsonEntry(structuredEntries, path));
- if (!memoResult.success) {
- throw new EdgeEverZipImportError("invalidData", memoResult.error);
- }
- memos.push(memoResult.data as JsonBackupMemo);
- }
- const resources = memos.flatMap((memo) => memo.resources);
- const resourcePaths = new Set(resources.map((resource) => resource.archivePath));
- // Markdown attachments live under notes/ too. Only count readable note copies,
- // excluding the exact resource paths recorded in the recovery metadata.
- const markdownCount = [...entrySizes.keys()].filter((path) => (
- /^notes\/.+\.md$/.test(path) && !resourcePaths.has(path)
- )).length;
-
- if (
- manifest.counts.notebooks !== notebooks.length
- || manifest.counts.memos !== memos.length
- || manifest.counts.memos !== markdownCount
- || (manifest.counts.prompts ?? 0) !== prompts.length
- ) {
- throw new EdgeEverZipImportError("incompleteData");
- }
-
- const revisionCount = memos.reduce((count, memo) => count + memo.revisions.length, 0);
- if (manifest.counts.revisions !== revisionCount) {
- throw new EdgeEverZipImportError("incompleteData");
- }
- if (
- manifest.counts.resources !== resources.length
- || resourcePaths.size !== resources.length
- || resources.some((resource) => (
- resource.byteSize <= 0
- || resource.byteSize > (resource.kind === "image" ? MAX_RESTORED_IMAGE_BYTES : MAX_ZIP_ENTRY_BYTES)
- || isStructuredZipEntry(resource.archivePath)
- || entrySizes.get(resource.archivePath) !== resource.byteSize
- ))
- ) {
- throw new EdgeEverZipImportError("incompleteResources");
- }
-
- return { manifest, notebooks, memos, prompts, archive: blob };
-};
-
-export const restoreEdgeEverZip = async (
- backup: ParsedEdgeEverZip,
- target: JsonRestoreTarget,
- onProgress?: (progress: EdgeEverZipProgress) => void
-) => {
- const total = backup.notebooks.length
- + backup.memos.length
- + backup.prompts.length
- + backup.manifest.counts.resources;
- let completed = 0;
- onProgress?.({ completed, total });
-
- for (let index = 0; index < backup.prompts.length; index += 100) {
- const batch = backup.prompts.slice(index, index + 100);
- await target.restorePrompts(batch);
- completed += batch.length;
- onProgress?.({ completed, total });
- }
-
- for (let index = 0; index < backup.notebooks.length; index += 100) {
- const batch = backup.notebooks.slice(index, index + 100);
- await target.restoreNotebooks(batch);
- completed += batch.length;
- onProgress?.({ completed, total });
- }
-
- for (let index = 0; index < backup.memos.length; index += 10) {
- const batch = backup.memos.slice(index, index + 10);
- await target.restoreMemos(batch);
- completed += batch.length;
- onProgress?.({ completed, total });
- }
-
- const resourcesByPath = new Map(
- backup.memos.flatMap((memo) => memo.resources).map((resource) => [resource.archivePath, resource]),
- );
- const restoredPaths = new Set<string>();
- const activeSinks = new Set<JsonResourceRestoreSink>();
- try {
- await streamZipEntries(backup.archive, (file) => {
- const resource = resourcesByPath.get(file.name);
- if (!resource) return {};
- const sinkPromise = target.createResourceRestoreSink(resource.id, resource);
- let byteSize = 0;
- return {
- async write(chunk) {
- byteSize += chunk.byteLength;
- if (byteSize > resource.byteSize) {
- const sink = await sinkPromise;
- await sink.abort();
- throw new EdgeEverZipImportError("incompleteResources");
- }
- const sink = await sinkPromise;
- activeSinks.add(sink);
- await sink.write(chunk);
- },
- async close() {
- const sink = await sinkPromise;
- activeSinks.add(sink);
- if (byteSize !== resource.byteSize) {
- await sink.abort();
- activeSinks.delete(sink);
- throw new EdgeEverZipImportError("incompleteResources");
- }
- await sink.close();
- activeSinks.delete(sink);
- restoredPaths.add(file.name);
- completed += 1;
- onProgress?.({ completed, total });
- },
- };
- });
- } catch (error) {
- await Promise.all([...activeSinks].map((sink) => sink.abort().catch(() => undefined)));
- throw error;
- }
- if (restoredPaths.size !== resourcesByPath.size) {
- throw new EdgeEverZipImportError("incompleteResources");
- }
-};
-
-export const restoreEdgeEverZipAndRefresh = async (
- backup: ParsedEdgeEverZip,
- target: JsonRestoreTarget,
- refreshWorkspace: () => Promise<void>,
- onProgress?: (progress: EdgeEverZipProgress) => void
-) => {
- await restoreEdgeEverZip(backup, target, onProgress);
- await refreshWorkspace();
-};
-
export const downloadEdgeEverZip = (
blob: Blob,
filename = `edgeever-export-${new Date().toISOString().slice(0, 10)}.zip`,
diff --git a/apps/web/src/lib/markdown-export.ts b/apps/web/src/lib/markdown-export.ts
index a961b1fa..50cf9b04 100644
--- a/apps/web/src/lib/markdown-export.ts
+++ b/apps/web/src/lib/markdown-export.ts
@@ -1,5 +1,6 @@
import type { MemoDetail, Notebook, Resource } from "@edgeever/shared";
-import { mergeMarkdownFrontMatter } from "@edgeever/shared";
+import { sanitizeExportPathSegment, uniqueExportName, buildNotebookExportPaths, buildNoteMarkdown, getExportResourceExtension, replaceExportResourceUrl } from "@edgeever/shared/backup-markdown";
+export { sanitizeExportPathSegment, uniqueExportName, buildNotebookExportPaths, buildNoteMarkdown, buildMarkdownFrontMatter, getExportResourceExtension, replaceExportResourceUrl } from "@edgeever/shared/backup-markdown";
import { strToU8, Zip, ZipDeflate, ZipPassThrough } from "fflate";
export type MarkdownExportProgress = {
@@ -23,7 +24,6 @@ export type MarkdownExportSource = {
const EXPORT_PAGE_SIZE = 50;
const ZIP_MIME_TYPE = "application/zip";
const MAX_BUFFERED_ZIP_BYTES = 128 * 1024 * 1024;
-const WINDOWS_RESERVED_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i;
export class MarkdownExportMemoryLimitError extends Error {
constructor() {
@@ -32,115 +32,6 @@ export class MarkdownExportMemoryLimitError extends Error {
}
}
-export const sanitizeExportPathSegment = (value: string, fallback: string) => {
- const sanitized = value
- // oxlint-disable-next-line no-control-regex -- replaces control characters in export paths
- .replace(/[\u0000-\u001f<>:"/\\|?*]/g, "-")
- .replace(/\s+/g, " ")
- .replace(/[. ]+$/g, "")
- .trim()
- .slice(0, 100);
- const safeValue = sanitized || fallback;
- return WINDOWS_RESERVED_NAME.test(safeValue) ? `_${safeValue}` : safeValue;
-};
-
-export const uniqueExportName = (candidate: string, usedNames: Set<string>) => {
- if (!usedNames.has(candidate.toLocaleLowerCase())) {
- usedNames.add(candidate.toLocaleLowerCase());
- return candidate;
- }
-
- let suffix = 2;
- while (usedNames.has(`${candidate} (${suffix})`.toLocaleLowerCase())) {
- suffix += 1;
- }
-
- const unique = `${candidate} (${suffix})`;
- usedNames.add(unique.toLocaleLowerCase());
- return unique;
-};
-
-export const buildNotebookExportPaths = (notebooks: Notebook[]) => {
- const notebookById = new Map(notebooks.map((notebook) => [notebook.id, notebook]));
- const siblingNames = new Map<string, Set<string>>();
- const segmentById = new Map<string, string>();
-
- for (const notebook of notebooks) {
- const parentKey = notebook.parentId ?? "__root__";
- const usedNames = siblingNames.get(parentKey) ?? new Set<string>();
- siblingNames.set(parentKey, usedNames);
- segmentById.set(
- notebook.id,
- uniqueExportName(sanitizeExportPathSegment(notebook.name, "Untitled notebook"), usedNames)
- );
- }
-
- const pathById = new Map<string, string>();
- const resolvePath = (notebookId: string, visited = new Set<string>()): string => {
- const cached = pathById.get(notebookId);
- if (cached) {
- return cached;
- }
-
- const notebook = notebookById.get(notebookId);
- if (!notebook || visited.has(notebookId)) {
- return "Unfiled";
- }
-
- visited.add(notebookId);
- const segment = segmentById.get(notebookId) ?? "Untitled notebook";
- const path = notebook.parentId && notebookById.has(notebook.parentId)
- ? `${resolvePath(notebook.parentId, visited)}/${segment}`
- : segment;
- pathById.set(notebookId, path);
- return path;
- };
-
- for (const notebook of notebooks) {
- resolvePath(notebook.id);
- }
-
- return pathById;
-};
-
-export const buildNoteMarkdown = (markdown: string, memo: MemoDetail, notebookPath: string) =>
- mergeMarkdownFrontMatter(markdown, {
- title: memo.title?.trim() || "Untitled note",
- tags: memo.tags,
- notebook: notebookPath,
- created: memo.createdAt,
- updated: memo.updatedAt,
- pinned: memo.isPinned,
- edgeever_id: memo.id,
- });
-
-export const buildMarkdownFrontMatter = (memo: MemoDetail, notebookPath: string) =>
- buildNoteMarkdown("", memo, notebookPath);
-
-export const getExportResourceExtension = (resource: Resource) => {
- const filenameExtension = resource.filename?.match(/\.([a-z0-9]{1,12})$/i)?.[1];
- if (filenameExtension) {
- return filenameExtension.toLowerCase();
- }
-
- const mimeExtension = resource.mimeType?.split("/")[1]?.split(/[;+]/)[0];
- return mimeExtension ? sanitizeExportPathSegment(mimeExtension, "bin").toLowerCase() : "bin";
-};
-
-const encodeRelativePath = (path: string) => path.split("/").map(encodeURIComponent).join("/");
-
-export const replaceExportResourceUrl = (markdown: string, resourceUrl: string, relativePath: string) => {
- const encodedPath = encodeRelativePath(relativePath);
- const absoluteUrl = typeof window === "undefined" ? null : new URL(resourceUrl, window.location.origin).toString();
- let result = markdown.split(resourceUrl).join(encodedPath);
-
- if (absoluteUrl) {
- result = result.split(absoluteUrl).join(encodedPath);
- }
-
- return result;
-};
-
export const createMarkdownExport = async (
source: MarkdownExportSource,
onProgress?: (progress: MarkdownExportProgress) => void
diff --git a/apps/web/src/vite-env.d.ts b/apps/web/src/vite-env.d.ts
index ec359227..656bbd10 100644
--- a/apps/web/src/vite-env.d.ts
+++ b/apps/web/src/vite-env.d.ts
@@ -39,6 +39,8 @@ interface DesktopLoginItemState {
}
interface EdgeEverDesktopBridge {
+ backup<A extends keyof import("@edgeever/shared").DesktopBackupActions>(action: A, input?: import("@edgeever/shared").DesktopBackupActions[A]["input"]): Promise<import("@edgeever/shared").DesktopBackupActions[A]["output"]>;
+ onBackupStatus(callback: (status: import("@edgeever/shared").DesktopBackupStatus | null) => void): () => void;
isAvailable: boolean;
canClearLocalData: boolean;
recoveredAfterAbnormalExit: boolean;
diff --git a/bun.lock b/bun.lock
index a2100b1d..550012e5 100644
--- a/bun.lock
+++ b/bun.lock
@@ -38,6 +38,7 @@
"@tiptap/starter-kit": "3.31.4",
"@tiptap/suggestion": "3.31.4",
"@tiptap/y-tiptap": "3.0.9",
+ "@zip.js/zip.js": "2.24.0",
"ai": "7.0.137",
"aws4fetch": "^1.0.20",
"class-variance-authority": "0.7.1",
@@ -313,6 +314,7 @@
"@tiptap/markdown": "3.31.4",
"@tiptap/pm": "3.31.4",
"@tiptap/starter-kit": "3.31.4",
+ "@zip.js/zip.js": "2.24.0",
"js-base64": "3.9.3",
"katex": "0.18.2",
"yaml": "2.8.3",
@@ -328,11 +330,13 @@
"cf-wrangler": "bin/wrangler.js",
},
"dependencies": {
- "edgeever-wrangler-cli": "npm:wrangler@^4.112.0",
+ "edgeever-wrangler-cli": "npm:[email protected]",
},
},
},
"patchedDependencies": {
"@joplin/[email protected]": "patches/@joplin%[email protected]",
@@ -1879,6 +1883,8 @@
"@xmldom/xmldom": ["@xmldom/[email protected]", "", {}, "sha512-/5NV/vDALVFDXgLmfsy9TRCBlKwO2LNBFzpzvb9iIj+jR+eSc6DLYYvVOdivT/jm7MtU6TebYuRmzEOI7w40UA=="],
+ "@zip.js/zip.js": ["@zip.js/[email protected]", "", {}, "sha512-WlaVKzdqBK+RF3bdiXZWbdCnvGB6PdO4IHC1mn/2Yfl3bASgqUNegnU3+PNg61iecwoPfUi5BgLUPqBukXpyWw=="],
+
"abbrev": ["[email protected]", "", {}, "sha512-a1wflyaL0tHtJSmLSOVybYhy22vRih4eduhhrkcjgrWGnRfrZtovJ2FRjxuTtkkj47O/baf0R86QU5OuYpz8fA=="],
"abort-controller": ["[email protected]", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="],
diff --git a/docs/changes/2026-10-23-desktop-scheduled-backup.md b/docs/changes/2026-10-23-desktop-scheduled-backup.md
new file mode 100644
index 00000000..866dbb45
--- /dev/null
+++ b/docs/changes/2026-10-23-desktop-scheduled-backup.md
@@ -0,0 +1,100 @@
+# Issue 650 desktop scheduled backup implementation scope
+
+[简体中文](2026-10-23-desktop-scheduled-backup.zh-CN.md)
+
+## Problem and outcome
+
+Implement [Issue #650](https://github.com/tianma-if/edgeever/issues/650) following the [scheduled backup and encrypted recovery design](../desktop-scheduled-backup-design.md). Desktop saves the current account's synchronized knowledge base to a chosen local directory, optionally password-encrypted, and restores it to a new instance without the original instance.
+
+Changes affect desktop background work, shared archives, settings and restore entry points, backup reads, and a new migration. The main risks are write disruption by revision triggers, unreadable archives, plaintext disclosure, and accidental backup deletion. Disabling stops new tasks and keeps files; application rollback retains additive database structures and faulty triggers require a subsequent corrective migration. Validate old-database upgrades, platform directories/credentials, and recovery separately.
+
+When a resource-restore request returns 503, archive consumer errors are rewritten as `invalidZip`, and desktop IPC then drops the HTTP status. Preserve the real failure and record its request diagnostics through the existing desktop log. The main risks are error-classification regressions and sensitive diagnostic fields. Keep ZIP-reader failures classified as invalid archives and use selected fields plus existing redaction. Reverting this item restores the old error path without changing archives or restored data.
+
+An empty Worker behind local Wrangler 4.112.0 also returned 503 at a fixed five-second cadence. Its development proxy has an idle-connection race and misclassifies the error source. Use the repository's existing Bun dependency-patch mechanism to repair local forwarding without retrying restore writes. The risk is local-proxy compatibility; limit connection changes to plain loopback HTTP, preserve remote/WebSocket behavior, and roll back by removing the patch and its package/lockfile registration. Keep running services unchanged; actual business restore requires user acceptance after restarting the development service.
+
+Desktop has duplicate export/backup entry points, no direct actions on completed archives, and creates redundant archives for unchanged data. Unify backup and restore while retaining one-off plain/encrypted output and separating source checks from actual archive creation. Risks are name collisions, file ownership and incorrect skipping; bind operations to the current backup set and use the existing source-revision protocol plus an available previous archive. Rollback does not migrate or rename old archives. Validate in isolated directories without operating on user instances, processes or files.
+
+Expanding backup settings adds a vertical scrollbar, narrowing the card and rewrapping content; settings below the archive list are also hard to find. Move the collapsed settings below status and above history, and reserve scrollbar space in both wide and narrow settings-page scroll containers. Risk is limited to spacing and narrow-window layout. Reverting these two layout changes restores the previous arrangement without changing collapsed defaults, configuration, backup or restore behavior. Check actual expanded/collapsed widths, keyboard operation and narrow-window rendering.
+
+The contribution branch starts from current official main and carries only this feature, not deployment-fork snapshot history. Give the new backup migration an unused increasing number, retaining every published upstream migration, notebook-appearance field and locale catalog. Integration risks are migration ordering, dropped archive fields and regressions in existing callers. Validate isolated old-database upgrades and old/new export/restore paths; rolling back code must not delete data or additive migration structures. Keep the original development checkout and user instances unchanged. Review B01–B19 for correctness, necessary complexity and actual UI behavior; record each evidence-backed behavior fix before implementing it.
+
+## Allowed behavior and acceptance
+
+| ID | Behavior change | Acceptance |
+| --- | --- | --- |
+| B01 | New numbered migration adds workspace backup_revision default 0; notebook, note, content, revision, resource and prompt inserts/updates/deletes advance the owning workspace in the original transaction. Resolve ownership before deletion and cover both sides of moves. API revisions are decimal strings; synchronization cursors stay unchanged. | Upgrade real pre-migration data, then edit/sync/delete/restore; cover each entity, bulk operations and workspace isolation. |
+| B02 | Add `/api/v1/backups/state` and `/api/v1/backups/data`, resolving the workspace from existing authenticated backup access. Return protocol, identity, revision and counts; page by stable ID. Check revisions around pages and after attachments; return backup_source_changed on mismatch. Disable caching and lagging replica reads. New automatic backup requests an upgrade on old servers rather than weakening consistency. | Actual routes/database/resource reads with concurrent changes, identity, permissions and complete pagination; old endpoints remain usable. |
+| B03 | New desktop backups read only current-account synchronized undeleted notes, hierarchy, tags/states, revisions, prompts and active attachments. No sync pushes or cache fallback; exclude Trash, credentials, deployment/share/form settings and unregistered external files. Validate attachment lengths and existing digests, computing missing digests while reading. Missing/mismatched files fail the task. | Export and restore one dataset into a fresh instance; verify coverage and files. Offline/missing-resource failure preserves old archives. |
+| B04 | Share existing edgeever-zip v2 structure, retaining v1/v2 reads and nullable digests. Add pinned @zip.js/zip.js for ZIP64 with license notices, without unrelated compression replacement. Stream new desktop/large-archive paths with backpressure; retain the 128 MiB manual Web fallback and existing per-file limits. | Existing archive tests and plain/ZIP64 round trips; real streams exceeding 4 GiB and ZIP64 entry-count boundaries; targeted memory observation. |
+| B05 | `.edgeever.enc` uses the designed 40-byte EDGB v1 header, AES-256-GCM, PBKDF2-HMAC-SHA256/600000 iterations, 32-byte key, random 16-byte salt/12-byte IV/16-byte tag and header AAD. Accept only the defined suite, preserve UTF-8 password bytes, and abort ZIP input beyond `2^36 - 32` bytes while retaining backups. | Interoperability, wrong passwords, modified headers/ciphertext, truncation, unsupported parameters and length boundaries; failed authentication causes no restore writes. |
+| B06 | Main-process secure credentials bind to instance/account. No passwords in server requests, ordinary config, localStorage, logs, backup folders or saved-value UI. Pause encrypted automatic work for Linux basic_text or unavailable/locked storage; allow a one-time unsaved password run without plaintext fallback. Password changes affect new files only. | Credential adapter and real-platform checks, cross-device password restore, failure and password-change behavior. |
+| B07 | Main-process scheduling, separate background execution and narrow IPC independent of the renderer. Initially automatic/encryption off, weekly, retain 5; intervals daily/weekly/biweekly/monthly and retention 3/5/10/20. Restore the account from the saved session in the main process at startup, without requiring renderer IPC. Check at startup/login-ready/resume/hourly, run first enable and catch up once; local-calendar scheduling recalculates on timezone changes. | Lifecycle, month end, first enable and success records; settings close, renderer reload, tray and resume paths. |
+| B08 | Manual/scheduled runs share exclusion, configuration and validation; manual works with scheduling off. Cancel before configuration edits. Failure preserves success time; network/revision automatic retries wait at least an hour, manual retry is immediate. Action-required errors do not repeat dialogs. App exit cancels. Recheck enabled/due/backoff after acquiring exclusion for scheduled runs; cancel unfinished requests and release the worker when a task ends. | Concurrent triggers, cancellation, retry, exit/restart and usable foreground editing. |
+| B09 | Scope configuration, immutable task context and records to instance/account, with a random local backupSetId. Switching/sign-out cancels; reject old-account operations during context transitions; late responses cannot publish, record success or prune. Default root is OS Documents/EdgeEver Backups, native directory selection and a backup-set subfolder, with UTC/random-ID automatic names; manual names follow B15. | Actual account/instance and folder changes, late responses, other-account/device file preservation. |
+| B10 | Stream a unique same-directory .part, validate/flush, atomically publish and persist completion before retention and notification. Pre-publication failure removes only its temporary file, without pruning. Recover interrupted completion records by verification; allow an encrypted pending archive to be verified once using its original password without replacing the currently saved password. Delete only recorded completed files in the current set, not symlink targets or mtime-inferred ownership. Retention errors are separate warnings. Destination changes/disabling/reinstallation retain old files; report local completion only. | Disk/permission/interruption/cancel/prune failure, publication recovery, ownership/retention and no plaintext in synchronized folders. |
+| B11 | Desktop backup card includes destination, interval, retention, encryption/password confirmation, run/cancel, folder, last-success/next-due/error and history/manual actions as specified in B15–B18, with a verification action for pending publications. Require matching nonempty passwords; show only saved status, synchronized coverage and future-only password changes. Reuse existing UI/Tooltip and all existing locale catalogs. | Real settings/backup interactions, keyboard, state/errors and screenshots. |
+| B12 | Desktop import identifies ZIP/encrypted headers. The file picker starts in the currently configured actual backup directory (including its backup-set subfolder), while allowing selection elsewhere without creating directories or restricting import sources. Submit the password dialog as a form: Enter matches Unlock and check; empty passwords and pending submissions remain blocked. Keep the unlock dialog until decryption and archive checks succeed; show failures inline with retry, show check progress, disable password editing/repeated submission while checking, and cancel the check when closing the dialog. Isolate import errors and staging-cleanup warnings from automatic-backup state, preserving backup errors, warnings and success records. Classify legacy `backup_decrypt_failed` records as import errors only when no pending publication exists; retain the backup classification for pending-publication verification. Authenticate completely in a private directory before scanning format/paths/CRC/counts/relationships/files; confirm target instance/account/counts before writes. Preserve ID overwrite/unrelated data, retryable batch failure and final refresh. Unix staging 0700/0600, private Windows ACLs; clean registered plaintext on success/failure/cancel/crash. Preserve ownership registration when old staging/part cleanup fails; do not overwrite it with a new task until cleanup succeeds. | Disconnect source and restore plain/encrypted archives to a fresh instance; cancellation/bad-file zero writes, partial restore retry, staging cleanup and old ZIP compatibility; verify the picker receives the current actual backup directory and still accepts native selections from elsewhere; exercise Enter/click with matching unlock inputs, empty/pending submission guards and cancellation in a real browser; exercise inline wrong-password errors, successful retry/confirmation, cancellation while checking, plain invalid archives and restore-error ownership; main-process tests cover preserved backup state, isolated cleanup warnings and legacy classification. |
+| B13 | ZIP reads, decompression and CRC failures remain `invalidZip`; preserve original entry-consumer and target-restore errors instead of treating them as corrupt archives. Desktop IPC/status retain HTTP status and server error code/message, with HTTP status shown beside the actual error. Log failed desktop backup/restore HTTP requests through existing `desktop.log`, including time, task kind/phase, method, query-free endpoint path, status and server error code/redacted message. For non-JSON failures use the HTTP status text; do not record headers, request bodies, raw response bodies, passwords, tokens or note content. Logging failures must not change task outcomes. Start each attachment upload initialization only when its first data chunk or empty-entry close is consumed, and await it immediately; a fast initialization rejection must follow the restore error path rather than terminate the Node worker as an unhandled rejection. Preserve cancellation, restore batches, existing retries and account isolation; add no retry/fallback and do not change filenames. | First reproduce consumer-error misclassification. Real workers receive controlled JSON/non-JSON 503 responses for the third resource initialization, preserving status/message after the first two complete, without uploading the third or leaking staging files. Main-process checks cover selected/redacted log fields, unaffected task results if logging fails and persisted status. Browser shows HTTP 503 rather than invalid ZIP; existing CRC-damage rejection still passes. A real Node regression combines asynchronous archive reads with an immediately rejected upload initialization and retains the original status/code/message without an unhandled rejection. |
+| B14 | Use existing Bun patches and pin the current official Wrangler CLI 4.112.0. Forward ordinary loopback HTTP through an existing Miniflare service binding using Wrangler's bundled Undici with pipelining=0 and a fresh connection per request, avoiding the roughly five-second idle-close race; retain native forwarding for remote targets, HTTPS and Upgrade/WebSocket. Set the current Miniflare local loopback server's keepAliveTimeout and headersTimeout to 0 to avoid the same race before reaching the Node adapter; preserve response backpressure and stop reading the upstream stream when the downstream closes; retain its currently locked transitive version 4.20260714.0. Backport upstream PR #14593's origin comparison so unchanged-Worker connection errors are reported rather than disguised as restart 503s or parked GETs; preserve existing queues/503s during actual Worker replacement. Add no restore POST retries or other fallback, restart no running services, and change no business data, deployment commands, version number, archives or filenames. | Reproduce current proxy 503s with an empty Worker, then check the same five-second cadence and an isolated instance after correction. Exercise the installed proxy's loopback HTTP behavior, unchanged WebSocket/remote forwarding, same-origin failure versus actual Worker replacement, and no non-idempotent retry; run existing Wrangler runner checks, updating their stale trigger inventory from 12 to 30 to include the added backup migration while retaining every single-line trigger check. Verify frozen-lockfile installation applies the patch automatically. |
+| B15 | Unify desktop into Backup and restore with Back up now and Restore from file; remove the standalone desktop ZIP export card, preserving Web export/import. A manual-run dialog defaults to an editable local timestamp name without a UUID; append `.zip` or `.edgeever.enc` for the selected format, stripping a supplied recognized extension. Reject empty names, path/control characters and Windows-invalid names; conflicts fail without overwriting. Encryption defaults to saved settings but overrides apply only to this run; request and confirm an unsaved password when needed. Cancel creates no job/file. Pending-publication verification keeps its original flow/name. Named output uses exclusive atomic publication; unsupported filesystem operations fail rather than falling back to overwrite. | Tests first for main-process/IPC naming, extensions, invalid paths, preflight/publication conflicts, one-off encryption, cancellation and legacy calls; real plain/encrypted archive recovery. Browser covers Enter, cancel, errors and both formats. |
+| B16 | Show registered completed files in the current directory/set with name, time, size, encryption and Restore/Delete actions. Restore selects the registered file directly and reuses one unlock/check/target-confirmation controller without a picker; external archives use Restore from file. Confirm permanent deletion of the selected file, then remove its record; an externally removed file can have its stale record removed. Main process rejects unregistered names, paths, symlinks/replaced directories, stale accounts and busy operations. Failures preserve records with visible errors; other files remain untouched. | Isolated file checks cover selection, deletion, missing files, retained records on failure and unknown/cross-account/symlink rejection. Browser covers row targeting, delete confirm/cancel and a single restore controller. |
+| B17 | Scheduled runs skip only when source instance/workspace identity and backupRevision, full backup configuration and saved-password generation match and the previous archive remains a registered regular file of the same size in the current directory. Missing comparison metadata, missing files or configuration changes create an archive. Configuration includes directory, interval, retention, enabled and encryption. Manual archives with one-off encryption/password overrides are not automatic-skip baselines. Manual runs always create an archive. Skips persist check time/no-change only, without changing archive success time, retention or archive notifications; a separate scheduling anchor advances to the next interval. Preserve hourly failure backoff and never treat cancellation as success. Revisions conservatively track writes, not semantic deduplication. | Real worker reads state only and creates no file on no-change; source changes create an archive. Main-process checks cover legacy records, configuration/password changes, missing files, forced manual work, no skip pruning/success changes, restart scheduling and failure/cancel states. |
+| B18 | Above the list, always show the last actual successful archive, latest check time/result (success/no-change/failure/cancelled/running), and automatic-off or next scheduled check. No-change explicitly states that the existing backup is current. Failures retain last success and show their cause; import state remains separate. Account changes clear local dialogs/inputs. | Inspect actual browser renders/screenshots for success, no-change, failure and automatic-off; verify persisted check records, account isolation and existing import-error isolation. |
+| B19 | Order the backup area as actions, status, initially collapsed backup settings, then local archives; keep the migration guide after the card. Reserve vertical scrollbar space in wide and narrow settings-page content containers so expanding/collapsing does not change card width. Do not fix the card width or change settings persistence, backup/restore/delete behavior, data or defaults. | Reuse the isolated real-component browser fixture with settings-page layout. Check expand/collapse, keyboard operation, long names/paths, no narrow-window horizontal overflow, and working save/row actions. Retain dimensions/screenshots and run affected Web typecheck/build. |
+| B20 | Move the feature and listed fixes onto official main. Number the backup-revision migration 0080, preserving published migrations 0073–0079. Keep upstream notebook-appearance export/restore behavior and the added Russian catalog, including Russian text for this feature. Exclude deployment-fork history, unrelated version changes and local caches. | Check the exact diff against official main; apply the added migration to a real isolated old database and verify reads/writes/restore; check existing archives, locale catalogs and settings/manual-backup/restore UI; include upstream seeded resources in worker totals while limiting controlled 503s and per-file assertions to the three fixture-created attachments; run the three project typecheck/build commands and reuse applicable isolated-module evidence. |
+| B21 | After publication, keep only the latest completion record for the same actual file path, including case aliases on the filesystem. Retention must not delete a new archive through an older record. A failed completion commit still restores previous success and leaves a recoverable pending archive, without expanding deletion ownership. | In isolation, create A/B/C, externally move A, then reuse A/a; verify the new file survives with one history record. Reuse completion-failure and retention-ownership checks. |
+| B22 | Save passwords to separate randomly identified private encrypted credential files, then atomically commit their reference and password generation with configuration. A failed configuration commit preserves previous configuration, credentials and no-change baseline and cleans the uncommitted credential. Read existing standalone `.secret` credentials; require new references to match the generated identifier format. Retire the old credential only after commit; cleanup failure does not undo a completed save or re-enable the old credential. | First reproduce ENOSPC after password-file writing. Before/after restart, verify the old password and configuration/generation survive failure. A successful password change invalidates the previous archive baseline; legacy credentials remain readable. |
+| B23 | Before restoring any note in a page, validate ownership of every revision ID. IDs already owned by another note (including another workspace), or assigned to different notes within the page, fail with a conflict before any page writes. Preserve same-ID/same-note restore and never move or overwrite unrelated revisions. | Reproduce revision takeover through the real API/SQLite for both same- and cross-workspace owners; verify zero page writes and intact unrelated revisions, reusing idempotent same-owner restore coverage. |
+
+## Unchanged boundaries
+
+- Preserve executed migrations, synchronization protocol, note IDs and permissions. Old backups/json, ordinary Web manual ZIP, bounded browser fallback and SQLite recovery keep their existing conditions of use.
+- No WebDAV/S3 uploads, OS service after app exit, encrypted Web entry points, native mobile UI or whole-instance image; no installer/update/version/release changes.
+- Do not operate on existing user instances, production databases, installed desktop apps or users' cloud-drive data. Verify with isolated directories and test instances; commit/push only the contribution branch and create a PR, without a release or deployment.
+- Add only shared components, dependencies, packaging inclusions, fixtures and test adapters needed for the listed behavior. Cloudflare and Docker retain shared business logic.
+
+## Completion audit
+
+B01–B23 are implemented. The contribution branch starts from official `main` and includes only this feature and related fixes. The added migration is `0080_backup_revision.sql`; published migrations are unchanged. Actual behavior changes map to the scope above. Shared archives retain existing entry points, upstream notebook-appearance fields and all five locale catalogs.
+
+### Decisive results and evidence
+
+- **B01–B05, B20: consistency and archives.** Real data created on the preceding schema survives the added migration; API read/write, workspace isolation, legacy backup, archive and Markdown checks passed. Preserve `edgeever-zip` v1/v2 reads and add ZIP64. The unchanged streaming engine reuses the earlier [4,718,598,326-byte restore](evidence/2026-10-23-desktop-backup/large-archive.json): five 900 MiB attachments restored after disconnecting the source, with matching content and peak worker RSS of 444 MiB. A 65,536-entry ZIP64 scan also passed. Existing local Cloudflare [D1 read evidence](evidence/2026-10-23-desktop-backup/d1-local.json) remains separate from native cross-platform acceptance.
+- **B06–B10, B17–B18, B21–B22: background work and files.** Current main-process tests passed 37 cases and 211 assertions; see [results](evidence/2026-10-27-desktop-backup-pr/manager-tests.log). Fixed old history deleting a newly published file after name reuse, and mismatched passwords/configuration when credential writing succeeded but configuration failed. Keep the latest record per actual path, and commit a new credential reference with configuration while retaining the previous credential on failure. Existing [macOS secure-storage](evidence/2026-10-23-desktop-backup/native-lifecycle.json), [startup without renderer account IPC](evidence/2026-10-23-desktop-backup/review-startup.json), and [interrupted-publication verification](evidence/2026-10-23-desktop-backup/review-pending.json) results remain applicable.
+- **B11–B13, B15–B16, B23: restore and errors.** Current real API/SQLite and Node-worker checks passed 20 cases and 175 assertions; see [restore results](evidence/2026-10-27-desktop-backup-pr/restore-tests.log). They cover plain/encrypted recovery after stopping the source, exact attachment bytes, history restore/deletion, JSON/non-JSON 503 on the third fixture attachment, error identity and staging cleanup. Revision-ID takeover was reproduced before fixing it; conflicting pages now write nothing, unrelated revisions survive, and same-owner repeated restores remain valid. Removed redundant reassigning UPSERT from the delete-then-insert revision path. Current upstream seeded resources count toward totals; controlled 503s target only fixture-created files. Earlier [native macOS restore readback](evidence/2026-10-23-desktop-backup/native-restore.json) remains native evidence.
+- **B14: local development proxy.** Pin Wrangler/Miniflare and use Bun patches for the local idle-connection race, error attribution and streaming backpressure, without adding restore POST retries. Current proxy/runner checks passed 36 cases and 128 assertions; see [results](evidence/2026-10-27-desktop-backup-pr/proxy-tests.log). Frozen installation applied both patches. The same transport versions reuse earlier [five-second cadence results](evidence/2026-10-23-desktop-backup/wrangler-proxy-node.json), [backpressure/cancellation/clean-install results](evidence/2026-10-23-desktop-backup/wrangler-proxy-stream.json), and [real Wrangler D1/R2 restore](evidence/2026-10-23-desktop-backup/wrangler-backup-replay.json).
+- **B11–B12, B15–B19: interface.** Current real components were exercised in a browser for settings save, manual naming/encryption with Enter, history restore, wrong-password retry, target confirmation and delete confirmation/cancellation; see [interaction results](evidence/2026-10-27-desktop-backup-pr/browser.json). The desktop bridge is mocked and no user instance is operated on. The hierarchy remains primary actions, status, initially collapsed settings, then local files; Restore and Delete stay with their file row. Earlier [wide/narrow layout measurements](evidence/2026-10-23-desktop-backup/layout-browser.json) remain applicable.
+
+### Current interface
+
+[Overview](evidence/2026-10-27-desktop-backup-pr/overview.png) · [Expanded settings](evidence/2026-10-27-desktop-backup-pr/settings.png) · [Manual plain backup](evidence/2026-10-27-desktop-backup-pr/manual-plain.png) · [Manual encrypted backup](evidence/2026-10-27-desktop-backup-pr/manual-encrypted.png) · [Unlock error](evidence/2026-10-27-desktop-backup-pr/unlock-error.png) · [Restore confirmation](evidence/2026-10-27-desktop-backup-pr/restore-confirm.png)
+
+The current contribution branch passed `bun run typecheck`, `bun run typecheck:mobile`, and `bun run build:web`; logs are in the [current evidence directory](evidence/2026-10-27-desktop-backup-pr). Versions, installers and automatic-update mechanisms are unchanged.
+
+### Reproduction entry points
+
+```sh
+bun test apps/api/src/backup-consistency.test.mjs apps/api/src/backup-routes.test.mjs apps/api/src/backup-restore.test.mjs
+bun test tests/json-backup.test.ts tests/json-backup-zip64.test.ts tests/markdown-export.test.ts
+bun test apps/desktop/src/backup/encrypted-archive.test.mjs apps/desktop/src/backup/worker-integration.test.mjs
+bun test apps/desktop/src/main/backup-settings.test.mjs apps/desktop/src/main/backup-manager.test.mjs apps/desktop/src/main/backup-ipc.test.mjs
+bun test tests/wrangler-proxy.test.mjs tests/wrangler-runner.test.ts scripts/local-dev.test.mjs
+```
+
+Large-archive/runtime entry points are `apps/desktop/src/backup/tests/large-archive.mjs`, `zip64-entry-count.mjs`, and `docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.mjs`; build the required workers first. Reuse valid results rather than repeating these runs.
+
+### CI status
+
+[PR #684](https://github.com/tianma-if/edgeever/pull/684) is submitted. The first CI run's feature-related lint issues are fixed: remove an unused Markdown import and replace the filename control-character expression with an equivalent character-code check. Targeted lint and existing naming tests passed; the accepted filename range is unchanged.
+
+The two HTTP 503 worker failures came from starting an attachment upload before asynchronous ZIP reads had attached a rejection handler. A fast rejection terminated Node before the worker could return its structured error. Upload initialization now starts only when immediately awaited by the first chunk or empty-entry close. The real Node reproducer failed before the fix; the existing JSON/non-JSON 503 checks and archive/worker tests now pass (21 cases, 114 assertions), retaining the original assertions, partial-restore state and cleanup. No retries or fallback were added.
+
+Repository-wide `bun run lint` remains blocked by two unchanged official-baseline locations: `no-control-regex` in `apps/desktop/src/main/picgo.mjs:56` and `no-useless-spread` in `apps/mobile/src/lib/mobile-locale.tsx:805`. Both files match official `main`; upstream maintenance is needed to restore full CI, and this PR leaves them unchanged.
+
+### Remaining release acceptance
+
+- Native Windows/Linux directory permissions, secure storage, publication and restore, plus a real old-to-new packaged application upgrade, require their platform environments.
+- Native macOS file/directory dialogs used controlled selections. Actual OS-picker interaction, tray/sleep/resume, physical disk-full and retry after partially interrupted network restore have not completed native scenario acceptance.
+- Docker image pulling encountered Docker Hub 429, so container acceptance did not run; see the [blocking log](evidence/2026-10-23-desktop-backup/docker-blocked.log). Local Bun/SQLite and workerd/D1 results remain separate; no remote Cloudflare instance was deployed.
+
+This delivery is code and a PR, not a release, deployment or replacement of the installed application.
diff --git a/docs/changes/2026-10-23-desktop-scheduled-backup.zh-CN.md b/docs/changes/2026-10-23-desktop-scheduled-backup.zh-CN.md
new file mode 100644
index 00000000..75b53511
--- /dev/null
+++ b/docs/changes/2026-10-23-desktop-scheduled-backup.zh-CN.md
@@ -0,0 +1,100 @@
+# Issue 650 桌面自动备份实施清单
+
+[English](2026-10-23-desktop-scheduled-backup.md)
+
+## 问题与目标
+
+按[自动备份与加密恢复设计](../desktop-scheduled-backup-design.zh-CN.md)实现 [Issue #650](https://github.com/tianma-if/edgeever/issues/650)。桌面端把当前账号已同步的知识库写入用户选择的本地目录,可用独立密码加密,并能在原实例不可用时恢复到新实例。
+
+影响桌面后台、共享归档、设置与恢复入口、备份读取 API 和新增 migration。版本触发器影响正常写入、归档不可恢复、明文泄漏和误删备份是主要风险。关闭功能停止新任务并保留文件;数据库回滚保留新增结构,触发器问题使用后续 migration 修复。真实旧库升级、跨平台目录与凭据、恢复流程需分别验收。
+
+附件恢复接口返回 503 时,归档消费回调的异常被统一改成 `invalidZip`,随后桌面 IPC 丢失 HTTP 状态,误导用户认为备份损坏。修正异常归属并通过既有桌面日志保留失败接口的诊断信息;主要风险是错误分类回归或日志泄露敏感字段。仅读取 ZIP 的异常继续报坏包,日志采用限定字段和现有脱敏;回滚本项恢复原错误链路,不修改归档和恢复数据。
+
+本地 Wrangler 4.112.0 的空 Worker 在固定 5 秒请求间隔下也返回 503;该版本开发代理存在空闲连接竞争及错误来源误判。通过仓库已有的 Bun 依赖补丁修正本地开发转发,不给恢复写请求增加重试。风险是本地代理兼容性回归;补丁限定在本地 HTTP 转发,保留远程与 WebSocket 行为,撤回补丁及其包/锁文件登记即可回滚。当前正在运行的服务保持不变,真实业务恢复需用户重启开发服务后验收。
+
+桌面旧导出与自动备份入口重复,历史文件不能直接恢复或删除,未变化的数据仍生成重复包。本次统一“备份与恢复”,保留手动明文/加密选择,并把检查结果与实际文件生成时间分开。风险集中在命名冲突、文件所有权及跳过条件;所有文件操作绑定当前备份集,跳过只依据已有修订协议与可用的上次文件。回滚界面和新增字段不迁移或改名旧包;使用隔离目录验证,现有实例、进程和用户文件不做操作。
+
+展开备份设置时,内容区新增纵向滚动条,使卡片缩窄并重新换行;设置位于历史列表末尾也不易发现。将折叠设置移到状态区下方、历史列表上方,并让设置页的宽屏与窄屏滚动区固定预留滚动条空间。风险仅限留白和窄窗口布局;撤回这两处布局调整即可回滚,不改变默认折叠、配置、备份或恢复行为。需检查实际展开/收起宽度、键盘操作和窄窗口显示。
+
+贡献分支以当前官方 main 为基线,只移植本功能,不带入部署 Fork 快照历史。新增备份 migration 使用未占用的递增编号,保留上游所有已发布 migration、笔记本外观字段和语言目录。集成风险是迁移顺序、归档字段或原调用方回归;在隔离旧库升级和新旧导出/恢复流程中验证,回滚代码不删除已有数据或迁移结构。现有开发工作区和用户实例保持不变。审查覆盖 B01–B19 的功能正确性、必要复杂度和实际界面;仅修复有证据的问题,具体行为修正先逐项加入清单。
+
+## 允许的行为与验收
+
+| 编号 | 行为变化 | 验收方式 |
+| --- | --- | --- |
+| B01 | 新增递增 migration:工作区 `backup_revision` 默认 0;笔记本、笔记、正文、修订、资源和提示词插入、更新、删除在原事务内推进所属工作区版本,关系移动覆盖两侧,删除前解析归属。API 用十进制字符串传输版本,不改变同步游标。 | 真实旧 migration 数据升级后编辑、同步、删除与恢复;覆盖各实体、批量操作和工作区隔离。 |
+| B02 | 新增 `/api/v1/backups/state`、`/api/v1/backups/data`:当前会话决定工作区,沿用原备份访问权限;状态包含协议、身份、版本和计数,数据按稳定 ID 游标分页。页前后和附件完成后版本不符返回 `backup_source_changed`;禁止缓存和滞后副本读。旧服务端不支持时新自动备份提示升级,不弱化导出。 | 实际路由、数据库和资源读取,验证并发增删改、身份变化、权限、游标完整性、旧接口可用。 |
+| B03 | 新桌面备份只读取当前账号已同步的未删除笔记、笔记本、标签和状态、修订、提示词与有效附件;不主动同步,不读缓存兜底,不含回收站、凭据、部署/分享/表单配置及未登记外部文件。附件校验长度与已有摘要,缺摘要时读取中生成,缺失或不符失败。 | 同一组数据导出后在新实例恢复,核对范围和附件;断网及缺资源时不成功、不清理旧包。 |
+| B04 | 共享归档沿用 `edgeever-zip` v2 结构,保留 ZIP v1/v2 和可空摘要;通过锁定版本的 `@zip.js/zip.js` 补齐 ZIP64,保留许可证,不替换无关压缩。新桌面和大包流式读写及背压,原 Web 手动导出的 128 MiB 缓冲路径和既有单文件限制不变。 | 原备份测试及普通/ZIP64 往返;实际大于 4 GiB 的文件流和 ZIP64 条目数边界;定向内存观察。 |
+| B05 | `.edgeever.enc` 使用设计的 40 字节 EDGB v1 头、AES-256-GCM、PBKDF2-HMAC-SHA256 600000 次、32 字节密钥、随机 16 字节 salt/12 字节 IV/16 字节 tag,文件头为 AAD。仅接受设计套件,密码 UTF-8 不裁剪;ZIP 输入上限 `2^36 - 32` 字节,超出中止并保留旧包。 | 容器互通、错误密码、头/密文篡改、截断、未知参数和长度边界;认证失败无恢复写入。 |
+| B06 | 主进程持有实例/账号绑定的安全凭据,不向服务端、普通配置、localStorage、日志或备份目录写密码,不向设置页回显。Linux basic_text 或安全存储不可用/锁定时暂停加密自动任务,允许只输入一次密码执行、不保存;不得明文降级。新密码只用于新包。 | 安全存储适配和真实平台检查;跨设备密码恢复;失败与密码修改行为。 |
+| B07 | 主进程调度、独立后台任务执行、受限 IPC;不依赖渲染器。首次自动关闭、加密关闭,每周频率、5 份;频率每天/每周/两周/月,保留 3/5/10/20。主进程启动时通过已保存会话恢复账号,不以渲染器 IPC 为前提;启动、登录就绪、唤醒及每小时检查,首次开启到期,错过周期补一次;本机日历计算并在时区变化后重算。 | 生命周期、日历月底、首次启用和既有成功记录;设置页关闭、渲染器重载、托盘和唤醒流程。 |
+| B08 | 手动与自动共用互斥、配置和校验,关闭自动仍可立即备份;运行中先取消再改设置。失败不推进成功时间,网络/版本失败自动最早一小时后重试、手动可立即重试;需要用户处理的错误显示操作,不反复弹窗。完整退出取消任务。自动触发在取得互斥后复查开关、到期和退避;任务结束取消未完成请求并释放 worker。 | 并发触发、取消、失败后重试、退出再启动;前台编辑可用。 |
+| B09 | 配置、任务上下文和记录按实例/账号隔离,本机随机 backupSetId;切换或登出取消,上下文过渡期间不接受旧账号操作,迟到响应不得发布/记成功/清理。根目录默认系统 Documents/EdgeEver Backups,原生选择目录后使用备份集子目录,自动任务文件名 UTC+随机 ID,手动命名见 B15。 | 实际账号/实例切换和目录选择,迟到响应及其他设备/账号文件保护。 |
+| B10 | 同目录唯一 `.part` 流写、完成校验并刷新后原子发布、持久化完成记录,再保留最近 N 份并通知。发布前失败删除本任务临时文件,不清理旧包;中断完成记录须核对恢复;加密中断包可用其原密码单次核验,不替换当前保存密码。只删当前备份集已完成记录中的文件,不跟随符号链接、不按 mtime 推断;清理失败为独立警告。改目录/关闭/新安装不删除旧文件;只显示本地完成。 | 磁盘/权限/中断/取消/清理失败,发布恢复、保留和所有权;明文不进入同步目录。 |
+| B11 | 桌面数据备份卡片含目录、频率、份数、加密及密码确认、运行/取消、打开文件夹、上次成功/下次时间/错误;历史列表与手动入口按 B15–B18 展示;存在未核验中断包时显示核验操作。密码非空且确认完全相同,保存只显示已设置;提示已同步范围及改密码只影响新包。复用现有 UI 和 Tooltip,配齐现有语言目录。 | 真实设置与备份交互、键盘、状态和失败提示,实际截图检查。 |
+| B12 | 桌面原导入入口按头识别 ZIP/加密包;文件选择器默认打开当前设置的实际备份目录(含备份集子目录),仍可选择其他目录的文件,不创建目录或增加来源限制。解锁密码框使用表单提交,按 Enter 等同点击“解锁并检查”;密码为空或正在处理时不提交。解锁窗口保留到解密和归档检查通过;失败在密码框内提示并允许重试,检查期间显示进度、禁用密码编辑和重复提交,取消会终止本次检查并关闭窗口。导入错误与暂存清理警告独立于自动备份状态,不清除或覆盖其错误、警告及成功记录;旧记录中没有待核验发布包的 `backup_decrypt_failed` 归入导入错误,待核验发布包的同名错误仍归备份。先在私有目录完整认证解密,再扫描格式、路径、CRC、数量、关系和附件;目标账号/实例/计数确认后才恢复。保持同 ID 覆盖、无关数据保留、分批失败可重试和全部成功后刷新。Unix 暂存目录0700/文件0600、Windows用户私有ACL;成功/失败/取消清理自建明文,崩溃仅清理已登记暂存;旧暂存或 part 清理失败时保留登记,在清理成功前不覆盖为新任务。 | 断开原实例后普通和加密恢复至新实例;取消、坏包零写入、部分恢复重试、暂存清理和原 ZIP 兼容;校验文件选择器收到当前实际备份目录,且仍接受其他目录的原生选择;实际浏览器验证 Enter 与点击传入同一解锁参数、空密码和处理中不会提交、取消不会触发解锁;真实浏览器验证错误密码留框、重试通过后确认、检查中取消、普通坏包与恢复错误的归属;主进程测试验证导入失败/成功/清理警告不覆盖备份状态及旧记录归属。 |
+| B13 | ZIP 读取、解压和 CRC 异常仍归为 `invalidZip`;条目消费回调及目标恢复异常保留原始错误,不再伪装为坏包。桌面 IPC/状态保留 HTTP 状态码及服务端错误码、消息,界面在真实错误旁显示 HTTP 状态。桌面备份/恢复的 HTTP 失败写入既有 `desktop.log`,含时间、任务类型/阶段、方法、去掉查询串的接口路径、HTTP 状态和服务端错误码/脱敏消息;非 JSON 错误使用 HTTP 状态说明,不记录请求头、请求正文、原始响应体、密码、令牌或笔记内容。日志失败不改变任务结果。附件上传初始化仅在消费首个数据块或关闭空条目时启动并立即等待;快速失败走正常恢复错误链路,不得因未处理拒绝终止 Node worker。保持现有取消、恢复分批、已有重试规则及账号隔离,不新增重试或 fallback,不修改文件名。 | 先复现消费回调错误被改成坏包;受控真实 worker 在第三个附件初始化返回 JSON/非 JSON 503 时保留状态和消息,前两份成功、第三份不上传、暂存清理;主进程验证日志限定字段、脱敏、日志异常不干扰任务及错误状态;浏览器显示 HTTP 503 而非坏包,已有 CRC 坏包检查仍通过。真实 Node 回归结合异步归档读取与立即失败的上传初始化,确认没有未处理拒绝且原状态码、错误码和消息完整保留。 |
+| B14 | 使用已有 Bun 补丁机制,固定当前官方 Wrangler CLI 4.112.0,开发代理到回环地址的普通 HTTP 转发通过既有 Miniflare service binding 使用 Wrangler 已捆绑的 Undici,设置 pipelining=0,每次使用新连接,避开约 5 秒空闲关闭竞争;远程目标、HTTPS、Upgrade/WebSocket 保持原生转发。将当前 Miniflare 本地 loopback 服务的 keepAliveTimeout 和 headersTimeout 设为 0,避免进入 Node 适配器前的同类竞争;loopback 写响应遵守下游背压,下游关闭时停止读取上游流;随 Wrangler 固定其当前传递版本 4.20260714.0。回补上游 PR #14593 的 origin 比较,使未更换 Worker 时的连接错误直接上报而非伪装成重启 503 或挂起 GET;真实 Worker 更换时保留现有排队/503 行为。不增加任何恢复 POST 自动重试或其他 fallback,不重启现有服务,不修改业务数据、部署命令、版本号、归档和文件名。 | 先用空 Worker 复现当前代理 503,修正后在相同 5 秒间隔与隔离实例验证;针对实际安装的代理测试回环 HTTP 连接、WebSocket/远程保持、同源连接错误与真实更换 Worker 的行为,以及非幂等请求不重试;运行已有 Wrangler 启动器检查,将漏计新增备份 migration 的触发器数量从 12 更新为 30,保留逐条单行格式断言。确认冻结锁文件安装能自动应用补丁。 |
+| B15 | 桌面合并为“备份与恢复”,主入口为“立即备份”“从文件恢复”;不再显示旧独立 ZIP 导出卡,Web 原导入导出不变。手动备份先弹出命名窗口,默认本地时间戳名称、不带 UUID,可编辑;按本次加密选择自动附加 `.zip` 或 `.edgeever.enc`,忽略用户填写的同类扩展名。拒绝空名、路径/控制字符及 Windows 不可用文件名;同名拒绝,不覆盖。加密默认取已保存设置,本次覆盖不修改自动配置;需要时输入并确认单次密码,保存密码仍不返回界面。取消不启动任务、不生成文件;中断包核验仍使用原流程,不改名。新命名发布使用排他原子创建,文件系统无法完成时明确失败、不降级为覆盖。 | 先写主进程/IPC 回归:命名、扩展名、路径拒绝、冲突(包括发布竞争)、单次加密不改配置、取消与原调用兼容;真实普通及加密包恢复。浏览器验证 Enter、取消、错误与两种格式。 |
+| B16 | 常显当前目录及备份集登记的已完成文件,列出名称、时间、大小和加密状态,每行提供恢复、删除。恢复直接选中登记文件,复用唯一解锁/完整检查/目标确认控制器,不再次打开文件选择器;外部文件仍用“从文件恢复”。删除须二次确认永久删除指定文件,成功后去掉记录;已在外部删除的文件可清除失效记录。主进程拒绝未登记名称、路径、符号链接/被替换目录、旧账号及运行中的操作;失败保留记录和可见错误,不删除其他文件。 | 隔离真实文件验证恢复选择、删除、失效记录、失败保留、未知/跨账号/符号链接拒绝;浏览器验证操作作用于选中行、删除确认/取消、仅一个恢复窗口。 |
+| B17 | 自动任务在源实例/工作区身份及 backupRevision 未变、备份配置及保存密码版本未变、上次包仍是当前目录的登记普通文件且大小一致时跳过归档;旧记录缺少比较信息、文件缺失或设置变化均生成新包。配置比较包括目录、频率、份数、启用及加密;单次加密/密码覆盖生成的手动包不作为自动跳过基线。手动始终创建新包。跳过只保存检查时间/“无变化”,不更新实际成功时间、不轮转、不通知新包;独立调度锚点推进到下一周期,失败仍沿用一小时退避,取消不伪装为成功。修订号是保守写入版本,不承诺语义去重。 | 真实 worker 无变化只读 state、不生成文件;数据变更创建包;主进程验证旧记录、配置/密码变化、缺文件、手动强制、无变化不轮转/不改成功时间、重启后下一周期及失败/取消状态。 |
+| B18 | 列表上方常显上次实际成功备份时间、最近检查时间及结果(成功/内容未变化/失败/取消/进行中),显示自动备份关闭或下次计划检查时间。无变化明确显示“内容未变化,现有备份仍为最新”;失败保留上次成功时间并展示原因,导入状态仍独立。账号切换清除本地弹窗与输入,不把旧任务状态带入新账号。 | 浏览器实际渲染并截图检查成功、无变化、失败和自动关闭状态;检查记录持久化与账号隔离,现有导入错误隔离回归保持通过。 |
+| B19 | 备份区域按操作按钮、备份状态、默认折叠的备份设置、本地备份列表排列,迁移指南仍在卡片之后;设置页宽屏和窄屏内容滚动区固定预留纵向滚动条空间,展开/收起不改变卡片宽度。不固定卡片宽度,不改变设置保存、备份/恢复/删除、数据或默认值。 | 复用真实备份组件的隔离浏览器 fixture 和设置页布局,检查展开/收起、键盘操作、长文件名/目录、窄窗口无横向溢出、保存及行内操作仍可用;保留尺寸与截图证据,运行受影响的 Web 类型检查和构建。 |
+| B20 | 从官方 main 移入备份功能与已列修复;备份修订 migration 改用 0080,保留已发布 0073–0079。合并时保留上游现有笔记本外观字段的导出/恢复能力及新增俄语目录,并同步本功能的俄语文案。不带入部署 Fork 历史、无关版本变化或本机缓存。 | 核对相对官方 main 的精确 diff;隔离真实旧库执行新增迁移并验证读写与恢复;检查现有归档、语言目录及完整设置/手动备份/恢复界面;worker 测试计入当前上游示例资源总数,受控 503 仅作用于测试创建的三个附件并检查各自结果;运行三项项目类型检查/构建,复用仍适用的独立模块证据。 |
+| B21 | 新包完成后,同一实际文件路径只保留最新完成记录,包括文件名大小写映射到同一文件的情况;保留清理不得因旧记录删除新包。发布记录写入失败仍恢复原成功记录并保留待核验包,不扩大删除范围。 | 隔离创建 A/B/C、外部移走 A 后复用 A/a,确认新包仍在且历史唯一;复用完成落账失败与保留所有权测试。 |
+| B22 | 保存密码时先写入带独立随机标识的私有加密凭据,再原子提交配置中的引用与密码版本;配置提交失败保留原配置、密码和自动跳过基线,并清理本次未提交凭据。兼容已有独立 `.secret` 文件;新引用须为本程序生成格式,拒绝越界引用。配置提交成功后才清理旧凭据,清理失败不撤销已完成保存,也不重新读取旧凭据。 | 先复现密码写入后配置 ENOSPC;验证失败前后及重启后仍读取旧密码、原配置/版本不变;正常修改后自动任务不得沿用旧密码归档基线,旧格式凭据仍可读取。 |
+| B23 | 恢复一页笔记前,校验全部修订 ID 的既有归属;属于其他笔记(含其他工作区)的 ID 或同页分配给不同笔记的重复 ID 返回冲突,整页不写入。同 ID、同笔记的重复恢复仍可覆盖,不移动或改写无关修订。 | 真实 API/SQLite 复现跨工作区及同工作区修订被覆盖;验证冲突页零写入、无关修订完整保留,并复用同归属重复恢复检查。 |
+
+## 保持不变的边界
+
+- 不修改旧 migration、同步协议、笔记 ID 与权限规则。旧 `/backups/json`、Web 手动普通 ZIP、浏览器受限缓冲导出及本地 SQLite 恢复保持原使用条件。
+- 不实现 WebDAV/S3 直传、退出应用后的系统服务、Web 加密入口、移动端原生入口或整实例镜像;不改安装器、自动升级、版本号及发布流程。
+- 不操作已有用户实例、生产数据库、已安装桌面应用或用户网盘内容。验证使用隔离目录与测试实例;仅提交、推送贡献分支并创建 PR,不发布或部署。
+- 仅增加实现上述能力必需的共享组件、依赖、构建包含项、fixture 和测试适配。沿用 Cloudflare/Docker 共用业务逻辑。
+
+## 完成核对
+
+B01–B23 已实现,贡献分支基于官方 `main`,仅包含备份功能及相关修复。新增 migration 为 `0080_backup_revision.sql`,不修改已发布 migration。实际行为变化均对应上述清单;共享归档保留现有入口、上游笔记本外观字段和五套语言目录。
+
+### 关键结果与证据
+
+- **B01–B05、B20:一致性与归档。** 旧 schema 中创建真实数据后应用新增 migration,API 读写、工作区隔离、旧备份接口、归档和 Markdown 检查通过。沿用 `edgeever-zip` v1/v2 读取,新增 ZIP64。未变动的流式引擎复用此前 [4,718,598,326 字节归档恢复结果](evidence/2026-10-23-desktop-backup/large-archive.json):源实例断开后恢复 5 个 900 MiB 附件,内容一致,峰值 worker RSS 444 MiB;65,536 条目的 ZIP64 扫描通过。本地 Cloudflare [D1 读取验证](evidence/2026-10-23-desktop-backup/d1-local.json)作为既有运行时证据,不代替本次原生跨平台验收。
+- **B06–B10、B17–B18、B21–B22:后台与文件。** 当前主进程测试 37 项、211 个断言通过,见[测试记录](evidence/2026-10-27-desktop-backup-pr/manager-tests.log)。修正了复用文件名后旧历史误删新包,以及密码写入成功但配置失败时密码与自动跳过基线失配的问题。相同路径只保留最新完成记录;新凭据和配置引用一起提交,失败仍保留旧凭据。既有 [macOS 安全存储](evidence/2026-10-23-desktop-backup/native-lifecycle.json)、[无渲染器账号 IPC 的启动](evidence/2026-10-23-desktop-backup/review-startup.json)和[中断包核验](evidence/2026-10-23-desktop-backup/review-pending.json)结果继续适用。
+- **B11–B13、B15–B16、B23:恢复与错误。** 当前真实 API/SQLite 和 Node worker 流程共 20 项、175 个断言通过,见[恢复测试](evidence/2026-10-27-desktop-backup-pr/restore-tests.log)。包含源实例停止后的明文/加密恢复、实际附件字节、列表恢复及删除、第三个附件返回 JSON/非 JSON 503、错误与暂存清理。修订 ID 归属冲突先复现,再验证整页零写入、无关修订保留及同归属重复恢复;移除先删除后插入路径中多余且会重新归属的 UPSERT。当前上游示例资源计入总量,受控 503 仅拦截测试创建的附件。此前 [macOS 原生恢复读回](evidence/2026-10-23-desktop-backup/native-restore.json)作为既有原生证据。
+- **B14:本地开发代理。** 固定 Wrangler/Miniflare 版本并通过 Bun 补丁修正本地空闲连接竞争、错误归属及流式背压,不新增恢复 POST 重试。当前代理/启动器检查 36 项、128 个断言通过,见[测试记录](evidence/2026-10-27-desktop-backup-pr/proxy-tests.log);冻结安装成功应用补丁。相同版本传输实现复用此前[固定 5 秒间隔对照](evidence/2026-10-23-desktop-backup/wrangler-proxy-node.json)、[背压/取消/干净安装](evidence/2026-10-23-desktop-backup/wrangler-proxy-stream.json)及[真实 Wrangler D1/R2 恢复](evidence/2026-10-23-desktop-backup/wrangler-backup-replay.json)结果。
+- **B11–B12、B15–B19:界面。** 当前真实组件在浏览器中检查设置保存、手动命名/加密及 Enter 提交、历史恢复、错误密码重试、目标确认、删除确认/取消;结果见[交互记录](evidence/2026-10-27-desktop-backup-pr/browser.json)。使用模拟桌面桥,不操作用户实例。界面保持“主操作 → 状态 → 默认折叠设置 → 本地文件”的层次,恢复和删除位于对应文件行。此前[宽窄窗口尺寸检查](evidence/2026-10-23-desktop-backup/layout-browser.json)继续适用。
+
+### 当前界面
+
+[总览](evidence/2026-10-27-desktop-backup-pr/overview.png) · [展开设置](evidence/2026-10-27-desktop-backup-pr/settings.png) · [手动普通备份](evidence/2026-10-27-desktop-backup-pr/manual-plain.png) · [手动加密备份](evidence/2026-10-27-desktop-backup-pr/manual-encrypted.png) · [解锁错误](evidence/2026-10-27-desktop-backup-pr/unlock-error.png) · [恢复确认](evidence/2026-10-27-desktop-backup-pr/restore-confirm.png)
+
+当前贡献分支的 `bun run typecheck`、`bun run typecheck:mobile`、`bun run build:web` 均通过;记录位于[本次证据目录](evidence/2026-10-27-desktop-backup-pr)。未修改版本、安装器或自动升级机制。
+
+### 复现入口
+
+```sh
+bun test apps/api/src/backup-consistency.test.mjs apps/api/src/backup-routes.test.mjs apps/api/src/backup-restore.test.mjs
+bun test tests/json-backup.test.ts tests/json-backup-zip64.test.ts tests/markdown-export.test.ts
+bun test apps/desktop/src/backup/encrypted-archive.test.mjs apps/desktop/src/backup/worker-integration.test.mjs
+bun test apps/desktop/src/main/backup-settings.test.mjs apps/desktop/src/main/backup-manager.test.mjs apps/desktop/src/main/backup-ipc.test.mjs
+bun test tests/wrangler-proxy.test.mjs tests/wrangler-runner.test.ts scripts/local-dev.test.mjs
+```
+
+大包和运行时验证入口为 `apps/desktop/src/backup/tests/large-archive.mjs`、`zip64-entry-count.mjs` 及 `docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.mjs`;运行前构建所需 worker。已有有效结果无需重复执行。
+
+### CI 状态
+
+[PR #684](https://github.com/tianma-if/edgeever/pull/684) 已提交。首轮 CI 的本次 lint 问题已修正:移除未使用的 Markdown 导入,并将文件名控制字符匹配改为等价的字符码检查。两文件定向 lint 与现有命名测试通过,不改变接受的文件名范围。
+
+两个 HTTP 503 worker 测试失败来自上传初始化早于异步 ZIP 读取:快速拒绝时尚未附加处理器,Node 提前退出,绕过正常的结构化错误回传。初始化现改为首块数据或空条目关闭时启动并立即等待。真实 Node 复现先失败,修复后既有 JSON/非 JSON 503 检查与归档/worker 测试共 21 项、114 个断言通过,保留原断言、部分恢复结果和暂存清理;未新增重试或 fallback。
+
+全仓 `bun run lint` 仍被官方基线中未修改的两处代码阻塞:`apps/desktop/src/main/picgo.mjs:56` 的 `no-control-regex`,以及 `apps/mobile/src/lib/mobile-locale.tsx:805` 的 `no-useless-spread`。这两文件与官方 `main` 一致,需要上游维护者修正后恢复完整 CI;本次 PR 不修改它们。
+
+### 发布前仍需完成
+
+- Windows/Linux 原生目录权限、安全存储、文件发布和恢复,以及真实旧版到新版打包应用升级,尚需对应平台验证。
+- macOS 原生文件/目录选择器使用过受控选择;实际系统选择器、托盘/休眠唤醒、真实磁盘满及网络部分恢复后重试,尚未完成原生场景验收。
+- Docker 目标镜像拉取遭遇 Docker Hub 429,容器验收未运行,见[阻塞记录](evidence/2026-10-23-desktop-backup/docker-blocked.log)。本地 Bun/SQLite 与 workerd/D1 结果分别保留;未部署远程 Cloudflare 实例。
+
+本次交付为代码与 PR,不含发布、部署或替换已安装应用。
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/builds.log b/docs/changes/evidence/2026-10-23-desktop-backup/builds.log
new file mode 100644
index 00000000..3592fda7
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/builds.log
@@ -0,0 +1,3 @@
+bun run build:web: PASS
+bun apps/desktop/scripts/build-backup-worker.mjs: PASS
+bun install --frozen-lockfile --ignore-scripts: PASS
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/d1-local.json b/docs/changes/evidence/2026-10-23-desktop-backup/d1-local.json
new file mode 100644
index 00000000..9de768fb
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/d1-local.json
@@ -0,0 +1,8 @@
+{
+ "runtime": "Cloudflare local workerd/D1",
+ "protocolVersion": 1,
+ "pageStatus": 200,
+ "legacyStatus": 200,
+ "staleStatus": 409,
+ "staleError": "backup_source_changed"
+}
\ No newline at end of file
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/docker-blocked.log b/docs/changes/evidence/2026-10-23-desktop-backup/docker-blocked.log
new file mode 100644
index 00000000..2b7469c7
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/docker-blocked.log
@@ -0,0 +1,4 @@
+Unable to find image 'oven/bun:1.3.14-alpine' locally
+docker: Error response from daemon: unknown: failed to resolve reference "docker.io/oven/bun:1.3.14-alpine": unexpected status from HEAD request to https://registry-1.docker.io/v2/oven/bun/manifests/1.3.14-alpine: 429 Too Many Requests
+
+Run 'docker run --help' for more information
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/import-error-isolation.json b/docs/changes/evidence/2026-10-23-desktop-backup/import-error-isolation.json
new file mode 100644
index 00000000..fad67ae2
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/import-error-isolation.json
@@ -0,0 +1,38 @@
+{
+ "checkedAt": "2026-10-26T06:38:55.149Z",
+ "environment": "Ego Lite, real React import and backup-card components, mocked desktop bridge; no archive or instance writes",
+ "wrongPassword": {
+ "keptUnlockDialog": true,
+ "inlineError": "无法解密,密码不正确或文件已损坏。",
+ "automaticBackupAlerts": 0
+ },
+ "submission": {
+ "emptyPasswordBlocked": true,
+ "repeatedEnterBlocked": true,
+ "passwordWhitespacePreserved": true,
+ "oneOpenDialogWhileChecking": true
+ },
+ "retry": {
+ "reachedConfirmationOnlyAfterReady": true
+ },
+ "restoreFailure": {
+ "dialog": "导入未完成后台任务已停止,请重试。原备份文件未修改。如果部分批次已恢复,再次导入会按相同 ID 重试。关闭Close",
+ "backupError": "backup_source_changed",
+ "backupAlert": "备份期间数据发生变化,请在停止编辑后重试。"
+ },
+ "cancellation": {
+ "duringCheckByEscape": true,
+ "beforeWorkerStartupWaitedForHandshake": true,
+ "totalCancelRequests": 2
+ },
+ "invalidArchive": {
+ "dialog": "导入未完成无法解压这个文件:它不是有效的 ZIP,或文件已经损坏。原备份文件未修改。如果部分批次已恢复,再次导入会按相同 ID 重试。关闭Close",
+ "backupError": "backup_source_changed"
+ },
+ "successfulImport": {
+ "text": "导入备份私有临时文件清理失败。请检查应用数据目录权限并重启。EdgeEver ZIP 导入完成。",
+ "backupError": "backup_source_changed",
+ "backupWarning": "backup_cleanup_failed",
+ "backupText": "自动备份将已同步的笔记和附件备份到本地文件夹。备份目录/test/Backups/fixture-backup-set选择…备份频率每天每周每两周每月保留份数3 份5 份10 份20 份密码加密保存立即备份一次打开文件夹上次本地备份:2026&#x2F;10&#x2F;25 11:00:00备份期间数据发生变化,请在停止编辑后重试。本地备份已完成,但部分旧备份清理失败。"
+ }
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/import-http-503-browser.json b/docs/changes/evidence/2026-10-23-desktop-backup/import-http-503-browser.json
new file mode 100644
index 00000000..2402563c
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/import-http-503-browser.json
@@ -0,0 +1,16 @@
+{
+ "checkedAt": "2026-10-26T08:59:49.090Z",
+ "environment": "Ego Lite, real import UI with mocked desktop bridge; no live instance writes",
+ "dialog": "导入未完成Object storage initialization unavailable(HTTP 503)原备份文件未修改。如果部分批次已恢复,再次导入会按相同 ID 重试。关闭Close",
+ "backupAlerts": 0,
+ "status": {
+ "code": "object_storage_unavailable",
+ "message": "Object storage initialization unavailable",
+ "status": 503
+ },
+ "verificationScope": "Semantic active-dialog and backup-alert checks only; desktop bridge mocked",
+ "visualCheck": {
+ "result": "not_completed_for_final_error_dialog",
+ "reason": "Captured frame showed outgoing progress dialog during exit animation; unusable screenshot discarded."
+ }
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/large-archive.json b/docs/changes/evidence/2026-10-23-desktop-backup/large-archive.json
new file mode 100644
index 00000000..70142eac
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/large-archive.json
@@ -0,0 +1,29 @@
+{
+ "archiveBytes": 4718598326,
+ "resources": 5,
+ "resourceBytes": 943718400,
+ "seconds": 34.921,
+ "peakWorkerRssMiB": 444,
+ "phasePeaks": {
+ "export": {
+ "rss": 405536768,
+ "external": 90092984,
+ "heapUsed": 21380216,
+ "arrayBuffers": 77868960
+ },
+ "scan": {
+ "rss": 271089664,
+ "external": 94272644,
+ "heapUsed": 14845608,
+ "arrayBuffers": 77171719
+ },
+ "restore": {
+ "rss": 465338368,
+ "external": 155373911,
+ "heapUsed": 16821304,
+ "arrayBuffers": 161956986
+ }
+ },
+ "restored": true,
+ "sourceDisconnected": true
+}
\ No newline at end of file
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/layout-browser.json b/docs/changes/evidence/2026-10-23-desktop-backup/layout-browser.json
new file mode 100644
index 00000000..6ae28bbe
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/layout-browser.json
@@ -0,0 +1,110 @@
+{
+ "fixture": "Real DesktopScheduledBackupCard with mocked desktop bridge; responsive container classes read from SettingsPane.tsx",
+ "layout": {
+ "desktop": "hidden lg:flex flex-1 min-h-0 min-w-0 mx-auto max-w-5xl px-6 py-6 gap-6",
+ "main": "flex-1 min-w-0 overflow-y-auto [scrollbar-gutter:stable] pr-2",
+ "narrow": "flex lg:hidden flex-1 flex-col min-h-0 min-w-0 overflow-y-auto [scrollbar-gutter:stable] px-4 py-4",
+ "group": "min-w-0 divide-y divide-slate-200 overflow-hidden rounded-xl border border-slate-200 bg-card [&>*]:rounded-none [&>*]:border-0 [&>*]:bg-transparent"
+ },
+ "cases": [
+ {
+ "name": "wide-collapsed",
+ "viewport": 1280,
+ "open": false,
+ "cardWidth": 723,
+ "cardLeft": 385,
+ "clientWidth": 733,
+ "scrollWidth": 733,
+ "clientHeight": 688,
+ "scrollHeight": 688,
+ "gutter": "stable",
+ "order": true,
+ "historyCount": 3
+ },
+ {
+ "name": "wide-expanded",
+ "viewport": 1280,
+ "open": true,
+ "cardWidth": 723,
+ "cardLeft": 385,
+ "clientWidth": 733,
+ "scrollWidth": 733,
+ "clientHeight": 688,
+ "scrollHeight": 945,
+ "gutter": "stable",
+ "order": true,
+ "historyCount": 3
+ },
+ {
+ "name": "wide-collapsed-again",
+ "viewport": 1280,
+ "open": false,
+ "cardWidth": 723,
+ "cardLeft": 385,
+ "clientWidth": 733,
+ "scrollWidth": 733,
+ "clientHeight": 688,
+ "scrollHeight": 688,
+ "gutter": "stable",
+ "order": true,
+ "historyCount": 3
+ },
+ {
+ "name": "narrow-collapsed",
+ "viewport": 390,
+ "open": false,
+ "cardWidth": 345,
+ "cardLeft": 17,
+ "clientWidth": 379,
+ "scrollWidth": 379,
+ "clientHeight": 780,
+ "scrollHeight": 780,
+ "gutter": "stable",
+ "order": true,
+ "historyCount": 3
+ },
+ {
+ "name": "narrow-expanded",
+ "viewport": 390,
+ "open": true,
+ "cardWidth": 345,
+ "cardLeft": 17,
+ "clientWidth": 379,
+ "scrollWidth": 379,
+ "clientHeight": 780,
+ "scrollHeight": 1067,
+ "gutter": "stable",
+ "order": true,
+ "historyCount": 3
+ },
+ {
+ "name": "narrow-collapsed-again",
+ "viewport": 390,
+ "open": false,
+ "cardWidth": 345,
+ "cardLeft": 17,
+ "clientWidth": 379,
+ "scrollWidth": 379,
+ "clientHeight": 780,
+ "scrollHeight": 780,
+ "gutter": "stable",
+ "order": true,
+ "historyCount": 3
+ }
+ ],
+ "keyboardAndSave": {
+ "enterCollapse": true,
+ "spaceCollapse": true,
+ "interval": "daily"
+ },
+ "restore": {
+ "selectedName": "EdgeEver-2026-10-25T03-15-12-000Z-67cabf32-8fc5-4d13-b08a-abcdefghijklmnop.edgeever.enc",
+ "dialogNamesSelectedFile": true,
+ "dialogCount": 1,
+ "filePickerCalls": 0
+ },
+ "deleteCancel": {
+ "historyCount": 3,
+ "deleteCalls": 0
+ }
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/main-checks.log b/docs/changes/evidence/2026-10-23-desktop-backup/main-checks.log
new file mode 100644
index 00000000..d87331bc
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/main-checks.log
@@ -0,0 +1,25 @@
+bun test v1.3.14 (0d9b296a)
+
+apps/desktop/src/main/backup-ipc.test.mjs:
+(pass) restricts backup IPC to the main window and main frame [0.42ms]
+(pass) selects files only through the native dialog and preserves actionable error codes [0.17ms]
+(pass) rejects settings actions from a previously displayed account [0.04ms]
+
+apps/desktop/src/main/backup-manager.test.mjs:
+(pass) publishes only completed jobs, retains registered files and isolates account changes [20.94ms]
+(pass) failure and cancellation preserve success and never rotate; credentials stay out of config [18.66ms]
+(pass) basic_text cannot persist a password and a one-time encrypted run never downgrades [3.89ms]
+(pass) scheduled failures wait one hour while manual retries remain immediate [8.38ms]
+(pass) interrupted publication is verified before success and only registered staging is cleaned [8.22ms]
+(pass) a context switch while preparing a job cannot launch it with the old credentials [3.82ms]
+(pass) the existing local workspace can back up when instance authentication is disabled [6.47ms]
+(pass) temporarily unavailable secure storage pauses encrypted work without plaintext fallback [4.16ms]
+(pass) unreadable backup settings do not block account readiness or overwrite recovery records [2.99ms]
+(pass) a missing renderer cannot fail or strand the background job [5.23ms]
+(pass) the default backup set survives restart before the first backup [1.92ms]
+(pass) a failed completion journal preserves the previous success and leaves a recoverable publication [7.64ms]
+
+ 15 pass
+ 0 fail
+ 62 expect() calls
+Ran 15 tests across 2 files. [125.00ms]
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/native-lifecycle.json b/docs/changes/evidence/2026-10-23-desktop-backup/native-lifecycle.json
new file mode 100644
index 00000000..83797ef1
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/native-lifecycle.json
@@ -0,0 +1,16 @@
+{
+ "runtime": "macOS arm64 / Electron 44.7.0",
+ "asyncSecureStorage": {
+ "available": true,
+ "previousProcessSecretReadable": true,
+ "passwordNotReturnedToRenderer": true,
+ "newEncryptedBackupBytes": 2102868
+ },
+ "backgroundRestore": {
+ "beforeTitle": "恢复前临时标题",
+ "afterTitle": "离线灾难恢复验收",
+ "settingsMountedAtCompletion": false,
+ "workspaceRefreshed": true
+ },
+ "nativeDialogs": "Test selections supplied to Electron dialog API; OS picker interaction not exercised"
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/native-restore.json b/docs/changes/evidence/2026-10-23-desktop-backup/native-restore.json
new file mode 100644
index 00000000..590f466a
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/native-restore.json
@@ -0,0 +1,6 @@
+{
+ "restoredTitle": "离线灾难恢复验收",
+ "restoredBody": "**完整恢复**:正文、标签与附件。",
+ "attachmentBytes": 2097159,
+ "attachmentExact": true
+}
\ No newline at end of file
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/review-checks.log b/docs/changes/evidence/2026-10-23-desktop-backup/review-checks.log
new file mode 100644
index 00000000..852d281d
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/review-checks.log
@@ -0,0 +1,106 @@
+$ bun test apps/desktop/src/main/backup-manager.test.mjs
+bun test v1.3.14 (0d9b296a)
+
+apps/desktop/src/main/backup-manager.test.mjs:
+(pass) publishes only completed jobs, retains registered files and isolates account changes [38.50ms]
+(pass) failure and cancellation preserve success and never rotate; credentials stay out of config [19.90ms]
+(pass) basic_text cannot persist a password and a one-time encrypted run never downgrades [4.39ms]
+(pass) scheduled failures wait one hour while manual retries remain immediate [8.77ms]
+(pass) interrupted publication is verified before success and only registered staging is cleaned [9.64ms]
+(pass) a context switch while preparing a job cannot launch it with the old credentials [4.07ms]
+(pass) the existing local workspace can back up when instance authentication is disabled [5.70ms]
+(pass) temporarily unavailable secure storage pauses encrypted work without plaintext fallback [5.54ms]
+(pass) unreadable backup settings do not block account readiness or overwrite recovery records [2.09ms]
+(pass) a missing renderer cannot fail or strand the background job [4.81ms]
+(pass) the default backup set survives restart before the first backup [2.13ms]
+(pass) a failed completion journal preserves the previous success and leaves a recoverable publication [7.89ms]
+(pass) an account transition rejects queued actions from the previous ready context [4.27ms]
+(pass) a successfully disabled schedule cannot start a queued automatic run [4.47ms]
+(pass) pending encrypted publication accepts its original password (rotated saved password) [9.66ms]
+(pass) pending encrypted publication accepts its original password (unsaved one-time password) [7.86ms]
+(pass) failed private staging cleanup keeps its registration until cleanup succeeds [6.53ms]
+(pass) startup restores the saved backup account without a renderer [5.51ms]
+(pass) logout cancels an unresolved startup session without restoring its account later [1.77ms]
+(pass) failed part cleanup cannot be overwritten by the next backup [5.32ms]
+(pass) part cleanup never follows a replaced backup root [5.07ms]
+(pass) pending verification preserves external parts when its root was replaced [3.92ms]
+(pass) publication cannot rename an external part through a replaced backup root [7.16ms]
+
+ 23 pass
+ 0 fail
+ 97 expect() calls
+Ran 23 tests across 1 file. [279.00ms]
+
+$ bun test apps/desktop/src/main/backup-manager.test.mjs apps/desktop/src/main/backup-ipc.test.mjs apps/desktop/src/main/backup-settings.test.mjs packages/shared/src/i18n/catalog.test.mjs
+bun test v1.3.14 (0d9b296a)
+
+apps/desktop/src/main/backup-ipc.test.mjs:
+(pass) restricts backup IPC to the main window and main frame [4.07ms]
+(pass) selects files only through the native dialog and preserves actionable error codes [0.67ms]
+(pass) rejects settings actions from a previously displayed account [0.27ms]
+
+apps/desktop/src/main/backup-settings.test.mjs:
+(pass) calendar schedules clamp month end and preserve successful history when frequency changes [0.54ms]
+(pass) accepts the specified defaults and choices, rejects invalid configuration [0.22ms]
+
+apps/desktop/src/main/backup-manager.test.mjs:
+(pass) publishes only completed jobs, retains registered files and isolates account changes [25.97ms]
+(pass) failure and cancellation preserve success and never rotate; credentials stay out of config [18.53ms]
+(pass) basic_text cannot persist a password and a one-time encrypted run never downgrades [4.31ms]
+(pass) scheduled failures wait one hour while manual retries remain immediate [8.68ms]
+(pass) interrupted publication is verified before success and only registered staging is cleaned [8.73ms]
+(pass) a context switch while preparing a job cannot launch it with the old credentials [3.19ms]
+(pass) the existing local workspace can back up when instance authentication is disabled [5.25ms]
+(pass) temporarily unavailable secure storage pauses encrypted work without plaintext fallback [4.32ms]
+(pass) unreadable backup settings do not block account readiness or overwrite recovery records [1.96ms]
+(pass) a missing renderer cannot fail or strand the background job [5.09ms]
+(pass) the default backup set survives restart before the first backup [1.91ms]
+(pass) a failed completion journal preserves the previous success and leaves a recoverable publication [8.29ms]
+(pass) an account transition rejects queued actions from the previous ready context [3.93ms]
+(pass) a successfully disabled schedule cannot start a queued automatic run [4.57ms]
+(pass) pending encrypted publication accepts its original password (rotated saved password) [10.89ms]
+(pass) pending encrypted publication accepts its original password (unsaved one-time password) [8.33ms]
+(pass) failed private staging cleanup keeps its registration until cleanup succeeds [6.33ms]
+(pass) startup restores the saved backup account without a renderer [4.95ms]
+(pass) logout cancels an unresolved startup session without restoring its account later [1.26ms]
+(pass) failed part cleanup cannot be overwritten by the next backup [4.62ms]
+(pass) part cleanup never follows a replaced backup root [3.53ms]
+
+packages/shared/src/i18n/catalog.test.mjs:
+(pass) shared i18n catalogs > ships Japanese alongside Chinese and English with matching keys [2.40ms]
+
+ 27 pass
+ 0 fail
+ 116 expect() calls
+Ran 27 tests across 4 files. [269.00ms]
+
+$ bun run typecheck
+$ tsc -p tsconfig.json --noEmit
+
+$ bun apps/desktop/scripts/build-backup-worker.mjs && bun test apps/desktop/src/backup/worker-integration.test.mjs
+bun test v1.3.14 (0d9b296a)
+
+apps/desktop/src/backup/worker-integration.test.mjs:
+(pass) failed workers cancel unfinished sibling requests and exit [245.57ms]
+(pass) real Node background workers export encrypted and plain archives and restore without the original server [2387.41ms]
+
+ 2 pass
+ 0 fail
+ 17 expect() calls
+Ran 2 tests across 1 file. [2.86s]
+
+$ bun run typecheck:mobile && bun run build:web
+$ bun run --cwd apps/mobile typecheck
+$ tsc -p tsconfig.json --noEmit
+$ vite build --config apps/web
+[build asset listing omitted]
+ndor-beautiful-mermaid-DeoO4YbT.js 1,429.22 kB │ gzip: 441.49 kB
+
+✓ built in 1.38s
+
+PWA v1.3.0
+mode generateSW
+precache 1 entries (0.00 KiB)
+files generated
+ dist/sw.js
+ dist/workbox-5ff8427f.js
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/review-pending.json b/docs/changes/evidence/2026-10-23-desktop-backup/review-pending.json
new file mode 100644
index 00000000..caac8e46
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/review-pending.json
@@ -0,0 +1,9 @@
+{
+ "runtime": "macOS arm64 / Electron 44.7.0",
+ "pendingEncryptedArchive": true,
+ "savedPassword": false,
+ "verificationThroughSettings": true,
+ "completedHistory": 1,
+ "passwordSavedAfterVerification": false,
+ "archiveBytes": 689
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/review-startup.json b/docs/changes/evidence/2026-10-23-desktop-backup/review-startup.json
new file mode 100644
index 00000000..5d7598ee
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/review-startup.json
@@ -0,0 +1,10 @@
+{
+ "runtime": "macOS arm64 / Electron 44.7.0",
+ "renderer": "Static HTML with no JavaScript or account IPC",
+ "accountRestored": "local (authentication disabled)",
+ "sessionRequests": 3,
+ "backupCompleted": true,
+ "historyEntries": 1,
+ "archiveBytes": 4941,
+ "error": null
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/typecheck-mobile.log b/docs/changes/evidence/2026-10-23-desktop-backup/typecheck-mobile.log
new file mode 100644
index 00000000..1f5c5ef2
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/typecheck-mobile.log
@@ -0,0 +1,2 @@
+$ bun run --cwd apps/mobile typecheck
+$ tsc -p tsconfig.json --noEmit
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/typecheck.log b/docs/changes/evidence/2026-10-23-desktop-backup/typecheck.log
new file mode 100644
index 00000000..bd38c0c1
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/typecheck.log
@@ -0,0 +1 @@
+$ tsc -p tsconfig.json --noEmit
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/unified-browser.json b/docs/changes/evidence/2026-10-23-desktop-backup/unified-browser.json
new file mode 100644
index 00000000..31d87b95
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/unified-browser.json
@@ -0,0 +1,62 @@
+{
+ "scope": "Real React components through a controlled desktop bridge; no user files or instance writes.",
+ "passed": [
+ "manual timestamp default has no UUID",
+ "cancel sends no run",
+ "Enter submits named plain archive",
+ "name collision remains in dialog with retry",
+ "encrypted password confirmation blocks mismatch",
+ "one-off encryption preserves automatic configuration",
+ "delete confirms selected filename",
+ "delete cancel sends no request",
+ "delete failure keeps row and displays error",
+ "successful deletion removes only selected row",
+ "history restore selects without native picker",
+ "only one restore dialog",
+ "wrong password remains inline outside backup status",
+ "retry reaches target confirmation",
+ "confirm starts restore and completion closes dialog",
+ "external-file entry uses picker",
+ "Escape cancels checking",
+ "last-success time survives check failure",
+ "automatic settings retain frequency/encryption/password save",
+ "manual encryption defaults to saved settings",
+ "account change closes manual dialog"
+ ],
+ "screenshots": [
+ "unified-unchanged.png",
+ "unified-manual.png",
+ "unified-restore.png",
+ "unified-failed.png"
+ ],
+ "currentCalls": [
+ {
+ "action": "status"
+ },
+ {
+ "action": "status"
+ },
+ {
+ "action": "select-history",
+ "name": "EdgeEver-2026-10-25_110000.edgeever.enc"
+ },
+ {
+ "action": "prepare-import"
+ },
+ {
+ "action": "confirm-import"
+ },
+ {
+ "action": "choose-import"
+ },
+ {
+ "action": "prepare-import"
+ },
+ {
+ "action": "cancel"
+ },
+ {
+ "action": "save"
+ }
+ ]
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/unified-checks.txt b/docs/changes/evidence/2026-10-23-desktop-backup/unified-checks.txt
new file mode 100644
index 00000000..11a3dc8f
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/unified-checks.txt
@@ -0,0 +1,83 @@
+bun test v1.3.14 (0d9b296a)
+
+tests/ui-locale-fallback.test.ts:
+(pass) unmatched locale fallback > site, Android, and iOS resolve Japanese to ja and other unmatched languages to English [1.78ms]
+
+apps/desktop/src/backup/worker-integration.test.mjs:
+(pass) failed workers cancel unfinished sibling requests and exit [301.24ms]
+(pass) real Node background workers export encrypted and plain archives and restore without the original server [2625.26ms]
+(pass) preserves and diagnoses a third-resource HTTP 503 (API JSON) [1157.27ms]
+(pass) preserves and diagnoses a third-resource HTTP 503 (non-JSON response) [1106.11ms]
+(pass) unchanged scheduled sources read only state and changed sources produce an archive [552.86ms]
+(pass) manager creates named files, restores from history and deletes only the selected archive [992.95ms]
+
+apps/desktop/src/main/backup-ipc.test.mjs:
+(pass) restricts backup IPC to the main window and main frame [0.38ms]
+(pass) selects files only through the native dialog and preserves actionable error codes [0.19ms]
+(pass) rejects settings actions from a previously displayed account [0.03ms]
+
+apps/desktop/src/main/backup-settings.test.mjs:
+(pass) calendar schedules clamp month end and preserve successful history when frequency changes [0.16ms]
+(pass) accepts the specified defaults and choices, rejects invalid configuration [0.06ms]
+
+apps/desktop/src/main/backup-manager.test.mjs:
+(pass) publishes only completed jobs, retains registered files and isolates account changes [22.14ms]
+(pass) failure and cancellation preserve success and never rotate; credentials stay out of config [25.65ms]
+(pass) basic_text cannot persist a password and a one-time encrypted run never downgrades [5.57ms]
+(pass) scheduled failures wait one hour while manual retries remain immediate [20.00ms]
+(pass) interrupted publication is verified before success and only registered staging is cleaned [17.59ms]
+(pass) a context switch while preparing a job cannot launch it with the old credentials [3.75ms]
+(pass) the existing local workspace can back up when instance authentication is disabled [14.84ms]
+(pass) temporarily unavailable secure storage pauses encrypted work without plaintext fallback [15.52ms]
+(pass) unreadable backup settings do not block account readiness or overwrite recovery records [3.70ms]
+(pass) a missing renderer cannot fail or strand the background job [9.81ms]
+(pass) the default backup set survives restart before the first backup [4.80ms]
+(pass) a failed completion journal preserves the previous success and leaves a recoverable publication [11.72ms]
+(pass) an account transition rejects queued actions from the previous ready context [6.80ms]
+(pass) a successfully disabled schedule cannot start a queued automatic run [5.41ms]
+(pass) pending encrypted publication accepts its original password (rotated saved password) [11.84ms]
+(pass) pending encrypted publication accepts its original password (unsaved one-time password) [9.93ms]
+(pass) failed private staging cleanup keeps its registration until cleanup succeeds [7.70ms]
+(pass) startup restores the saved backup account without a renderer [5.33ms]
+(pass) logout cancels an unresolved startup session without restoring its account later [1.74ms]
+(pass) failed part cleanup cannot be overwritten by the next backup [7.47ms]
+(pass) part cleanup never follows a replaced backup root [7.25ms]
+(pass) pending verification preserves external parts when its root was replaced [3.81ms]
+(pass) publication cannot rename an external part through a replaced backup root [6.77ms]
+(pass) import failure and successful retry preserve automatic-backup errors and history [10.70ms]
+(pass) legacy decryption errors belong to import [6.40ms]
+(pass) legacy decryption errors belong to pending backup verification [6.88ms]
+(pass) preserves HTTP status and emits only redacted request diagnostics without affecting failure handling [5.18ms]
+(pass) named manual backups preserve formats/settings and never overwrite a collision [15.24ms]
+(pass) history restore/delete are scoped, reject replacements and remove only the selected file [19.19ms]
+(pass) automatic no-change advances checks, not archive time/retention, and invalidates its baseline correctly [19.21ms]
+(pass) restart retains the unchanged schedule and resolves an interrupted running check [9.19ms]
+
+ 43 pass
+ 0 fail
+ 262 expect() calls
+Ran 43 tests across 5 files. [7.42s]
+
+
+bun test v1.3.14 (0d9b296a)
+
+apps/desktop/src/main/backup-manager.test.mjs:
+(pass) named publication recovery verifies the owned file (owned archive recovered) [25.89ms]
+(pass) named publication recovery verifies the owned file (replacement rejected) [13.02ms]
+
+ 2 pass
+ 31 filtered out
+ 0 fail
+ 10 expect() calls
+Ran 2 tests across 1 file. [112.00ms]
+
+
+bun test v1.3.14 (0d9b296a)
+
+packages/shared/src/i18n/catalog.test.mjs:
+(pass) shared i18n catalogs > ships Japanese alongside Chinese and English with matching keys [3.89ms]
+
+ 1 pass
+ 0 fail
+ 7 expect() calls
+Ran 1 test across 1 file. [62.00ms]
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/unlock-enter.json b/docs/changes/evidence/2026-10-23-desktop-backup/unlock-enter.json
new file mode 100644
index 00000000..30d40767
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/unlock-enter.json
@@ -0,0 +1,16 @@
+{
+ "runtime": "ego-browser / Chromium",
+ "component": "DesktopBackupImport",
+ "bridge": "Mocked desktop bridge; no archive or instance access",
+ "beforeFix": {
+ "enterSubmitted": false
+ },
+ "afterFix": {
+ "emptyPasswordBlocked": true,
+ "enterSubmitted": true,
+ "pendingRepeatBlocked": true,
+ "cancelDidNotSubmit": true,
+ "clickAndEnterInputsMatch": true,
+ "passwordSpacesPreserved": true
+ }
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/worker-check.log b/docs/changes/evidence/2026-10-23-desktop-backup/worker-check.log
new file mode 100644
index 00000000..46311f8e
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/worker-check.log
@@ -0,0 +1,9 @@
+bun test v1.3.14 (0d9b296a)
+
+apps/desktop/src/backup/worker-integration.test.mjs:
+(pass) real Node background workers export encrypted and plain archives and restore without the original server [1965.88ms]
+
+ 1 pass
+ 0 fail
+ 15 expect() calls
+Ran 1 test across 1 file. [2.18s]
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.json b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.json
new file mode 100644
index 00000000..dabd3c22
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.json
@@ -0,0 +1,32 @@
+{
+ "checkedAt": "2026-10-26T10:16:02.346Z",
+ "scope": "Real Node backup workers; private Bun source stopped before restore; genuine Cloudflare API behind patched Wrangler with fresh D1/R2",
+ "restoredResources": 3,
+ "attachmentBytes": [
+ 1048577,
+ 1048578,
+ 1048579
+ ],
+ "contentAndHierarchyMatch": true,
+ "exactResourceBytesMatch": true,
+ "stagingEmpty": true,
+ "failedRequests": 0,
+ "result": {
+ "manifest": {
+ "format": "edgeever-zip",
+ "formatVersion": 2,
+ "schemaVersion": 1,
+ "edgeeverVersion": "2.2.0",
+ "buildId": "proxy-fixture",
+ "exportedAt": "2026-10-26T10:15:47.076Z",
+ "includesTrash": false,
+ "counts": {
+ "notebooks": 6,
+ "memos": 2,
+ "revisions": 0,
+ "resources": 3,
+ "prompts": 6
+ }
+ }
+ }
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.mjs b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.mjs
new file mode 100644
index 00000000..30f5c634
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.mjs
@@ -0,0 +1,42 @@
+// Run from the checkout root after the API and desktop backup workers are built.
+// Uses and removes only isolated temporary databases, storage and processes.
+import { Database } from 'bun:sqlite';
+import { fork, spawn, spawnSync } from 'node:child_process';
+import { mkdtemp, mkdir, readFile, readdir, writeFile, rm, open } from 'node:fs/promises';
+import { join } from 'node:path';
+import { tmpdir } from 'node:os';
+import { createServer } from 'node:net';
+import assert from 'node:assert/strict';
+const repo=process.cwd();
+const {fetchEdgeEverApp}=await import(`${repo}/apps/api/src/index.ts`);
+const {createSelfHostedStorageAdapter}=await import(`${repo}/apps/api/src/self-hosted-storage-adapter.ts`);
+const {createEdgeEverClient}=await import(`${repo}/packages/client/src/index.ts`);
+const root=await mkdtemp(join(tmpdir(),'edgeever-wrangler-restore-'));const children=[];let source,db,api;const log=await open(join(root,'wrangler.log'),'w');
+const freePort=async()=>{const s=createServer();await new Promise(r=>s.listen(0,'127.0.0.1',r));const p=s.address().port;await new Promise(r=>s.close(r));return p;};
+const launch=async(data)=>{
+ const child=fork(join(repo,'apps/desktop/src/backup/tests/node-worker-runner.mjs'),[join(repo,'apps/desktop/build/backup-worker.mjs')],{execPath:spawnSync('node',['-p','process.execPath'],{encoding:'utf8'}).stdout.trim(),stdio:['ignore','ignore','pipe','ipc']});children.push(child);child.stderr.on('data',x=>process.stderr.write(x));
+ const messages=[];let wake;child.on('message',x=>{messages.push(x);wake?.();});child.send(data);
+ const next=async(type)=>{let timer;try{return await Promise.race([(async()=>{while(true){const error=messages.find(x=>x.type==='error');if(error)throw Object.assign(new Error(error.error.message),error.error);const index=messages.findIndex(x=>x.type===type);if(index!==-1)return messages.splice(index,1)[0];await new Promise(r=>wake=r);}})(),new Promise((_,reject)=>timer=setTimeout(()=>reject(new Error(`Worker timed out waiting for ${type}`)),60000))]);}finally{clearTimeout(timer);}};
+ return {child,messages,next};
+};
+try {
+ db=new Database(join(root,'source.sqlite'));for(const file of(await readdir(join(repo,'migrations'))).filter(x=>x.endsWith('.sql')).sort())db.exec(await readFile(join(repo,'migrations',file),'utf8'));
+ const env={storage:createSelfHostedStorageAdapter(db,join(root,'source-resources')),EDGE_EVER_ALLOW_UNAUTHENTICATED:'true',EDGE_EVER_RUNTIME:'self-hosted-bun'};
+ source=Bun.serve({hostname:'127.0.0.1',port:0,fetch:req=>fetchEdgeEverApp(req,env,{waitUntil(){},passThroughOnException(){}})});
+ const client=createEdgeEverClient({baseUrl:`http://127.0.0.1:${source.port}`});
+ const {notebook}=await client.createNotebook({name:'Isolated proxy replay'});const {memo}=await client.createMemo({notebookId:notebook.id,contentMarkdown:'portable proxy fixture',tags:['proxy-fixture']});const resources=[];
+ for(let i=0;i<3;i++){const bytes=new Uint8Array(1024*1024+i+1).fill(40+i);const {resource}=await client.uploadMemoResource(memo.id,new File([bytes],`payload-${i}.bin`,{type:'application/octet-stream'}));resources.push({resource,bytes});}
+ const path=join(root,'fixture.zip');const exported=await launch({operation:'export',context:{baseUrl:`http://127.0.0.1:${source.port}`,accountId:null,token:'',locale:'en-US'},path,version:{edgeeverVersion:'2.2.0',buildId:'proxy-fixture'}});await exported.next('done');source.stop(true);source=undefined;
+ await mkdir(join(root,'assets'));await writeFile(join(root,'assets/index.html'),'isolated fixture');
+ const config={name:'edgeever-isolated-proxy-restore',main:join(repo,'.wrangler/edgeever-worker/index.js'),compatibility_date:'2026-06-26',no_bundle:true,find_additional_modules:true,base_dir:join(repo,'.wrangler/edgeever-worker'),rules:[{type:'ESModule',globs:['modules/*.js'],fallthrough:true}],assets:{directory:join(root,'assets'),binding:'ASSETS',not_found_handling:'single-page-application',run_worker_first:true},d1_databases:[{binding:'DB',database_name:'edgeever-isolated-restore',database_id:crypto.randomUUID(),migrations_dir:join(repo,'migrations')}],r2_buckets:[{binding:'RESOURCES',bucket_name:'edgeever-isolated-restore-resources'}],vars:{EDGE_EVER_ALLOW_UNAUTHENTICATED:'true'}};
+ const configPath=join(root,'wrangler.json');await writeFile(configPath,JSON.stringify(config));const state=join(root,'state');const cli=join(repo,'node_modules/wrangler/bin/wrangler.js');const cliEnv={...process.env,CI:'true',WRANGLER_SEND_METRICS:'false'};
+ const migrated=spawnSync('node',[cli,'d1','migrations','apply','DB','--local','--config',configPath,'--persist-to',state],{cwd:repo,env:cliEnv,input:'y\n',encoding:'utf8',timeout:60000,maxBuffer:16*1024*1024});if(migrated.status!==0)throw new Error(JSON.stringify({status:migrated.status,error:migrated.error?.message,tail:(migrated.stderr+migrated.stdout).slice(-3000)}));console.log('Isolated D1 migrations applied');
+ const port=await freePort(),inspector=await freePort();api=spawn('node',[cli,'dev','--config',configPath,'--persist-to',state,'--port',String(port),'--ip','127.0.0.1','--inspector-port',String(inspector),'--local','--log-level','error'],{cwd:repo,env:cliEnv,detached:true,stdio:['ignore',log.fd,log.fd]});const baseUrl=`http://127.0.0.1:${port}`;
+ let ready=false;for(let i=0;i<120;i++){if(api.exitCode!==null)throw new Error('Isolated API exited');try{const r=await fetch(`${baseUrl}/api/v1/auth/session`);if(r.ok){ready=true;break;}}catch{}await Bun.sleep(250);}if(!ready)throw new Error('Isolated API did not become ready');
+ const staging=join(root,'staging');await mkdir(staging);const restored=await launch({operation:'import',context:{baseUrl,accountId:null,token:'',locale:'en-US'},path,stagingDirectory:staging});const manifest=await restored.next('ready');assert.equal(manifest.result.manifest.counts.resources,3);restored.child.send({type:'confirm'});const done=await restored.next('done');
+ const target=createEdgeEverClient({baseUrl});const readback=await target.getMemo(memo.id);assert.equal(readback.memo.contentMarkdown,'portable proxy fixture');assert.equal(readback.memo.notebookId,notebook.id);
+ for(const {resource,bytes}of resources){const response=await target.getResourceResponse(`/api/v1/resources/${resource.id}/blob`);assert.deepEqual(new Uint8Array(await response.arrayBuffer()),bytes);}
+ assert.deepEqual(await readdir(staging),[]);assert.equal(restored.messages.filter(x=>x.type==='request-error').length,0);
+ const evidence={checkedAt:new Date().toISOString(),scope:'Real Node backup workers; private Bun source stopped before restore; genuine Cloudflare API behind patched Wrangler with fresh D1/R2',restoredResources:3,attachmentBytes:resources.map(x=>x.bytes.length),contentAndHierarchyMatch:true,exactResourceBytesMatch:true,stagingEmpty:true,failedRequests:0,result:done.result};await writeFile(join(repo,'docs/changes/evidence/2026-10-23-desktop-backup/wrangler-backup-replay.json'),JSON.stringify(evidence,null,2)+'\n');console.log(evidence);
+} catch(error) {console.error(error);if(api)console.error((await readFile(join(root,'wrangler.log'),'utf8')).split('\n').filter(x=>/ERROR|error|Network|TypeError|Exception/.test(x)).slice(-12).join('\n'));process.exitCode=1;}
+finally {for(const child of children)if(child.exitCode===null)child.kill('SIGTERM');source?.stop(true);db?.close();if(api&&api.exitCode===null){process.kill(-api.pid,'SIGTERM');await Promise.race([new Promise(r=>api.once('exit',r)),Bun.sleep(8000)]);if(api.exitCode===null)process.kill(-api.pid,'SIGKILL');}await log.close();await rm(root,{recursive:true,force:true});}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-checks.txt b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-checks.txt
new file mode 100644
index 00000000..6f2d327b
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-checks.txt
@@ -0,0 +1,48 @@
+bun test v1.3.14 (0d9b296a)
+
+tests/wrangler-runner.test.ts:
+(pass) cross-platform Wrangler runner > uses the installed JavaScript CLI instead of a platform shell shim [0.28ms]
+(pass) cross-platform Wrangler runner > runs the project-local Wrangler without a global installation [632.28ms]
+(pass) cross-platform Wrangler runner > runs Wrangler with Node when the project command itself uses Bun [0.08ms]
+(pass) cross-platform Wrangler runner > forces D1 migration apply into non-interactive CI mode [0.10ms]
+(pass) cross-platform Wrangler runner > normalizes Windows migration line endings for remote D1 [0.21ms]
+(pass) cross-platform Wrangler runner > gives local development an isolated credential encryption key [0.06ms]
+(pass) cross-platform Wrangler runner > resolves the configured assets directory so local dev can create it [0.18ms]
+(pass) cross-platform Wrangler runner > prepares missing dev assets before Wrangler starts and preserves existing files [224.51ms]
+(pass) cross-platform Wrangler runner > resolves an exact D1 database name from Wrangler JSON [0.21ms]
+(pass) cross-platform Wrangler runner > rejects malformed D1 database list output [0.07ms]
+(pass) cross-platform Wrangler runner > reads active production versions and legacy deployment settings [0.12ms]
+(pass) cross-platform Wrangler runner > rejects malformed Worker deployment responses [0.03ms]
+(pass) cross-platform Wrangler runner > keeps every D1 trigger on one physical line for remote compatibility [19.01ms]
+
+tests/wrangler-proxy.test.mjs:
+(pass) local proxy forwards ordinary HTTP through the Node adapter for 127.0.0.1 [1.65ms]
+(pass) local proxy forwards ordinary HTTP through the Node adapter for localhost [0.30ms]
+(pass) local proxy forwards ordinary HTTP through the Node adapter for [::1] [0.34ms]
+(pass) proxy keeps existing connection behavior for https://127.0.0.1:7000 [0.47ms]
+(pass) proxy keeps existing connection behavior for https://preview.example [0.25ms]
+(pass) proxy keeps existing connection behavior for http://remote.example [0.21ms]
+(pass) local WebSocket forwarding keeps its Upgrade connection [0.21ms]
+(pass) GET connection failure on an unchanged worker is reported without retry [0.45ms]
+(pass) POST connection failure on an unchanged worker is reported without retry [0.26ms]
+(pass) actual worker replacement keeps POST failure non-retryable [0.44ms]
+(pass) actual worker replacement keeps GET queued until play [1.53ms]
+(pass) local loopback does not read ahead when its response is backpressured [3.81ms]
+(pass) local loopback cancels its upstream reader when a blocked downstream closes [1.00ms]
+(pass) local loopback preserves a valid compressed empty response [2.36ms]
+
+scripts/local-dev.test.mjs:
+(pass) local development environment > targets every online Android device for local API reverse forwarding [0.33ms]
+(pass) local development environment > keeps persistent development and resettable demo profiles isolated [0.04ms]
+(pass) local development environment > rejects unknown local development profiles [0.02ms]
+(pass) local development environment > renders a Demo banner without requiring an AI bootstrap result [0.04ms]
+(pass) local development environment > inspects a stopped WAL-mode D1 database [9.04ms]
+(pass) local development environment > parses local-only environment files without exposing comments [0.30ms]
+(pass) local development environment > skips AI bootstrap until a local API key is configured [0.19ms]
+(pass) local development environment > builds one deterministic local AI provider seed [0.09ms]
+(pass) local development environment > rejects invalid provider and base URL values [0.06ms]
+
+ 36 pass
+ 0 fail
+ 128 expect() calls
+Ran 36 tests across 3 files. [1024.00ms]
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-diagnosis.json b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-diagnosis.json
new file mode 100644
index 00000000..7474e4a2
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-diagnosis.json
@@ -0,0 +1,56 @@
+{
+ "checkedAt": "2026-10-26T10:21:22.648623+00:00",
+ "failedEndpoint": "POST /api/v1/restores/json/resources/<resource-id>/uploads",
+ "desktopDiagnostic": {
+ "code": "backup_request_failed",
+ "message": "Service Unavailable",
+ "status": 503
+ },
+ "nativeDisplay": "Native import error dialog displayed HTTP503 rather than invalidZip.",
+ "runtimeObservation": "No reload at either retry; API user-worker isolate ID unchanged. Last prior reload completed at 2026-10-26T08:55:54.635Z.",
+ "inference": "The reproducible local development proxy defect matches the generic503 while the runtime stays alive. The original failing response body was not retained, so attribution of those particular historical responses remains an inference.",
+ "unmodifiedProxy": {
+ "cadenceSeconds": 5,
+ "requests": 20,
+ "http503": 1,
+ "controlCadenceSeconds": 4,
+ "controlRequests": 10,
+ "controlFailures": 0,
+ "evidence": "wrangler-proxy-probe.json"
+ },
+ "acceptedFix": {
+ "officialCli": "4.112.0",
+ "miniflare": "4.20260714.0",
+ "transport": "Existing service binding to bundled Undici with pipelining=0 for ordinary loopback HTTP only",
+ "postRetriesAdded": false,
+ "nativeRemoteAndUpgradeForwardingPreserved": true,
+ "loopbackKeepAliveTimeout": 0,
+ "loopbackHeadersTimeout": 0,
+ "streaming": "Node stream pipeline with backpressure and upstream cancellation on disconnect",
+ "patches": [
+ "patches/[email protected]",
+ "patches/[email protected]"
+ ]
+ },
+ "verification": {
+ "automatedTestsPassed": 36,
+ "assertions": 128,
+ "cadenceRequestsPassed": 20,
+ "cadenceSeconds": 5,
+ "resourcesRestoredThroughWranglerD1R2": 3,
+ "exactAttachmentBytesMatched": true,
+ "finalFreshFrozenPatchReplayPassed": true,
+ "httpCompressionCookiesHeadNoContentRedirectAndWebSocketPassed": true,
+ "evidence": [
+ "wrangler-proxy-checks.txt",
+ "wrangler-proxy-node.json",
+ "wrangler-proxy-stream.json",
+ "wrangler-backup-replay.json"
+ ]
+ },
+ "upstreamSources": [
+ "https://github.com/cloudflare/workers-sdk/issues/14641",
+ "https://github.com/cloudflare/workers-sdk/pull/14593",
+ "https://github.com/cloudflare/workers-sdk/issues/14848"
+ ]
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-header-candidate.json b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-header-candidate.json
new file mode 100644
index 00000000..c0fac9ea
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-header-candidate.json
@@ -0,0 +1,147 @@
+{
+ "checkedAt": "2026-10-26T09:39:31Z",
+ "scope": "Isolated dummy worker through patched installed Wrangler; no live instance requests or business data",
+ "wrangler": "4.112.0",
+ "websocketEcho": true,
+ "results": [
+ {
+ "cadenceSeconds": 5,
+ "index": 1,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 25.23
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 2,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 16.27
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 3,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 38.62
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 4,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 15.54
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 5,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 32.62
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 6,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 15.53
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 7,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 33.61
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 8,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 19.79
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 9,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 14.52
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 10,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 31.73
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 11,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 21.88
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 12,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 14.06
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 13,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 37.23
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 14,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 12.52
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 15,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 32.34
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 16,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 19.43
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 17,
+ "status": 500,
+ "body": "Error: Network connection lost.\n at async Object.fetch (file://<original-checkout>/node_modules/.bun/[email protected]+f980cb6d692add5a/node_modules/miniflare/dist/src/workers/core/entry.worker.js:4688:22)",
+ "elapsedMs": 22.17
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 18,
+ "error": "<urlopen error [Errno 61] Connection refused>",
+ "elapsedMs": 13.14
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 19,
+ "error": "<urlopen error [Errno 61] Connection refused>",
+ "elapsedMs": 20.56
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 20,
+ "error": "<urlopen error [Errno 61] Connection refused>",
+ "elapsedMs": 16.6
+ }
+ ],
+ "candidate": "Connection: close header plus upstream origin classification",
+ "result": "rejected: real requests still failed, and the dev process exited after reporting the error"
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-node.json b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-node.json
new file mode 100644
index 00000000..ddb3310f
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-node.json
@@ -0,0 +1,143 @@
+{
+ "scope": "Native unmodified CLI comparison, then fresh frozen-install persistent patches; no live instance requests",
+ "cadenceSeconds": 5,
+ "checks": {
+ "freshFrozenPatchReplay": true,
+ "compressionAndCookiesMatchNative": true,
+ "noContent": true,
+ "headBodyEmpty": true,
+ "multipartSizedBodyPreserved": true,
+ "redirectPreserved": true,
+ "websocketEcho": true,
+ "serverAliveAfterCadence": true
+ },
+ "nativeHttpBaseline": {
+ "identity": {
+ "status": 200,
+ "encoding": null,
+ "body": "636f6d707265737365642066697874757265"
+ },
+ "gzip": {
+ "status": 200,
+ "encoding": "gzip",
+ "body": "1f8b08000000000000134bcecf2d284a2d2e4e4d5148cbac28292d4a0500df30119212000000"
+ },
+ "cookieCount": 2
+ },
+ "patchedHttp": {
+ "identity": {
+ "status": 200,
+ "encoding": null,
+ "body": "636f6d707265737365642066697874757265"
+ },
+ "gzip": {
+ "status": 200,
+ "encoding": "gzip",
+ "body": "1f8b08000000000000134bcecf2d284a2d2e4e4d5148cbac28292d4a0500df30119212000000"
+ },
+ "cookieCount": 2
+ },
+ "results": [
+ {
+ "index": 1,
+ "status": 200,
+ "elapsedMs": 24.63
+ },
+ {
+ "index": 2,
+ "status": 200,
+ "elapsedMs": 36.39
+ },
+ {
+ "index": 3,
+ "status": 200,
+ "elapsedMs": 29.21
+ },
+ {
+ "index": 4,
+ "status": 200,
+ "elapsedMs": 35.9
+ },
+ {
+ "index": 5,
+ "status": 200,
+ "elapsedMs": 37.64
+ },
+ {
+ "index": 6,
+ "status": 200,
+ "elapsedMs": 36.67
+ },
+ {
+ "index": 7,
+ "status": 200,
+ "elapsedMs": 29.93
+ },
+ {
+ "index": 8,
+ "status": 200,
+ "elapsedMs": 35.24
+ },
+ {
+ "index": 9,
+ "status": 200,
+ "elapsedMs": 36.89
+ },
+ {
+ "index": 10,
+ "status": 200,
+ "elapsedMs": 32.93
+ },
+ {
+ "index": 11,
+ "status": 200,
+ "elapsedMs": 33.35
+ },
+ {
+ "index": 12,
+ "status": 200,
+ "elapsedMs": 31.87
+ },
+ {
+ "index": 13,
+ "status": 200,
+ "elapsedMs": 30.6
+ },
+ {
+ "index": 14,
+ "status": 200,
+ "elapsedMs": 27.7
+ },
+ {
+ "index": 15,
+ "status": 200,
+ "elapsedMs": 28.08
+ },
+ {
+ "index": 16,
+ "status": 200,
+ "elapsedMs": 29.88
+ },
+ {
+ "index": 17,
+ "status": 200,
+ "elapsedMs": 70.33
+ },
+ {
+ "index": 18,
+ "status": 200,
+ "elapsedMs": 33.42
+ },
+ {
+ "index": 19,
+ "status": 200,
+ "elapsedMs": 31.39
+ },
+ {
+ "index": 20,
+ "status": 200,
+ "elapsedMs": 30.53
+ }
+ ],
+ "completed": true
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-probe.json b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-probe.json
new file mode 100644
index 00000000..9fff558f
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-probe.json
@@ -0,0 +1,217 @@
+{
+ "checkedAt": "2026-10-26T09:26:59Z",
+ "scope": "Isolated dummy worker; no live instance requests or business data",
+ "wrangler": "4.112.0",
+ "results": [
+ {
+ "cadenceSeconds": 5,
+ "index": 1,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 9.48
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 2,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 30.84
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 3,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 14.78
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 4,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 37.46
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 5,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 18.67
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 6,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 16.27
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 7,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 15.95
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 8,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 34.54
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 9,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 12.29
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 10,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 40.45
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 11,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 13.72
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 12,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 30.88
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 13,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 16.69
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 14,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 16.37
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 15,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 37.01
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 16,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 18.66
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 17,
+ "status": 503,
+ "body": "Your worker restarted mid-request. Please try sending the request again. Only GET or HEAD requests are retried automatically.",
+ "elapsedMs": 21.64
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 18,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 29.09
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 19,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 13.29
+ },
+ {
+ "cadenceSeconds": 5,
+ "index": 20,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 15.48
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 1,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 15.5
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 2,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 15.31
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 3,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 20.44
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 4,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 17.89
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 5,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 21.57
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 6,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 17.84
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 7,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 19.36
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 8,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 19.14
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 9,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 21.05
+ },
+ {
+ "cadenceSeconds": 4,
+ "index": 10,
+ "status": 200,
+ "body": "{\"ok\":true,\"method\":\"POST\"}",
+ "elapsedMs": 20.54
+ }
+ ]
+}
diff --git a/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-stream.json b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-stream.json
new file mode 100644
index 00000000..ff3a1d51
--- /dev/null
+++ b/docs/changes/evidence/2026-10-23-desktop-backup/wrangler-proxy-stream.json
@@ -0,0 +1,43 @@
+{
+ "scope": "Native unmodified CLI comparison, then fresh frozen-install persistent patches; no live instance requests",
+ "cadenceSeconds": 5,
+ "checks": {
+ "freshFrozenPatchReplay": true,
+ "compressionAndCookiesMatchNative": true,
+ "noContent": true,
+ "headBodyEmpty": true,
+ "multipartSizedBodyPreserved": true,
+ "redirectPreserved": true,
+ "websocketEcho": true,
+ "serverAliveAfterCadence": true
+ },
+ "nativeHttpBaseline": {
+ "identity": {
+ "status": 200,
+ "encoding": null,
+ "body": "636f6d707265737365642066697874757265"
+ },
+ "gzip": {
+ "status": 200,
+ "encoding": "gzip",
+ "body": "1f8b08000000000000134bcecf2d284a2d2e4e4d5148cbac28292d4a0500df30119212000000"
+ },
+ "cookieCount": 2
+ },
+ "patchedHttp": {
+ "identity": {
+ "status": 200,
+ "encoding": null,
+ "body": "636f6d707265737365642066697874757265"
+ },
+ "gzip": {
+ "status": 200,
+ "encoding": "gzip",
+ "body": "1f8b08000000000000134bcecf2d284a2d2e4e4d5148cbac28292d4a0500df30119212000000"
+ },
+ "cookieCount": 2
+ },
+ "results": [],
+ "completed": true,
+ "cadenceReusedFrom": "wrangler-proxy-node.json"
+}
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/browser.json b/docs/changes/evidence/2026-10-27-desktop-backup-pr/browser.json
new file mode 100644
index 00000000..40abbc92
--- /dev/null
+++ b/docs/changes/evidence/2026-10-27-desktop-backup-pr/browser.json
@@ -0,0 +1,51 @@
+{
+ "date": "2026-10-27",
+ "fixture": "Real DesktopScheduledBackupCard, DesktopBackupRunDialog and DesktopBackupImport with a mocked desktop bridge on official-main contribution branch",
+ "checks": {
+ "settingsSaved": "daily",
+ "manualRun": {
+ "name": "项目资料",
+ "encrypted": true,
+ "submittedByEnter": true
+ },
+ "wrongPassword": "inline error, retry reaches confirmation",
+ "restore": "selected encrypted history entry, checked target then confirmed",
+ "deleteCancelRetainedCount": 2,
+ "deleteResult": {
+ "history": [
+ "周报归档.zip"
+ ],
+ "calls": [
+ {
+ "action": "select-history",
+ "input": {
+ "backupSetId": "fixture-backup-set",
+ "name": "EdgeEver-2026-10-25_110000.edgeever.enc"
+ }
+ },
+ {
+ "action": "confirm-import",
+ "input": {
+ "backupSetId": "fixture-backup-set"
+ }
+ },
+ {
+ "action": "delete-history",
+ "input": {
+ "backupSetId": "fixture-backup-set",
+ "name": "EdgeEver-2026-10-25_110000.edgeever.enc"
+ }
+ }
+ ]
+ }
+ },
+ "screenshots": [
+ "overview.png",
+ "settings.png",
+ "manual-plain.png",
+ "manual-encrypted.png",
+ "unlock-error.png",
+ "restore-confirm.png"
+ ],
+ "scope": "UI interaction and layout only; actual files and API restoration are covered by worker-integration tests"
+}
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/build-web.log b/docs/changes/evidence/2026-10-27-desktop-backup-pr/build-web.log
new file mode 100644
index 00000000..406539e6
--- /dev/null
+++ b/docs/changes/evidence/2026-10-27-desktop-backup-pr/build-web.log
@@ -0,0 +1,2691 @@
+$ vite build --config apps/web/vite.config.ts
+(!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
+ - import "./local-dev-auth" without a file extension (apps/web/vite.config.ts:10:38). Add the file extension
+ - import "./build-metadata" without a file extension (apps/web/vite.config.ts:11:60). Add the file extension
+Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
+vite v8.3.4 building client environment for production...
+transforming...
+✓ 8427 modules transformed.
+rendering chunks...
+computing gzip size...
+apps/web/dist/manifest.webmanifest 0.55 kB
+apps/web/dist/assets/image-compression.worker-B1xu8bz0.js 0.59 kB
+apps/web/dist/tiptap-ime-test.html 2.69 kB │ gzip: 0.79 kB
+apps/web/dist/assets/workbuddy-D1Gu2IKl.svg 4.14 kB │ gzip: 1.91 kB
+apps/web/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff 4.42 kB
+apps/web/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 4.92 kB
+apps/web/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 5.20 kB
+apps/web/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 5.46 kB
+apps/web/dist/index.html 5.78 kB │ gzip: 1.52 kB
+apps/web/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff 5.98 kB
+apps/web/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff 6.18 kB
+apps/web/dist/assets/KaTeX_Size1-Regular-C195tn64.woff 6.49 kB
+apps/web/dist/assets/sage.en-BkTJJmZZ.webp 6.83 kB
+apps/web/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 6.90 kB
+apps/web/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 6.91 kB
+apps/web/dist/assets/seal.zh-D9Ys3LuY.webp 7.06 kB
+apps/web/dist/assets/noto-sans-sc-88-wght-normal-ClNDOCGW.woff2 7.33 kB
+apps/web/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf 7.58 kB
+apps/web/dist/assets/antigravity-color-vkml-zp9.svg 7.60 kB │ gzip: 1.72 kB
+apps/web/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff 7.65 kB
+apps/web/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff 7.71 kB
+apps/web/dist/assets/calm.en-Bt3Ieihs.webp 7.85 kB
+apps/web/dist/assets/noto-sans-sc-87-wght-normal-DYfJ-vGE.woff2 8.01 kB
+apps/web/dist/assets/noto-sans-sc-latin-ext-wght-normal-CqPqLCfe.woff2 8.24 kB
+apps/web/dist/assets/numeral.en-DGTddYET.webp 8.28 kB
+apps/web/dist/assets/numeral.zh-BxnJ-Ij7.webp 8.28 kB
+apps/web/dist/assets/folio.en-C6HUCssm.webp 8.28 kB
+apps/web/dist/assets/minimal.en-B3lxEmUt.webp 8.37 kB
+apps/web/dist/assets/calendar.en-ocUCrYcF.webp 8.50 kB
+apps/web/dist/assets/number.zh-D6ybz4rn.webp 8.70 kB
+apps/web/dist/assets/noto-sans-sc-91-wght-normal-CGekvDdH.woff2 8.70 kB
+apps/web/dist/assets/notes.en-CVaIkouL.webp 8.81 kB
+apps/web/dist/assets/neo.en-CwfKY4SD.webp 8.96 kB
+apps/web/dist/assets/noto-sans-sc-vietnamese-wght-normal-y5SU35Rl.woff2 9.09 kB
+apps/web/dist/assets/window.en-DoNY_66L.webp 9.12 kB
+apps/web/dist/assets/regeng.en-CPpm1Tfb.webp 9.17 kB
+apps/web/dist/assets/kicker.en-BwA35n74.webp 9.32 kB
+apps/web/dist/assets/chat.en-D8zd_MNR.webp 9.33 kB
+apps/web/dist/assets/noto-sans-sc-90-wght-normal-BWcrRNoG.woff2 9.34 kB
+apps/web/dist/assets/number.en-yEoumi8z.webp 9.42 kB
+apps/web/dist/assets/frame.en-DlvkoYZ9.webp 9.46 kB
+apps/web/dist/assets/seal.en--aGtIqsj.webp 9.48 kB
+apps/web/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 9.64 kB
+apps/web/dist/assets/noto-sans-sc-99-wght-normal-Q_IptJM5.woff2 9.70 kB
+apps/web/dist/assets/polaroid.zh-CLNxdbuK.webp 9.81 kB
+apps/web/dist/assets/corner.en-PAbaD9lL.webp 9.84 kB
+apps/web/dist/assets/polaroid.en-D0s_fhmn.webp 9.84 kB
+apps/web/dist/assets/sage.zh-C5MHwbkx.webp 9.97 kB
+apps/web/dist/assets/serial.en-XSsYWXiw.webp 9.97 kB
+apps/web/dist/assets/noto-sans-sc-cyrillic-wght-normal-CRA5_Pf1.woff2 10.00 kB
+apps/web/dist/assets/highlight.en-BWGjbSzR.webp 10.28 kB
+apps/web/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 10.34 kB
+apps/web/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf 10.36 kB
+apps/web/dist/assets/KaTeX_Script-Regular-D5yQViql.woff 10.58 kB
+apps/web/dist/assets/minimal.zh-tMUgcTlf.webp 10.70 kB
+apps/web/dist/assets/paper-text-BDxN5rcD.png 10.73 kB
+apps/web/dist/assets/brush.en-Fq0-uHAK.webp 10.77 kB
+apps/web/dist/assets/mega.en-DKIL3TUd.webp 10.95 kB
+apps/web/dist/assets/acid.en-DH0jQFEt.webp 10.98 kB
+apps/web/dist/assets/noto-sans-sc-89-wght-normal-IQU_KQA8.woff2 10.98 kB
+apps/web/dist/assets/bili.en-BweMcIWa.webp 11.13 kB
+apps/web/dist/assets/cinema.en-CpuEYDv6.webp 11.17 kB
+apps/web/dist/assets/stack.zh-cCPxd-KF.webp 11.28 kB
+apps/web/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 11.31 kB
+apps/web/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 11.34 kB
+apps/web/dist/assets/noto-sans-sc-21-wght-normal-DIu_1ZBI.woff2 11.35 kB
+apps/web/dist/assets/window.zh-BjLIHV7t.webp 11.35 kB
+apps/web/dist/assets/noto-sans-sc-6-wght-normal-ozUCEY9O.woff2 11.46 kB
+apps/web/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf 11.50 kB
+apps/web/dist/assets/ticket.en-mNcCAP5X.webp 11.58 kB
+apps/web/dist/assets/glass.en-Cd9oZ9E2.webp 11.90 kB
+apps/web/dist/assets/calendar.zh-XTLQvekc.webp 11.98 kB
+apps/web/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 12.02 kB
+apps/web/dist/assets/folio.zh-Fqh0j_6y.webp 12.02 kB
+apps/web/dist/assets/frame.zh-DXDkIjAr.webp 12.02 kB
+apps/web/dist/assets/calm.zh-D4lLZ3kO.webp 12.11 kB
+apps/web/dist/assets/kicker.zh-uLTvwxPC.webp 12.13 kB
+apps/web/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 12.21 kB
+apps/web/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf 12.22 kB
+apps/web/dist/assets/poster.en-Qwv6TB8e.webp 12.23 kB
+apps/web/dist/assets/collage.en-Gq1iWBV0.webp 12.30 kB
+apps/web/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff 12.31 kB
+apps/web/dist/assets/quote.en-BDbJFFQZ.webp 12.33 kB
+apps/web/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf 12.34 kB
+apps/web/dist/assets/neo.zh-BSpXlA7e.webp 12.34 kB
+apps/web/dist/assets/corner.zh-DjQyjpDU.webp 12.36 kB
+apps/web/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf 12.36 kB
+apps/web/dist/assets/print.en-ClCPeov0.webp 12.40 kB
+apps/web/dist/assets/regeng.zh-IwXhERQ5.webp 12.47 kB
+apps/web/dist/assets/memo.en-B5AvC4Ov.webp 12.49 kB
+apps/web/dist/assets/serial.zh-B29ZCQLZ.webp 12.50 kB
+apps/web/dist/assets/swiss.en-Bfbo5p6r.webp 12.62 kB
+apps/web/dist/assets/bili.zh-BoWEHvHt.webp 12.81 kB
+apps/web/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff 13.20 kB
+apps/web/dist/assets/mag.en-MygIm_cd.webp 13.29 kB
+apps/web/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff 13.29 kB
+apps/web/dist/assets/bold.en-mcf_f0YL.webp 13.30 kB
+apps/web/dist/assets/bento.zh-ClS_Qxbl.webp 13.34 kB
+apps/web/dist/assets/notes.zh-BEt1udMV.webp 13.39 kB
+apps/web/dist/assets/split.en-D01Hr70q.webp 13.40 kB
+apps/web/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 13.56 kB
+apps/web/dist/assets/stack.en-NVstauev.webp 13.57 kB
+apps/web/dist/assets/chat.zh-BusVeP5c.webp 13.58 kB
+apps/web/dist/assets/cinema.zh-C_FYAOz_.webp 13.96 kB
+apps/web/dist/assets/split.zh-D5ml1Re2.webp 14.08 kB
+apps/web/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff 14.11 kB
+apps/web/dist/assets/print.zh-BDvb3S0O.webp 14.17 kB
+apps/web/dist/assets/glass.zh-CqP-c1WP.webp 14.36 kB
+apps/web/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff 14.40 kB
+apps/web/dist/assets/newspaper.en-BydnqML6.webp 14.51 kB
+apps/web/dist/assets/mega.zh-COiP_N3W.webp 14.64 kB
+apps/web/dist/assets/interview.en-DXDKVJaj.webp 14.84 kB
+apps/web/dist/assets/highlight.zh-BA6LWa2x.webp 14.87 kB
+apps/web/dist/assets/collage.zh-8zuUrtab.webp 14.92 kB
+apps/web/dist/assets/swiss.zh-C-BTyGX-.webp 15.17 kB
+apps/web/dist/assets/keyword.en-C8U4O9X9.webp 15.30 kB
+apps/web/dist/assets/ticket.zh-MmnFPIS6.webp 15.60 kB
+apps/web/dist/assets/bento.en-rYJb16OL.webp 15.72 kB
+apps/web/dist/assets/memo.zh-CLoPyCHw.webp 16.02 kB
+apps/web/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff 16.02 kB
+apps/web/dist/assets/newspaper.zh-5wP5w-Yn.webp 16.13 kB
+apps/web/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 16.40 kB
+apps/web/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 16.44 kB
+apps/web/dist/assets/riso.en-BsTqTY8e.webp 16.46 kB
+apps/web/dist/assets/pop.en-CZ22ygaF.webp 16.53 kB
+apps/web/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf 16.64 kB
+apps/web/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 16.78 kB
+apps/web/dist/assets/bold.zh-Btf4ouUU.webp 16.83 kB
+apps/web/dist/assets/brush.zh-BSMxn9d-.webp 16.89 kB
+apps/web/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 16.98 kB
+apps/web/dist/assets/poster.zh-BLHggiYC.webp 17.02 kB
+apps/web/dist/assets/quote.zh-DMaHn-55.webp 17.56 kB
+apps/web/dist/assets/interview.zh-BbicBOzY.webp 17.66 kB
+apps/web/dist/assets/compare.zh-DZhB51HL.webp 17.79 kB
+apps/web/dist/assets/neon.en-DFdO2K5h.webp 17.92 kB
+apps/web/dist/assets/mag.zh-DkoBhQh6.webp 18.20 kB
+apps/web/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff 18.66 kB
+apps/web/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff 18.74 kB
+apps/web/dist/assets/speech-service-check.zh-CN-vcOnRU-T.mp3 19.26 kB
+apps/web/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff 19.41 kB
+apps/web/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf 19.43 kB
+apps/web/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf 19.57 kB
+apps/web/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf 19.58 kB
+apps/web/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff 19.67 kB
+apps/web/dist/assets/hermesagent-CCfD20Xo.svg 19.75 kB │ gzip: 8.66 kB
+apps/web/dist/assets/noto-sans-sc-5-wght-normal-DI846rD9.woff2 20.17 kB
+apps/web/dist/assets/acid.zh-BH0VFbLb.webp 20.90 kB
+apps/web/dist/assets/compare.en-D9jOpjY0.webp 21.39 kB
+apps/web/dist/assets/speech-service-check.en-US-BBWZTJLn.mp3 21.64 kB
+apps/web/dist/assets/impact.en-3UrVKYV4.webp 21.71 kB
+apps/web/dist/assets/neon.zh-B1Hi3QtV.webp 21.93 kB
+apps/web/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf 22.36 kB
+apps/web/dist/assets/riso.zh-mxCuDvKV.webp 23.10 kB
+apps/web/dist/assets/impact.zh-COPIBqBL.webp 23.64 kB
+apps/web/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf 24.50 kB
+apps/web/dist/assets/keyword.zh-C1SGJ3oD.webp 24.52 kB
+apps/web/dist/assets/pop.zh-EMXZcGT1.webp 25.17 kB
+apps/web/dist/assets/noto-sans-sc-latin-wght-normal-DYAKOyvl.woff2 25.24 kB
+apps/web/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 25.32 kB
+apps/web/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 26.27 kB
+apps/web/dist/assets/noto-sans-sc-85-wght-normal-DBcDBu1n.woff2 26.90 kB
+apps/web/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf 27.55 kB
+apps/web/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 28.07 kB
+apps/web/dist/assets/ticker.en-CsZ7bmGK.webp 28.23 kB
+apps/web/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff 29.91 kB
+apps/web/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff 30.77 kB
+apps/web/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf 31.19 kB
+apps/web/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf 31.30 kB
+apps/web/dist/assets/ticker.zh-DFX8v3Ek.webp 32.37 kB
+apps/web/dist/assets/noto-sans-sc-84-wght-normal-C7NxT478.woff2 32.61 kB
+apps/web/dist/assets/noto-sans-sc-80-wght-normal-BEFypWOO.woff2 32.63 kB
+apps/web/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf 32.96 kB
+apps/web/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff 33.51 kB
+apps/web/dist/assets/noto-sans-sc-86-wght-normal-CLJIoPpl.woff2 33.57 kB
+apps/web/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf 33.58 kB
+apps/web/dist/assets/noto-sans-sc-41-wght-normal-CZqajZnl.woff2 36.41 kB
+apps/web/dist/assets/noto-sans-sc-77-wght-normal-Dkbi3pye.woff2 36.78 kB
+apps/web/dist/assets/noto-sans-sc-73-wght-normal-DwSJRYPJ.woff2 39.31 kB
+apps/web/dist/assets/noto-sans-sc-79-wght-normal-DoJG4UTB.woff2 41.23 kB
+apps/web/dist/assets/noto-sans-sc-60-wght-normal-C1lngC61.woff2 41.43 kB
+apps/web/dist/assets/noto-sans-sc-64-wght-normal-CbIuD2Eg.woff2 41.54 kB
+apps/web/dist/assets/noto-sans-sc-68-wght-normal-c0FjfUaj.woff2 41.56 kB
+apps/web/dist/assets/noto-sans-sc-65-wght-normal-BGqvKda2.woff2 41.60 kB
+apps/web/dist/assets/noto-sans-sc-51-wght-normal-C2bq6hC8.woff2 41.61 kB
+apps/web/dist/assets/noto-sans-sc-36-wght-normal-CtU9CyKw.woff2 41.83 kB
+apps/web/dist/assets/noto-sans-sc-70-wght-normal-ColEcmtJ.woff2 42.23 kB
+apps/web/dist/assets/noto-sans-sc-83-wght-normal-C9UjAcMM.woff2 43.50 kB
+apps/web/dist/assets/noto-sans-sc-53-wght-normal-Bgkuo2tF.woff2 43.52 kB
+apps/web/dist/assets/noto-sans-sc-75-wght-normal-B0qL41rF.woff2 43.94 kB
+apps/web/dist/note-print.html 45.18 kB │ gzip: 6.92 kB
+apps/web/dist/assets/noto-sans-sc-61-wght-normal-BxWkGF5M.woff2 45.27 kB
+apps/web/dist/assets/noto-sans-sc-42-wght-normal-CQ4lY28u.woff2 45.54 kB
+apps/web/dist/assets/noto-sans-sc-50-wght-normal-C5KfAmFp.woff2 45.87 kB
+apps/web/dist/assets/noto-sans-sc-82-wght-normal-DcxfR5OJ.woff2 46.17 kB
+apps/web/dist/assets/noto-sans-sc-118-wght-normal-BPEb0gM9.woff2 46.19 kB
+apps/web/dist/assets/noto-sans-sc-43-wght-normal-psppu0d8.woff2 46.62 kB
+apps/web/dist/assets/noto-sans-sc-40-wght-normal-BVn4-kgX.woff2 46.62 kB
+apps/web/dist/assets/noto-sans-sc-34-wght-normal-BF1rqDSt.woff2 46.88 kB
+apps/web/dist/assets/noto-sans-sc-72-wght-normal-D1VyfEG3.woff2 47.03 kB
+apps/web/dist/assets/noto-sans-sc-31-wght-normal-DW0t445S.woff2 47.22 kB
+apps/web/dist/assets/noto-sans-sc-33-wght-normal-BOTZYTjM.woff2 47.45 kB
+apps/web/dist/assets/noto-sans-sc-27-wght-normal-BP2pEGQH.woff2 47.48 kB
+apps/web/dist/assets/noto-sans-sc-81-wght-normal-ed_TZlfo.woff2 47.54 kB
+apps/web/dist/assets/noto-sans-sc-59-wght-normal-Azv2Ku9_.woff2 47.67 kB
+apps/web/dist/assets/noto-sans-sc-71-wght-normal-ChZfXpdg.woff2 47.90 kB
+apps/web/dist/assets/noto-sans-sc-55-wght-normal-BV_Oy6IF.woff2 48.13 kB
+apps/web/dist/assets/noto-sans-sc-76-wght-normal-BPLMO_2x.woff2 48.42 kB
+apps/web/dist/assets/noto-sans-sc-78-wght-normal-BFUXeSw6.woff2 49.15 kB
+apps/web/dist/assets/noto-sans-sc-63-wght-normal-4La5uKvS.woff2 49.18 kB
+apps/web/dist/assets/noto-sans-sc-28-wght-normal-BWPKDbtH.woff2 50.20 kB
+apps/web/dist/assets/noto-sans-sc-35-wght-normal-Bosspiyr.woff2 50.68 kB
+apps/web/dist/assets/noto-sans-sc-48-wght-normal-DFMjDDY6.woff2 50.76 kB
+apps/web/dist/assets/noto-sans-sc-26-wght-normal-YNOygvr_.woff2 50.88 kB
+apps/web/dist/mobile-edit.html 50.93 kB │ gzip: 9.30 kB
+apps/web/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf 51.33 kB
+apps/web/dist/assets/noto-sans-sc-39-wght-normal-Ddtm1XVC.woff2 51.78 kB
+apps/web/dist/assets/noto-sans-sc-52-wght-normal-P18e_Y0j.woff2 51.84 kB
+apps/web/dist/assets/noto-sans-sc-54-wght-normal-DL5lmlUd.woff2 52.00 kB
+apps/web/dist/assets/noto-sans-sc-117-wght-normal-Dsz3vkzU.woff2 52.46 kB
+apps/web/dist/assets/noto-sans-sc-32-wght-normal-ShbWPcei.woff2 52.54 kB
+apps/web/dist/assets/noto-sans-sc-67-wght-normal-CC-WRBV-.woff2 52.58 kB
+apps/web/dist/assets/noto-sans-sc-49-wght-normal-B7l_3BZr.woff2 52.84 kB
+apps/web/dist/assets/noto-sans-sc-66-wght-normal-BvNozWOY.woff2 52.86 kB
+apps/web/dist/assets/noto-sans-sc-116-wght-normal-vdFVzbO2.woff2 52.98 kB
+apps/web/dist/assets/noto-sans-sc-56-wght-normal-B4L7Hj8f.woff2 53.50 kB
+apps/web/dist/assets/noto-sans-sc-37-wght-normal-ghDiyiuv.woff2 53.52 kB
+apps/web/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf 53.58 kB
+apps/web/dist/assets/noto-sans-sc-29-wght-normal-45aVmHn_.woff2 54.00 kB
+apps/web/dist/assets/noto-sans-sc-44-wght-normal-cbKJlTUe.woff2 54.24 kB
+apps/web/dist/assets/noto-sans-sc-38-wght-normal-4Nz8k_dt.woff2 54.59 kB
+apps/web/dist/assets/noto-sans-sc-30-wght-normal-B8_s30jZ.woff2 54.65 kB
+apps/web/dist/assets/noto-sans-sc-57-wght-normal-DU8YBsDj.woff2 55.49 kB
+apps/web/dist/assets/noto-sans-sc-69-wght-normal-D596Jjl2.woff2 55.60 kB
+apps/web/dist/assets/noto-sans-sc-47-wght-normal-C5Kgg1_m.woff2 56.15 kB
+apps/web/dist/assets/noto-sans-sc-74-wght-normal-Cte7o1QG.woff2 56.42 kB
+apps/web/dist/assets/noto-sans-sc-115-wght-normal-BN__2iBG.woff2 56.50 kB
+apps/web/dist/assets/noto-sans-sc-23-wght-normal-4HrHKhpL.woff2 56.79 kB
+apps/web/dist/assets/noto-sans-sc-112-wght-normal-CiZxJMyY.woff2 57.64 kB
+apps/web/dist/assets/noto-sans-sc-58-wght-normal-CE0BKS9u.woff2 57.64 kB
+apps/web/dist/assets/noto-sans-sc-46-wght-normal-CErGc6Mt.woff2 57.66 kB
+apps/web/dist/assets/noto-sans-sc-114-wght-normal-CRH9SDZu.woff2 57.96 kB
+apps/web/dist/assets/noto-sans-sc-101-wght-normal-c94LAl5p.woff2 58.20 kB
+apps/web/dist/assets/noto-sans-sc-25-wght-normal-C3Jm6l7O.woff2 58.32 kB
+apps/web/dist/assets/noto-sans-sc-113-wght-normal-OgQXOX6x.woff2 58.64 kB
+apps/web/dist/assets/noto-sans-sc-62-wght-normal-CXXMAq-5.woff2 59.11 kB
+apps/web/dist/assets/noto-sans-sc-109-wght-normal-CnjNbNmw.woff2 60.37 kB
+apps/web/dist/assets/noto-sans-sc-102-wght-normal-C1RtbCZr.woff2 60.70 kB
+apps/web/dist/assets/noto-sans-sc-107-wght-normal-kFQzJDLH.woff2 61.07 kB
+apps/web/dist/assets/noto-sans-sc-110-wght-normal-D2JBr045.woff2 61.47 kB
+apps/web/dist/assets/noto-sans-sc-104-wght-normal-CJT2ioDJ.woff2 61.58 kB
+apps/web/dist/assets/noto-sans-sc-105-wght-normal-BFoiJwz2.woff2 61.82 kB
+apps/web/dist/assets/noto-sans-sc-24-wght-normal-B58DWgHS.woff2 62.58 kB
+apps/web/dist/assets/noto-sans-sc-106-wght-normal-D6uUHw3w.woff2 62.63 kB
+apps/web/dist/assets/noto-sans-sc-111-wght-normal-ClFr5QXM.woff2 62.66 kB
+apps/web/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf 63.63 kB
+apps/web/dist/assets/noto-sans-sc-103-wght-normal-DGHo20nu.woff2 63.86 kB
+apps/web/dist/assets/noto-sans-sc-100-wght-normal-DrqXJETY.woff2 64.54 kB
+apps/web/dist/assets/noto-sans-sc-108-wght-normal-7aXvqIa2.woff2 64.55 kB
+apps/web/dist/assets/noto-sans-sc-22-wght-normal-VXjdYcT-.woff2 65.38 kB
+apps/web/dist/assets/noto-sans-sc-45-wght-normal-MKIEVRIC.woff2 67.62 kB
+apps/web/dist/assets/noto-sans-sc-119-wght-normal-BfzSEbFz.woff2 76.80 kB
+apps/web/dist/assets/paper-Cn8TMtqS.png 148.20 kB
+apps/web/dist/assets/GeistMono-Cfl0yKzG.ttf 171.94 kB
+apps/web/dist/assets/pdf.worker.min-CHFwMXne.mjs 1,262.39 kB
+apps/web/dist/assets/notosans-CW5yE9Hg.woff2 1,263.47 kB
+apps/web/dist/assets/PublicNotebookSharePage-BK8LNcRQ.css 0.50 kB │ gzip: 0.23 kB
+apps/web/dist/assets/editor-body-fonts-BqnTZYHk.css 1.15 kB │ gzip: 0.29 kB
+apps/web/dist/assets/note-print-BWtgJwQg.css 2.06 kB │ gzip: 0.89 kB
+apps/web/dist/assets/EditorPane-LtAhEE17.css 2.35 kB │ gzip: 0.55 kB
+apps/web/dist/assets/tiptap-ime-test-B4Uk6-1q.css 2.58 kB │ gzip: 0.99 kB
+apps/web/dist/assets/vendor~AssetsPane-BrSnRnWF.css 3.85 kB │ gzip: 0.89 kB
+apps/web/dist/assets/vendor~PublicSharePage~PublicNotebookSharePage~ImageViewer~EditorPane~AssetsPane-DbXbUOzB.css 5.32 kB │ gzip: 1.40 kB
+apps/web/dist/assets/vendor~mathlive-loader-BnjoTxG4.css 8.00 kB │ gzip: 4.20 kB
+apps/web/dist/assets/mobile-edit-BI24QlaH.css 18.05 kB │ gzip: 4.01 kB
+apps/web/dist/assets/vendor-mermaid-render-B-Q3nfDX.css 29.73 kB │ gzip: 7.94 kB
+apps/web/dist/assets/vendor~note-print-CxQ48Nho.css 107.96 kB │ gzip: 45.41 kB
+apps/web/dist/assets/web-B70Ub5If.css 307.97 kB │ gzip: 43.69 kB
+apps/web/dist/assets/app-DwB25oMh.js 0.04 kB │ gzip: 0.06 kB
+apps/web/dist/assets/__vite-browser-external-DpH90L5b.js 0.09 kB │ gzip: 0.10 kB
+apps/web/dist/assets/editor-body-fonts-By7GivfH.js 0.09 kB │ gzip: 0.11 kB
+apps/web/dist/assets/vendor~mathlive-loader-yEMH38Wz.js 0.09 kB │ gzip: 0.11 kB
+apps/web/dist/assets/diagram-canvas-BOChQO7q.js 0.14 kB │ gzip: 0.14 kB
+apps/web/dist/assets/vendor~mobile-edit~PublicSharePage~PublicNotebookSharePage~EditorPane~AssetsPane-BLSRHTcd.js 0.15 kB │ gzip: 0.15 kB
+apps/web/dist/assets/vendor~mobile-edit~tiptap-ime-test~EditorPane-Ds_mmMbM.js 0.18 kB │ gzip: 0.16 kB
+apps/web/dist/assets/vendor~WorkspaceApp~motion-features~TableEditorPane~PosterEditorPane~InfographicEditorPane~~mt7kn6eb-DFGnqCoe.js 0.19 kB │ gzip: 0.16 kB
+apps/web/dist/assets/diagram-layout-C3mDe62A.js 0.21 kB │ gzip: 0.18 kB
+apps/web/dist/assets/vendor~wasm-jp5NJvOR.js 0.23 kB │ gzip: 0.19 kB
+apps/web/dist/assets/environment-title-DdzbMF65.js 0.23 kB │ gzip: 0.21 kB
+apps/web/dist/assets/vendor-tiptap-pm-DjHulqJX.js 0.24 kB │ gzip: 0.20 kB
+apps/web/dist/assets/chunk-Y2CYZVJY-B1SHfbc6.js 0.25 kB │ gzip: 0.21 kB
+apps/web/dist/assets/vendor~infographic-direct~index-D3jGLkK2.js 0.26 kB │ gzip: 0.22 kB
+apps/web/dist/assets/version-check-_OiBR0a_.js 0.26 kB │ gzip: 0.22 kB
+apps/web/dist/assets/editor-body-font-faces-CwdkXjKm.js 0.28 kB │ gzip: 0.21 kB
+apps/web/dist/assets/vendor-mermaid-render-DfZ6ogeH.js 0.28 kB │ gzip: 0.21 kB
+apps/web/dist/assets/vendor-mermaid-render-NxdRaFD6.js 0.28 kB │ gzip: 0.21 kB
+apps/web/dist/assets/vendor~ReadOnlyX6Diagram~DiagramEditorPane~swimlanes-SLNWSIFB~dagre-VZM6K2ZE-Dy9g5Mhm.js 0.29 kB │ gzip: 0.23 kB
+apps/web/dist/assets/chunk-2Q5K7J3B-DVXk07I1.js 0.30 kB │ gzip: 0.23 kB
+apps/web/dist/assets/motion-features-CPmLKcY2.js 0.30 kB │ gzip: 0.22 kB
+apps/web/dist/assets/abort-signal-EWKjZ7qx.js 0.30 kB │ gzip: 0.23 kB
+apps/web/dist/assets/mathlive-loader-eopGBtM3.js 0.31 kB │ gzip: 0.23 kB
+apps/web/dist/assets/workspace-ui-BA7cYpV5.js 0.31 kB │ gzip: 0.24 kB
+apps/web/dist/assets/format-bytes-8JQistBN.js 0.31 kB │ gzip: 0.25 kB
+apps/web/dist/assets/speech-transcription-error-CI8EfGZu.js 0.32 kB │ gzip: 0.24 kB
+apps/web/dist/assets/vendor~motion-features-BMcMIUk8.js 0.32 kB │ gzip: 0.23 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~DiagramEditorPane-OL4UqYoa.js 0.33 kB │ gzip: 0.28 kB
+apps/web/dist/assets/chunk-JWPE2WC7-Djgb-470.js 0.33 kB │ gzip: 0.23 kB
+apps/web/dist/assets/font-assets-registry-BKwjANKg.js 0.35 kB │ gzip: 0.27 kB
+apps/web/dist/assets/vendor-icons~tally-1-EetJB-Qs.js 0.36 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~slash-4GiS9UpY.js 0.36 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~wifi-zero-CeOc1GZX.js 0.36 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~minus~EditorPane-DJAbwznS.js 0.36 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~signal-zero-Bxqx25tG.js 0.36 kB │ gzip: 0.29 kB
+apps/web/dist/assets/public-demo-DoZs6fyU.js 0.36 kB │ gzip: 0.26 kB
+apps/web/dist/assets/vendor-icons~dot-DkvkuWGO.js 0.37 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~index~stateDiagram-OKZ733FA~dagre-VZM6K2ZE-BVmgL03J.js 0.37 kB │ gzip: 0.28 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~TemplatesPane~TableEditorPane~SettingsPane~PublicTabl~mwxpylb6-D0LVEN-F.js 0.37 kB │ gzip: 0.30 kB
+apps/web/dist/assets/ExecutionCenterButton-Bzq8_q8p.js 0.37 kB │ gzip: 0.26 kB
+apps/web/dist/assets/vendor-icons~circle-small-DFoU90yA.js 0.37 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~TableEditorPane~SettingsPane~PublicSharePage~PublicNo~ftji5mkv-ChayuJg6.js 0.37 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~TableEditorPane~SettingsPane~PublicSharePage~PublicNo~i4surozt-BYcc_O32.js 0.37 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~mountain-Ctyl-qbC.js 0.37 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TableEditorPane~SettingsPane~PosterEditorPane~NotebookSiteManagem~kasttdcv-B3MlwVG6.js 0.37 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~ExecutionCenterPane~TableEditorPane~SettingsPane~Publ~f7zjjeg4-DajzPxT0.js 0.37 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~ExecutionCenterPane~TemplatesPane~TagsPane~TableEdito~i0wq0adf-Oxs0DUSW.js 0.37 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~bluetooth-C-MCZhWO.js 0.38 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~ellipse-D9nnWNeS.js 0.38 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~fish-symbol-Cz66lxk8.js 0.38 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~navigation-WflR11hP.js 0.39 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~navigation-2-L0QRyFgs.js 0.39 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~ExecutionCenterPane~TableEditorPane~SettingsPane~Publ~f1lzi7rj-C5JVlW5P.js 0.39 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~space-DCOF1zQW.js 0.39 kB │ gzip: 0.31 kB
+apps/web/dist/assets/chunk-XXDRQBXY-CiX6HPic.js 0.39 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~square~InfographicEditorPane~EditorPane~Diagr~k5jqznf2-Dp41Di2U.js 0.39 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~egg-DE4Vp9wT.js 0.39 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~tally-2-BgyunlRu.js 0.39 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~thermometer-Dls-Dwp-.js 0.39 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-mermaid-render-j5UpoTlc.js 0.40 kB │ gzip: 0.25 kB
+apps/web/dist/assets/vendor-icons~option-BtkgLPHn.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~rectangle-vertical-DOzlQ5WL.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/ai-provider-relay-qVeE_V0q.js 0.40 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TemplatesPane~TableEditorPane~SettingsPane~PublicSharePage~Public~lcgs7eqt-C7JdP-hQ.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~signal-low-LZVP7sPw.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~unlink-2-CTPa3AAn.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~app~mobile-edit~WorkspaceApp~TemplatesPane~TagsPane~TableEditorPane~SettingsPa~h1d3grsm-9UHnKmUU.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~move-up-APDMDKTI.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/app-page-path-CDGiTBIb.js 0.40 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~move-left-DpCtNA4w.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~squircle-CNsyFFcV.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~move-up-left-BMaVF25G.js 0.40 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~arrow-up-left-CKt_E9zI.js 0.40 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~chevron-last-aLUy0Fau.js 0.40 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~cloud~DiagramEditorPane~DesktopSyncIssuesDialog-BQ0QUa2y.js 0.40 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~chevron-first-DM2_T9tU.js 0.40 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~move-down-CZl7Qybb.js 0.40 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~move-up-right-C0gn2cbh.js 0.40 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~music-3-ByVJLN4C.js 0.40 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~rectangle-horizontal-DqRoYiBY.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~arrow-down-left-C29f1d7P.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~clock-12-Bsp1rdsv.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~clock-6-DZfDjkzB.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~move-down-left-BL18RvqC.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~move-right-DlZFmrQs.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~arrow-up~InfographicEditorPane~EditorPane~Dia~m0uuy1y9-CIgDIUp1.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~code-x7jeuz1L.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~arrow-down-right-CN-YkI5F.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-9-DYBcUdlj.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-CS4ScSMP.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~terminal~EditorPane~AssetsPane-DXzBmGuY.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~move-down-right-CmPe2wzx.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~chevrons-down-B79E_G7v.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~clock-1-nd9y_ydd.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-2-D8QEokjs.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-4-cRdIAJr6.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-5-ooKcf0kQ.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~PublicNotebookSharePage~PosterEditorPane~NotebookSiteManagementPage~arrow-left-D-xFNGuh.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~arrow-down~InfographicEditorPane~EditorPane~D~m54rxy7h-BOH0JMY5.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~TemplatesPane~PublicNotebookSharePage~PluginMarketplacePane~NotebookPane~arrow~ouizpsfg-jPA47JsJ.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~chevrons-up-D7iqnCJg.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~circle-minus-D1vFRFi9.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-7-CShR5JeZ.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-8-BvrFkqx9.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~infinity-DKf-0Qfx.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-10-BwsFRVGC.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~clock-11-0qfjDI3D.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~power-CfKPbozm.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~arrow-up-right-CYwHAaTy.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~blend-GDTfkFbo.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~chevrons-up-down-BAQUP58N.js 0.41 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~trending-up-BURJIJLU.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~ExecutionCenterPane~PublicSharePage~PublicNotebookSharePage~PluginMarketplaceP~ilxx7hhe-CggtX8oi.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~reply-BL_I3Cr3.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~wifi-low-Bh81r_CH.js 0.41 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~music-2~InfographicEditorPane~EditorPane~Diag~fji34rqc-BhWFL-ty.js 0.41 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~chevrons-left-right-D5CEdbZP.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~circle-slash-2-Dg_PeVi2.js 0.41 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~trending-down-ByN_4hD8.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~check-check-Bgu03rku.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~chevrons-right-left-OPFnkT4Z.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~forward-Bn7MlvzJ.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~iteration-cw-BolqnAUo.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~russian-ruble-DaZcWjiy.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~triangle-BwAuFhe-.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~chevrons-right-C5vNb5bb.js 0.42 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~chevrons-left-CMjKQRL6.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TableEditorPane~SettingsPane~PublicNotebookSharePage~PosterEditor~gi8qlr2b-5G0bscEJ.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~ban-C4wpYKRT.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~chevrons-down-up~EditorPane-BDsfuMVC.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~eclipse-BvCo2y50.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~circle-dot-CqW-1pVe.js 0.42 kB │ gzip: 0.30 kB
+apps/web/dist/assets/vendor-icons~command-DO7nXfNo.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~iteration-ccw-BB0yfvSO.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mouse--uoO4E2i.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/memo-safety-DZ1iUa9b.js 0.42 kB │ gzip: 0.26 kB
+apps/web/dist/assets/vendor-icons~circle-chevron-up-CG8WKNw6.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~gauge~DiagramEditorPane-B3stEC8n.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~disc~EditorPane~AssetsPane-Djnzq_TL.js 0.42 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~corner-right-up-Cwvty5GJ.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~PosterEditorPane~bold~EditorPane-2-yclTfC.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~rows-2-DNrTvdp2.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~zodiac-taurus-CvuoqN5l.js 0.42 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~ExecutionCenterPane~SettingsPane~PluginMarketplacePane~NotebookPane~circle-che~df8l7ifm-DuMCuSb0.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~corner-left-up-Do3gK874.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~corner-up-left-CR26fIXC.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~crop-Ba9N0PQC.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~tv-PuTVvoF8.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-chevron-down-Dp7cUOGo.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-chevron-left-C3L4llSj.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-chevron-right--AH8DmOj.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~undo-DTPbQ1QS.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~columns-2-DqdD9Zj7.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~corner-down-right-DOUQBWRR.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~corner-right-down-CoJQc261.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~corner-up-right-lczegDlX.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~panel-left-BbgjZBwp.js 0.42 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~parentheses-DfVVul1_.js 0.42 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~corner-left-down-D2mIhuN3.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~equal-C02Mn_zz.js 0.43 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~flag-triangle-left-DOfW_6Ph.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~flag-triangle-right-Ctr0cVb1.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~redo-C5F0gn42.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~tv-minimal-Cv3-kxe1.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~user-round~EditorPane~DiagramEditorPane-Bqyd2Lwz.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~copyleft-C4hK8IM9.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~panel-right-C3DZvmAD.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-minus-AIjphPDZ.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-slash-CEkxBUIu.js 0.43 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~diff-BjsFRgt_.js 0.43 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~kanban-Beq3sE-L.js 0.43 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~panel-bottom-u6cXCnmi.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~triangle-right-3EHDN8g9.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~chart-line-BgVv2df7.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~copyright-BBUq8PHh.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~line-dot-right-horizontal-DKn59AaP.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~tally-3-CDkegAtK.js 0.43 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~corner-down-left~InfographicEditorPane~Editor~ech6o313-ChSomSdA.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~battery-B0frorbJ.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~circle-parking-Cgiharbb.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~cylinder-95gb3oqi.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/infographic-syntax-adapter-C0LUTQ34.js 0.43 kB │ gzip: 0.29 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~contrast-CX1tOLYl.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~dice-1-D354_hvK.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~panel-top~EditorPane-BCu6f47m.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~book-D0VhxviG.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-check-big-CDFEK8uX.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~list-filter-CYplADd3.js 0.43 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-check-B7h1ylz6.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~PublicNotebookSharePage~menu-B5Mo0E7K.js 0.43 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~PluginMarketplacePane~NotebookPane~play-Ci2vmOL4.js 0.43 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~line-squiggle-BuQc5omj.js 0.43 kB │ gzip: 0.35 kB
+apps/web/dist/assets/settings-ui--Z3yyHkC.js 0.44 kB │ gzip: 0.26 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~underline-DTQWFq8V.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~at-sign-DCiMB5Fo.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~circle-stop-CGFmCmi5.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~flame-IHcrbLXA.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~heading~EditorPane-39q9kpA1.js 0.44 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~slice-D-70VwYw.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-dot-DTkhl8DA.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~swiss-franc-DNXZBjEB.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~toggle-left-BiRjdT4w.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~torus-CeO4_CAP.js 0.44 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~x-line-top-BwUGstF6.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~baseline-DLrjAQ4g.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-chevron-up-Chwa4fOf.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~venus-5p7iU_ls.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~zodiac-aries-CDOBqmRg.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~rotate-cw-CGqAFFid.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~signal-medium-CbG4W7gh.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-radical-BcAH3YkZ.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~toggle-right-B6S1YdOf.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~user-DOimmUJQ.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~check-line-CCBSU4SI.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~list-sort-ascending-BCy-2FIi.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-chevron-down-BwwH4aib.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-chevron-left-D3R5QaKO.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-chevron-right-BhVkStur.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~text-align-justify-BpymwjrQ.js 0.44 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~chart-no-axes-gantt-Cg5N3CJl.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~list-sort-descending-CZn3RELY.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~SettingsPane~PublicSharePage~PublicNotebookSharePage~~bktkkp7h-Cu90Eo4O.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~move-diagonal-GhUZGm9I.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~text-align-end~EditorPane-C1ikLAm3.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~chart-no-axes-column-Dza8IFM5.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~radical-XJh6Uwew.js 0.44 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-plus-2dT5S25O.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~credit-card-CkotO_D8.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~SettingsPane~PublicSharePage~PublicNotebookSharePage~~ncti3eqd-Cl5SJ0Bu.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~move-diagonal-2-BGe_w3HR.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-slash-41RrcMlC.js 0.44 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~zodiac-sagittarius-DtHb9yXD.js 0.44 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~text-align-start~EditorPane-ch82csq3.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~move-vertical-CWVdUc6V.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-sigma-CBg9wbZe.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~text-align-center~EditorPane-QUgZXkS5.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~arrow-up-from-line-D4ZdW3vj.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~cone-CJ6k1dkT.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mars-BCyKEAEf.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~rectangle-circle-BjUh5WYu.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-parking-BEmZj9r2.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~arrow-down-from-line-C3edMW3z.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~arrow-left-from-line-DJu8MoyS.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-equal-C4WwmL_s.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~move-horizontal-BazWhAXw.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-activity-B2dBcXQ_.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/note-image-asset-urls-CsMUQx0R.js 0.45 kB │ gzip: 0.26 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~info~DesktopSyncIssuesDialog-DuR20ylZ.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~pause-BVqlAXTI.js 0.45 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~arrow-right-from-line-CKw1ri8q.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~droplet-DA--k7-7.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~ratio-CI3mVv6P.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~lock~EditorPane-D5F1Sw72.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~asterisk-wtF4gV_7.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mail-DONNcWqp.js 0.45 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~pill-D0vSw4B9.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~arrow-up-to-line-oRtVbaDU.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~circle-x~DesktopSyncIssuesDialog-D4uWbR8Q.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PosterEditorPane~redo-2~EditorPane~DiagramEditorPane-DVnJoqkM.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~separator-vertical-0XT5cgWM.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~arrow-left-to-line-DkhNtXHE.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~PublicSharePage~PublicNotebookSharePage~code-xml~EditorPane~Diagr~032k24ny-1UCn_12c.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~captions-f-AVY7T_.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~git-commit-vertical-CnR4szzw.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~TableEditorPane~PosterEditorPane~undo-2~InfographicEditorPane~Edit~pxe0tw3o-Byy7BpWI.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~arrow-down-to-line-Cje_vBzO.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~spell-check-C7vzuRNK.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~flask-round-BIS1k6x1.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~separator-horizontal-hUrlc1gs.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-stop-0u4X5NYq.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~lock-open~EditorPane-DaKkuacy.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~album-DDwBzGYQ.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~chart-no-axes-column-decreasing-DxbkyvJ2.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~chart-no-axes-column-increasing-eROrCO1R.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~chart-spline-CMsJPWje.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~disc-2-CkIMkLbP.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~laptop-minimal--2jFrNe7.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~moon-9x8SgafS.js 0.45 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-square-D5X3IND4.js 0.45 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~turkish-lira-BeO-8vfp.js 0.45 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~arrow-right-to-line-BAh2ihKG.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~arrow-up-from-dot-DmgxZXn-.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~dock-BYYMZ7SY.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~ungroup-DTbLEqQS.js 0.46 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~arrow-down-to-dot-Z-jq_PT2.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-down-CvyqLN-k.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-up-D62a0BUu.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~dollar-sign-BQh3ZlO2.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~tablet--XneTtJS.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~audio-waveform-Bawe7JrB.js 0.46 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~brackets-tCk027mY.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-left-Cy2yweQ1.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~cloud-lightning-CUriBFG1.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~rows-3-CJxA24gZ.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~search-check-Bhgd_FpZ.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~search-slash-DUhI_kSW.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-right-BSw3igSX.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~highlighter-5swQhhha.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~japanese-yen-C-liddGa.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~pilcrow~EditorPane-Dc89Q48c.js 0.46 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~sigma~EditorPane-DxBTul53.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~smartphone-charging-36rlVs4R.js 0.46 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~stretch-vertical-Bf3povKv.js 0.46 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TableEditorPane~NotebookPane~table-2-BBEbqjk6.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~columns-3-CcZqJx6c.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~reply-all-C2pOdfQc.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~zodiac-ophiuchus-qwg-cSWt.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~beaker-Di6hnuZ4.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~cloud-check-aZ1xMpyc.js 0.46 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~globe-check-D1F7DOhf.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~rss-CoaSEa2n.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-plus-B5czOpnC.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~stretch-horizontal-BrTEd6D_.js 0.46 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~touchpad-CZdTEeew.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~undo-dot-DXtsCKMU.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~bluetooth-off-BIj0CHqX.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-out-up-left-Ivwx2XuZ.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~lens-concave-BCnkTvwz.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~PublicSharePage~PublicNotebookSharePage~NotebookPane~~g2zj55r8-BpyAkcaT.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~spline-BjJsrk0s.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~briefcase-D4QVgjLM.js 0.46 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~airplay-DJ3I8UyU.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~battery-low-CqRcAHlP.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~SettingsPane~PublicSharePage~PublicNotebookSharePage~PosterEditorP~dhvmefrh-DvrWnYos.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-equal-CYgumZo_.js 0.46 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~zodiac-pisces-Cag49ayF.js 0.46 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~git-merge-yNCvINiU.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~panels-top-left-BC8c9FY5.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-round-corner-CPIep0kW.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~tally-4-yGjvFiGd.js 0.47 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~grid-2x2~DiagramEditorPane-C81wVkRK.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~share-DdOj3YAx.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~user-round-minus-BgCwO9yE.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/chunk-3NCLNEKW-Cr9_wNz8.js 0.47 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-out-up-right-ClLdFs8r.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~circle-power-BFspq58K.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~clock-check-eRuHqETQ.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~dice-2-TtnZ1hK9.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~gallery-vertical-BD7v8qyO.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~library-Bsw4C4gE.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~log-out-C41xO67N.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~omega-7sMYi_-B.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~section-BPsVsJ8a.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~vote-DZxbk3Wv.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~wallet-minimal-Ck6B8g__.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~divide-CPPJWEBE.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~gallery-horizontal-CX2V0RR9.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~log-in-CoVrHyMP.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~rainbow-BtmfQti0.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-x-itBGqosX.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~text-quote-uChYl8-S.js 0.47 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~zodiac-leo-CydZta4w.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/chunk-5VM5RSS4-DsPhUkKm.js 0.47 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-out-down-left-BekDoRnl.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~club-DlUMEDjB.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~door-closed-Co-3IW_C.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~hdmi-port-DQe_nhPg.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~hexagon-Bmxy9XLW.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~panels-left-bottom-B0J8MJr9.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~philippine-peso-C0A1ThJQ.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~wifi-high-BDgUpVjO.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~target-D2mXJJWu.js 0.47 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~PosterEditorPane~NotebookPane~ellipsis~InfographicEd~m5g4j7j5-D5LYHNnH.js 0.47 kB │ gzip: 0.32 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~merge~MemoListMobileSheets-3PFMgxgZ.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~ear-CjAX-v82.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~equal-approximately-BvKJRvyf.js 0.47 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~gallery-vertical-end-DiQvfT_p.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~list-minus-BAiM-e_g.js 0.47 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mountain-snow-BG1Xpp2H.js 0.47 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~panel-top-close-CW3AgBWK.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~panel-top-open-Ly0JnYyD.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~panels-right-bottom-CU3WKV0L.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~user-round-check-C7EQhGry.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~voicemail-Cgy-8Gdi.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~folder~MemoListMobileSheets-DQRszFDB.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mic-SgKt13az.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mirror-rectangular-Ca2qUTve.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~pen-Bzh4ofuT.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~square-check-big~MemoListMobileSheets-B5LOe5j0.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~book-minus-B_KLA3A-.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-arrow-out-down-right-BgFCzDht.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~gallery-horizontal-end-CPO7DYDJ.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~git-branch~DiagramEditorPane-PFYePef_.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~pi-6v32dZec.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~signal-high-D-OFgoY_.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-arrow-down-C9ZspqL9.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-arrow-up-B_xZk0ep.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~PluginMarketplacePane~upload-BKS4dn_5.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~bookmark-B8SYezpe.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~annoyed-BW-Qvljy.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~circle-gauge-D1F7t6Ia.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~headphones-DIj4ScsE.js 0.47 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~panel-bottom-open-BgWDZZzc.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~skip-back-BqLnztZZ.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~skip-forward-CtCiV8DR.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-arrow-left-BwK_C_9s.js 0.47 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-arrow-up-left-DEqM44-j.js 0.47 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~zodiac-libra-DVvmLyg0.js 0.47 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~disc-album-_-xCIR7-.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~list-check-DtWTPOd1.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~panel-bottom-close-DeRqo0FE.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~shell-Gn-NR08Y.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-arrow-right-xgQB-CQL.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-arrow-up-right-CcCITD3T.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~step-back-CKyOo3LQ.js 0.48 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~step-forward-QM0rWfuC.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~timer-aX_ykuiJ.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~ampersand-BBSrRDBW.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~bed-BPVwTpZl.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~TableEditorPane~SettingsPane~PublicSharePage~PublicNotebookSharePa~gkk2wrqi-DO0IxUsJ.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-arrow-down-left-C9lF40h9.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~message-square-D3SS6o0G.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TableEditorPane~PosterEditorPane~NotebookPane~paperclip~MemoListM~ks61aee4-CDA1hnMQ.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~cloudy-B6sL0Y1x.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~laptop-minimal-check-CuEl1jq2.js 0.48 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~redo-dot-BqGJncHw.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-arrow-down-right-DGqukLxM.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/markdown-source-search-Bd6oVAyn.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~PublicNotebookSharePage~panel-left-open-BcP-IJOA.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~NotebookPane~activity~DiagramEditorPane~DesktopSyncI~cxmt6yjr-s4z1QrUD.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~heading-1~EditorPane-DlExj6Q7.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~PublicSharePage~PublicNotebookSharePage~NotebookPane~~dwgvdaiw-B_1jSUXw.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~popsicle-BL443Hxz.js 0.48 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~proportions-BAe4CbCS.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~ellipsis-vertical-B6JrbQs-.js 0.48 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~align-horizontal-space-around-BLih9FFG.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~percent-DHVa2NEu.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~PublicNotebookSharePage~PosterEditorPane~panel-left-close-CicUzbzs.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~panel-right-close~InfographicEditorPane~Edito~ezz75nxs-CAcWkDW0.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TemplatesPane~TableEditorPane~SettingsPane~PublicSharePage~Public~mtnrimrb-DRh8pc0z.js 0.48 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~book-check-bKRw-Hxz.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~cloud-fog-C5vFF_0-.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~move-3d-CY5hsA5G.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-code~EditorPane-MuOKTRaM.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~user-check-COOmriO8.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/ui-button-tooltip-CpXG6IOe.js 0.48 kB │ gzip: 0.31 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~panel-right-open-BBHe0QH_.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~PluginMarketplacePane~history~EditorPane~DiagramEditorPane-NC0T7Tto.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~lasso-pTn7IDQa.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~arrow-up-down-CWukUvy9.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~banknote-DbAxnXFW.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~bluetooth-searching-DcbEFh8A.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~chart-bar-DyhU36zS.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~PosterEditorPane~maximize-~hbrks3pw-CCyHSLTq.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~vibrate-DniqJJ6i.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-pause-C813N69Y.js 0.48 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~equal-not-CA6iDS7n.js 0.48 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~square-power-DdxirDm4.js 0.48 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~wind-D19DLk8z.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~align-vertical-space-around-DMn_dRy-.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~book-marked-DyVZGdgq.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~PosterEditorPane~minimize-~nfl1vouv-D33vmdbZ.js 0.48 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~non-binary-J8_oCYqe.js 0.48 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~picture-in-picture-2-Vm8hIPAl.js 0.48 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~arrow-left-right-XmPB7GQi.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~chart-gantt-MwK-uPch.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-dollar-sign-wbxEBILE.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~cloud-alert-DwsWlU8p.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~goal-DUxiV24D.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~message-circle~EditorPane-CW1fmlCG.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mouse-left-CmDRCmGX.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~link-2~EditorPane-CsBBeiyo.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TableEditorPane~SettingsPane~PosterEditorPane~NotebookSiteManagem~i6dbh2vn-bWY4voWv.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-off-CJH8Hkh7.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~donut-Buqy1zu3.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~square-terminal~EditorPane~hpqk7qrp-D0Xcg3Bj.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~tent-BMzs69EO.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~test-tube-OKhpFeqU.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~grid-2x2-check-nHy0Cx04.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~SettingsPane~PublicSharePage~PublicNotebookSharePage~~k7vsfsee-C8VwZk3C.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~pentagon-OpdxmtkJ.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~italic~EditorPane-CVJuMGln.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~diamond~DiagramEditorPane-CcJANZxk.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~lens-convex-sgc0c7XH.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~sword-BkHq3eqT.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~arrow-down-up~DiagramEditorPane-BsxRhken.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-percent-CohJHGuH.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~lollipop-CQiD7Eo9.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mouse-right-DqHztzQN.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~trash-DVwIMMOb.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~webcam-ASXZ7FSU.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mars-stroke-B1FNbkha.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~search-alert-BsnHlvpx.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~squares-unite-D_JSWcsu.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~ticket-minus-CtAdQYBf.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~users-round-9wkvQ9mJ.js 0.49 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~flag-BDOrJjYj.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~git-commit-horizontal-CsvbQJSt.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~globe-x-KVwO5wcd.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~pound-sterling-XC25ajzf.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~strikethrough~EditorPane-BinqStPG.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~arrow-right-left~InfographicEditorPane-C_73fT94.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-ellipsis-B3rWeE_n.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~circle-question-mark~EvernoteImportGuidePane-DAR9tXkD.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~fishing-rod-s41IUgZT.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~zoom-out~EditorPane~Diagra~mvaxmhia-DctbKAB4.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~TableEditorPane~PublicSharePage~PublicNotebookSharePage~PosterEdit~krdz64hs-BBzEp2K2.js 0.49 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~text-cursor-BzM401J0.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~text-wrap-COZ3a_TQ.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~chart-bar-decreasing-C3m6SblA.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~chart-bar-increasing-DG4BYl_9.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-play-B5JeGIRG.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~clipboard-BZZjiBbo.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~funnel-CeVd8ihm.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~georgian-lari-SWotHZJu.js 0.49 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~list-indent-decrease-CYST_JDD.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~list-indent-increase-CjaikzHu.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-m-BOe5JNPQ.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-user-round-B1q5meSR.js 0.49 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~user-minus-D4IIkDBj.js 0.49 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~waves-vertical-BIJLl7qs.js 0.49 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~ExecutionCenterPane~SettingsPane~PublicSharePage~PublicNotebookSha~kbnpko4e-C_42bey6.js 0.49 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~person-standing-C7QXNcgo.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~search-x-DXQPUnD-.js 0.49 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~mouse-pointer-2-DRDvXsse.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~cloud-upload-CZm5BAxf.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~bluetooth-connected-vNWz8F4U.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~chart-column~InfographicEditorPane-D31R7BmR.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~compass~InfographicEditorPane~DiagramEditorPane-CZMg4MPm.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~grid-3x2-BUYtPK61.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~SettingsPane~PublicSharePage~PublicNotebookSharePage~PluginMarketp~kwaoznow-QgrFBdnl.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~pc-case-Ds9m9Kik.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~pyramid-DLZ4dSH-.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~rectangle-goggles-DiCQGky5.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~zodiac-capricorn-BN3HN9uu.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~PluginMarketplacePane~NotebookSiteManagementPage~NotebookPane~Sha~bdrl566x-CbpkjED8.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~anchor-qU6PGyUq.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~map-pin-Dvby3IKS.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~martini-DVEb8L2u.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~music-4-COwF0ZBL.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~refrigerator-DGDYOv84.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~split-Cb3EHM-P.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-arrow-out-up-left-CNfMrNgP.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~ticket-check-Bd1ShfFy.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~ticket-slash-BFVNIWxl.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor~ReadOnlyX6Diagram~DiagramEditorPane~stateDiagram-OKZ733FA~swimlanes-SLNWSIFB~dagre-VZM6K2ZE-CfCjRgDW.js 0.50 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~circle-user-round-C217W0ua.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~archive-BLNW3NKA.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~align-end-vertical-Cj4M6d1B.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~circle-user-BPMHbRIC.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~euro-MuGBkDw4.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~map-pin-minus-inside-sMiCzqxB.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~weight-DMgJcd8l.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~align-start-vertical-B8UJCbgL.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~bed-single-BZ_-xVgz.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~cloud-download-CkjLuKsK.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~handbag-QmmImOl1.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~route~DiagramEditorPane-1iHiIggo.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~rows-4-DF_0aZYM.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-arrow-out-up-right-DoNtn9LY.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-kanban-B3qRy7XE.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~PublicSharePage~PublicNotebookSharePage~lock-keyhole~LoginScreen~~mui9pi84-CbVpPIaq.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~align-end-horizontal-CJUaeJeG.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~chart-column-decreasing-BK5iUdp5.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~chart-column-increasing-Di3QRhOX.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~clock-alert-JxKPtFQO.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~ghost-BUF9XVB0.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~import-BmKz2SqE.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~lock-keyhole-open-BNV9G2mA.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~navigation-off-Dyt3emDj.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-menu-tT3DtWwG.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~tree-deciduous-DXMsTBf0.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~vegan-5C9mWhOt.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~TemplatesPane~PosterEditorPane~eye~DiagramEditorPane~AiPromptsPane-BPjc--hi.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~align-start-horizontal-CNMBONx0.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~closed-caption-BBcBen4R.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~link~EditorPane-CPVyR-pc.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~navigation-2-off-DTGbFLDz.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-arrow-out-down-left-CCICyaDa.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-pause-BXewcray.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~table~EditorPane-C3jG5QIv.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~test-tube-diagonal-C2yXD5-X.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/notebooks-CG2Iy-OY.js 0.50 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~calendar-063eBFS7.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~columns-4-Dc9_f-tH.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~key-BHITjKio.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~tablets-CfkDsLas.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~heart-BuryZ4d4.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~barcode-CQX0fEAv.js 0.50 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~case-lower-CvbFiRGs.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~leaf-CiIgrXwe.js 0.50 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~SettingsPane~PublicSharePage~PublicNotebookSharePage~app-window~Ed~ckosv8d5-BUUQMDrC.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~trending-up-down-ScVWuTsi.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~user-round-plus-BsG0MtO_.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~user-round-x-BoJ7w9WY.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~waves-horizontal~DiagramEditorPane-Ck5lbXwF.js 0.50 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~monitor-ijUit6yN.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~blocks-D2HfES1u.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~heading-2~EditorPane-BSyWa37F.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~map-pin-check-inside-B4W16kjS.js 0.50 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~radio-receiver-f6ugnmJ3.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-dashed-bottom-B2Lg-4Wm.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~tornado-C9E_VVZ2.js 0.50 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~square-arrow-out-down-right-CUTTR8Jv.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-chart-gantt-DlA_OV1w.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-library-DArMWGk9.js 0.50 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~table-properties-CuePJxZG.js 0.50 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~tally-5-BDTgMckn.js 0.50 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~utensils-DcyZoL-n.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~app-window-mac-BF2-F7cA.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~axis-3d-BQ4aHq5C.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~badge-3mB22J6a.js 0.51 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~battery-medium-a-cgVl5F.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~between-vertical-end-Clkfi_VU.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~list-plus-B99X9Z8U.js 0.51 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~signal-BsNY0yne.js 0.51 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~table-cells-split-D-lwvVtl.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~align-vertical-justify-end-CCSkQcvo.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~dice-3-gPY9_FjC.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~ice-cream-cone-BJDCLGcl.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~monitor-check-DrRYYM3L.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~square-percent-B1U9XBak.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-user-BKqB4G2o.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~timer-reset-D5Cf-kQa.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~zap~DiagramEditorPane-DisKrLyl.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~align-vertical-justify-start-gT35-oV1.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~balloon-qvK2OerT.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~between-vertical-start-Ca4WD-_b.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~book-text-Dz5e3tGr.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~circle-pound-sterling-3WU550Sv.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~folder-minus-CTbZRQCD.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~rotate-cw-square-Cu5wXgao.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~signpost-big-GNr6U2Lh.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~align-horizontal-justify-end-C9SxiIIE.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~between-horizontal-end-DXyHvAm_.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~chart-bar-big-Dj9mfV-H.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~clock-arrow-right-DRF86c62.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~workflow~DiagramEditorPane-Dj6XiIn_.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TagsPane~SettingsPane~PluginMarketplacePane~NotebookPane~triangle~b6knwogc-C6fI62Qn.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~align-horizontal-justify-start-7NV529HV.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~align-vertical-justify-center-DSyuGV0d.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~folder-closed-DIjcAx3d.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~list-filter-plus-CdYkLq8k.js 0.51 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~repeat-Y8TUp0Ej.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~rotate-ccw-square-BHvVJN_z.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~search-code-oEsCGu8K.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-asterisk-TJAOCHFG.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-play-BLr3I8NG.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~bookmark-minus-CFo2MOIl.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~chart-column-big-Bc4jFC7G.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~clock-plus-fve6ghet.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~git-branch-minus-D8O0LKgl.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~repeat-2-lhf3wocN.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~speaker-DawwPMld.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~align-horizontal-justify-center-QU9Q_CzI.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~award-CmdJ8vLN.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~square-pi-BnncBne7.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~umbrella-E9gOHdAH.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~book-alert-DhFyLS0o.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~book-x-CSBD-J3-.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~list-x-DHQcTsE-.js 0.51 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~message-square-dot-Dm7Ivkxi.js 0.51 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~play-off-DPi-FxsV.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~rectangle-ellipsis-IkJ7vIl1.js 0.51 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~book-up-CQxlcaaf.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~folder-check-BmNn1_7E.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~scroll~EditorPane~AssetsPane-CrvBaXU8.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~TableEditorPane~SettingsPane~PublicSharePage~PublicNo~jbfpwvw5-BQk5z8tV.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~bolt--FhDG3TP.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~clock-arrow-down-xF0MxU0l.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~file~EditorPane~AssetsPane-D5v7qIp0.js 0.51 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~pen-line-u02B79VF.js 0.51 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~book-plus-DpYoi4ry.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~a-arrow-up-DUGcSWeQ.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~between-horizontal-start~EditorPane-D7FIcZF-.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~bomb-oavkn8sQ.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~book-a-CrPw-GfP.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~book-down-BtCiip26.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~bookmark-check-BsDY_9lW.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~mail-minus-DWAZhrGw.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~scale-3d-D2hmkJ8m.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~volume-Cy72IXMg.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~zodiac-gemini-DzxFxNRh.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~NotebookPane~shield-CbRK6kV0.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~decimals-arrow-left-497hG8P-.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~lamp-floor-DdSnSlyE.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~list-checks-1R9gNhiA.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~message-square-check-BxZHAc-N.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~power-off-B4nLPzgD.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~user-round-arrow-left-DdO3Nmog.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~user-search-CCRCJsS9.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~chart-pie-Jhf7RRk7.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~a-arrow-down-DaTvjGvc.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~clock-arrow-left-D8LLXAPP.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~cloud-rain-CkVlxoKI.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~list-music-Bhmzd_mY.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~sticky-note-D9LqthBU.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~clock-arrow-up-ZcbfllJi.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~grid-2x2-plus-DaetD3jR.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~grid-2x2-x-DiDjWrIu.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~rewind-BTDzb7NG.js 0.52 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~square-arrow-right-enter-DmftwZrO.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-function~DiagramEditorPane-B9KmMq8P.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~wind-arrow-down-CRqTIC5a.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~drumstick-CMyxWFna.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~eraser-BwACR4pC.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~plug-2-C2nuunQI.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-split-vertical-DJWWPwv6.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~tablet-smartphone-DIK8XtSm.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TemplatesPane~TagsPane~TableEditorPane~SettingsPane~PosterEditorP~c0deilnl-CeLUoKXH.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~arrow-big-down-Df6qUgSU.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~arrow-big-up-M-gL9Z3W.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~folder-bookmark-BFcuYpci.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~wine-CToxzufw.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~arrow-up-narrow-wide-BSZxeR5Q.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~arrow-up-wide-narrow-rt0yRto0.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~folder-dot-Dhyfo5IE.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mail-check-CESTWzTP.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~square-split-horizontal-DBY7zFX8.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~arrow-down-narrow-wide-BU1BBXLe.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~coins-CR8zrSfN.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~copy-check-CZd2GfoS.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~diamond-minus-BblvAsrg.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~fast-forward-B8HfNk7C.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~git-compare-BnuR9FmF.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~glass-water-DdzA1qd6.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~ligature-nl-PcyPi.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~list-collapse-CC5wOm1P.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~remove-formatting-D3CIP5jT.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~satellite-dish-yRSaNNSh.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~send-horizontal-DxpNah0O.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~braces~EditorPane~DiagramEditorPane-C-w4SpeD.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~PublicSharePage~PublicNotebookSharePage~PluginMarketp~peev57ou-Jl29PZQO.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~plug-BK0-Q0vG.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~rotate-3d-Dj9TTbte.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~scaling-CFUZ_exb.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~shirt-D1WQPRF_.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~summary-CIiWvgA7.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~user-round-search-BcCk_UBJ.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~wifi-Dj3i9_Dm.js 0.52 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~arrows-up-from-line-CJ-4XJBL.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~computer-D6RTXptZ.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~fishing-hook-B6vbdhxY.js 0.52 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~layout-panel-left-DafQf-vr.js 0.52 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~layout-panel-top-R6M1SznF.js 0.52 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~text-search-CSCnGppf.js 0.52 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~towel-rack-CwFKUdoz.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~toy-brick-BWrod4vY.js 0.52 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~house-zP2PjRpc.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~disc-3-BIH20ehO.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~list-chevrons-down-up-apDF3VwA.js 0.53 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~list-chevrons-up-down-DXppw1To.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~shrub-BR0meai5.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~tangent-DvivCWkZ.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~ticket-plus-Fi3VuAg7.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~form-CwmiSlIp.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~git-pull-request-BejlHAFS.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~list-end-CBdZMDXF.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mail-open-1D8RY_80.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~message-circle-check-DjlgPOE4.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~pill-bottle-0sRif2fT.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~scan-jfNCMxi_.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~square-pilcrow-DlUxUHHf.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~arrow-big-right-BJxgHonR.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~bell-Bj9HRl-Q.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~heading-4~EditorPane-B0ImMPYo.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~list-start-CPjbkXPx.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~monitor-stop-BcU_g9Vr.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~send-I2ZzYRBu.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~square-arrow-right-exit-C-YCGGYO.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~arrow-big-left-CoHrHBdp.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~egg-off-GzcAQczK.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~indian-rupee-DDtKuwk5.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~radius-Bol7CnjO.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~arrow-down-wide-narrow-DqPNlXw2.js 0.53 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~case-sensitive-CI4TnBlg.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~cloud-rain-wind-DgUKAOJh.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~shopping-cart-s7SqQ9en.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~variable-B22OBVDI.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~venus-and-mars-CPYzPjaW.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~wallet-cards-CAbt5YTQ.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~NotebookPane~layout-template~InfographicEditorPane-6FqeKK3w.js 0.53 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~inbox-SBJtLgO2.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~wallet-COh5NQMa.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~astroid-DcIuk21c.js 0.53 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~maximize-CoWTF06p.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~minimize-DvOxXD_L.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~NotebookPane~lightbulb~EditorPane-4G3h1wHz.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~pilcrow-left-De-GLE4l.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~smile-BlleuKyQ.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~turntable-BmCOb9kY.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~link-2-off-BFT8oxfo.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~meh-1DAXEtOw.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mirror-round-JY694nEW.js 0.53 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~pilcrow-right-BWDY7meg.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~bike-DY3Ae2Y8.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~book-user-DYcQZ1_l.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~frown-C24twasi.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~map-pin-plus-inside-CEyEcat3.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~frame-DHH_U9cu.js 0.53 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~hash-BW3e35Ps.js 0.53 kB │ gzip: 0.34 kB
+apps/web/dist/assets/vendor-icons~ticket-x-Cwzm6XHf.js 0.53 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~bed-double-D0Te-67u.js 0.53 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~egg-fried-D-UGQ147.js 0.53 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~monitor-cloud-DMfpULCR.js 0.53 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~archive-x-Cx63zM04.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~calendar-1-Cdh8GfTf.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~clipboard-minus-BCKmMqvT.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~copy-minus-DDOU7chf.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~copy-slash-BwErLb2f.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~folder-symlink-C9KMo02g.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~heading-6~EditorPane-MKUmwnes.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~headset-B9ZRJ1vg.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~rocking-chair-BdYb4WPz.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~folder-open-BeH8-Ia1.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~feather-Bga7izAU.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~panel-top-dashed-diaRdayi.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~spade--2pjctak.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~bone--3LSDweG.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~flame-kindling-Bn5LLqq2.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~monitor-dot-DhMyxWKb.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~panel-left-dashed-BD5d6BmG.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~SettingsPane~PosterEditorPane~PluginMarketplacePane~moon-star~~dhninctq-BoD5wQGA.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~battery-full-CxRORUIs.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~bean-sB7qhFkF.js 0.54 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~monitor-pause-BL9aD_j4.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~video-off-jQHnZI0O.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~grid-3x3~AssetsPane-CgQTww1M.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~calendar-minus-2-C4xhW2HD.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~chevrons-left-right-ellipsis-DjCsAnyn.js 0.54 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~circle-divide-VLp4yu_3.js 0.54 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~flask-conical-DGSo8iw9.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~line-style-3JjZGHL3.js 0.54 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~message-square-share-DCPi4Ffq.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~subscript-CLmGzRXP.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~thumbs-up-SGCG8mZD.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~list-tree~EditorPane~DiagramEditorPane-DPXtArhG.js 0.54 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~bookmark-off-Dtn79xOF.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~bubbles-x2mst55C.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~delete-DTJsdvxl.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~git-merge-conflict-CsKW57Mw.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~map-pin-x-inside-DGfo76np.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~monitor-up-CREKCwgY.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~parasol-BeRoKp0y.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~thumbs-down-BTThs659.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~clipboard-check-DZZKV_vX.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~lamp-ceiling-Bmgd5-uq.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mails-DeSLIvZa.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~paint-roller-BoeK3IH3.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~shrink-BTkqsi8z.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~zodiac-cancer-BGTQownC.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~ampersands-XTdJKnKe.js 0.54 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~arrow-up-a-z-CI-BXtRl.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~calendar-check-BYZVLBpU.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~gallery-thumbnails-BP_BpFSZ.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mouse-off-D3DW5zTN.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~panel-right-dashed-KXSg4UWm.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~table-cells-merge-B5449d6Y.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~arrow-up-z-a-CUVmcbzq.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~case-upper-9lc1E0J9.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~dice-4-CeJDOIgK.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~folder-plus-BVwHYU9D.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~joystick-CQNY1FLP.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~monitor-down-fkfRt2lE.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mouse-pointer-rzdwiyP8.js 0.54 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~panel-bottom-dashed-DWCqscts.js 0.54 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~user-x-C-TLzV5Z.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~cloud-off-DzJ91-Yl.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~align-vertical-space-between-B__L6hBD.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~arrow-up-0-1-B1zZpAeM.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~arrow-up-1-0-Ct262Ab2.js 0.54 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~book-audio-Dxv4cf19.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~git-pull-request-create-BgVbX199.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~list-todo~EditorPane-ChWkeJui.js 0.54 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~arrow-down-a-z-Dw5RkbVT.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~bookmark-plus-DQyspDVS.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~chef-hat-DTeDvkG7.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~cross-DO3wR_eg.js 0.55 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~laugh-ojT5PTKJ.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~monitor-x-CU6ebAUx.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~user-lock-C_cbPOo_.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~align-horizontal-space-between-BSZh2kct.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~align-vertical-distribute-end-BHtbsBlk.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~arrow-down-z-a-C0o6YqyC.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~brush-DowfaeCh.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~folder-clock-IWj1QSQK.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~inspection-panel-B5C_PhLq.js 0.55 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~zoom-in~EditorPane~Diagram~pemo4e6w-WObUY3eq.js 0.55 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~list~MemoListMobileSheets~EditorPane~AssetsPane-CV-xl_Nw.js 0.55 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~sprout-BqHa7iO-.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~text-initial-CjciZ_bB.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~tree-pine-GN7ntxn7.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~NotebookPane~wrench-JG10FXNU.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~align-vertical-distribute-start-DpPH7rpq.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~arrow-down-0-1-CA6969CU.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~arrow-down-1-0-D5UYPdIK.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~concierge-bell-BA4rnvlA.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~folder-up-BlFM1ItS.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~message-square-plus-CKAHcNpz.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~regex-B3BbKmXW.js 0.55 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~laptop-Ci38kexl.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~coffee-DWD7P3yv.js 0.55 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~align-horizontal-distribute-end-Cu6SSGSe.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~cloud-backup-tMkjoHj-.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-exclamation-point-CBbowoPW.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-minus-corner-iSM_6MUr.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~message-square-off-CFpoPb2-.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~scissors-Bat416w-.js 0.55 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~SettingsPane~PosterEditorPane~audio-lines~InfographicEditorPan~dpjhstjo-DRmFH-Qx.js 0.55 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~align-horizontal-distribute-start-kzfPuTSv.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~book-type-BE1AvffH.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-minus-0FnrNidp.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~hard-drive-upload-K_zoyv0r.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~zodiac-scorpio-DEMsIyZL.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~plane-Zo4UGPL7.js 0.55 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~NotebookPane~users-Bv5mZyHx.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~folder-down-BUkgg2B7.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~heart-minus-r-vUI1NP.js 0.55 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~repeat-1-ltqNy03g.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~road-IkRyiOx9.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~antenna-QyTfHEw9.js 0.55 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~apple-CCeI5mBV.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~flag-off-BWzt33io.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~folder-input-kWpTS5kR.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~ice-cream-bowl-Cd1zuRtY.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mail-plus-GGPtc_Ut.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~saudi-riyal-D6l0JxVF.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~shield-half-WBbDm__S.js 0.55 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~shield-minus-uJdDwDIK.js 0.55 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~sticky-note-minus-BharreT7.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~book-image-CJTHYVDj.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~bookmark-x-CqfRlpRw.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~bring-to-front-BdmPdaSx.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~chart-area-B638AOq0.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-check-corner-BbOFFaPb.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~folder-search-D-mJ1lXe.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~folder-x-CERJc5P6.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mail-x-CUAlnyPA.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~user-round-key-De0J7A5y.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~folder-output-Bhij83JQ.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~gavel-qOjATkdn.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~message-square-warning-Blryhjm3.js 0.55 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~user-plus-BQ4EBoZD.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~banana-B7UMwEWI.js 0.55 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~git-pull-request-draft-vrlllUNy.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~box~EditorPane~DiagramEdit~l3tyw0kh-ByRmvVnk.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~signature-CXJnqbXr.js 0.55 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~toilet-BPtyBBFN.js 0.55 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~videotape-Bsjenmnj.js 0.55 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~cast-Z2X1eFJu.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-check-C72MwAM0.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~message-circle-plus-B8O6dEsZ.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~message-circle-x-l0BVpLSg.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~message-square-x-3oSfsBZc.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~pencil-line-BRjsktBZ.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~sticky-note-check-1S3XHQ0Z.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~table-of-contents-BaKw1ahx.js 0.56 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~book-search-DtT1nHCN.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~hard-hat-DJNL8BFt.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~list-video-B-PfdkAs.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~star-half-BwPlVxKR.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~hard-drive-download-DyIGz5kM.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~diamond-plus-deuhtMxt.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~fuel-CqWTRg8F.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~move-ngBT-NDt.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~square-pen-BU_eBDhc.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~book-copy-DriRGsRE.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~cloud-moon-CL5tNDdC.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~cup-soda-vBnbkBrP.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~folders-Cac1RE7v.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~git-pull-request-arrow-B49An5Nb.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~heart-x-R-7QiNaI.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~podium-BMFTl08L.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~refresh-ccw-BWG59VJh.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~send-to-back-BOqdLXiZ.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~square-stack-cnSdbO1x.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~stamp-BVT2ysgf.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~superscript-C2Zi1Lok.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~ticket-BBD1xzcQ.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~calendar-minus-Cgwn37Tf.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~folder-root-qzbOoZ3Z.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~hand-helping-C8rJvN56.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~microwave-wgFkoJnR.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~milestone~InfographicEditorPane-Dg30QRpQ.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~phone-Ce7rwRsw.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~spell-check-2-CgwhB5AN.js 0.56 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~PluginMarketplacePane~badge-check-6U6N1Q0x.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~languages-DkARW6gn.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~a-large-small-DHPJFO6C.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~eye-closed-CrwiM07I.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~funnel-plus-BH2lhsjt.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~id-card-Cna8vy6R.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~message-square-code-Pek1o4j4.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~rotate-ccw-key-7Vx0EHIc.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~screen-share-DIZgd9Nw.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~whole-word-DiVceOwF.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~PosterEditorPane~shapes-CVwsNRHL.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~mail-warning-DLlt8zcb.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~message-circle-warning-tZhXz_aY.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~tv-minimal-play-E0MCPAB7.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~briefcase-business-BxwIkF03.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~flip-horizontal-2-DhjH4zoK.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~squares-exclude-rGjfgb2D.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~user-key-2Ulcsvxt.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~printer~EditorPane-t8tqVsxV.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~contact-round-CQb6YTkL.js 0.56 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~library-big-BAfUFtEr.js 0.56 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~sailboat-BYeuXJq8.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~square-divide-CSPu0uCe.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~zodiac-virgo-CIlS3Bl_.js 0.56 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TagsPane~SettingsPane~PublicSharePage~PublicNotebookSharePage~Plu~ewa66185-BiCkghVx.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~battery-charging-egeecHgW.js 0.56 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~book-heart-CInn89IJ.js 0.56 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~fan-CP8nev5L.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~screen-share-off-BPAJ0hSV.js 0.56 kB │ gzip: 0.38 kB
+apps/web/dist/assets/network-status-Par1-H1k.js 0.57 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~app~WorkspaceApp~TableEditorPane~SettingsPane~PluginMarketplacePane~NotebookSi~mnl6p20n-CFcVkRMf.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~bell-minus-DLN2ldF8.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~calendar-check-2-BaBiH3vl.js 0.57 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~nfc-NvRzUtGY.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~volume-1-0FZWRr1Y.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~badge-minus-Bbd4fUXE.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~map-pin-minus-DB26hfvM.js 0.57 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~shield-ban-CjlInEyI.js 0.57 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~tickets-BvbM7CZ2.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~arrow-big-down-dash-DpkejTT3.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~arrow-big-left-dash-CepgpMgx.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~arrow-big-right-dash-DUBVZ9JX.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~flip-vertical-2-C5V69yqQ.js 0.57 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~folder-code-ComMKEaR.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~funnel-x-DCEXjLwm.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~arrow-big-up-dash-CXWwdSL0.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~bath-Dzn29ppr.js 0.57 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~message-circle-code-B08OXRfv.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~creative-commons-DVkszlOZ.js 0.57 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~file-diff-C8l_8b_H.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~scale-DjLL7A3i.js 0.57 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~scooter-C7tpt-c8.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~monitor-smartphone~DiagramEditorPane~DesktopSyncIssuesDialog-DONPtJZA.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-chart-line-DHF-0oQi.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~heading-5~EditorPane-OdBifdP9.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~heart-pulse-BO3yvtTL.js 0.57 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~layers-2-CRWmNPiy.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~TemplatesPane~TagsPane~PosterEditorPane~NotebookPane~~mkkpa2en-SlSGt1ZK.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~ticket-percent-BCEJ22yI.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~save~InfographicEditorPane~EditorPane~Diagram~husduh2t-CvUGo7ME.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~gem-Cc3wiWdK.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~pin-off-DhWXqNYF.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~NotebookPane~bot~EditorPane~DiagramEditorPane-DfzcUjNw.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~book-open-check-EiNQ_3wv.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~clipboard-plus-Dcae1YkX.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~clipboard-x-B41qeajd.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~contact-BsFdhuK4.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-question-mark-DQpFNdYe.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~message-square-reply-CcamsK-r.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~TemplatesPane~TagsPane~TableEditorPane~SettingsPane~P~my7jnyon-BJfMLmag.js 0.57 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~spool-clTeSo43.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~wallpaper-BJfWIx1C.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~PosterEditorPane~NotebookPane~notebook~InfographicEd~cr5azkfv-J_qBlxcE.js 0.57 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~book-lock-Dss-oDhb.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~bottle-wine-C9c4xhHk.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~cooking-pot-Dz5NTmCJ.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~folder-search-2-hQHiC_70.js 0.57 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~git-fork~InfographicEditorPane~DiagramEditorPane-CxtKL655.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~calendar-x-jF_AftB3.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~image-down-CfgYI2-V.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~image-up-Boyy4iWN.js 0.57 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~list-restart-DVRWm1s7.js 0.57 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~scan-line-Ba7GAWPc.js 0.58 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~calendar-plus-2-Dp5m6fc8.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~drafting-compass-Bpz7vnUA.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~flashlight-DFGd6-0Q.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~focus-Chw6l70u.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~lectern-BZ2P4o_D.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~package-2-CGrHYL6V.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~type-outline-BWtlDe8h.js 0.58 kB │ gzip: 0.37 kB
+apps/web/dist/assets/client-id-DFAE3y16.js 0.58 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~graduation-cap-BcJMcY27.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~book-key-BROgcn1U.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~loader-pinwheel-BNWS2k4d.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~square-mouse-pointer-BbM2xbyg.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~alarm-clock-BW9f5wsO.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~angry-DxGVxO6E.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~archive-restore-qjUXslLN.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~battery-warning-C1i7yd-X.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~folder-lock-CpdXmYuI.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~picture-in-picture-MBr-FAKJ.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~shopping-bag-Dl5XYaLj.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~weight-tilde-Dt-tbRuW.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~air-vent-DBmFXqaI.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-symlink-CC7-ko-9.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~heading-3~EditorPane-Bu0Yrbyl.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~image-minus-sBUBOVu0.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~timer-off-DsEL9gCn.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~user-pen-Bf41Ws7C.js 0.58 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~alarm-clock-minus-Dyp0ltNH.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~citrus-D3g8Q116.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~folder-key-Brw1IXvZ.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~message-circle-reply-DcSbOjAG.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~mouse-pointer-ban-CtTk530_.js 0.58 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~stethoscope-DzZSCbzi.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/font-load-state-BYBDgeas.js 0.58 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~camera-CK5BGXfj.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~accessibility-GFS1zwYu.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~globe-lock-BW1yiUav.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~utility-pole-BMx1rCWw.js 0.58 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~venetian-mask-CEALa2iC.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-x-corner-C-GTR5Pz.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~git-pull-request-closed-BwQ10nSR.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~server~DiagramEditorPane-Bs9b8nur.js 0.58 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~bell-dot-BcHuvO_K.js 0.58 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~dice-5-D1Z1K8W8.js 0.58 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~heart-plus-BaBKN66n.js 0.58 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~house-heart-MI1fEoVN.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~message-square-quote-PLU30uu3.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~octagon-zoMgKK13.js 0.58 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~pen-off-DouUP6JR.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~bitcoin-Du4_vZ7H.js 0.58 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~database-zap~DiagramEditorPane-DPBHKVWw.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~folder-open-dot-fs6SSLyX.js 0.58 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~lamp-DfsgS1M2.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~map-pin-check-CuTsJndC.js 0.58 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~megaphone-C-3SAAMI.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~message-square-lock-DalH3EJT.js 0.58 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~message-square-text-C57Ns2ZR.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~pin-DpWxldGS.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~smartphone-nfc-BgClTuB8.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~stone-DgwOIqwU.js 0.58 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~currency-Dp0Vm3Fz.js 0.58 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~decimals-arrow-right-B_rG40Wq.js 0.58 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~droplet-off-nLdtj4sL.js 0.58 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~message-square-diff-BA10Ptqy.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~skull-CflBcttR.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~sticky-note-x-C4RxHlas.js 0.58 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~alarm-clock-check-n49vJsnn.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~blinds-Bfskzq_E.js 0.59 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~chart-bar-stacked-CBLewLyK.js 0.59 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~cuboid-D_PCgFUH.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~ethernet-port~DiagramEditorPane-pzdcu-ZA.js 0.59 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~git-graph-M0SywO6j.js 0.59 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~land-plot-mSKXpydU.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~monitor-speaker-DAYUA7Lu.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~washing-machine-CW5NooDn.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~folder-kanban-DGoq0JA6.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~locate-Le0vFN7d.js 0.59 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~podcast-ijKs5NOI.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~shield-plus-D4GHpaJC.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~user-round-pen-Ci85K2LP.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~chess-pawn-pMHaQBBT.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~copy-x-sOz6GgQo.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~newspaper-WBWwik2P.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~banknote-check-BJW8jBEk.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~battery-plus-C3OqEPmS.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~chart-column-stacked-TsMjFEUc.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~layout-dashboard-C4kzOUkU.js 0.59 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~monitor-off-B37fsq3Z.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~book-up-2-B50h0Ds9.js 0.59 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~NotebookPane~layout-grid-DIzRvpKG.js 0.59 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~book-headphones-Bi0rEDN-.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~circuit-board-B9m0ujd2.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~crosshair-mvlQXjS_.js 0.59 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~folder-git-DiDzF5sD.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~metronome-BuxFLi8R.js 0.59 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~shield-alert-CAwjSffc.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~train-track-ExrIc1S-.js 0.59 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~paw-print-DfkmYhp1.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~diameter-CUUb8f2T.js 0.59 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-axis-3d-iQ2sFCu3.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~gpu~DiagramEditorPane-D9ItYUtP.js 0.59 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~message-square-more-hmLzuFzW.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~ad-DEw3aUYV.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~files-BG8VoB8s.js 0.59 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~git-pull-request-create-arrow-BYGQe-HG.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~house-plus-1KWzaK-g.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~orbit-BP1bb-0V.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~sport-shoe-D0uq5o35.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~sticky-note-plus-Lw9WrCKS.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~ExecutionCenterPane~scroll-text-ClfGIrpl.js 0.59 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~TemplatesPane~file-plus-BFE8SKN0.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~gift-twVlJAkA.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~file-plus-corner-Cg6UPrUy.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~cigarette-15UxWS5S.js 0.59 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~dessert-urSblAYH.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~door-closed-locked--AKAcQFU.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-x-D1bnjM8A.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~folder-heart-B5N2bQrh.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~glasses-Durh3yDu.js 0.59 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~lightbulb-off-BNGBeFon.js 0.59 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~monitor-play-N5fAa03j.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~shield-x-CeSPoUJZ.js 0.59 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~turtle-Dkk_ajMf.js 0.59 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-terminal-DY_Pv_q1.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~bell-plus-CKZnFPhx.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~calendar-x-2-in34Y4M2.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~cookie-B0gDMdCF.js 0.60 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~file-input-CavLC3sU.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~message-circle-question-mark-AqaRPehv.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~speech-Bu4z5Z_S.js 0.60 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~switch-camera-B7hKNidz.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~webhook~DiagramEditorPane-lcbtZ51p.js 0.60 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~copy-plus~EditorPane-BdwnHj23.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~file-up~EditorPane-RE6Gidil.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~card-sim-CoulfNUj.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~clapperboard-DOiiS7ws.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~fullscreen-Cq-Tsz9t.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~hourglass-BfV8tHI0.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~lamp-wall-down-wCf1X0nL.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~lamp-wall-up-DMdmCztQ.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~mic-vocal-W749MGPt.js 0.60 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~plug-zap~DiagramEditorPane-BMiEMld7.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~badge-cent-BI5b4wMs.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~badge-euro-3mWJ79QJ.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~syringe-CfmPjN-J.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TableEditorPane~PosterEditorPane~file-down~MemoListMobileSheets~I~mwhquys8-CrtC9Bqf.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~calendar-plus-uTCoI4ym.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~crown-Bzh3tCwE.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~mailbox-M0IEMP90.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~message-circle-more-DAadEjut.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~SettingsPane~PublicSharePage~PublicNotebookSharePage~~jmwwzdb3-BvoS9eOQ.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~parking-meter-DCYmcsLc.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~snail-H1vzBbPL.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~utensils-crossed-C-TNvcmc.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/MemoEditorToolbarChrome-BI4nJiLi.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~captions-off-e1ZTuQxm.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~house-wifi-CH9QSV0N.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~SettingsPane~NotebookSiteManagementPage~NotebookPane~ShareNoteboo~irwyvdck-iiQmGwFg.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~armchair-8Nh8tDBZ.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~list-ordered~EditorPane~DiagramEditorPane-1c7KW17e.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~watch-Bm0jiU2U.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~bell-off-CCS-UtwE.js 0.60 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~file-music-DdLkn8LJ.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~folder-git-2-Kr_wMhI0.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~map-pin-plus-DDOVZs12.js 0.60 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~messages-square-j1pmqKEs.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~trees-DU7suR_p.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~birdhouse-CnFRS2Ev.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~cake-slice-Bvcpuj9i.js 0.60 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~file-clock~DiagramEditorPane-DVdJprb7.js 0.60 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~square-dashed-bottom-code-Boklm3-o.js 0.60 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~binary~DiagramEditorPane-BX6HQAe_.js 0.60 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~PublicSharePage~PublicNotebookSharePage~file-code-cor~lvh4o17r-BqisrrBs.js 0.60 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~TemplatesPane~NotebookPane~layout-list~MemoListMobileSheets-DfF7tQzY.js 0.61 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~notepad-text-gmtotss5.js 0.61 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor~stateDiagram-OKZ733FA~swimlanes-SLNWSIFB~dagre-VZM6K2ZE-D8OqKFb_.js 0.61 kB │ gzip: 0.36 kB
+apps/web/dist/assets/vendor-icons~badge-turkish-lira-DpfpQ-dz.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~clipboard-clock-7U8QrWRE.js 0.61 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~file-search-corner-Abd694Eb.js 0.61 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~sheet-C5RjvUKX.js 0.61 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~alarm-clock-off-Shz9k2nd.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~caravan-CdwoKsn4.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~images-CUp0ytjU.js 0.61 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~message-circle-off-DAxo9Vvu.js 0.61 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PosterEditorPane~image-plus-i3FPsQYq.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~calendar-arrow-up-rKC0Akgc.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~circle-pile-B2iGSBQK.js 0.61 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~ev-charger-OQ4LzOxc.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~grip-vertical-C-QEB5lG.js 0.61 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~map-pin-x-B1AOLfns.js 0.61 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~square-parking-off-DCVxbChg.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~touchpad-off-C-iutOuI.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~door-open-BKOLz4w_.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-code-C0W16ljX.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-output-CPVzKWMe.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-user-D6S2fRbO.js 0.61 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~milk-D3IoR7Yw.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~save-check-XqrXZ2XP.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~tent-tree-B6BcOmM2.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~vibrate-off-C2plDAd7.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~badge-russian-ruble-BLv7EO9W.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~bird--vTPMS5c.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~droplets-BsQARJFw.js 0.61 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~flask-conical-off-BsP9wn8i.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~grip-horizontal-Bpzc3ytx.js 0.61 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~mouse-pointer-2-off-OXut1Pv7.js 0.61 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~refresh-ccw-dot-DRX_INic.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~sparkle-irU35PK1.js 0.61 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~banknote-x-Dl1LX-oK.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~gamepad-BCuMNqLJ.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~hd-DFiIiBho.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~pipette-fVaFVWAV.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~signpost-Ch-3gOyV.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~briefcase-medical-C3J5xVSd.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~folder-archive~DiagramEditorPane-D9jwBQpT.js 0.61 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~git-branch-plus-47Gi_bij.js 0.61 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~id-card-lanyard-Dtcy0crj.js 0.61 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~printer-check-cjt1aFRU.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~smile-plus-D-AZr0sy.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~warehouse-DbBTmBM9.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~axe-Bgs3YDvi.js 0.61 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~calendar-arrow-down--wILx4Q_.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~cassette-tape-CUt0CzA4.js 0.61 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~clipboard-type-mWJG9b9m.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-search-BU0eozfo.js 0.61 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~folder-pen-CDDkO2XM.js 0.61 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~git-compare-arrows-BO-64j_G.js 0.61 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~diamond-percent-DF1rJDYb.js 0.61 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~alarm-clock-plus-DKul3xOX.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~badge-x-CYayd6Hs.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~beef-DvrWWRDf.js 0.62 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~map-pin-pen-DcWqOD3l.js 0.62 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~sticky-note-off-Dtr9QPHi.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~tram-front--YmksND8.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~waves-ladder-DH474e_w.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~clipboard-copy-C__f2SEW.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~package~EditorPane~AssetsPane-BiXaARwL.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~file-stack~DiagramEditorPane-5_9tZFM9.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~clipboard-paste-CrlYjOoH.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~life-buoy-BFBrXgIi.js 0.62 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~luggage-DJbvF-KS.js 0.62 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~radio~DiagramEditorPane-CnZKIA3D.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~drum-B4oHYxSi.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-lock-DcuSront.js 0.62 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~hospital-YWCyQyCV.js 0.62 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~image-play-DMPoalao.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~popcorn-nIvpnS__.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~save-plus-DMfjQaJ4.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~badge-plus-B6kS7ctr.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~dice-6-OU80wMtg.js 0.62 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~message-circle-heart-BWS01agt.js 0.62 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~paintbrush-vertical-ODwhrTNK.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~shuffle-BX44x3_n.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~train-front-CL10Ow55.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~banknote-arrow-up-DuHpyK1t.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~cloud-sync-GfGi2SOa.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~map-pin-search-DYKxVTtT.js 0.62 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~microscope-KoXeVBll.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~PluginMarketplacePane~calendar-clock~EditorPane-C8HCVzE-.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~banknote-arrow-down-CDGsW85D.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~calendar-search-DrPWfyMk.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~calendars-B5uHCWKQ.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-key-DQUaTGB9.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~heart-off-DXeMDgR9.js 0.62 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~view-C2Qxa8Eb.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~badge-dollar-sign-Cgecx-y7.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~badge-info-BOqF2AAB.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~baggage-claim-XfXOdUZ2.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~calendar-off-uqhsepp2.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~pencil-off-BjEdwH5B.js 0.62 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~router~DiagramEditorPane-DrIF036m.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~thermometer-sun-B3uNmbzj.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~cannabis-DcUfEekr.js 0.62 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~expand-D06ZMgyM.js 0.62 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~octagon-minus-DueirnS9.js 0.62 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~pocket-knife-CCKp_Knt.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~projector-D6gGpjbi.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~scan-search-Bh4vcaS3.js 0.62 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~shield-user-BTXUHVU-.js 0.62 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~badge-alert-Bv_DS3h1.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-heart-BE19uDLG.js 0.63 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~locate-off-D-aWopHS.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~swatch-book-B6TmmcTN.js 0.63 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~backpack-Dx517J7U.js 0.63 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~bandage-BCaguYDU.js 0.63 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-headphone--W1RwVPO.js 0.63 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~motorbike-Dsc_5Zjg.js 0.63 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~shield-question-mark-Dl8ibU8u.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~building-2-fnPp_3Sw.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~badge-percent-B8itWhlH.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~volume-2-uwrCxrg6.js 0.63 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~volume-x-D3kNndT7.js 0.63 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~align-vertical-distribute-center-Cnet3Xnr.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~calendar-fold-CaSEMP05.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~cloud-sun-V5cDQblg.js 0.63 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~hat-glasses-PnrS9E4Q.js 0.63 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~mic-off-lU2QqGbD.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~PublicSharePage~PublicNotebookSharePage~NotebookPane~~e83l1d5z-cf3BKfkT.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~landmark-LeduREpd.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~badge-swiss-franc-C6IuRsp8.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~TableEditorPane~SettingsPane~PublicSharePage~PublicNo~k40dzosb-CVJ72EQB.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~spline-pointer-3oTNpKiH.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~worm-NvATCDo7.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~align-horizontal-distribute-center-DELxsvAI.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~cloud-drizzle-BeIPK9Sd.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~fold-horizontal-COYu_hHU.js 0.63 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~hand-metal-D66ZVbZ3.js 0.63 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PosterEditorPane~tag-plus~InfographicEditorPane~EditorPane~Diagram~dsg618h5-DAY7HgmY.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~candy-cane-DAWyACTg.js 0.63 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~database-search-D_JeYWR-.js 0.63 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~hammer-CT7YsXuZ.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~hard-drive~DiagramEditorPane~AssetsPane-CLjM66U2.js 0.63 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~mail-question-mark-yp3g8JFi.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~unfold-horizontal-svlYTQVx.js 0.63 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~cloud-hail-CRJ45o-J.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-chart-column-D2uQB21k.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~fold-vertical-DUjpdnYJ.js 0.63 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~quote~EditorPane-DLb9rksD.js 0.63 kB │ gzip: 0.35 kB
+apps/web/dist/assets/vendor-icons~wrench-off-BfKyBsta.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~bell-electric-DP1zjMin.js 0.63 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~bell-ring-CyvoysxQ.js 0.63 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~scissors-line-dashed-CfyZVu3R.js 0.63 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~sofa-YqCB-06V.js 0.63 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~test-tubes-XrUM_qiv.js 0.63 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~sun-moon-BsO5T8nr.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~chess-bishop-Cseaw8UV.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~circle-parking-off-BeHmOoa7.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~ruler-lcxB9aSM.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~umbrella-off-DirMPNvo.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~unfold-vertical-Dr6jFCpI.js 0.64 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~map-pinned-k3ebAhoa.js 0.64 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~text-cursor-input-DVWLZkto.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~car-front-FsmhAVQR.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~earth~DiagramEditorPane-Bj6N4nWp.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~heart-crack-BldTbYDM.js 0.64 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~piano-Db3YUCpR.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~plane-takeoff-D9EFl3QK.js 0.64 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~shield-off-yfOcjcEX.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~waves-arrow-up-CseVjX0H.js 0.64 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~square-centerline-dashed-horizontal-BxwmR31N.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~tag-x-CFwg3ldl.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~cigarette-off-CoeHV58N.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~cloud-moon-rain-DUCu5dMa.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~magnet-awarrFQB.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~mail-search-CxUvxCnq.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~save-all-rMO2gODf.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~usb-B65qZ86F.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~square-centerline-dashed-vertical-DDysDyqO.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~bell-check-C20IvbWt.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~brush-cleaning-Bq-xGr1T.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~cloud-snow-CSSwIniS.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-digit-CqaRdYvX.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~scan-text-Bzopz5dX.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~locate-fixed-C-ZL2e6r.js 0.64 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~logs-CXDpexbZ.js 0.64 kB │ gzip: 0.37 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~baby-B7FPsXjY.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~haze-cqB4JUqY.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~printer-x-NaOYEA5y.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~shield-ellipsis~DiagramEditorPane-CQmEV_C2.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~map-pin-house-DeM5MwUS.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~phone-missed-f0B7l1bx.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~roller-coaster-BUI85g_i.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~chart-no-axes-combined~EditorPane~DiagramEditorPane-BaVV4jNE.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~aperture-BiUs8XD3.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~badge-question-mark-CDXqTlu3.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~dices-C3Ln2qNs.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~kayak-CVjbuhFE.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~package-minus-BIVpwEoB.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~truck-NSQDH-O-.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~badge-indian-rupee-VRMtMuMy.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~cherry-CspB6P0q.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~factory-W7g-EX5v.js 0.64 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~file-chart-column-increasing-g4_CzP_F.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~file-image~InfographicEditorPane~DiagramEditorPane-DBND2LEe.js 0.64 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~film-VjuJt6vW.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~fire-extinguisher-D2GCINHr.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~phone-incoming-CUy-X_2l.js 0.64 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~scan-barcode-BbOSnMZD.js 0.64 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~tower-control-sP4HERW4.js 0.64 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~anvil-Cq4GD_0q.js 0.65 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~file-play-4sCb7Ex9.js 0.65 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~hamburger-CmKHhfc3.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~phone-outgoing-qcnPhCnr.js 0.65 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~scan-heart-BpbA9f18.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~squirrel-eGyvt-jc.js 0.65 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~plane-landing-DS6XJwfl.js 0.65 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~align-center-vertical-Cuc3YYgv.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~phone-forwarded-Dr1McISd.js 0.65 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~shopping-basket-BG7SCg4V.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~toolbox-BI7c52fo.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~brick-wall~DiagramEditorPane-DTYWYglo.js 0.65 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~loader-gEfGzGAu.js 0.65 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~shelving-unit-DxzGFc2I.js 0.65 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~sticker-Cx5H6RAd.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~wifi-pen-SI3f4NlW.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~zap-off-Be0_Yi_F.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~align-center-horizontal-ChBbl6r0.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~badge-pound-sterling-ClngtnFl.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~notebook-text-CrB_1AcS.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~server-crash-BNc1zAEv.js 0.65 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~hand-BMzXdGw5.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~car-ChL6hplT.js 0.65 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~cable-car-YTwMSp-P.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~calendar-range-GZyEqMO4.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~carrot-BGxKEbCo.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~hand-coins-DkJ9GPPB.js 0.65 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~package-check-CxZbf_8q.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~piggy-bank-CPVoab62.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~flashlight-off-DxR0sHsy.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~spotlight-Pct6LsDD.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~tags-CuHPEHik.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~transgender-BJ4GEju9.js 0.65 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~briefcase-conveyor-belt-CWMovZg_.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~camera-off-Aci-UvO0.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~headphone-off-CrbSKcyr.js 0.65 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~map-minus-CZG_DFzd.js 0.65 kB │ gzip: 0.44 kB
+apps/web/dist/assets/emergency-draft-CFb6oV-p.js 0.66 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~clipboard-list-8K5nKvYg.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~chart-candlestick-DjE81J7a.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~construction-C0mAMvmp.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~biceps-flexed-BJ5TDYOm.js 0.66 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~boom-box-BN60FFQT.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~castle-D8PES6Qc.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~clover-QbOVIFAh.js 0.66 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-type-corner-DqVxjO_X.js 0.66 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~ruler-dimension-line-CvRc1k-L.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~sunrise-C-KMTPaz.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~sunset-BsRHwbOb.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~mouse-pointer-click-fwdybeSE.js 0.66 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~bot-message-square-CBs6HX2z.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~calendar-heart--x1R2iNe.js 0.66 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~file-signal-DTIZEylQ.js 0.66 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~ham-DyUWYszo.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~house-plug-Bk7M4H5U.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~scan-face-nzxJLylN.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~bot-off-CJXXe5zr.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~octagon-x-Br5gv5m9.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~sliders-vertical-CxdxtT_g.js 0.66 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor~codeowners-C0Q_-Tcf.js 0.66 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~phone-call-DCYQLpvK.js 0.66 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~wine-off-CBVYfKXC.js 0.66 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~alarm-smoke-CqGKPhJv.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~barrel-DZDKaFMa.js 0.66 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~clock-fading-RFN2WWPW.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~file-sliders-75EcQ3C9.js 0.66 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~folder-sync-CPuH3tq8.js 0.66 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~file-pen-Cx2Z_f2V.js 0.66 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~file-type-Co2LAXXy.js 0.66 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~octagon-pause-CpjKI0h2.js 0.66 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~clipboard-pen-D5NkTIvk.js 0.66 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~megaphone-off-B8Q8oEAg.js 0.66 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~waypoints~DiagramEditorPane-YZdP6mJq.js 0.66 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~layers~InfographicEditorPane-CZBRWO69.js 0.67 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~repeat-off-54mB7poV.js 0.67 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~bean-off-BfEcPeB7.js 0.67 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~octagon-alert-lfWO24Jb.js 0.67 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~van-D2nbMwc-.js 0.67 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~group-BR25dIW1.js 0.67 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~sliders-horizontal-BasZG7EP.js 0.67 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~badge-japanese-yen-D04Lxuz9.js 0.67 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~wand-5Ohe5_pv.js 0.67 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~map-DIrfDbDt.js 0.67 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~shredder-DZRQw2KN.js 0.67 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~atom-BreXnP05.js 0.67 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~milk-off-BlMvDOg_.js 0.67 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~replace-BRNqr8pt.js 0.67 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~route-off-Bh5fu0wF.js 0.67 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~star-check-BweAHDbu.js 0.67 kB │ gzip: 0.46 kB
+apps/web/dist/assets/sync-events-CaC09xrr.js 0.67 kB │ gzip: 0.33 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~book-open-text-DylxFbtu.js 0.67 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~chart-network-CnaW4Us8.js 0.67 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~chess-rook-DdHJhNzE.js 0.67 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~combine-BDL3toC3.js 0.67 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~medal-rq22glxV.js 0.67 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~file-spreadsheet~EditorPan~i0c5d400-BvA3qQAr.js 0.67 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~PosterEditorPane~eye-off~DiagramEditorPane-C4vjyi7g.js 0.67 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~church-CzbXC0Wb.js 0.68 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~PublicSharePage~PublicNotebookSharePage~file-archive~EditorPane~AssetsPane-nYUzzzIU.js 0.68 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~traffic-cone-CljeoVoV.js 0.68 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~database-backup-B6_2HdZA.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~ear-off-k-Wq8-ex.js 0.68 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~sandwich-D7lYq7En.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~unplug-viVkfKNO.js 0.68 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~car-taxi-front-DN0x9Qm-.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~leafy-green-RVogfvMk.js 0.68 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~rabbit-j5y71lNv.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~radio-off-CEFofIqn.js 0.68 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~rat-bvFVt8CE.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~fence-Bc05zAtY.js 0.68 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~file-video-camera-DAKrTcHd.js 0.68 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~flower-2-Zn1eyh-V.js 0.68 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~pizza-yYr7UAU6.js 0.68 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~squares-subtract-CnPDT_n0.js 0.68 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~chess-king-BR2Thtc7.js 0.68 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~notebook-tabs-CI3N0E-3.js 0.68 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~rose-ODcc9EIz.js 0.68 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~save-pen-BHXr6A0C.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~shrimp-BzLPpZWW.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~handshake-BIVNezSc.js 0.68 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~package-plus-BC6eegRE.js 0.68 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~server-off-D9bp444R.js 0.68 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~hand-grab-Bm2Bl9nC.js 0.69 kB │ gzip: 0.40 kB
+apps/web/dist/assets/vendor-icons~phone-off-CyHkGmqS.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~amphora-D80mwUP7.js 0.69 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~bus-front-zvv2WZi7.js 0.69 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~footprints-hY61_Itz.js 0.69 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~forklift-r6cgfsFN.js 0.69 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~star-minus-Dx65Gcby.js 0.69 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~train-front-tunnel-AuIm-Lp0.js 0.69 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~keyboard-music-DHrOnz-l.js 0.69 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~shovel-Cv0RwmP7.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~package-x-DoGtsW1d.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~panel-top-bottom-dashed-D2Uq_xz6.js 0.69 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~sticky-notes-saVSPQFK.js 0.69 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~tickets-plane-DUu9H1xT.js 0.69 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~volleyball-Cjz20Xm2.js 0.69 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~bus-BEV5jmW6.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~rocket-CP2dckKD.js 0.69 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~helicopter-ByqKLcEt.js 0.69 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~map-plus-BwuCvKVL.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~star-plus-6UMKIm1q.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~container~DiagramEditorPane-DlEhdfHH.js 0.69 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~radio-tower-Cj0QsHU0.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~webcam-off-DIO0i7jL.js 0.69 kB │ gzip: 0.43 kB
+apps/web/dist/assets/motion-CexwHQtJ.js 0.69 kB │ gzip: 0.39 kB
+apps/web/dist/assets/vendor-icons~key-square-BX43yA1-.js 0.69 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~school-widhG7Ts.js 0.69 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~square-scissors-CdB9wwRQ.js 0.69 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~file-badge-BptiAJ2w.js 0.69 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~panel-left-right-dashed-bXyQmflQ.js 0.69 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~heart-handshake-DsSu2PeW.js 0.70 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~cat-8eUU48xK.js 0.70 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~earth-lock-Ch-zx5kb.js 0.70 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~origami-BsnH7tGu.js 0.70 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~waves-arrow-down-CvP1ONXj.js 0.70 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~keyboard-iYhkUFKt.js 0.70 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~pointer-C-rxHCsi.js 0.70 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~wifi-off-BzpzKdWm.js 0.70 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~scan-eye-BLEbKQTD.js 0.70 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~chess-knight-B4B4QGHk.js 0.70 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~circle-fading-plus-DUB6nCcB.js 0.70 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~file-braces-corner-BHHwnxIY.js 0.70 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~message-square-heart-D66tQZiG.js 0.70 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~tree-palm-izhnc3di.js 0.70 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~file-scan-DXCLxJEv.js 0.70 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~file-pen-line-DgfUCHFR.js 0.70 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~beer-DfyvIday.js 0.70 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~cloud-sun-rain-Kbo0oxpO.js 0.71 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~file-chart-pie-DfHfS5Sv.js 0.71 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~sun-dim-CxQ2mIND.js 0.71 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~ferris-wheel-BeOzKJ--.js 0.71 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~file-braces-CKshAyJA.js 0.71 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~hand-platter-CXmn5Vn4.js 0.71 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~image-off-BmF9VdaZ.js 0.71 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~pen-tool-sIYbJOWU.js 0.71 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~save-off-7QtYtCrb.js 0.71 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~siren-DB0IzwZ_.js 0.71 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~soap-dispenser-droplet-SVzLwOXk.js 0.71 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~package-search-1t8glo51.js 0.71 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~sun-CaiwpBQp.js 0.71 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~wifi-sync-L4lbuyCU.js 0.71 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~circle-fading-arrow-up-BA0eDzJq.js 0.71 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~thermometer-snowflake-CwcXYxKH.js 0.71 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~map-pin-off-BTJVyF0p.js 0.71 kB │ gzip: 0.47 kB
+apps/web/dist/assets/chunk-KBJHAD2P-dhcv7q8g.js 0.71 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~notebook-pen-CODsY3XW.js 0.71 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~salad-BOica_zB.js 0.71 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~square-dashed-top-solid-SLO0E95a.js 0.71 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~trophy-DjYrAmeV.js 0.71 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~volume-off-B4f8YyYz.js 0.71 kB │ gzip: 0.47 kB
+apps/web/dist/assets/ClipboardCopyNotice-CyC6sgdD.js 0.71 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~lamp-desk-V3AAVBDX.js 0.71 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~image-upscale-Bcr_j1zf.js 0.72 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~PosterEditorPane~NotebookPane~star~MemoListMobileSheets-D6gpo6ZQ.js 0.72 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~folder-tree-BNKo5ad8.js 0.72 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~ship-BsNy9hlA.js 0.72 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~webhook-off-8lJNcPao.js 0.72 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~circle-star-D7sR4-Sm.js 0.72 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~solar-panel-BHPthisw.js 0.72 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~layers-plus-tXfu3vHo.js 0.72 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~microchip~DiagramEditorPane-BXsL8gcN.js 0.72 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~blender-B5--m-fF.js 0.72 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~cake-D_Dv2JFb.js 0.72 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~drill-DWoxhi2O.js 0.72 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~settings-B9N_20pR.js 0.72 kB │ gzip: 0.42 kB
+apps/web/dist/assets/local-resource-cache-CZE7I4K2.js 0.73 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~SettingsPane~PosterEditorPane~PluginMarketplacePane~sun-medium~f7w841ou-kh_E2I5F.js 0.73 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~clipboard-pen-line-BaOLjyGh.js 0.73 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~pointer-off-CSFlt5tK.js 0.73 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~scan-qr-code-gBbnaySP.js 0.73 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~calendar-sync-BSIyB7nI.js 0.73 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~cctv-D2of5vwQ.js 0.73 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~mermaid.core~Diagr~igcg7xxo-puoO2IF8.js 0.73 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~square-star-LLvauE7r.js 0.73 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~hand-heart-CT05I4Fb.js 0.73 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~shower-head-ts4A8ncb.js 0.73 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~broccoli-pAwKy6NP.js 0.74 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~zodiac-aquarius-plnQne17.js 0.74 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~TemplatesPane~TableEditorPane~SettingsPane~PosterEditorPane~sparkles~Infograph~o3xo3zhh-Dm5spHQJ.js 0.74 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~cable~DiagramEditorPane-q949kmlm.js 0.74 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~calendar-days~EditorPane-C3nqyWCv.js 0.74 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~chart-scatter-CISL5fuX.js 0.74 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~radar-CCJUwx7W.js 0.74 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~refresh-cw-off-CWw3m-Sk.js 0.74 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~PluginMarketplacePane~store-BioXneoq.js 0.74 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~grip-CqW06sH4.js 0.74 kB │ gzip: 0.38 kB
+apps/web/dist/assets/vendor-icons~hotel-Dms5wVDh.js 0.74 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~brick-wall-fire-B84cVReg.js 0.74 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~star-x-C_1Ri9s1.js 0.75 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~dam-CK4KlXIB.js 0.75 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~panda-Cr2EzbRs.js 0.75 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~file-volume-Buwd8_vM.js 0.75 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~ambulance-BYv0USkh.js 0.75 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~SettingsPane~PublicSharePage~PublicNotebookSharePage~~fakcpeoy-BFtdmd80.js 0.75 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~wand-sparkles~DiagramEditorPane-Dh522E8j.js 0.76 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~star-off-219_daq1.js 0.76 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~university-1sLNFRod.js 0.76 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~pencil-sparkles-DfN7a8oy.js 0.76 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~tool-case-CYzlTlh3.js 0.76 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~spray-can-CjPK6R6-.js 0.76 kB │ gzip: 0.45 kB
+apps/web/dist/assets/modulepreload-polyfill-DTxV-GWz.js 0.76 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~ship-wheel~DiagramEditorPane-CCrtq5T8.js 0.76 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~hand-fist-B0Umo2K7.js 0.76 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor~note-print-COwfpdXv.js 0.76 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~keyboard-off-BJQAe4Ca.js 0.77 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~soup-DKhpcMGY.js 0.77 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~theater-Cy06HjiS.js 0.77 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~unlink-WcQnWpp6.js 0.77 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~truck-electric-D0WuXfrB.js 0.77 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~user-star-DqYzEpQ9.js 0.77 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~calculator-CVz_t_6a.js 0.77 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~guitar-dPSSoJ1q.js 0.77 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~radiation-BgvfCu_P.js 0.77 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~bow-arrow-BSnZ0s8T.js 0.77 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~heater-DWjccXa_.js 0.77 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~file-box-BZI679sW.js 0.78 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~memory-stick~DiagramEditorPane-nU7OOn-T.js 0.78 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~paintbrush-BQcXePJH.js 0.78 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~tractor-krHZUJH6.js 0.78 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~lasso-select-B4tpGDai.js 0.78 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~message-square-dashed-Br5fHVgB.js 0.78 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~cctv-off-SFvWp2pj.js 0.78 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~grape-D0KiTUv7.js 0.78 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~triangle-dashed-uXBB6ERz.js 0.79 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~drone-Bc8JPuOH.js 0.79 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~swords-g-8pY0BP.js 0.79 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~globe-off-CaA2l8x5.js 0.79 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~paint-bucket-mKfSkBjq.js 0.79 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~layers-minus-SFLa0gwm.js 0.79 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~drama-D8yLEUP9.js 0.80 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~pencil-ruler-MITJLLXw.js 0.80 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~vector-square-BL2v6rN-.js 0.80 kB │ gzip: 0.42 kB
+apps/web/dist/assets/vendor-icons~binoculars-hEe_Hm3u.js 0.80 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~table-columns-split-DUl1BVIi.js 0.80 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~beef-off-D0cTohG-.js 0.80 kB │ gzip: 0.51 kB
+apps/web/dist/assets/vendor-icons~building-DVfhonwM.js 0.80 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~table-rows-split-DUjtJerI.js 0.80 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~dumbbell-DBJH5KvJ.js 0.80 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~chess-queen-D02mZELS.js 0.81 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~square-dashed-DWsL_63o.js 0.81 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~sun-snow-CmxaFbo5.js 0.81 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~candy-DNsYy7q7.js 0.81 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~circle-dashed-CYPxC_Z3.js 0.81 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~replace-all~EditorPane~DiagramEditorPane-CQFUbNBQ.js 0.81 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~PluginMarketplacePane~NotebookPane~puzzle-D4CK_E2S.js 0.82 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~package-open-CFLB-4-h.js 0.82 kB │ gzip: 0.50 kB
+apps/web/dist/assets/infoDiagram-6WML65LV-CwtyvZjE.js 0.82 kB │ gzip: 0.51 kB
+apps/web/dist/assets/vendor-icons~book-dashed-CUvji5YH.js 0.82 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~recycle-BUcNxZQw.js 0.82 kB │ gzip: 0.51 kB
+apps/web/dist/assets/vendor-icons~TableEditorPane~PosterEditorPane~brain~InfographicEditorPane~EditorPane~Diagra~gin7tiqt-C1p8_gnj.js 0.82 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~ribbon-sswKwVYm.js 0.82 kB │ gzip: 0.53 kB
+apps/web/dist/assets/vendor-icons~flower-RxgC7Bc2.js 0.82 kB │ gzip: 0.46 kB
+apps/web/dist/assets/version-BhfYeQJs.js 0.82 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~pickaxe-D6I30CR1.js 0.83 kB │ gzip: 0.51 kB
+apps/web/dist/assets/vendor-icons~croissant-CA0c78Z-.js 0.83 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~nut-Cs3zMOnc.js 0.83 kB │ gzip: 0.55 kB
+apps/web/dist/assets/vendor-icons~dna-off-CKGrLj_f.js 0.83 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~message-circle-dashed-cIfjt5Nz.js 0.84 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~satellite-B9rN-4QL.js 0.85 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor~tsv-CqLdYP9V.js 0.85 kB │ gzip: 0.41 kB
+apps/web/dist/assets/vendor-icons~fingerprint-pattern-1Pujjtt5.js 0.85 kB │ gzip: 0.52 kB
+apps/web/dist/assets/descendant-notes-preference-BuarQjkq.js 0.85 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~fish-DQ8olY23.js 0.85 kB │ gzip: 0.54 kB
+apps/web/dist/assets/vendor-icons~telescope-BO6zKumJ.js 0.85 kB │ gzip: 0.54 kB
+apps/web/dist/assets/vendor-icons~square-dashed-mouse-pointer-BYPmkx_e.js 0.85 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~beer-off-gg8rcSHJ.js 0.86 kB │ gzip: 0.53 kB
+apps/web/dist/assets/vendor-icons~squares-intersect-B8W8yAUu.js 0.86 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~dna-9mIZdoSi.js 0.86 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~gamepad-2-BPTSpH0U.js 0.87 kB │ gzip: 0.55 kB
+apps/web/dist/assets/vendor-icons~bug-CfNSCpP4.js 0.87 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~snowflake-CzPKT-nU.js 0.87 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor~app~mobile-edit~tiptap-ime-test~WorkspaceApp~ExecutionCenterPane~TemplatesPane~TagsP~n9vgcgep-Cy3eFXYh.js 0.87 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~squircle-dashed-7M9GGWAv.js 0.87 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~notepad-text-dashed-BHaiWMAH.js 0.87 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~bug-play-BaVceun9.js 0.87 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~cannabis-off-DJ5aVxne.js 0.88 kB │ gzip: 0.56 kB
+apps/web/dist/assets/notebook-delete-BjvJwiWH.js 0.88 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~brick-wall-shield-CcCW0QTn.js 0.88 kB │ gzip: 0.53 kB
+apps/web/dist/assets/vendor-icons~circle-dot-dashed-DFKOPyDe.js 0.88 kB │ gzip: 0.48 kB
+apps/web/dist/assets/vendor-icons~user-cog-9AqzerxZ.js 0.88 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~dog-GmUw3S1F.js 0.88 kB │ gzip: 0.57 kB
+apps/web/dist/assets/vendor-icons~mobile-edit~WorkspaceApp~PublicSharePage~PublicNotebookSharePage~NotebookPane~~ux7uujg4-D8StfTPb.js 0.89 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~receipt-turkish-lira-Bqt_UuKX.js 0.89 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~columns-3-cog-9laEFAJs.js 0.89 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~candy-off-6e8Al4xA.js 0.89 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~receipt-russian-ruble-aKsQncnm.js 0.89 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~timeline-CypvJ7os.js 0.89 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor-icons~cloud-cog~DiagramEditorPane-9REogN5s.js 0.89 kB │ gzip: 0.51 kB
+apps/web/dist/assets/vendor-icons~user-round-cog-V5y0MmdS.js 0.89 kB │ gzip: 0.50 kB
+apps/web/dist/assets/vendor-icons~SettingsPane~NotebookSiteManagementPage~ShareNotebookDialog~qr-code~EditorPane~b5cocjyv-BVB3iM16.js 0.89 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~receipt-CZABFHbH.js 0.90 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~fish-off-DlS3SfoB.js 0.90 kB │ gzip: 0.59 kB
+apps/web/dist/assets/vendor-icons~receipt-text-uy1xaVEM.js 0.90 kB │ gzip: 0.44 kB
+apps/web/dist/assets/vendor~shellsession-BaOdcSMs.js 0.90 kB │ gzip: 0.55 kB
+apps/web/dist/assets/vendor-icons~vault-BypqzwAH.js 0.90 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~receipt-swiss-franc-DziuFx5K.js 0.91 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~cog-BnBLfd9u.js 0.91 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~biohazard-D5KWhGS5.js 0.92 kB │ gzip: 0.55 kB
+apps/web/dist/assets/vendor-icons~square-dashed-text-BscB49sZ.js 0.92 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~square-dashed-kanban-BugDLLWm.js 0.92 kB │ gzip: 0.47 kB
+apps/web/dist/assets/vendor-icons~folder-cog-DaoD6Zte.js 0.92 kB │ gzip: 0.52 kB
+apps/web/dist/assets/vendor-icons~receipt-indian-rupee-Dpcsb7Qu.js 0.92 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~bug-off-CZ-Ktvpc.js 0.92 kB │ gzip: 0.51 kB
+apps/web/dist/assets/vendor-icons~receipt-euro-C031IdZw.js 0.92 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~receipt-cent-C2iVaYgk.js 0.92 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~receipt-pound-sterling-Blsv1RKl.js 0.93 kB │ gzip: 0.46 kB
+apps/web/dist/assets/vendor-icons~bone-fracture-CMniO0ss.js 0.93 kB │ gzip: 0.54 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane~component-Dewo2Uoz.js 0.94 kB │ gzip: 0.43 kB
+apps/web/dist/assets/vendor-icons~monitor-cog-G91wRpKu.js 0.94 kB │ gzip: 0.52 kB
+apps/web/dist/assets/vendor-icons~nut-off-jr2DxGjf.js 0.94 kB │ gzip: 0.61 kB
+apps/web/dist/assets/vendor~mindmap-definition-FAOFIHXS-DjNExPwD.js 0.94 kB │ gzip: 0.52 kB
+apps/web/dist/assets/vendor-icons~receipt-japanese-yen-8bCT33Eg.js 0.95 kB │ gzip: 0.46 kB
+apps/web/dist/assets/utils-CAaPGZvD.js 0.95 kB │ gzip: 0.54 kB
+apps/web/dist/assets/flowDiagram-UKHOOZJN-33PIs2Yj.js 0.96 kB │ gzip: 0.49 kB
+apps/web/dist/assets/vendor-icons~wifi-cog-CKu4x9tL.js 0.96 kB │ gzip: 0.53 kB
+apps/web/dist/assets/vendor-icons~shield-cog-corner-B6W51SCX.js 0.96 kB │ gzip: 0.55 kB
+apps/web/dist/assets/vendor-icons~eye-dashed-R9UpQeaN.js 0.96 kB │ gzip: 0.53 kB
+apps/web/dist/assets/vendor-icons~gamepad-directional-BIpRPXaL.js 0.97 kB │ gzip: 0.51 kB
+apps/web/dist/assets/vendor-icons~party-popper-DmkE4guf.js 0.97 kB │ gzip: 0.58 kB
+apps/web/dist/assets/sizeCapture-X5ZJPWSS-octnSYiw.js 0.97 kB │ gzip: 0.56 kB
+apps/web/dist/assets/ImageViewer-CRVASyMi.js 0.98 kB │ gzip: 0.61 kB
+apps/web/dist/assets/vendor-icons~shield-cog-DVujCPmx.js 0.98 kB │ gzip: 0.57 kB
+apps/web/dist/assets/vendor-icons~calendar-cog-DRvQIzkz.js 0.98 kB │ gzip: 0.54 kB
+apps/web/dist/assets/vendor-icons~file-cog-B2NOHAR4.js 1.00 kB │ gzip: 0.55 kB
+apps/web/dist/assets/vendor-icons~brain-circuit~DiagramEditorPane-D5Rt52D9.js 1.04 kB │ gzip: 0.56 kB
+apps/web/dist/assets/ai-model-D0147FQ5.js 1.05 kB │ gzip: 0.54 kB
+apps/web/dist/assets/vendor~vue~rst~mdc~html-derivative~edge~blade-BXPccWBz.js 1.07 kB │ gzip: 0.61 kB
+apps/web/dist/assets/vendor-icons~server-cog~DiagramEditorPane-B5Hvx9Yx.js 1.07 kB │ gzip: 0.54 kB
+apps/web/dist/assets/chunk-UBXNYLIW-kxnii5DK.js 1.09 kB │ gzip: 0.65 kB
+apps/web/dist/assets/vendor-icons~boxes~DiagramEditorPane-B3IU1HW3.js 1.10 kB │ gzip: 0.56 kB
+apps/web/dist/assets/image-display-BOooKrso.js 1.10 kB │ gzip: 0.61 kB
+apps/web/dist/assets/vendor~qmldir-DVc6_xRC.js 1.11 kB │ gzip: 0.52 kB
+apps/web/dist/assets/vendor-icons~square-bottom-dashed-scissors-Dj7RDmMe.js 1.12 kB │ gzip: 0.56 kB
+apps/web/dist/assets/vendor-icons~wheat-DWedylAN.js 1.12 kB │ gzip: 0.50 kB
+apps/web/dist/assets/plugin-navigation-CtbRN7l5.js 1.13 kB │ gzip: 0.61 kB
+apps/web/dist/assets/classDiagram-JCYQIIEL-WmWxPZp_.js 1.14 kB │ gzip: 0.60 kB
+apps/web/dist/assets/classDiagram-v2-OCEON4UE-WmWxPZp_.js 1.14 kB │ gzip: 0.60 kB
+apps/web/dist/assets/stateDiagram-v2-UEYNNEHI-FfC7T3AR.js 1.14 kB │ gzip: 0.60 kB
+apps/web/dist/assets/vendor-icons~wheat-off-BgtUji5-.js 1.17 kB │ gzip: 0.62 kB
+apps/web/dist/assets/vendor~git-rebase-Ddo3Tnk2.js 1.17 kB │ gzip: 0.55 kB
+apps/web/dist/assets/vendor-icons~hop-off-DYcsZfVP.js 1.20 kB │ gzip: 0.70 kB
+apps/web/dist/assets/swimlanesDiagram-ULZ7WXOC-3HFxqQe_.js 1.23 kB │ gzip: 0.65 kB
+apps/web/dist/assets/vendor-icons~brain-cog-DeCf--C6.js 1.25 kB │ gzip: 0.64 kB
+apps/web/dist/assets/vendor~hurl~csv-DwmRktfb.js 1.26 kB │ gzip: 0.45 kB
+apps/web/dist/assets/vendor-icons~hop-CNoTKsFH.js 1.26 kB │ gzip: 0.71 kB
+apps/web/dist/assets/ai-provider-direct-CTdt_pJ0.js 1.27 kB │ gzip: 0.72 kB
+apps/web/dist/assets/rolldown-runtime-C0FnF6B9.js 1.29 kB │ gzip: 0.71 kB
+apps/web/dist/assets/useWorkspaceRoute-B8YM000H.js 1.32 kB │ gzip: 0.62 kB
+apps/web/dist/assets/vendor~EditorPane~AssetsPane-DNUS96RK.js 1.33 kB │ gzip: 0.71 kB
+apps/web/dist/assets/attachment-resource-menu-DbGOLJwW.js 1.34 kB │ gzip: 0.73 kB
+apps/web/dist/assets/vendor~git-commit-3404rbd0.js 1.38 kB │ gzip: 0.61 kB
+apps/web/dist/assets/vendor~blockDiagram-VBNYF7ZC~stateDiagram-OKZ733FA~swimlanes-SLNWSIFB~dagre-VZM6K2ZE-DVrD0FTR.js 1.42 kB │ gzip: 0.66 kB
+apps/web/dist/assets/vendor-mermaid-render-W4tw33K_.js 1.42 kB │ gzip: 0.64 kB
+apps/web/dist/assets/vendor-mermaid-render-Dr0HH3j0.js 1.44 kB │ gzip: 0.52 kB
+apps/web/dist/assets/vendor~mobile-edit~WorkspaceApp~infographic-syntax-adapter~TemplatesPane~TagsPane~TableEdit~vg2r5z9w-DAYCtXvN.js 1.49 kB │ gzip: 0.72 kB
+apps/web/dist/assets/vendor~dotenv-8-_1Fz6m.js 1.53 kB │ gzip: 0.61 kB
+apps/web/dist/assets/mobile-editor-C83TZ28R.js 1.54 kB │ gzip: 0.70 kB
+apps/web/dist/assets/vendor~xsl-BvKQ6Ioe.js 1.56 kB │ gzip: 0.63 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~tiptap-ime-test~WorkspaceApp~desktop-repository~sync-queue~po~h8c4zewo-7O1Rv7DZ.js 1.58 kB │ gzip: 0.87 kB
+apps/web/dist/assets/chunk-X3CZISLH-UxfQ3sfz.js 1.58 kB │ gzip: 0.65 kB
+apps/web/dist/assets/vendor~sparql-8A9fB0uz.js 1.62 kB │ gzip: 0.90 kB
+apps/web/dist/assets/preload-helper-9AiJR7GF.js 1.62 kB │ gzip: 0.87 kB
+apps/web/dist/assets/ThemeToggle-BvWSG16X.js 1.64 kB │ gzip: 0.85 kB
+apps/web/dist/assets/vendor~ini-mJWZFCk_.js 1.64 kB │ gzip: 0.58 kB
+apps/web/dist/assets/GitHubRepositoryLink-BUoY9x7R.js 1.69 kB │ gzip: 0.99 kB
+apps/web/dist/assets/vendor~fortran-fixed-form-kP9wsoPj.js 1.82 kB │ gzip: 0.77 kB
+apps/web/dist/assets/chunk-4I5QYGJK-DPiAHSBD.js 1.83 kB │ gzip: 0.99 kB
+apps/web/dist/assets/vendor~docker-DLg01MVt.js 1.85 kB │ gzip: 0.68 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~mermaid.core~Diagr~j7m80dhl-B7OHp69Q.js 1.87 kB │ gzip: 0.83 kB
+apps/web/dist/assets/vendor-icons~app~mobile-edit~WorkspaceApp~ExecutionCenterPane~TemplatesPane~TagsPane~TableE~dy23u2gj-CIwRNcv0.js 1.87 kB │ gzip: 0.95 kB
+apps/web/dist/assets/image-compression-Bh_tnLo6.js 1.88 kB │ gzip: 0.99 kB
+apps/web/dist/assets/vendor~hxml-Bf5-oIe6.js 1.88 kB │ gzip: 0.96 kB
+apps/web/dist/assets/railroadDiagram-AXF67PYL-gChB2NmC.js 1.92 kB │ gzip: 0.89 kB
+apps/web/dist/assets/vendor~desktop-CSmVdW5G.js 1.95 kB │ gzip: 0.84 kB
+apps/web/dist/assets/chunk-W5SLKNZC-BXjFm5LM.js 1.97 kB │ gzip: 0.97 kB
+apps/web/dist/assets/mermaid-svg-B9iDSCjD.js 2.04 kB │ gzip: 1.02 kB
+apps/web/dist/assets/abnfDiagram-N423BO3Z-BLXsIAZB.js 2.11 kB │ gzip: 1.02 kB
+apps/web/dist/assets/infographic-image-export-BWUO_4Jx.js 2.14 kB │ gzip: 1.07 kB
+apps/web/dist/assets/chunk-7BUUIJ7U-Cfl0N-lF.js 2.22 kB │ gzip: 0.88 kB
+apps/web/dist/assets/chunk-2GRJ4B5K-o3EOyLt2.js 2.23 kB │ gzip: 1.02 kB
+apps/web/dist/assets/backup-markdown-DOhR_YEZ.js 2.25 kB │ gzip: 1.16 kB
+apps/web/dist/assets/vendor~wenyan-CNKYh_pa.js 2.26 kB │ gzip: 1.18 kB
+apps/web/dist/assets/pegDiagram-VL7TDLO6-BDlgElKh.js 2.27 kB │ gzip: 1.07 kB
+apps/web/dist/assets/ebnfDiagram-BXEA7PRR-4iHD2Ys8.js 2.32 kB │ gzip: 1.02 kB
+apps/web/dist/assets/vendor-tiptap-starter-AdP4cM-h.js 2.33 kB │ gzip: 0.80 kB
+apps/web/dist/assets/vendor~blockDiagram-VBNYF7ZC-aPCUhrGh.js 2.34 kB │ gzip: 1.02 kB
+apps/web/dist/assets/vendor~jssm-NS4cXeHQ.js 2.35 kB │ gzip: 0.69 kB
+apps/web/dist/assets/vendor~erb-BML-d2HK.js 2.40 kB │ gzip: 0.78 kB
+apps/web/dist/assets/badge-C7UVydt5.js 2.41 kB │ gzip: 1.26 kB
+apps/web/dist/assets/vendor~reg-CUDfln4R.js 2.45 kB │ gzip: 0.77 kB
+apps/web/dist/assets/vendor~PublicSharePage~PublicNotebookSharePage~EditorPane-DtfwSdi0.js 2.46 kB │ gzip: 1.18 kB
+apps/web/dist/assets/local-db-f_Ww1HD-.js 2.51 kB │ gzip: 0.67 kB
+apps/web/dist/assets/desktop-resources-CS0cfaVU.js 2.55 kB │ gzip: 1.19 kB
+apps/web/dist/assets/vendor~edge-wgJ9EhqW.js 2.68 kB │ gzip: 0.89 kB
+apps/web/dist/assets/vendor~git-commit~diff-WqgyMv81.js 2.68 kB │ gzip: 0.76 kB
+apps/web/dist/assets/vendor~gleam-Dvu-8oKY.js 2.69 kB │ gzip: 0.90 kB
+apps/web/dist/assets/staged-resource-repair-DVjvdNeE.js 2.69 kB │ gzip: 1.18 kB
+apps/web/dist/assets/NotebookSiteManagementPage-B9D3kQ_5.js 2.71 kB │ gzip: 1.24 kB
+apps/web/dist/assets/vendor~hy-Dq6j6xJo.js 2.76 kB │ gzip: 1.26 kB
+apps/web/dist/assets/vendor~openscad-Ggck-LML.js 2.93 kB │ gzip: 1.08 kB
+apps/web/dist/assets/ExecutionHistoryItemCard-DK__2PBG.js 2.94 kB │ gzip: 1.18 kB
+apps/web/dist/assets/vendor~vue~twig~php~liquid~json~http~blade~astro~apl-wdkpAB1B.js 2.94 kB │ gzip: 0.86 kB
+apps/web/dist/assets/vendor~log-Ks5y18Te.js 2.96 kB │ gzip: 0.98 kB
+apps/web/dist/assets/infographic-syntax-DnspwTxv.js 3.02 kB │ gzip: 1.34 kB
+apps/web/dist/assets/diagram-reader-oMXcV0Dn.js 3.08 kB │ gzip: 1.44 kB
+apps/web/dist/assets/vendor~cairo-C5J4Pxbt.js 3.09 kB │ gzip: 0.91 kB
+apps/web/dist/assets/vendor~berry-B35ytmfE.js 3.12 kB │ gzip: 0.89 kB
+apps/web/dist/assets/vendor~jsonl-lOQwmfhV.js 3.12 kB │ gzip: 0.87 kB
+apps/web/dist/assets/vendor~jsonc-CEEQuGuP.js 3.22 kB │ gzip: 0.87 kB
+apps/web/dist/assets/vendor~logo-D4xKr18Z.js 3.23 kB │ gzip: 1.55 kB
+apps/web/dist/assets/FontLabel-CprHtASE.js 3.24 kB │ gzip: 1.54 kB
+apps/web/dist/assets/editor-pane-helpers-DYGajN9c.js 3.26 kB │ gzip: 1.76 kB
+apps/web/dist/assets/vendor~po-BzQ1BmK7.js 3.35 kB │ gzip: 0.99 kB
+apps/web/dist/assets/vendor~json5-CHl9BUNa.js 3.36 kB │ gzip: 0.91 kB
+apps/web/dist/assets/vendor~mipsasm-CJ57F8GH.js 3.37 kB │ gzip: 1.25 kB
+apps/web/dist/assets/ui-button-ERcbumjz.js 3.37 kB │ gzip: 1.37 kB
+apps/web/dist/assets/vendor~tasl-DQ6xIf6e.js 3.40 kB │ gzip: 0.93 kB
+apps/web/dist/assets/vendor~genie-cYumxvDD.js 3.47 kB │ gzip: 1.29 kB
+apps/web/dist/assets/vendor~rel-DlZ0gk1Y.js 3.48 kB │ gzip: 1.18 kB
+apps/web/dist/assets/vendor~vala-C2DFVFnk.js 3.48 kB │ gzip: 1.26 kB
+apps/web/dist/assets/vendor~splunk-lk-h0FcA.js 3.54 kB │ gzip: 1.60 kB
+apps/web/dist/assets/vendor-mermaid-render-BR3aDNv7.js 3.59 kB │ gzip: 1.40 kB
+apps/web/dist/assets/editor-shortcuts-mkdwTOgl.js 3.62 kB │ gzip: 1.62 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~ReadOnlyX6Diagram~index~DiagramEditorPane~stateDiagram-OK~oca0o078-Ci9y9x1t.js 3.64 kB │ gzip: 1.76 kB
+apps/web/dist/assets/editor-body-font-DcfCD7SZ.js 3.65 kB │ gzip: 1.76 kB
+apps/web/dist/assets/MemoNotebookSites-XVJZpf8c.js 3.67 kB │ gzip: 1.48 kB
+apps/web/dist/assets/note-markdown-export-D4hd30Y7.js 3.67 kB │ gzip: 1.85 kB
+apps/web/dist/assets/vendor~fluent-i7Qubq5Q.js 3.72 kB │ gzip: 0.98 kB
+apps/web/dist/assets/vendor~ssh-config-DGpTY8bD.js 3.72 kB │ gzip: 1.68 kB
+apps/web/dist/assets/vendor~jsonnet-s39nWj70.js 3.73 kB │ gzip: 1.11 kB
+apps/web/dist/assets/vendor~kdl-BGi9PzYT.js 3.74 kB │ gzip: 1.11 kB
+apps/web/dist/assets/vendor~narrat-CthBmNSz.js 3.78 kB │ gzip: 1.18 kB
+apps/web/dist/assets/vendor~hurl-BOdEOoTV.js 3.79 kB │ gzip: 1.24 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~WorkspaceApp~diagram-layout~desktop-repository~sync-queue~pos~lv7mww06-Dh567Xl7.js 3.80 kB │ gzip: 1.71 kB
+apps/web/dist/assets/editor-spellcheck-preference-CH-appzh.js 3.81 kB │ gzip: 1.47 kB
+apps/web/dist/assets/vendor~turtle~sparql-CFuMplgO.js 3.82 kB │ gzip: 1.06 kB
+apps/web/dist/assets/vendor~twig~ts-tags~ruby~rst~nim~just~julia~glsl~erb~elm~cpp-wu8ZDTjK.js 3.85 kB │ gzip: 1.56 kB
+apps/web/dist/assets/poster-canvas-DEGto0Mu.js 3.93 kB │ gzip: 1.84 kB
+apps/web/dist/assets/vendor~zenscript-x8XBy0Vs.js 4.02 kB │ gzip: 1.36 kB
+apps/web/dist/assets/vendor~ron-Cqj42YYr.js 4.02 kB │ gzip: 1.06 kB
+apps/web/dist/assets/vendor~gn-DiaDg0Fy.js 4.11 kB │ gzip: 1.56 kB
+apps/web/dist/assets/vendor~pascal-BUpNat6f.js 4.26 kB │ gzip: 1.75 kB
+apps/web/dist/assets/infographic-direct-cYapI6-Q.js 4.28 kB │ gzip: 1.92 kB
+apps/web/dist/assets/vendor~ReadOnlyX6Diagram~DiagramEditorPane~stateDiagram-OKZ733FA~dagre-VZM6K2ZE-DxauWT9-.js 4.29 kB │ gzip: 1.83 kB
+apps/web/dist/assets/vendor-mermaid-render-DKA-eV-s.js 4.34 kB │ gzip: 2.04 kB
+apps/web/dist/assets/cose-bilkent-JH36ORCC-B7q9UNxU.js 4.35 kB │ gzip: 1.92 kB
+apps/web/dist/assets/vendor~stateDiagram-OKZ733FA~dagre-VZM6K2ZE-Bs-19hGw.js 4.36 kB │ gzip: 1.81 kB
+apps/web/dist/assets/ReadOnlyX6Diagram-6_ihMHg9.js 4.39 kB │ gzip: 1.97 kB
+apps/web/dist/assets/diagram-LBJQPF4R-MXHlwvWr.js 4.49 kB │ gzip: 1.97 kB
+apps/web/dist/assets/vendor~tcl-Bfm9LpcD.js 4.54 kB │ gzip: 1.58 kB
+apps/web/dist/assets/vendor~rosmsg-DZ1fziFc.js 4.63 kB │ gzip: 1.13 kB
+apps/web/dist/assets/vendor~nextflow-Bnsj2f0S.js 4.65 kB │ gzip: 1.25 kB
+apps/web/dist/assets/vendor~highlighted-body-KPVGNVTW~mermaid-HWGCJPDP~TableEditorPane~PosterEditorPane~Infograp~gu0fxw7r-Dy54xAOL.js 4.77 kB │ gzip: 2.07 kB
+apps/web/dist/assets/LoginScreen-BjH9oida.js 4.77 kB │ gzip: 1.80 kB
+apps/web/dist/assets/vendor~polar-CGWfjOjG.js 4.78 kB │ gzip: 1.20 kB
+apps/web/dist/assets/vendor-mermaid-render-B3sGlHWN.js 4.78 kB │ gzip: 2.13 kB
+apps/web/dist/assets/vendor~http-Dqwa48Pw.js 4.81 kB │ gzip: 1.27 kB
+apps/web/dist/assets/vendor~sdbl~bsl-CiiKeVrQ.js 4.82 kB │ gzip: 2.10 kB
+apps/web/dist/assets/ConfirmDialogs-CdXDVsf3.js 4.87 kB │ gzip: 1.72 kB
+apps/web/dist/assets/vendor~fennel-CC06KCBJ.js 4.88 kB │ gzip: 1.62 kB
+apps/web/dist/assets/vendor~bibtex-D6YEbQos.js 4.91 kB │ gzip: 0.92 kB
+apps/web/dist/assets/vendor-prosemirror-bKIHGkYk.js 4.96 kB │ gzip: 1.47 kB
+apps/web/dist/assets/ShareQrCode-T3GcBNSb.js 5.05 kB │ gzip: 1.90 kB
+apps/web/dist/assets/css-sandbox-3llaWZDI.js 5.09 kB │ gzip: 2.07 kB
+apps/web/dist/assets/ExecutionCenterPane-_rKWXs6-.js 5.11 kB │ gzip: 1.90 kB
+apps/web/dist/assets/vendor~llvm-B3Kl8bH5.js 5.16 kB │ gzip: 2.10 kB
+apps/web/dist/assets/pieDiagram-7S7Q4E2Y-DOSA6eIN.js 5.18 kB │ gzip: 2.23 kB
+apps/web/dist/assets/vendor~ReadOnlyX6Diagram~DiagramEditorPane~blockDiagram-VBNYF7ZC~stateDiagram-OKZ733FA~swim~m1yfrzdp-CT8xebHP.js 5.24 kB │ gzip: 2.21 kB
+apps/web/dist/assets/vendor~wgsl-DtnCS44R.js 5.25 kB │ gzip: 1.46 kB
+apps/web/dist/assets/vendor~SettingsPane~EditorPane~MarkdownSourceEditor-B9yKbwAG.js 5.29 kB │ gzip: 2.60 kB
+apps/web/dist/assets/vendor~mobile-edit~PublicSharePage~PublicNotebookSharePage~EditorPane-BKYWvqZp.js 5.37 kB │ gzip: 1.67 kB
+apps/web/dist/assets/vendor-radix-slot-CaNgZSfy.js 5.38 kB │ gzip: 1.72 kB
+apps/web/dist/assets/vendor~zig-DUOVORIK.js 5.45 kB │ gzip: 1.63 kB
+apps/web/dist/assets/vendor~gdresource-629FaGMm.js 5.47 kB │ gzip: 1.42 kB
+apps/web/dist/assets/vendor~dax-xjoaLiY-.js 5.48 kB │ gzip: 2.31 kB
+apps/web/dist/assets/chunk-J7OUQ5F2-Ds5iy9Q5.js 5.48 kB │ gzip: 1.93 kB
+apps/web/dist/assets/vendor~bicep-grtjw7lM.js 5.49 kB │ gzip: 1.23 kB
+apps/web/dist/assets/vendor~qml-DJ6evd3T.js 5.55 kB │ gzip: 1.53 kB
+apps/web/dist/assets/vendor~awk-UljtKRUw.js 5.57 kB │ gzip: 1.46 kB
+apps/web/dist/assets/vendor~xsl~xml~twig~ts-tags~ruby~rst~php~perl~nim~just~hurl~http~erb~blade~apl-T_m3vv3m.js 5.60 kB │ gzip: 1.35 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~ReadOnlyX6Diagram~index~DiagramEditorPane-BuyZLirF.js 5.61 kB │ gzip: 2.57 kB
+apps/web/dist/assets/vendor~coq-BzvHb4Qk.js 5.67 kB │ gzip: 2.00 kB
+apps/web/dist/assets/vendor-mermaid-render-2iz9YxCk.js 5.75 kB │ gzip: 1.39 kB
+apps/web/dist/assets/TagsPane-rv-oFFW_.js 5.85 kB │ gzip: 2.19 kB
+apps/web/dist/assets/vendor~lean-Dnre_H-j.js 5.89 kB │ gzip: 1.99 kB
+apps/web/dist/assets/vendor~jinja-C9rBtciX.js 5.90 kB │ gzip: 1.53 kB
+apps/web/dist/assets/companion-direct-stream-Bn7Vt36R.js 5.96 kB │ gzip: 2.25 kB
+apps/web/dist/assets/transcribe-note-resource-BlLTvjCi.js 5.96 kB │ gzip: 2.62 kB
+apps/web/dist/assets/vendor~moonbit-CvV0pvBd.js 6.01 kB │ gzip: 1.75 kB
+apps/web/dist/assets/vendor~powerquery-BOVnvlPe.js 6.01 kB │ gzip: 1.59 kB
+apps/web/dist/assets/tiptap-ime-test-CkA6mjLz.js 6.02 kB │ gzip: 2.41 kB
+apps/web/dist/assets/vendor~verilog-hCV4xTxm.js 6.04 kB │ gzip: 1.97 kB
+apps/web/dist/assets/vendor~shaderlab-Ce3lsJcF.js 6.07 kB │ gzip: 2.18 kB
+apps/web/dist/assets/ShareMemoDialog-Dc_g8yP3.js 6.07 kB │ gzip: 2.43 kB
+apps/web/dist/assets/vendor~cypher-BHnclX0B.js 6.07 kB │ gzip: 1.81 kB
+apps/web/dist/assets/vendor~vb-DgqkCYCM.js 6.20 kB │ gzip: 2.41 kB
+apps/web/dist/assets/diagram-UB23O5K3-J5BtLVho.js 6.29 kB │ gzip: 2.71 kB
+apps/web/dist/assets/vendor~red-DDkAcb5-.js 6.37 kB │ gzip: 1.68 kB
+apps/web/dist/assets/vendor~min-dark-CX3Ejr5N.js 6.40 kB │ gzip: 1.79 kB
+apps/web/dist/assets/vendor~prisma-Cljx3rlz.js 6.44 kB │ gzip: 1.46 kB
+apps/web/dist/assets/vendor~gdshader~gdresource-CGb7hm5C.js 6.44 kB │ gzip: 1.80 kB
+apps/web/dist/assets/vendor~ara-DFuzSZxr.js 6.47 kB │ gzip: 1.89 kB
+apps/web/dist/assets/vendor~AssetsPane-c-BZSP-6.js 6.53 kB │ gzip: 2.94 kB
+apps/web/dist/assets/vendor~clojure-CGNNlAPI.js 6.53 kB │ gzip: 1.50 kB
+apps/web/dist/assets/vendor~toml-BCMGtlPI.js 6.53 kB │ gzip: 1.36 kB
+apps/web/dist/assets/vendor~vue-vine~svelte~postcss~astro-DvLI3DJv.js 6.54 kB │ gzip: 1.99 kB
+apps/web/dist/assets/vendor~solarized-light-B3uYU-Ef.js 6.59 kB │ gzip: 1.79 kB
+apps/web/dist/assets/vendor~proto-DOQGeuuc.js 6.66 kB │ gzip: 1.49 kB
+apps/web/dist/assets/vendor~tex~r~latex~julia-rl3Jvx33.js 6.66 kB │ gzip: 1.87 kB
+apps/web/dist/assets/chunk-RYQCIY6F-DV_QZClK.js 6.67 kB │ gzip: 2.57 kB
+apps/web/dist/assets/vendor~smalltalk-Cf7JyD4X.js 6.69 kB │ gzip: 1.69 kB
+apps/web/dist/assets/vendor~talonscript-CWW9e4tJ.js 6.86 kB │ gzip: 1.57 kB
+apps/web/dist/assets/PublicTableFormPage-BfFi3tv-.js 6.88 kB │ gzip: 2.43 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~ReadOnlyX6Diagram~index~DiagramEditorPane~stateDiagram-OK~oi6jefjw-BDp4M6gX.js 6.93 kB │ gzip: 2.74 kB
+apps/web/dist/assets/vendor~solarized-dark-BC5dh3HS.js 6.95 kB │ gzip: 1.86 kB
+apps/web/dist/assets/ThemeProvider-2QHeK_sX.js 6.97 kB │ gzip: 2.79 kB
+apps/web/dist/assets/vendor~riscv-f8AOlUBm.js 7.02 kB │ gzip: 2.06 kB
+apps/web/dist/assets/vendor~min-light-Blc3efyR.js 7.07 kB │ gzip: 1.96 kB
+apps/web/dist/assets/vendor-mermaid-render-BRVwfy4V.js 7.11 kB │ gzip: 1.91 kB
+apps/web/dist/assets/vendor~soy-qKJ0tQia.js 7.15 kB │ gzip: 1.78 kB
+apps/web/dist/assets/vendor~mobile-edit~tiptap-ime-test~PublicSharePage~PublicNotebookSharePage~EditorPane-yL4ewq2k.js 7.18 kB │ gzip: 2.62 kB
+apps/web/dist/assets/chunk-WRU74C26-Di_jlMKW.js 7.22 kB │ gzip: 2.99 kB
+apps/web/dist/assets/vendor~scheme-C5Vtqc7I.js 7.28 kB │ gzip: 2.12 kB
+apps/web/dist/assets/MarkdownSourceEditor-BiBq4zy7.js 7.34 kB │ gzip: 3.09 kB
+apps/web/dist/assets/vendor~shaderlab~hlsl-D_qM-AQ2.js 7.38 kB │ gzip: 2.27 kB
+apps/web/dist/assets/ai-direct-stream-CKoydU85.js 7.42 kB │ gzip: 2.74 kB
+apps/web/dist/assets/ThemeBlock-BIPGO7VS.js 7.51 kB │ gzip: 3.31 kB
+apps/web/dist/assets/vendor~qss-DrrV4nFd.js 7.58 kB │ gzip: 2.65 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~mermaid.core~Diagr~gd1sulb3-DvchzjGi.js 7.60 kB │ gzip: 2.55 kB
+apps/web/dist/assets/vendor~dart-CSb0Txy5.js 7.92 kB │ gzip: 1.99 kB
+apps/web/dist/assets/vendor~systemd-CRlOVPEv.js 7.98 kB │ gzip: 2.63 kB
+apps/web/dist/assets/vendor~monokai-BDOeNE4y.js 7.99 kB │ gzip: 1.99 kB
+apps/web/dist/assets/MemoEditorTopRowLeading-EuTPuf0E.js 8.03 kB │ gzip: 3.22 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~regexp~just~julia~erb~cpp-Dv8lrnlQ.js 8.11 kB │ gzip: 1.50 kB
+apps/web/dist/assets/EvernoteImportGuidePane-DNRSz2x2.js 8.38 kB │ gzip: 4.13 kB
+apps/web/dist/assets/vendor~typst-CkBiCNcP.js 8.49 kB │ gzip: 1.75 kB
+apps/web/dist/assets/diagram-7IWD3JNH-DGqZZVfP.js 8.51 kB │ gzip: 3.83 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~just~haml~erb-BBjySWfF.js 8.60 kB │ gzip: 2.00 kB
+apps/web/dist/assets/vendor~plsql-DCJcNvk9.js 8.62 kB │ gzip: 3.08 kB
+apps/web/dist/assets/vendor~vue-html-BqCfpCSM.js 8.69 kB │ gzip: 1.82 kB
+apps/web/dist/assets/vendor~horizon-C0nM7d9B.js 8.89 kB │ gzip: 2.03 kB
+apps/web/dist/assets/vendor~kotlin-g0djN8TH.js 8.89 kB │ gzip: 2.21 kB
+apps/web/dist/assets/vendor~horizon-bright-RsZ23RrH.js 8.90 kB │ gzip: 2.05 kB
+apps/web/dist/assets/vendor~make-BJbDDn4M.js 9.07 kB │ gzip: 1.85 kB
+apps/web/dist/assets/dagre-VZM6K2ZE-CWOEYvi3.js 9.10 kB │ gzip: 3.55 kB
+apps/web/dist/assets/vendor~andromeeda-C4d21BLZ.js 9.13 kB │ gzip: 2.45 kB
+apps/web/dist/assets/EditorTagPicker-BhrsiirG.js 9.16 kB │ gzip: 3.07 kB
+apps/web/dist/assets/vendor~dark-plus-iSCFYraG.js 9.21 kB │ gzip: 2.19 kB
+apps/web/dist/assets/vendor~slack-dark-dK_3ZtJH.js 9.22 kB │ gzip: 2.04 kB
+apps/web/dist/assets/vendor-tiptap-extensions-B5sny0Bx.js 9.24 kB │ gzip: 3.40 kB
+apps/web/dist/assets/vendor~sas-BOkNkj7e.js 9.27 kB │ gzip: 3.97 kB
+apps/web/dist/assets/font-catalog-data-D1i4k2n7.js 9.31 kB │ gzip: 3.08 kB
+apps/web/dist/assets/chunk-NSK5VX7P-WJgCBQd5.js 9.39 kB │ gzip: 4.27 kB
+apps/web/dist/assets/vendor~sass-HBZo868_.js 9.40 kB │ gzip: 2.57 kB
+apps/web/dist/assets/vendor~plastic--s8XWWU2.js 9.40 kB │ gzip: 2.05 kB
+apps/web/dist/assets/vendor~slack-ochin-BfflkLAF.js 9.54 kB │ gzip: 2.17 kB
+apps/web/dist/assets/DesktopSyncIssuesDialog-Dj1EUoWB.js 9.71 kB │ gzip: 3.13 kB
+apps/web/dist/assets/vendor~tex~latex-BJ7YYEcq.js 9.82 kB │ gzip: 3.16 kB
+apps/web/dist/assets/vendor~WorkspaceApp~TableEditorPane~SettingsPane~PosterEditorPane~PluginMarketplacePane~Not~ht7nzc02-CxZbSuu0.js 9.86 kB │ gzip: 4.07 kB
+apps/web/dist/assets/vendor~jison-gAkPiE0z.js 9.90 kB │ gzip: 2.01 kB
+apps/web/dist/assets/vendor~note-print-DcOIEz9K.js 9.93 kB │ gzip: 3.38 kB
+apps/web/dist/assets/vendor~rst~cmake-DMpeTg2Q.js 9.97 kB │ gzip: 3.47 kB
+apps/web/dist/assets/vendor~ts-tags-cWFWXtpN.js 9.97 kB │ gzip: 1.64 kB
+apps/web/dist/assets/vendor~light-plus-z4huInQE.js 10.05 kB │ gzip: 2.35 kB
+apps/web/dist/assets/cynefinDiagram-MW4NZA55-DaZv9mtK.js 10.14 kB │ gzip: 3.61 kB
+apps/web/dist/assets/vendor~hcl-C16zp5F7.js 10.17 kB │ gzip: 2.02 kB
+apps/web/dist/assets/vendor~pkl-beOYVZd-.js 10.48 kB │ gzip: 1.45 kB
+apps/web/dist/assets/vendor~beancount-B-1k6-BU.js 10.49 kB │ gzip: 1.51 kB
+apps/web/dist/assets/vendor~nextflow-groovy~nextflow-D7BIvIXE.js 10.53 kB │ gzip: 2.21 kB
+apps/web/dist/assets/vendor~raku-CTWwg-IN.js 10.58 kB │ gzip: 3.02 kB
+apps/web/dist/assets/vendor~dream-maker-JaZ8KA3i.js 10.58 kB │ gzip: 2.34 kB
+apps/web/dist/assets/vendor~yaml~twig~ruby~rst~mdc~just~handlebars~erb-NNBM6TzH.js 10.63 kB │ gzip: 2.35 kB
+apps/web/dist/assets/vendor~rst-CxvRUkIc.js 10.87 kB │ gzip: 2.51 kB
+apps/web/dist/assets/EditorNoteSearchBar-D2AbMpF_.js 10.87 kB │ gzip: 3.44 kB
+apps/web/dist/assets/diagram-B4RE2ZJO-8UYXNq47.js 10.93 kB │ gzip: 4.21 kB
+apps/web/dist/assets/stateDiagram-OKZ733FA-BIiAxeju.js 11.04 kB │ gzip: 3.92 kB
+apps/web/dist/assets/vendor~elm-Bo-Wf8r5.js 11.13 kB │ gzip: 2.22 kB
+apps/web/dist/assets/diagram-Q27KOJAE-zbpAVaLx.js 11.24 kB │ gzip: 3.95 kB
+apps/web/dist/assets/vendor~just-BNr2e_rW.js 11.28 kB │ gzip: 2.87 kB
+apps/web/dist/assets/vendor~github-light-DCf04v3Q.js 11.29 kB │ gzip: 2.58 kB
+apps/web/dist/assets/vendor~prolog-DSl-l9mj.js 11.46 kB │ gzip: 3.93 kB
+apps/web/dist/assets/vendor~terraform-C3NzuxDj.js 11.50 kB │ gzip: 2.59 kB
+apps/web/dist/assets/vendor~github-dark-CuTU-GT-.js 11.52 kB │ gzip: 2.62 kB
+apps/web/dist/assets/vendor~puppet-CEkzJIZb.js 11.54 kB │ gzip: 2.19 kB
+apps/web/dist/assets/vendor~laserwave-DLTsj4h0.js 11.60 kB │ gzip: 2.66 kB
+apps/web/dist/assets/MemoListMobileSheets-BAB7ClIk.js 11.73 kB │ gzip: 3.16 kB
+apps/web/dist/assets/vendor~gherkin-BbbQo1jj.js 12.06 kB │ gzip: 5.15 kB
+apps/web/dist/assets/vendor~wasm-BM3wZkt9.js 12.11 kB │ gzip: 2.26 kB
+apps/web/dist/assets/vendor~hjson-mohcytfc.js 12.17 kB │ gzip: 1.73 kB
+apps/web/dist/assets/vendor~apache-BjJH58_D.js 12.57 kB │ gzip: 3.81 kB
+apps/web/dist/assets/vendor~handlebars-DnjiVJXO.js 12.65 kB │ gzip: 2.62 kB
+apps/web/dist/assets/vendor~vesper-BXRNPbku.js 12.80 kB │ gzip: 2.07 kB
+apps/web/dist/assets/vendor~note-print~WorkspaceApp~EditorPane-aVCtuaGO.js 12.94 kB │ gzip: 5.14 kB
+apps/web/dist/assets/vendor~bat-BbRDwukZ.js 13.00 kB │ gzip: 3.32 kB
+apps/web/dist/assets/vendor~mobile-edit~WorkspaceApp~TemplatesPane~TagsPane~TableEditorPane~SettingsPane~PublicS~cyy6i1hm-C2rL8OOo.js 13.07 kB │ gzip: 5.06 kB
+apps/web/dist/assets/vendor~fish-B-R0_3Sv.js 13.15 kB │ gzip: 1.82 kB
+apps/web/dist/assets/vendor~note-print-DEZCOzhF.js 13.23 kB │ gzip: 4.99 kB
+apps/web/dist/assets/vendor~v-CAJDCZGI.js 13.32 kB │ gzip: 2.81 kB
+apps/web/dist/assets/memo-template-seeds-D9OpNfMM.js 13.58 kB │ gzip: 5.52 kB
+apps/web/dist/assets/vendor~note-print-DEiPotTb.js 13.59 kB │ gzip: 4.95 kB
+apps/web/dist/assets/vendor~vitesse-light-oT6tM3nm.js 13.72 kB │ gzip: 3.12 kB
+apps/web/dist/assets/vendor~aurora-x-BwD2Kzsv.js 13.77 kB │ gzip: 2.37 kB
+apps/web/dist/assets/vendor~vitesse-black-Ciplnd-X.js 13.78 kB │ gzip: 3.14 kB
+apps/web/dist/assets/vendor~vitesse-dark-BgkgYFjL.js 13.86 kB │ gzip: 3.14 kB
+apps/web/dist/assets/vendor~luau-CEEE_chT.js 14.07 kB │ gzip: 3.25 kB
+apps/web/dist/assets/vendor~synthwave-84-BMomCTd1.js 14.14 kB │ gzip: 2.93 kB
+apps/web/dist/assets/AgentLogo-DeA3C_oT.js 14.25 kB │ gzip: 5.85 kB
+apps/web/dist/assets/vendor~github-light-default-RcImYll1.js 14.27 kB │ gzip: 3.11 kB
+apps/web/dist/assets/vendor~pug-BwvZRMja.js 14.28 kB │ gzip: 2.81 kB
+apps/web/dist/assets/app-helpers-BNUQW1lo.js 14.29 kB │ gzip: 5.25 kB
+apps/web/dist/assets/vendor~github-light-high-contrast-CG2XkfDd.js 14.39 kB │ gzip: 3.09 kB
+apps/web/dist/assets/vendor~clarity-B80SVupT.js 14.39 kB │ gzip: 2.54 kB
+apps/web/dist/assets/useDeployedUpdateNotice-C6WgBkH8.js 14.53 kB │ gzip: 4.16 kB
+apps/web/dist/assets/vendor~github-dark-dimmed-Dc97dGca.js 14.54 kB │ gzip: 3.21 kB
+apps/web/dist/assets/vendor~github-dark-default-CSvCvEb0.js 14.55 kB │ gzip: 3.21 kB
+apps/web/dist/assets/sankeyDiagram-W5VNT64P-Dt21hTD-.js 14.64 kB │ gzip: 5.70 kB
+apps/web/dist/assets/vendor~github-dark-high-contrast-DwbmdMei.js 14.71 kB │ gzip: 3.17 kB
+apps/web/dist/assets/AiPromptsPane-COhw-jZv.js 14.79 kB │ gzip: 3.86 kB
+apps/web/dist/assets/vendor~gnuplot-C1MkyRBx.js 14.90 kB │ gzip: 3.36 kB
+apps/web/dist/assets/vendor~rust-BRTO61JM.js 15.18 kB │ gzip: 2.79 kB
+apps/web/dist/assets/vendor~kusto-DrrhGXI1.js 15.28 kB │ gzip: 4.01 kB
+apps/web/dist/assets/vendor~actionscript-3-S7vd2E7K.js 15.32 kB │ gzip: 2.76 kB
+apps/web/dist/assets/vendor~nix-CvJ8wPhz.js 15.67 kB │ gzip: 2.58 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~nginx~lua~just~erb-CTE3QS3p.js 15.75 kB │ gzip: 3.29 kB
+apps/web/dist/assets/ShareNotebookDialog-DFBY1JFo.js 15.83 kB │ gzip: 5.01 kB
+apps/web/dist/assets/chunk-6Q2QTUOP-ChwZIS8F.js 15.85 kB │ gzip: 4.48 kB
+apps/web/dist/assets/vendor~abap-CCmr5J_6.js 15.96 kB │ gzip: 6.02 kB
+apps/web/dist/assets/PublicNotebookSharePage-Q4c3SHm4.js 16.01 kB │ gzip: 5.49 kB
+apps/web/dist/assets/local-mirror-D7dlhy-F.js 16.11 kB │ gzip: 5.01 kB
+apps/web/dist/assets/vendor~solidity-B26UcFwO.js 16.18 kB │ gzip: 3.18 kB
+apps/web/dist/assets/vendor~matlab-CMuk7chp.js 16.19 kB │ gzip: 3.15 kB
+apps/web/dist/assets/vendor~SettingsPane~NotebookSiteManagementPage~ShareNotebookDialog~EditorPane~DiagramEditorPane-Cy7WYwM7.js 16.25 kB │ gzip: 6.06 kB
+apps/web/dist/assets/vendor~cue-BeUEjLZ2.js 16.32 kB │ gzip: 2.13 kB
+apps/web/dist/assets/vendor~elixir-biEi15AR.js 16.49 kB │ gzip: 2.91 kB
+apps/web/dist/assets/vendor~odin-DM3MUhGl.js 16.62 kB │ gzip: 3.00 kB
+apps/web/dist/assets/editor-heading-anchor-CHIjRkUY.js 16.96 kB │ gzip: 6.14 kB
+apps/web/dist/assets/note-print-BjXSqdCT.js 17.05 kB │ gzip: 5.74 kB
+apps/web/dist/assets/vendor~bird2-PP-u3RPu.js 17.08 kB │ gzip: 3.93 kB
+apps/web/dist/assets/TemplatesPane-BQu58zdX.js 17.08 kB │ gzip: 4.39 kB
+apps/web/dist/assets/vendor~kanagawa-wave-B1q4GwYe.js 17.23 kB │ gzip: 2.99 kB
+apps/web/dist/assets/vendor~kanagawa-lotus-DACq4h3D.js 17.23 kB │ gzip: 2.99 kB
+apps/web/dist/assets/vendor~kanagawa-dragon-C2x4n4Zd.js 17.23 kB │ gzip: 3.01 kB
+apps/web/dist/assets/PluginPanelDialog-nflPos6K.js 17.33 kB │ gzip: 5.93 kB
+apps/web/dist/assets/diagram-layout-2hoKTWtE.js 17.37 kB │ gzip: 5.82 kB
+apps/web/dist/assets/ishikawaDiagram-WSZJBQD7-fR6-GM5L.js 17.54 kB │ gzip: 6.66 kB
+apps/web/dist/assets/vendor~move-BPRTZ9o7.js 17.61 kB │ gzip: 3.15 kB
+apps/web/dist/assets/PdfViewer-CFn04gAE.js 17.93 kB │ gzip: 5.38 kB
+apps/web/dist/assets/vendor-linkify-CIvpWWoQ.js 17.96 kB │ gzip: 10.15 kB
+apps/web/dist/assets/AssetsPane-DdcGnZuf.js 18.23 kB │ gzip: 5.61 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~just~hurl~http~graphql~erb-CA5v4RgX.js 18.46 kB │ gzip: 2.73 kB
+apps/web/dist/assets/vendor~liquid-CgHsOc6x.js 18.59 kB │ gzip: 3.39 kB
+apps/web/dist/assets/vendor~svelte-F08N3QU_.js 18.72 kB │ gzip: 3.39 kB
+apps/web/dist/assets/vendor~material-theme-C7t7fGrf.js 18.72 kB │ gzip: 3.19 kB
+apps/web/dist/assets/vendor~material-theme-darker-D6cTKH70.js 18.73 kB │ gzip: 3.18 kB
+apps/web/dist/assets/vendor~material-theme-ocean-DK02fDGH.js 18.73 kB │ gzip: 3.21 kB
+apps/web/dist/assets/vendor~material-theme-lighter-Cq5btxYD.js 18.74 kB │ gzip: 3.19 kB
+apps/web/dist/assets/vendor~material-theme-palenight-C8VJhVNq.js 18.74 kB │ gzip: 3.20 kB
+apps/web/dist/assets/vendor~gdscript~gdresource-DriIDkVI.js 19.11 kB │ gzip: 3.84 kB
+apps/web/dist/assets/vendor~groovy-CMLscrQL.js 19.29 kB │ gzip: 3.68 kB
+apps/web/dist/assets/vendor~highlighted-body-KPVGNVTW~mermaid-HWGCJPDP~TableEditorPane~PosterEditorPane~Infograp~gu0fxw7r-CfRaXiiM.js 19.49 kB │ gzip: 7.05 kB
+apps/web/dist/assets/vendor-mermaid-layout-JWrJdtpI.js 19.58 kB │ gzip: 7.58 kB
+apps/web/dist/assets/vendor~mdc-CnzyrS8o.js 19.81 kB │ gzip: 6.82 kB
+apps/web/dist/assets/desktop-sync-DcF-LP-J.js 19.84 kB │ gzip: 6.14 kB
+apps/web/dist/assets/code-block-CKNS1e0x.js 19.95 kB │ gzip: 6.95 kB
+apps/web/dist/assets/vendor~ayu-dark-5WUI_jRH.js 20.19 kB │ gzip: 4.02 kB
+apps/web/dist/assets/vendor~ayu-mirage-Dlh6s6Qp.js 20.20 kB │ gzip: 4.01 kB
+apps/web/dist/assets/vendor~powershell-ZDN2sQRJ.js 20.26 kB │ gzip: 4.13 kB
+apps/web/dist/assets/vendor~ayu-light-BsdTC_Y5.js 20.26 kB │ gzip: 3.99 kB
+apps/web/dist/assets/vendor~viml-dZr4Rd5x.js 20.47 kB │ gzip: 6.82 kB
+apps/web/dist/assets/vendor~nushell-tyWCWIWq.js 20.52 kB │ gzip: 5.30 kB
+apps/web/dist/assets/vendor~glimmer-js-DIMS9OyG.js 20.62 kB │ gzip: 3.21 kB
+apps/web/dist/assets/vendor~glimmer-ts-Bpw9sgWE.js 20.62 kB │ gzip: 3.20 kB
+apps/web/dist/assets/kanban-definition-27J2QSJJ-BCiUBxw_.js 20.62 kB │ gzip: 7.33 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~ReadOnlyX6Diagram~index~DiagramEditorPane~blockDiagram-VB~e6yp9bwr-CvubkEde.js 20.79 kB │ gzip: 7.27 kB
+apps/web/dist/assets/vendor~snazzy-light-B1BUERHc.js 20.88 kB │ gzip: 3.89 kB
+apps/web/dist/assets/vendor~transcribe-note-resource-C7A7pQsO.js 20.92 kB │ gzip: 6.94 kB
+apps/web/dist/assets/vendor~dracula-DVxqUL7T.js 21.18 kB │ gzip: 4.09 kB
+apps/web/dist/assets/vendor~dracula-soft-D8pDpOVM.js 21.19 kB │ gzip: 4.12 kB
+apps/web/dist/assets/vendor~twig-BAllwFXc.js 21.39 kB │ gzip: 3.91 kB
+apps/web/dist/assets/vendor~wit-B0F6hWO6.js 21.57 kB │ gzip: 2.96 kB
+apps/web/dist/assets/vendor~rose-pine-5iic-loy.js 21.85 kB │ gzip: 3.95 kB
+apps/web/dist/assets/vendor~rose-pine-moon-CfGUKMK3.js 21.86 kB │ gzip: 3.97 kB
+apps/web/dist/assets/vendor~rose-pine-dawn-CH5rZzXu.js 21.86 kB │ gzip: 3.97 kB
+apps/web/dist/assets/vennDiagram-T6HMQDX7-BaUHXUwP.js 21.98 kB │ gzip: 8.06 kB
+apps/web/dist/assets/vendor~common-lisp-DzmpDArM.js 22.69 kB │ gzip: 6.16 kB
+apps/web/dist/assets/vendor~gruvbox-dark-hard-CEm4sC9_.js 22.74 kB │ gzip: 4.25 kB
+apps/web/dist/assets/vendor~gruvbox-dark-soft-mEj_kWpV.js 22.74 kB │ gzip: 4.25 kB
+apps/web/dist/assets/vendor~gruvbox-light-hard-DoimTpcl.js 22.75 kB │ gzip: 4.25 kB
+apps/web/dist/assets/vendor~gruvbox-light-soft-CrqElIc1.js 22.75 kB │ gzip: 4.25 kB
+apps/web/dist/assets/vendor~gruvbox-dark-medium-DJk2Bk7O.js 22.75 kB │ gzip: 4.25 kB
+apps/web/dist/assets/vendor~gruvbox-light-medium-85SGOz8X.js 22.75 kB │ gzip: 4.26 kB
+apps/web/dist/assets/vendor~surrealql-DtjCgQeS.js 22.80 kB │ gzip: 4.47 kB
+apps/web/dist/assets/mindmap-definition-FAOFIHXS-CysPq16o.js 23.15 kB │ gzip: 7.84 kB
+apps/web/dist/assets/vendor~nim-6BjsQjAw.js 23.17 kB │ gzip: 3.47 kB
+apps/web/dist/assets/journeyDiagram-NVQOT4AX-CWqc4gTr.js 23.44 kB │ gzip: 8.35 kB
+apps/web/dist/assets/vendor~twig~ts-tags~stata~sql~sas~ruby~rst~php~perl~just~julia~hack~erb~crystal~cpp~blade-CSHimbDj.js 23.53 kB │ gzip: 7.53 kB
+apps/web/dist/assets/vendor~ReadOnlyX6Diagram~DiagramEditorPane-BzTRcUSW.js 23.73 kB │ gzip: 9.40 kB
+apps/web/dist/assets/vendor~cadence-DRyj-kAK.js 23.78 kB │ gzip: 3.74 kB
+apps/web/dist/assets/vendor~typespec-BTwdmSq4.js 24.13 kB │ gzip: 2.66 kB
+apps/web/dist/assets/vendor~EditorPane-CFLr1jqs.js 24.26 kB │ gzip: 6.31 kB
+apps/web/dist/assets/vendor~vhdl-DpDoWQnK.js 24.37 kB │ gzip: 3.95 kB
+apps/web/dist/assets/vendor~templ-C9noAlsP.js 24.42 kB │ gzip: 5.61 kB
+apps/web/dist/assets/SystemInfoCard-D-YVXc7l.js 24.49 kB │ gzip: 8.03 kB
+apps/web/dist/assets/vendor-tiptap-react-BeZPb2mh.js 24.55 kB │ gzip: 7.96 kB
+apps/web/dist/assets/vendor~apl-Ch6kis1S.js 24.61 kB │ gzip: 4.45 kB
+apps/web/dist/assets/vendor~astro-CkXDFW9y.js 24.62 kB │ gzip: 7.90 kB
+apps/web/dist/assets/vendor~angular-ts~angular-html-DPcemsa6.js 24.64 kB │ gzip: 4.20 kB
+apps/web/dist/assets/vendor~purescript-DCWS6vwG.js 24.79 kB │ gzip: 3.33 kB
+apps/web/dist/assets/vendor-floating-Coj2Neux.js 24.93 kB │ gzip: 9.55 kB
+apps/web/dist/assets/font-catalog-Dgn-vVDB.js 25.01 kB │ gzip: 8.12 kB
+apps/web/dist/assets/vendor~vue-ClBIvKEL.js 25.33 kB │ gzip: 3.35 kB
+apps/web/dist/assets/vendor~one-light-BKdyc2Js.js 25.41 kB │ gzip: 3.72 kB
+apps/web/dist/assets/wardleyDiagram-T6FBY63Y-BHTs8Rwk.js 25.42 kB │ gzip: 6.68 kB
+apps/web/dist/assets/vendor~fsharp-DL4XkRVR.js 25.46 kB │ gzip: 4.22 kB
+apps/web/dist/assets/vendor~c3-Rlfqvf7y.js 25.74 kB │ gzip: 3.94 kB
+apps/web/dist/assets/vendor~marko-CiZgpvOy.js 25.90 kB │ gzip: 3.83 kB
+apps/web/dist/assets/vendor~night-owl-light-CdOKIUtX.js 26.01 kB │ gzip: 4.32 kB
+apps/web/dist/assets/vendor~system-verilog-C11fYr-F.js 26.31 kB │ gzip: 4.90 kB
+apps/web/dist/assets/vendor-mermaid-layout-ozHrtKrC.js 26.33 kB │ gzip: 8.42 kB
+apps/web/dist/assets/vendor~highlighted-body-KPVGNVTW~mermaid-HWGCJPDP~TableEditorPane~PosterEditorPane~Infograp~gu0fxw7r-C6thRQmK.js 26.45 kB │ gzip: 9.63 kB
+apps/web/dist/assets/vendor~nord-hapiUcML.js 26.83 kB │ gzip: 4.44 kB
+apps/web/dist/assets/vendor~codeql-CGbKX0-H.js 27.00 kB │ gzip: 3.89 kB
+apps/web/dist/assets/architectureDiagram-T3A2C74G-DcBf_zjc.js 27.18 kB │ gzip: 8.78 kB
+apps/web/dist/assets/vendor~xsl~xml~twig~ts-tags~ruby~rst~php~perl~nim~just~java~hurl~http~erb~cobol~blade~apl-DFFMjqeu.js 27.34 kB │ gzip: 4.34 kB
+apps/web/dist/assets/vendor~vue-vine~twig~scss~marko~angular-ts-DWFa_eBN.js 27.44 kB │ gzip: 4.35 kB
+apps/web/dist/assets/erDiagram-JOGREHBK-Cdv4EFQH.js 27.49 kB │ gzip: 9.63 kB
+apps/web/dist/assets/vendor~coffee-CTPSS7TC.js 27.64 kB │ gzip: 6.50 kB
+apps/web/dist/assets/vendor~razor-MnvcTWWX.js 27.70 kB │ gzip: 3.70 kB
+apps/web/dist/assets/vendor-ui-utils-CyXsDI9i.js 28.20 kB │ gzip: 9.20 kB
+apps/web/dist/assets/note-search-gmI2KeQx.js 28.49 kB │ gzip: 11.19 kB
+apps/web/dist/assets/companion-actions-DaZdHYtc.js 28.56 kB │ gzip: 7.69 kB
+apps/web/dist/assets/vendor~scala-D0fgwCk-.js 28.99 kB │ gzip: 4.01 kB
+apps/web/dist/assets/vendor~night-owl-B3E_0cJo.js 29.02 kB │ gzip: 5.23 kB
+apps/web/dist/assets/gitGraphDiagram-DS77QQ5N-BhgWzgFz.js 29.46 kB │ gzip: 8.83 kB
+apps/web/dist/assets/vendor~mermaid-Klv5C5qU.js 29.62 kB │ gzip: 3.73 kB
+apps/web/dist/assets/vendor~applescript-CGhP0HB_.js 29.68 kB │ gzip: 6.04 kB
+apps/web/dist/assets/vendor-mermaid-render-Su6q7vOO.js 29.89 kB │ gzip: 8.05 kB
+apps/web/dist/assets/vendor~crystal-BDShktay.js 30.11 kB │ gzip: 4.77 kB
+apps/web/dist/assets/ui-primitives-BY6_G75O.js 30.35 kB │ gzip: 7.09 kB
+apps/web/dist/assets/timeline-definition-Z64GVDOM-BalHkpuT.js 30.82 kB │ gzip: 10.20 kB
+apps/web/dist/assets/ai-direct-generate-DieOmFo0.js 30.82 kB │ gzip: 8.36 kB
+apps/web/dist/assets/vendor~vue-vine~stylus-DKBfMLm-.js 31.19 kB │ gzip: 8.11 kB
+apps/web/dist/assets/requirementDiagram-LRYGKXZP-yupFFiAG.js 31.31 kB │ gzip: 9.93 kB
+apps/web/dist/assets/vendor~julia-CAFnRURD.js 31.44 kB │ gzip: 4.56 kB
+apps/web/dist/assets/mobile-edit-Ds797GcG.js 32.60 kB │ gzip: 11.46 kB
+apps/web/dist/assets/vendor~poimandres-Dwr-dDQE.js 33.60 kB │ gzip: 5.58 kB
+apps/web/dist/assets/quadrantDiagram-CIZ2JOQS-CA9RyUA5.js 33.70 kB │ gzip: 9.88 kB
+apps/web/dist/assets/vendor~one-dark-pro-CWFYl9Uo.js 33.89 kB │ gzip: 5.59 kB
+apps/web/dist/assets/TableEditorPane-Dwf4BNDi.js 33.93 kB │ gzip: 9.59 kB
+apps/web/dist/assets/mermaid.core-CwpJVOVb.js 33.99 kB │ gzip: 10.59 kB
+apps/web/dist/assets/vendor~bsl-Dw6ZI5s3.js 34.00 kB │ gzip: 8.45 kB
+apps/web/dist/assets/chunk-7Z6QIM7H-fy5H2pX5.js 34.26 kB │ gzip: 7.45 kB
+apps/web/dist/assets/vendor-mermaid-layout-DpZLjbEl.js 34.65 kB │ gzip: 11.45 kB
+apps/web/dist/assets/vendor~hxml~haxe-Cl2WEDmM.js 35.28 kB │ gzip: 5.99 kB
+apps/web/dist/assets/vendor~nginx-ueQ434Fu.js 35.51 kB │ gzip: 4.57 kB
+apps/web/dist/assets/vendor~houston-D3gpOkaM.js 35.53 kB │ gzip: 5.86 kB
+apps/web/dist/assets/vendor~tokyo-night-fGEQI50G.js 35.77 kB │ gzip: 6.32 kB
+apps/web/dist/assets/vendor~WorkspaceApp~motion-features~TableEditorPane~SettingsPane~PosterEditorPane~PluginMar~b1ahy2va-C9zi1VDN.js 36.16 kB │ gzip: 12.82 kB
+apps/web/dist/assets/plugin-trust-BQKoVn3r.js 36.82 kB │ gzip: 10.49 kB
+apps/web/dist/assets/vendor~erlang-DB_C49vn.js 37.63 kB │ gzip: 4.46 kB
+apps/web/dist/assets/vendor~WorkspaceApp-DECKW7q5.js 38.14 kB │ gzip: 13.44 kB
+apps/web/dist/assets/chunk-5RXB4S5H-CpFdahf2.js 38.15 kB │ gzip: 12.57 kB
+apps/web/dist/assets/vendor-beautiful-mermaid-BwwrmkeJ.js 38.48 kB │ gzip: 22.25 kB
+apps/web/dist/assets/vendor~cobol-BXbQC0ts.js 39.41 kB │ gzip: 11.10 kB
+apps/web/dist/assets/ganttDiagram-PKOTCBZU-DVk4hQhl.js 39.59 kB │ gzip: 13.00 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~mermaid.core~Diagr~o2ns5y86-Cvv_pE0W.js 39.59 kB │ gzip: 12.42 kB
+apps/web/dist/assets/desktop-repository-CTAmuK-z.js 39.66 kB │ gzip: 10.60 kB
+apps/web/dist/assets/vendor~PublicSharePage~PublicNotebookSharePage~ImageViewer~EditorPane~AssetsPane-CipfXH9U.js 39.90 kB │ gzip: 14.79 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~highlighted-body-KPVGNVTW~mermaid-HWGCJPDP~WorkspaceApp~deskt~mdkr2tfg-CSWuHC5l.js 40.39 kB │ gzip: 12.36 kB
+apps/web/dist/assets/xychartDiagram-ELKLHX3M-qkWOvYed.js 40.52 kB │ gzip: 11.34 kB
+apps/web/dist/assets/vendor~WorkspaceApp~TemplatesPane~EvernoteImportGuidePane~EditorPane-Bp7ubzna.js 40.77 kB │ gzip: 12.58 kB
+apps/web/dist/assets/vendor~asm-D70aM-kq.js 40.83 kB │ gzip: 8.26 kB
+apps/web/dist/assets/vendor-query-BxaSzqPk.js 41.05 kB │ gzip: 11.99 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~WorkspaceApp~desktop-repository~sync-queue~poster-canvas~temp~cn8s5o2s-28nOt6V8.js 41.07 kB │ gzip: 13.54 kB
+apps/web/dist/assets/vendor~twig~shellsession~shellscript~ruby~rst~just~http~git-rebase~erb~crystal-DxBiWjG4.js 41.60 kB │ gzip: 6.17 kB
+apps/web/dist/assets/vendor~haskell-BbX5CRgj.js 41.60 kB │ gzip: 6.50 kB
+apps/web/dist/assets/chunk-ZIRB5QZD-D_h5bReW.js 42.09 kB │ gzip: 14.37 kB
+apps/web/dist/assets/vendor~perl~just-BOQFsmKj.js 43.77 kB │ gzip: 4.94 kB
+apps/web/dist/assets/vendor~d-BH1pANR7.js 43.91 kB │ gzip: 8.52 kB
+apps/web/dist/assets/vendor~motion-features~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~Di~e96euzgv-D35d0enI.js 44.87 kB │ gzip: 16.81 kB
+apps/web/dist/assets/vendor~note-print-N9ohhNzl.js 45.09 kB │ gzip: 14.35 kB
+apps/web/dist/assets/vendor~diagram-layout~DiagramEditorPane~diagram-layout-HvmiiiOA.js 46.00 kB │ gzip: 15.74 kB
+apps/web/dist/assets/vendor-mermaid-render-DD0oyK9q.js 46.06 kB │ gzip: 17.90 kB
+apps/web/dist/assets/vendor~TableEditorPane-alMIgFXX.js 46.12 kB │ gzip: 12.09 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~just~erb-DFiYr1WY.js 46.87 kB │ gzip: 5.99 kB
+apps/web/dist/assets/vendor~templ~go-YEPVIWaj.js 46.92 kB │ gzip: 5.24 kB
+apps/web/dist/assets/vendor~apex-BfsiTnlJ.js 47.10 kB │ gzip: 6.81 kB
+apps/web/dist/assets/vendor~catppuccin-mocha-BkysqqcK.js 47.37 kB │ gzip: 8.08 kB
+apps/web/dist/assets/vendor~catppuccin-latte-BlB3gnHG.js 47.37 kB │ gzip: 8.08 kB
+apps/web/dist/assets/vendor~catppuccin-frappe-B3vdXGjR.js 47.37 kB │ gzip: 8.09 kB
+apps/web/dist/assets/vendor~catppuccin-macchiato-Dvlb-MPs.js 47.37 kB │ gzip: 8.09 kB
+apps/web/dist/assets/sync-queue-CzrqDvk_.js 47.71 kB │ gzip: 12.37 kB
+apps/web/dist/assets/vendor-i18n-BSt4fbXu.js 47.75 kB │ gzip: 15.67 kB
+apps/web/dist/assets/PluginMarketplacePane-YBFWcHFt.js 48.04 kB │ gzip: 13.58 kB
+apps/web/dist/assets/vendor~ada-Cm1pQaAS.js 48.19 kB │ gzip: 6.05 kB
+apps/web/dist/assets/PublicSharePage-BwNSJbgO.js 48.64 kB │ gzip: 15.01 kB
+apps/web/dist/assets/chunk-GF5L2VYU-DrlfRJvF.js 49.12 kB │ gzip: 15.92 kB
+apps/web/dist/assets/vendor~vue-vine~vue~twig~ts-tags~templ~svelte~soy~scss~ruby~rst~razor~pug~php~perl~nim~mdc~~mumbwseq-CiJsMU8z.js 49.14 kB │ gzip: 11.98 kB
+apps/web/dist/assets/vendor~ai-model~ai-direct-generate~companion-direct-stream-B9GGNvxd.js 49.87 kB │ gzip: 14.22 kB
+apps/web/dist/assets/vendor~imba-DgvNbKri.js 50.04 kB │ gzip: 9.56 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~tiptap-ime-test~WorkspaceApp~desktop-repository~sync-queue~po~h8c4zewo-BN3dg0jw.js 51.06 kB │ gzip: 15.12 kB
+apps/web/dist/assets/vendor-mermaid-layout-Dv-p4wAF.js 52.21 kB │ gzip: 17.18 kB
+apps/web/dist/assets/vendor~everforest-dark-CC9aDUn-.js 53.86 kB │ gzip: 8.46 kB
+apps/web/dist/assets/vendor~everforest-light-CCHDJI-H.js 53.86 kB │ gzip: 8.46 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~DiagramEditorPane-CosFDzoI.js 54.23 kB │ gzip: 18.91 kB
+apps/web/dist/assets/diagram-mindmap-style-BSFayPJW.js 55.87 kB │ gzip: 17.59 kB
+apps/web/dist/assets/vendor~wikitext-CRexJYB5.js 55.99 kB │ gzip: 4.91 kB
+apps/web/dist/assets/vendor~stata-CSX1iTGG.js 57.20 kB │ gzip: 12.55 kB
+apps/web/dist/assets/vendor~vue~twig~ts-tags~soy~ruby~rst~razor~pug~php~perl~nim~mdc~liquid~just~jinja~html-deri~l3qvbsif-LfVnUUNf.js 57.58 kB │ gzip: 11.93 kB
+apps/web/dist/assets/vendor~ballerina-BBwdyMst.js 58.81 kB │ gzip: 8.19 kB
+apps/web/dist/assets/vendor~nim~mdc~markdown~fsharp~erlang-BhRrH1q8.js 59.45 kB │ gzip: 5.75 kB
+apps/web/dist/assets/chunk-JQJVKLGR-C8QxfSvZ.js 60.58 kB │ gzip: 19.74 kB
+apps/web/dist/assets/web-CcmI0W6h.js 60.92 kB │ gzip: 17.72 kB
+apps/web/dist/assets/vendor~ocaml-Bp7tMyw-.js 62.56 kB │ gzip: 5.13 kB
+apps/web/dist/assets/vendor~SettingsPane~zip-reader-tm2qO5_F.js 62.86 kB │ gzip: 23.19 kB
+apps/web/dist/assets/InfographicEditorPane-D8yfsrZU.js 65.75 kB │ gzip: 23.73 kB
+apps/web/dist/assets/vendor~ai-model~infographic-direct~ai-direct-generate~companion-direct-stream~index-CMUXQzTz.js 67.04 kB │ gzip: 21.47 kB
+apps/web/dist/assets/vendor~transcribe-note-resource-C5BOZEPb.js 67.79 kB │ gzip: 17.43 kB
+apps/web/dist/assets/c4Diagram-5PPSVZJV-DNWhv1tb.js 69.66 kB │ gzip: 19.78 kB
+apps/web/dist/assets/vendor~mojo-9_ZnL1gJ.js 69.91 kB │ gzip: 9.30 kB
+apps/web/dist/assets/vendor~SettingsPane~MarkdownSourceEditor-BEKLGLED.js 70.05 kB │ gzip: 12.08 kB
+apps/web/dist/assets/vendor~twig~rst~python~just~julia~cairo-B6Glr9AQ.js 70.07 kB │ gzip: 9.19 kB
+apps/web/dist/assets/vendor~cose-bilkent-JH36ORCC-C-tMbYfs.js 70.78 kB │ gzip: 18.19 kB
+apps/web/dist/assets/blockDiagram-VBNYF7ZC-D83cynVr.js 71.11 kB │ gzip: 20.37 kB
+apps/web/dist/assets/vendor~infographic-direct~index-CmOzbYAV.js 71.23 kB │ gzip: 17.39 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~tiptap-ime-test~WorkspaceApp~desktop-repository~sync-queue~po~h8c4zewo-v_DZhL4e.js 71.42 kB │ gzip: 22.90 kB
+apps/web/dist/assets/vendor~twig~ts-tags~ruby~rst~nim~nginx~lua~just~julia~glsl~erb~elm~crystal~cpp~c-CxugTyUN.js 72.23 kB │ gzip: 10.59 kB
+apps/web/dist/assets/vendor~latex-Btvbauie.js 72.76 kB │ gzip: 6.78 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~DiagramEditorPane-BdsdRE_c.js 73.68 kB │ gzip: 19.29 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~index-Ba44E8-p.js 74.28 kB │ gzip: 23.72 kB
+apps/web/dist/assets/vendor~vyper-CiPlnggz.js 74.76 kB │ gzip: 10.78 kB
+apps/web/dist/assets/api-D1k_jNGY.js 75.35 kB │ gzip: 16.83 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~DiagramEditorPane-91KLZgWV.js 76.37 kB │ gzip: 24.56 kB
+apps/web/dist/assets/vendor~hack-De0IRu50.js 80.51 kB │ gzip: 26.48 kB
+apps/web/dist/assets/font-loader-B120eISS.js 82.52 kB │ gzip: 8.18 kB
+apps/web/dist/assets/vendor~swift-D-SpZ843.js 86.79 kB │ gzip: 14.78 kB
+apps/web/dist/assets/vendor~note-print-B1hb_XcI.js 87.11 kB │ gzip: 20.12 kB
+apps/web/dist/assets/templates-thF1h7xp.js 88.41 kB │ gzip: 28.65 kB
+apps/web/dist/assets/vendor~fortran-free-form~fortran-fixed-form-DMfipwBv.js 89.08 kB │ gzip: 11.28 kB
+apps/web/dist/assets/vendor~razor~csharp-Dw56Z-t0.js 89.80 kB │ gzip: 10.73 kB
+apps/web/dist/assets/vendor~racket-BHxS0qL9.js 92.50 kB │ gzip: 15.17 kB
+apps/web/dist/assets/NotebookPane-BP9RDFPQ.js 92.53 kB │ gzip: 24.26 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~index-CXtTggbl.js 97.61 kB │ gzip: 42.15 kB
+apps/web/dist/assets/vendor~vue-vine~marko~less-CK0fjmXx.js 97.75 kB │ gzip: 14.94 kB
+apps/web/dist/assets/vendor~highlighted-body-KPVGNVTW~mermaid-HWGCJPDP~TableEditorPane~PosterEditorPane~Infograp~gu0fxw7r-croj3M3p.js 99.91 kB │ gzip: 27.07 kB
+apps/web/dist/assets/PosterEditorPane-DFmWpwFb.js 100.03 kB │ gzip: 32.91 kB
+apps/web/dist/assets/vendor-storage-C_B9lbV4.js 101.00 kB │ gzip: 33.28 kB
+apps/web/dist/assets/vendor-tiptap-core-fqqiZnsn.js 101.14 kB │ gzip: 32.16 kB
+apps/web/dist/assets/vendor-zod-M0xiiq4s.js 101.62 kB │ gzip: 28.98 kB
+apps/web/dist/assets/chunk-QR6OTTB3-CRhjHroD.js 102.22 kB │ gzip: 24.33 kB
+apps/web/dist/assets/vendor~architectureDiagram-T3A2C74G-DUFSFQL7.js 102.34 kB │ gzip: 26.80 kB
+apps/web/dist/assets/EditorPaneChrome-Csy84c5O.js 102.69 kB │ gzip: 31.58 kB
+apps/web/dist/assets/vendor~objective-c-DLJ93KiB.js 105.52 kB │ gzip: 23.73 kB
+apps/web/dist/assets/vendor~blade-B68uX617.js 105.70 kB │ gzip: 28.63 kB
+apps/web/dist/assets/vendor~SettingsPane-DjT7CPPf.js 106.12 kB │ gzip: 51.81 kB
+apps/web/dist/assets/vendor~TableEditorPane~PosterEditorPane~InfographicEditorPane~EditorPane~DiagramEditorPane-AY86bQf_.js 109.21 kB │ gzip: 35.38 kB
+apps/web/dist/assets/DiagramEditorPane-CPEjqKKJ.js 109.57 kB │ gzip: 32.76 kB
+apps/web/dist/assets/vendor~infographic-syntax-adapter~index-Cqeaudho.js 110.29 kB │ gzip: 37.15 kB
+apps/web/dist/assets/vendor~twig~php-D1MwGrFD.js 111.73 kB │ gzip: 28.97 kB
+apps/web/dist/assets/swimlanes-SLNWSIFB-CzpSo4NG.js 114.50 kB │ gzip: 39.14 kB
+apps/web/dist/assets/sequenceDiagram-SI44F4Z6-C9yPI2Md.js 116.29 kB │ gzip: 31.23 kB
+apps/web/dist/assets/vendor~transcribe-note-resource-DU2HD_NA.js 118.96 kB │ gzip: 34.45 kB
+apps/web/dist/assets/vendor-streamdown-CJ6jw4qC.js 121.35 kB │ gzip: 40.14 kB
+apps/web/dist/assets/vendor~transcribe-note-resource-WoSl650c.js 122.96 kB │ gzip: 32.59 kB
+apps/web/dist/assets/vendor~note-print-vrDqD9zk.js 123.84 kB │ gzip: 29.28 kB
+apps/web/dist/assets/vendor~ai-model~ai-direct-generate~companion-direct-stream-CME0CVDZ.js 124.29 kB │ gzip: 26.72 kB
+apps/web/dist/assets/vendor-mermaid-d3-24Kg6Lmu.js 127.64 kB │ gzip: 40.53 kB
+apps/web/dist/assets/vendor~transcribe-note-resource-sTIPEra_.js 127.97 kB │ gzip: 31.98 kB
+apps/web/dist/assets/vendor~note-print-D9N7K45I.js 129.21 kB │ gzip: 33.42 kB
+apps/web/dist/assets/vendor~highlighted-body-KPVGNVTW~mermaid-HWGCJPDP~TableEditorPane~PosterEditorPane~Infograp~gu0fxw7r-BwUui8G5.js 130.25 kB │ gzip: 27.60 kB
+apps/web/dist/assets/vendor~asciidoc-D46NLwbc.js 131.64 kB │ gzip: 9.41 kB
+apps/web/dist/assets/vendor~note-print-B5uLVQ3M.js 132.48 kB │ gzip: 35.84 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~WorkspaceApp~desktop-repository~sync-queue~poster-canvas~temp~cn8s5o2s-B5W-sZaG.js 134.48 kB │ gzip: 42.06 kB
+apps/web/dist/assets/vendor~mdx-BTqAIv81.js 136.22 kB │ gzip: 23.63 kB
+apps/web/dist/assets/vendor~mobile-edit~note-print~tiptap-ime-test~WorkspaceApp~desktop-repository~sync-queue~po~h8c4zewo-DpCxajJs.js 140.99 kB │ gzip: 43.88 kB
+apps/web/dist/assets/vendor~ai-model~ai-direct-generate~companion-direct-stream-B6bKevlu.js 143.60 kB │ gzip: 38.38 kB
+apps/web/dist/assets/vendor-beautiful-mermaid-DFU3aFDn.js 152.81 kB │ gzip: 46.00 kB
+apps/web/dist/assets/vendor~note-print-v66MuD5o.js 155.78 kB │ gzip: 107.19 kB
+apps/web/dist/assets/i18n-pl-DGfFtSTQ.js 157.81 kB │ gzip: 52.93 kB
+apps/web/dist/assets/vendor-radix-D-PfJgXQ.js 168.30 kB │ gzip: 50.53 kB
+apps/web/dist/assets/vendor~docx-preview-V3Jx3WzP.js 171.39 kB │ gzip: 49.13 kB
+apps/web/dist/assets/vendor~objective-cpp-CGY8V9Gh.js 172.08 kB │ gzip: 31.07 kB
+apps/web/dist/assets/vendor~vue-vine~vue-html~vue~twig~ts-tags~templ~svelte~surrealql~soy~ruby~rst~razor~qml~pug~bdiiqj9m-QMe7DnHe.js 174.95 kB │ gzip: 16.72 kB
+apps/web/dist/assets/vendor~infographic-direct~index-CcSUYb0e.js 175.08 kB │ gzip: 42.03 kB
+apps/web/dist/assets/vendor~twig~tsx~ruby~rst~just~hurl~http~graphql~erb~astro-CZuHh0wP.js 175.66 kB │ gzip: 16.71 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~just~jsx~hurl~http~graphql~erb-CAisy-8h.js 177.91 kB │ gzip: 16.81 kB
+apps/web/dist/assets/vendor~vue~typescript~twig~ts-tags~svelte~ruby~rst~marko~just~hurl~http~graphql~glimmer-ts~~dv71x829-CcNhZQ5U.js 181.20 kB │ gzip: 16.33 kB
+apps/web/dist/assets/i18n-ja-D5RClJNp.js 181.61 kB │ gzip: 53.78 kB
+apps/web/dist/assets/vendor~angular-ts-DewINgSS.js 184.07 kB │ gzip: 16.97 kB
+apps/web/dist/assets/vendor~vue-vine-SNXZZMfC.js 190.55 kB │ gzip: 18.31 kB
+apps/web/dist/assets/SettingsPane-DJnqkYRi.js 195.13 kB │ gzip: 46.08 kB
+apps/web/dist/assets/chunk-I66GZJ75-B7_xfTXB.js 198.42 kB │ gzip: 23.95 kB
+apps/web/dist/assets/src-CK2uPpPz.js 212.19 kB │ gzip: 74.26 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~just~julia~erb~cpp-rMtR6nEE.js 224.54 kB │ gzip: 18.22 kB
+apps/web/dist/assets/vendor-react-EPXrV5ko.js 227.65 kB │ gzip: 72.76 kB
+apps/web/dist/assets/i18n-ru-ZZCKmjN9.js 229.02 kB │ gzip: 60.10 kB
+apps/web/dist/assets/vendor~note-print-B7uKHqbU.js 234.50 kB │ gzip: 28.75 kB
+apps/web/dist/assets/vendor-mermaid-render-DmftwkIT.js 259.12 kB │ gzip: 78.44 kB
+apps/web/dist/assets/vendor~wolfram-DXKRs-FM.js 262.50 kB │ gzip: 77.74 kB
+apps/web/dist/assets/ui-font-uEP-jx4A.js 278.55 kB │ gzip: 98.33 kB
+apps/web/dist/assets/vendor~poster-canvas~templates~PosterEditorPane-DnFCyc6C.js 285.56 kB │ gzip: 89.47 kB
+apps/web/dist/assets/vendor-code-highlight-BJ8w6fWS.js 295.15 kB │ gzip: 95.90 kB
+apps/web/dist/assets/WorkspaceApp-DGA5jsBT.js 328.33 kB │ gzip: 82.32 kB
+apps/web/dist/assets/vendor-icons~WorkspaceApp~NotebookPane-n29IF94F.js 356.52 kB │ gzip: 62.01 kB
+apps/web/dist/assets/EditorPane-D8tvqknI.js 371.21 kB │ gzip: 156.06 kB
+apps/web/dist/assets/note-image-font-manifest-B0o6u7ib.js 390.61 kB │ gzip: 157.12 kB
+apps/web/dist/assets/vendor~twig~ruby~rst~just~julia~erb~cpp-CcNWaJj1.js 402.39 kB │ gzip: 31.31 kB
+apps/web/dist/assets/vendor-infographic-Cr8xJqgD.js 422.14 kB │ gzip: 121.49 kB
+apps/web/dist/assets/vendor~pdf-BM0R1Ft3.js 427.50 kB │ gzip: 128.01 kB
+apps/web/dist/assets/vendor-mermaid-layout--93LSjYQ.js 435.73 kB │ gzip: 139.18 kB
+apps/web/dist/assets/vendor-x6-CgeD6OdD.js 536.80 kB │ gzip: 150.07 kB
+apps/web/dist/assets/vendor-codemirror-Ceky3FXv.js 611.42 kB │ gzip: 211.38 kB
+apps/web/dist/assets/vendor~wasm-CcDzjmNX.js 622.38 kB │ gzip: 232.18 kB
+apps/web/dist/assets/vendor-mermaid-render-CL2yoLrZ.js 663.80 kB │ gzip: 146.33 kB
+apps/web/dist/assets/vendor~emacs-lisp-CAcDB2J0.js 779.97 kB │ gzip: 197.64 kB
+apps/web/dist/assets/vendor~mathlive-loader-Bg1_SEYl.js 802.11 kB │ gzip: 222.07 kB
+apps/web/dist/assets/vendor-beautiful-mermaid-DeoO4YbT.js 1,429.22 kB │ gzip: 441.49 kB
+
+✓ built in 2.47s
+
+PWA v1.3.0
+mode generateSW
+precache 1 entries (0.00 KiB)
+files generated
+ dist/sw.js
+ dist/workbox-5ff8427f.js
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/manager-tests.log b/docs/changes/evidence/2026-10-27-desktop-backup-pr/manager-tests.log
new file mode 100644
index 00000000..acaf9d91
--- /dev/null
+++ b/docs/changes/evidence/2026-10-27-desktop-backup-pr/manager-tests.log
@@ -0,0 +1,45 @@
+bun test v1.3.14 (0d9b296a)
+
+apps/desktop/src/main/backup-manager.test.mjs:
+(pass) publishes only completed jobs, retains registered files and isolates account changes [20.96ms]
+(pass) failure and cancellation preserve success and never rotate; credentials stay out of config [19.26ms]
+(pass) basic_text cannot persist a password and a one-time encrypted run never downgrades [4.39ms]
+(pass) scheduled failures wait one hour while manual retries remain immediate [8.52ms]
+(pass) interrupted publication is verified before success and only registered staging is cleaned [7.31ms]
+(pass) a context switch while preparing a job cannot launch it with the old credentials [3.82ms]
+(pass) the existing local workspace can back up when instance authentication is disabled [5.22ms]
+(pass) temporarily unavailable secure storage pauses encrypted work without plaintext fallback [5.47ms]
+(pass) unreadable backup settings do not block account readiness or overwrite recovery records [2.29ms]
+(pass) a missing renderer cannot fail or strand the background job [5.24ms]
+(pass) the default backup set survives restart before the first backup [2.56ms]
+(pass) a failed completion journal preserves the previous success and leaves a recoverable publication [8.43ms]
+(pass) an account transition rejects queued actions from the previous ready context [3.99ms]
+(pass) a successfully disabled schedule cannot start a queued automatic run [4.50ms]
+(pass) pending encrypted publication accepts its original password (rotated saved password) [10.57ms]
+(pass) pending encrypted publication accepts its original password (unsaved one-time password) [9.21ms]
+(pass) failed private staging cleanup keeps its registration until cleanup succeeds [6.47ms]
+(pass) startup restores the saved backup account without a renderer [6.54ms]
+(pass) logout cancels an unresolved startup session without restoring its account later [2.75ms]
+(pass) failed part cleanup cannot be overwritten by the next backup [9.63ms]
+(pass) part cleanup never follows a replaced backup root [6.45ms]
+(pass) pending verification preserves external parts when its root was replaced [6.78ms]
+(pass) publication cannot rename an external part through a replaced backup root [6.51ms]
+(pass) import failure and successful retry preserve automatic-backup errors and history [13.66ms]
+(pass) legacy decryption errors belong to import [5.92ms]
+(pass) legacy decryption errors belong to pending backup verification [7.44ms]
+(pass) preserves HTTP status and emits only redacted request diagnostics without affecting failure handling [4.39ms]
+(pass) named manual backups preserve formats/settings and never overwrite a collision [13.69ms]
+(pass) history restore/delete are scoped, reject replacements and remove only the selected file [9.85ms]
+(pass) automatic no-change advances checks, not archive time/retention, and invalidates its baseline correctly [16.14ms]
+(pass) restart retains the unchanged schedule and resolves an interrupted running check [9.47ms]
+(pass) named publication recovery verifies the owned file (owned archive recovered) [11.50ms]
+(pass) named publication recovery verifies the owned file (replacement rejected) [7.28ms]
+(pass) retention preserves a newly published archive when a missing filename is reused as A [20.30ms]
+(pass) retention preserves a newly published archive when a missing filename is reused as a [17.75ms]
+(pass) a failed password/configuration commit preserves legacy credentials across restart and a later change invalidates the baseline [13.64ms]
+(pass) a credential reference cannot escape the account private directory [1.79ms]
+
+ 37 pass
+ 0 fail
+ 211 expect() calls
+Ran 37 tests across 1 file. [366.00ms]
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/manual-encrypted.png b/docs/changes/evidence/2026-10-27-desktop-backup-pr/manual-encrypted.png
new file mode 100644
index 00000000..d1456ad5
Binary files /dev/null and b/docs/changes/evidence/2026-10-27-desktop-backup-pr/manual-encrypted.png differ
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/manual-plain.png b/docs/changes/evidence/2026-10-27-desktop-backup-pr/manual-plain.png
new file mode 100644
index 00000000..5e28821b
Binary files /dev/null and b/docs/changes/evidence/2026-10-27-desktop-backup-pr/manual-plain.png differ
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/overview.png b/docs/changes/evidence/2026-10-27-desktop-backup-pr/overview.png
new file mode 100644
index 00000000..5e555999
Binary files /dev/null and b/docs/changes/evidence/2026-10-27-desktop-backup-pr/overview.png differ
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/proxy-tests.log b/docs/changes/evidence/2026-10-27-desktop-backup-pr/proxy-tests.log
new file mode 100644
index 00000000..fc452e3b
--- /dev/null
+++ b/docs/changes/evidence/2026-10-27-desktop-backup-pr/proxy-tests.log
@@ -0,0 +1,48 @@
+bun test v1.3.14 (0d9b296a)
+
+tests/wrangler-runner.test.ts:
+(pass) cross-platform Wrangler runner > uses the installed JavaScript CLI instead of a platform shell shim [0.25ms]
+(pass) cross-platform Wrangler runner > runs the project-local Wrangler without a global installation [862.39ms]
+(pass) cross-platform Wrangler runner > runs Wrangler with Node when the project command itself uses Bun [0.08ms]
+(pass) cross-platform Wrangler runner > forces D1 migration apply into non-interactive CI mode [0.29ms]
+(pass) cross-platform Wrangler runner > normalizes Windows migration line endings for remote D1 [0.06ms]
+(pass) cross-platform Wrangler runner > gives local development an isolated credential encryption key [0.18ms]
+(pass) cross-platform Wrangler runner > resolves the configured assets directory so local dev can create it [0.20ms]
+(pass) cross-platform Wrangler runner > prepares missing dev assets before Wrangler starts and preserves existing files [213.50ms]
+(pass) cross-platform Wrangler runner > resolves an exact D1 database name from Wrangler JSON [0.25ms]
+(pass) cross-platform Wrangler runner > rejects malformed D1 database list output [0.11ms]
+(pass) cross-platform Wrangler runner > reads active production versions and legacy deployment settings [0.14ms]
+(pass) cross-platform Wrangler runner > rejects malformed Worker deployment responses [0.04ms]
+(pass) cross-platform Wrangler runner > keeps every D1 trigger on one physical line for remote compatibility [13.51ms]
+
+tests/wrangler-proxy.test.mjs:
+(pass) local proxy forwards ordinary HTTP through the Node adapter for 127.0.0.1 [1.59ms]
+(pass) local proxy forwards ordinary HTTP through the Node adapter for localhost [0.25ms]
+(pass) local proxy forwards ordinary HTTP through the Node adapter for [::1] [0.24ms]
+(pass) proxy keeps existing connection behavior for https://127.0.0.1:7000 [0.20ms]
+(pass) proxy keeps existing connection behavior for https://preview.example [0.15ms]
+(pass) proxy keeps existing connection behavior for http://remote.example [0.13ms]
+(pass) local WebSocket forwarding keeps its Upgrade connection [0.23ms]
+(pass) GET connection failure on an unchanged worker is reported without retry [0.39ms]
+(pass) POST connection failure on an unchanged worker is reported without retry [0.32ms]
+(pass) actual worker replacement keeps POST failure non-retryable [0.29ms]
+(pass) actual worker replacement keeps GET queued until play [1.16ms]
+(pass) local loopback does not read ahead when its response is backpressured [4.17ms]
+(pass) local loopback cancels its upstream reader when a blocked downstream closes [0.66ms]
+(pass) local loopback preserves a valid compressed empty response [1.41ms]
+
+scripts/local-dev.test.mjs:
+(pass) local development environment > targets every online Android device for local API reverse forwarding [0.42ms]
+(pass) local development environment > keeps persistent development and resettable demo profiles isolated [0.04ms]
+(pass) local development environment > rejects unknown local development profiles [0.02ms]
+(pass) local development environment > renders a Demo banner without requiring an AI bootstrap result [0.04ms]
+(pass) local development environment > inspects a stopped WAL-mode D1 database [7.47ms]
+(pass) local development environment > parses local-only environment files without exposing comments [0.14ms]
+(pass) local development environment > skips AI bootstrap until a local API key is configured [0.04ms]
+(pass) local development environment > builds one deterministic local AI provider seed [0.03ms]
+(pass) local development environment > rejects invalid provider and base URL values [0.04ms]
+
+ 36 pass
+ 0 fail
+ 128 expect() calls
+Ran 36 tests across 3 files. [1192.00ms]
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/restore-confirm.png b/docs/changes/evidence/2026-10-27-desktop-backup-pr/restore-confirm.png
new file mode 100644
index 00000000..0c20f917
Binary files /dev/null and b/docs/changes/evidence/2026-10-27-desktop-backup-pr/restore-confirm.png differ
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/restore-tests.log b/docs/changes/evidence/2026-10-27-desktop-backup-pr/restore-tests.log
new file mode 100644
index 00000000..21e123bf
--- /dev/null
+++ b/docs/changes/evidence/2026-10-27-desktop-backup-pr/restore-tests.log
@@ -0,0 +1,30 @@
+bun test v1.3.14 (0d9b296a)
+
+apps/api/src/backup-restore.test.mjs:
+(pass) JSON backup and restore > restores notebooks, notes, revisions and files into a new installation unchanged [186.80ms]
+(pass) JSON backup and restore > restoring the same backup twice changes nothing and keeps one copy of each file [137.87ms]
+(pass) JSON backup and restore > brings back notes and notebooks deleted after the backup and undoes later edits [77.09ms]
+(pass) JSON backup and restore > falls back safely for damaged or minimal note content [66.19ms]
+(pass) JSON backup and restore > rejects a backup that would take over another user's notebooks or notes [116.69ms]
+(pass) JSON backup and restore > rejects notes and notebooks that point outside the current workspace [110.48ms]
+(pass) JSON backup and restore > rejects a revision that belongs to another note [127.28ms]
+(pass) JSON backup and restore > writes nothing from a page in which any note has another note's revision [117.96ms]
+(pass) JSON backup and restore > rejects existing revision IDs owned by another note (same workspace) before any page writes [117.57ms]
+(pass) JSON backup and restore > rejects existing revision IDs owned by another note (other workspace) before any page writes [117.99ms]
+(pass) JSON backup and restore > rejects a revision ID assigned to two notes within the same restore page [127.43ms]
+(pass) JSON backup and restore > allows only signed-in users to restore [112.12ms]
+(pass) restoring a file of a backup > replaces the stored object when the same file is restored again [122.17ms]
+(pass) restoring a file of a backup > rejects invalid metadata, a missing note, a bad size and another user's file id [160.71ms]
+
+apps/desktop/src/backup/worker-integration.test.mjs:
+(pass) failed workers cancel unfinished sibling requests and exit [344.27ms]
+(pass) real Node background workers export encrypted and plain archives and restore without the original server [3821.06ms]
+(pass) preserves and diagnoses a third-resource HTTP 503 (API JSON) [1828.47ms]
+(pass) preserves and diagnoses a third-resource HTTP 503 (non-JSON response) [1630.16ms]
+(pass) unchanged scheduled sources read only state and changed sources produce an archive [926.61ms]
+(pass) manager creates named files, restores from history and deletes only the selected archive [1820.07ms]
+
+ 20 pass
+ 0 fail
+ 175 expect() calls
+Ran 20 tests across 2 files. [12.50s]
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/settings.png b/docs/changes/evidence/2026-10-27-desktop-backup-pr/settings.png
new file mode 100644
index 00000000..9e26a214
Binary files /dev/null and b/docs/changes/evidence/2026-10-27-desktop-backup-pr/settings.png differ
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/typecheck-mobile.log b/docs/changes/evidence/2026-10-27-desktop-backup-pr/typecheck-mobile.log
new file mode 100644
index 00000000..1f5c5ef2
--- /dev/null
+++ b/docs/changes/evidence/2026-10-27-desktop-backup-pr/typecheck-mobile.log
@@ -0,0 +1,2 @@
+$ bun run --cwd apps/mobile typecheck
+$ tsc -p tsconfig.json --noEmit
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/typecheck.log b/docs/changes/evidence/2026-10-27-desktop-backup-pr/typecheck.log
new file mode 100644
index 00000000..bd38c0c1
--- /dev/null
+++ b/docs/changes/evidence/2026-10-27-desktop-backup-pr/typecheck.log
@@ -0,0 +1 @@
+$ tsc -p tsconfig.json --noEmit
diff --git a/docs/changes/evidence/2026-10-27-desktop-backup-pr/unlock-error.png b/docs/changes/evidence/2026-10-27-desktop-backup-pr/unlock-error.png
new file mode 100644
index 00000000..3ee896b6
Binary files /dev/null and b/docs/changes/evidence/2026-10-27-desktop-backup-pr/unlock-error.png differ
diff --git a/docs/desktop-scheduled-backup-design.md b/docs/desktop-scheduled-backup-design.md
new file mode 100644
index 00000000..d465e705
--- /dev/null
+++ b/docs/desktop-scheduled-backup-design.md
@@ -0,0 +1,234 @@
+# Desktop scheduled backups and encrypted recovery
+
+[简体中文](desktop-scheduled-backup-design.zh-CN.md)
+
+Related: [Issue #650](https://github.com/tianma-if/edgeever/issues/650) and [original request #61](https://github.com/tianma-if/edgeever/issues/61). Updated: 2026-10-27. Status: implemented; see the [implementation audit](changes/2026-10-23-desktop-scheduled-backup.md#completion-audit) for evidence and outstanding acceptance.
+
+The desktop app periodically saves the current account's knowledge base as an independent archive, with optional password encryption. Users can choose a folder managed by their existing cloud-drive client to transfer the archive off-site. If the original instance becomes unavailable, they can connect the desktop app to a new instance and restore it.
+
+This delivery includes scheduled backups, manual runs, encryption, and decryption for recovery. It preserves the existing knowledge-base format and packages data in a desktop background task rather than creating large files on the server. A new server-side consistent-read protocol prevents omissions caused by changing data during pagination.
+
+## 1. Backup coverage
+
+The source is the current account's **synchronized knowledge base** on the current instance. It includes undeleted notes, notebook hierarchy, tags, archive and pin states, existing revisions, AI prompts, and active attachments associated with those notes. Both structured content and readable Markdown copies are preserved.
+
+This delivery excludes:
+
+- Changes not yet synchronized to the server, pending offline uploads, and Trash.
+- User accounts, sign-in credentials, API keys, deployment settings, object-storage configuration, and publication settings for public shares and forms.
+- Files referenced only by external URLs and not registered as EdgeEver resources. Their links remain in the content, but those files still depend on the external service.
+
+The coverage description in Settings should say “Backs up synchronized notes and attachments.” A backup does not push pending local changes or substitute local caches when the network is unavailable. A network failure preserves the last successful result until a retry can run.
+
+Existing SQLite snapshots remain a separate local recovery mechanism. WebDAV and S3 transfers, OS-level scheduling after the app exits, browser-based password export and decryption, and native mobile entry points remain outside this delivery. Existing ordinary ZIP import and export on the Web remain available.
+
+## 2. Defaults and settings
+
+Desktop Settings → Data and backup uses one “Backup and restore” card instead of the standalone ZIP export card. Existing Web import/export remains unchanged.
+
+| Setting | Initial behavior |
+| --- | --- |
+| Automatic backups | Initially off; enabling a valid configuration schedules the first run |
+| Frequency | Daily, weekly, every two weeks, or monthly; weekly by default |
+| Destination | `EdgeEver Backups` under the OS Documents directory; change through the native directory picker |
+| Retention | 3, 5, 10, or 20 archives; 5 by default |
+| Password encryption | Optional and initially off; enabling it requires entering and confirming a separate backup password |
+
+The top actions are “Back up now,” “Restore from file,” and “Open folder.” Below them, show the last actual successful archive, latest check result, and next scheduled check or automatic-off state. Running tasks can be cancelled. Manual runs allow an editable filename and one-off plain/encrypted output, using the saved destination and retention without changing automatic settings; they remain available when scheduling is off.
+
+An encryption password must be nonempty and both entries must match exactly. Do not trim whitespace or normalize Unicode. After saving, show only “Password set,” never the saved value. When changing it, explain that the new password applies only to future archives.
+
+Backup settings sit below status and are initially collapsed. The local archive list stays visible with filename, time, size, encryption status, and Restore/Delete actions. Deletion requires confirmation. Save configuration only when no task is running; cancel active work first to keep the displayed and running configuration consistent.
+
+## 3. Background execution and account isolation
+
+### 3.1 Process responsibilities
+
+- **Electron main process** owns configuration, OS-protected credentials, directory authorization, scheduling, and task lifecycle. Narrow IPC methods expose status and actions to Settings.
+- **A separate background task** reads data, encodes and decodes ZIPs, encrypts and decrypts, validates, and writes files. It does not depend on Settings being mounted or the renderer staying alive.
+- **The Web settings UI** handles configuration, progress, and restore confirmation. It does not receive saved passwords or transfer complete archives over IPC.
+- **A shared archive module** owns platform-neutral formats, validation, and ZIP operations. File pickers, browser downloads, Node file streams, and OS credentials stay in their respective adapters.
+
+Reuse existing main-process lifecycle and resume events. Do not register backups as AI scheduled tasks or implement a second ZIP format in the Rust sidecar.
+
+### 3.2 Scheduling rules
+
+Check whether a backup is due at app startup, when sign-in is ready, and on system resume, plus once per hour while the app runs. A newly enabled schedule with no successful backup is due immediately. Multiple missed intervals produce one run, not a backlog.
+
+Anchor the next due time to the last completed archive or no-change check, adding 1, 7, or 14 local calendar days or one calendar month. Clamp month-end dates to the destination month’s last day and recalculate after local timezone changes. Changing frequency preserves the last actual archive-success time.
+
+When source identity/revision, configuration and password generation match, and the previous registered archive remains in the current directory with the expected size, scheduled work records no change without creating or rotating files or advancing archive-success time. Missing comparison metadata or files produce a new archive. Manual runs always produce a new archive.
+
+Run at most one backup at a time, with the same exclusion rule for manual and scheduled runs. Use a low-priority task without locking foreground editing. Track `lastAttemptAt`, `lastSuccessAt`, and `nextDueAt`; failure does not advance the success time. Following a network failure or source change, automatic retries can occur at a check at least one hour later. Manual retries need not wait. If sign-in, directory changes, or secure-store unlocking require user action, show that action without repeated dialogs.
+
+Tasks may run while the window is hidden in the tray. Fully exiting the application cancels the task, and the next startup checks the schedule again. Sleep, crashes, and cancellation never turn an incomplete task into a successful backup.
+
+### 3.3 Isolation rules
+
+Store configuration, credentials, and success records per instance and account. Each local backup set also has a random `backupSetId`; different devices do not share retention ownership.
+
+Capture the instance URL, account, workspace, session credential, configuration, and destination when a task starts. Every request uses that captured context rather than mutable global account settings. Signing out or switching accounts or instances cancels the old task. Late responses cannot publish files, update another account's status, or trigger cleanup.
+
+## 4. Consistent server reads
+
+The existing `/api/v1/backups/json` route uses `OFFSET` pagination. Deletions during an export can skip later records. The existing synchronization cursor covers only some entities, so it cannot represent a complete backup revision that also includes resources and prompts.
+
+Use **workspace revision checks with cursor pagination**. Users can continue editing, but a task becomes a successful backup only when no relevant data changes during the export. Do not hold a transaction across requests or maintain server-side archives or persistent backup jobs.
+
+### 4.1 Workspace backup revision
+
+Add `backup_revision`, defaulting to 0, to `workspaces` through a new numbered SQL migration. Database triggers increment the owning workspace's revision on backup-related inserts, updates, and deletes in the same transaction as the original write.
+
+Coverage includes `notebooks`, `memos`, `memo_contents`, `memo_revisions`, `resources`, and `ai_prompt_templates`. Tables without a workspace field resolve ownership through their note. Resolve ownership before deletion, and cover both affected sides when relationships move. Restore operations, bulk deletion, and background revision cleanup must also advance the revision.
+
+This revision answers only whether data changed. It is not a note count and does not reuse or alter the synchronization cursor. Transmit the database revision as a decimal string in the API.
+
+### 4.2 Read protocol
+
+Introduce a backup read protocol while preserving the old endpoints, parameters, and usage conditions:
+
+1. `GET /api/v1/backups/state` returns the protocol version, current user and workspace, workspace identity, `backupRevision`, and in-scope entity counts.
+2. `GET /api/v1/backups/data` accepts a `kind`, cursor, and the workspace identity and revision from step 1. It pages through notebooks, prompts, or notes. Note pages include their revisions and attachment metadata. Use stable-ID cursor pagination, not offsets.
+3. Check identity and revision before and after each page. A mismatch returns `backup_source_changed` and fails the entire task. After downloading the attachments, call the state endpoint again for a final comparison.
+
+New endpoints preserve the existing backup authentication and access checks. The server resolves the workspace from the authenticated session; clients cannot select another user's workspace. Disable caching for state and export responses. Revision checks must read the database's primary write view rather than a lagging replica.
+
+Validate attachments against their recorded byte lengths and existing SHA-256 digests. If a record has no digest, compute one while reading and store it in the archive for restore validation. Missing, truncated, or mismatched attachments abort the task rather than being skipped. This protects application-managed data, not direct database or bucket edits that bypass the application.
+
+When a new desktop client connects to an old server without this protocol, request a server upgrade rather than silently using a weaker export path. Existing manual ZIP export remains available under its original contract.
+
+This choice adds revision-update overhead to data writes. A continuously changing workspace may repeatedly postpone a successful backup, so the UI must preserve the actual last-success time. Completing a point-in-time snapshot during continuous writes would require a separate snapshot and object-version retention design, not ignored revision changes.
+
+## 5. Preserve the logical format and support ZIP64
+
+Ordinary archives retain the existing `edgeever-zip` `formatVersion: 2` layout:
+
+- `manifest.json` records the format, app version, export time, and entity counts, retaining `includesTrash: false`.
+- `notebooks.json` and `prompts.json` hold the hierarchy and prompts.
+- `memos/<id>.json` holds notes, revisions, and resource metadata.
+- `notes/` holds notebook-organized Markdown and attachments addressed by relative paths.
+
+Do not introduce the alternative `memos/*.md` and `resources/` layout illustrated in the original proposal. Optional provenance metadata may be added without changing existing field meanings, but account credentials and backup passwords never belong in an archive.
+
+Use a mature ZIP64-capable codec, preferably `@zip.js/zip.js`, to replace the backup path's ZIP64-incompatible reader and writer. Do not replace compression libraries used by unrelated features. It supports ZIP64, streams, browsers, Node.js, and Bun under the BSD-3-Clause license. Pin the version during implementation and retain its license notices. [Features and compatibility](https://gildas-lormeau.github.io/zip.js/) · [License](https://github.com/gildas-lormeau/zip.js/blob/master/LICENSE)
+
+Small archives remain compatible ZIPs; larger archives use ZIP64 as needed. Preserve ZIP v1/v2 reading and existing individual attachment and image size limits. Nullable resource digests in old archives remain nullable, without new required fields. Increasing total archive capacity does not relax upload limits. Clients without ZIP64 or encrypted-container support require a newer desktop app to restore those files.
+
+New desktop backups, large-archive parsing, and attachment restore process chunks with backpressure. Do not first convert an entire ZIP into a `Blob`, `ArrayBuffer`, or base64 string. Read ZIP directories and entries on demand instead of keeping all attachment content in memory. For browsers without streaming file saves, preserve the existing manual Web export path that buffers at most 128 MiB; new desktop capabilities do not become prerequisites for existing usage.
+
+## 6. Encryption container and password handling
+
+### 6.1 One initial password suite
+
+Use Node's native cryptography for `AES-256-GCM` with `PBKDF2-HMAC-SHA256`, deriving a 32-byte key with 600,000 iterations. PBKDF2 reuses platform implementations and supports future cross-platform interoperability. The work factor follows OWASP's PBKDF2 guidance; measure it on target devices during implementation without silently reducing it for speed. [Parameter reference](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2)
+
+Generate an independent random 16-byte salt and 12-byte IV for each file and use a 16-byte authentication tag. Encode the password as UTF-8 without normalization or trimming. Files use the `.edgeever.enc` extension and the following order, with multibyte integers in big-endian encoding:
+
+| Field | Size and value |
+| --- | --- |
+| Magic | 4 bytes, ASCII `EDGB` |
+| Container version | 2 bytes, `1` |
+| Cipher ID | 1 byte, `1` for AES-256-GCM |
+| KDF ID | 1 byte, `1` for PBKDF2-HMAC-SHA256 |
+| Iterations | 4 bytes, `600000` |
+| Salt | 16 bytes |
+| IV | 12 bytes |
+| Payload | Ciphertext of the complete ZIP byte stream |
+| Authentication tag | 16 bytes at the end of the file |
+
+Authenticate the first 40 header bytes as GCM AAD. The v1 reader accepts only this suite and these parameters, rather than executing arbitrary KDF costs from a file. Report unsupported versions or parameters. Future parameter changes must define container compatibility explicitly instead of reinterpreting a published version.
+
+The ZIP input to one whole-file GCM operation cannot exceed `2^36 - 32` bytes, or 64 GiB minus 32 bytes. Abort larger encrypted exports and retain previous backups. This is GCM's single-message limit, independent of ZIP64 support. Larger encrypted archives require a new chunk-authenticated container, not reuse of one IV to bypass the limit. [NIST SP 800-38D, section 5.2.1.1](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf)
+
+### 6.2 Unattended credentials
+
+Never send the backup password to the EdgeEver server or cloud drive. To run unattended, protect it locally through Electron `safeStorage` and OS credential mechanisms. Bind the saved credential to its instance and account, outside ordinary configuration, `localStorage`, logs, and backup directories.
+
+On Linux, inspect the actual secure-storage backend; `basic_text` cannot store automatic-backup passwords. If secure storage is unavailable or locked, pause encrypted automatic tasks. Users may unlock it or enter a password for one run without saving it. Never fall back to plaintext output or plaintext password persistence. [Electron secure-storage documentation](https://www.electronjs.org/docs/latest/api/safe-storage)
+
+Changing the password affects future archives only; do not re-encrypt old files automatically. Restoring another device's archive requires the file and its original password, not the original computer's OS key. There is no server endpoint to recover or reset an old archive's password.
+
+## 7. File publication and retention
+
+Users select a destination root, and the app creates a `<backupSetId>` subdirectory for the current local backup set. Settings shows the effective destination, and “Open folder” opens it. Automatic filenames use UTC time and a random backup ID, such as `edgeever-backup-20261023T020000Z-<id>.zip`, with `.edgeever.enc` for encrypted files. Manual names default to an editable local timestamp without a random ID; append the selected format’s extension. Name conflicts fail without overwriting existing files.
+
+A task performs these steps in order:
+
+1. Validate the account, credentials, destination, and server capability, and record task ownership.
+2. Stream the export to a unique `.part` file in the destination. With encryption enabled, ZIP bytes flow directly into encryption without plaintext intermediate files in the synchronized folder.
+3. Validate entity counts, attachments, and the final source revision, finalize the ZIP and encryption, and flush the file to disk.
+4. Publish atomically within the same directory and persist completion and last-success time. Automatic runs rename random filenames; named manual runs create an exclusive hard link and fail on conflicts or unsupported filesystems.
+5. Remove old files beyond the retention count and send one lightweight OS notification.
+
+Any failure before publication cancels the streams and removes the task's temporary file without advancing success or running retention. If publication succeeds but recording completion is interrupted, recovery checks the task record and file integrity before taking further action; it must not simply delete the file as garbage.
+
+Cleanup covers only files recorded locally as complete and owned by the current backup set. Sort by recorded completion time, not filesystem modification times. Do not follow symlinks to delete external files or remove manually placed files or files owned by other devices or accounts.
+
+If a new backup succeeds but retention fails, retain the successful result and separately report “Old backup cleanup failed.” Try cleanup again with the next task. Changing the destination or disabling scheduling does not delete the old directory. A new installation that cannot establish ownership preserves old files and creates a new backup set.
+
+Report only “Local backup complete.” Upload completion, conflict copies, and remaining cloud capacity belong to the cloud-drive client. Do not report unverified cloud-backup success.
+
+## 8. Decryption and restore
+
+“Restore from file” starts in the current backup-set directory and allows other locations; row-level Restore selects that archive directly. Both use one unlock/check/confirmation flow, identifying ordinary ZIPs and `.edgeever.enc` files by header rather than extension alone.
+
+1. Identify the container version and request a password for encrypted files. Cancellation causes no restore writes.
+2. Decrypt as a stream to an app-private temporary directory. Only after final GCM authentication may parsing and restore begin. Use `0700` directories and `0600` files on Unix, and the current user's private application-data directory with appropriate ACLs on Windows. Plaintext staging stays outside synchronized folders.
+3. Scan the complete ZIP and validate its format, entry paths, CRCs, entity counts, relationships, attachment lengths, and digests. Authentication failure reports “Unable to decrypt: the password is incorrect or the file is damaged.” Report unknown versions separately.
+4. Show the target instance, account, and import counts. Explain that matching IDs are overwritten and unrelated data is preserved, then wait for confirmation.
+5. Reuse existing prompt, notebook, note, and attachment restore APIs, preserving IDs and workspace access boundaries. Reject a page before writing if a revision ID belongs to another note; same-ID/same-note restore remains repeatable. Refresh the workspace after every part succeeds.
+
+GCM stream output is not trusted until final authentication. Never write records to the database while decryption remains unauthenticated. [Node.js authenticated-decryption documentation](https://nodejs.org/api/crypto.html#decipherupdatedata-inputencoding-outputencoding)
+
+A network failure after import begins may leave completed batches. Show “Restore incomplete,” retain the original file, and allow a retry rather than claiming a workspace-wide rollback. Repeated imports retain existing ID-based restore semantics. Delete plaintext staging after success, failure, or cancellation; following a crash, clean only temporary files recorded as app-created.
+
+Recovery does not contact the original instance. Acceptance must disconnect that instance, import the archive into a fresh one, and open the restored notes and attachments.
+
+## 9. Impact, compatibility, and rollback
+
+This is a high-risk data-protection feature. Worst outcomes include plaintext disclosure, unreadable archives, deletion of the last usable backup, and revision triggers disrupting normal writes. Forgotten passwords and full disks are only part of the risk.
+
+The affected areas are the desktop main process and background task, shared archive module, Web settings and desktop-import adapter, backup read APIs, new migration, and client protocol. Cloudflare and Docker share consistency logic, with runtime differences confined to existing storage adapters.
+
+Preserve these compatibility requirements:
+
+- Existing ordinary manual ZIP export, ZIP v1/v2 import, and local SQLite recovery remain usable.
+- The consistency protocol applies only to new automatic backups and their “Back up now” action. Existing callers gain no required parameters or upgrade prerequisite.
+- Do not change synchronization cursors, note IDs, access rules, or executed migrations. Validate editing, synchronization, deletion, and restore on real pre-upgrade data after adding the triggers.
+- Disabling the feature stops new tasks but preserves completed archives and directories. An application rollback does not delete the additive column or triggers. Correct faulty triggers through a subsequent migration.
+- Retain a client capable of reading generated encrypted and ZIP64 archives. Rolling back to an older client does not establish that new archives remain recoverable.
+
+Release the implementation as a feature version. This design does not allocate a version number or change installers, automatic updates, or release workflows.
+
+## 10. Implementation order and acceptance
+
+Before implementation, record confirmed behavior in a bilingual change-scope document under `docs/changes/`. These steps form one delivery; encrypted scheduled backups cannot ship without decryption and recovery:
+
+1. Implement the consistency protocol and migration, validating upgrades and old/new client contracts.
+2. Extract the shared archive capabilities and implement ZIP64, container encoding/decoding, and old ZIP compatibility.
+3. Implement account isolation, credentials, background tasks, atomic publication, and retention.
+4. Connect settings and restore entry points, then exercise actual disaster recovery.
+
+Use the smallest sufficient checks for these behaviors, reusing existing backup and restore tests. Add any necessary new automated checks before their implementation.
+
+| Scenario | Required observation |
+| --- | --- |
+| Plain and encrypted disaster recovery | With the original instance unavailable, restore through the actual desktop UI into a fresh instance; verify in-scope note structure, revisions, prompts, and attachments, then open content and files |
+| Upgrade from the previous version | Editing, sync, deletion, and restore still work after upgrading a real old database; ZIP v1/v2 import works and existing callers need no new parameters |
+| Concurrent source changes | Note insertion/deletion, prompt edits, revision cleanup, and attachment changes during export fail the task without rotating old backups; stable data succeeds |
+| Background lifecycle | Closing Settings, hiding in the tray, renderer reload, and sleep/resume do not duplicate runs; app exit cancels and missed intervals produce one catch-up run |
+| Account and destination isolation | Account/instance switching causes no mixed data or late success; retention preserves other accounts, devices, manual files, and previous directories |
+| Passwords and damaged files | Wrong passwords, modified headers/ciphertext, truncation, and unknown suites produce no restore writes; secure-storage failure produces no plaintext backup |
+| Large archives | An actual archive over 4 GiB exports and restores, ZIP64 entry-count boundaries are readable, attachment content is not buffered as a whole archive, and the encryption length limit is enforced accurately |
+| Filesystem failures and recovery | Full disks, lost permissions, cancellation, interrupted writes, and retention errors preserve success records and history as specified in section 7; plaintext staging never enters a synchronized folder |
+| Desktop platforms and servers | Validate directories, credentials, publication, and restore separately on macOS, Windows, and Linux; validate consistent reads and migrations on both Cloudflare and Docker |
+
+Record platform, cross-version, and large-archive evidence separately. A small-file run on one platform does not cover them all. Implementation must run `bun run typecheck`, `bun run typecheck:mobile`, and `bun run build:web` as required by the project; these do not replace recovery acceptance.
+
+## 11. Existing implementation and sources
+
+- [Current ZIP import/export](../apps/web/src/lib/json-backup.ts) and [format definitions](../packages/shared/src/backup.ts): retain logical format and restore semantics while adding ZIP64 and the encrypted container.
+- [Backup routes](../apps/api/src/backup-routes.ts), [restore service](../apps/api/src/backup-service.ts), and [sync-change migration](../migrations/0013_mobile_sync_changes.sql): add complete revision coverage without redefining the synchronization cursor.
+- [Import/export card](../apps/web/src/components/settings/DataExportCard.tsx), [renderer hibernation](../apps/desktop/src/main/renderer-hibernate.mjs), and [account isolation](../apps/desktop/src/main/account-scope.mjs): retain existing entry points while keeping background work independent of the renderer.
+- [Cross-runtime storage contracts](../apps/api/src/storage-contract.ts) and [self-hosting architecture](self-hosting-architecture.md): do not implement consistency logic only in the Cloudflare entry point.
+- [Original backup and disaster-recovery proposal](https://github.com/tianma-if/edgeever/blob/main/docs/backup-and-disaster-recovery-plan.zh-CN.md): retain the local-directory approach while specifying Issue #650's delivery boundaries and recovery requirements.
diff --git a/docs/desktop-scheduled-backup-design.zh-CN.md b/docs/desktop-scheduled-backup-design.zh-CN.md
new file mode 100644
index 00000000..c10c7d7f
--- /dev/null
+++ b/docs/desktop-scheduled-backup-design.zh-CN.md
@@ -0,0 +1,234 @@
+# 桌面端自动备份与加密恢复设计
+
+[English](desktop-scheduled-backup-design.md)
+
+关联:[Issue #650](https://github.com/tianma-if/edgeever/issues/650)、[原始需求 #61](https://github.com/tianma-if/edgeever/issues/61)。更新日期:2026-10-27。状态:已实现;验收范围和未完成项见[实施清单](changes/2026-10-23-desktop-scheduled-backup.zh-CN.md#完成核对)。
+
+桌面端定期把当前账号的知识库保存为独立归档,支持密码加密。用户把保存目录选在网盘同步文件夹内,即可由现有网盘客户端负责异地传输。原实例不可访问时,用户仍可通过桌面端连接新实例并恢复归档。
+
+本期同时交付自动备份、手动触发、加密和解密恢复。关键取舍是沿用现有知识库格式,由桌面后台任务打包,不在服务端生成大文件;为避免分页导出遗漏数据,服务端增加一致性读取协议。
+
+## 1. 备份范围
+
+备份对象是当前实例、当前账号的**已同步知识库**,包括未删除的笔记、笔记本层级、标签、归档与置顶状态、现有修订历史、AI 提示词,以及这些笔记关联的有效附件。结构化正文和可阅读的 Markdown 副本都保留。
+
+以下内容不纳入本期归档:
+
+- 尚未同步到服务端的修改、离线待上传附件和回收站内容。
+- 用户账号、登录凭据、API Key、实例部署配置、对象存储配置、公开分享和表单的发布配置。
+- 仅以外部 URL 引用、没有登记为 EdgeEver 资源的文件。正文中的链接保留,但外部服务失效会影响这些内容。
+
+设置页应在备份范围处说明“备份已同步的笔记和附件”。备份任务不主动提交本地待同步修改,也不在网络不可用时改用本地缓存凑出一份归档。网络不可用时保留上次成功记录,等待重试。
+
+现有 SQLite 本地快照继续承担本机恢复用途,不与本功能混用。WebDAV、S3 直传、应用完全退出后的系统级调度、Web 端密码导出与解密、移动端原生入口均留在后续范围。Web 原有普通 ZIP 导入导出保留。
+
+## 2. 默认配置和设置入口
+
+桌面端“设置 → 数据与备份”使用统一的“备份与恢复”卡片,替代旧独立 ZIP 导出卡;Web 原导入导出入口保持不变。
+
+| 配置 | 首版行为 |
+| --- | --- |
+| 自动备份 | 首次关闭;用户开启且配置有效后安排首次备份 |
+| 频率 | 每天、每周、每两周、每月;默认每周 |
+| 保存目录 | 系统 Documents 目录下的 `EdgeEver Backups`,允许通过原生目录选择器更改 |
+| 保留份数 | 3、5、10、20;默认 5 份 |
+| 密码加密 | 可选,首次关闭;开启时输入并确认独立的备份密码 |
+
+顶部提供“立即备份”“从文件恢复”“打开文件夹”;其下显示上次实际成功备份、最近检查结果,以及下次计划检查或自动备份关闭状态。运行时可取消。手动备份可编辑文件名,并为本次选择明文或加密;沿用保存目录和保留规则,不修改自动备份配置,自动关闭时仍可使用。
+
+开启加密时,密码必须非空且两次输入完全一致;不自动裁剪空格或修改 Unicode 内容。保存后只显示“已设置密码”,不回显密码。修改密码时说明“新密码仅用于之后生成的备份”。
+
+备份设置位于状态下方,默认折叠;本地备份列表常显,列出文件名、时间、大小和是否加密,每行可恢复或删除。删除须二次确认。设置在没有任务运行时保存;运行中先取消,避免任务使用的配置与界面不一致。
+
+## 3. 后台执行和账号隔离
+
+### 3.1 进程职责
+
+- **Electron 主进程**管理配置、系统凭据、目录授权、调度和任务生命周期,通过受限 IPC 向设置页提供状态与操作。
+- **独立后台任务**负责数据读取、ZIP 编解码、加解密、校验和文件写入。任务不依赖设置页挂载,也不依赖渲染器持续存活。
+- **Web 设置页**只负责配置、进度与导入确认;不接收已保存的密码,不通过 IPC 搬运整个归档。
+- **共享归档模块**保存平台无关的格式、校验和 ZIP 读写逻辑。文件选择、浏览器下载、Node 文件流与系统凭据留在各自适配层。
+
+已有主进程生命周期和系统唤醒事件可以复用,不把备份注册成 AI 定时任务,也不为本功能增加 Rust 侧的第二套 ZIP 格式实现。
+
+### 3.2 调度规则
+
+应用启动、登录就绪和系统唤醒时检查是否到期,后台运行期间每小时检查一次。首次开启且没有成功记录时视为到期;错过多个周期只执行一次,不补历史份数。
+
+下一次到期时间以上次完成的归档或无变化检查为调度锚点,按本机日历增加 1、7、14 天或一个月;月底按目标月最后一天处理。本机时区变化后重算。修改频率不抹去上次实际成功备份记录。
+
+源身份与修订、配置和密码版本未变化,且当前目录仍有大小匹配的上次登记文件时,自动任务只记录“内容未变化”,不生成文件、不轮转,也不更新实际成功备份时间。缺少比较信息或文件时生成新包;手动备份始终生成新包。
+
+每次只运行一个备份任务,手动触发与自动触发共用互斥控制。任务以低优先级运行,不锁住前台编辑。记录 `lastAttemptAt`、`lastSuccessAt` 和 `nextDueAt`,失败不推进成功时间;网络失败或数据变化后,自动重试最早在一小时后的检查中进行,手动重试不受该等待限制。需要重新登录、修改目录或解锁安全存储时,显示对应操作,不反复弹窗。
+
+关闭窗口进入托盘后仍可执行;完全退出应用则取消任务,下一次启动再检查到期状态。休眠、崩溃或取消留下的未完成任务不会被当成成功。
+
+### 3.3 隔离规则
+
+配置、凭据和成功记录按实例与账号保存。每个本机备份集另有随机 `backupSetId`,不同设备不共用保留规则。
+
+任务开始时固定实例 URL、账号、工作区、会话凭据、配置和目标目录。每个请求使用这份固定上下文,不在处理中读取可变化的全局账号配置。退出登录、切换账号或实例时取消旧任务;迟到的响应不能发布文件、更新新账号状态或触发清理。
+
+## 4. 服务端一致性读取
+
+现有 `/api/v1/backups/json` 使用 `OFFSET` 分页;导出期间删除记录可能导致后续记录被跳过。现有同步游标只覆盖部分实体,不能直接作为包含附件和提示词的完整备份版本。
+
+本方案采用**工作区版本校验加游标分页**。它允许用户继续编辑,但只有导出期间没有相关数据变更的任务才能成为成功备份。不跨请求持有长事务,不在服务端保存归档或常驻备份任务。
+
+### 4.1 工作区备份版本
+
+通过新增递增 SQL migration,为 `workspaces` 增加 `backup_revision`,默认值为 0。数据库触发器在备份相关数据插入、更新和删除时递增所属工作区的版本,与原写入处于同一事务。
+
+覆盖范围包括 `notebooks`、`memos`、`memo_contents`、`memo_revisions`、`resources` 和 `ai_prompt_templates`。无直接工作区字段的表通过所属笔记确定工作区;删除前取得所属关系,关联移动时覆盖受影响的两侧。导入还原、批量删除和后台修订清理同样必须触发版本变化。
+
+版本只用于判断“是否变化”,不代表笔记数量,不复用或改变现有同步游标。数据库版本在 API 中以十进制字符串传输。
+
+### 4.2 读取协议
+
+新增备份读取协议,保留旧接口及其参数和使用条件:
+
+1. `GET /api/v1/backups/state` 返回协议版本、当前用户与工作区、工作区身份、`backupRevision` 和范围内实体计数。
+2. `GET /api/v1/backups/data` 接受 `kind`、游标和步骤 1 的工作区身份、版本,分页读取笔记本、提示词或笔记。笔记页包含对应修订和附件元数据。按稳定 ID 使用游标分页,不使用偏移量。
+3. 每页读取前后校验身份与版本;不一致返回明确的 `backup_source_changed`,整次任务失败。附件下载完成后再次调用状态接口进行最终比对。
+
+新接口沿用现有备份数据的身份与访问权限校验;工作区由服务端会话确定,不能由客户端选择他人的工作区。状态和导出响应禁止缓存,版本校验使用数据库主写视图,不能依赖滞后的副本结果。
+
+附件按元数据中的字节数和已有 SHA-256 摘要校验;原记录没有摘要时,在读取中计算并写入归档,用于恢复校验。缺失、截断或摘要不符均中止任务,不跳过附件后报告成功。这里的保护范围是应用管理的数据,不包括绕过应用直接修改数据库或存储桶的操作。
+
+新桌面端连接不支持该协议的旧服务端时,提示升级服务端,不能静默退回弱一致性导出;原有手动 ZIP 导出仍按原契约可用。
+
+这一选择会增加数据写入时的版本更新开销。持续变化的工作区可能多次推迟成功备份,界面必须保留真实的上次成功时间。若需要持续写入期间也完成同一时点快照,应另行设计快照与对象版本保留,不能通过忽略版本变化实现。
+
+## 5. 沿用业务格式并支持 ZIP64
+
+普通归档保持 `edgeever-zip` 的现有 `formatVersion: 2`:
+
+- `manifest.json` 记录格式、应用版本、导出时间和实体计数,保持 `includesTrash: false`。
+- `notebooks.json` 与 `prompts.json` 保存目录和提示词。
+- `memos/<id>.json` 保存笔记、修订和资源元数据。
+- `notes/` 保存按笔记本组织的 Markdown 与相对路径附件。
+
+不改成原方案示意中的另一套 `memos/*.md`、`resources/` 布局。可增加不影响旧字段解释的可选来源信息,但不把账号凭据或备份密码放进归档。
+
+采用支持 ZIP64 的成熟编解码库,首选 `@zip.js/zip.js`,替换备份路径中不支持 ZIP64 的底层读写部分,不顺带替换其他功能使用的压缩库。它支持 ZIP64、流式处理及浏览器、Node.js 和 Bun,采用 BSD-3-Clause 许可证;实施时锁定版本并保留许可证声明。[功能与兼容性](https://gildas-lormeau.github.io/zip.js/) · [许可证](https://github.com/gildas-lormeau/zip.js/blob/master/LICENSE)
+
+普通小归档继续生成兼容 ZIP,大归档按需使用 ZIP64。保留 ZIP v1、v2 的读取兼容和已有单附件、图片大小限制;旧归档中可空的资源摘要仍可为空,不追加新的必填字段。增加总归档容量不等于放宽上传限制。旧客户端不具备 ZIP64 或加密包读取能力时,需要使用新版桌面端恢复。
+
+新桌面备份、大归档解析和附件恢复按块处理并传递背压,不能先把完整 ZIP 转成 `Blob`、`ArrayBuffer` 或 base64。解析按需读取 ZIP 目录和条目,避免把所有附件内容加载进内存。Web 手动导出在不支持流式保存的浏览器中,保留原有最多 128 MiB 的缓冲下载路径,不把新桌面能力变成旧用法的前置条件。
+
+## 6. 加密容器和密码管理
+
+### 6.1 固定首版密码套件
+
+首版采用 Node 原生加密实现:`AES-256-GCM` 加 `PBKDF2-HMAC-SHA256`,派生 32 字节密钥,迭代 600,000 次。选择 PBKDF2 是为了复用平台实现、便于后续跨端互通;成本参数参考 OWASP 的 PBKDF2 建议,实施时仍需测量目标设备耗时,不因耗时而静默降级。[参数参考](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2)
+
+每份文件独立生成 16 字节随机 salt 和 12 字节随机 IV,认证标签为 16 字节。密码以 UTF-8 编码,不规范化或裁剪。文件扩展名为 `.edgeever.enc`,内容按以下顺序排列,多字节整数使用大端序:
+
+| 字段 | 大小与值 |
+| --- | --- |
+| Magic | 4 字节,ASCII `EDGB` |
+| Container version | 2 字节,`1` |
+| Cipher ID | 1 字节,`1` 表示 AES-256-GCM |
+| KDF ID | 1 字节,`1` 表示 PBKDF2-HMAC-SHA256 |
+| Iterations | 4 字节,`600000` |
+| Salt | 16 字节 |
+| IV | 12 字节 |
+| Payload | 完整 ZIP 字节流的密文 |
+| Authentication tag | 16 字节,位于文件末尾 |
+
+前 40 字节文件头作为 GCM 的 AAD。v1 读取器只接受上述套件和参数,不执行文件任意指定的 KDF 成本;未知版本或参数提示不支持。后续参数升级必须明确扩展容器兼容规则,不能改变已发布版本的解释。
+
+整包 GCM 单次加密的 ZIP 输入不超过 `2^36 - 32` 字节,即 64 GiB 减 32 字节;超过时停止任务并保留旧备份。该限制来自 GCM 单消息上限,与 ZIP64 是否支持大文件是两回事。更大加密归档需要新的分块认证容器,不能重复使用同一 IV 绕过限制。[NIST SP 800-38D,第 5.2.1.1 节](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf)
+
+### 6.2 无人值守凭据
+
+备份密码不发送到 EdgeEver 服务端或网盘。为支持自动执行,本机通过 Electron `safeStorage` 和操作系统凭据机制保存密码,文件与实例、账号绑定,不写入普通配置、`localStorage`、日志或备份目录。
+
+Linux 必须检查实际安全存储后端;`basic_text` 不能用于保存自动备份密码。安全存储不可用或被锁定时暂停加密自动任务,用户可以解锁后继续,也可以输入密码执行一次、不保存密码。不能改为明文输出或明文保存密码。[Electron 安全存储说明](https://www.electronjs.org/docs/latest/api/safe-storage)
+
+更换密码只影响未来归档,旧文件不自动重加密。恢复其他设备生成的归档只需要文件和当时的密码,不依赖原电脑的系统密钥。没有找回或重置旧归档密码的服务端入口。
+
+## 7. 文件发布和保留规则
+
+用户选择的是保存根目录,应用为当前本机备份集创建 `<backupSetId>` 子目录,设置页显示实际写入目录。“打开文件夹”打开该子目录。自动任务文件名采用 UTC 时间与随机备份 ID,例如 `edgeever-backup-20261023T020000Z-<id>.zip`;加密时后缀为 `.edgeever.enc`。手动文件名默认为本地时间戳,不带随机 ID,可编辑;按格式追加扩展名。同名拒绝,不覆盖已有文件。
+
+一次任务依次完成以下操作:
+
+1. 校验账号、凭据、目标目录和服务端能力,记录本次任务归属。
+2. 流式导出并写入目标目录中的唯一 `.part` 文件。启用加密时,ZIP 字节直接进入加密流,不在网盘目录留下明文中间文件。
+3. 校验实体计数、附件和最终源版本,完成 ZIP 及加密收尾,将文件刷新到磁盘。
+4. 在同一目录原子发布并持久化完成记录与上次成功时间。自动任务使用随机名称改名;手动命名使用排他硬链接创建,冲突或不支持时失败。
+5. 清理超出保留份数的旧文件,发送一次轻量系统通知。
+
+任何发布前失败都取消流并删除本任务的临时文件,不更新成功时间,不执行历史清理。文件已发布但完成记录写入中断时,恢复流程先核对本任务记录和文件完整性,不把文件直接当成垃圾删除。
+
+清理只作用于本机记录为已完成、属于当前备份集的文件;按完成记录中的时间排序,不按目录的修改时间推断归属。不跟随符号链接删除外部文件,不清理手动放入、其他设备或其他账号的文件。
+
+新备份成功但旧文件清理失败时,保留成功状态,单独显示“旧备份清理失败”,下一次任务再处理。更改保存目录或关闭自动备份不删除原目录文件。新安装无法确认旧文件归属时,保留旧文件并创建新的备份集。
+
+应用只报告“本地备份完成”。网盘是否已经上传、是否存在冲突副本、是否还有云端容量,由网盘客户端负责,不能显示未经确认的“云端备份成功”。
+
+## 8. 解密和恢复
+
+“从文件恢复”默认打开当前备份集目录,也允许选择其他位置;列表中的“恢复”直接选择对应文件。两者共用解锁、检查和确认流程,按文件头识别普通 ZIP 与 `.edgeever.enc`,不只依赖扩展名。
+
+1. 识别容器版本。加密包提示输入密码;用户取消时不产生恢复写入。
+2. 流式解密到应用私有临时目录,完成 GCM 最终认证后才允许解析和导入。Unix 目录权限为 `0700`、文件为 `0600`,Windows 使用当前用户私有数据目录及相应 ACL。明文暂存不进入网盘目录。
+3. 完整扫描 ZIP,校验格式、条目路径、CRC、实体计数、关联关系、附件长度和摘要。认证失败提示“无法解密,密码不正确或文件已损坏”;未知版本单独提示。
+4. 展示目标实例、目标账号和导入数量,说明同 ID 数据会覆盖、无关数据保留,等待用户确认。
+5. 复用现有提示词、笔记本、笔记和附件恢复接口,保持原 ID 与现有工作区访问边界。修订 ID 已属于其他笔记时,整页在写入前拒绝;同 ID、同笔记可重复恢复。全部成功后刷新工作区。
+
+GCM 的流式输出在最终认证前不能视为可信,因此禁止把解密中的记录提前写入数据库。[Node.js 认证解密说明](https://nodejs.org/api/crypto.html#decipherupdatedata-inputencoding-outputencoding)
+
+导入后的网络失败可能留下已完成的批次,界面显示“恢复未完成”,保留原文件并允许重试,不宣称已自动回滚整个工作区。重复导入继续遵循现有按 ID 恢复语义。临时明文在成功、失败、取消后删除;崩溃后仅清理应用记录为自建的暂存文件。
+
+恢复不联系原实例。验收时必须切断原实例访问,再把文件导入全新实例并打开恢复后的笔记和附件。
+
+## 9. 影响、兼容和回滚
+
+这是高风险的数据保护功能。最坏后果包括泄漏明文、生成不可恢复的归档、误删最后一份可用备份,以及版本触发器影响正常写入;不能把风险只归结为忘记密码或磁盘满。
+
+影响范围包括桌面主进程与后台任务、共享归档模块、Web 设置与桌面导入适配、备份读取 API、新增 migration 和对应客户端协议。Cloudflare 与 Docker 共用一致性业务代码,仅由现有存储适配器处理运行时差异。
+
+实施必须保留以下兼容关系:
+
+- 原手动普通 ZIP 导出、ZIP v1/v2 导入和现有 SQLite 本地恢复入口保持可用。
+- 一致性协议只约束新自动备份及其“立即备份”,不为旧调用方追加必填参数或升级前置条件。
+- 不改变同步游标、笔记 ID、权限规则和旧 migration;新触发器需要验证真实旧数据升级后的编辑、同步、删除与恢复。
+- 关闭功能即停止新任务,已发布归档与备份目录保留。回滚应用不删除新增列和触发器;若触发器本身有问题,使用后续修复 migration 处理。
+- 已经生成的加密或 ZIP64 文件需要保留可读取它们的客户端。回滚到旧客户端不能作为新归档可恢复性的证明。
+
+实现后的发布按功能版本处理,不在本设计中预分配版本号,也不修改安装器、自动升级或发布流程。
+
+## 10. 实施顺序与验收
+
+实施前将确认后的行为写入 `docs/changes/` 中的双语变更清单。以下步骤属于同一交付,不能在解密恢复缺失时单独交付加密自动备份:
+
+1. 完成一致性协议与迁移,验证旧数据升级和新旧客户端契约。
+2. 抽取共享归档能力,完成 ZIP64、容器编解码与旧 ZIP 兼容。
+3. 完成账号隔离、凭据、后台任务、原子发布与保留规则。
+4. 接入设置和恢复入口,完成实际灾难恢复流程。
+
+验收围绕以下行为选择最小充分范围,复用已有备份与恢复测试;新增自动化检查先于对应实现。
+
+| 验收场景 | 必须观察到的结果 |
+| --- | --- |
+| 普通与加密灾难恢复 | 原实例不可访问时,通过实际桌面入口恢复到新实例;笔记结构、修订、提示词和附件与备份范围一致,正文和附件可打开 |
+| 旧版本升级 | 真实旧库升级后仍能编辑、同步、删除和恢复;原 ZIP v1/v2 可导入,原调用方无需新参数 |
+| 数据并发变化 | 导出期间增删笔记、修改提示词、清理修订或变更附件,任务明确失败且不轮换旧备份;稳定数据可成功 |
+| 后台生命周期 | 关闭设置页、窗口进入托盘、渲染器重载、系统休眠后唤醒,状态不重复执行;应用退出取消,错过周期只补一次 |
+| 账号与目录隔离 | 切换实例或账号后没有混合数据和迟到成功;保留策略不删除其他账号、设备、手动文件或旧目录 |
+| 密码和损坏文件 | 错误密码、头部篡改、密文篡改、截断、未知套件均不产生恢复写入;安全存储失效不产生明文备份 |
+| 大归档 | 实际大于 4 GiB 的归档可导出和恢复,ZIP64 条目数量边界可读取;附件内容不随归档总量整包驻留内存;加密长度上限准确拒绝 |
+| 文件失败与恢复 | 磁盘满、权限失效、取消、写入中断和清理失败,成功记录与历史文件符合第 7 节;明文暂存不会进入同步目录 |
+| 桌面平台与服务端 | macOS、Windows、Linux 分别验证目录、凭据、文件发布和恢复;Cloudflare 与 Docker 分别验证一致性读取及 migration |
+
+跨平台、跨版本和大归档结果分别记录,不能用单个平台的小文件测试代替。产品实现按项目要求执行 `bun run typecheck`、`bun run typecheck:mobile`、`bun run build:web`;这些检查不代替恢复验收。
+
+## 11. 现有实现与来源
+
+- [当前 ZIP 导入导出](../apps/web/src/lib/json-backup.ts)与[格式定义](../packages/shared/src/backup.ts):复用业务格式和恢复语义,补齐 ZIP64 与加密容器。
+- [备份路由](../apps/api/src/backup-routes.ts)、[恢复服务](../apps/api/src/backup-service.ts)与[同步变更 migration](../migrations/0013_mobile_sync_changes.sql):新增完整版本校验,不扩大旧同步游标的含义。
+- [导入导出卡片](../apps/web/src/components/settings/DataExportCard.tsx)、[渲染器休眠](../apps/desktop/src/main/renderer-hibernate.mjs)与[账号隔离](../apps/desktop/src/main/account-scope.mjs):沿用现有入口,后台任务独立于渲染器。
+- [跨运行时存储契约](../apps/api/src/storage-contract.ts)与[自托管架构](self-hosting-architecture.zh-CN.md):一致性逻辑不能只在 Cloudflare 入口实现。
+- [原备份与容灾方案](https://github.com/tianma-if/edgeever/blob/main/docs/backup-and-disaster-recovery-plan.zh-CN.md):保留本地目录协同路线,本设计细化 Issue #650 的交付边界与恢复条件。
diff --git a/migrations/0080_backup_revision.sql b/migrations/0080_backup_revision.sql
new file mode 100644
index 00000000..8e40afd3
--- /dev/null
+++ b/migrations/0080_backup_revision.sql
@@ -0,0 +1,28 @@
+-- Optimistic consistency for portable knowledge-base exports. Keep triggers on one line for D1.
+PRAGMA foreign_keys = ON;
+
+ALTER TABLE workspaces ADD COLUMN backup_revision INTEGER NOT NULL DEFAULT 0;
+
+CREATE TRIGGER trg_backup_notebooks_insert AFTER INSERT ON notebooks BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT NEW.workspace_id); END;
+CREATE TRIGGER trg_backup_notebooks_update AFTER UPDATE ON notebooks BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT OLD.workspace_id UNION SELECT NEW.workspace_id); END;
+CREATE TRIGGER trg_backup_notebooks_delete BEFORE DELETE ON notebooks BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT OLD.workspace_id); END;
+
+CREATE TRIGGER trg_backup_memos_insert AFTER INSERT ON memos BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT NEW.workspace_id); END;
+CREATE TRIGGER trg_backup_memos_update AFTER UPDATE ON memos BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT OLD.workspace_id UNION SELECT NEW.workspace_id); END;
+CREATE TRIGGER trg_backup_memos_delete BEFORE DELETE ON memos BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT OLD.workspace_id); END;
+
+CREATE TRIGGER trg_backup_memo_contents_insert AFTER INSERT ON memo_contents BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = NEW.memo_id); END;
+CREATE TRIGGER trg_backup_memo_contents_update AFTER UPDATE ON memo_contents BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = OLD.memo_id UNION SELECT workspace_id FROM memos WHERE id = NEW.memo_id); END;
+CREATE TRIGGER trg_backup_memo_contents_delete BEFORE DELETE ON memo_contents BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = OLD.memo_id); END;
+
+CREATE TRIGGER trg_backup_memo_revisions_insert AFTER INSERT ON memo_revisions BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = NEW.memo_id); END;
+CREATE TRIGGER trg_backup_memo_revisions_update AFTER UPDATE ON memo_revisions BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = OLD.memo_id UNION SELECT workspace_id FROM memos WHERE id = NEW.memo_id); END;
+CREATE TRIGGER trg_backup_memo_revisions_delete BEFORE DELETE ON memo_revisions BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = OLD.memo_id); END;
+
+CREATE TRIGGER trg_backup_resources_insert AFTER INSERT ON resources BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = NEW.memo_id); END;
+CREATE TRIGGER trg_backup_resources_update AFTER UPDATE ON resources BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = OLD.memo_id UNION SELECT workspace_id FROM memos WHERE id = NEW.memo_id); END;
+CREATE TRIGGER trg_backup_resources_delete BEFORE DELETE ON resources BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT workspace_id FROM memos WHERE id = OLD.memo_id); END;
+
+CREATE TRIGGER trg_backup_ai_prompt_templates_insert AFTER INSERT ON ai_prompt_templates BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT NEW.workspace_id); END;
+CREATE TRIGGER trg_backup_ai_prompt_templates_update AFTER UPDATE ON ai_prompt_templates BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT OLD.workspace_id UNION SELECT NEW.workspace_id); END;
+CREATE TRIGGER trg_backup_ai_prompt_templates_delete BEFORE DELETE ON ai_prompt_templates BEGIN UPDATE workspaces SET backup_revision = backup_revision + 1 WHERE id IN (SELECT OLD.workspace_id); END;
diff --git a/package.json b/package.json
index 8f06ccd7..6081cafe 100644
--- a/package.json
+++ b/package.json
@@ -158,6 +158,7 @@
"@tiptap/starter-kit": "3.31.4",
"@tiptap/suggestion": "3.31.4",
"@tiptap/y-tiptap": "3.0.9",
+ "@zip.js/zip.js": "2.24.0",
"ai": "7.0.137",
"aws4fetch": "^1.0.20",
"class-variance-authority": "0.7.1",
@@ -231,6 +232,8 @@
- "@joplin/[email protected]": "patches/@joplin%[email protected]"
+ "@joplin/[email protected]": "patches/@joplin%[email protected]",
}
}
diff --git a/packages/shared/package.json b/packages/shared/package.json
index b446d94b..8694fb64 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -40,7 +40,9 @@
"./public-page-headers": "./src/public-page-headers.ts",
"./video-outline": "./src/video-outline.ts",
"./companion-discovery-context": "./src/companion-discovery-context.ts",
- "./provider-event-stream": "./src/provider-event-stream.ts"
+ "./provider-event-stream": "./src/provider-event-stream.ts",
+ "./backup-archive": "./src/backup-archive.ts",
+ "./backup-markdown": "./src/backup-markdown.ts"
},
"types": "./src/index.ts",
"dependencies": {
@@ -55,6 +57,7 @@
"@tiptap/markdown": "3.31.4",
"@tiptap/pm": "3.31.4",
"@tiptap/starter-kit": "3.31.4",
+ "@zip.js/zip.js": "2.24.0",
"js-base64": "3.9.3",
"katex": "0.18.2",
"yaml": "2.8.3",
diff --git a/packages/shared/src/backup-archive.ts b/packages/shared/src/backup-archive.ts
new file mode 100644
index 00000000..9e0bf631
--- /dev/null
+++ b/packages/shared/src/backup-archive.ts
@@ -0,0 +1,566 @@
+import { EDGEEVER_ZIP_FORMAT, EDGEEVER_ZIP_FORMAT_VERSION, JsonBackupManifestSchema, JsonBackupAiPromptSchema, JsonBackupMemoSchema, JsonBackupNotebookSchema, type JsonBackupManifest, type JsonBackupAiPrompt, type JsonBackupMemo, type JsonBackupNotebook, type JsonBackupResource, type JsonBackupRevision } from "./backup";
+import type { MemoDetail, Notebook, Resource } from "./types";
+import { Reader, ZipReader, ZipWriter, Uint8ArrayReader, type CreateReadableOptions } from "@zip.js/zip.js/index-native.js";
+import { buildNoteMarkdown, buildNotebookExportPaths, getExportResourceExtension, replaceExportResourceUrl, sanitizeExportPathSegment, uniqueExportName } from "./backup-markdown";
+const strToU8 = (value: string) => new TextEncoder().encode(value);
+const strFromU8 = (value: Uint8Array) => new TextDecoder().decode(value);
+const ZIP_MIME_TYPE = "application/zip";
+const ZIP_ENTRY_CHUNK_BYTES = 1024 * 1024;
+
+export type EdgeEverZipProgress = {
+ completed: number;
+ total: number;
+};
+
+export type EdgeEverZipImportErrorCode =
+ | "invalidZip"
+ | "missingManifest"
+ | "unsupportedFormat"
+ | "unsupportedVersion"
+ | "invalidManifest"
+ | "missingData"
+ | "invalidData"
+ | "incompleteData"
+ | "incompleteResources";
+
+export class EdgeEverZipImportError extends Error {
+ code: EdgeEverZipImportErrorCode;
+
+ constructor(code: EdgeEverZipImportErrorCode, cause?: unknown) {
+ super(code, { cause });
+ this.name = "EdgeEverZipImportError";
+ this.code = code;
+ }
+}
+
+type JsonBackupPage = {
+ memos: MemoDetail[];
+ resources: Resource[];
+ revisions: JsonBackupRevision[];
+ totalCount: number;
+ nextOffset: number | null;
+};
+
+export type JsonBackupSource = {
+ listNotebooks: () => Promise<{ notebooks: Notebook[] }>;
+ onManifest?: (manifest: JsonBackupManifest) => void;
+ resourceOrigin?: string;
+ signal?: AbortSignal;
+ getPage: (offset: number, limit: number) => Promise<JsonBackupPage>;
+ getResourceResponse?: (resourceUrl: string) => Promise<Response>;
+ getResourceBlob?: (resourceUrl: string) => Promise<Blob>;
+ listPrompts: () => Promise<{ prompts: JsonBackupAiPrompt[] }>;
+};
+
+type JsonResourceRestoreSink = {
+ write: (chunk: Uint8Array) => Promise<void>;
+ close: () => Promise<unknown>;
+ abort: () => Promise<void>;
+};
+
+type JsonRestoreTarget = {
+ restoreNotebooks: (notebooks: JsonBackupNotebook[]) => Promise<unknown>;
+ restoreMemos: (memos: JsonBackupMemo[]) => Promise<unknown>;
+ createResourceRestoreSink: (
+ resourceId: string,
+ metadata: JsonBackupResource,
+ ) => Promise<JsonResourceRestoreSink>;
+ restorePrompts: (prompts: JsonBackupAiPrompt[]) => Promise<unknown>;
+};
+
+export type ParsedEdgeEverZip = {
+ manifest: JsonBackupManifest;
+ notebooks: JsonBackupNotebook[];
+ memos: JsonBackupMemo[];
+ prompts: JsonBackupAiPrompt[];
+ archive: Blob;
+};
+
+
+type ZipEntryConsumer = {
+ write?: (chunk: Uint8Array) => void | Promise<void>;
+ close?: () => void | Promise<void>;
+};
+
+
+const jsonBytes = (value: unknown) => strToU8(`${JSON.stringify(value, null, 2)}\n`);
+const toBackupNotebook = (notebook: Notebook): JsonBackupNotebook => ({
+ id: notebook.id, parentId: notebook.parentId, name: notebook.name, slug: notebook.slug,
+ icon: notebook.icon, color: notebook.color, textColor: notebook.textColor ?? null,
+ colorTarget: notebook.colorTarget ?? "icon", isBold: notebook.isBold ?? false,
+ iconInverted: notebook.iconInverted ?? false, rowInverted: notebook.rowInverted ?? false,
+ sortOrder: notebook.sortOrder,
+ createdAt: notebook.createdAt, updatedAt: notebook.updatedAt,
+});
+
+export const createEdgeEverZipStream = async (
+ source: JsonBackupSource,
+ version: { edgeeverVersion: string; buildId: string },
+ onProgress?: (progress: EdgeEverZipProgress) => void,
+) => {
+ const [{ notebooks }, { prompts }] = await Promise.all([source.listNotebooks(), source.listPrompts()]);
+ const output = new TransformStream<Uint8Array, Uint8Array>();
+ const reader = output.readable.getReader();
+ const abort = new AbortController();
+ const forwardAbort = () => abort.abort(source.signal?.reason);
+ if (source.signal?.aborted) forwardAbort();
+ else source.signal?.addEventListener("abort", forwardAbort, { once: true });
+ let controller!: ReadableStreamDefaultController<Uint8Array>;
+ const readable = new ReadableStream<Uint8Array>({
+ start(value) { controller = value; },
+ async pull(value) {
+ try {
+ const chunk = await reader.read();
+ if (chunk.done) value.close();
+ else value.enqueue(chunk.value);
+ } catch (error) { value.error(error); }
+ },
+ async cancel(reason) { abort.abort(reason); await reader.cancel(reason); },
+ });
+ const zip = new ZipWriter(output.writable, { useWebWorkers: false, level: 6 });
+ const addJson = (path: string, value: unknown) => zip.add(path, new Uint8ArrayReader(jsonBytes(value)), { signal: abort.signal });
+ const notebookPaths = buildNotebookExportPaths(notebooks);
+ const memoNamesByNotebook = new Map<string, Set<string>>();
+ void (async () => {
+ try {
+ const backupNotebooks = notebooks.map(toBackupNotebook);
+ await addJson("notebooks.json", backupNotebooks);
+ await addJson("prompts.json", prompts);
+ let offset = 0;
+ let completed = 0;
+ let total = 0;
+ let revisionCount = 0;
+ let resourceCount = 0;
+ while (true) {
+ abort.signal.throwIfAborted();
+ const page = await source.getPage(offset, 25);
+ total = page.totalCount;
+ onProgress?.({ completed, total });
+ for (const memo of page.memos) {
+ const notebookPath = notebookPaths.get(memo.notebookId) ?? "Unfiled";
+ const usedNames = memoNamesByNotebook.get(notebookPath) ?? new Set<string>();
+ memoNamesByNotebook.set(notebookPath, usedNames);
+ const stem = uniqueExportName(sanitizeExportPathSegment(memo.title?.trim() || "Untitled note", "Untitled note"), usedNames);
+ const directory = `notes/${notebookPath}`;
+ const assets = `${stem}.assets`;
+ const resourceNames = new Set<string>();
+ let markdown = memo.contentMarkdown;
+ const resources: JsonBackupResource[] = [];
+ for (const resource of page.resources.filter((item) => item.memoId === memo.id)) {
+ const fallback = `${resource.kind}-${resource.id}.${getExportResourceExtension(resource)}`;
+ const filename = uniqueExportName(sanitizeExportPathSegment(resource.filename || fallback, fallback), resourceNames);
+ const relative = `${assets}/${filename}`;
+ const archivePath = `${directory}/${relative}`;
+ const response = source.getResourceResponse
+ ? await source.getResourceResponse(resource.url)
+ : new Response(await source.getResourceBlob!(resource.url));
+ if (!response.ok) throw new Error(`Resource download failed (${response.status})`);
+ // Declaring the known size keeps small streams compatible with ordinary ZIP.
+ await zip.add(archivePath, { readable: response.body ?? new Blob().stream(), size: resource.byteSize }, { level: 0, signal: abort.signal });
+ const { url: _url, ...metadata } = resource;
+ resources.push({ ...metadata, archivePath });
+ markdown = replaceExportResourceUrl(markdown, resource.url, relative, source.resourceOrigin);
+ resourceCount++;
+ }
+ const revisions = page.revisions.filter((item) => item.memoId === memo.id);
+ await addJson(`memos/${memo.id}.json`, { memo, revisions, resources });
+ await zip.add(`${directory}/${stem}.md`, new Uint8ArrayReader(strToU8(buildNoteMarkdown(markdown, memo, notebookPath))), { signal: abort.signal });
+ revisionCount += revisions.length;
+ completed++;
+ onProgress?.({ completed, total });
+ }
+ if (page.nextOffset === null) break;
+ offset = page.nextOffset;
+ }
+ const manifest: JsonBackupManifest = {
+ format: EDGEEVER_ZIP_FORMAT, formatVersion: EDGEEVER_ZIP_FORMAT_VERSION, schemaVersion: 1,
+ ...version, exportedAt: new Date().toISOString(), includesTrash: false,
+ counts: { notebooks: backupNotebooks.length, memos: source.onManifest ? completed : total, revisions: revisionCount, resources: resourceCount, prompts: prompts.length },
+ };
+ source.onManifest?.(manifest);
+ await addJson("manifest.json", manifest);
+ await zip.close();
+ } catch (error) {
+ controller.error(error);
+ abort.abort(error);
+ await reader.cancel(error).catch(() => {});
+ } finally { source.signal?.removeEventListener("abort", forwardAbort); }
+ })().catch(() => {});
+ return readable;
+};
+
+export const createEdgeEverZip = async (
+ source: JsonBackupSource,
+ version: { edgeeverVersion: string; buildId: string },
+ onProgress?: (progress: EdgeEverZipProgress) => void,
+) => new Response(await createEdgeEverZipStream(source, version, onProgress), { headers: { "Content-Type": ZIP_MIME_TYPE } }).blob();
+
+const rejectInvalidZip = (error?: unknown): never => {
+ if (error instanceof EdgeEverZipImportError) throw error;
+ throw new EdgeEverZipImportError("invalidZip", error);
+};
+
+class ArchiveRangeReader extends Reader<Blob> {
+ constructor(private archive: Blob) { super(archive); this.size = archive.size; }
+ override createReadable(options: CreateReadableOptions = {}) {
+ return super.createReadable({ ...options, chunkSize: ZIP_ENTRY_CHUNK_BYTES });
+ }
+ override async readUint8Array(offset: number, length: number) {
+ if (offset < 0 || length < 0 || !Number.isSafeInteger(offset + length)) return rejectInvalidZip();
+ const chunks: Uint8Array[] = [];
+ const end = Math.min(this.size, offset + length);
+ for (let start = offset; start < end; start += ZIP_ENTRY_CHUNK_BYTES) {
+ chunks.push(new Uint8Array(await this.archive.slice(start, Math.min(end, start + ZIP_ENTRY_CHUNK_BYTES)).arrayBuffer()));
+ }
+ return concatZipChunks(chunks, end - offset);
+ }
+}
+
+export const streamZipEntries = async (
+ blob: Blob,
+ onEntry: (file: { name: string }) => ZipEntryConsumer,
+ onInputProgress?: (completedBytes: number) => void,
+) => {
+ const reader = new ZipReader(new ArchiveRangeReader(blob), { useWebWorkers: false, checkCrc32: true, filenameValidation: "strict" });
+ try {
+ const entries = await reader.getEntries().catch(rejectInvalidZip);
+ const seen = new Set<string>();
+ const total = entries.reduce((count, entry) => count + entry.uncompressedSize, 0);
+ let completed = 0;
+ for (const entry of entries) {
+ if (seen.has(entry.filename) || entry.encrypted) rejectInvalidZip();
+ seen.add(entry.filename);
+ const consumer = onEntry({ name: entry.filename });
+ if (!entry.directory) {
+ let consumerFailed = false;
+ let consumerError: unknown;
+ try {
+ await entry.getData(new WritableStream<Uint8Array>({
+ async write(chunk) {
+ try {
+ await consumer.write?.(chunk);
+ completed += chunk.byteLength;
+ onInputProgress?.(total ? Math.min(blob.size, completed / total * blob.size) : blob.size);
+ } catch (error) {
+ consumerFailed = true; consumerError = error; throw error;
+ }
+ },
+ }), { checkCrc32: true });
+ } catch (error) {
+ if (consumerFailed) throw consumerError;
+ rejectInvalidZip(error);
+ }
+ }
+ await consumer.close?.();
+ }
+ onInputProgress?.(blob.size);
+ } finally { await reader.close(); }
+};
+const MAX_ZIP_METADATA_ENTRY_BYTES = 32 * 1024 * 1024;
+const MAX_ZIP_ENTRY_BYTES = 1024 * 1024 * 1024;
+const MAX_RESTORED_IMAGE_BYTES = 100 * 1024 * 1024;
+
+const isStructuredZipEntry = (path: string) => path === "manifest.json"
+ || path === "notebooks.json"
+ || path === "prompts.json"
+ || /^memos\/[^/]+\.json$/.test(path);
+
+const concatZipChunks = (chunks: Uint8Array[], total: number) => {
+ const bytes = new Uint8Array(total);
+ let offset = 0;
+ for (const chunk of chunks) {
+ bytes.set(chunk, offset);
+ offset += chunk.byteLength;
+ }
+ return bytes;
+};
+
+export type ArchiveDigestFactory = () => { update: (chunk: Uint8Array) => void; digest: () => string };
+
+const scanEdgeEverZip = async (blob: Blob, onProgress?: (percentage: number) => void, createDigest?: ArchiveDigestFactory) => {
+ const signature = new Uint8Array(await blob.slice(0, 4).arrayBuffer());
+ const signatureValue = signature.length === 4
+ ? signature[0] | (signature[1] << 8) | (signature[2] << 16) | (signature[3] << 24)
+ : 0;
+ if (signatureValue !== 0x04034b50 && signatureValue !== 0x06054b50) {
+ throw new EdgeEverZipImportError("invalidZip");
+ }
+ const entrySizes = new Map<string, number>();
+ const structuredEntries = new Map<string, Uint8Array>();
+ const digests = new Map<string, string>();
+ let lastPercentage = -1;
+
+ await streamZipEntries(blob, (file) => {
+ if (entrySizes.has(file.name)) {
+ throw new EdgeEverZipImportError("invalidZip", new Error(`Duplicate ZIP entry: ${file.name}`));
+ }
+ entrySizes.set(file.name, -1);
+ const structured = isStructuredZipEntry(file.name);
+ const digest = !structured ? createDigest?.() : undefined;
+ const chunks: Uint8Array[] = [];
+ let byteSize = 0;
+ return {
+ write(chunk) {
+ byteSize += chunk.byteLength;
+ const limit = structured ? MAX_ZIP_METADATA_ENTRY_BYTES : MAX_ZIP_ENTRY_BYTES;
+ if (byteSize > limit) {
+ throw new EdgeEverZipImportError(structured ? "invalidData" : "incompleteResources");
+ }
+ digest?.update(chunk);
+ if (structured) {
+ const copy = new Uint8Array(chunk.byteLength);
+ copy.set(chunk);
+ chunks.push(copy);
+ }
+ },
+ close() {
+ entrySizes.set(file.name, byteSize);
+ if (structured) structuredEntries.set(file.name, concatZipChunks(chunks, byteSize));
+ if (digest) digests.set(file.name, digest.digest());
+ },
+ };
+ }, (completedBytes) => {
+ const percentage = blob.size > 0 ? Math.min(100, Math.round((completedBytes / blob.size) * 100)) : 100;
+ if (percentage !== lastPercentage) {
+ lastPercentage = percentage;
+ onProgress?.(percentage);
+ }
+ });
+
+ return { entrySizes, structuredEntries, digests };
+};
+
+const parseJsonEntry = (
+ entries: Map<string, Uint8Array>,
+ path: string,
+ missingCode: EdgeEverZipImportErrorCode = "missingData",
+) => {
+ const data = entries.get(path);
+ if (!data) throw new EdgeEverZipImportError(missingCode);
+ try {
+ return JSON.parse(strFromU8(data)) as unknown;
+ } catch (error) {
+ throw new EdgeEverZipImportError(path === "manifest.json" ? "invalidManifest" : "invalidData", error);
+ }
+};
+
+const sortNotebooksForRestore = (notebooks: JsonBackupNotebook[]) => {
+ const byId = new Map(notebooks.map((notebook) => [notebook.id, notebook]));
+ const depth = (notebook: JsonBackupNotebook, seen = new Set<string>()): number => {
+ if (!notebook.parentId || !byId.has(notebook.parentId) || seen.has(notebook.id)) {
+ return 0;
+ }
+ seen.add(notebook.id);
+ return 1 + depth(byId.get(notebook.parentId)!, seen);
+ };
+ return [...notebooks].sort((left, right) => depth(left) - depth(right));
+};
+
+export const parseEdgeEverZip = async (
+ blob: Blob,
+ onProgress?: (percentage: number) => void,
+ createDigest?: ArchiveDigestFactory,
+): Promise<ParsedEdgeEverZip> => {
+ const { entrySizes, structuredEntries, digests } = await scanEdgeEverZip(blob, onProgress, createDigest);
+ const manifestValue = parseJsonEntry(structuredEntries, "manifest.json", "missingManifest");
+ if (!manifestValue || typeof manifestValue !== "object") {
+ throw new EdgeEverZipImportError("invalidManifest");
+ }
+ const manifestRecord = manifestValue as Record<string, unknown>;
+ if (manifestRecord.format !== EDGEEVER_ZIP_FORMAT) {
+ throw new EdgeEverZipImportError("unsupportedFormat");
+ }
+ if (manifestRecord.formatVersion !== 1 && manifestRecord.formatVersion !== EDGEEVER_ZIP_FORMAT_VERSION) {
+ throw new EdgeEverZipImportError("unsupportedVersion");
+ }
+ const manifestResult = JsonBackupManifestSchema.safeParse(manifestValue);
+ if (!manifestResult.success) {
+ throw new EdgeEverZipImportError("invalidManifest", manifestResult.error);
+ }
+ const manifest = manifestResult.data;
+ const notebooksValue = parseJsonEntry(structuredEntries, "notebooks.json");
+ if (!Array.isArray(notebooksValue)) {
+ throw new EdgeEverZipImportError("invalidData");
+ }
+ const notebooksResult = JsonBackupNotebookSchema.array().safeParse(notebooksValue);
+ if (!notebooksResult.success) {
+ throw new EdgeEverZipImportError("invalidData", notebooksResult.error);
+ }
+ const notebooks = sortNotebooksForRestore(notebooksResult.data);
+ const promptsValue = manifest.formatVersion >= 2
+ ? parseJsonEntry(structuredEntries, "prompts.json")
+ : [];
+ const promptsResult = JsonBackupAiPromptSchema.array().safeParse(promptsValue);
+ if (!promptsResult.success) {
+ throw new EdgeEverZipImportError("invalidData", promptsResult.error);
+ }
+ const prompts = promptsResult.data as JsonBackupAiPrompt[];
+ const memoPaths = [...structuredEntries.keys()].filter((path) => /^memos\/[^/]+\.json$/.test(path)).sort();
+ const memos: JsonBackupMemo[] = [];
+ for (const path of memoPaths) {
+ const memoResult = JsonBackupMemoSchema.safeParse(parseJsonEntry(structuredEntries, path));
+ if (!memoResult.success) {
+ throw new EdgeEverZipImportError("invalidData", memoResult.error);
+ }
+ memos.push(memoResult.data as JsonBackupMemo);
+ }
+ const resources = memos.flatMap((memo) => memo.resources);
+ const resourcePaths = new Set(resources.map((resource) => resource.archivePath));
+ // Markdown attachments live under notes/ too. Only count readable note copies,
+ // excluding the exact resource paths recorded in the recovery metadata.
+ const markdownCount = [...entrySizes.keys()].filter((path) => (
+ /^notes\/.+\.md$/.test(path) && !resourcePaths.has(path)
+ )).length;
+
+ if (
+ manifest.counts.notebooks !== notebooks.length
+ || manifest.counts.memos !== memos.length
+ || manifest.counts.memos !== markdownCount
+ || (manifest.counts.prompts ?? 0) !== prompts.length
+ ) {
+ throw new EdgeEverZipImportError("incompleteData");
+ }
+
+ const revisionCount = memos.reduce((count, memo) => count + memo.revisions.length, 0);
+ if (manifest.counts.revisions !== revisionCount) {
+ throw new EdgeEverZipImportError("incompleteData");
+ }
+ if (
+ manifest.counts.resources !== resources.length
+ || resourcePaths.size !== resources.length
+ || resources.some((resource) => (
+ resource.byteSize <= 0
+ || resource.byteSize > (resource.kind === "image" ? MAX_RESTORED_IMAGE_BYTES : MAX_ZIP_ENTRY_BYTES)
+ || isStructuredZipEntry(resource.archivePath)
+ || entrySizes.get(resource.archivePath) !== resource.byteSize
+ || (createDigest && resource.sha256 !== null && resource.sha256 !== digests.get(resource.archivePath))
+ ))
+ ) {
+ throw new EdgeEverZipImportError("incompleteResources");
+ }
+
+ return { manifest, notebooks, memos, prompts, archive: blob };
+};
+
+/** The new desktop path validates relationships before any target write. */
+export const validateBackupRelationships = (backup: ParsedEdgeEverZip) => {
+ const notebooks = new Map(backup.notebooks.map((item) => [item.id, item]));
+ const memos = new Set(backup.memos.map((item) => item.memo.id));
+ const revisions = new Set<string>();
+ const resources = new Set<string>();
+ const invalid = () => { throw new EdgeEverZipImportError("invalidData"); };
+ if (notebooks.size !== backup.notebooks.length || memos.size !== backup.memos.length) invalid();
+ for (const notebook of backup.notebooks) {
+ const ancestors = new Set([notebook.id]);
+ let parent = notebook.parentId;
+ while (parent) {
+ if (ancestors.has(parent) || !notebooks.has(parent)) invalid();
+ ancestors.add(parent);
+ parent = notebooks.get(parent)!.parentId;
+ }
+ }
+ for (const item of backup.memos) {
+ if (!notebooks.has(item.memo.notebookId)) invalid();
+ for (const revision of item.revisions) {
+ if (revision.memoId !== item.memo.id || revisions.has(revision.id)) invalid();
+ revisions.add(revision.id);
+ }
+ for (const resource of item.resources) {
+ if (resource.memoId !== item.memo.id || resources.has(resource.id)) invalid();
+ resources.add(resource.id);
+ }
+ }
+};
+
+export const restoreEdgeEverZip = async (
+ backup: ParsedEdgeEverZip,
+ target: JsonRestoreTarget,
+ onProgress?: (progress: EdgeEverZipProgress) => void
+) => {
+ const total = backup.notebooks.length
+ + backup.memos.length
+ + backup.prompts.length
+ + backup.manifest.counts.resources;
+ let completed = 0;
+ onProgress?.({ completed, total });
+
+ for (let index = 0; index < backup.prompts.length; index += 100) {
+ const batch = backup.prompts.slice(index, index + 100);
+ await target.restorePrompts(batch);
+ completed += batch.length;
+ onProgress?.({ completed, total });
+ }
+
+ for (let index = 0; index < backup.notebooks.length; index += 100) {
+ const batch = backup.notebooks.slice(index, index + 100);
+ await target.restoreNotebooks(batch);
+ completed += batch.length;
+ onProgress?.({ completed, total });
+ }
+
+ for (let index = 0; index < backup.memos.length; index += 10) {
+ const batch = backup.memos.slice(index, index + 10);
+ await target.restoreMemos(batch);
+ completed += batch.length;
+ onProgress?.({ completed, total });
+ }
+
+ const resourcesByPath = new Map(
+ backup.memos.flatMap((memo) => memo.resources).map((resource) => [resource.archivePath, resource]),
+ );
+ const restoredPaths = new Set<string>();
+ const activeSinks = new Set<JsonResourceRestoreSink>();
+ try {
+ await streamZipEntries(backup.archive, (file) => {
+ const resource = resourcesByPath.get(file.name);
+ if (!resource) return {};
+ let sinkPromise: Promise<JsonResourceRestoreSink> | undefined;
+ // Start only when awaited: disk reads can otherwise outlive a fast rejection.
+ const getSink = () => sinkPromise ??= target.createResourceRestoreSink(resource.id, resource);
+ let byteSize = 0;
+ return {
+ async write(chunk) {
+ byteSize += chunk.byteLength;
+ if (byteSize > resource.byteSize) {
+ const sink = await getSink();
+ await sink.abort();
+ throw new EdgeEverZipImportError("incompleteResources");
+ }
+ const sink = await getSink();
+ activeSinks.add(sink);
+ await sink.write(chunk);
+ },
+ async close() {
+ const sink = await getSink();
+ activeSinks.add(sink);
+ if (byteSize !== resource.byteSize) {
+ await sink.abort();
+ activeSinks.delete(sink);
+ throw new EdgeEverZipImportError("incompleteResources");
+ }
+ await sink.close();
+ activeSinks.delete(sink);
+ restoredPaths.add(file.name);
+ completed += 1;
+ onProgress?.({ completed, total });
+ },
+ };
+ });
+ } catch (error) {
+ await Promise.all([...activeSinks].map((sink) => sink.abort().catch(() => undefined)));
+ throw error;
+ }
+ if (restoredPaths.size !== resourcesByPath.size) {
+ throw new EdgeEverZipImportError("incompleteResources");
+ }
+};
+
+export const restoreEdgeEverZipAndRefresh = async (
+ backup: ParsedEdgeEverZip,
+ target: JsonRestoreTarget,
+ refreshWorkspace: () => Promise<void>,
+ onProgress?: (progress: EdgeEverZipProgress) => void
+) => {
+ await restoreEdgeEverZip(backup, target, onProgress);
+ await refreshWorkspace();
+};
diff --git a/packages/shared/src/backup-markdown.ts b/packages/shared/src/backup-markdown.ts
new file mode 100644
index 00000000..761b6215
--- /dev/null
+++ b/packages/shared/src/backup-markdown.ts
@@ -0,0 +1,114 @@
+import type { MemoDetail, Notebook, Resource } from "./types";
+import { mergeMarkdownFrontMatter } from "./front-matter";
+
+const WINDOWS_RESERVED_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i;
+
+export const sanitizeExportPathSegment = (value: string, fallback: string) => {
+ const sanitized = value
+ // oxlint-disable-next-line no-control-regex -- replaces control characters in export paths
+ .replace(/[\u0000-\u001f<>:"/\\|?*]/g, "-")
+ .replace(/\s+/g, " ")
+ .replace(/[. ]+$/g, "")
+ .trim()
+ .slice(0, 100);
+ const safeValue = sanitized || fallback;
+ return WINDOWS_RESERVED_NAME.test(safeValue) ? `_${safeValue}` : safeValue;
+};
+
+export const uniqueExportName = (candidate: string, usedNames: Set<string>) => {
+ if (!usedNames.has(candidate.toLocaleLowerCase())) {
+ usedNames.add(candidate.toLocaleLowerCase());
+ return candidate;
+ }
+
+ let suffix = 2;
+ while (usedNames.has(`${candidate} (${suffix})`.toLocaleLowerCase())) {
+ suffix += 1;
+ }
+
+ const unique = `${candidate} (${suffix})`;
+ usedNames.add(unique.toLocaleLowerCase());
+ return unique;
+};
+
+export const buildNotebookExportPaths = (notebooks: Notebook[]) => {
+ const notebookById = new Map(notebooks.map((notebook) => [notebook.id, notebook]));
+ const siblingNames = new Map<string, Set<string>>();
+ const segmentById = new Map<string, string>();
+
+ for (const notebook of notebooks) {
+ const parentKey = notebook.parentId ?? "__root__";
+ const usedNames = siblingNames.get(parentKey) ?? new Set<string>();
+ siblingNames.set(parentKey, usedNames);
+ segmentById.set(
+ notebook.id,
+ uniqueExportName(sanitizeExportPathSegment(notebook.name, "Untitled notebook"), usedNames)
+ );
+ }
+
+ const pathById = new Map<string, string>();
+ const resolvePath = (notebookId: string, visited = new Set<string>()): string => {
+ const cached = pathById.get(notebookId);
+ if (cached) {
+ return cached;
+ }
+
+ const notebook = notebookById.get(notebookId);
+ if (!notebook || visited.has(notebookId)) {
+ return "Unfiled";
+ }
+
+ visited.add(notebookId);
+ const segment = segmentById.get(notebookId) ?? "Untitled notebook";
+ const path = notebook.parentId && notebookById.has(notebook.parentId)
+ ? `${resolvePath(notebook.parentId, visited)}/${segment}`
+ : segment;
+ pathById.set(notebookId, path);
+ return path;
+ };
+
+ for (const notebook of notebooks) {
+ resolvePath(notebook.id);
+ }
+
+ return pathById;
+};
+
+export const buildNoteMarkdown = (markdown: string, memo: MemoDetail, notebookPath: string) =>
+ mergeMarkdownFrontMatter(markdown, {
+ title: memo.title?.trim() || "Untitled note",
+ tags: memo.tags,
+ notebook: notebookPath,
+ created: memo.createdAt,
+ updated: memo.updatedAt,
+ pinned: memo.isPinned,
+ edgeever_id: memo.id,
+ });
+
+export const buildMarkdownFrontMatter = (memo: MemoDetail, notebookPath: string) =>
+ buildNoteMarkdown("", memo, notebookPath);
+
+export const getExportResourceExtension = (resource: Resource) => {
+ const filenameExtension = resource.filename?.match(/\.([a-z0-9]{1,12})$/i)?.[1];
+ if (filenameExtension) {
+ return filenameExtension.toLowerCase();
+ }
+
+ const mimeExtension = resource.mimeType?.split("/")[1]?.split(/[;+]/)[0];
+ return mimeExtension ? sanitizeExportPathSegment(mimeExtension, "bin").toLowerCase() : "bin";
+};
+
+const encodeRelativePath = (path: string) => path.split("/").map(encodeURIComponent).join("/");
+
+export const replaceExportResourceUrl = (markdown: string, resourceUrl: string, relativePath: string, origin?: string) => {
+ const encodedPath = encodeRelativePath(relativePath);
+ const base = origin ?? (typeof window === "undefined" ? undefined : window.location.origin);
+ const absoluteUrl = base ? new URL(resourceUrl, base).toString() : null;
+ let result = markdown.split(resourceUrl).join(encodedPath);
+
+ if (absoluteUrl) {
+ result = result.split(absoluteUrl).join(encodedPath);
+ }
+
+ return result;
+};
diff --git a/packages/shared/src/backup.ts b/packages/shared/src/backup.ts
index 1253e82c..2ef7973b 100644
--- a/packages/shared/src/backup.ts
+++ b/packages/shared/src/backup.ts
@@ -202,3 +202,48 @@ export const RestoreJsonAiPromptsSchema = z.object({
});
export const JsonBackupResourceMetadataSchema = JsonBackupMemoSchema.shape.resources.element;
+
+// Desktop-only IPC metadata. Archive bytes and saved passwords never cross this interface.
+export type DesktopBackupConfig = {
+ enabled: boolean;
+ interval: "daily" | "weekly" | "biweekly" | "monthly";
+ retention: 3 | 5 | 10 | 20;
+ directory: string;
+ encrypted: boolean;
+};
+export type DesktopBackupError = { code: string; message?: string; status?: number };
+export type DesktopBackupStatus = {
+ blocked: boolean;
+ config: DesktopBackupConfig;
+ backupSetId: string;
+ actualDirectory: string;
+ passwordSet: boolean;
+ secureStorageAvailable: boolean;
+ lastCheck: { at: string; result: "running" | "success" | "unchanged" | "failed" | "cancelled" } | null;
+ lastAttemptAt: string | null;
+ lastSuccessAt: string | null;
+ lastRestoreAt: string | null;
+ nextDueAt: string | null;
+ pendingPublication: { name: string; encrypted: boolean } | null;
+ target: { baseUrl: string; accountId: string };
+ error: DesktopBackupError | null;
+ warning: DesktopBackupError | null;
+ importError: DesktopBackupError | null;
+ importWarning: DesktopBackupError | null;
+ history: Array<{ name: string; directory: string; completedAt: string; size: number; encrypted: boolean }>;
+ task: null | { kind: "export" | "import"; phase: "checking-source" | "exporting" | "decrypting" | "checking" | "ready" | "restoring"; completed: number; total: number; manifest?: JsonBackupManifest };
+};
+export type DesktopBackupSelection = { id: string; name: string; encrypted: boolean };
+export type DesktopBackupActions = {
+ status: { input?: never; output: DesktopBackupStatus | null };
+ save: { input: { backupSetId: string; config: DesktopBackupConfig; password?: string }; output: DesktopBackupStatus };
+ "choose-directory": { input: { backupSetId: string }; output: string | null };
+ run: { input: { backupSetId: string; password?: string; options?: { name: string; encrypted: boolean } }; output: DesktopBackupStatus };
+ cancel: { input: { backupSetId: string }; output: DesktopBackupStatus | null };
+ "open-folder": { input: { backupSetId: string }; output: boolean };
+ "choose-import": { input: { backupSetId: string }; output: DesktopBackupSelection | null };
+ "select-history": { input: { backupSetId: string; name: string }; output: DesktopBackupSelection };
+ "delete-history": { input: { backupSetId: string; name: string }; output: DesktopBackupStatus };
+ "prepare-import": { input: { backupSetId: string; id: string; password?: string }; output: DesktopBackupStatus };
+ "confirm-import": { input: { backupSetId: string }; output: DesktopBackupStatus };
+};
diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts
index ddce288f..669582a8 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -2011,6 +2011,114 @@ export const enUS = {
systemInfoNotice: "The following information was generated by EdgeEver to help diagnose the issue.",
privacyNotice: "GitHub Issues are public. Do not include passwords, tokens, instance URLs, or private note content.",
},
+ desktopBackup: {
+ title: "Backup and restore",
+ scope: "Back up synced notes and attachments to a local folder.",
+ enable: "Enable automatic backups",
+ directory: "Backup folder",
+ choose: "Choose…",
+ frequency: "Frequency",
+ retention: "Keep",
+ copies: "{{count}} backups",
+ intervals: {
+ daily: "Daily",
+ weekly: "Weekly",
+ biweekly: "Every two weeks",
+ monthly: "Monthly"
+ },
+ encryption: "Password encryption",
+ password: "Backup password",
+ confirmPassword: "Confirm password",
+ passwordSet: "Password set",
+ changePassword: "Change password",
+ passwordChangeNote: "A new password applies only to future backups. Keep the passwords for older files.",
+ passwordMismatch: "The passwords do not match.",
+ secureUnavailable: "Secure storage is unavailable. Encrypted automatic backups are paused; you can enter a password for one backup without saving it.",
+ verifyPublication: "Verify interrupted backup",
+ verifyPassword: "Enter the original password for {{name}}. It will only be used for this verification.",
+ partWarning: "An unfinished backup file could not be removed. Check the backup directory permissions and try again.",
+ run: "Back up now",
+ openFolder: "Open folder",
+ never: "Not yet",
+ lastSuccess: "Last successful backup: {{time}}",
+ nextDue: "Next automatic check: {{time}}",
+ whenReady: "When the app is ready",
+ stagingWarning: "Private temporary files could not be removed. Check the app data folder permissions and restart.",
+ cleanupWarning: "Local backup completed, but some older backups could not be removed.",
+ history: "Local backups ({{count}})",
+ encrypted: "Encrypted",
+ oncePassword: "This password is used for one backup and is not saved.",
+ importButton: "Restore from file",
+ decryptTitle: "Unlock encrypted backup",
+ checkFile: "Unlock and check",
+ confirmRestore: "Confirm restore",
+ restoreComplete: "Restore complete",
+ restoreTitle: "Restore backup",
+ restoreConfirmation: "Matching IDs will be overwritten. Unrelated data will be kept.",
+ restoreSummary: "{{notebooks}} notebooks · {{memos}} notes · {{resources}} attachments · {{prompts}} prompts",
+ target: "Restore to",
+ wait: "Keep the app open. You can continue working.",
+ httpError: "{{message}} (HTTP {{status}})",
+ restoreIncomplete: "Restore did not finish",
+ restoreRefreshFailed: "Data was restored, but this device could not refresh. Sync manually; restoring again is not necessary.",
+ restoreRetry: "Your original file is unchanged. If some batches were restored, restoring again will retry with the same IDs.",
+ fileName: "File name",
+ savedPasswordPlaceholder: "Leave blank to use the saved password",
+ plain: "Not encrypted",
+ restore: "Restore",
+ emptyHistory: "No local backups yet.",
+ settings: "Backup settings",
+ lastCheck: "Latest check: {{time}}",
+ notChecked: "Not checked yet",
+ autoOff: "Automatic backup is off",
+ deleteTitle: "Delete this backup?",
+ deleteDescription: "Permanently delete the local file “{{name}}”. This cannot be undone. Restored notes will remain.",
+ deleteConfirm: "Delete permanently",
+ checkResults: {
+ running: "Checking backup…",
+ success: "Backup complete",
+ unchanged: "Content unchanged. Your existing backup is up to date.",
+ failed: "The latest backup check failed",
+ cancelled: "The latest backup was cancelled",
+ },
+ phases: {
+ "checking-source": "Checking for content changes…",
+ exporting: "Preparing backup…",
+ decrypting: "Decrypting and authenticating…",
+ checking: "Checking archive…",
+ ready: "Ready to restore",
+ restoring: "Restoring data…"
+ },
+ errors: {
+ backup_name_invalid: "Enter a valid filename without paths, reserved names or special characters.",
+ backup_name_exists: "A file with this name already exists. Choose another name; the existing file is unchanged.",
+ backup_file_replaced: "The backup file was replaced. No action was taken.",
+ backup_configuration_unavailable: "Could not read backup settings or clean private staging. Check the app data folder permissions and restart.",
+ backup_too_large: "Encrypted backups are limited to 64 GiB minus 32 bytes. Choose an unencrypted backup for a larger archive.",
+ backup_worker_failed: "The background task stopped. Try again.",
+ backup_file_required: "Choose the backup file again.",
+ backup_import_not_ready: "Wait for the archive check to finish.",
+ backup_invalid_configuration: "Check the backup frequency, retention, and destination.",
+ backup_failed: "Backup failed. Check your connection and folder access, then try again.",
+ backup_source_changed: "The source changed during backup. Try again when editing has stopped.",
+ backup_server_upgrade_required: "Update the EdgeEver server to use automatic backups.",
+ backup_secure_storage_unavailable: "Unlock secure storage, set the password again, or enter it for one backup.",
+ backup_password_required: "Enter a backup password.",
+ backup_decrypt_failed: "Could not decrypt the backup. The password is incorrect or the file is damaged.",
+ backup_unsupported_container: "This encrypted backup uses an unsupported version or encryption suite.",
+ backup_login_required: "Sign in to an EdgeEver instance first.",
+ backup_account_changed: "The account changed. Sign in again before backing up.",
+ backup_busy: "Cancel the current task before changing settings.",
+ backup_publication_unverified: "The interrupted backup is preserved but not yet verified. Use “Verify interrupted backup” to continue.",
+ backup_request_failed: "Could not read the source. Check your connection and sign-in status.",
+ backup_directory_invalid: "The backup folder is unavailable or was replaced. Choose a regular directory.",
+ EACCES: "Folder access was denied. Choose a writable backup folder.",
+ EPERM: "Folder access was denied. Check the folder permissions.",
+ ENOSPC: "There is not enough free disk space. Free space and try again.",
+ ENOENT: "The file or folder is no longer available. Choose it again.",
+ backup_cancelled: "Cancelled."
+ }
+ },
dataExport: {
title: "Import and export",
description: "Export a complete ZIP archive with Markdown notes, attachments, and history for backup or migration.",
diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.ts
index 5bdd6af0..fabd32dd 100644
--- a/packages/shared/src/i18n/ja.ts
+++ b/packages/shared/src/i18n/ja.ts
@@ -2000,6 +2000,114 @@ export const ja = {
systemInfoNotice: "次の情報は、問題の切り分けを助けるために EdgeEver が生成しました。",
privacyNotice: "GitHub Issues は公開されます。パスワード、トークン、インスタンス URL、非公開のノート内容は含めないでください。",
},
+ desktopBackup: {
+ title: "バックアップと復元",
+ scope: "同期済みのノートと添付ファイルをローカルフォルダーに保存します。",
+ enable: "自動バックアップを有効にする",
+ directory: "保存先",
+ choose: "選択…",
+ frequency: "頻度",
+ retention: "保存数",
+ copies: "{{count}} 件",
+ intervals: {
+ daily: "毎日",
+ weekly: "毎週",
+ biweekly: "2週間ごと",
+ monthly: "毎月"
+ },
+ encryption: "パスワードで暗号化",
+ password: "バックアップのパスワード",
+ confirmPassword: "パスワードの確認",
+ passwordSet: "パスワード設定済み",
+ changePassword: "パスワードを変更",
+ passwordChangeNote: "新しいパスワードは今後のバックアップにのみ適用されます。古いファイルのパスワードも保管してください。",
+ passwordMismatch: "パスワードが一致しません。",
+ secureUnavailable: "安全なストレージを利用できないため、暗号化自動バックアップは停止中です。保存せずに1回だけパスワードを入力できます。",
+ verifyPublication: "中断したバックアップを検証",
+ verifyPassword: "{{name}} の作成時のパスワードを入力してください。今回の検証にのみ使用します。",
+ partWarning: "未完了のバックアップファイルを削除できませんでした。バックアップ先の権限を確認して再試行してください。",
+ run: "今すぐバックアップ",
+ openFolder: "フォルダーを開く",
+ never: "未完了",
+ lastSuccess: "前回のバックアップ成功:{{time}}",
+ nextDue: "次回の自動確認:{{time}}",
+ whenReady: "アプリの準備ができ次第",
+ stagingWarning: "非公開の一時ファイルを削除できません。データフォルダーの権限を確認し、再起動してください。",
+ cleanupWarning: "バックアップは完了しましたが、古いファイルの一部を削除できませんでした。",
+ history: "ローカルバックアップ({{count}})",
+ encrypted: "暗号化済み",
+ oncePassword: "このパスワードは今回のみ使用し、保存しません。",
+ importButton: "ファイルから復元",
+ decryptTitle: "暗号化バックアップを解除",
+ checkFile: "解除して確認",
+ confirmRestore: "復元を確認",
+ restoreComplete: "復元が完了しました",
+ restoreTitle: "バックアップを復元",
+ restoreConfirmation: "同じ ID のデータは上書きし、無関係なデータは保持します。",
+ restoreSummary: "ノートブック {{notebooks}} · ノート {{memos}} · 添付 {{resources}} · プロンプト {{prompts}}",
+ target: "復元先",
+ wait: "アプリを起動したままにしてください。他の作業は続行できます。",
+ httpError: "{{message}}(HTTP {{status}})",
+ restoreIncomplete: "復元が完了しませんでした",
+ restoreRefreshFailed: "データは復元されましたが、この端末の更新に失敗しました。手動で同期してください。再度の復元は不要です。",
+ restoreRetry: "元のバックアップファイルは変更されていません。一部が復元済みの場合、再度の復元は同じ ID で再試行します。",
+ fileName: "ファイル名",
+ savedPasswordPlaceholder: "空欄の場合は保存済みパスワードを使用",
+ plain: "暗号化なし",
+ restore: "復元",
+ emptyHistory: "ローカルバックアップはまだありません。",
+ settings: "バックアップ設定",
+ lastCheck: "最終確認:{{time}}",
+ notChecked: "未確認",
+ autoOff: "自動バックアップはオフです",
+ deleteTitle: "このバックアップを削除しますか?",
+ deleteDescription: "ローカルファイル「{{name}}」を完全に削除します。元に戻せません。復元済みのノートは残ります。",
+ deleteConfirm: "完全に削除",
+ checkResults: {
+ running: "バックアップを確認中…",
+ success: "バックアップが完了しました",
+ unchanged: "内容に変更はありません。既存のバックアップは最新です。",
+ failed: "前回のバックアップ確認に失敗しました",
+ cancelled: "前回のバックアップはキャンセルされました",
+ },
+ phases: {
+ "checking-source": "内容の変更を確認中…",
+ exporting: "バックアップを準備中…",
+ decrypting: "復号と認証中…",
+ checking: "アーカイブを確認中…",
+ ready: "復元の準備完了",
+ restoring: "データを復元中…"
+ },
+ errors: {
+ backup_name_invalid: "パス、予約名、特殊文字を含まない有効なファイル名を入力してください。",
+ backup_name_exists: "同名のファイルがあります。別の名前を選んでください。既存のファイルは変更されていません。",
+ backup_file_replaced: "バックアップファイルが置き換えられたため、操作を中止しました。",
+ backup_configuration_unavailable: "バックアップ設定の読み取りか一時ファイルの削除に失敗しました。アプリのデータフォルダーの権限を確認し、再起動してください。",
+ backup_too_large: "暗号化アーカイブの上限は 64 GiB から 32 バイトを引いたサイズです。より大きい場合は暗号化なしで保存してください。",
+ backup_worker_failed: "バックグラウンド処理が停止しました。再試行してください。",
+ backup_file_required: "バックアップファイルを再選択してください。",
+ backup_import_not_ready: "アーカイブの確認が終わるまでお待ちください。",
+ backup_invalid_configuration: "頻度、保存数、保存先を確認してください。",
+ backup_failed: "バックアップに失敗しました。接続とフォルダーの権限を確認してください。",
+ backup_source_changed: "バックアップ中にデータが変更されました。編集を止めて再試行してください。",
+ backup_server_upgrade_required: "自動バックアップには EdgeEver サーバーの更新が必要です。",
+ backup_secure_storage_unavailable: "安全なストレージを解除するか、パスワードを再設定または今回のみ入力してください。",
+ backup_password_required: "バックアップのパスワードを入力してください。",
+ backup_decrypt_failed: "復号できません。パスワードが違うか、ファイルが破損しています。",
+ backup_unsupported_container: "この暗号化形式またはバージョンには対応していません。",
+ backup_login_required: "先に EdgeEver にログインしてください。",
+ backup_account_changed: "アカウントが変更されました。再ログインしてください。",
+ backup_busy: "現在の処理をキャンセルしてから設定を変更してください。",
+ backup_publication_unverified: "中断したバックアップは保持されていますが、未検証です。「中断したバックアップを検証」で続行してください。",
+ backup_request_failed: "データを取得できません。接続とログイン状態を確認してください。",
+ backup_directory_invalid: "保存先を利用できないか置き換えられています。通常のフォルダーを選択してください。",
+ EACCES: "アクセスが拒否されました。書き込み可能なフォルダーを選択してください。",
+ EPERM: "アクセスが拒否されました。権限を確認してください。",
+ ENOSPC: "空き容量が不足しています。空き容量を確保してください。",
+ ENOENT: "ファイルまたはフォルダーがありません。再選択してください。",
+ backup_cancelled: "キャンセルしました。"
+ }
+ },
dataExport: {
title: "インポートとエクスポート",
description: "Markdown ノート、添付、履歴を含む完全な ZIP をエクスポートし、バックアップや移行に使います。",
diff --git a/packages/shared/src/i18n/pl.ts b/packages/shared/src/i18n/pl.ts
index 430be661..d95a6bb6 100644
--- a/packages/shared/src/i18n/pl.ts
+++ b/packages/shared/src/i18n/pl.ts
@@ -2000,6 +2000,114 @@ export const pl = {
systemInfoNotice: "Poniższe informacje zostały wygenerowane przez EdgeEver, aby pomóc zdiagnozować problem.",
privacyNotice: "Zgłoszenia GitHub Issues są publiczne. Nie podawaj haseł, tokenów, adresów URL instancji ani prywatnej treści notatek.",
},
+ desktopBackup: {
+ title: "Kopie zapasowe i przywracanie",
+ scope: "Zapisuj zsynchronizowane notatki i załączniki w lokalnym folderze.",
+ enable: "Włącz automatyczne kopie",
+ directory: "Folder kopii",
+ choose: "Wybierz…",
+ frequency: "Częstotliwość",
+ retention: "Zachowaj",
+ copies: "{{count}} kopii",
+ intervals: {
+ daily: "Codziennie",
+ weekly: "Co tydzień",
+ biweekly: "Co dwa tygodnie",
+ monthly: "Co miesiąc"
+ },
+ encryption: "Szyfrowanie hasłem",
+ password: "Hasło kopii zapasowej",
+ confirmPassword: "Potwierdź hasło",
+ passwordSet: "Hasło ustawione",
+ changePassword: "Zmień hasło",
+ passwordChangeNote: "Nowe hasło dotyczy tylko przyszłych kopii. Zachowaj hasła do starszych plików.",
+ passwordMismatch: "Hasła nie są zgodne.",
+ secureUnavailable: "Bezpieczny magazyn jest niedostępny. Szyfrowane kopie automatyczne są wstrzymane; możesz podać hasło jednorazowo bez zapisywania.",
+ verifyPublication: "Sprawdź przerwaną kopię",
+ verifyPassword: "Wpisz oryginalne hasło pliku {{name}}. Zostanie użyte tylko do tej weryfikacji.",
+ partWarning: "Nie udało się usunąć niedokończonej kopii. Sprawdź uprawnienia katalogu kopii i spróbuj ponownie.",
+ run: "Utwórz kopię teraz",
+ openFolder: "Otwórz folder",
+ never: "Jeszcze nie",
+ lastSuccess: "Ostatnia udana kopia: {{time}}",
+ nextDue: "Następne automatyczne sprawdzenie: {{time}}",
+ whenReady: "Gdy aplikacja będzie gotowa",
+ stagingWarning: "Nie usunięto prywatnych plików tymczasowych. Sprawdź uprawnienia folderu danych i uruchom aplikację ponownie.",
+ cleanupWarning: "Kopia lokalna jest gotowa, ale nie udało się usunąć części starszych kopii.",
+ history: "Lokalne kopie ({{count}})",
+ encrypted: "Zaszyfrowana",
+ oncePassword: "Hasło zostanie użyte tylko raz i nie będzie zapisane.",
+ importButton: "Przywróć z pliku",
+ decryptTitle: "Odblokuj zaszyfrowaną kopię",
+ checkFile: "Odblokuj i sprawdź",
+ confirmRestore: "Potwierdź przywracanie",
+ restoreComplete: "Przywracanie ukończone",
+ restoreTitle: "Przywróć kopię",
+ restoreConfirmation: "Dane o tych samych ID zostaną nadpisane. Pozostałe dane zostaną zachowane.",
+ restoreSummary: "{{notebooks}} notatników · {{memos}} notatek · {{resources}} załączników · {{prompts}} promptów",
+ target: "Przywróć do",
+ wait: "Nie zamykaj aplikacji. Możesz kontynuować pracę.",
+ httpError: "{{message}} (HTTP {{status}})",
+ restoreIncomplete: "Przywracanie nie zostało ukończone",
+ restoreRefreshFailed: "Dane zostały przywrócone, ale nie udało się odświeżyć urządzenia. Zsynchronizuj ręcznie; ponowne przywracanie nie jest potrzebne.",
+ restoreRetry: "Oryginalny plik nie został zmieniony. Jeśli część danych została przywrócona, ponowna próba użyje tych samych identyfikatorów.",
+ fileName: "Nazwa pliku",
+ savedPasswordPlaceholder: "Pozostaw puste, aby użyć zapisanego hasła",
+ plain: "Bez szyfrowania",
+ restore: "Przywróć",
+ emptyHistory: "Brak lokalnych kopii zapasowych.",
+ settings: "Ustawienia kopii zapasowych",
+ lastCheck: "Ostatnie sprawdzenie: {{time}}",
+ notChecked: "Jeszcze nie sprawdzono",
+ autoOff: "Automatyczne kopie są wyłączone",
+ deleteTitle: "Usunąć tę kopię?",
+ deleteDescription: "Trwale usuń lokalny plik „{{name}}”. Tej czynności nie można cofnąć. Przywrócone notatki pozostaną.",
+ deleteConfirm: "Usuń trwale",
+ checkResults: {
+ running: "Sprawdzanie kopii…",
+ success: "Kopia zapasowa gotowa",
+ unchanged: "Treść bez zmian. Istniejąca kopia jest aktualna.",
+ failed: "Ostatnie sprawdzenie kopii nie powiodło się",
+ cancelled: "Ostatnia kopia została anulowana",
+ },
+ phases: {
+ "checking-source": "Sprawdzanie zmian treści…",
+ exporting: "Przygotowywanie kopii…",
+ decrypting: "Odszyfrowywanie i uwierzytelnianie…",
+ checking: "Sprawdzanie archiwum…",
+ ready: "Gotowe do przywrócenia",
+ restoring: "Przywracanie danych…"
+ },
+ errors: {
+ backup_name_invalid: "Wpisz prawidłową nazwę pliku bez ścieżek, nazw zastrzeżonych i znaków specjalnych.",
+ backup_name_exists: "Plik o tej nazwie już istnieje. Wybierz inną nazwę; istniejący plik nie został zmieniony.",
+ backup_file_replaced: "Plik kopii został zastąpiony. Nie wykonano operacji.",
+ backup_configuration_unavailable: "Nie można odczytać ustawień kopii lub usunąć plików tymczasowych. Sprawdź uprawnienia folderu danych aplikacji i uruchom ją ponownie.",
+ backup_too_large: "Limit szyfrowanego archiwum wynosi 64 GiB minus 32 bajty. Dla większego pliku wybierz kopię bez szyfrowania.",
+ backup_worker_failed: "Zadanie w tle zostało zatrzymane. Spróbuj ponownie.",
+ backup_file_required: "Wybierz ponownie plik kopii.",
+ backup_import_not_ready: "Poczekaj na zakończenie sprawdzania archiwum.",
+ backup_invalid_configuration: "Sprawdź częstotliwość, liczbę kopii i folder docelowy.",
+ backup_failed: "Kopia nie powiodła się. Sprawdź połączenie i dostęp do folderu.",
+ backup_source_changed: "Dane zmieniły się podczas tworzenia kopii. Spróbuj po zakończeniu edycji.",
+ backup_server_upgrade_required: "Zaktualizuj serwer EdgeEver, aby używać kopii automatycznych.",
+ backup_secure_storage_unavailable: "Odblokuj bezpieczny magazyn, ustaw hasło ponownie lub podaj je jednorazowo.",
+ backup_password_required: "Podaj hasło kopii zapasowej.",
+ backup_decrypt_failed: "Nie można odszyfrować kopii. Hasło jest błędne lub plik jest uszkodzony.",
+ backup_unsupported_container: "Ta wersja lub metoda szyfrowania nie jest obsługiwana.",
+ backup_login_required: "Najpierw zaloguj się do instancji EdgeEver.",
+ backup_account_changed: "Konto zostało zmienione. Zaloguj się ponownie.",
+ backup_busy: "Anuluj bieżącą operację przed zmianą ustawień.",
+ backup_publication_unverified: "Przerwana kopia została zachowana, ale nie jest zweryfikowana. Wybierz „Sprawdź przerwaną kopię”, aby kontynuować.",
+ backup_request_failed: "Nie można odczytać danych. Sprawdź połączenie i logowanie.",
+ backup_directory_invalid: "Folder jest niedostępny lub został zastąpiony. Wybierz zwykły katalog.",
+ EACCES: "Odmowa dostępu. Wybierz folder z prawem zapisu.",
+ EPERM: "Odmowa dostępu. Sprawdź uprawnienia folderu.",
+ ENOSPC: "Brak miejsca na dysku. Zwolnij miejsce i spróbuj ponownie.",
+ ENOENT: "Plik lub folder już nie istnieje. Wybierz ponownie.",
+ backup_cancelled: "Anulowano."
+ }
+ },
dataExport: {
title: "Import i eksport",
description: "Wyeksportuj pełne archiwum ZIP z notatkami Markdown, załącznikami i historią, aby utworzyć kopię zapasową lub przeprowadzić migrację.",
diff --git a/packages/shared/src/i18n/ru.ts b/packages/shared/src/i18n/ru.ts
index a2b3f8b7..5ffe8322 100644
--- a/packages/shared/src/i18n/ru.ts
+++ b/packages/shared/src/i18n/ru.ts
@@ -2011,6 +2011,114 @@ export const ru = {
systemInfoNotice: "Следующие сведения сформированы EdgeEver для диагностики проблемы.",
privacyNotice: "GitHub Issues общедоступны. Не указывайте пароли, токены, URL экземпляров или содержимое личных заметок.",
},
+ desktopBackup: {
+ title: "Резервное копирование и восстановление",
+ scope: "Сохраняйте синхронизированные заметки и вложения в локальную папку.",
+ enable: "Автоматическое резервное копирование",
+ directory: "Папка резервных копий",
+ choose: "Выбрать…",
+ frequency: "Частота",
+ retention: "Хранить",
+ copies: "Копий: {{count}}",
+ intervals: {
+ daily: "Ежедневно",
+ weekly: "Еженедельно",
+ biweekly: "Раз в две недели",
+ monthly: "Ежемесячно"
+ },
+ encryption: "Шифрование паролем",
+ password: "Пароль резервной копии",
+ confirmPassword: "Подтвердите пароль",
+ passwordSet: "Пароль задан",
+ changePassword: "Изменить пароль",
+ passwordChangeNote: "Новый пароль применяется только к будущим копиям. Сохраните пароли от старых файлов.",
+ passwordMismatch: "Пароли не совпадают.",
+ secureUnavailable: "Защищённое хранилище недоступно. Автоматическое создание зашифрованных копий приостановлено; можно ввести пароль для одной копии, не сохраняя его.",
+ verifyPublication: "Проверить прерванную копию",
+ verifyPassword: "Введите исходный пароль для {{name}}. Он будет использован только для этой проверки.",
+ partWarning: "Не удалось удалить незавершённую резервную копию. Проверьте права доступа к папке и повторите попытку.",
+ run: "Создать копию",
+ openFolder: "Открыть папку",
+ never: "Ещё не создана",
+ lastSuccess: "Последняя успешная копия: {{time}}",
+ nextDue: "Следующая автоматическая проверка: {{time}}",
+ whenReady: "Когда приложение будет готово",
+ stagingWarning: "Не удалось удалить временные файлы. Проверьте права доступа к папке данных приложения и перезапустите его.",
+ cleanupWarning: "Локальная копия создана, но некоторые старые копии не удалось удалить.",
+ history: "Локальные копии ({{count}})",
+ encrypted: "Зашифрована",
+ oncePassword: "Этот пароль используется для одной копии и не сохраняется.",
+ importButton: "Восстановить из файла",
+ decryptTitle: "Разблокировать зашифрованную копию",
+ checkFile: "Разблокировать и проверить",
+ confirmRestore: "Подтвердить восстановление",
+ restoreComplete: "Восстановление завершено",
+ restoreTitle: "Восстановить резервную копию",
+ restoreConfirmation: "Записи с совпадающими ID будут перезаписаны. Остальные данные сохранятся.",
+ restoreSummary: "Блокнотов: {{notebooks}} · заметок: {{memos}} · вложений: {{resources}} · промптов: {{prompts}}",
+ target: "Восстановить в",
+ wait: "Не закрывайте приложение. Вы можете продолжать работу.",
+ httpError: "{{message}} (HTTP {{status}})",
+ restoreIncomplete: "Восстановление не завершено",
+ restoreRefreshFailed: "Данные восстановлены, но не удалось обновить это устройство. Выполните синхронизацию вручную; повторное восстановление не требуется.",
+ restoreRetry: "Исходный файл не изменён. Если часть данных уже восстановлена, повторная попытка использует те же ID.",
+ fileName: "Имя файла",
+ savedPasswordPlaceholder: "Оставьте пустым для сохранённого пароля",
+ plain: "Не зашифрована",
+ restore: "Восстановить",
+ emptyHistory: "Локальных копий пока нет.",
+ settings: "Настройки резервного копирования",
+ lastCheck: "Последняя проверка: {{time}}",
+ notChecked: "Проверок ещё не было",
+ autoOff: "Автоматическое копирование отключено",
+ deleteTitle: "Удалить эту резервную копию?",
+ deleteDescription: "Локальный файл «{{name}}» будет удалён безвозвратно. Восстановленные заметки сохранятся.",
+ deleteConfirm: "Удалить навсегда",
+ checkResults: {
+ running: "Проверка резервной копии…",
+ success: "Резервная копия создана",
+ unchanged: "Содержимое не изменилось. Существующая копия актуальна.",
+ failed: "Последняя проверка резервной копии не удалась",
+ cancelled: "Последнее резервное копирование отменено",
+ },
+ phases: {
+ "checking-source": "Проверка изменений…",
+ exporting: "Подготовка резервной копии…",
+ decrypting: "Расшифровка и проверка подлинности…",
+ checking: "Проверка архива…",
+ ready: "Готово к восстановлению",
+ restoring: "Восстановление данных…"
+ },
+ errors: {
+ backup_name_invalid: "Введите допустимое имя файла без пути, зарезервированных имён и специальных символов.",
+ backup_name_exists: "Файл с таким именем уже существует. Выберите другое имя; существующий файл не изменён.",
+ backup_file_replaced: "Файл резервной копии был заменён. Действие не выполнено.",
+ backup_configuration_unavailable: "Не удалось прочитать настройки или очистить временные файлы. Проверьте права доступа к папке данных приложения и перезапустите его.",
+ backup_too_large: "Размер зашифрованной копии ограничен 64 ГиБ минус 32 байта. Для большего архива отключите шифрование.",
+ backup_worker_failed: "Фоновая задача остановилась. Повторите попытку.",
+ backup_file_required: "Выберите файл резервной копии заново.",
+ backup_import_not_ready: "Дождитесь завершения проверки архива.",
+ backup_invalid_configuration: "Проверьте частоту, число сохраняемых копий и папку назначения.",
+ backup_failed: "Не удалось создать резервную копию. Проверьте соединение и доступ к папке, затем повторите попытку.",
+ backup_source_changed: "Исходные данные изменились во время копирования. Повторите попытку после завершения редактирования.",
+ backup_server_upgrade_required: "Обновите сервер EdgeEver для автоматического резервного копирования.",
+ backup_secure_storage_unavailable: "Разблокируйте защищённое хранилище, задайте пароль заново или введите его для одной копии.",
+ backup_password_required: "Введите пароль резервной копии.",
+ backup_decrypt_failed: "Не удалось расшифровать копию. Пароль неверен или файл повреждён.",
+ backup_unsupported_container: "Версия или алгоритм шифрования этой копии не поддерживается.",
+ backup_login_required: "Сначала войдите в EdgeEver.",
+ backup_account_changed: "Учётная запись изменилась. Войдите заново перед копированием.",
+ backup_busy: "Отмените текущую задачу перед изменением настроек.",
+ backup_publication_unverified: "Прерванная копия сохранена, но ещё не проверена. Нажмите «Проверить прерванную копию».",
+ backup_request_failed: "Не удалось прочитать исходные данные. Проверьте соединение и вход в систему.",
+ backup_directory_invalid: "Папка резервных копий недоступна или заменена. Выберите обычную папку.",
+ EACCES: "Доступ к папке запрещён. Выберите папку с разрешением на запись.",
+ EPERM: "Доступ к папке запрещён. Проверьте права доступа.",
+ ENOSPC: "Недостаточно свободного места. Освободите место и повторите попытку.",
+ ENOENT: "Файл или папка больше недоступны. Выберите их заново.",
+ backup_cancelled: "Отменено."
+ }
+ },
dataExport: {
title: "Импорт и экспорт",
description: "Экспортируйте полный ZIP-архив с заметками Markdown, вложениями и историей для резервного копирования или переноса.",
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index 0310d56f..f1f05e51 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -2011,6 +2011,114 @@ export const zhCN = {
systemInfoNotice: "以下信息由 EdgeEver 自动生成,可帮助定位问题。",
privacyNotice: "GitHub Issue 公开可见,请勿提交密码、Token、实例地址或私人笔记内容。",
},
+ desktopBackup: {
+ title: "备份与恢复",
+ scope: "将已同步的笔记和附件备份到本地文件夹。",
+ enable: "开启自动备份",
+ directory: "备份目录",
+ choose: "选择…",
+ frequency: "备份频率",
+ retention: "保留份数",
+ copies: "{{count}} 份",
+ intervals: {
+ daily: "每天",
+ weekly: "每周",
+ biweekly: "每两周",
+ monthly: "每月"
+ },
+ encryption: "密码加密",
+ password: "备份密码",
+ confirmPassword: "确认密码",
+ passwordSet: "已设置密码",
+ changePassword: "修改密码",
+ passwordChangeNote: "新密码仅用于之后生成的备份。请保留旧文件使用的密码。",
+ passwordMismatch: "两次输入的密码不一致。",
+ secureUnavailable: "安全存储不可用,加密自动备份已暂停。可输入一次密码执行备份,不保存密码。",
+ verifyPublication: "核验中断备份",
+ verifyPassword: "请输入 {{name}} 使用的原密码,仅用于本次核验。",
+ partWarning: "未完成的备份文件尚未清理。请检查备份目录权限后重试。",
+ run: "立即备份",
+ openFolder: "打开文件夹",
+ never: "尚未完成",
+ lastSuccess: "上次成功备份:{{time}}",
+ nextDue: "下次自动检查:{{time}}",
+ whenReady: "应用就绪后",
+ stagingWarning: "私有临时文件清理失败。请检查应用数据目录权限并重启。",
+ cleanupWarning: "本地备份已完成,但部分旧备份清理失败。",
+ history: "本地备份({{count}})",
+ encrypted: "已加密",
+ oncePassword: "密码仅用于本次备份,不会保存。",
+ importButton: "从文件恢复",
+ decryptTitle: "解锁加密备份",
+ checkFile: "解锁并检查",
+ confirmRestore: "确认恢复",
+ restoreComplete: "恢复完成",
+ restoreTitle: "恢复备份",
+ restoreConfirmation: "相同 ID 的数据会被覆盖,无关数据保留。",
+ restoreSummary: "{{notebooks}} 个笔记本 · {{memos}} 篇笔记 · {{resources}} 个附件 · {{prompts}} 条提示词",
+ target: "恢复到",
+ wait: "请保持应用运行,可以继续处理其他工作。",
+ httpError: "{{message}}(HTTP {{status}})",
+ restoreIncomplete: "恢复未完成",
+ restoreRefreshFailed: "数据已恢复,但本机未刷新。请手动同步,不必重新恢复。",
+ restoreRetry: "原备份文件未修改。如果部分批次已恢复,再次恢复会按相同 ID 重试。",
+ fileName: "文件名",
+ savedPasswordPlaceholder: "留空使用已保存的密码",
+ plain: "未加密",
+ restore: "恢复",
+ emptyHistory: "还没有本地备份。",
+ settings: "备份设置",
+ lastCheck: "最近检查:{{time}}",
+ notChecked: "尚未检查",
+ autoOff: "自动备份已关闭",
+ deleteTitle: "删除这份备份?",
+ deleteDescription: "将永久删除本地文件“{{name}}”,无法撤销。已恢复的笔记不受影响。",
+ deleteConfirm: "永久删除",
+ checkResults: {
+ running: "正在检查备份…",
+ success: "备份已完成",
+ unchanged: "内容未变化,现有备份仍为最新",
+ failed: "最近一次备份检查失败",
+ cancelled: "最近一次备份已取消",
+ },
+ phases: {
+ "checking-source": "正在检查内容是否变化…",
+ exporting: "正在准备备份…",
+ decrypting: "正在解密并验证…",
+ checking: "正在检查归档…",
+ ready: "可以恢复",
+ restoring: "正在恢复数据…"
+ },
+ errors: {
+ backup_name_invalid: "请输入有效文件名,不要包含路径、保留名称或特殊字符。",
+ backup_name_exists: "已存在同名文件,请修改名称。原文件未改动。",
+ backup_file_replaced: "备份文件已被替换,未执行操作。",
+ backup_configuration_unavailable: "无法读取备份设置或清理私有暂存。请检查应用数据目录权限并重启。",
+ backup_too_large: "加密归档上限为 64 GiB 减 32 字节。更大的归档请选择不加密备份。",
+ backup_worker_failed: "后台任务已停止,请重试。",
+ backup_file_required: "请重新选择备份文件。",
+ backup_import_not_ready: "请等待归档检查完成。",
+ backup_invalid_configuration: "请检查备份频率、保留份数与保存目录。",
+ backup_failed: "备份失败,请检查网络与目录权限后重试。",
+ backup_source_changed: "备份期间数据发生变化,请在停止编辑后重试。",
+ backup_server_upgrade_required: "请升级 EdgeEver 服务端以使用自动备份。",
+ backup_secure_storage_unavailable: "请解锁安全存储、重新设置密码,或输入密码仅执行一次。",
+ backup_password_required: "请输入备份密码。",
+ backup_decrypt_failed: "无法解密,密码不正确或文件已损坏。",
+ backup_unsupported_container: "不支持此加密备份的版本或加密套件。",
+ backup_login_required: "请先登录 EdgeEver 实例。",
+ backup_account_changed: "账号发生变化,请重新登录后备份。",
+ backup_busy: "请先取消当前任务,再修改设置。",
+ backup_publication_unverified: "中断的备份尚未核验,文件已保留。请使用“核验中断备份”继续。",
+ backup_request_failed: "无法读取源数据,请检查网络和登录状态。",
+ backup_directory_invalid: "备份目录不可用或已被替换,请选择普通目录。",
+ EACCES: "目录访问被拒绝,请选择可写目录。",
+ EPERM: "目录访问被拒绝,请检查目录权限。",
+ ENOSPC: "磁盘空间不足,请释放空间后重试。",
+ ENOENT: "文件或目录已不存在,请重新选择。",
+ backup_cancelled: "已取消。"
+ }
+ },
dataExport: {
title: "导入与导出",
description: "导出可读 Markdown 笔记、附件与历史版本的 ZIP 档案,用于备份与无损迁移。",
diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json
index fad1c4ac..5949d1f6 100644
--- a/packages/wrangler/package.json
+++ b/packages/wrangler/package.json
@@ -9,6 +9,6 @@
"cf-wrangler": "bin/wrangler.js"
},
"dependencies": {
- "edgeever-wrangler-cli": "npm:wrangler@^4.112.0"
+ "edgeever-wrangler-cli": "npm:[email protected]"
}
}
diff --git a/patches/[email protected] b/patches/[email protected]
new file mode 100644
index 00000000..93f6fd6a
--- /dev/null
+++ b/patches/[email protected]
@@ -0,0 +1,51 @@
+diff --git a/dist/src/index.js b/dist/src/index.js
+index dc7b58d8ed39c7190ae18562e55cd74e004e6df4..04d6387cc5bfe255d4233fa833140fb426371453 100644
+--- a/dist/src/index.js
++++ b/dist/src/index.js
+@@ -103357,24 +103357,20 @@ See https://developers.cloudflare.com/cloudflare-one/access-controls/service-cre
+ delete headers["content-length"];
+ }
+ res.writeHead(response.status, response.statusText, headers);
+- let initialStream = res;
+- for (let i2 = encoders.length - 1; i2 >= 0; i2--) {
+- encoders[i2].pipe(initialStream);
+- initialStream = encoders[i2];
+- }
+- if (response.body) {
+- try {
+- for await (const chunk of response.body) {
+- if (chunk) initialStream.write(chunk);
+- }
+- } catch (error51) {
+- this.#log.debug(
+- `Error writing response body, closing response early: ${error51}`
+- );
+- }
++ try {
++ // Keep memory bounded, cancel on disconnect, and finalize even empty encoders.
++ await require("node:stream/promises").pipeline(
++ require("node:stream").Readable.from(response.body ?? [], { objectMode: false }),
++ ...encoders,
++ res
++ );
++ } catch (error51) {
++ this.#log.debug(
++ `Error writing response body, closing response early: ${error51}`
++ );
+ }
+- initialStream.end();
+ }
++
+ async #getLoopbackPort() {
+ const configuredHost = this.#sharedOpts.core.host ?? DEFAULT_HOST;
+ const loopbackHost = resolveLocalhost(configuredHost) ?? configuredHost;
+@@ -103396,6 +103392,9 @@ See https://developers.cloudflare.com/cloudflare-one/access-controls/service-cre
+ /* grace */
+ 0
+ );
++ // Match workerd's local pooling lifetime; do not close an idle socket mid-reuse.
++ server.keepAliveTimeout = 0;
++ server.headersTimeout = 0;
+ server.on("upgrade", this.#handleLoopbackUpgrade);
+ server.listen(0, hostname3, () => resolve7(server));
+ });
diff --git a/patches/[email protected] b/patches/[email protected]
new file mode 100644
index 00000000..b6e32162
--- /dev/null
+++ b/patches/[email protected]
@@ -0,0 +1,109 @@
+diff --git a/templates/startDevWorker/ProxyWorker.ts b/templates/startDevWorker/ProxyWorker.ts
+index fc28268c0080789eb143d5444167fd05a09521c1..38a1da13acce7f1ae9022acf93db8686f0410156 100644
+--- a/templates/startDevWorker/ProxyWorker.ts
++++ b/templates/startDevWorker/ProxyWorker.ts
+@@ -12,6 +12,7 @@ import type {
+
+ interface Env {
+ PROXY_CONTROLLER: Fetcher;
++ LOCAL_HTTP: Fetcher;
+ PROXY_CONTROLLER_AUTH_SECRET: string;
+ DURABLE_OBJECT: DurableObjectNamespace;
+ }
+@@ -155,8 +156,15 @@ export class ProxyWorker implements DurableObject {
+ }
+ }
+
+- // explicitly NOT await-ing this promise, we are in a loop and want to process the whole queue quickly + synchronously
+- void fetch(userWorkerUrl, new Request(request, { headers }))
++ // Use Node's non-pooled HTTP transport only for ordinary local forwarding.
++ // Native fetch keeps remote previews and WebSocket upgrades unchanged.
++ const forwarded = new Request(request, { headers });
++ const response = userWorkerUrl.protocol === "http:" &&
++ ["127.0.0.1", "localhost", "[::1]"].includes(userWorkerUrl.hostname) &&
++ !headers.has("Upgrade")
++ ? this.env.LOCAL_HTTP.fetch(new Request(userWorkerUrl, forwarded))
++ : fetch(userWorkerUrl, forwarded);
++ void response
+ .then(async (res) => {
+ res = new Response(res.body, res);
+ rewriteUrlRelatedHeaders(res.headers, innerUrl, outerUrl);
+@@ -187,7 +195,7 @@ export class ProxyWorker implements DurableObject {
+ this.proxyData && urlFromParts(this.proxyData.userWorkerUrl);
+
+ // only report errors if the downstream proxy has NOT changed
+- if (userWorkerUrl.href === newUserWorkerUrl?.href) {
++ if (userWorkerUrl.origin === newUserWorkerUrl?.origin) {
+ void sendMessageToProxyController(this.env, {
+ type: "error",
+ error: {
+diff --git a/wrangler-dist/ProxyWorker.js b/wrangler-dist/ProxyWorker.js
+index 274b5d17ed4fb22f33efafca76efaa9f85279fbd..b164e92c1327978d1fff6c4e35950299762bbc32 100644
+--- a/wrangler-dist/ProxyWorker.js
++++ b/wrangler-dist/ProxyWorker.js
+@@ -131,7 +131,12 @@ var ProxyWorker = class {
+ headers.set(key, value);
+ }
+ }
+- void fetch(userWorkerUrl, new Request(request, { headers })).then(async (res) => {
++ // Keep remote/Upgrade requests native; local HTTP uses Node without pooling.
++ const forwarded = new Request(request, { headers });
++ const response = userWorkerUrl.protocol === "http:" && ["127.0.0.1", "localhost", "[::1]"].includes(userWorkerUrl.hostname) && !headers.has("Upgrade")
++ ? this.env.LOCAL_HTTP.fetch(new Request(userWorkerUrl, forwarded))
++ : fetch(userWorkerUrl, forwarded);
++ void response.then(async (res) => {
+ res = new Response(res.body, res);
+ rewriteUrlRelatedHeaders(res.headers, innerUrl, outerUrl);
+ await checkForPreviewTokenError(res, this.env, proxyData);
+@@ -146,7 +151,7 @@ var ProxyWorker = class {
+ deferredResponse.resolve(res);
+ }).catch((error) => {
+ const newUserWorkerUrl = this.proxyData && urlFromParts(this.proxyData.userWorkerUrl);
+- if (userWorkerUrl.href === newUserWorkerUrl?.href) {
++ if (userWorkerUrl.origin === newUserWorkerUrl?.origin) {
+ void sendMessageToProxyController(this.env, {
+ type: "error",
+ error: {
+diff --git a/wrangler-dist/cli.js b/wrangler-dist/cli.js
+index b47f45933ae3a366f425f426545f53213dcc9d2a..a2c2680e1de7203d7b5de193ff1e25095afc4125 100644
+--- a/wrangler-dist/cli.js
++++ b/wrangler-dist/cli.js
+@@ -213736,6 +213736,7 @@ var init_ProxyController = __esm({
+ }
+ ready = createDeferred();
+ localServerReady = createDeferred();
++ localHttpDispatcher = new (require_undici().Agent)({ pipelining: 0 });
+ proxyWorker;
+ proxyWorkerOptions;
+ inspectorProxyWorkerWebSocket;
+@@ -213776,6 +213777,22 @@ var init_ProxyController = __esm({
+ // However, the proxy worker only makes outgoing requests to the user Worker Miniflare instance, which _should_ receive CF-Connecting-IP
+ stripCfConnectingIp: false,
+ serviceBindings: {
++ // Avoid workerd's idle-close race without replaying non-idempotent requests.
++ LOCAL_HTTP: async (req) => {
++ const headers = new (require_undici().Headers)(req.headers);
++ headers.delete("connection");
++ // Miniflare encodes loopback responses, so use fetch's decoded body.
++ const response = await require_undici().fetch(req.url, {
++ method: req.method,
++ headers,
++ body: req.body,
++ signal: req.signal,
++ duplex: "half",
++ dispatcher: this.localHttpDispatcher,
++ redirect: "manual"
++ });
++ return new miniflare.Response(response.body, response);
++ },
+ PROXY_CONTROLLER: /* @__PURE__ */ __name(async (req) => {
+ const message = await req.json();
+ this.onProxyWorkerMessage(message);
+@@ -214144,6 +214161,7 @@ var init_ProxyController = __esm({
+ const { proxyWorker } = this;
+ this.proxyWorker = void 0;
+ await Promise.all([
++ this.localHttpDispatcher.destroy(),
+ proxyWorker?.dispose(),
+ this.inspectorProxyWorkerWebSocket?.promise.then((ws) => ws.close()).catch(() => {
+ })
diff --git a/tests/browser/desktop-backup-import.browser.tsx b/tests/browser/desktop-backup-import.browser.tsx
new file mode 100644
index 00000000..83cfd1eb
--- /dev/null
+++ b/tests/browser/desktop-backup-import.browser.tsx
@@ -0,0 +1,93 @@
+// Open via Vite's /@fs/<checkout>/tests/browser/desktop-backup-import.html.
+// Drive the real import/card UI through window.backupImportFixture controls.
+import React from "react";
+import { createRoot } from "react-dom/client";
+import { I18nextProvider } from "react-i18next";
+import i18next from "i18next";
+import type { DesktopBackupStatus } from "../../packages/shared/src/backup";
+import { zhCN } from "../../packages/shared/src/i18n/zh-CN";
+import { DesktopScheduledBackupCard } from "../../apps/web/src/components/settings/DesktopScheduledBackupCard";
+import "../../apps/web/src/styles/globals.css";
+
+const i18n = i18next.createInstance();
+await i18n.init({ lng: "zh-CN", resources: { "zh-CN": { translation: zhCN } }, interpolation: { escapeValue: false }, initAsync: false });
+const status: DesktopBackupStatus = {
+ config: { enabled: false, interval: "weekly", retention: 5, directory: "/test/Backups", encrypted: false },
+ backupSetId: "fixture-backup-set", actualDirectory: "/test/Backups/fixture-backup-set", blocked: false,
+ passwordSet: false, secureStorageAvailable: true, lastAttemptAt: null, lastSuccessAt: "2026-10-25T03:00:00.000Z",
+ lastCheck: { at: "2026-10-26T03:00:00.000Z", result: "unchanged" }, lastRestoreAt: null, nextDueAt: null, pendingPublication: null, target: { baseUrl: "http://test-instance", accountId: "test-account" },
+ task: null, error: null, warning: null, importError: null, importWarning: null, history: [
+ { name: "周报归档.zip", directory: "/test/Backups", completedAt: "2026-10-24T03:00:00.000Z", size: 2301024, encrypted: false },
+ { name: "EdgeEver-2026-10-25_110000.edgeever.enc", directory: "/test/Backups", completedAt: "2026-10-25T03:00:00.000Z", size: 4910204, encrypted: true },
+ ],
+};
+const calls: Array<{ action: string; input?: unknown }> = [];
+const listeners = new Set<(status: DesktopBackupStatus) => void>();
+const emit = () => { for (const listener of listeners) listener(structuredClone(status)); };
+let encrypted = true;
+let holdHandshake = false;
+let runError = false;
+let deleteError = false;
+let finish: (() => void) | undefined;
+Object.defineProperty(window, "edgeeverDesktop", {
+ configurable: true,
+ value: {
+ async backup(action: string, input?: unknown) {
+ calls.push({ action, input });
+ const value = input as { name?: string; config?: DesktopBackupStatus["config"]; password?: string; options?: { name: string; encrypted: boolean } } | undefined;
+ if (action === "run") {
+ if (runError) throw Object.assign(new Error("File exists"), { code: "backup_name_exists" });
+ const option = value!.options!; const at = new Date().toISOString();
+ status.history.push({ name: option.name.replace(/(?:\.edgeever\.enc|\.zip)$/i, "") + (option.encrypted ? ".edgeever.enc" : ".zip"), directory: status.config.directory, completedAt: at, size: 149755, encrypted: option.encrypted });
+ status.lastSuccessAt = at; status.lastCheck = { at, result: "success" }; emit();
+ }
+ if (action === "save") { status.config = value!.config!; if (value?.password) status.passwordSet = true; emit(); }
+ if (action === "delete-history") {
+ if (deleteError) throw Object.assign(new Error("Denied"), { code: "EACCES" });
+ status.history = status.history.filter((entry) => entry.name !== value?.name); emit();
+ }
+ if (action === "select-history") {
+ const entry = status.history.find((entry) => entry.name === value?.name)!; encrypted = entry.encrypted;
+ return { id: `selection:${entry.name}`, name: entry.name, encrypted };
+ }
+ if (action === "choose-import") return { id: "fixture-selection", name: encrypted ? "fixture.edgeever.enc" : "fixture.zip", encrypted };
+ if (action === "prepare-import") {
+ if (holdHandshake) await new Promise<void>((resolve) => { finish = resolve; });
+ status.importError = null;
+ status.task = { kind: "import", phase: encrypted ? "decrypting" : "checking", completed: 0, total: 0 };
+ emit();
+ }
+ if (action === "cancel") { status.task = null; emit(); }
+ if (action === "confirm-import" && status.task) { status.task.phase = "restoring"; emit(); }
+ return structuredClone(status);
+ },
+ onBackupStatus: (listener: (status: DesktopBackupStatus) => void) => { listeners.add(listener); return () => listeners.delete(listener); },
+ },
+});
+Object.assign(window, {
+ backupImportFixture: {
+ calls,
+ runError: (value: boolean) => { runError = value; },
+ deleteError: (value: boolean) => { deleteError = value; },
+ check: (result: NonNullable<DesktopBackupStatus["lastCheck"]>["result"]) => { status.lastCheck = { at: new Date().toISOString(), result }; if (result === "failed") status.error = { code: "backup_source_changed" }; else status.error = null; emit(); },
+ scope: () => { status.backupSetId = "new-account-set"; status.history = []; emit(); },
+ status: () => structuredClone(status),
+ hold: () => { holdHandshake = true; },
+ finish: () => { holdHandshake = false; finish?.(); finish = undefined; },
+ selectPlain: () => { encrypted = false; },
+ backupError: () => { status.error = { code: "backup_source_changed" }; status.warning = { code: "backup_cleanup_failed" }; emit(); },
+ fail: (code = "backup_decrypt_failed") => { status.importError = { code }; status.task = null; emit(); },
+ failHttp: () => { status.importError = { code: "object_storage_unavailable", message: "Object storage initialization unavailable", status: 503 }; status.task = null; emit(); },
+ ready: () => {
+ status.task = { kind: "import", phase: "ready", completed: 1, total: 1, manifest: { format: "edgeever-zip", formatVersion: 2, schemaVersion: 73, edgeeverVersion: "test", buildId: "test", exportedAt: "2026-10-25T03:00:00.000Z", includesTrash: false, counts: { memos: 1, notebooks: 1, resources: 1, revisions: 1, prompts: 0 } } };
+ emit();
+ },
+ done: () => { status.lastRestoreAt = new Date().toISOString(); status.task = null; emit(); },
+ cleanupWarning: () => { status.importWarning = { code: "backup_staging_cleanup_failed" }; emit(); },
+ },
+});
+createRoot(document.getElementById("fixture")!).render(
+ <I18nextProvider i18n={i18n}>
+ <section id="backup-and-restore"><DesktopScheduledBackupCard /></section>
+ </I18nextProvider>,
+);
diff --git a/tests/browser/desktop-backup-import.html b/tests/browser/desktop-backup-import.html
new file mode 100644
index 00000000..7711cece
--- /dev/null
+++ b/tests/browser/desktop-backup-import.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Desktop backup import interaction check</title></head>
+<body><main class="mx-auto max-w-2xl p-6"><h1 class="mb-4 text-lg font-semibold">备份导入交互检查</h1><p class="mb-4 text-sm">仅使用模拟桌面桥,不读取归档或写入实例。</p><div id="fixture"></div></main>
+<script type="module">
+import RefreshRuntime from "/@react-refresh";
+RefreshRuntime.injectIntoGlobalHook(window);
+window.$RefreshReg$ = () => {};
+window.$RefreshSig$ = () => (type) => type;
+window.__vite_plugin_react_preamble_installed__ = true;
+</script><script type="module" src="./desktop-backup-import.browser.tsx"></script></body></html>
diff --git a/tests/json-backup-zip64.test.ts b/tests/json-backup-zip64.test.ts
new file mode 100644
index 00000000..bc65d285
--- /dev/null
+++ b/tests/json-backup-zip64.test.ts
@@ -0,0 +1,51 @@
+import { expect, test } from "bun:test";
+import { BlobWriter, TextReader, ZipWriter } from "@zip.js/zip.js";
+import { createEdgeEverZip, parseEdgeEverZip } from "../apps/web/src/lib/json-backup";
+
+const manifest = { format: "edgeever-zip", formatVersion: 2, schemaVersion: 1, edgeeverVersion: "2.2.0", buildId: "zip64-fixture", exportedAt: "2026-10-23T00:00:00.000Z", includesTrash: false, counts: { notebooks: 0, memos: 0, revisions: 0, resources: 0, prompts: 0 } };
+
+test("propagates source failures instead of publishing a partial ZIP", async () => {
+ await expect(createEdgeEverZip({
+ listNotebooks: async () => ({ notebooks: [] }), listPrompts: async () => ({ prompts: [] }),
+ getPage: async () => { throw new Error("source unavailable"); },
+ }, { edgeeverVersion: "2.2.0", buildId: "test" })).rejects.toThrow("source unavailable");
+});
+
+test("reads ZIP64 containers without changing the EdgeEver v2 logical format", async () => {
+ const writer = new ZipWriter(new BlobWriter(), { zip64: true, useWebWorkers: false, level: 0 });
+ await writer.add("manifest.json", new TextReader(JSON.stringify(manifest)));
+ await writer.add("notebooks.json", new TextReader("[]"));
+ await writer.add("prompts.json", new TextReader("[]"));
+ const archive = await writer.close();
+ const parsed = await parseEdgeEverZip(archive);
+ expect(parsed.manifest).toEqual(manifest);
+ expect(parsed.archive).toBe(archive);
+});
+
+test("rejects damaged entry bytes even when their JSON remains valid", async () => {
+ const writer = new ZipWriter(new BlobWriter(), { useWebWorkers: false, level: 0 });
+ await writer.add("manifest.json", new TextReader(JSON.stringify(manifest)));
+ await writer.add("notebooks.json", new TextReader("[ ]"));
+ await writer.add("prompts.json", new TextReader("[]"));
+ const bytes = new Uint8Array(await (await writer.close()).arrayBuffer());
+ const marker = new TextEncoder().encode("[ ]");
+ const index = bytes.findIndex((_, offset) => marker.every((value, i) => bytes[offset + i] === value));
+ expect(index).toBeGreaterThan(0);
+ bytes[index + 1] = 10;
+ await expect(parseEdgeEverZip(new Blob([bytes]))).rejects.toMatchObject({ code: "invalidZip" });
+});
+
+for (const stage of ["entry", "write", "close"] as const) test(`preserves ${stage} consumer errors instead of reporting an invalid ZIP`, async () => {
+ const { streamZipEntries } = await import("../packages/shared/src/backup-archive");
+ const writer = new ZipWriter(new BlobWriter(), { useWebWorkers: false, level: 0 });
+ await writer.add("resource.bin", new TextReader("resource bytes"));
+ const archive = await writer.close();
+ const failure = Object.assign(new Error("Target storage unavailable"), { status: 503, code: "object_storage_unavailable" });
+ await expect(streamZipEntries(archive, () => {
+ if (stage === "entry") throw failure;
+ return {
+ write: () => { if (stage === "write") throw failure; },
+ close: () => { if (stage === "close") throw failure; },
+ };
+ })).rejects.toBe(failure);
+});
diff --git a/tests/json-backup.test.ts b/tests/json-backup.test.ts
index 4344f098..241742cf 100644
--- a/tests/json-backup.test.ts
+++ b/tests/json-backup.test.ts
@@ -15,7 +15,12 @@ const notebook = (id: string, name: string, parentId: string | null = null): Not
name,
slug: id,
icon: "notebook",
- color: null,
+ color: "#2563eb",
+ textColor: "#123456",
+ colorTarget: "both",
+ isBold: true,
+ iconInverted: true,
+ rowInverted: true,
sortOrder: parentId ? 20 : 10,
memoCount: 1,
lastMemoUpdatedAt: "2026-07-14T00:00:00.000Z",
@@ -154,6 +159,10 @@ describe("EdgeEver ZIP", () => {
expect(backup.manifest.format).toBe("edgeever-zip");
expect(backup.manifest.formatVersion).toBe(2);
expect(backup.manifest.counts).toEqual({ notebooks: 2, memos: 1, revisions: 1, resources: 1, prompts: 1 });
+ expect(backup.notebooks.find((item) => item.id === "nb_child")).toMatchObject({
+ color: "#2563eb", textColor: "#123456", colorTarget: "both",
+ isBold: true, iconInverted: true, rowInverted: true,
+ });
expect(backup.prompts).toEqual([prompt]);
expect(backup.notebooks.map((item) => item.id)).toEqual(["nb_root", "nb_child"]);
expect(backup.memos[0].memo.contentMarkdown).toBe(memo.contentMarkdown);
diff --git a/tests/wrangler-proxy.test.mjs b/tests/wrangler-proxy.test.mjs
new file mode 100644
index 00000000..dfa98cd5
--- /dev/null
+++ b/tests/wrangler-proxy.test.mjs
@@ -0,0 +1,151 @@
+import { expect, test } from "bun:test";
+import assert from "node:assert";
+import { readFileSync } from "node:fs";
+import { createRequire } from "node:module";
+import { dirname, join } from "node:path";
+import { runInNewContext } from "node:vm";
+import { Writable } from "node:stream";
+import { createGzip, gunzipSync } from "node:zlib";
+
+const require = createRequire(new URL("../packages/wrangler/bin/wrangler.js", import.meta.url));
+const packageRoot = dirname(require.resolve("edgeever-wrangler-cli/package.json"));
+// Exercise the installed artifact that Wrangler actually loads, without
+// sharing a mocked global fetch with other tests or starting a real service.
+const source = readFileSync(join(packageRoot, "wrangler-dist/ProxyWorker.js"), "utf8")
+ .replace('import assert from "node:assert";', "const assert = globalThis.assert;")
+ .replace(/export \{[\s\S]*?\};\s*$/, "globalThis.ProxyWorker = ProxyWorker;");
+
+const fixture = (target = "http://127.0.0.1:7000", forward = () => Response.json({ ok: true })) => {
+ const calls = [];
+ const events = [];
+ const dispatch = async (transport, url, request) => {
+ calls.push({ transport, url: url.href, request });
+ return forward(url, request);
+ };
+ const sandbox = {
+ assert, Request, Response, Headers, URL, Map,
+ fetch: (url, request) => dispatch("native", url, request),
+ };
+ runInNewContext(source, sandbox);
+ const proxy = new sandbox.ProxyWorker({ getWebSockets: () => [] }, {
+ LOCAL_HTTP: { fetch: request => dispatch("node", new URL(request.url), request) },
+ PROXY_CONTROLLER_AUTH_SECRET: "fixture-control",
+ PROXY_CONTROLLER: { fetch: async (_url, init) => { events.push(JSON.parse(init.body)); return new Response(null, { status: 204 }); } },
+ });
+ const url = new URL(target);
+ proxy.proxyData = { userWorkerUrl: { protocol: url.protocol, hostname: url.hostname, port: url.port } };
+ return { proxy, calls, events };
+};
+const request = (init = {}) => new Request("http://outer.test/api/restore?part=1", init);
+
+for (const host of ["127.0.0.1", "localhost", "[::1]"]) test(`local proxy forwards ordinary HTTP through the Node adapter for ${host}`, async () => {
+ const f = fixture(`http://${host}:7000`);
+ const response = await f.proxy.fetch(request({ method: "POST", body: "restore metadata" }));
+ expect(response.status).toBe(200);
+ expect(f.calls).toHaveLength(1);
+ expect(f.calls[0].transport).toBe("node");
+ expect(f.calls[0].request.method).toBe("POST");
+ expect(await f.calls[0].request.text()).toBe("restore metadata");
+});
+
+for (const target of ["https://127.0.0.1:7000", "https://preview.example", "http://remote.example"]) test(`proxy keeps existing connection behavior for ${target}`, async () => {
+ const f = fixture(target);
+ await f.proxy.fetch(request());
+ expect(f.calls[0].transport).toBe("native");
+ expect(f.calls[0].request.headers.has("Connection")).toBe(false);
+});
+
+test("local WebSocket forwarding keeps its Upgrade connection", async () => {
+ const f = fixture();
+ await f.proxy.fetch(request({ headers: { Upgrade: "websocket", Connection: "Upgrade" } }));
+ expect(f.calls[0].transport).toBe("native");
+ expect(f.calls[0].request.headers.get("Connection")).toBe("Upgrade");
+ expect(f.calls[0].request.headers.get("Upgrade")).toBe("websocket");
+});
+
+for (const method of ["GET", "POST"]) test(`${method} connection failure on an unchanged worker is reported without retry`, async () => {
+ const failure = new Error("Network connection lost");
+ const f = fixture(undefined, () => { throw failure; });
+ const result = await Promise.race([
+ f.proxy.fetch(request({ method })).then(value => value, error => error),
+ Bun.sleep(50).then(() => "unresolved"),
+ ]);
+ expect(result).toBe(failure);
+ expect(f.events).toMatchObject([{ type: "error", error: { message: failure.message } }]);
+ expect(f.calls).toHaveLength(1);
+ expect(f.proxy.requestRetryQueue.size).toBe(0);
+});
+
+test("actual worker replacement keeps POST failure non-retryable", async () => {
+ const f = fixture(undefined, () => { f.proxy.proxyData = undefined; throw new Error("Disconnected during reload"); });
+ const response = await f.proxy.fetch(request({ method: "POST" }));
+ expect(response.status).toBe(503);
+ expect(f.calls).toHaveLength(1);
+ expect(f.proxy.requestRetryQueue.size).toBe(0);
+ expect(f.events).toHaveLength(0);
+});
+
+test("actual worker replacement keeps GET queued until play", async () => {
+ const f = fixture(undefined, () => {
+ if (f.calls.length === 1) { f.proxy.proxyData = undefined; throw new Error("Disconnected during reload"); }
+ return Response.json({ ok: true });
+ });
+ const response = f.proxy.fetch(request());
+ await Bun.sleep(0);
+ expect(f.proxy.requestRetryQueue.size).toBe(1);
+ f.proxy.processProxyControllerRequest({ cf: { hostMetadata: { type: "play", proxyData: { userWorkerUrl: { protocol: "http:", hostname: "127.0.0.1", port: "7001" } } } } });
+ expect((await response).status).toBe(200);
+ expect(f.calls).toHaveLength(2);
+ expect(f.calls[1].url).toBe("http://127.0.0.1:7001/api/restore?part=1");
+});
+
+const miniflareRequire = createRequire(join(packageRoot, "package.json"));
+const miniflareSource = readFileSync(join(dirname(miniflareRequire.resolve("miniflare/package.json")), "dist/src/index.js"), "utf8");
+const writeStart = miniflareSource.indexOf(" async #writeResponse(response, res) {");
+const writeEnd = miniflareSource.indexOf(" async #getLoopbackPort()", writeStart);
+const writeResponse = runInNewContext(`(${miniflareSource.slice(writeStart, writeEnd)
+ .replace("async #writeResponse", "async function writeResponse")
+ .replaceAll("this.#log", "this.log")})`, {
+ _transformsForContentEncodingAndContentType: encoding => encoding === "gzip" ? [createGzip()] : [], Promise, Error, require,
+});
+
+const slowResponse = () => {
+ const pending = [];
+ const res = new Writable({ highWaterMark: 1, write(_chunk, _encoding, callback) { pending.push(callback); } });
+ res.writeHead = () => {};
+ return { res, pending };
+};
+
+test("local loopback does not read ahead when its response is backpressured", async () => {
+ const f = slowResponse(); let produced = 0;
+ const body = (async function* () { for (let i = 0; i < 4; i++) { produced++; yield new Uint8Array(128 * 1024).fill(i); } })();
+ const writing = writeResponse.call({ log: { debug() {} } }, { headers: new Headers(), body, status: 200 }, f.res);
+ try {
+ await Bun.sleep(0);
+ // A stream pipeline may prefetch one source chunk beside the blocked sink.
+ expect(produced).toBeLessThanOrEqual(2);
+ for (let i = 0; i < 8; i++) {
+ f.pending.shift()?.();
+ await Bun.sleep(0);
+ }
+ await writing;
+ expect(produced).toBe(4);
+ } finally { f.res.destroy(); await writing; }
+});
+
+test("local loopback cancels its upstream reader when a blocked downstream closes", async () => {
+ const f = slowResponse(); let produced = 0; let closed = false;
+ const body = (async function* () { try { for (let i = 0; i < 4; i++) { produced++; yield new Uint8Array(128 * 1024).fill(i); } } finally { closed = true; } })();
+ const writing = writeResponse.call({ log: { debug() {} } }, { headers: new Headers(), body, status: 200 }, f.res);
+ await Bun.sleep(0); f.res.destroy(); await writing;
+ expect(produced).toBeLessThanOrEqual(2);
+ expect(closed).toBe(true);
+});
+
+test("local loopback preserves a valid compressed empty response", async () => {
+ const chunks = [];
+ const res = new Writable({ write(chunk, _encoding, callback) { chunks.push(chunk); callback(); } });
+ res.writeHead = () => {};
+ await writeResponse.call({ log: { debug() {} } }, { headers: new Headers({ "Content-Encoding": "gzip" }), body: null, status: 200 }, res);
+ expect(gunzipSync(Buffer.concat(chunks))).toEqual(Buffer.alloc(0));
+});
diff --git a/tests/wrangler-runner.test.ts b/tests/wrangler-runner.test.ts
index 8f64bde2..27e8d813 100644
--- a/tests/wrangler-runner.test.ts
+++ b/tests/wrangler-runner.test.ts
@@ -193,7 +193,7 @@ describe("cross-platform Wrangler runner", () => {
.split("\n")
.filter((line) => line.startsWith("CREATE TRIGGER "));
- expect(triggerLines).toHaveLength(12);
+ expect(triggerLines).toHaveLength(30);
for (const triggerLine of triggerLines) {
expect(triggerLine).toEndWith(" END;");
}