···474474 }, 3000);
475475 });
476476 },
477477+478478+ /**
479479+ * Flush any pending command registrations immediately.
480480+ *
481481+ * In the v2 tile path, commands are published synchronously via
482482+ * ipcRenderer.send() in register() — there is no batch queue.
483483+ * This method exists for API compatibility with v1 callers that
484484+ * called flush() after a burst of register() calls; it is a no-op.
485485+ */
486486+ flush: (): Promise<{ success: true }> => {
487487+ // No-op: register() already sends each cmd:register publish
488488+ // synchronously, so nothing to drain.
489489+ return Promise.resolve({ success: true });
490490+ },
477491 };
478492479493 // ── Window ────────────────────────────────────────────────────────