Skip to content

A desktop coding agent with free access to frontier models.

TypeScript

feat: in-app what's new

ogsamrat61599e1a04a9
diff --git a/apps/app/src/i18n/locales/en.ts b/apps/app/src/i18n/locales/en.ts
index 3a593730..0d0a47b7 100644
--- a/apps/app/src/i18n/locales/en.ts
+++ b/apps/app/src/i18n/locales/en.ts
@@ -2143,4 +2143,15 @@ export default {
"settings.desktop_notifications.all_desc": "Finished tasks, approvals and questions",
"settings.desktop_notifications.important_desc": "Approvals, questions and failures",
"settings.desktop_notifications.off_desc": "No desktop notifications",
+ "whats_new.title": "What's new",
+ "whats_new.subtitle": "OmniRush Desktop · you're on {version}",
+ "whats_new.current": "Current",
+ "whats_new.group_new": "New",
+ "whats_new.group_improved": "Improved",
+ "whats_new.group_fixed": "Fixed",
+ "whats_new.all_releases": "All releases",
+ "whats_new.release_count": "{count} releases · newest first",
+ "whats_new.updated_toast": "Updated to {version} — see what's new",
+ "whats_new.palette_detail": "Release notes for {version} and earlier",
+ "whats_new.unseen": "New",
} as const;
diff --git a/apps/app/src/react-app/domains/session/sidebar/account-status-menu.tsx b/apps/app/src/react-app/domains/session/sidebar/account-status-menu.tsx
index dc4a54f2..f51dc8fb 100644
--- a/apps/app/src/react-app/domains/session/sidebar/account-status-menu.tsx
+++ b/apps/app/src/react-app/domains/session/sidebar/account-status-menu.tsx
@@ -9,6 +9,7 @@ import {
MessageCircleMore,
MoreHorizontal,
Settings,
+ Sparkles,
Stethoscope,
UserRound,
} from "lucide-react";
@@ -26,6 +27,8 @@ import { Input } from "@/components/ui/input";
import { cn } from "@/lib/utils";
import { t } from "@/i18n";
import { usePlatform } from "../../../kernel/platform";
+import { isDesktopRuntime } from "../../../../app/lib/runtime-env";
+import { openWhatsNew, useWhatsNewUnseen } from "../../whats-new/whats-new";
import { isDenSessionRestoring, useDenAuth } from "../../cloud/den-auth-provider";
import { useDenControlPlaneConfigured } from "../../cloud/use-den-control-plane-configured";
import { useDesktopRestriction } from "../../cloud/desktop-config-provider";
@@ -208,6 +211,7 @@ export function AccountStatusMenu(props: AccountStatusMenuProps) {
const openSettings = props.onOpenAccountSettings;
const openDocs = useCallback(() => platform.openLink(DOCS_URL), [platform]);
+ const whatsNewUnseen = useWhatsNewUnseen();
// When the organization blocks settings control, the settings surface is the
// Cloud account page only, so the entry is labelled for where it lands and
// the Debug shortcut is hidden.
@@ -466,6 +470,13 @@ export function AccountStatusMenu(props: AccountStatusMenuProps) {
{t("status.docs")}
</DropdownMenuItem>
) : null}
+ {isDesktopRuntime() ? (
+ <DropdownMenuItem onClick={() => openWhatsNew("menu")} data-testid="account-menu-whats-new">
+ <Sparkles className="size-3.5" />
+ <span className="flex-1">{t("whats_new.title")}</span>
+ {whatsNewUnseen ? <span className="size-1.5 shrink-0 rounded-full bg-primary" aria-label={t("whats_new.unseen")} /> : null}
+ </DropdownMenuItem>
+ ) : null}
{shellConfig.feedbackButton && props.onSendFeedback ? (
<DropdownMenuItem onClick={props.onSendFeedback}>
<MessageCircleMore className="size-3.5" />
diff --git a/apps/app/src/react-app/domains/session/sidebar/app-sidebar.tsx b/apps/app/src/react-app/domains/session/sidebar/app-sidebar.tsx
index 423ba47a..6d8c2540 100644
--- a/apps/app/src/react-app/domains/session/sidebar/app-sidebar.tsx
+++ b/apps/app/src/react-app/domains/session/sidebar/app-sidebar.tsx
@@ -36,6 +36,7 @@ import {
X,
Workflow,
MessageCircleMore,
+ Sparkles,
} from "lucide-react";
import { LazyMotion, Reorder, domMax, m, useDragControls } from "motion/react";
@@ -67,6 +68,7 @@ import { useBrandAppName, useBrandLogoUrl } from "../../cloud/brand-theme";
import { canCreateWorkspaces } from "../../../../app/lib/workspace-creation-policy";
import { useShellConfig } from "../../../shell/shell-config";
import { openFeedbackDialog } from "../../../../app/lib/in-app-feedback";
+import { openWhatsNew, useWhatsNewUnseen } from "../../whats-new/whats-new";
import {
Sidebar,
@@ -1036,6 +1038,27 @@ function QualitySpinRow({ quality }: { quality: AccountQuality }) {
);
}
+/** Sidebar footer: opens the release notes; a dot until they were opened on this version. */
+function WhatsNewSidebarItem() {
+ const unseen = useWhatsNewUnseen();
+ const label = t("whats_new.title");
+ return (
+ <SidebarMenuItem>
+ <SidebarMenuButton
+ type="button"
+ onClick={() => openWhatsNew("menu")}
+ tooltip={label}
+ aria-label={unseen ? `${label} (${t("whats_new.unseen")})` : label}
+ data-testid="sidebar-whats-new"
+ >
+ <Sparkles className="size-4" />
+ <span className="flex-1">{label}</span>
+ {unseen ? <span data-testid="whats-new-dot" className="size-1.5 shrink-0 rounded-full bg-primary" aria-hidden="true" /> : null}
+ </SidebarMenuButton>
+ </SidebarMenuItem>
+ );
+}
+
function NativeAccountFooter({ onOpenAccountSettings }: { onOpenAccountSettings: () => void }) {
// Shared with the quality popup (QualityRewards): one /device/me read for both.
const status: NativeAccountStatus | null = useAccountStatusStore((store) => store.status);
@@ -1125,6 +1148,7 @@ function NativeAccountFooter({ onOpenAccountSettings }: { onOpenAccountSettings:
</SidebarMenuButton>
</SidebarMenuItem>
) : null}
+ <WhatsNewSidebarItem />
<SidebarMenuItem>
<SidebarMenuButton
type="button"
diff --git a/apps/app/src/react-app/domains/whats-new/PARITY.sha256 b/apps/app/src/react-app/domains/whats-new/PARITY.sha256
new file mode 100644
index 00000000..48cf5497
--- /dev/null
+++ b/apps/app/src/react-app/domains/whats-new/PARITY.sha256
@@ -0,0 +1,3 @@
+# whats-new.json is the same file in omnirush-cli (src/whats-new/) and omnirush-gui (apps/app/src/react-app/domains/whats-new/).
+# A change to one must be ported to the other and this list updated in both.
+7d1916b60f3e2617861e28e59006c6e2628d6eccb224a5a71114ac8e251e8202 whats-new.json
diff --git a/apps/app/src/react-app/domains/whats-new/whats-new-sheet.tsx b/apps/app/src/react-app/domains/whats-new/whats-new-sheet.tsx
new file mode 100644
index 00000000..20f0e089
--- /dev/null
+++ b/apps/app/src/react-app/domains/whats-new/whats-new-sheet.tsx
@@ -0,0 +1,188 @@
+/** @jsxImportSource react */
+// The "What's new" sheet (right side) and the one-time toast after an update.
+import { useEffect, useRef, useState } from "react";
+import { ExternalLink } from "lucide-react";
+
+import { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle } from "@/components/ui/sheet";
+import { toast } from "@/components/ui/sonner";
+import { cn } from "@/lib/utils";
+import { t } from "@/i18n";
+import { usePlatform } from "../../kernel/platform";
+import { hasLiveSessionActivity, useSessionActivityStore } from "../session/status/session-activity-store";
+import {
+ NATIVE_MENU_WHATS_NEW_EVENT,
+ WHATS_NEW_CHANGELOG_URL,
+ buildAppVersion,
+ closeWhatsNew,
+ desktopReleases,
+ displayVersion,
+ inlineParts,
+ markUpdateToastShown,
+ openWhatsNew,
+ takeUpdateDecision,
+ useWhatsNewStore,
+ type WhatsNewRelease,
+} from "./whats-new";
+
+const UPDATE_TOAST_ID = "whats-new-update";
+const UPDATE_TOAST_MS = 12_000;
+const UPDATE_TOAST_SETTLE_MS = 2_500;
+
+const GROUPS = [
+ { key: "new", label: () => t("whats_new.group_new"), dot: "bg-primary" },
+ { key: "improved", label: () => t("whats_new.group_improved"), dot: "bg-violet-9" },
+ { key: "fixed", label: () => t("whats_new.group_fixed"), dot: "bg-green-9" },
+] as const;
+
+export function WhatsNewText({ text }: { text: string }) {
+ return (
+ <>
+ {inlineParts(text).map((part, index) =>
+ part.code ? (
+ <code key={index} className="rounded border border-border bg-muted px-1 py-px font-mono text-[0.85em] text-foreground">
+ {part.text}
+ </code>
+ ) : (
+ <span key={index}>{part.text}</span>
+ ),
+ )}
+ </>
+ );
+}
+
+function formatDate(date: string): string {
+ const parsed = new Date(`${date}T00:00:00Z`);
+ if (Number.isNaN(parsed.getTime())) return date;
+ return parsed.toLocaleDateString(undefined, { day: "numeric", month: "short", year: "numeric", timeZone: "UTC" });
+}
+
+function ReleaseCard({ release, current }: { release: WhatsNewRelease; current: boolean }) {
+ return (
+ <section
+ data-whats-new-release={release.version}
+ data-current={current ? "true" : undefined}
+ aria-label={release.version}
+ className={cn(
+ "rounded-xl px-4 py-3",
+ current ? "border border-primary/70 bg-muted/40 ring-1 ring-primary/20" : "border border-transparent",
+ )}
+ >
+ <header className="flex items-baseline gap-2">
+ <h3 className="font-mono text-sm font-semibold text-foreground">{release.version}</h3>
+ {current ? (
+ <span className="rounded-full border border-border bg-secondary px-2 py-px text-[11px] font-medium text-secondary-foreground">
+ {t("whats_new.current")}
+ </span>
+ ) : null}
+ <span className="ms-auto text-xs text-muted-foreground">{formatDate(release.date)}</span>
+ </header>
+ {GROUPS.map((group) => {
+ const items = release[group.key];
+ if (!items.length) return null;
+ return (
+ <div key={group.key} className="mt-2" data-whats-new-group={group.key}>
+ <div className="flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground">
+ <span className={cn("size-1.5 rounded-full", group.dot)} aria-hidden="true" />
+ {group.label()}
+ </div>
+ <ul className="mt-1 list-disc space-y-1 ps-5 text-[13px] leading-relaxed text-foreground marker:text-muted-foreground">
+ {items.map((item, index) => (
+ <li key={index}>
+ <WhatsNewText text={item} />
+ </li>
+ ))}
+ </ul>
+ </div>
+ );
+ })}
+ </section>
+ );
+}
+
+/** The release cards, newest first; the running version first with a badge. */
+export function WhatsNewReleases({ releases = desktopReleases, version }: { releases?: readonly WhatsNewRelease[]; version: string }) {
+ return (
+ <div className="flex flex-col gap-2">
+ {releases.map((release) => (
+ <ReleaseCard key={release.version} release={release} current={release.version === version} />
+ ))}
+ </div>
+ );
+}
+
+export function WhatsNewSheet() {
+ const open = useWhatsNewStore((state) => state.open);
+ const platform = usePlatform();
+ const version = displayVersion();
+
+ useEffect(() => {
+ const onNativeMenu = () => openWhatsNew("native_menu");
+ window.addEventListener(NATIVE_MENU_WHATS_NEW_EVENT, onNativeMenu);
+ return () => window.removeEventListener(NATIVE_MENU_WHATS_NEW_EVENT, onNativeMenu);
+ }, []);
+
+ return (
+ <Sheet open={open} onOpenChange={(next) => (next ? undefined : closeWhatsNew())}>
+ <SheetContent
+ side="right"
+ data-testid="whats-new-sheet"
+ className="gap-0 data-[side=right]:w-[min(448px,90vw)] data-[side=right]:sm:max-w-[448px]"
+ >
+ <SheetHeader className="border-b border-border px-5 pt-5 pb-4 pe-14">
+ <SheetTitle className="text-lg font-semibold">{t("whats_new.title")}</SheetTitle>
+ <SheetDescription>{t("whats_new.subtitle", { version })}</SheetDescription>
+ </SheetHeader>
+ <div className="min-h-0 flex-1 overflow-y-auto px-3 py-3" data-testid="whats-new-body">
+ <WhatsNewReleases version={version} />
+ </div>
+ <SheetFooter className="flex-row items-center justify-between border-t border-border px-5 py-3">
+ <button
+ type="button"
+ className="inline-flex items-center gap-1.5 rounded text-sm font-medium text-foreground hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ onClick={() => platform.openLink(WHATS_NEW_CHANGELOG_URL)}
+ >
+ {t("whats_new.all_releases")}
+ <ExternalLink className="size-3.5" aria-hidden="true" />
+ </button>
+ <span className="text-xs text-muted-foreground">{t("whats_new.release_count", { count: desktopReleases.length })}</span>
+ </SheetFooter>
+ </SheetContent>
+ </Sheet>
+ );
+}
+
+let updateDecisionTaken = false;
+let updateToastDue = false;
+
+/** "Updated to X": once per version, after an upgrade, never while a turn runs or an approval waits. */
+export function WhatsNewUpdateToast() {
+ const turnRunning = useSessionActivityStore((store) => hasLiveSessionActivity(store.statusesByWorkspaceId));
+ const [due, setDue] = useState(() => {
+ if (!updateDecisionTaken) {
+ updateDecisionTaken = true;
+ updateToastDue = takeUpdateDecision();
+ }
+ return updateToastDue;
+ });
+ const shown = useRef(false);
+
+ useEffect(() => {
+ if (!due || turnRunning || shown.current) return;
+ // A short settle so the chats' running state (read from the server after start) can hold it back.
+ const timer = window.setTimeout(() => {
+ shown.current = true;
+ updateToastDue = false;
+ const version = buildAppVersion();
+ markUpdateToastShown(version);
+ setDue(false);
+ toast(t("whats_new.updated_toast", { version }), {
+ id: UPDATE_TOAST_ID,
+ duration: UPDATE_TOAST_MS,
+ action: { label: t("whats_new.title"), onClick: () => openWhatsNew("toast") },
+ });
+ }, UPDATE_TOAST_SETTLE_MS);
+ return () => window.clearTimeout(timer);
+ }, [due, turnRunning]);
+
+ return null;
+}
diff --git a/apps/app/src/react-app/domains/whats-new/whats-new.json b/apps/app/src/react-app/domains/whats-new/whats-new.json
new file mode 100644
index 00000000..d6ce98b9
--- /dev/null
+++ b/apps/app/src/react-app/domains/whats-new/whats-new.json
@@ -0,0 +1,312 @@
+{
+ "$comment": "What's new in OmniRush: release notes written for users, newest first, shown in the CLI (/changelog, omnirush changelog) and the desktop app (Help > What's new). Same file in omnirush-cli (src/whats-new/) and omnirush-gui (apps/app/src/react-app/domains/whats-new/); keep the copies byte-identical (PARITY.sha256). Plain language, no PR numbers, nothing internal. Write the entry for every release before tagging.",
+ "schema": 1,
+ "cli": [
+ {
+ "version": "2.6.2",
+ "date": "2026-10-20",
+ "new": [
+ "Permission modes: Careful asks before every change and command, Normal asks only before risky actions, Auto never asks. Switch with `/permissions` or `omnirush permissions <mode>`.",
+ "Answer approval questions with one key: y allows once, a always, n rejects.",
+ "A notification when a task finishes or waits for you while the terminal is in the background. Change it with `omnirush notify`.",
+ "See what changed in each release with `/changelog` or `omnirush changelog`."
+ ],
+ "improved": [],
+ "fixed": [
+ "One `/undo` takes back a whole turn, also when the chat was compacted part-way through it."
+ ]
+ },
+ {
+ "version": "2.6.1",
+ "date": "2026-10-20",
+ "new": [
+ "`/review` reviews your changes, and `/fix` fixes what it found.",
+ "`/undo` takes out only the last turn's changes and keeps your own later edits; `/redo` puts them back. `/diff` shows the whole chat's changes and `/status` the current state.",
+ "`/tasks` runs tasks in parallel, each in its own folder.",
+ "The start screen lists recent chats, with search and one-click resume."
+ ],
+ "improved": [
+ "The agent checks its own changes with the project's checks, keeps project notes in AGENTS.md (`/init`), sees code diagnostics after edits, and writes fuller summaries when a long chat is compacted. Turn any of these off with `omnirush assist off`."
+ ],
+ "fixed": [
+ "MCP servers from a project's own settings no longer start on their own. Only supported servers start, at a supported version, inside the project; others are skipped with a reason."
+ ]
+ },
+ {
+ "version": "2.6.0",
+ "date": "2026-10-20",
+ "new": [
+ "The sidebar shows the chat id (click it, ctrl+x i or `/copy-id` to copy it), the model and effort, context use, tokens left today and the sandbox state.",
+ "Send feedback with `/feedback` in a chat, or `omnirush feedback` in a terminal.",
+ "Web search for the model, when it is available for your account."
+ ],
+ "improved": [
+ "`omnirush doctor` shows where the log file is and no longer reports a reachable server as an error."
+ ],
+ "fixed": [
+ "A chat stops before the first request when the project folder can't be written to, and says how to fix it.",
+ "`/thinking` also works on the start screen and always says what it changed."
+ ]
+ },
+ {
+ "version": "2.5.9",
+ "date": "2026-10-19",
+ "new": [
+ "A calmer full-screen view: one short headline per reasoning step (click it or use `/thinking` to read more), a live status line with a timer, and \"Worked for …\" after each answer.",
+ "Sign in from the app: a welcome screen on first start, and `/login` and `/logout` in a chat."
+ ],
+ "improved": [
+ "Sign-in renewal copes better with a slow or unreliable connection."
+ ],
+ "fixed": [
+ "A refused request or a spent daily allowance is shown once and is not sent again, with no automatic \"Continue.\" afterwards."
+ ]
+ },
+ {
+ "version": "2.5.8",
+ "date": "2026-10-19",
+ "new": [],
+ "improved": [
+ "Reliability improvements."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "2.5.7",
+ "date": "2026-10-19",
+ "new": [],
+ "improved": [
+ "Product analytics, linked to your account. The Privacy Policy explains what is sent."
+ ],
+ "fixed": [
+ "A spent daily allowance or a refused request ends the turn with its message instead of waiting to send it again."
+ ]
+ },
+ {
+ "version": "2.5.6",
+ "date": "2026-10-18",
+ "new": [],
+ "improved": [
+ "Groundwork for future features."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "2.5.5",
+ "date": "2026-10-18",
+ "new": [],
+ "improved": [],
+ "fixed": [
+ "The sandbox reconnects on its own after it stops while the app is open, for example after a long idle time; installed packages are kept.",
+ "Large dependency installs no longer fail a turn in the sandbox.",
+ "Tool calls are closed properly when you stop a run or quit.",
+ "Security fixes for sign-in, sign-out and the local connections."
+ ]
+ },
+ {
+ "version": "2.5.4",
+ "date": "2026-10-17",
+ "new": [],
+ "improved": [
+ "A prompt waits at most 30 seconds for an automatic compaction before it goes out."
+ ],
+ "fixed": [
+ "Esc during an automatic compaction really stops it, and your next prompts are answered straight away.",
+ "No automatic \"Continue.\" after you stop a compaction."
+ ]
+ },
+ {
+ "version": "2.5.3",
+ "date": "2026-10-17",
+ "new": [],
+ "improved": [
+ "Reliability improvements."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "2.5.2",
+ "date": "2026-10-16",
+ "new": [
+ "Long chats are compacted automatically so they stay fast, never in the middle of a turn, with a note when it happens."
+ ],
+ "improved": [],
+ "fixed": [
+ "A prompt sent during a compaction starts a turn of its own."
+ ]
+ },
+ {
+ "version": "2.5.1",
+ "date": "2026-10-16",
+ "new": [],
+ "improved": [
+ "Windows: `omnirush doctor` says when npm's folder is not on PATH or PowerShell blocks `omnirush`, and how to fix it."
+ ],
+ "fixed": [
+ "Windows: a leftover installer lock from a closed app no longer stops the next start."
+ ]
+ },
+ {
+ "version": "2.5.0",
+ "date": "2026-10-14",
+ "new": [
+ "Frontier Buildathon: `omnirush buildathon` shows the event, lets you join, and lists updates from the organisers."
+ ],
+ "improved": [],
+ "fixed": []
+ }
+ ],
+ "desktop": [
+ {
+ "version": "3.6.3",
+ "date": "2026-10-20",
+ "new": [
+ "Chat and IDE layouts: switch with the toggle at the top left or Cmd/Ctrl+Shift+Y. IDE puts files, changes and Git on the left, the editor and terminal in the middle and the chat on the right.",
+ "Permission modes: Careful asks before every change and command, Normal asks only before risky actions, Auto never asks. Pick one in the composer or in Settings.",
+ "Answer approvals from the keyboard: Y allows once, A for this chat, N denies.",
+ "Notifications when a task finishes or needs your approval while the window is in the background.",
+ "What's new in the Help menu and the command palette."
+ ],
+ "improved": [
+ "The chat works better when narrow: header actions fold into a menu, approval buttons wrap and the session check stays readable."
+ ],
+ "fixed": [
+ "Undo keeps files you saved in the editor and refreshes open files; one undo takes back a whole turn, also after a compaction."
+ ]
+ },
+ {
+ "version": "3.6.2",
+ "date": "2026-10-20",
+ "new": [
+ "A code editor beside the chat.",
+ "Review your changes and fix what the review found. Undo the last turn while keeping your own later edits, and redo it.",
+ "Parallel tasks, each in its own copy of the project.",
+ "A home screen with recent projects and chats, and a search of past chats."
+ ],
+ "improved": [
+ "The agent checks its own changes with the project's checks, keeps project notes in AGENTS.md, sees code diagnostics after edits, and writes fuller summaries when a long chat is compacted. Each can be switched off in Settings."
+ ],
+ "fixed": [
+ "MCP servers from a project's own settings no longer start on their own. Only supported servers start, at a supported version, inside the project; the others are listed with the reason."
+ ]
+ },
+ {
+ "version": "3.6.1",
+ "date": "2026-10-20",
+ "new": [
+ "Send feedback from the sidebar, the Help menu or the command palette.",
+ "Web search for the model, when it is available for your account. Searches and their sources show in the chat."
+ ],
+ "improved": [
+ "The unused web search setting is gone."
+ ],
+ "fixed": [
+ "A chat stops before the first prompt when the project folder can't be written to, says how to fix it, and offers to choose another folder."
+ ]
+ },
+ {
+ "version": "3.6.0",
+ "date": "2026-10-19",
+ "new": [],
+ "improved": [],
+ "fixed": [
+ "Limit and policy messages are shown once and are not sent again automatically."
+ ]
+ },
+ {
+ "version": "3.5.9",
+ "date": "2026-10-19",
+ "new": [],
+ "improved": [
+ "Groundwork for future features."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "3.5.8",
+ "date": "2026-10-19",
+ "new": [],
+ "improved": [
+ "Usage analytics go to OmniRush's own analytics and are linked to your account. The Privacy Policy explains what is sent."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "3.5.7",
+ "date": "2026-10-18",
+ "new": [],
+ "improved": [
+ "Groundwork for future features."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "3.5.6",
+ "date": "2026-10-18",
+ "new": [],
+ "improved": [],
+ "fixed": [
+ "The sandbox reconnects on its own after it stops while the app is open, for example after a long idle time.",
+ "Large dependency installs no longer fail a turn in the sandbox.",
+ "Tool calls are closed properly when you stop a run or quit.",
+ "Security fixes for links, deep links and the developer tools port."
+ ]
+ },
+ {
+ "version": "3.5.5",
+ "date": "2026-10-17",
+ "new": [],
+ "improved": [
+ "The app repairs its local store on start when it was left damaged."
+ ],
+ "fixed": [
+ "Esc stops an automatic compaction straight away."
+ ]
+ },
+ {
+ "version": "3.5.4",
+ "date": "2026-10-17",
+ "new": [
+ "When the app cannot start, it explains why and offers a reset."
+ ],
+ "improved": [],
+ "fixed": []
+ },
+ {
+ "version": "3.5.3",
+ "date": "2026-10-17",
+ "new": [],
+ "improved": [
+ "Reliability improvements."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "3.5.2",
+ "date": "2026-10-16",
+ "new": [
+ "Long chats are compacted automatically, so they stay fast."
+ ],
+ "improved": [],
+ "fixed": []
+ },
+ {
+ "version": "3.5.1",
+ "date": "2026-10-16",
+ "new": [],
+ "improved": [
+ "Windows: faster, more reliable start."
+ ],
+ "fixed": []
+ },
+ {
+ "version": "3.5.0",
+ "date": "2026-10-14",
+ "new": [
+ "Frontier Buildathon card and an updates feed in the app."
+ ],
+ "improved": [],
+ "fixed": []
+ }
+ ]
+}
diff --git a/apps/app/src/react-app/domains/whats-new/whats-new.ts b/apps/app/src/react-app/domains/whats-new/whats-new.ts
new file mode 100644
index 00000000..0ac2e72b
--- /dev/null
+++ b/apps/app/src/react-app/domains/whats-new/whats-new.ts
@@ -0,0 +1,187 @@
+// What's new: the release notes bundled with the app (whats-new.json, the same
+// file as the CLI's; PARITY.sha256), which version the person has seen, and
+// whether to point them at the notes after an update.
+import { create } from "zustand";
+
+import { captureAnalyticsEvent } from "@/app/lib/analytics";
+import whatsNewData from "./whats-new.json";
+
+export type WhatsNewRelease = {
+ version: string;
+ date: string;
+ new: string[];
+ improved: string[];
+ fixed: string[];
+};
+
+export type WhatsNewSource = "menu" | "palette" | "toast" | "native_menu";
+
+export const WHATS_NEW_CHANGELOG_URL = "https://omnirush.ai/changelog";
+/** The version the app last started on (the update toast). */
+export const LAST_VERSION_STORAGE_KEY = "omnirush.whatsNew.lastVersion";
+/** The version whose notes were last opened (the dot on the menu entries). */
+export const OPENED_VERSION_STORAGE_KEY = "omnirush.whatsNew.openedVersion";
+/** Main process → window (app-menu.mjs, Help > What's New). */
+export const NATIVE_MENU_WHATS_NEW_EVENT = "omnirush:native-menu:whats-new";
+
+export const desktopReleases: readonly WhatsNewRelease[] = (whatsNewData as { desktop: WhatsNewRelease[] }).desktop;
+
+/**
+ * The build's version, or empty for a dev build: vite.config.ts falls back to
+ * the repo's package.json ("0.0.0-dev") or "0.0.0" when no release version is set.
+ */
+export function normalizeAppVersion(value: unknown): string {
+ const version = typeof value === "string" ? value.trim() : "";
+ if (!version || version === "0.0.0" || version.startsWith("0.0.0-")) return "";
+ return version;
+}
+
+const BUILD_VERSION = normalizeAppVersion(import.meta.env?.VITE_OMNIRUSH_APP_VERSION);
+
+/** The packaged version; empty in dev builds. */
+export function buildAppVersion(): string {
+ return BUILD_VERSION;
+}
+
+/** The version the notes are shown for: the build's, or the newest entry in a dev build. */
+export function displayVersion(appVersion: string = BUILD_VERSION, releases: readonly WhatsNewRelease[] = desktopReleases): string {
+ return appVersion || releases[0]?.version || "";
+}
+
+const SEMVER = /^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/;
+
+export function isSemver(value: string): boolean {
+ return SEMVER.test(value);
+}
+
+/** Negative when a < b, 0 when equal, positive when a > b; null when either is not a version. */
+export function compareVersions(a: string, b: string): number | null {
+ const left = SEMVER.exec(a.trim());
+ const right = SEMVER.exec(b.trim());
+ if (!left || !right) return null;
+ for (let i = 1; i <= 3; i += 1) {
+ const diff = Number(left[i]) - Number(right[i]);
+ if (diff !== 0) return diff;
+ }
+ // A pre-release sorts before its release.
+ const lp = left[4] ?? "";
+ const rp = right[4] ?? "";
+ if (lp === rp) return 0;
+ if (!lp) return 1;
+ if (!rp) return -1;
+ return lp < rp ? -1 : 1;
+}
+
+export type UpdateDecision = {
+ /** Show "Updated to …" now (or once no turn is running). */
+ toast: boolean;
+ /** What to remember as the last version, or null to leave the stored one. */
+ store: string | null;
+};
+
+/**
+ * After a start: toast only on an upgrade from a version this profile ran
+ * before. A fresh install (nothing stored, or junk) just remembers the
+ * version; a downgrade or the same version shows nothing and keeps the
+ * higher stored one; a dev build (no version) never toasts or stores.
+ */
+export function updateDecision(stored: string | null, appVersion: string): UpdateDecision {
+ const current = appVersion.trim();
+ if (!current || !isSemver(current)) return { toast: false, store: null };
+ const previous = stored?.trim() ?? "";
+ const order = previous ? compareVersions(current, previous) : null;
+ if (order === null) return { toast: false, store: current };
+ if (order > 0) return { toast: true, store: current };
+ return { toast: false, store: null };
+}
+
+/** The dot on the menu entries: until the notes were opened on this version. */
+export function hasUnseenNotes(openedVersion: string | null, version: string): boolean {
+ return Boolean(version) && openedVersion !== version;
+}
+
+export type InlinePart = { code: boolean; text: string };
+
+/** Split `inline code` out of an item; an unmatched backtick stays as text. */
+export function inlineParts(text: string): InlinePart[] {
+ const parts: InlinePart[] = [];
+ const pattern = /`([^`]+)`/g;
+ let last = 0;
+ for (const match of text.matchAll(pattern)) {
+ const at = match.index ?? 0;
+ if (at > last) parts.push({ code: false, text: text.slice(last, at) });
+ parts.push({ code: true, text: match[1] ?? "" });
+ last = at + match[0].length;
+ }
+ if (last < text.length) parts.push({ code: false, text: text.slice(last) });
+ return parts;
+}
+
+// --- state -----------------------------------------------------------------------------
+
+function storage(): Storage | null {
+ try {
+ return typeof window === "undefined" ? null : window.localStorage;
+ } catch {
+ return null;
+ }
+}
+
+function readStored(key: string): string | null {
+ try {
+ return storage()?.getItem(key) ?? null;
+ } catch {
+ return null;
+ }
+}
+
+function writeStored(key: string, value: string) {
+ try {
+ storage()?.setItem(key, value);
+ } catch {
+ // A full or blocked storage only costs a repeat of the dot or the toast.
+ }
+}
+
+type WhatsNewState = {
+ open: boolean;
+ openedVersion: string | null;
+};
+
+export const useWhatsNewStore = create<WhatsNewState>(() => ({
+ open: false,
+ openedVersion: readStored(OPENED_VERSION_STORAGE_KEY),
+}));
+
+export function useWhatsNewUnseen(): boolean {
+ const openedVersion = useWhatsNewStore((state) => state.openedVersion);
+ return hasUnseenNotes(openedVersion, displayVersion());
+}
+
+export function openWhatsNew(source: WhatsNewSource) {
+ const version = displayVersion();
+ if (version) writeStored(OPENED_VERSION_STORAGE_KEY, version);
+ useWhatsNewStore.setState({ open: true, openedVersion: version || null });
+ captureAnalyticsEvent("whats_new_opened", { source });
+}
+
+export function closeWhatsNew() {
+ useWhatsNewStore.setState({ open: false });
+}
+
+/** Reads and applies the start-up decision for this build; true when the toast is due. */
+export function takeUpdateDecision(appVersion: string = BUILD_VERSION): boolean {
+ const decision = updateDecision(readStored(LAST_VERSION_STORAGE_KEY), appVersion);
+ // An upgrade is remembered only once the toast is shown (markUpdateToastShown).
+ if (decision.store && !decision.toast) writeStored(LAST_VERSION_STORAGE_KEY, decision.store);
+ return decision.toast;
+}
+
+export function markUpdateToastShown(appVersion: string = BUILD_VERSION) {
+ if (appVersion) writeStored(LAST_VERSION_STORAGE_KEY, appVersion);
+}
+
+/** Tests only: reload the stored marker. */
+export function resetWhatsNewStoreForTests() {
+ useWhatsNewStore.setState({ open: false, openedVersion: readStored(OPENED_VERSION_STORAGE_KEY) });
+}
diff --git a/apps/app/src/react-app/shell/command-palette.tsx b/apps/app/src/react-app/shell/command-palette.tsx
index 3eae08d1..459185e7 100644
--- a/apps/app/src/react-app/shell/command-palette.tsx
+++ b/apps/app/src/react-app/shell/command-palette.tsx
@@ -30,6 +30,7 @@ import { Button } from "@/components/ui/button";
import { DEFAULT_FEEDBACK_URL } from "@/app/lib/feedback";
import { openFeedbackDialog } from "@/app/lib/in-app-feedback";
import { isDesktopRuntime } from "@/app/utils";
+import { displayVersion, openWhatsNew, useWhatsNewUnseen } from "../domains/whats-new/whats-new";
import { ChevronLeftIcon } from "lucide-react";
import type { ModelOption, ModelRef } from "@/app/types";
import { useCheckDesktopRestriction } from "../domains/cloud/desktop-config-provider";
@@ -201,6 +202,7 @@ export function CommandPalette(props: CommandPaletteProps) {
}
};
+ const whatsNewUnseen = useWhatsNewUnseen();
const accessibleTargetCount = props.accessibleTargets?.length ?? 0;
const sessionGroupCount = props.sessionGroups?.length ?? 0;
const canMoveCurrentSessionToGroup = Boolean(props.currentSessionForGroupMove && props.onMoveCurrentSessionToGroup);
@@ -352,6 +354,20 @@ export function CommandPalette(props: CommandPaletteProps) {
openUrl("https://github.com/omnirush-ai/omnirush-gui#readme");
},
},
+ ...(isDesktopRuntime()
+ ? [{
+ id: "whats-new",
+ title: t("whats_new.title"),
+ detail: t("whats_new.palette_detail", { version: displayVersion() }),
+ meta: whatsNewUnseen ? t("whats_new.unseen") : undefined,
+ keywords: ["what's new", "whats new", "changelog", "release notes", "updates", "version", "help"],
+ group: ACTIONS_GROUP,
+ action: () => {
+ props.onClose();
+ openWhatsNew("palette");
+ },
+ }]
+ : []),
{
id: "open-feedback",
title: t("session.support_feedback"),
@@ -365,7 +381,7 @@ export function CommandPalette(props: CommandPaletteProps) {
else openUrl(DEFAULT_FEEDBACK_URL);
},
},
- ], [accessibleTargetCount, canMoveCurrentSessionToGroup, hasNestedModelPicker, props, sessionGroupCount, sessionNumberHelp]);
+ ], [accessibleTargetCount, canMoveCurrentSessionToGroup, hasNestedModelPicker, props, sessionGroupCount, sessionNumberHelp, whatsNewUnseen]);
const sessionItems = useMemo<PaletteItem[]>(
() =>
diff --git a/apps/app/src/react-app/shell/providers.tsx b/apps/app/src/react-app/shell/providers.tsx
index 7c3ec681..9382527d 100644
--- a/apps/app/src/react-app/shell/providers.tsx
+++ b/apps/app/src/react-app/shell/providers.tsx
@@ -24,6 +24,7 @@ import { startDebugLogger, stopDebugLogger } from "./debug-logger";
import { resolveOmniRushConnection } from "./omnirush-connection";
import { ReloadCoordinatorProvider } from "./reload-coordinator";
import { FeedbackDialog } from "../domains/feedback/feedback";
+import { WhatsNewSheet, WhatsNewUpdateToast } from "../domains/whats-new/whats-new-sheet";
function resolveDefaultServerUrl(): string {
if (isDesktopRuntime()) return "http://127.0.0.1:4096";
@@ -70,6 +71,8 @@ function EnterpriseAwareAppProviders({ children }: AppProvidersProps) {
<ReloadCoordinatorProvider>{children}</ReloadCoordinatorProvider>
<Toaster />
<FeedbackDialog />
+ <WhatsNewSheet />
+ {isDesktopRuntime() ? <WhatsNewUpdateToast /> : null}
</LocalProvider>
</RestrictionNoticeProvider>
</BrandThemeProvider>
diff --git a/apps/app/tests/whats-new.test.tsx b/apps/app/tests/whats-new.test.tsx
new file mode 100644
index 00000000..7d5d956a
--- /dev/null
+++ b/apps/app/tests/whats-new.test.tsx
@@ -0,0 +1,199 @@
+import { beforeEach, describe, expect, test } from "bun:test";
+import { createHash } from "node:crypto";
+import { readFileSync } from "node:fs";
+import path from "node:path";
+import { renderToStaticMarkup } from "react-dom/server";
+
+class MemoryStorage {
+ private values = new Map<string, string>();
+ getItem(key: string) { return this.values.has(key) ? this.values.get(key)! : null; }
+ setItem(key: string, value: string) { this.values.set(key, String(value)); }
+ removeItem(key: string) { this.values.delete(key); }
+ clear() { this.values.clear(); }
+}
+
+const storage = new MemoryStorage();
+Object.defineProperty(globalThis, "window", {
+ configurable: true,
+ value: { localStorage: storage, addEventListener: () => undefined, removeEventListener: () => undefined },
+});
+
+const whatsNew = await import("../src/react-app/domains/whats-new/whats-new");
+const { WhatsNewReleases, WhatsNewText } = await import("../src/react-app/domains/whats-new/whats-new-sheet");
+const { ensureInspectorInstalled } = await import("../src/app/lib/app-inspector");
+
+const DIR = path.join(import.meta.dir, "../src/react-app/domains/whats-new");
+const DATA = JSON.parse(readFileSync(path.join(DIR, "whats-new.json"), "utf8")) as {
+ schema: number;
+ cli: Array<Record<string, unknown>>;
+ desktop: Array<Record<string, unknown>>;
+};
+
+beforeEach(() => {
+ storage.clear();
+ whatsNew.resetWhatsNewStoreForTests();
+});
+
+describe("whats-new.json", () => {
+ test("matches PARITY.sha256 (the CLI's copy)", () => {
+ const rows = readFileSync(path.join(DIR, "PARITY.sha256"), "utf8").split("\n").filter((line) => line && !line.startsWith("#"));
+ expect(rows.length).toBeGreaterThan(0);
+ for (const row of rows) {
+ const [hash, name] = row.split(/\s+/);
+ const file = path.basename(name ?? "");
+ const actual = createHash("sha256").update(readFileSync(path.join(DIR, file))).digest("hex");
+ expect(`${file} ${actual}`).toBe(`${file} ${hash}`);
+ }
+ });
+
+ test("schema 1: semver versions, ISO dates, newest first, string items", () => {
+ expect(DATA.schema).toBe(1);
+ expect(DATA.desktop.length).toBeGreaterThan(0);
+ for (const list of [DATA.cli, DATA.desktop]) {
+ expect(Array.isArray(list)).toBe(true);
+ for (const [index, entry] of list.entries()) {
+ const version = String(entry.version);
+ const date = String(entry.date);
+ expect(whatsNew.isSemver(version)).toBe(true);
+ expect(date).toMatch(/^\d{4}-\d{2}-\d{2}$/);
+ expect(new Date(`${date}T00:00:00Z`).toISOString().slice(0, 10)).toBe(date);
+ for (const group of ["new", "improved", "fixed"]) {
+ const items = entry[group];
+ expect(Array.isArray(items)).toBe(true);
+ for (const item of items as unknown[]) {
+ expect(typeof item).toBe("string");
+ expect((item as string).trim().length).toBeGreaterThan(0);
+ }
+ }
+ if (index > 0) {
+ const previous = list[index - 1]!;
+ expect(whatsNew.compareVersions(String(previous.version), version)!).toBeGreaterThan(0);
+ expect(String(previous.date) >= date).toBe(true);
+ }
+ }
+ }
+ expect(whatsNew.desktopReleases[0]?.version).toBe(String(DATA.desktop[0]!.version));
+ });
+});
+
+describe("versions", () => {
+ test("compareVersions", () => {
+ expect(whatsNew.compareVersions("3.6.3", "3.6.2")).toBeGreaterThan(0);
+ expect(whatsNew.compareVersions("3.6.0", "3.5.9")).toBeGreaterThan(0);
+ expect(whatsNew.compareVersions("3.10.0", "3.9.9")).toBeGreaterThan(0);
+ expect(whatsNew.compareVersions("3.6.2", "3.6.3")).toBeLessThan(0);
+ expect(whatsNew.compareVersions("3.6.3", "3.6.3")).toBe(0);
+ expect(whatsNew.compareVersions("3.6.3-beta.1", "3.6.3")).toBeLessThan(0);
+ expect(whatsNew.compareVersions("junk", "3.6.3")).toBeNull();
+ });
+
+ test("dev builds count as no version", () => {
+ expect(whatsNew.normalizeAppVersion("0.0.0-dev")).toBe("");
+ expect(whatsNew.normalizeAppVersion("0.0.0")).toBe("");
+ expect(whatsNew.normalizeAppVersion("")).toBe("");
+ expect(whatsNew.normalizeAppVersion(undefined)).toBe("");
+ expect(whatsNew.normalizeAppVersion(" 3.6.3 ")).toBe("3.6.3");
+ expect(whatsNew.displayVersion("")).toBe(whatsNew.desktopReleases[0]!.version);
+ expect(whatsNew.displayVersion("3.6.2")).toBe("3.6.2");
+ });
+});
+
+describe("update toast decision", () => {
+ test("fresh install: no toast, remembers the version", () => {
+ expect(whatsNew.updateDecision(null, "3.6.3")).toEqual({ toast: false, store: "3.6.3" });
+ expect(whatsNew.updateDecision("", "3.6.3")).toEqual({ toast: false, store: "3.6.3" });
+ expect(whatsNew.updateDecision("garbage", "3.6.3")).toEqual({ toast: false, store: "3.6.3" });
+ });
+
+ test("same version: nothing", () => {
+ expect(whatsNew.updateDecision("3.6.3", "3.6.3")).toEqual({ toast: false, store: null });
+ });
+
+ test("upgrade: toast once", () => {
+ expect(whatsNew.updateDecision("3.6.2", "3.6.3")).toEqual({ toast: true, store: "3.6.3" });
+ expect(whatsNew.updateDecision("3.5.9", "3.6.0")).toEqual({ toast: true, store: "3.6.0" });
+ });
+
+ test("downgrade: no toast, keeps the higher stored version", () => {
+ expect(whatsNew.updateDecision("3.6.3", "3.6.2")).toEqual({ toast: false, store: null });
+ });
+
+ test("dev build (empty version): never toasts or stores", () => {
+ expect(whatsNew.updateDecision(null, "")).toEqual({ toast: false, store: null });
+ expect(whatsNew.updateDecision("3.6.2", "")).toEqual({ toast: false, store: null });
+ });
+
+ test("stored state: upgrade toasts once, then not again", () => {
+ expect(whatsNew.takeUpdateDecision("3.6.2")).toBe(false);
+ expect(storage.getItem(whatsNew.LAST_VERSION_STORAGE_KEY)).toBe("3.6.2");
+ expect(whatsNew.takeUpdateDecision("3.6.3")).toBe(true);
+ // Not remembered until shown: a start that never got to show it asks again.
+ expect(whatsNew.takeUpdateDecision("3.6.3")).toBe(true);
+ whatsNew.markUpdateToastShown("3.6.3");
+ expect(whatsNew.takeUpdateDecision("3.6.3")).toBe(false);
+ expect(whatsNew.takeUpdateDecision("3.6.2")).toBe(false);
+ expect(storage.getItem(whatsNew.LAST_VERSION_STORAGE_KEY)).toBe("3.6.3");
+ });
+});
+
+describe("menu dot and opening", () => {
+ test("dot until the notes were opened on this version", () => {
+ expect(whatsNew.hasUnseenNotes(null, "3.6.3")).toBe(true);
+ expect(whatsNew.hasUnseenNotes("3.6.2", "3.6.3")).toBe(true);
+ expect(whatsNew.hasUnseenNotes("3.6.3", "3.6.3")).toBe(false);
+ });
+
+ test("opening stores the version, opens the sheet and records whats_new_opened", () => {
+ ensureInspectorInstalled();
+ const inspector = (window as unknown as { __omnirush: { events: (limit?: number) => Array<{ name: string; data?: unknown }>; clearEvents: () => void } }).__omnirush;
+ inspector.clearEvents();
+ whatsNew.openWhatsNew("palette");
+ const state = whatsNew.useWhatsNewStore.getState();
+ expect(state.open).toBe(true);
+ expect(state.openedVersion).toBe(whatsNew.displayVersion());
+ expect(storage.getItem(whatsNew.OPENED_VERSION_STORAGE_KEY)).toBe(whatsNew.displayVersion());
+ expect(inspector.events(50).map((entry) => entry.name)).toContain("analytics.whats_new_opened");
+ whatsNew.closeWhatsNew();
+ expect(whatsNew.useWhatsNewStore.getState().open).toBe(false);
+ });
+});
+
+describe("sheet content", () => {
+ test("inline code", () => {
+ expect(whatsNew.inlineParts("Use `/undo` or `omnirush notify` now")).toEqual([
+ { code: false, text: "Use " },
+ { code: true, text: "/undo" },
+ { code: false, text: " or " },
+ { code: true, text: "omnirush notify" },
+ { code: false, text: " now" },
+ ]);
+ expect(whatsNew.inlineParts("a ` lone tick")).toEqual([{ code: false, text: "a ` lone tick" }]);
+ expect(renderToStaticMarkup(<WhatsNewText text="Run `x`" />)).toContain("<code");
+ });
+
+ test("current version first with a badge, groups in order, empty groups hidden", () => {
+ const releases = [
+ { version: "3.6.3", date: "2026-10-20", new: ["A `b`"], improved: [], fixed: ["C"] },
+ { version: "3.6.2", date: "2026-10-19", new: [], improved: ["D"], fixed: [] },
+ ];
+ const markup = renderToStaticMarkup(<WhatsNewReleases releases={releases} version="3.6.3" />);
+ expect(markup.indexOf('data-whats-new-release="3.6.3"')).toBeLessThan(markup.indexOf('data-whats-new-release="3.6.2"'));
+ const current = markup.slice(0, markup.indexOf('data-whats-new-release="3.6.2"'));
+ expect(current).toContain('data-current="true"');
+ expect(current).toContain("Current");
+ expect(current).toContain('data-whats-new-group="new"');
+ expect(current).not.toContain('data-whats-new-group="improved"');
+ expect(current.indexOf('data-whats-new-group="new"')).toBeLessThan(current.indexOf('data-whats-new-group="fixed"'));
+ expect(current).toContain("<code");
+ const older = markup.slice(markup.indexOf('data-whats-new-release="3.6.2"'));
+ expect(older).not.toContain("data-current");
+ expect(older).toContain('data-whats-new-group="improved"');
+ expect(older).not.toContain('data-whats-new-group="fixed"');
+ });
+
+ test("the real data renders every desktop release", () => {
+ const markup = renderToStaticMarkup(<WhatsNewReleases version={whatsNew.desktopReleases[0]!.version} />);
+ for (const release of whatsNew.desktopReleases) expect(markup).toContain(`data-whats-new-release="${release.version}"`);
+ expect(markup.match(/data-current="true"/g)?.length).toBe(1);
+ });
+});
diff --git a/apps/desktop/electron/app-menu.mjs b/apps/desktop/electron/app-menu.mjs
index f3b78ad6..5822fe3c 100644
--- a/apps/desktop/electron/app-menu.mjs
+++ b/apps/desktop/electron/app-menu.mjs
@@ -11,6 +11,7 @@ const NATIVE_MENU_TOGGLE_SIDEBAR_EVENT = "omnirush:native-menu:toggle-sidebar";
const NATIVE_MENU_CHECK_UPDATES_EVENT = "omnirush:native-menu:check-updates";
const NATIVE_MENU_ZOOM_EVENT = "omnirush:native-menu:zoom";
const NATIVE_MENU_SEND_FEEDBACK_EVENT = "omnirush:native-menu:send-feedback";
+const NATIVE_MENU_WHATS_NEW_EVENT = "omnirush:native-menu:whats-new";
export function createApplicationMenu({ appName, docsUrl, getWindow }) {
let applicationMenuVisible = process.platform === "darwin";
@@ -41,6 +42,15 @@ export function createApplicationMenu({ appName, docsUrl, getWindow }) {
win.webContents.send(NATIVE_MENU_SEND_FEEDBACK_EVENT);
}
+ // Help > What's New: the window opens its release notes sheet.
+ async function whatsNewFromNativeMenu() {
+ const win = await getWindow();
+ if (win.isMinimized()) win.restore();
+ win.show();
+ win.focus();
+ win.webContents.send(NATIVE_MENU_WHATS_NEW_EVENT);
+ }
+
async function toggleSidebarFromNativeMenu() {
const win = await getWindow();
win.webContents.send(NATIVE_MENU_TOGGLE_SIDEBAR_EVENT);
@@ -216,6 +226,13 @@ export function createApplicationMenu({ appName, docsUrl, getWindow }) {
},
{ type: "separator" },
]),
+ {
+ label: "What's New",
+ click: () => {
+ runDetachedTask("open what's new from menu", whatsNewFromNativeMenu);
+ },
+ },
+ { type: "separator" },
{
label: "Send Feedback…",
click: () => {
diff --git a/apps/desktop/electron/preload.mjs b/apps/desktop/electron/preload.mjs
index f2d2a4a9..979554f5 100644
--- a/apps/desktop/electron/preload.mjs
+++ b/apps/desktop/electron/preload.mjs
@@ -370,6 +370,12 @@ ipcRenderer.on("omnirush:native-menu:send-feedback", () => {
window.dispatchEvent(new Event("omnirush:native-menu:send-feedback"));
});
+// Help > What's New (app-menu.mjs): the window opens its release notes sheet.
+ipcRenderer.on("omnirush:native-menu:whats-new", () => {
+ if (typeof window === "undefined") return;
+ window.dispatchEvent(new Event("omnirush:native-menu:whats-new"));
+});
+
// In-app feedback (feedback-desktop.mjs EVENT_CHANNEL): { name, properties } for the app's analytics (labels only).
ipcRenderer.on("omnirush:feedback:event", (_event, detail) => {
if (typeof window === "undefined") return;