Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Add a searchable About & updates section (part of PRD-9082) (#5808)

Andrew Mikofalvy67cf60fb0a83
diff --git a/.changeset/prd-9082-about-and-updates.md b/.changeset/prd-9082-about-and-updates.md
new file mode 100644
index 000000000..451769505
--- /dev/null
+++ b/.changeset/prd-9082-about-and-updates.md
@@ -0,0 +1,5 @@
+---
+"@inkeep/open-knowledge": minor
+---
+
+The desktop app's Settings now has a searchable About & updates page with the installed version, a Check for updates button and release notes, and the Help popover shows the version with a Check for updates action.
diff --git a/docs/content/reference/what-open-knowledge-writes.mdx b/docs/content/reference/what-open-knowledge-writes.mdx
index 163abc408..dfc9955d1 100644
--- a/docs/content/reference/what-open-knowledge-writes.mdx
+++ b/docs/content/reference/what-open-knowledge-writes.mdx
@@ -67,7 +67,7 @@ On every platform the app writes app-level state and logs on launch. The table b
| `~/Library/Application Support/OpenKnowledge/bug-report-main-thread-stall.json` | Main-thread stall snapshot. When the liveness witness first sees the main thread blocked for at least 15 seconds, the same background worker writes this file at once, then briefly pauses the main thread to read where it is and resumes it straight away. It holds function names and script locations from the app's own code, and the Node.js runtime beneath it, at the moment of a freeze: at most 24 frames, never document content. A freeze inside native code only lets the pause land once the main thread returns to the app's code, so the file records how long that took, and a session that ended before then keeps the record written when the freeze was first seen. One snapshot per freeze; a later freeze in the same session overwrites it, through a `.tmp-` sibling during each write. A freeze the app recovers from is also noted in the desktop log as it recovers. Read at the next launch; left in place on a clean quit and overwritten by the next freeze. It does not change whether the app prompts you | Outside-project (home dir) |
| `~/Library/Application Support/OpenKnowledge/bug-report-main-exit.json` | Main-process exit record. Written only when the main process exits without the app having marked a clean quit, for example when code ends the process directly instead of going through the normal quit path. It holds the session's identifier, the time, and the exit code. A crash or a forced kill never gets to write it, which is how the next launch tells those endings apart from an exit the app ran itself. Read only at the next launch, where the result lands in the desktop log a bug report carries; left in place and overwritten by the next such exit. It does not change whether the app prompts you | Outside-project (home dir) |
-Stable registers `openknowledge://`; Beta registers `openknowledge-beta://`. Both check for updates — on launch and periodically while running — against separate Stable/Beta paths on the OpenKnowledge update service at `openknowledge.ai/updates`, which redirects to the matching GitHub release asset and counts the update per version and channel (Stable alone can fall back to GitHub directly if the proxy is unreachable). On macOS and Windows an update on your channel downloads in the background and installs on the next quit; on Linux — where there is no apt/rpm repository — the app downloads the new deb/rpm from the release feed and asks you to authorize the install (a `pkexec` password prompt) each time. You can also check on demand from **Check for updates…** in the app and Help menus; if the check finds a new version but its download fails, the app tells you so you can try again. The channel is fixed by the product you installed. Older Beta installations named `OpenKnowledge` continue receiving Beta updates in place, preserving their existing settings and CLI commands; they do not silently become the separately installed `OpenKnowledge Beta` app. Reinstall Stable from `openknowledge.ai/download` or Beta from `openknowledge.ai/download/beta`; Windows and Linux installers are available from [GitHub Releases](https://github.com/inkeep/open-knowledge/releases). Override the feed with `OK_UPDATER_FEED_URL`.
+Stable registers `openknowledge://`; Beta registers `openknowledge-beta://`. Both check for updates — on launch and periodically while running — against separate Stable/Beta paths on the OpenKnowledge update service at `openknowledge.ai/updates`, which redirects to the matching GitHub release asset and counts the update per version and channel (Stable alone can fall back to GitHub directly if the proxy is unreachable). On macOS and Windows an update on your channel downloads in the background and installs on the next quit; on Linux — where there is no apt/rpm repository — the app downloads the new deb/rpm from the release feed and asks you to authorize the install (a `pkexec` password prompt) each time. You can also check on demand from **Check for updates…** in the app and Help menus, from **Check for updates** in the Help (**?**) popover once the updater has started, or from **Settings → About & updates**, which also shows the installed version and opens its release notes. If the check finds a new version but its download fails, the app tells you so you can try again. The channel is fixed by the product you installed. Older Beta installations named `OpenKnowledge` continue receiving Beta updates in place, preserving their existing settings and CLI commands; they do not silently become the separately installed `OpenKnowledge Beta` app. Reinstall Stable from `openknowledge.ai/download` or Beta from `openknowledge.ai/download/beta`; Windows and Linux installers are available from [GitHub Releases](https://github.com/inkeep/open-knowledge/releases). Override the feed with `OK_UPDATER_FEED_URL`.
On its first launch the app also opens your default browser once to `openknowledge.ai/continue`, to check whether you installed from a share link and redeem it if so; the exchange completes over a short-lived local loopback listener.
diff --git a/packages/app/src/components/HelpPopover.dom.test.tsx b/packages/app/src/components/HelpPopover.dom.test.tsx
index 6ac54d64c..9d564c94b 100644
--- a/packages/app/src/components/HelpPopover.dom.test.tsx
+++ b/packages/app/src/components/HelpPopover.dom.test.tsx
@@ -1,5 +1,5 @@
import * as actualLinguiMacro from '@lingui/react/macro';
-import { cleanup, render, screen, waitFor, within } from '@testing-library/react';
+import { act, cleanup, render, screen, waitFor, within } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import type { ReactNode } from 'react';
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
@@ -170,7 +170,9 @@ describe('HelpPopover runtime behavior', () => {
describe('HelpPopover with the desktop bridge present', () => {
beforeEach(() => {
- (window as unknown as { okDesktop?: unknown }).okDesktop = {};
+ (window as unknown as { okDesktop?: unknown }).okDesktop = {
+ state: { query: async () => ({ channel: 'latest', schemaIncompatibility: null }) },
+ };
});
afterEach(() => {
@@ -211,6 +213,144 @@ describe('HelpPopover with the desktop bridge present', () => {
});
});
+describe('HelpPopover version and updates on the desktop app', () => {
+ function aboutInfo(updateChecks: 'available' | 'unavailable') {
+ return {
+ productName: 'OpenKnowledge Beta',
+ version: '0.83.0-beta.8',
+ releasesUrl: 'https://example.test/releases',
+ releaseNotesUrl: 'https://example.test/releases/tag/v0.83.0-beta.8',
+ updateChecks,
+ };
+ }
+
+ function installBridge(updateChecks: 'available' | 'unavailable' | null) {
+ const checkNow = vi.fn(async () => {});
+ const snapshot = (checks: 'available' | 'unavailable' | null) => ({
+ channel: 'latest' as const,
+ schemaIncompatibility: null,
+ ...(checks ? { about: aboutInfo(checks) } : {}),
+ });
+ const query = vi.fn(async () => snapshot(updateChecks));
+ (window as unknown as { okDesktop?: unknown }).okDesktop = {
+ appVersion: '0.83.0-beta.8',
+ update: { checkNow },
+ state: { query },
+ };
+ return { checkNow, query, snapshot };
+ }
+
+ async function waitForAboutData() {
+ const nav = screen.getByRole('navigation', { name: 'Product updates' });
+ await waitFor(() =>
+ expect(within(nav).getByRole('link', { name: "What's new" }).getAttribute('href')).toBe(
+ 'https://example.test/releases',
+ ),
+ );
+ }
+
+ afterEach(() => {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+ window.location.hash = '';
+ });
+
+ test('the version row opens Settings at About & updates', async () => {
+ installBridge('available');
+ await renderOpenHelpPopover();
+
+ await userEvent.click(screen.getByRole('button', { name: 'v0.83.0-beta.8 About & updates' }));
+
+ expect(window.location.hash).toBe('#settings/about');
+ });
+
+ test('Check for updates starts a check when the updater is running', async () => {
+ const { checkNow } = installBridge('available');
+ await renderOpenHelpPopover();
+
+ const nav = screen.getByRole('navigation', { name: 'Product updates' });
+ await userEvent.click(await within(nav).findByRole('button', { name: 'Check for updates' }));
+
+ expect(checkNow).toHaveBeenCalledTimes(1);
+ });
+
+ test('What’s new follows the release page the installed build names', async () => {
+ installBridge('available');
+ await renderOpenHelpPopover();
+
+ await waitForAboutData();
+ });
+
+ test('Check for updates is absent when the updater did not start', async () => {
+ installBridge('unavailable');
+ await renderOpenHelpPopover();
+
+ await waitForAboutData();
+ expect(screen.getByRole('button', { name: 'v0.83.0-beta.8 About & updates' })).not.toBeNull();
+ expect(screen.queryByRole('button', { name: 'Check for updates' })).toBeNull();
+ });
+
+ test('reopening the popover picks up an updater that finished booting', async () => {
+ const { query, snapshot } = installBridge('unavailable');
+ await renderOpenHelpPopover();
+ await waitForAboutData();
+ expect(screen.queryByRole('button', { name: 'Check for updates' })).toBeNull();
+
+ query.mockResolvedValue(snapshot('available'));
+ await userEvent.keyboard('{Escape}');
+ await userEvent.click(screen.getByRole('button', { name: 'Resources' }));
+
+ const nav = screen.getByRole('navigation', { name: 'Product updates' });
+ expect(await within(nav).findByRole('button', { name: 'Check for updates' })).not.toBeNull();
+ });
+
+ test('a failed About read or check leaves a renderer log entry', async () => {
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {});
+ try {
+ const { query, checkNow } = installBridge('available');
+ const queryError = new Error('state query gone');
+ query.mockRejectedValueOnce(queryError);
+ await renderOpenHelpPopover();
+ await waitFor(() =>
+ expect(warn).toHaveBeenCalledWith('[help-popover] bridge.state.query() failed', queryError),
+ );
+
+ const checkError = new Error('check-now handler removed');
+ checkNow.mockRejectedValueOnce(checkError);
+ await userEvent.keyboard('{Escape}');
+ await userEvent.click(screen.getByRole('button', { name: 'Resources' }));
+ const nav = screen.getByRole('navigation', { name: 'Product updates' });
+ await userEvent.click(await within(nav).findByRole('button', { name: 'Check for updates' }));
+ await waitFor(() =>
+ expect(warn).toHaveBeenCalledWith(
+ '[help-popover] bridge.update.checkNow() failed',
+ checkError,
+ ),
+ );
+ } finally {
+ warn.mockRestore();
+ }
+ });
+
+ test('an older desktop build without About data keeps the version row only', async () => {
+ installBridge(null);
+ await renderOpenHelpPopover();
+ await act(async () => {});
+
+ expect(screen.getByRole('button', { name: 'v0.83.0-beta.8 About & updates' })).not.toBeNull();
+ expect(screen.queryByRole('button', { name: 'Check for updates' })).toBeNull();
+ expect(screen.getByRole('link', { name: "What's new" }).getAttribute('href')).toBe(
+ 'https://github.com/inkeep/open-knowledge/releases',
+ );
+ });
+
+ test('the web host shows no version row', async () => {
+ await renderOpenHelpPopover();
+
+ expect(screen.queryByRole('button', { name: /^v\d/ })).toBeNull();
+ expect(screen.queryByRole('button', { name: 'Check for updates' })).toBeNull();
+ });
+});
+
describe('HelpPopover core replacement liveness', () => {
test('the star count HelpPopover renders is the one the github-stars replacement serves', async () => {
const since = servedCore.mark();
diff --git a/packages/app/src/components/HelpPopover.tsx b/packages/app/src/components/HelpPopover.tsx
index ef5ba6eed..c643cc4db 100644
--- a/packages/app/src/components/HelpPopover.tsx
+++ b/packages/app/src/components/HelpPopover.tsx
@@ -12,6 +12,7 @@ import {
Mail,
Megaphone,
MessageSquare,
+ RefreshCw,
Star,
} from 'lucide-react';
import type { ComponentProps, FC, ReactNode } from 'react';
@@ -21,10 +22,12 @@ import { SubscribeForm } from '@/components/SubscribeForm';
import { Button } from '@/components/ui/button';
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
+import type { OkAboutInfo } from '@/lib/desktop-bridge-types';
import { dispatchExternalLinkClick } from '@/lib/external-link';
import { feedbackNudgeStore } from '@/lib/feedback-nudge-store';
import { DISCORD_INVITE_URL, DOCS_URL, GITHUB_REPO_URL, X_PROFILE_URL } from '@/lib/social-links';
import { subscribeCardStore } from '@/lib/subscribe-card-store';
+import { openAboutSettings } from '@/lib/use-settings-route';
import { cn } from '@/lib/utils';
import { FeedbackFormDialog } from './FeedbackFormDialog';
import { DiscordIcon } from './icons/discord';
@@ -138,8 +141,28 @@ export const HelpPopover: FC = () => {
const [reportBugOpen, setReportBugOpen] = useState(false);
const [feedbackOpen, setFeedbackOpen] = useState(false);
const [starCount, setStarCount] = useState<number | null>(null);
+ const [about, setAbout] = useState<OkAboutInfo | null>(null);
- const hasDesktopBridge = typeof window !== 'undefined' && window.okDesktop != null;
+ const bridge = typeof window !== 'undefined' ? (window.okDesktop ?? null) : null;
+ const hasDesktopBridge = bridge != null;
+ const appVersion = bridge?.appVersion;
+ const whatsNewHref = about?.releasesUrl ?? WHATS_NEW_HREF;
+
+ useEffect(() => {
+ if (!popoverOpen || !bridge) return;
+ let cancelled = false;
+ bridge.state
+ .query()
+ .then((snapshot) => {
+ if (!cancelled && snapshot.about) setAbout(snapshot.about);
+ })
+ .catch((err: unknown) => {
+ console.warn('[help-popover] bridge.state.query() failed', err);
+ });
+ return () => {
+ cancelled = true;
+ };
+ }, [popoverOpen, bridge]);
useEffect(() => {
if (!popoverOpen || starCount !== null) return;
@@ -236,8 +259,21 @@ export const HelpPopover: FC = () => {
<nav aria-label={t`Product updates`}>
<ul className="space-y-0.5">
<ResourceLinkRow
- link={{ label: msg`What's new`, href: WHATS_NEW_HREF, icon: Megaphone }}
+ link={{ label: msg`What's new`, href: whatsNewHref, icon: Megaphone }}
/>
+ {bridge && about?.updateChecks === 'available' ? (
+ <ActionRow
+ icon={RefreshCw}
+ onSelect={() => {
+ setPopoverOpen(false);
+ bridge.update.checkNow().catch((err: unknown) => {
+ console.warn('[help-popover] bridge.update.checkNow() failed', err);
+ });
+ }}
+ >
+ <Trans>Check for updates</Trans>
+ </ActionRow>
+ ) : null}
<li>
<Popover open={subscribeOpen} onOpenChange={setSubscribeOpen}>
<PopoverTrigger asChild>
@@ -263,6 +299,28 @@ export const HelpPopover: FC = () => {
</ul>
</nav>
</div>
+
+ {appVersion ? (
+ <div className="mt-3 border-t pt-2">
+ <Button
+ variant="ghost"
+ className={cn(
+ rowClassName,
+ 'h-auto w-full justify-start font-mono text-xs font-normal',
+ )}
+ onClick={() => {
+ setPopoverOpen(false);
+ openAboutSettings();
+ }}
+ data-testid="help-popover-version"
+ >
+ <span>v{appVersion}</span>{' '}
+ <span className="ml-auto font-sans text-muted-foreground">
+ <Trans>About & updates</Trans>
+ </span>
+ </Button>
+ </div>
+ ) : null}
</PopoverContent>
</Popover>
{}
diff --git a/packages/app/src/components/NavigatorApp.settings.dom.test.tsx b/packages/app/src/components/NavigatorApp.settings.dom.test.tsx
index 93d6a88b9..ae1edd975 100644
--- a/packages/app/src/components/NavigatorApp.settings.dom.test.tsx
+++ b/packages/app/src/components/NavigatorApp.settings.dom.test.tsx
@@ -1,5 +1,6 @@
import type { ConfigPatch } from '@inkeep/open-knowledge-core/config/schema';
import type {
+ OkAboutInfo,
OkMenuRendererSnapshot,
OkUserConfigPatchResult,
OkUserConfigSnapshot,
@@ -44,6 +45,14 @@ if (globalWithDomShims.ResizeObserver === undefined) {
const ASYNC_TIMEOUT_MS = 4000;
+const NAVIGATOR_ABOUT: OkAboutInfo = {
+ productName: 'OpenKnowledge',
+ version: '1.2.3',
+ releasesUrl: 'https://github.com/inkeep/open-knowledge/releases',
+ releaseNotesUrl: 'https://github.com/inkeep/open-knowledge/releases/tag/v1.2.3',
+ updateChecks: 'available',
+};
+
function mergePatch(target: Record<string, unknown>, patch: Record<string, unknown>) {
for (const [key, value] of Object.entries(patch)) {
const existing = target[key];
@@ -77,6 +86,8 @@ function makeNavigatorBridge(
let diskText = initialText;
const setThemeSource = vi.fn(async () => ({ ok: true as const }));
const setLanguagePreference = vi.fn(async () => ({ ok: true as const }));
+ const openExternal = vi.fn(async (_url: string) => undefined);
+ const checkNow = vi.fn(async () => undefined);
const menuDispatch = vi.fn(async (request: { kind: string }) =>
request.kind === 'query'
? ({
@@ -101,12 +112,20 @@ function makeNavigatorBridge(
platform: 'darwin',
...(options.integrationsMenuItem === undefined ? {} : { menu: { dispatch: menuDispatch } }),
onMenuAction: () => () => {},
- state: { query: async () => ({ channel: 'latest' }) },
+ state: {
+ query: async () => ({
+ channel: 'latest',
+ schemaIncompatibility: null,
+ about: NAVIGATOR_ABOUT,
+ }),
+ },
+ update: { checkNow },
+ onUpdateManualCheck: () => () => {},
onRecentRemovedMissing: () => () => {},
setThemeSource,
setLanguagePreference,
signalThemeApplied: () => {},
- shell: { openExternal: async () => undefined },
+ shell: { openExternal },
project: {
listRecent: async () => [],
removeRecent: async () => undefined,
@@ -133,6 +152,8 @@ function makeNavigatorBridge(
bridge,
patches,
menuDispatch,
+ openExternal,
+ checkNow,
setThemeSource,
setLanguagePreference,
emitChange: (text: string) => {
@@ -198,7 +219,7 @@ describe('NavigatorApp settings', () => {
const dialog = await screen.findByTestId('settings-dialog', {}, { timeout: ASYNC_TIMEOUT_MS });
expect(within(dialog).queryByText('Customize your OpenKnowledge experience.')).toBeNull();
- for (const id of ['preferences', 'hotkeys']) {
+ for (const id of ['preferences', 'hotkeys', 'about']) {
expect(sidebarItem(id).disabled).toBe(false);
}
await waitFor(
@@ -263,6 +284,50 @@ describe('NavigatorApp settings', () => {
expect(screen.queryByTestId('settings-user-config-unavailable')).toBeNull();
});
+ test('About & updates is listed, enabled and opens without a project', async () => {
+ const user = userEvent.setup();
+ const stub = makeNavigatorBridge('');
+ renderNavigator(stub.bridge, { asWindowBridge: true });
+ await screen.findByTestId('settings-dialog', {}, { timeout: ASYNC_TIMEOUT_MS });
+
+ const about = sidebarItem('about');
+ expect(about.textContent).toBe('About & updates');
+ expect(about.disabled).toBe(false);
+ expect(about.getAttribute('aria-disabled')).toBeNull();
+ await user.click(about);
+
+ const section = await screen.findByTestId('settings-about', {}, { timeout: ASYNC_TIMEOUT_MS });
+ expect(sidebarItem('about').getAttribute('aria-current')).toBe('page');
+ expect(within(section).getByTestId('settings-about-version').textContent).toBe('v1.2.3');
+
+ await user.click(await within(section).findByRole('button', { name: 'Release notes' }));
+ expect(stub.openExternal).toHaveBeenCalledWith(NAVIGATOR_ABOUT.releaseNotesUrl);
+
+ await user.click(within(section).getByRole('button', { name: 'Check for updates' }));
+ expect(stub.checkNow).toHaveBeenCalledTimes(1);
+ });
+
+ test('settings search and the version link both reach About & updates', async () => {
+ const user = userEvent.setup();
+ const stub = makeNavigatorBridge('');
+ renderNavigator(stub.bridge, { asWindowBridge: true });
+ await screen.findByTestId('settings-dialog', {}, { timeout: ASYNC_TIMEOUT_MS });
+
+ await user.type(screen.getByTestId('settings-search-input'), 'updates');
+ await user.click(await screen.findByTestId('settings-search-result-section:about'));
+ expect(
+ await screen.findByTestId('settings-about', {}, { timeout: ASYNC_TIMEOUT_MS }),
+ ).not.toBeNull();
+
+ await user.click(sidebarItem('hotkeys'));
+ expect(screen.queryByTestId('settings-about')).toBeNull();
+
+ await user.click(screen.getByTestId('settings-sidebar-version'));
+ expect(
+ await screen.findByTestId('settings-about', {}, { timeout: ASYNC_TIMEOUT_MS }),
+ ).not.toBeNull();
+ });
+
test('settings search skips panes that need a project', async () => {
const stub = makeNavigatorBridge('');
renderNavigator(stub.bridge);
diff --git a/packages/app/src/components/settings/AboutSection.dom.test.tsx b/packages/app/src/components/settings/AboutSection.dom.test.tsx
new file mode 100644
index 000000000..bee82d26d
--- /dev/null
+++ b/packages/app/src/components/settings/AboutSection.dom.test.tsx
@@ -0,0 +1,360 @@
+import * as actualLinguiMacro from '@lingui/react/macro';
+import { act, cleanup, render, screen, waitFor } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import type { ReactNode } from 'react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import type { OkAboutInfo, OkUpdateManualCheckInfo } from '@/lib/desktop-bridge-types';
+import { renderLinguiTemplate } from '@/test-utils/lingui-mock';
+
+vi.doMock('@lingui/react/macro', () => ({
+ ...actualLinguiMacro,
+ Trans: ({ children }: { children: ReactNode }) => <>{children}</>,
+ useLingui: () => ({ t: renderLinguiTemplate }),
+}));
+
+const { AboutSection } = await import('./AboutSection');
+
+const CLOUD_ABOUT: OkAboutInfo = {
+ productName: 'OpenKnowledge Cloud',
+ version: '0.81.5-cloud.1343',
+ releasesUrl: 'https://github.com/inkeep/agents-private/releases',
+ releaseNotesUrl: 'https://github.com/inkeep/agents-private/releases/tag/v0.81.5-cloud.1343',
+ updateChecks: 'available',
+};
+
+function installBridge(about: OkAboutInfo | null, appVersion = about?.version ?? '0.0.0') {
+ const openExternal = vi.fn(async (_url: string) => {});
+ const checkNow = vi.fn(async () => {});
+ const query = vi.fn(async () => ({
+ channel: 'latest' as const,
+ schemaIncompatibility: null,
+ ...(about ? { about } : {}),
+ }));
+ let emitManualCheck: (info: OkUpdateManualCheckInfo) => void = () => {};
+ Object.defineProperty(window, 'okDesktop', {
+ value: {
+ appVersion,
+ shell: { openExternal },
+ update: { checkNow },
+ state: { query },
+ onUpdateManualCheck: (cb: (info: OkUpdateManualCheckInfo) => void) => {
+ emitManualCheck = cb;
+ return () => {};
+ },
+ },
+ configurable: true,
+ writable: true,
+ });
+ return {
+ openExternal,
+ checkNow,
+ query,
+ emit: (info: OkUpdateManualCheckInfo) => emitManualCheck(info),
+ };
+}
+
+afterEach(() => {
+ cleanup();
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+});
+
+describe('AboutSection', () => {
+ test('shows the installed product and its version', async () => {
+ installBridge(CLOUD_ABOUT);
+ render(<AboutSection />);
+
+ expect(await screen.findByText('OpenKnowledge Cloud')).not.toBeNull();
+ expect(screen.getByTestId('settings-about-version').textContent).toBe('v0.81.5-cloud.1343');
+ });
+
+ test('Release notes opens the page the installed build names', async () => {
+ const { openExternal } = installBridge(CLOUD_ABOUT);
+ render(<AboutSection />);
+
+ await userEvent.click(await screen.findByRole('button', { name: 'Release notes' }));
+
+ expect(openExternal).toHaveBeenCalledWith(
+ 'https://github.com/inkeep/agents-private/releases/tag/v0.81.5-cloud.1343',
+ );
+ });
+
+ test('Check for updates starts a check and waits for it to settle', async () => {
+ const { checkNow, emit } = installBridge(CLOUD_ABOUT);
+ render(<AboutSection />);
+
+ await userEvent.click(await screen.findByRole('button', { name: 'Check for updates' }));
+ expect(checkNow).toHaveBeenCalledTimes(1);
+
+ act(() => emit({ phase: 'started' }));
+ const busy = screen.getByRole('button', { name: /Checking for updates/ });
+ expect(busy.getAttribute('aria-disabled')).toBe('true');
+ await userEvent.click(busy);
+ expect(checkNow).toHaveBeenCalledTimes(1);
+
+ act(() => emit({ phase: 'settled' }));
+ const idle = await screen.findByRole('button', { name: 'Check for updates' });
+ expect(idle.hasAttribute('aria-disabled')).toBe(false);
+ expect(idle.hasAttribute('disabled')).toBe(false);
+ });
+
+ test('the busy button keeps keyboard focus while a check runs', async () => {
+ const { emit } = installBridge(CLOUD_ABOUT);
+ render(<AboutSection />);
+
+ const button = await screen.findByRole('button', { name: 'Check for updates' });
+ button.focus();
+ act(() => emit({ phase: 'started' }));
+
+ const busy = screen.getByRole('button', { name: /Checking for updates/ });
+ expect(busy.hasAttribute('disabled')).toBe(false);
+ expect(document.activeElement).toBe(busy);
+ });
+
+ test('a build without a running updater explains why it cannot check', async () => {
+ const { checkNow } = installBridge({ ...CLOUD_ABOUT, updateChecks: 'unavailable' });
+ render(<AboutSection />);
+
+ const button = await screen.findByRole('button', { name: 'Check for updates' });
+ expect(button.hasAttribute('disabled')).toBe(true);
+ expect(screen.getByText('Automatic updates are not available right now.')).not.toBeNull();
+ await userEvent.click(button);
+ expect(checkNow).not.toHaveBeenCalled();
+ });
+
+ test('returning to the window picks up an updater that finished booting', async () => {
+ const { query } = installBridge({ ...CLOUD_ABOUT, updateChecks: 'unavailable' });
+ render(<AboutSection />);
+ await screen.findByText('Automatic updates are not available right now.');
+
+ query.mockResolvedValue({ channel: 'latest', schemaIncompatibility: null, about: CLOUD_ABOUT });
+ act(() => {
+ window.dispatchEvent(new Event('focus'));
+ });
+
+ await waitFor(() =>
+ expect(
+ screen.getByRole('button', { name: 'Check for updates' }).hasAttribute('disabled'),
+ ).toBe(false),
+ );
+ expect(screen.queryByText('Automatic updates are not available right now.')).toBeNull();
+ });
+
+ test('the window becoming visible again rereads the updater state', async () => {
+ const { query } = installBridge({ ...CLOUD_ABOUT, updateChecks: 'unavailable' });
+ render(<AboutSection />);
+ await screen.findByText('Automatic updates are not available right now.');
+
+ query.mockResolvedValue({ channel: 'latest', schemaIncompatibility: null, about: CLOUD_ABOUT });
+ act(() => {
+ document.dispatchEvent(new Event('visibilitychange'));
+ });
+
+ await waitFor(() =>
+ expect(screen.queryByText('Automatic updates are not available right now.')).toBeNull(),
+ );
+ });
+
+ test('a check started elsewhere refreshes a stale unavailable state', async () => {
+ const { query, emit } = installBridge({ ...CLOUD_ABOUT, updateChecks: 'unavailable' });
+ render(<AboutSection />);
+ await screen.findByText('Automatic updates are not available right now.');
+
+ query.mockResolvedValue({ channel: 'latest', schemaIncompatibility: null, about: CLOUD_ABOUT });
+ act(() => emit({ phase: 'settled' }));
+
+ await waitFor(() =>
+ expect(screen.queryByText('Automatic updates are not available right now.')).toBeNull(),
+ );
+ });
+
+ test('a page left open in a focused window picks up an updater that finishes booting', async () => {
+ vi.useFakeTimers();
+ try {
+ const { query } = installBridge({ ...CLOUD_ABOUT, updateChecks: 'unavailable' });
+ render(<AboutSection />);
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(0);
+ });
+ expect(screen.getByText('Automatic updates are not available right now.')).not.toBeNull();
+
+ query.mockResolvedValue({
+ channel: 'latest',
+ schemaIncompatibility: null,
+ about: CLOUD_ABOUT,
+ });
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(5_000);
+ });
+
+ expect(screen.queryByText('Automatic updates are not available right now.')).toBeNull();
+ expect(
+ screen.getByRole('button', { name: 'Check for updates' }).hasAttribute('disabled'),
+ ).toBe(false);
+ } finally {
+ vi.useRealTimers();
+ }
+ });
+
+ test('a build whose updater never starts stops rereading after a bounded wait', async () => {
+ vi.useFakeTimers();
+ try {
+ const { query } = installBridge({ ...CLOUD_ABOUT, updateChecks: 'unavailable' });
+ render(<AboutSection />);
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(120_000);
+ });
+ const readsAfterWait = query.mock.calls.length;
+ expect(readsAfterWait).toBeGreaterThan(1);
+ expect(readsAfterWait).toBeLessThanOrEqual(25);
+
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(600_000);
+ });
+ expect(query.mock.calls.length).toBe(readsAfterWait);
+ } finally {
+ vi.useRealTimers();
+ }
+ });
+
+ test('a failed reread does not stop the wait for the updater', async () => {
+ vi.useFakeTimers();
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {});
+ try {
+ const { query } = installBridge({ ...CLOUD_ABOUT, updateChecks: 'unavailable' });
+ render(<AboutSection />);
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(0);
+ });
+ expect(screen.getByText('Automatic updates are not available right now.')).not.toBeNull();
+
+ query.mockRejectedValueOnce(new Error('state query gone'));
+ query.mockResolvedValue({
+ channel: 'latest',
+ schemaIncompatibility: null,
+ about: CLOUD_ABOUT,
+ });
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(10_000);
+ });
+
+ expect(warn).toHaveBeenCalledWith(
+ '[about-section] bridge.state.query() failed',
+ expect.any(Error),
+ );
+ expect(screen.queryByText('Automatic updates are not available right now.')).toBeNull();
+ expect(
+ screen.getByRole('button', { name: 'Check for updates' }).hasAttribute('disabled'),
+ ).toBe(false);
+ } finally {
+ warn.mockRestore();
+ vi.useRealTimers();
+ }
+ });
+
+ test('a failed first read still reaches an updater that finishes booting', async () => {
+ vi.useFakeTimers();
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {});
+ try {
+ const { query } = installBridge(CLOUD_ABOUT);
+ query.mockRejectedValueOnce(new Error('state query gone'));
+ render(<AboutSection />);
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(0);
+ });
+ expect(screen.queryByRole('button', { name: 'Check for updates' })).toBeNull();
+
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(5_000);
+ });
+
+ expect(
+ screen.getByRole('button', { name: 'Check for updates' }).hasAttribute('disabled'),
+ ).toBe(false);
+ } finally {
+ warn.mockRestore();
+ vi.useRealTimers();
+ }
+ });
+
+ test('a state query that keeps failing stops rereading after a bounded wait', async () => {
+ vi.useFakeTimers();
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {});
+ try {
+ const { query } = installBridge(CLOUD_ABOUT);
+ query.mockRejectedValue(new Error('state query gone'));
+ render(<AboutSection />);
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(120_000);
+ });
+ const readsAfterWait = query.mock.calls.length;
+ expect(readsAfterWait).toBeGreaterThan(1);
+ expect(readsAfterWait).toBeLessThanOrEqual(25);
+
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(600_000);
+ });
+ expect(query.mock.calls.length).toBe(readsAfterWait);
+ } finally {
+ warn.mockRestore();
+ vi.useRealTimers();
+ }
+ });
+
+ test('an available updater is not polled', async () => {
+ vi.useFakeTimers();
+ try {
+ const { query } = installBridge(CLOUD_ABOUT);
+ render(<AboutSection />);
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(60_000);
+ });
+ expect(query).toHaveBeenCalledTimes(1);
+ } finally {
+ vi.useRealTimers();
+ }
+ });
+
+ test('a failed About read or check leaves a renderer log entry', async () => {
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {});
+ try {
+ const { query, checkNow } = installBridge(CLOUD_ABOUT);
+ const queryError = new Error('state query gone');
+ query.mockRejectedValueOnce(queryError);
+ render(<AboutSection />);
+ await waitFor(() =>
+ expect(warn).toHaveBeenCalledWith(
+ '[about-section] bridge.state.query() failed',
+ queryError,
+ ),
+ );
+
+ const checkError = new Error('check-now handler removed');
+ checkNow.mockRejectedValueOnce(checkError);
+ act(() => {
+ window.dispatchEvent(new Event('focus'));
+ });
+ await userEvent.click(await screen.findByRole('button', { name: 'Check for updates' }));
+ await waitFor(() =>
+ expect(warn).toHaveBeenCalledWith(
+ '[about-section] bridge.update.checkNow() failed',
+ checkError,
+ ),
+ );
+ } finally {
+ warn.mockRestore();
+ }
+ });
+
+ test('an older desktop build without About data still shows its version', async () => {
+ const { openExternal, checkNow } = installBridge(null, '0.80.0');
+ render(<AboutSection />);
+
+ await waitFor(() =>
+ expect(screen.getByTestId('settings-about-version').textContent).toBe('v0.80.0'),
+ );
+ expect(screen.queryByRole('button', { name: 'Release notes' })).toBeNull();
+ expect(screen.queryByRole('button', { name: 'Check for updates' })).toBeNull();
+ expect(openExternal).not.toHaveBeenCalled();
+ expect(checkNow).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/app/src/components/settings/AboutSection.tsx b/packages/app/src/components/settings/AboutSection.tsx
new file mode 100644
index 000000000..ac2f89221
--- /dev/null
+++ b/packages/app/src/components/settings/AboutSection.tsx
@@ -0,0 +1,137 @@
+import { Trans } from '@lingui/react/macro';
+import { ArrowUpRight } from 'lucide-react';
+import { useEffect, useState } from 'react';
+import { Button } from '@/components/ui/button';
+import { Spinner } from '@/components/ui/spinner';
+import type { OkAboutInfo } from '@/lib/desktop-bridge-types';
+import { SettingsSectionHeader } from './SettingsSectionHeader';
+
+const UNAVAILABLE_REREAD_INTERVAL_MS = 3000;
+const UNAVAILABLE_REREAD_LIMIT = 20;
+
+export function AboutSection() {
+ const bridge = typeof window !== 'undefined' ? (window.okDesktop ?? null) : null;
+ const [about, setAbout] = useState<OkAboutInfo | null>(null);
+ const [checking, setChecking] = useState(false);
+
+ useEffect(() => {
+ if (!bridge) return;
+ let cancelled = false;
+ const reads: {
+ latest: number;
+ scheduledRereads: number;
+ timer: ReturnType<typeof setTimeout> | undefined;
+ } = { latest: 0, scheduledRereads: 0, timer: undefined };
+ const scheduleReread = () => {
+ if (reads.scheduledRereads >= UNAVAILABLE_REREAD_LIMIT) return;
+ reads.scheduledRereads += 1;
+ reads.timer = setTimeout(readAbout, UNAVAILABLE_REREAD_INTERVAL_MS);
+ };
+ const readAbout = () => {
+ clearTimeout(reads.timer);
+ reads.timer = undefined;
+ const read = reads.latest + 1;
+ reads.latest = read;
+ bridge.state
+ .query()
+ .then((snapshot) => {
+ if (cancelled || read !== reads.latest || !snapshot.about) return;
+ setAbout(snapshot.about);
+ if (snapshot.about.updateChecks === 'unavailable') scheduleReread();
+ })
+ .catch((err: unknown) => {
+ console.warn('[about-section] bridge.state.query() failed', err);
+ if (cancelled || read !== reads.latest) return;
+ scheduleReread();
+ });
+ };
+ const readAboutWhenVisible = () => {
+ if (document.visibilityState === 'visible') readAbout();
+ };
+ readAbout();
+ window.addEventListener('focus', readAbout);
+ document.addEventListener('visibilitychange', readAboutWhenVisible);
+ const unsubscribeManualCheck = bridge.onUpdateManualCheck(({ phase }) => {
+ setChecking(phase === 'started');
+ readAbout();
+ });
+ return () => {
+ cancelled = true;
+ clearTimeout(reads.timer);
+ window.removeEventListener('focus', readAbout);
+ document.removeEventListener('visibilitychange', readAboutWhenVisible);
+ unsubscribeManualCheck();
+ };
+ }, [bridge]);
+
+ if (!bridge) return null;
+ const version = about?.version ?? bridge.appVersion;
+ const updatesUnavailable = about?.updateChecks === 'unavailable';
+
+ return (
+ <section
+ aria-labelledby="settings-about-title"
+ className="space-y-3"
+ data-testid="settings-about"
+ >
+ <SettingsSectionHeader
+ titleId="settings-about-title"
+ title={<Trans>About & updates</Trans>}
+ />
+ <div className="space-y-3 rounded-md border p-3">
+ <div>
+ {about ? <div className="text-sm font-medium">{about.productName}</div> : null}
+ <p
+ className="select-text font-mono text-1sm text-muted-foreground"
+ data-testid="settings-about-version"
+ >
+ v{version}
+ </p>
+ </div>
+ {about ? (
+ <div className="flex flex-wrap items-center gap-2">
+ <Button
+ variant="outline"
+ size="sm"
+ disabled={updatesUnavailable}
+ aria-disabled={checking || undefined}
+ className="aria-disabled:opacity-50"
+ onClick={() => {
+ if (checking) return;
+ bridge.update.checkNow().catch((err: unknown) => {
+ console.warn('[about-section] bridge.update.checkNow() failed', err);
+ });
+ }}
+ data-testid="settings-about-check-for-updates"
+ >
+ {checking ? (
+ <>
+ <Spinner aria-hidden="true" />
+ <Trans>Checking for updates</Trans>
+ </>
+ ) : (
+ <Trans>Check for updates</Trans>
+ )}
+ </Button>
+ <Button
+ variant="ghost"
+ size="sm"
+ onClick={() => {
+ void bridge.shell.openExternal(about.releaseNotesUrl);
+ }}
+ data-testid="settings-about-release-notes"
+ >
+ <Trans>Release notes</Trans>
+ <ArrowUpRight aria-hidden="true" className="size-3" />
+ </Button>
+ </div>
+ ) : null}
+ {updatesUnavailable ? (
+ <p className="text-1sm text-muted-foreground">
+ <Trans>Automatic updates are not available right now.</Trans>
+ </p>
+ ) : null}
+ </div>
+ </section>
+ );
+}
diff --git a/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx b/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx
index 91ffc24ac..a5314ff97 100644
--- a/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx
+++ b/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx
@@ -455,6 +455,21 @@ describe('SettingsDialogBody section runtime dispatch', () => {
expect(screen.getByTestId('settings-scope-badge-user')).not.toBeNull();
});
+ test('the About & updates page shows the installed version', async () => {
+ const w = window as unknown as { okDesktop?: unknown };
+ w.okDesktop = {
+ appVersion: '1.2.3',
+ state: { query: async () => ({ channel: 'latest', schemaIncompatibility: null }) },
+ onUpdateManualCheck: () => () => {},
+ };
+ try {
+ await renderBody({ activeId: 'about' });
+ expect((await screen.findByTestId('settings-about-version')).textContent).toBe('v1.2.3');
+ } finally {
+ w.okDesktop = undefined;
+ }
+ });
+
test('the Account page mounts the Enterprise hosts card from the user binding', async () => {
const { bindConfigDoc } = await import('@inkeep/open-knowledge-core');
const { Doc } = await import('yjs');
diff --git a/packages/app/src/components/settings/SettingsDialogBody.tsx b/packages/app/src/components/settings/SettingsDialogBody.tsx
index 0724a875a..1ff358b80 100644
--- a/packages/app/src/components/settings/SettingsDialogBody.tsx
+++ b/packages/app/src/components/settings/SettingsDialogBody.tsx
@@ -13,6 +13,7 @@ function lazySection<Props>(load: () => Promise<ComponentType<Props>>) {
return lazy(async () => ({ default: await load() }));
}
+const AboutSection = lazySection(async () => (await import('./AboutSection')).AboutSection);
const SharingSection = lazySection(async () => (await import('./SharingSection')).SharingSection);
const AccountSection = lazySection(async () => (await import('./AccountSection')).AccountSection);
const AgentConnectionsSection = lazySection(
@@ -258,5 +259,8 @@ export function SettingsDialogBody({
if (activeId === 'claude-desktop') {
return <IntegrationsSection />;
}
+ if (activeId === 'about') {
+ return <AboutSection />;
+ }
return null;
}
diff --git a/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsx b/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsx
index 4f2892448..0d7969a05 100644
--- a/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsx
+++ b/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsx
@@ -205,6 +205,63 @@ describe('settings dialog search', () => {
expect(latestProbe()?.activeId).toBe('account');
});
+ describe('in the desktop app', () => {
+ beforeEach(() => {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = {
+ platform: 'linux',
+ appVersion: '0.81.5-cloud.1343',
+ config: { ptyAvailable: false },
+ };
+ });
+
+ afterEach(() => {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+ });
+
+ test('About & updates is findable as "update" and as "about"', async () => {
+ const user = userEvent.setup();
+ render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);
+ const input = screen.getByTestId('settings-search-input');
+
+ for (const query of ['update', 'about', 'version', 'release notes']) {
+ await user.clear(input);
+ await user.type(input, query);
+ expect(await screen.findByTestId('settings-search-result-section:about')).toBeTruthy();
+ }
+
+ await user.click(screen.getByTestId('settings-search-result-section:about'));
+ expect(latestProbe()?.activeId).toBe('about');
+ });
+
+ test('About & updates is the last sidebar entry, under App', () => {
+ render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);
+
+ const items = screen.getAllByTestId(/^settings-sidebar-item-/);
+ expect(items.at(-1)?.getAttribute('data-testid')).toBe('settings-sidebar-item-about');
+ expect(screen.getByRole('heading', { name: 'App' })).toBeTruthy();
+ });
+
+ test('the sidebar version label opens About & updates in place', async () => {
+ const user = userEvent.setup();
+ render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);
+
+ await user.click(screen.getByRole('button', { name: 'v0.81.5-cloud.1343 About & updates' }));
+
+ expect(latestProbe()?.activeId).toBe('about');
+ });
+ });
+
+ test('the web host has no About & updates section', async () => {
+ const user = userEvent.setup();
+ render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);
+
+ await user.type(screen.getByTestId('settings-search-input'), 'update');
+ await waitFor(() => {
+ expect(screen.getByTestId('settings-search-empty')).toBeDefined();
+ });
+ expect(screen.queryByTestId('settings-search-result-section:about')).toBeNull();
+ });
+
test('a markdownlint rule is searchable when the plugin is enabled', async () => {
const user = userEvent.setup();
render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);
diff --git a/packages/app/src/components/settings/SettingsDialogShell.tsx b/packages/app/src/components/settings/SettingsDialogShell.tsx
index 59257a1f4..2f0abd1bd 100644
--- a/packages/app/src/components/settings/SettingsDialogShell.tsx
+++ b/packages/app/src/components/settings/SettingsDialogShell.tsx
@@ -4,12 +4,12 @@
import { SHOW_INSTALL_SKILL } from '@inkeep/open-knowledge-core/constants/feature-flags';
import { Plural, Trans, useLingui } from '@lingui/react/macro';
-import { ArrowUpRight } from 'lucide-react';
import { Suspense, useEffect, useRef, useState, useSyncExternalStore } from 'react';
import { matchesCommandQuery, splitTextByQueryMatches } from '@/components/command-palette-search';
import { SettingsDialogBodyLazy } from '@/components/settings/SettingsDialogBodyLazy';
import { SettingsDialogErrorBoundary } from '@/components/settings/SettingsDialogErrorBoundary';
import { UPDATE_CHECKING_NOTICE_ID } from '@/components/UpdateNotices.shared';
+import { Button } from '@/components/ui/button';
import {
Command,
CommandEmpty,
@@ -21,6 +21,7 @@ import {
import { Dialog, DialogContent, DialogDescription, DialogTitle } from '@/components/ui/dialog';
import { electronDragBandClearance } from '@/components/ui/electron-drag-strip';
import { Skeleton } from '@/components/ui/skeleton';
+import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip';
import { useDocumentContext } from '@/editor/DocumentContext';
import type { ConfigContextValue } from '@/lib/config-context';
import { useConfigContext } from '@/lib/config-provider';
@@ -44,10 +45,6 @@ import { buildSettingsSearchIndex, type SettingsSearchEntry } from './settings-s
import { AGENT_CONNECTIONS_SECTION_LABEL } from './settings-section-labels';
import type { SidebarGroup, SidebarItem, SidebarSubsection } from './settings-sidebar-types';
-function releaseNotesUrl(version: string): string {
- return `https://github.com/inkeep/open-knowledge/releases/tag/v${encodeURIComponent(version)}`;
-}
-
const LEGACY_SECTION_ALIASES: Record<string, { sectionId: string; anchor: string }> = {
'ai-tools': { sectionId: 'agent-connections', anchor: 'section:agent-connections' },
'project-ai-tools': { sectionId: 'agent-connections', anchor: 'section:agent-connections' },
@@ -422,6 +419,29 @@ function SettingsDialogFrame({
? [{ id: 'claude-desktop', label: t`Claude Desktop` }]
: [],
},
+ ...(isOkDesktopHost
+ ? ([
+ {
+ id: 'app',
+ label: t`App`,
+ enabled: true,
+ items: [
+ {
+ id: 'about',
+ label: t`About & updates`,
+ userScope: true,
+ keywords: [
+ t({ message: 'update', context: 'settings search keyword' }),
+ t({ message: 'version', context: 'settings search keyword' }),
+ t({ message: 'about', context: 'settings search keyword' }),
+ t`Release notes`,
+ t`Check for updates`,
+ ],
+ },
+ ],
+ },
+ ] satisfies SidebarGroup[])
+ : []),
];
const groups = scopeSettingsGroupsForHost(declaredGroups, host);
@@ -613,7 +633,7 @@ function SettingsSidebar({
/>
))
: null}
- <SettingsSidebarVersion />
+ <SettingsSidebarVersion onSelect={onSelect} />
</div>
</nav>
);
@@ -656,23 +676,35 @@ function SettingsSearchResultItem({
);
}
-function SettingsSidebarVersion() {
+function SettingsSidebarVersion({ onSelect }: { onSelect: (id: string) => void }) {
const { t } = useLingui();
const notices = useSyncExternalStore(subscribeToNotices, getNoticesSnapshot, getNoticesSnapshot);
- const bridge = typeof window !== 'undefined' ? (window.okDesktop ?? null) : null;
- const version = bridge?.appVersion;
- if (!bridge || !version) return null;
+ const version = typeof window !== 'undefined' ? window.okDesktop?.appVersion : undefined;
+ if (!version) return null;
const checkingForUpdates = notices.some((notice) => notice.id === UPDATE_CHECKING_NOTICE_ID);
- const url = releaseNotesUrl(version);
return (
<div className="ml-auto shrink-0 px-2 sm:ml-0 sm:mt-auto sm:pt-3">
- <p
- className="whitespace-nowrap font-mono text-xs text-muted-foreground/70"
- data-testid="settings-sidebar-version"
- >
- v{version}
- </p>
+ <TooltipProvider>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <Button
+ variant="link"
+ onClick={() => onSelect('about')}
+ data-testid="settings-sidebar-version"
+ className="h-auto whitespace-nowrap p-0 font-mono text-xs font-normal text-muted-foreground/70 hover:text-foreground"
+ >
+ v{version}{' '}
+ <span className="sr-only">
+ <Trans>About & updates</Trans>
+ </span>
+ </Button>
+ </TooltipTrigger>
+ <TooltipContent>
+ <Trans>About & updates</Trans>
+ </TooltipContent>
+ </Tooltip>
+ </TooltipProvider>
<p
role="status"
className="whitespace-nowrap text-xs text-muted-foreground"
@@ -680,20 +712,6 @@ function SettingsSidebarVersion() {
>
{checkingForUpdates ? t`Checking for updates…` : null}
</p>
- <button
- type="button"
- onClick={() => {
- void bridge.shell.openExternal(url);
- }}
- data-testid="settings-sidebar-release-notes"
- className={cn(
- 'mt-0.5 inline-flex items-center gap-1 whitespace-nowrap rounded text-xs text-muted-foreground transition-colors hover:text-foreground',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring',
- )}
- >
- <Trans>Release notes</Trans>
- <ArrowUpRight className="size-3" aria-hidden="true" />
- </button>
</div>
);
}
diff --git a/packages/app/src/components/settings/SettingsDialogShell.update-checking.dom.test.tsx b/packages/app/src/components/settings/SettingsDialogShell.update-checking.dom.test.tsx
index f86b9abd9..4cb1963f8 100644
--- a/packages/app/src/components/settings/SettingsDialogShell.update-checking.dom.test.tsx
+++ b/packages/app/src/components/settings/SettingsDialogShell.update-checking.dom.test.tsx
@@ -108,7 +108,9 @@ describe('SettingsDialogShell sidebar update-check status', () => {
test('shows Checking for updates while a manual check runs and clears it when the check settles', () => {
render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);
- expect(screen.getByTestId('settings-sidebar-version').textContent).toBe('v1.2.3');
+ expect(screen.getByTestId('settings-sidebar-version').textContent).toBe(
+ 'v1.2.3 About & updates',
+ );
const status = screen.getByTestId('settings-sidebar-update-checking');
expect(status.getAttribute('role')).toBe('status');
expect(status.textContent).toBe('');
diff --git a/packages/app/src/components/settings/settings-sidebar-types.ts b/packages/app/src/components/settings/settings-sidebar-types.ts
index 8ba644606..3e49d5b1e 100644
--- a/packages/app/src/components/settings/settings-sidebar-types.ts
+++ b/packages/app/src/components/settings/settings-sidebar-types.ts
@@ -15,7 +15,7 @@ export interface SidebarItem {
}
export interface SidebarGroup {
- id: 'agents' | 'user' | 'project' | 'plugins' | 'integrations';
+ id: 'agents' | 'user' | 'project' | 'plugins' | 'integrations' | 'app';
label: string;
enabled: boolean;
items: SidebarItem[];
diff --git a/packages/app/src/lib/use-settings-route.ts b/packages/app/src/lib/use-settings-route.ts
index 28f33428a..2b6d67541 100644
--- a/packages/app/src/lib/use-settings-route.ts
+++ b/packages/app/src/lib/use-settings-route.ts
@@ -40,6 +40,12 @@ export function openAgentSettings(): void {
openSettingsSection(AGENT_SETTINGS_SECTION);
}
+const ABOUT_SECTION = 'about';
+
+export function openAboutSettings(): void {
+ openSettingsSection(ABOUT_SECTION);
+}
+
const ACCOUNT_SECTION = 'account';
export function openAccountSettings(): void {
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index faf527b8b..1c3eceb73 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -654,6 +654,7 @@
"5ZbJFS": ["تُحفظ نسختك الحالية أولًا، فهذا قابل للتراجع."],
"5_j-DA": ["إنهاء الطرفية"],
"5aahsI": ["لا شيء (", ["0"], " ليس نمطًا صالحًا)"],
+ "5afD3A": ["حول التطبيق والتحديثات"],
"5b3WD-": ["حفظ OpenKnowledge نقطة تحقق"],
"5e1Dri": ["تسمية القائمة التي يختار بها الوكلاء هذا القالب (مطلوبة)."],
"5ecEGe": [
@@ -954,6 +955,7 @@
" — ذلك المجلد ليس هذه المهارة. أعد تسمية إحداهما أو احذفها للحل."
],
"8HxtjY": ["هذه اللغة غير متاحة للتدقيق الإملائي."],
+ "8I3MkQ": ["الإصدار"],
"8Jm2EP": ["بدّل مستويات العناوين من 1 إلى 6."],
"8L0EPw": ["أو الصق رمزًا"],
"8OGgNM": ["افتح بحث المحرر المرئي أو أغلقه."],
@@ -2233,6 +2235,7 @@
]
],
"LKOLNn": ["لا توجد وكلاء ذكاء اصطناعي مثبَّتون"],
+ "LMUw1U": ["التطبيق"],
"LMVNT6": ["يحتاج ", ["agentName"], " إلى تسجيل دخولك."],
"LPAv9E": ["قبل ", ["days"], " يوم"],
"LPLWpO": ["محتوى اللوحة ليس مشهد Excalidraw صالحًا."],
@@ -2807,6 +2810,7 @@
}
]
],
+ "Qe6_xF": ["حول"],
"QeREu8": ["معاد التسمية"],
"QfFBdJ": ["اسم ملف القالب (بدون `.md`)."],
"Qft6eW": ["نقل ", ["0"], " مهارات إلى العام"],
@@ -5304,6 +5308,7 @@
"m2T1Xj": ["الوسم #", ["tagValue"], "، ", ["uses"]],
"m3ocfn": ["يكتب إدخالًا في"],
"m6YGpY": ["يظهر هنا محتوى اللوحة النشطة للتبويب المحدد."],
+ "m6znp-": ["تحديث"],
"mAzs2H": ["تعطيل ", ["file"]],
"mBK8zm": ["/", ["0"], " ليس أمرًا يقدمه هذا الوكيل — سيُرسل كنص عادي"],
"mBltnd": ["اقتراحات المسارات"],
@@ -5598,6 +5603,7 @@
["0"],
" — وقد غيّره شيء خارج OK منذ ذلك الحين. الحالة المعروضة هي ما على القرص الآن؛ وعملية الربط أو فك الربط التالية لديك هي التي تسود."
],
+ "p5kgYT": ["التحديثات التلقائية غير متاحة حاليًا."],
"p7Utw8": ["ليست سمة base16"],
"p98xmP": ["ينطبق على"],
"p9sdCy": ["نمط تجاهل جديد"],
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index 2be8ca58c..26beff2a7 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -1573,6 +1573,11 @@ msgstr "يوجد بالفعل مجلد شجرة عمل للفرع {shareBranch}.
msgid "A worktree folder for that branch already exists."
msgstr "يوجد بالفعل مجلد شجرة عمل لذلك الفرع."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "حول"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "حول"
msgid "About {appName}"
msgstr "حول {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "حول التطبيق والتحديثات"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "أعلى"
@@ -2151,6 +2162,10 @@ msgstr "هل تودّ إضافة شيء؟ (اختياري)"
msgid "API key set"
msgstr "تم ضبط مفتاح API"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "التطبيق"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "مثيل التطبيق: {label}"
@@ -2488,6 +2503,10 @@ msgstr "تلقائي"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "يختار الوضع التلقائي منفذًا متاحًا في كل بدء تشغيل. اختر منفذًا ثابتًا للاحتفاظ بالعنوان نفسه عبر عمليات إعادة التشغيل."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "التحديثات التلقائية غير متاحة حاليًا."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "متاح"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "اسم المحادثة"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "التحقق من التحديثات"
@@ -2988,6 +3010,7 @@ msgstr "يجري البحث عن الوكلاء"
msgid "Checking for Slidev"
msgstr "جارٍ البحث عن Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "يجري التحقق من التحديثات"
@@ -11886,6 +11909,7 @@ msgstr "المسار النسبي"
msgid "Relaunching to install the update…"
msgstr "يجري إعادة التشغيل لتثبيت التحديث…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "غير متتبَّع"
msgid "Up to date"
msgstr "محدَّث"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "تحديث"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "القيمة مطلوبة"
msgid "Values for {keyName}"
msgstr "قيم {keyName}"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "الإصدار"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "عبر {viaTags}"
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index 702d7d21e..69b1937e1 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -545,6 +545,7 @@
"5ZbJFS": ["আপনার বর্তমান সংস্করণটি আগে সংরক্ষণ করা হয়, তাই এটি ফেরানো যায়।"],
"5_j-DA": ["টার্মিনাল বন্ধ করুন"],
"5aahsI": ["কিছুই নয় (", ["0"], " একটি বৈধ প্যাটার্ন নয়)"],
+ "5afD3A": ["সম্পর্কে ও হালনাগাদ"],
"5b3WD-": ["OpenKnowledge একটি চেকপয়েন্ট সংরক্ষণ করেছে"],
"5e1Dri": ["যে মেনু লেবেল দিয়ে এজেন্টরা এই টেমপ্লেটটি বাছে (আবশ্যক)।"],
"5ecEGe": [
@@ -779,6 +780,7 @@
"-এ আছে — ওই ফোল্ডারটি এই স্কিল নয়। মীমাংসার জন্য দুটির একটির নাম বদলান বা মুছে দিন।"
],
"8HxtjY": ["সেই ভাষাটি বানান পরীক্ষার জন্য উপলব্ধ নয়।"],
+ "8I3MkQ": ["সংস্করণ"],
"8Jm2EP": ["শিরোনামের স্তর ১ থেকে ৬ চালু বা বন্ধ করুন।"],
"8L0EPw": ["নয়তো একটি টোকেন পেস্ট করুন"],
"8OGgNM": ["দৃশ্য-সম্পাদকের খোঁজা খুলুন বা বন্ধ করুন।"],
@@ -1910,6 +1912,7 @@
]
],
"LKOLNn": ["কোনো AI এজেন্ট ইনস্টল করা নেই"],
+ "LMUw1U": ["অ্যাপ"],
"LMVNT6": [["agentName"], "-এর জন্য আপনার সাইন ইন প্রয়োজন।"],
"LPAv9E": [["days"], " দিন আগে"],
"LPLWpO": ["বোর্ডের বিষয়বস্তু কোনো বৈধ Excalidraw দৃশ্য নয়।"],
@@ -2389,6 +2392,7 @@
["childCount", "plural", { "one": ["#", " আইটেম"], "other": ["#", " আইটেম"] }],
" আছে"
],
+ "Qe6_xF": ["সম্পর্কে"],
"QeREu8": ["নাম বদলানো হয়েছে"],
"QfFBdJ": ["টেমপ্লেটের ফাইলের নাম (`.md` ছাড়া)।"],
"Qft6eW": [["0"], "টি স্কিল গ্লোবালে সরান"],
@@ -4486,6 +4490,7 @@
"m2T1Xj": ["ট্যাগ #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["এখানে একটি এন্ট্রি লেখে"],
"m6YGpY": ["নির্বাচিত ট্যাবের সক্রিয় প্যানেলের বিষয়বস্তু এখানে দেখা যায়।"],
+ "m6znp-": ["হালনাগাদ"],
"mAzs2H": [["file"], " নিষ্ক্রিয় করুন"],
"mBK8zm": ["/", ["0"], " এই এজেন্টের দেওয়া কোনো কমান্ড নয় — এটি সাধারণ টেক্সট হিসেবে পাঠানো হবে"],
"mBltnd": ["পথের পরামর্শ"],
@@ -4741,6 +4746,7 @@
["0"],
"-এ নির্ধারণ করেছিল — এরপর OK-এর বাইরের কিছু সেটি বদলে দিয়েছে। দেখানো অবস্থাটি এখন ডিস্কে যা আছে তাই; আপনার পরবর্তী Symlink/Unlink কার্যকর হবে।"
],
+ "p5kgYT": ["স্বয়ংক্রিয় হালনাগাদ এখন উপলব্ধ নেই।"],
"p7Utw8": ["এটি base16 থিম নয়"],
"p98xmP": ["যার ক্ষেত্রে প্রযোজ্য"],
"p9sdCy": ["নতুন উপেক্ষার প্যাটার্ন"],
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index e50db8b2f..39b9266d6 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -1569,6 +1569,11 @@ msgstr "{shareBranch}-এর জন্য একটি ওয়ার্কট
msgid "A worktree folder for that branch already exists."
msgstr "ওই ব্রাঞ্চের জন্য একটি ওয়ার্কট্রি ফোল্ডার আগে থেকেই আছে।"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "সম্পর্কে"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1579,6 +1584,12 @@ msgstr "সম্পর্কে"
msgid "About {appName}"
msgstr "{appName} সম্পর্কে"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "সম্পর্কে ও হালনাগাদ"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "উপরে"
@@ -2147,6 +2158,10 @@ msgstr "আর কিছু যোগ করতে চান? (ঐচ্ছি
msgid "API key set"
msgstr "API কী নির্ধারিত"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "অ্যাপ"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "অ্যাপ ইনস্ট্যান্স: {label}"
@@ -2484,6 +2499,10 @@ msgstr "স্বয়ংক্রিয়"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "স্বয়ংক্রিয় প্রতিবার চালু হওয়ার সময় একটি ফাঁকা পোর্ট বেছে নেয়। পুনরায় চালু হওয়ার পরেও একই ঠিকানা রাখতে একটি নির্দিষ্ট পোর্ট বেছে নিন।"
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "স্বয়ংক্রিয় হালনাগাদ এখন উপলব্ধ নেই।"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "উপলব্ধ"
@@ -2932,6 +2951,9 @@ msgid "Chat name"
msgstr "চ্যাটের নাম"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "হালনাগাদ দেখুন"
@@ -2984,6 +3006,7 @@ msgstr "এজেন্ট খোঁজা হচ্ছে"
msgid "Checking for Slidev"
msgstr "Slidev খোঁজা হচ্ছে"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "হালনাগাদ দেখা হচ্ছে"
@@ -11882,6 +11905,7 @@ msgstr "আপেক্ষিক পথ"
msgid "Relaunching to install the update…"
msgstr "হালনাগাদ ইনস্টল করতে আবার চালু করা হচ্ছে…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16240,6 +16264,11 @@ msgstr "ট্র্যাক করা হয়নি"
msgid "Up to date"
msgstr "হালনাগাদ"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "হালনাগাদ"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16508,6 +16537,11 @@ msgstr "মান আবশ্যক"
msgid "Values for {keyName}"
msgstr "{keyName}-এর মান"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "সংস্করণ"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "{viaTags}-এর মাধ্যমে"
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index d7202080d..f4c09238b 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -563,6 +563,7 @@
"5ZbJFS": ["Your current version is saved first, so this is reversible."],
"5_j-DA": ["Kill Terminal"],
"5aahsI": ["nothing (", ["0"], " is not a valid pattern)"],
+ "5afD3A": ["About & updates"],
"5b3WD-": ["OpenKnowledge saved a checkpoint"],
"5e1Dri": ["The menu label agents pick this template by (required)."],
"5ecEGe": [
@@ -810,6 +811,7 @@
" — that folder is not this skill. Rename or delete one of the two to resolve."
],
"8HxtjY": ["That language isn't available for spell checking."],
+ "8I3MkQ": ["version"],
"8Jm2EP": ["Toggle heading levels 1 through 6."],
"8L0EPw": ["or paste a token"],
"8OGgNM": ["Open or close visual-editor find."],
@@ -1971,6 +1973,7 @@
]
],
"LKOLNn": ["No AI agents installed"],
+ "LMUw1U": ["App"],
"LMVNT6": [["agentName"], " needs you to sign in."],
"LPAv9E": [["days"], "d ago"],
"LPLWpO": ["The board's content is not a valid Excalidraw scene."],
@@ -2469,6 +2472,7 @@
" with ",
["childCount", "plural", { "one": ["#", " item"], "other": ["#", " items"] }]
],
+ "Qe6_xF": ["about"],
"QeREu8": ["Renamed"],
"QfFBdJ": ["The template's filename (without `.md`)."],
"Qft6eW": ["Move ", ["0"], " to Global"],
@@ -4639,6 +4643,7 @@
"m2T1Xj": ["Tag #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["Writes an entry to"],
"m6YGpY": ["Active panel content for the selected tab shows here."],
+ "m6znp-": ["update"],
"mAzs2H": ["Disable ", ["file"]],
"mBK8zm": ["/", ["0"], " isn't a command this agent offers — it will be sent as plain text"],
"mBltnd": ["Path suggestions"],
@@ -4909,6 +4914,7 @@
["0"],
" — something outside OK changed it since. The state shown is what's on disk now; your next Symlink/Unlink wins."
],
+ "p5kgYT": ["Automatic updates are not available right now."],
"p7Utw8": ["Not a base16 theme"],
"p98xmP": ["Applies to"],
"p9sdCy": ["New ignore pattern"],
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index 83b2ee75b..d0c90f463 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -1573,6 +1573,11 @@ msgstr "A worktree folder for {shareBranch} already exists."
msgid "A worktree folder for that branch already exists."
msgstr "A worktree folder for that branch already exists."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "about"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "About"
msgid "About {appName}"
msgstr "About {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "About & updates"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "Above"
@@ -2151,6 +2162,10 @@ msgstr "Anything you'd like to add? (optional)"
msgid "API key set"
msgstr "API key set"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "App"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "App instance: {label}"
@@ -2488,6 +2503,10 @@ msgstr "Automatic"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "Automatic updates are not available right now."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Available"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "Chat name"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "Check for updates"
@@ -2988,6 +3010,7 @@ msgstr "Checking for agents"
msgid "Checking for Slidev"
msgstr "Checking for Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "Checking for updates"
@@ -11886,6 +11909,7 @@ msgstr "Relative Path"
msgid "Relaunching to install the update…"
msgstr "Relaunching to install the update…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "Untracked"
msgid "Up to date"
msgstr "Up to date"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "update"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "Value is required"
msgid "Values for {keyName}"
msgstr "Values for {keyName}"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "version"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "via {viaTags}"
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 31b07edca..1afa579a4 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -662,6 +662,7 @@
"5ZbJFS": ["Tu versión actual se guarda primero, así que esto es reversible."],
"5_j-DA": ["Matar la terminal"],
"5aahsI": ["nada (", ["0"], " no es un patrón válido)"],
+ "5afD3A": ["Información y actualizaciones"],
"5b3WD-": ["OpenKnowledge guardó un punto de control"],
"5e1Dri": ["La etiqueta de menú con la que los agentes eligen esta plantilla (obligatoria)."],
"5ecEGe": [
@@ -946,6 +947,7 @@
" vive una habilidad DISTINTA con un nombre parecido a esta; esa carpeta no es esta habilidad. Cambia el nombre o elimina una de las dos para resolverlo."
],
"8HxtjY": ["Ese idioma no está disponible para la corrección ortográfica."],
+ "8I3MkQ": ["versión"],
"8Jm2EP": ["Activa o desactiva los niveles de encabezado del 1 al 6."],
"8L0EPw": ["o pega un token"],
"8OGgNM": ["Abre o cierra la búsqueda del editor visual."],
@@ -2284,6 +2286,7 @@
]
],
"LKOLNn": ["No hay agentes de IA instalados"],
+ "LMUw1U": ["Aplicación"],
"LMVNT6": [["agentName"], " necesita que inicies sesión."],
"LPAv9E": ["hace ", ["days"], " d"],
"LPLWpO": ["El contenido de la pizarra no es una escena de Excalidraw válida."],
@@ -2838,6 +2841,7 @@
{ "one": ["#", " elemento"], "many": ["#", " elementos"], "other": ["#", " elementos"] }
]
],
+ "Qe6_xF": ["acerca de"],
"QeREu8": ["Renombrado"],
"QfFBdJ": ["El nombre de archivo de la plantilla (sin `.md`)."],
"Qft6eW": ["Mover ", ["0"], " a Global"],
@@ -5350,6 +5354,7 @@
"m2T1Xj": ["Etiqueta #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["Escribe una entrada en"],
"m6YGpY": ["Aquí se muestra el contenido del panel activo de la pestaña seleccionada."],
+ "m6znp-": ["actualización"],
"mAzs2H": ["Desactivar ", ["file"]],
"mBK8zm": [
"/",
@@ -5646,6 +5651,7 @@
["0"],
"; algo ajeno a OK lo ha cambiado desde entonces. El estado que se muestra es el que hay ahora en el disco; tu próximo Enlazar/Desenlazar manda."
],
+ "p5kgYT": ["Las actualizaciones automáticas no están disponibles en este momento."],
"p7Utw8": ["No es un tema base16"],
"p98xmP": ["Se aplica a"],
"p9sdCy": ["Patrón de exclusión nuevo"],
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index bd2f2471f..f27d3401f 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -1573,6 +1573,11 @@ msgstr "Ya existe una carpeta de worktree para {shareBranch}."
msgid "A worktree folder for that branch already exists."
msgstr "Ya existe una carpeta de worktree para esa rama."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "acerca de"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "Acerca de"
msgid "About {appName}"
msgstr "Acerca de {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "Información y actualizaciones"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "Arriba"
@@ -2151,6 +2162,10 @@ msgstr "¿Quieres añadir algo? (opcional)"
msgid "API key set"
msgstr "Clave de API definida"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "Aplicación"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "Instancia de la aplicación: {label}"
@@ -2488,6 +2503,10 @@ msgstr "Automático"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "El modo automático elige un puerto libre en cada inicio. Elige un puerto fijo para mantener la misma dirección entre reinicios."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "Las actualizaciones automáticas no están disponibles en este momento."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Disponible"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "Nombre del chat"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "Buscar actualizaciones"
@@ -2988,6 +3010,7 @@ msgstr "Buscando agentes"
msgid "Checking for Slidev"
msgstr "Buscando Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "Buscando actualizaciones"
@@ -11886,6 +11909,7 @@ msgstr "Ruta relativa"
msgid "Relaunching to install the update…"
msgstr "Reiniciando para instalar la actualización…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "Sin seguimiento"
msgid "Up to date"
msgstr "Al día"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "actualización"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "El valor es obligatorio"
msgid "Values for {keyName}"
msgstr "Valores de {keyName}"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "versión"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "vía {viaTags}"
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index a63b6fe13..a4c3fe9d6 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -687,6 +687,7 @@
],
"5_j-DA": ["Forcer la fermeture du terminal"],
"5aahsI": ["rien (", ["0"], " n'est pas un motif valide)"],
+ "5afD3A": ["À propos et mises à jour"],
"5b3WD-": ["OpenKnowledge a enregistré un point de contrôle"],
"5e1Dri": ["Le libellé de menu par lequel les agents choisissent ce modèle (obligatoire)."],
"5ecEGe": [
@@ -975,6 +976,7 @@
" — ce dossier n'est pas cette compétence. Renommez ou supprimez l'une des deux pour résoudre le problème."
],
"8HxtjY": ["Cette langue n'est pas disponible pour la correction orthographique."],
+ "8I3MkQ": ["version"],
"8Jm2EP": ["Bascule les niveaux de titre 1 à 6."],
"8L0EPw": ["ou collez un jeton"],
"8OGgNM": ["Ouvre ou ferme la recherche de l'éditeur visuel."],
@@ -2330,6 +2332,7 @@
]
],
"LKOLNn": ["Aucun agent IA installé"],
+ "LMUw1U": ["Application"],
"LMVNT6": [["agentName"], " a besoin que vous vous connectiez."],
"LPAv9E": ["il y a ", ["days"], " j"],
"LPLWpO": ["Le contenu du tableau n'est pas une scène Excalidraw valide."],
@@ -2880,6 +2883,7 @@
{ "one": ["#", " élément"], "many": ["#", " éléments"], "other": ["#", " éléments"] }
]
],
+ "Qe6_xF": ["à propos"],
"QeREu8": ["Renommé"],
"QfFBdJ": ["Le nom de fichier du modèle (sans `.md`)."],
"Qft6eW": ["Déplacer ", ["0"], " vers Global"],
@@ -5397,6 +5401,7 @@
"m2T1Xj": ["Étiquette #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["Écrit une entrée dans"],
"m6YGpY": ["Le contenu du panneau actif de l'onglet sélectionné s'affiche ici."],
+ "m6znp-": ["mise à jour"],
"mAzs2H": ["Désactiver ", ["file"]],
"mBK8zm": [
"/",
@@ -5693,6 +5698,7 @@
["0"],
" — quelque chose en dehors d'OK l'a modifié depuis. L'état affiché est celui du disque maintenant ; votre prochain Lien symbolique/Dissocier l'emportera."
],
+ "p5kgYT": ["Les mises à jour automatiques ne sont pas disponibles pour le moment."],
"p7Utw8": ["Ce n’est pas un thème base16"],
"p98xmP": ["S'applique à"],
"p9sdCy": ["Nouveau motif d'exclusion"],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index 4f2eb62a7..d67647c41 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -1573,6 +1573,11 @@ msgstr "Un dossier de worktree pour {shareBranch} existe déjà."
msgid "A worktree folder for that branch already exists."
msgstr "Un dossier de worktree pour cette branche existe déjà."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "à propos"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "À propos"
msgid "About {appName}"
msgstr "À propos de {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "À propos et mises à jour"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "Au-dessus"
@@ -2151,6 +2162,10 @@ msgstr "Vous souhaitez ajouter quelque chose ? (facultatif)"
msgid "API key set"
msgstr "Clé API définie"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "Application"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "Instance de l’application : {label}"
@@ -2488,6 +2503,10 @@ msgstr "Automatique"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "Le mode automatique choisit un port libre à chaque démarrage. Choisissez un port fixe pour conserver la même adresse d'un redémarrage à l'autre."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "Les mises à jour automatiques ne sont pas disponibles pour le moment."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Disponible"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "Nom du chat"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "Rechercher les mises à jour"
@@ -2988,6 +3010,7 @@ msgstr "Recherche d'agents"
msgid "Checking for Slidev"
msgstr "Recherche de Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "Recherche de mises à jour"
@@ -11886,6 +11909,7 @@ msgstr "Chemin relatif"
msgid "Relaunching to install the update…"
msgstr "Redémarrage pour installer la mise à jour…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "Non suivi"
msgid "Up to date"
msgstr "À jour"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "mise à jour"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "Une valeur est obligatoire"
msgid "Values for {keyName}"
msgstr "Valeurs de {keyName}"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "version"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "via {viaTags}"
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index 4f00cf9da..fcfbf0ebf 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -548,6 +548,7 @@
"5ZbJFS": ["आपका मौजूदा संस्करण पहले सहेजा जाता है, इसलिए यह वापस लिया जा सकता है।"],
"5_j-DA": ["टर्मिनल समाप्त करें"],
"5aahsI": ["कुछ नहीं (", ["0"], " एक मान्य पैटर्न नहीं है)"],
+ "5afD3A": ["परिचय और अपडेट"],
"5b3WD-": ["OpenKnowledge ने एक चेकपॉइंट सहेजा"],
"5e1Dri": ["वह मेन्यू लेबल जिससे एजेंट यह टेम्पलेट चुनते हैं (आवश्यक)।"],
"5ecEGe": [
@@ -784,6 +785,7 @@
" पर रहती है — वह फ़ोल्डर यह स्किल नहीं है। सुलझाने के लिए दोनों में से एक का नाम बदलें या हटाएँ।"
],
"8HxtjY": ["वह भाषा वर्तनी जाँच के लिए उपलब्ध नहीं है।"],
+ "8I3MkQ": ["संस्करण"],
"8Jm2EP": ["शीर्षक स्तर 1 से 6 तक चालू या बंद करें।"],
"8L0EPw": ["या कोई टोकन चिपकाएँ"],
"8OGgNM": ["दृश्य-संपादक की खोज खोलें या बंद करें।"],
@@ -1911,6 +1913,7 @@
]
],
"LKOLNn": ["कोई AI एजेंट इंस्टॉल नहीं है"],
+ "LMUw1U": ["ऐप"],
"LMVNT6": [["agentName"], " को आपके साइन इन करने की ज़रूरत है।"],
"LPAv9E": [["days"], " दिन पहले"],
"LPLWpO": ["बोर्ड की सामग्री एक मान्य Excalidraw दृश्य नहीं है।"],
@@ -2394,6 +2397,7 @@
["childCount", "plural", { "one": ["#", " आइटम"], "other": ["#", " आइटम"] }],
" हैं"
],
+ "Qe6_xF": ["परिचय"],
"QeREu8": ["नाम बदला गया"],
"QfFBdJ": ["टेम्पलेट का फ़ाइल-नाम (`.md` के बिना)।"],
"Qft6eW": [["0"], " स्किलें ग्लोबल में ले जाएँ"],
@@ -4477,6 +4481,7 @@
"m2T1Xj": ["टैग #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["इसमें एक प्रविष्टि लिखता है"],
"m6YGpY": ["चयनित टैब की सक्रिय पैनल सामग्री यहाँ दिखती है।"],
+ "m6znp-": ["अपडेट"],
"mAzs2H": [["file"], " अक्षम करें"],
"mBK8zm": ["/", ["0"], " इस एजेंट द्वारा दिया जाने वाला कमांड नहीं है — इसे सादे टेक्स्ट के रूप में भेजा जाएगा"],
"mBltnd": ["पथ सुझाव"],
@@ -4735,6 +4740,7 @@
["0"],
" पर सेट किया था — उसके बाद OK के बाहर किसी चीज़ ने इसे बदल दिया। दिखाई गई स्थिति वही है जो अभी डिस्क पर है; आपका अगला Symlink/Unlink प्रभावी होगा।"
],
+ "p5kgYT": ["स्वचालित अपडेट अभी उपलब्ध नहीं हैं।"],
"p7Utw8": ["यह base16 थीम नहीं है"],
"p98xmP": ["किस पर लागू"],
"p9sdCy": ["नया अनदेखा करने का पैटर्न"],
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index 9204ea7e7..f9a6668e5 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -1569,6 +1569,11 @@ msgstr "{shareBranch} के लिए एक वर्कट्री फ़ो
msgid "A worktree folder for that branch already exists."
msgstr "उस ब्रांच के लिए एक वर्कट्री फ़ोल्डर पहले से मौजूद है।"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "परिचय"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1579,6 +1584,12 @@ msgstr "परिचय"
msgid "About {appName}"
msgstr "{appName} के बारे में"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "परिचय और अपडेट"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "ऊपर"
@@ -2147,6 +2158,10 @@ msgstr "कुछ और जोड़ना चाहेंगे? (वैकल
msgid "API key set"
msgstr "API कुंजी सेट है"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "ऐप"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "ऐप इंस्टेंस: {label}"
@@ -2484,6 +2499,10 @@ msgstr "स्वचालित"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "स्वचालित हर बार प्रारंभ पर एक मुक्त port चुनता है। पुनः प्रारंभ के बीच समान पता बनाए रखने के लिए एक निश्चित port चुनें।"
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "स्वचालित अपडेट अभी उपलब्ध नहीं हैं।"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "उपलब्ध"
@@ -2932,6 +2951,9 @@ msgid "Chat name"
msgstr "चैट का नाम"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "अपडेट देखें"
@@ -2984,6 +3006,7 @@ msgstr "एजेंट खोजे जा रहे हैं"
msgid "Checking for Slidev"
msgstr "Slidev खोजा जा रहा है"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "अपडेट देखे जा रहे हैं"
@@ -11882,6 +11905,7 @@ msgstr "सापेक्ष पथ"
msgid "Relaunching to install the update…"
msgstr "अपडेट इंस्टॉल करने के लिए फिर से शुरू किया जा रहा है…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16240,6 +16264,11 @@ msgstr "ट्रैक नहीं किया गया"
msgid "Up to date"
msgstr "अद्यतित"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "अपडेट"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16508,6 +16537,11 @@ msgstr "मान आवश्यक है"
msgid "Values for {keyName}"
msgstr "{keyName} के मान"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "संस्करण"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "{viaTags} के ज़रिए"
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index 47ad7c9d6..aeb849f05 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -575,6 +575,7 @@
"5ZbJFS": ["Versi Anda saat ini disimpan lebih dulu, jadi ini bisa dikembalikan."],
"5_j-DA": ["Matikan Terminal"],
"5aahsI": ["tidak apa pun (", ["0"], " bukan pola yang valid)"],
+ "5afD3A": ["Tentang & pembaruan"],
"5b3WD-": ["OpenKnowledge menyimpan titik pemeriksaan"],
"5e1Dri": ["Label menu yang dipakai agen untuk memilih templat ini (wajib)."],
"5ecEGe": [
@@ -819,6 +820,7 @@
" — folder itu bukan keterampilan ini. Ganti nama atau hapus salah satu dari keduanya untuk menyelesaikannya."
],
"8HxtjY": ["Bahasa itu tidak tersedia untuk pemeriksaan ejaan."],
+ "8I3MkQ": ["versi"],
"8Jm2EP": ["Menyalakan atau mematikan tingkat judul 1 sampai 6."],
"8L0EPw": ["atau tempelkan sebuah token"],
"8OGgNM": ["Membuka atau menutup pencarian penyunting visual."],
@@ -2003,6 +2005,7 @@
]
],
"LKOLNn": ["Tidak ada agen AI yang terpasang"],
+ "LMUw1U": ["Aplikasi"],
"LMVNT6": [["agentName"], " memerlukan Anda untuk masuk."],
"LPAv9E": [["days"], " hr lalu"],
"LPLWpO": ["Konten papan bukan scene Excalidraw yang valid."],
@@ -2485,6 +2488,7 @@
" dengan ",
["childCount", "plural", { "other": ["#", " item"] }]
],
+ "Qe6_xF": ["tentang"],
"QeREu8": ["Diganti nama"],
"QfFBdJ": ["Nama berkas templatnya (tanpa `.md`)."],
"Qft6eW": ["Pindahkan ", ["0"], " ke Global"],
@@ -4641,6 +4645,7 @@
"m2T1Xj": ["Tag #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["Menulis entri ke"],
"m6YGpY": ["Isi panel aktif untuk tab yang dipilih muncul di sini."],
+ "m6znp-": ["pembaruan"],
"mAzs2H": ["Nonaktifkan ", ["file"]],
"mBK8zm": [
"/",
@@ -4909,6 +4914,7 @@
["0"],
" — sesuatu di luar OK mengubahnya sejak itu. Keadaan yang ditampilkan adalah apa yang ada di disk sekarang; Symlink/Lepas tautan Anda berikutnya yang menang."
],
+ "p5kgYT": ["Pembaruan otomatis saat ini tidak tersedia."],
"p7Utw8": ["Bukan tema base16"],
"p98xmP": ["Berlaku untuk"],
"p9sdCy": ["Pola abaikan baru"],
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index a517fee0e..dc6cccfa2 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -1569,6 +1569,11 @@ msgstr "Folder worktree untuk {shareBranch} sudah ada."
msgid "A worktree folder for that branch already exists."
msgstr "Folder worktree untuk cabang itu sudah ada."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "tentang"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1579,6 +1584,12 @@ msgstr "Tentang"
msgid "About {appName}"
msgstr "Tentang {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "Tentang & pembaruan"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "Di atas"
@@ -2147,6 +2158,10 @@ msgstr "Ada yang ingin Anda tambahkan? (opsional)"
msgid "API key set"
msgstr "Kunci API disetel"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "Aplikasi"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "Instans aplikasi: {label}"
@@ -2484,6 +2499,10 @@ msgstr "Otomatis"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "Otomatis memilih port bebas setiap kali dimulai. Pilih port tetap untuk mempertahankan alamat yang sama di seluruh mulai ulang."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "Pembaruan otomatis saat ini tidak tersedia."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Tersedia"
@@ -2932,6 +2951,9 @@ msgid "Chat name"
msgstr "Nama obrolan"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "Periksa pembaruan"
@@ -2984,6 +3006,7 @@ msgstr "Mencari agen"
msgid "Checking for Slidev"
msgstr "Mencari Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "Memeriksa pembaruan"
@@ -11882,6 +11905,7 @@ msgstr "Jalur Relatif"
msgid "Relaunching to install the update…"
msgstr "Memulai ulang untuk memasang pembaruannya…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16240,6 +16264,11 @@ msgstr "Tidak dilacak"
msgid "Up to date"
msgstr "Sudah mutakhir"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "pembaruan"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16508,6 +16537,11 @@ msgstr "Nilai wajib diisi"
msgid "Values for {keyName}"
msgstr "Nilai untuk {keyName}"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "versi"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "via {viaTags}"
diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.json
index 42478ab5c..4bca1676c 100644
--- a/packages/app/src/locales/ko/messages.json
+++ b/packages/app/src/locales/ko/messages.json
@@ -549,6 +549,7 @@
"5ZbJFS": ["현재 버전이 먼저 저장되므로 되돌릴 수 있습니다."],
"5_j-DA": ["터미널 종료"],
"5aahsI": ["없음 (", ["0"], "로는 유효한 패턴이 아님)"],
+ "5afD3A": ["정보 및 업데이트"],
"5b3WD-": ["OpenKnowledge에서 체크포인트 저장"],
"5e1Dri": ["에이전트가 이 템플릿을 선택할 때 사용하는 메뉴 레이블입니다(필수)."],
"5ecEGe": [
@@ -790,6 +791,7 @@
"에 있습니다. 해당 폴더는 이 스킬이 아닙니다. 둘 중 하나를 이름 변경하거나 삭제해 해결하세요."
],
"8HxtjY": ["해당 언어는 맞춤법 검사에서 지원되지 않습니다."],
+ "8I3MkQ": ["버전"],
"8Jm2EP": ["제목 수준 1~6을 전환합니다."],
"8L0EPw": ["또는 토큰 붙여넣기"],
"8OGgNM": ["비주얼 편집기 찾기를 열거나 닫습니다."],
@@ -1914,6 +1916,7 @@
["laterEdits", "plural", { "other": ["이 파일의 최신 편집 ", "#", "개를 제거합니다."] }]
],
"LKOLNn": ["설치된 AI 에이전트 없음"],
+ "LMUw1U": ["앱"],
"LMVNT6": [["agentName"], "에 로그인이 필요합니다."],
"LPAv9E": [["days"], "일 전"],
"LPLWpO": ["보드의 내용이 유효한 Excalidraw 장면이 아닙니다."],
@@ -2374,6 +2377,7 @@
],
"QcpeeE": [["docName"], "로 이동"],
"Qe47G0": [["componentLabel"], ", 항목 ", ["childCount", "plural", { "other": ["#", "개"] }]],
+ "Qe6_xF": ["정보"],
"QeREu8": ["이름 변경됨"],
"QfFBdJ": ["템플릿 파일 이름입니다(`.md` 제외)."],
"Qft6eW": ["스킬 ", ["0"], "개를 전역으로 이동"],
@@ -4443,6 +4447,7 @@
"m2T1Xj": ["태그 #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["다음에 항목을 씁니다"],
"m6YGpY": ["선택한 탭의 활성 패널 콘텐츠가 여기에 표시됩니다."],
+ "m6znp-": ["업데이트"],
"mAzs2H": [["file"], " 비활성화"],
"mBK8zm": ["/", ["0"], "는 이 에이전트가 제공하는 명령이 아니므로 일반 텍스트로 전송됩니다"],
"mBltnd": ["경로 제안"],
@@ -4695,6 +4700,7 @@
["0"],
"이지만, 그 후 OK 외부에서 변경되었습니다. 현재 디스크의 상태를 표시하며 다음 Symlink/Unlink 작업이 적용됩니다."
],
+ "p5kgYT": ["지금은 자동 업데이트를 사용할 수 없습니다."],
"p7Utw8": ["base16 테마가 아님"],
"p98xmP": ["적용 대상"],
"p9sdCy": ["새 무시 패턴"],
diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.po
index 507936f03..5a7e3bc14 100644
--- a/packages/app/src/locales/ko/messages.po
+++ b/packages/app/src/locales/ko/messages.po
@@ -1573,6 +1573,11 @@ msgstr "{shareBranch}용 워크트리 폴더가 이미 있습니다."
msgid "A worktree folder for that branch already exists."
msgstr "해당 브랜치용 워크트리 폴더가 이미 있습니다."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "정보"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "정보"
msgid "About {appName}"
msgstr "{appName} 정보"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "정보 및 업데이트"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "위"
@@ -2151,6 +2162,10 @@ msgstr "추가할 내용이 있나요? (선택 사항)"
msgid "API key set"
msgstr "API 키 설정됨"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "앱"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "앱 인스턴스: {label}"
@@ -2488,6 +2503,10 @@ msgstr "자동"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "자동을 선택하면 시작할 때마다 사용 가능한 포트를 고릅니다. 재시작해도 같은 주소를 유지하려면 고정 포트를 선택하세요."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "지금은 자동 업데이트를 사용할 수 없습니다."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "사용 가능"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "채팅 이름"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "업데이트 확인"
@@ -2988,6 +3010,7 @@ msgstr "에이전트 확인 중"
msgid "Checking for Slidev"
msgstr "Slidev 확인 중"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "업데이트 확인 중"
@@ -11886,6 +11909,7 @@ msgstr "상대 경로"
msgid "Relaunching to install the update…"
msgstr "업데이트를 설치하기 위해 다시 시작하는 중…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "추적 안 됨"
msgid "Up to date"
msgstr "최신 상태"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "업데이트"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "값이 필요합니다"
msgid "Values for {keyName}"
msgstr "{keyName} 값"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "버전"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "{viaTags} 경유"
diff --git a/packages/app/src/locales/pl/messages.json b/packages/app/src/locales/pl/messages.json
index 02aefdea2..5efbb9c01 100644
--- a/packages/app/src/locales/pl/messages.json
+++ b/packages/app/src/locales/pl/messages.json
@@ -682,6 +682,7 @@
"5ZbJFS": ["Twoja bieżąca wersja jest najpierw zapisywana, więc tę operację można cofnąć."],
"5_j-DA": ["Zakończ terminal"],
"5aahsI": ["nic (", ["0"], " nie jest prawidłowym wzorcem)"],
+ "5afD3A": ["O programie i aktualizacje"],
"5b3WD-": ["OpenKnowledge zapisało punkt kontrolny"],
"5e1Dri": ["Etykieta w menu, po której agenty wybierają ten szablon (wymagana)."],
"5ecEGe": [
@@ -985,6 +986,7 @@
" znajduje się INNA umiejętność o takiej samej nazwie — ten folder nie jest tą umiejętnością. Zmień nazwę jednej z nich lub usuń ją, aby rozwiązać problem."
],
"8HxtjY": ["Język ten nie jest dostępny do sprawdzania pisowni."],
+ "8I3MkQ": ["wersja"],
"8Jm2EP": ["Przełącz poziomy nagłówków od 1 do 6."],
"8L0EPw": ["lub wklej token"],
"8OGgNM": ["Otwórz lub zamknij wyszukiwanie w edytorze wizualnym."],
@@ -2321,6 +2323,7 @@
]
],
"LKOLNn": ["Nie zainstalowano agentów AI"],
+ "LMUw1U": ["Aplikacja"],
"LMVNT6": [["agentName"], " wymaga zalogowania."],
"LPAv9E": [["days"], " dni temu"],
"LPLWpO": ["Zawartość tablicy nie jest poprawną sceną Excalidraw."],
@@ -2889,6 +2892,7 @@
}
]
],
+ "Qe6_xF": ["o programie"],
"QeREu8": ["Zmieniono nazwę"],
"QfFBdJ": ["Nazwa pliku szablonu (bez `.md`)."],
"Qft6eW": ["Przenieś ", ["0"], " do globalnych"],
@@ -5461,6 +5465,7 @@
"m2T1Xj": ["Tag #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["Zapisuje wpis w"],
"m6YGpY": ["Zawartość aktywnego panelu dla wybranej karty wyświetla się tutaj."],
+ "m6znp-": ["aktualizacja"],
"mAzs2H": ["Wyłącz ", ["file"]],
"mBK8zm": [
"/",
@@ -5762,6 +5767,7 @@
["0"],
" — coś poza OK to od tego czasu zmieniło. Pokazany stan to stan z dysku; twój następny Symlink/Unlink wygra."
],
+ "p5kgYT": ["Automatyczne aktualizacje są teraz niedostępne."],
"p7Utw8": ["To nie jest motyw base16"],
"p98xmP": ["Dotyczy"],
"p9sdCy": ["Nowy wzorzec ignorowania"],
diff --git a/packages/app/src/locales/pl/messages.po b/packages/app/src/locales/pl/messages.po
index 4ca5f6f24..c6d20c673 100644
--- a/packages/app/src/locales/pl/messages.po
+++ b/packages/app/src/locales/pl/messages.po
@@ -1573,6 +1573,11 @@ msgstr "Folder worktree dla {shareBranch} już istnieje."
msgid "A worktree folder for that branch already exists."
msgstr "Folder worktree dla tej gałęzi już istnieje."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "o programie"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "O programie"
msgid "About {appName}"
msgstr "O programie {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "O programie i aktualizacje"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "Powyżej"
@@ -2151,6 +2162,10 @@ msgstr "Chcesz coś dodać? (opcjonalnie)"
msgid "API key set"
msgstr "Klucz API ustawiony"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "Aplikacja"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "Instancja aplikacji: {label}"
@@ -2488,6 +2503,10 @@ msgstr "Automatycznie"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "Tryb automatyczny przy każdym uruchomieniu wybiera wolny port. Wybierz stały port, żeby adres był taki sam po restartach."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "Automatyczne aktualizacje są teraz niedostępne."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Dostępne"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "Nazwa czatu"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "Sprawdź aktualizacje"
@@ -2988,6 +3010,7 @@ msgstr "Szukanie agentów"
msgid "Checking for Slidev"
msgstr "Sprawdzanie dostępności Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "Sprawdzanie aktualizacji"
@@ -11886,6 +11909,7 @@ msgstr "Ścieżka względna"
msgid "Relaunching to install the update…"
msgstr "Ponowne uruchamianie w celu zainstalowania aktualizacji…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "Nieśledzone"
msgid "Up to date"
msgstr "Aktualne"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "aktualizacja"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "Wartość jest wymagana"
msgid "Values for {keyName}"
msgstr "Wartości dla {keyName}"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "wersja"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "przez {viaTags}"
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index 0f819d4a2..c5ba69e57 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -563,6 +563,7 @@
"5ZbJFS": ["Ŷōũŕ ćũŕŕēńţ vēŕśĩōń ĩś śàvēď ƒĩŕśţ, śō ţĥĩś ĩś ŕēvēŕśĩƀĺē."],
"5_j-DA": ["Ķĩĺĺ Ţēŕḿĩńàĺ"],
"5aahsI": ["ńōţĥĩńĝ (", ["0"], " ĩś ńōţ à vàĺĩď ƥàţţēŕń)"],
+ "5afD3A": ["Àƀōũţ & ũƥďàţēś"],
"5b3WD-": ["ŌƥēńĶńōŵĺēďĝē śàvēď à ćĥēćķƥōĩńţ"],
"5e1Dri": ["Ţĥē ḿēńũ ĺàƀēĺ àĝēńţś ƥĩćķ ţĥĩś ţēḿƥĺàţē ƀŷ (ŕēǫũĩŕēď)."],
"5ecEGe": [
@@ -810,6 +811,7 @@
" — ţĥàţ ƒōĺďēŕ ĩś ńōţ ţĥĩś śķĩĺĺ. Ŕēńàḿē ōŕ ďēĺēţē ōńē ōƒ ţĥē ţŵō ţō ŕēśōĺvē."
],
"8HxtjY": ["Ţĥàţ ĺàńĝũàĝē ĩśń'ţ àvàĩĺàƀĺē ƒōŕ śƥēĺĺ ćĥēćķĩńĝ."],
+ "8I3MkQ": ["vēŕśĩōń"],
"8Jm2EP": ["Ţōĝĝĺē ĥēàďĩńĝ ĺēvēĺś 1 ţĥŕōũĝĥ 6."],
"8L0EPw": ["ōŕ ƥàśţē à ţōķēń"],
"8OGgNM": ["Ōƥēń ōŕ ćĺōśē vĩśũàĺ-ēďĩţōŕ ƒĩńď."],
@@ -1971,6 +1973,7 @@
]
],
"LKOLNn": ["Ńō ÀĨ àĝēńţś ĩńśţàĺĺēď"],
+ "LMUw1U": ["Àƥƥ"],
"LMVNT6": [["agentName"], " ńēēďś ŷōũ ţō śĩĝń ĩń."],
"LPAv9E": [["days"], "ď àĝō"],
"LPLWpO": ["Ţĥē ƀōàŕď'ś ćōńţēńţ ĩś ńōţ à vàĺĩď Ēxćàĺĩďŕàŵ śćēńē."],
@@ -2469,6 +2472,7 @@
" ŵĩţĥ ",
["childCount", "plural", { "one": ["#", " ĩţēḿ"], "other": ["#", " ĩţēḿś"] }]
],
+ "Qe6_xF": ["àƀōũţ"],
"QeREu8": ["Ŕēńàḿēď"],
"QfFBdJ": ["Ţĥē ţēḿƥĺàţē'ś ƒĩĺēńàḿē (ŵĩţĥōũţ `.ḿď`)."],
"Qft6eW": ["Ḿōvē ", ["0"], " ţō Ĝĺōƀàĺ"],
@@ -4639,6 +4643,7 @@
"m2T1Xj": ["Ţàĝ #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["Ŵŕĩţēś àń ēńţŕŷ ţō"],
"m6YGpY": ["Àćţĩvē ƥàńēĺ ćōńţēńţ ƒōŕ ţĥē śēĺēćţēď ţàƀ śĥōŵś ĥēŕē."],
+ "m6znp-": ["ũƥďàţē"],
"mAzs2H": ["Ďĩśàƀĺē ", ["file"]],
"mBK8zm": ["/", ["0"], " ĩśń'ţ à ćōḿḿàńď ţĥĩś àĝēńţ ōƒƒēŕś — ĩţ ŵĩĺĺ ƀē śēńţ àś ƥĺàĩń ţēxţ"],
"mBltnd": ["Ƥàţĥ śũĝĝēśţĩōńś"],
@@ -4909,6 +4914,7 @@
["0"],
" — śōḿēţĥĩńĝ ōũţśĩďē ŌĶ ćĥàńĝēď ĩţ śĩńćē. Ţĥē śţàţē śĥōŵń ĩś ŵĥàţ'ś ōń ďĩśķ ńōŵ; ŷōũŕ ńēxţ Śŷḿĺĩńķ/Ũńĺĩńķ ŵĩńś."
],
+ "p5kgYT": ["Àũţōḿàţĩć ũƥďàţēś àŕē ńōţ àvàĩĺàƀĺē ŕĩĝĥţ ńōŵ."],
"p7Utw8": ["Ńōţ à ƀàśē16 ţĥēḿē"],
"p98xmP": ["Àƥƥĺĩēś ţō"],
"p9sdCy": ["Ńēŵ ĩĝńōŕē ƥàţţēŕń"],
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index fc8254476..75373818b 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -1569,6 +1569,11 @@ msgstr ""
msgid "A worktree folder for that branch already exists."
msgstr ""
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr ""
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1579,6 +1584,12 @@ msgstr ""
msgid "About {appName}"
msgstr ""
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr ""
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr ""
@@ -2147,6 +2158,10 @@ msgstr ""
msgid "API key set"
msgstr ""
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr ""
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "Ãpp înstãncê: {label}"
@@ -2484,6 +2499,10 @@ msgstr ""
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr ""
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr ""
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr ""
@@ -2932,6 +2951,9 @@ msgid "Chat name"
msgstr ""
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr ""
@@ -2984,6 +3006,7 @@ msgstr ""
msgid "Checking for Slidev"
msgstr ""
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr ""
@@ -11882,6 +11905,7 @@ msgstr ""
msgid "Relaunching to install the update…"
msgstr ""
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16240,6 +16264,11 @@ msgstr ""
msgid "Up to date"
msgstr ""
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr ""
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16508,6 +16537,11 @@ msgstr ""
msgid "Values for {keyName}"
msgstr ""
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr ""
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr ""
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index f7232b6a2..f59d61f37 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -656,6 +656,7 @@
"5ZbJFS": ["Sua versão atual é salva antes, então isto é reversível."],
"5_j-DA": ["Encerrar o terminal"],
"5aahsI": ["nada (", ["0"], " não é um padrão válido)"],
+ "5afD3A": ["Sobre e atualizações"],
"5b3WD-": ["OpenKnowledge salvou um ponto de verificação"],
"5e1Dri": ["O rótulo de menu pelo qual os agentes escolhem este modelo (obrigatório)."],
"5ecEGe": [
@@ -936,6 +937,7 @@
" — essa pasta não é esta habilidade. Renomeie ou exclua uma das duas para resolver."
],
"8HxtjY": ["Esse idioma não está disponível para a verificação ortográfica."],
+ "8I3MkQ": ["versão"],
"8Jm2EP": ["Liga ou desliga os níveis de título de 1 a 6."],
"8L0EPw": ["ou cole um token"],
"8OGgNM": ["Abre ou fecha a busca do editor visual."],
@@ -2253,6 +2255,7 @@
]
],
"LKOLNn": ["Nenhum agente de IA instalado"],
+ "LMUw1U": ["Aplicativo"],
"LMVNT6": [["agentName"], " precisa que você faça login."],
"LPAv9E": ["há ", ["days"], " d"],
"LPLWpO": ["O conteúdo do quadro não é uma cena válida do Excalidraw."],
@@ -2799,6 +2802,7 @@
{ "one": ["#", " item"], "many": ["#", " itens"], "other": ["#", " itens"] }
]
],
+ "Qe6_xF": ["sobre"],
"QeREu8": ["Renomeado"],
"QfFBdJ": ["O nome do arquivo do modelo (sem `.md`)."],
"Qft6eW": ["Mover ", ["0"], " para Global"],
@@ -5243,6 +5247,7 @@
"m2T1Xj": ["Tag #", ["tagValue"], ", ", ["uses"]],
"m3ocfn": ["Grava uma entrada em"],
"m6YGpY": ["O conteúdo do painel ativo da aba selecionada aparece aqui."],
+ "m6znp-": ["atualização"],
"mAzs2H": ["Desativar ", ["file"]],
"mBK8zm": [
"/",
@@ -5535,6 +5540,7 @@
["0"],
" — algo fora do OK mudou isso desde então. O estado exibido é o que está no disco agora; o seu próximo Vincular/Desvincular prevalece."
],
+ "p5kgYT": ["As atualizações automáticas não estão disponíveis no momento."],
"p7Utw8": ["Não é um tema base16"],
"p98xmP": ["Aplica-se a"],
"p9sdCy": ["Novo padrão de exclusão"],
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index db9b9f685..989ee96c9 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -1569,6 +1569,11 @@ msgstr "Já existe uma pasta de worktree para {shareBranch}."
msgid "A worktree folder for that branch already exists."
msgstr "Já existe uma pasta de worktree para esse ramo."
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "sobre"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1579,6 +1584,12 @@ msgstr "Sobre"
msgid "About {appName}"
msgstr "Sobre o {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "Sobre e atualizações"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "Acima"
@@ -2147,6 +2158,10 @@ msgstr "Quer acrescentar alguma coisa? (opcional)"
msgid "API key set"
msgstr "Chave de API definida"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "Aplicativo"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "Instância do aplicativo: {label}"
@@ -2484,6 +2499,10 @@ msgstr "Automático"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "O modo automático escolhe uma porta livre a cada inicialização. Escolha uma porta fixa para manter o mesmo endereço entre reinicializações."
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "As atualizações automáticas não estão disponíveis no momento."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Disponível"
@@ -2932,6 +2951,9 @@ msgid "Chat name"
msgstr "Nome do chat"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "Buscar atualizações"
@@ -2984,6 +3006,7 @@ msgstr "Procurando agentes"
msgid "Checking for Slidev"
msgstr "Procurando o Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "Buscando atualizações"
@@ -11882,6 +11905,7 @@ msgstr "Caminho relativo"
msgid "Relaunching to install the update…"
msgstr "Reiniciando para instalar a atualização…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16240,6 +16264,11 @@ msgstr "Não rastreado"
msgid "Up to date"
msgstr "Atualizado"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "atualização"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16508,6 +16537,11 @@ msgstr "O valor é obrigatório"
msgid "Values for {keyName}"
msgstr "Valores de {keyName}"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "versão"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "via {viaTags}"
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index 5bed1b6b8..948e64aa0 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -573,6 +573,7 @@
"5ZbJFS": ["آپ کا موجودہ ورژن پہلے محفوظ ہو جاتا ہے، اس لیے یہ واپس لیا جا سکتا ہے۔"],
"5_j-DA": ["ٹرمینل ختم کریں"],
"5aahsI": ["کچھ نہیں (", ["0"], " درست پیٹرن نہیں ہے)"],
+ "5afD3A": ["تعارف اور اپ ڈیٹس"],
"5b3WD-": ["OpenKnowledge نے ایک چیک پوائنٹ محفوظ کیا"],
"5e1Dri": ["وہ مینو لیبل جس سے ایجنٹس یہ ٹیمپلیٹ منتخب کرتے ہیں (درکار)۔"],
"5ecEGe": [
@@ -821,6 +822,7 @@
" پر موجود ہے — وہ فولڈر یہ مہارت نہیں ہے۔ حل کے لیے دونوں میں سے کسی ایک کا نام بدلیں یا اسے حذف کریں۔"
],
"8HxtjY": ["وہ زبان املا کی جانچ کے لیے دستیاب نہیں ہے۔"],
+ "8I3MkQ": ["ورژن"],
"8Jm2EP": ["عنوان کی سطحیں 1 سے 6 تک بدلیں۔"],
"8L0EPw": ["یا کوئی ٹوکن چسپاں کریں"],
"8OGgNM": ["بصری ایڈیٹر کی تلاش کھولیں یا بند کریں۔"],
@@ -2011,6 +2013,7 @@
]
],
"LKOLNn": ["کوئی AI ایجنٹ نصب نہیں"],
+ "LMUw1U": ["ایپ"],
"LMVNT6": [["agentName"], " کو آپ کے سائن اِن کرنے کی ضرورت ہے۔"],
"LPAv9E": [["days"], " دن پہلے"],
"LPLWpO": ["بورڈ کا مواد کوئی درست Excalidraw منظر نہیں ہے۔"],
@@ -2510,6 +2513,7 @@
["childCount", "plural", { "one": ["#", " آئٹم"], "other": ["#", " آئٹمز"] }],
" ہیں"
],
+ "Qe6_xF": ["تعارف"],
"QeREu8": ["نام تبدیل شدہ"],
"QfFBdJ": ["ٹیمپلیٹ کی فائل کا نام (`.md` کے بغیر)۔"],
"Qft6eW": [["0"], " مہارتیں گلوبل میں منتقل کریں"],
@@ -4721,6 +4725,7 @@
"m2T1Xj": ["ٹیگ #", ["tagValue"], "، ", ["uses"]],
"m3ocfn": ["اس میں ایک اندراج لکھتا ہے"],
"m6YGpY": ["منتخب ٹیب کے فعال پینل کا مواد یہاں دکھایا جاتا ہے۔"],
+ "m6znp-": ["اپ ڈیٹ"],
"mAzs2H": [["file"], " بند کریں"],
"mBK8zm": [
"/",
@@ -4994,6 +4999,7 @@
["0"],
" مقرر کیا تھا — اس کے بعد OK سے باہر کسی چیز نے اسے بدل دیا۔ دکھائی گئی حالت وہی ہے جو اب ڈسک پر ہے؛ آپ کا اگلا سِم لنک یا لنک ختم کرنا فیصلہ کن ہو گا۔"
],
+ "p5kgYT": ["خودکار اپ ڈیٹس ابھی دستیاب نہیں ہیں۔"],
"p7Utw8": ["یہ base16 تھیم نہیں ہے"],
"p98xmP": ["لاگو ہوتا ہے"],
"p9sdCy": ["نظر انداز کرنے کا نیا پیٹرن"],
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index fbf578cbe..bbcd47329 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -1573,6 +1573,11 @@ msgstr "{shareBranch} کے لیے ورک ٹری فولڈر پہلے سے موج
msgid "A worktree folder for that branch already exists."
msgstr "اس برانچ کے لیے ورک ٹری فولڈر پہلے سے موجود ہے۔"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "تعارف"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "تعارف"
msgid "About {appName}"
msgstr "{appName} کے بارے میں"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "تعارف اور اپ ڈیٹس"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "اوپر"
@@ -2151,6 +2162,10 @@ msgstr "کچھ اور شامل کرنا چاہیں گے؟ (اختیاری)"
msgid "API key set"
msgstr "API کلید مقرر ہے"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "ایپ"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "ایپ انسٹینس: {label}"
@@ -2488,6 +2503,10 @@ msgstr "خودکار"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "خودکار ہر بار شروع ہونے پر ایک خالی پورٹ منتخب کرتا ہے۔ دوبارہ شروع ہونے پر ایک ہی ایڈریس برقرار رکھنے کے لیے ایک مقررہ پورٹ منتخب کریں۔"
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "خودکار اپ ڈیٹس ابھی دستیاب نہیں ہیں۔"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "دستیاب"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "چیٹ کا نام"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "اپ ڈیٹس دیکھیں"
@@ -2988,6 +3010,7 @@ msgstr "ایجنٹس تلاش کیے جا رہے ہیں"
msgid "Checking for Slidev"
msgstr "Slidev تلاش کیا جا رہا ہے"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "اپ ڈیٹس دیکھے جا رہے ہیں"
@@ -11886,6 +11909,7 @@ msgstr "نسبتی راستہ"
msgid "Relaunching to install the update…"
msgstr "اپ ڈیٹ نصب کرنے کے لیے دوبارہ چلایا جا رہا ہے…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "غیر ٹریک شدہ"
msgid "Up to date"
msgstr "تازہ ترین"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "اپ ڈیٹ"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "قدر درکار ہے"
msgid "Values for {keyName}"
msgstr "{keyName} کی اقدار"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "ورژن"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "{viaTags} کے ذریعے"
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index 2f1d3babe..756fc5055 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -502,6 +502,7 @@
"5ZbJFS": ["你当前的版本会先被保存,因此这一步可以撤销。"],
"5_j-DA": ["强制结束终端"],
"5aahsI": ["无(", ["0"], " 不是有效的模式)"],
+ "5afD3A": ["关于和更新"],
"5b3WD-": ["OpenKnowledge 保存了一个检查点"],
"5e1Dri": ["智能体选择这个模板时看到的菜单标签(必填)。"],
"5ecEGe": [
@@ -709,6 +710,7 @@
" 处有一个名字相近但完全不同的技能——那个文件夹不是这个技能。请重命名或删除其中之一以解决冲突。"
],
"8HxtjY": ["该语言不支持拼写检查。"],
+ "8I3MkQ": ["版本"],
"8Jm2EP": ["切换 1 到 6 级标题。"],
"8L0EPw": ["或者粘贴一个令牌"],
"8OGgNM": ["打开或关闭可视化编辑器的查找。"],
@@ -1719,6 +1721,7 @@
["laterEdits", "plural", { "other": ["会移除这个文件上 ", "#", " 处较新的编辑。"] }]
],
"LKOLNn": ["未安装任何 AI 智能体"],
+ "LMUw1U": ["应用"],
"LMVNT6": [["agentName"], " 需要你登录。"],
"LPAv9E": [["days"], " 天前"],
"LPLWpO": ["画板内容不是有效的 Excalidraw 场景。"],
@@ -2154,6 +2157,7 @@
",包含 ",
["childCount", "plural", { "other": ["#", " 个项目"] }]
],
+ "Qe6_xF": ["关于"],
"QeREu8": ["已重命名"],
"QfFBdJ": ["模板的文件名(不含 `.md`)。"],
"Qft6eW": ["将 ", ["0"], " 个技能移至全局"],
@@ -4044,6 +4048,7 @@
"m2T1Xj": ["标签 #", ["tagValue"], ",", ["uses"]],
"m3ocfn": ["写入条目到"],
"m6YGpY": ["所选标签页的活动面板内容显示在这里。"],
+ "m6znp-": ["更新"],
"mAzs2H": ["禁用 ", ["file"]],
"mBK8zm": ["/", ["0"], " 不是此智能体提供的命令 — 将作为纯文本发送"],
"mBltnd": ["路径建议"],
@@ -4265,6 +4270,7 @@
["0"],
"——此后 OK 之外的操作改动过它。显示的是磁盘上现在的状态;你下一次的「符号链接/取消链接」会覆盖它。"
],
+ "p5kgYT": ["目前无法自动更新。"],
"p7Utw8": ["不是 base16 主题"],
"p98xmP": ["适用于"],
"p9sdCy": ["新的忽略模式"],
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index 56c656082..59b770ab3 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -1573,6 +1573,11 @@ msgstr "{shareBranch} 的 worktree 文件夹已存在。"
msgid "A worktree folder for that branch already exists."
msgstr "该分支的 worktree 文件夹已存在。"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "关于"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "关于"
msgid "About {appName}"
msgstr "关于 {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "关于和更新"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "上方"
@@ -2151,6 +2162,10 @@ msgstr "还有什么想补充的吗?(可选)"
msgid "API key set"
msgstr "API 密钥已设置"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "应用"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "应用实例:{label}"
@@ -2488,6 +2503,10 @@ msgstr "自动"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "自动模式会在每次启动时选择一个空闲端口。选择固定端口可在重启后保持相同地址。"
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "目前无法自动更新。"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "可用"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "对话名称"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "检查更新"
@@ -2988,6 +3010,7 @@ msgstr "正在查找智能体"
msgid "Checking for Slidev"
msgstr "正在检查 Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "正在检查更新"
@@ -11886,6 +11909,7 @@ msgstr "相对路径"
msgid "Relaunching to install the update…"
msgstr "正在重新启动以安装更新…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "未跟踪"
msgid "Up to date"
msgstr "已是最新"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "更新"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "此项必填"
msgid "Values for {keyName}"
msgstr "{keyName} 的值"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "版本"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "通过 {viaTags}"
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index 662f8e33d..88e36ecda 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -504,6 +504,7 @@
"5ZbJFS": ["你目前的版本會先存起來,所以這一步可以回復。"],
"5_j-DA": ["強制結束終端機"],
"5aahsI": ["無(", ["0"], " 不是有效的模式)"],
+ "5afD3A": ["關於與更新"],
"5b3WD-": ["OpenKnowledge 儲存了一個檢查點"],
"5e1Dri": ["代理挑選這個範本時看到的選單標籤(必填)。"],
"5ecEGe": [
@@ -709,6 +710,7 @@
" 有一個名稱相近但完全不同的技能——那個資料夾不是這個技能。請重新命名或刪除其中之一來解決。"
],
"8HxtjY": ["該語言不支援拼字檢查。"],
+ "8I3MkQ": ["版本"],
"8Jm2EP": ["切換 1 到 6 級標題。"],
"8L0EPw": ["或者貼上一個權杖"],
"8OGgNM": ["開啟或關閉視覺化編輯器的尋找。"],
@@ -1733,6 +1735,7 @@
["laterEdits", "plural", { "other": ["會移除這個檔案上 ", "#", " 處較新的編輯。"] }]
],
"LKOLNn": ["沒有安裝任何 AI 代理"],
+ "LMUw1U": ["應用程式"],
"LMVNT6": [["agentName"], " 需要你登入。"],
"LPAv9E": [["days"], " 天前"],
"LPLWpO": ["畫板內容不是有效的 Excalidraw 場景。"],
@@ -2176,6 +2179,7 @@
",包含 ",
["childCount", "plural", { "other": ["#", " 個項目"] }]
],
+ "Qe6_xF": ["關於"],
"QeREu8": ["已重新命名"],
"QfFBdJ": ["範本的檔案名稱(不含 `.md`)。"],
"Qft6eW": ["將 ", ["0"], " 個技能移至全域"],
@@ -4064,6 +4068,7 @@
"m2T1Xj": ["標籤 #", ["tagValue"], ",", ["uses"]],
"m3ocfn": ["寫入項目到"],
"m6YGpY": ["所選分頁的作用中面板內容會顯示在這裡。"],
+ "m6znp-": ["更新"],
"mAzs2H": ["停用 ", ["file"]],
"mBK8zm": ["/", ["0"], " 不是此智慧代理提供的指令 — 將以純文字傳送"],
"mBltnd": ["路徑建議"],
@@ -4287,6 +4292,7 @@
["0"],
"——之後 OK 以外的東西改動過它。顯示的是磁碟上現在的狀態;你下一次的「符號連結/取消連結」會覆蓋它。"
],
+ "p5kgYT": ["目前無法自動更新。"],
"p7Utw8": ["不是 base16 主題"],
"p98xmP": ["適用於"],
"p9sdCy": ["新的忽略模式"],
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index 5a2251960..4b29e076f 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -1573,6 +1573,11 @@ msgstr "{shareBranch} 的 worktree 資料夾已存在。"
msgid "A worktree folder for that branch already exists."
msgstr "該分支的 worktree 資料夾已存在。"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "about"
+msgstr "關於"
+
#: src/lib/native-menu-catalog.ts
#: src/lib/platform-labels.ts
msgid "About"
@@ -1583,6 +1588,12 @@ msgstr "關於"
msgid "About {appName}"
msgstr "關於 {appName}"
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "About & updates"
+msgstr "關於與更新"
+
#: src/editor/slash-command/items.tsx
msgid "Above"
msgstr "上方"
@@ -2151,6 +2162,10 @@ msgstr "還有什麼想補充的嗎?(選填)"
msgid "API key set"
msgstr "API 金鑰已設定"
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "App"
+msgstr "應用程式"
+
#: src/components/InstanceBadge.tsx
msgid "App instance: {label}"
msgstr "應用程式實例:{label}"
@@ -2488,6 +2503,10 @@ msgstr "自動"
msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
msgstr "自動模式會在每次啟動時挑選一個空閒的連接埠。選擇固定連接埠可在重新啟動後維持相同位址。"
+#: src/components/settings/AboutSection.tsx
+msgid "Automatic updates are not available right now."
+msgstr "目前無法自動更新。"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "可用"
@@ -2936,6 +2955,9 @@ msgid "Chat name"
msgstr "對話名稱"
#: src/components/command-palette-commands.ts
+#: src/components/HelpPopover.tsx
+#: src/components/settings/AboutSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
#: src/components/UpdateNotices.shared.ts
msgid "Check for updates"
msgstr "檢查更新"
@@ -2988,6 +3010,7 @@ msgstr "正在尋找代理"
msgid "Checking for Slidev"
msgstr "正在檢查 Slidev"
+#: src/components/settings/AboutSection.tsx
#: src/components/SyncStatusBadge.tsx
msgid "Checking for updates"
msgstr "正在檢查更新"
@@ -11886,6 +11909,7 @@ msgstr "相對路徑"
msgid "Relaunching to install the update…"
msgstr "正在重新啟動以安裝更新…"
+#: src/components/settings/AboutSection.tsx
#: src/components/settings/SettingsDialogShell.tsx
#: src/components/SubscribeCard.tsx
msgid "Release notes"
@@ -16244,6 +16268,11 @@ msgstr "未追蹤"
msgid "Up to date"
msgstr "已是最新"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "update"
+msgstr "更新"
+
#: src/components/SkillOriginInline.tsx
#: src/components/SkillPreviewTab.tsx
msgid "Update"
@@ -16512,6 +16541,11 @@ msgstr "這一項必填"
msgid "Values for {keyName}"
msgstr "{keyName} 的值"
+#: src/components/settings/SettingsDialogShell.tsx
+msgctxt "settings search keyword"
+msgid "version"
+msgstr "版本"
+
#: src/components/CommandPalette.tsx
msgid "via {viaTags}"
msgstr "透過 {viaTags}"
diff --git a/packages/core/src/desktop-bridge.ts b/packages/core/src/desktop-bridge.ts
index 419888cae..2463c610c 100644
--- a/packages/core/src/desktop-bridge.ts
+++ b/packages/core/src/desktop-bridge.ts
@@ -279,6 +279,14 @@ export interface OkUpdateManualCheckInfo {
readonly phase: 'started' | 'settled';
}
+export interface OkAboutInfo {
+ readonly productName: string;
+ readonly version: string;
+ readonly releasesUrl: string;
+ readonly releaseNotesUrl: string;
+ readonly updateChecks: 'available' | 'unavailable';
+}
+
export type ShareTarget =
| { readonly kind: 'doc'; readonly docPath: string }
| { readonly kind: 'folder'; readonly folderPath: string };
@@ -353,6 +361,7 @@ export interface OkStateSnapshot {
readonly persistedSchemaVersion: number;
readonly maxSupported: number;
} | null;
+ readonly about?: OkAboutInfo;
}
export type OkMcpWiringEditorId = EditorId;
diff --git a/packages/desktop/src/main/about-info.test.ts b/packages/desktop/src/main/about-info.test.ts
new file mode 100644
index 000000000..b9b72ff16
--- /dev/null
+++ b/packages/desktop/src/main/about-info.test.ts
@@ -0,0 +1,31 @@
+import { describe, expect, test } from 'vitest';
+import { DESKTOP_VARIANTS } from '../shared/desktop-variant.ts';
+import { buildAboutInfo } from './about-info.ts';
+
+describe('buildAboutInfo', () => {
+ test('names the installed product and links its own release notes', () => {
+ expect(
+ buildAboutInfo({
+ version: '0.83.0-beta.8',
+ variant: DESKTOP_VARIANTS.beta,
+ updateChecksAvailable: true,
+ }),
+ ).toEqual({
+ productName: 'OpenKnowledge Beta',
+ version: '0.83.0-beta.8',
+ releasesUrl: 'https://github.com/inkeep/open-knowledge/releases',
+ releaseNotesUrl: 'https://github.com/inkeep/open-knowledge/releases/tag/v0.83.0-beta.8',
+ updateChecks: 'available',
+ });
+ });
+
+ test('reports update checks as unavailable when the updater did not start', () => {
+ const info = buildAboutInfo({
+ version: '0.82.3',
+ variant: DESKTOP_VARIANTS.stable,
+ updateChecksAvailable: false,
+ });
+ expect(info.productName).toBe('OpenKnowledge');
+ expect(info.updateChecks).toBe('unavailable');
+ });
+});
diff --git a/packages/desktop/src/main/about-info.ts b/packages/desktop/src/main/about-info.ts
new file mode 100644
index 000000000..5854ebfad
--- /dev/null
+++ b/packages/desktop/src/main/about-info.ts
@@ -0,0 +1,21 @@
+import type { OkAboutInfo } from '@inkeep/open-knowledge-core/desktop-bridge';
+import { releasesPageUrl, releaseUrlFor } from '../shared/release-links.ts';
+
+export function buildAboutInfo({
+ version,
+ variant,
+ updateChecksAvailable,
+}: {
+ version: string;
+ variant: { readonly name: string; readonly productName: string };
+ updateChecksAvailable: boolean;
+}): OkAboutInfo {
+ const releasesUrl = releasesPageUrl(variant);
+ return {
+ productName: variant.productName,
+ version,
+ releasesUrl,
+ releaseNotesUrl: releaseUrlFor(version, releasesUrl),
+ updateChecks: updateChecksAvailable ? 'available' : 'unavailable',
+ };
+}
diff --git a/packages/desktop/src/main/about-panel.test.ts b/packages/desktop/src/main/about-panel.test.ts
index dd684604b..ddcb34c21 100644
--- a/packages/desktop/src/main/about-panel.test.ts
+++ b/packages/desktop/src/main/about-panel.test.ts
@@ -1,5 +1,11 @@
-import { describe, expect, test } from 'vitest';
-import { buildAboutPanelOptions } from './about-panel.ts';
+import { describe, expect, test, vi } from 'vitest';
+
+vi.mock('../shared/desktop-variant.ts', async (importActual) => {
+ const actual = await importActual<typeof import('../shared/desktop-variant.ts')>();
+ return { ...actual, DESKTOP_VARIANT: actual.DESKTOP_VARIANTS.beta };
+});
+
+const { buildAboutPanelOptions } = await import('./about-panel.ts');
describe('buildAboutPanelOptions', () => {
test('carries the version, copyright, GPL license, and no-warranty notice', () => {
@@ -9,4 +15,8 @@ describe('buildAboutPanelOptions', () => {
expect(opts.copyright).toContain('GPL-3.0-or-later');
expect(opts.copyright).toMatch(/NO WARRANTY/);
});
+
+ test('names the installed product rather than the Stable app', () => {
+ expect(buildAboutPanelOptions('9.9.9').applicationName).toBe('OpenKnowledge Beta');
+ });
});
diff --git a/packages/desktop/src/main/about-panel.ts b/packages/desktop/src/main/about-panel.ts
index 8f29281df..48b11b4aa 100644
--- a/packages/desktop/src/main/about-panel.ts
+++ b/packages/desktop/src/main/about-panel.ts
@@ -1,9 +1,9 @@
-import { PRODUCT_NAME } from '@inkeep/open-knowledge-core';
import type { AboutPanelOptionsOptions } from 'electron';
+import { DESKTOP_VARIANT } from '../shared/desktop-variant.ts';
export function buildAboutPanelOptions(version: string): AboutPanelOptionsOptions {
return {
- applicationName: PRODUCT_NAME,
+ applicationName: DESKTOP_VARIANT.productName,
applicationVersion: version,
copyright: [
'Copyright (C) 2026 Inkeep, Inc.',
diff --git a/packages/desktop/src/main/auto-updater.ts b/packages/desktop/src/main/auto-updater.ts
index 519ec74ea..8c171691d 100644
--- a/packages/desktop/src/main/auto-updater.ts
+++ b/packages/desktop/src/main/auto-updater.ts
@@ -4,6 +4,7 @@ import type { IpcMain, IpcMainInvokeEvent } from 'electron';
import type { EventChannels } from '../shared/ipc-events.ts';
import { createHandler } from '../shared/ipc-handler.ts';
import { type SendableWebContents, sendToRenderer } from '../shared/ipc-send.ts';
+import { PUBLIC_RELEASES_URL, releaseUrlFor } from '../shared/release-links.ts';
import {
classifyInstallFailure,
type LinuxManualInstallContext,
@@ -197,7 +198,7 @@ const INSTALL_IN_FLIGHT_GRACE_MS = 30 * 60 * 1000;
const INSTALL_DEFER_MAX_BOOTS = 3;
-export const STUCK_HINT_DOWNLOAD_URL = 'https://github.com/inkeep/open-knowledge/releases';
+export const STUCK_HINT_DOWNLOAD_URL = PUBLIC_RELEASES_URL;
export const UPDATE_CHECK_FAILED_MESSAGE = 'The update check failed. Try again in a moment.';
@@ -213,9 +214,7 @@ export const POST_UPDATE_QUIET_MS = 10 * 60 * 1000;
const WHATS_NEW_LIVE_WINDOW_MS = 60_000;
-export function releaseUrlFor(version: string): string {
- return `https://github.com/inkeep/open-knowledge/releases/tag/v${encodeURIComponent(version)}`;
-}
+export { releaseUrlFor };
function errorCode(err: unknown): string | undefined {
if (!(err instanceof Error) || !('code' in err)) return undefined;
diff --git a/packages/desktop/src/main/index.ts b/packages/desktop/src/main/index.ts
index 153eaad1d..a2496e32d 100644
--- a/packages/desktop/src/main/index.ts
+++ b/packages/desktop/src/main/index.ts
@@ -5424,6 +5424,9 @@ function registerIpcHandlers() {
getBuildChannel: () => DESKTOP_VARIANT.updateChannel,
getPendingSchemaIncompatibility,
clearPendingSchemaIncompatibility,
+ getAppVersion: () => app.getVersion(),
+ variant: DESKTOP_VARIANT,
+ isUpdaterRunning: () => autoUpdaterHandle != null,
});
handle('ok:state:reset-incompatible', async () => applyResetIncompatible(updateStateDeps()));
handle('ok:state:query', async () => applyStateQuery(updateStateDeps()));
diff --git a/packages/desktop/src/main/update-state-handlers.ts b/packages/desktop/src/main/update-state-handlers.ts
index 068204649..0f78a2e4a 100644
--- a/packages/desktop/src/main/update-state-handlers.ts
+++ b/packages/desktop/src/main/update-state-handlers.ts
@@ -1,3 +1,5 @@
+import type { OkStateSnapshot } from '@inkeep/open-knowledge-core/desktop-bridge';
+import { buildAboutInfo } from './about-info.ts';
import {
type AppState,
emptyState,
@@ -12,11 +14,9 @@ export interface UpdateStateHandlerDeps {
getBuildChannel: () => UpdateChannel;
getPendingSchemaIncompatibility: () => SchemaIncompatibilityDiagnostic | null;
clearPendingSchemaIncompatibility: () => void;
-}
-
-interface StateQueryResult {
- channel: UpdateChannel;
- schemaIncompatibility: SchemaIncompatibilityDiagnostic | null;
+ getAppVersion: () => string;
+ variant: { readonly name: string; readonly productName: string };
+ isUpdaterRunning: () => boolean;
}
export async function applyResetIncompatible(deps: UpdateStateHandlerDeps): Promise<undefined> {
@@ -31,10 +31,17 @@ export async function applyResetIncompatible(deps: UpdateStateHandlerDeps): Prom
return undefined;
}
-export async function applyStateQuery(deps: UpdateStateHandlerDeps): Promise<StateQueryResult> {
+export async function applyStateQuery(
+ deps: UpdateStateHandlerDeps,
+): Promise<Required<OkStateSnapshot>> {
const compat = deps.getPendingSchemaIncompatibility();
return {
channel: deps.getBuildChannel(),
schemaIncompatibility: compat ? { ...compat } : null,
+ about: buildAboutInfo({
+ version: deps.getAppVersion(),
+ variant: deps.variant,
+ updateChecksAvailable: deps.isUpdaterRunning(),
+ }),
};
}
diff --git a/packages/desktop/src/preload/bridge-forwarding.test.ts b/packages/desktop/src/preload/bridge-forwarding.test.ts
index eeb4469a0..637ca4633 100644
--- a/packages/desktop/src/preload/bridge-forwarding.test.ts
+++ b/packages/desktop/src/preload/bridge-forwarding.test.ts
@@ -20,6 +20,7 @@ vi.mock('electron', () => ({
type BridgeProbe = {
mcpServerName: string | null;
+ state: { query(): Promise<unknown> };
config: {
languagePreference?: string;
themePreference?: string;
@@ -119,6 +120,26 @@ describe('preload argv config', () => {
});
});
+describe('preload state query marshalling', () => {
+ it('state.query forwards to ok:state:query and passes the snapshot through', async () => {
+ const about = {
+ productName: 'OpenKnowledge',
+ version: '0.82.3',
+ releasesUrl: 'https://example.test/releases',
+ releaseNotesUrl: 'https://example.test/releases/tag/v0.82.3',
+ updateChecks: 'available',
+ };
+ const bridge = await loadBridge();
+ const snapshot = { channel: 'latest', schemaIncompatibility: null, about };
+ invokeMock.mockResolvedValueOnce(snapshot as never);
+
+ const result = await bridge.state.query();
+
+ expect(invokeMock.mock.calls.map((c) => c[0])).toEqual(['ok:state:query']);
+ expect(result).toEqual(snapshot);
+ });
+});
+
describe('preload editor view-menu state marshalling', () => {
it('forwards terminal placement through the existing view-state channel', async () => {
const bridge = await loadBridge();
diff --git a/packages/desktop/src/shared/ipc-channels.ts b/packages/desktop/src/shared/ipc-channels.ts
index 7af171793..2f28ace14 100644
--- a/packages/desktop/src/shared/ipc-channels.ts
+++ b/packages/desktop/src/shared/ipc-channels.ts
@@ -62,11 +62,11 @@ import type {
OkSharingStatusResult,
OkSlidesOpenResult,
OkSlidesStatusResult,
+ OkStateSnapshot,
OkTerminalDockState,
OkTerminalDockStateUpdate,
OkTerminalDockStateWriteResult,
OkThemeSource,
- OkUpdateChannel,
OkUserConfigPatchResult,
OkUserConfigSnapshot,
OkSeedApplyOptions as SeedApplyOptions,
@@ -556,17 +556,7 @@ export interface RequestChannels {
'ok:update:relaunch-now': { args: []; result: undefined };
'ok:update:check-now': { args: []; result: undefined };
'ok:update:whats-new-dismiss': { args: [{ version: string }]; result: undefined };
- 'ok:state:query': {
- args: [];
- result: {
- channel: OkUpdateChannel;
- schemaIncompatibility: {
- currentBuild: string;
- persistedSchemaVersion: number;
- maxSupported: number;
- } | null;
- };
- };
+ 'ok:state:query': { args: []; result: Required<OkStateSnapshot> };
'ok:state:reset-incompatible': { args: []; result: undefined };
'ok:theme:set-source': { args: [params: { source: OkThemeSource }]; result: { ok: true } };
'ok:user-config:dispatch': {
diff --git a/packages/desktop/src/shared/release-links.test.ts b/packages/desktop/src/shared/release-links.test.ts
new file mode 100644
index 000000000..d35c90cc3
--- /dev/null
+++ b/packages/desktop/src/shared/release-links.test.ts
@@ -0,0 +1,31 @@
+import { describe, expect, test } from 'vitest';
+import { DESKTOP_VARIANTS } from './desktop-variant.ts';
+import { PUBLIC_RELEASES_URL, releasesPageUrl, releaseUrlFor } from './release-links.ts';
+
+describe('release links', () => {
+ test('stable and beta builds publish their release pages on the public repository', () => {
+ expect(releasesPageUrl(DESKTOP_VARIANTS.stable)).toBe(
+ 'https://github.com/inkeep/open-knowledge/releases',
+ );
+ expect(releasesPageUrl(DESKTOP_VARIANTS.beta)).toBe(PUBLIC_RELEASES_URL);
+ expect(releasesPageUrl(DESKTOP_VARIANTS['legacy-beta'])).toBe(PUBLIC_RELEASES_URL);
+ });
+
+ test('a release tag URL defaults to the public releases page', () => {
+ expect(releaseUrlFor('0.83.0-beta.8')).toBe(
+ 'https://github.com/inkeep/open-knowledge/releases/tag/v0.83.0-beta.8',
+ );
+ });
+
+ test('a release tag URL is built under the releases page it is given', () => {
+ expect(
+ releaseUrlFor('0.81.5-cloud.1343', 'https://github.com/inkeep/agents-private/releases'),
+ ).toBe('https://github.com/inkeep/agents-private/releases/tag/v0.81.5-cloud.1343');
+ });
+
+ test('a release tag URL percent-encodes the version', () => {
+ expect(releaseUrlFor('1.2.3/../x')).toBe(
+ 'https://github.com/inkeep/open-knowledge/releases/tag/v1.2.3%2F..%2Fx',
+ );
+ });
+});
diff --git a/packages/desktop/src/shared/release-links.ts b/packages/desktop/src/shared/release-links.ts
new file mode 100644
index 000000000..b1d868816
--- /dev/null
+++ b/packages/desktop/src/shared/release-links.ts
@@ -0,0 +1,9 @@
+export const PUBLIC_RELEASES_URL = 'https://github.com/inkeep/open-knowledge/releases';
+
+export function releasesPageUrl(_variant: { readonly name: string }): string {
+ return PUBLIC_RELEASES_URL;
+}
+
+export function releaseUrlFor(version: string, releasesUrl = PUBLIC_RELEASES_URL): string {
+ return `${releasesUrl}/tag/v${encodeURIComponent(version)}`;
+}
diff --git a/packages/desktop/tests/main/update-state-handlers.test.ts b/packages/desktop/tests/main/update-state-handlers.test.ts
index 9be01985f..cb9134195 100644
--- a/packages/desktop/tests/main/update-state-handlers.test.ts
+++ b/packages/desktop/tests/main/update-state-handlers.test.ts
@@ -10,6 +10,7 @@ import {
applyStateQuery,
type UpdateStateHandlerDeps,
} from '../../src/main/update-state-handlers.ts';
+import { DESKTOP_VARIANTS } from '../../src/shared/desktop-variant.ts';
interface Rig {
state: AppState;
@@ -18,6 +19,7 @@ interface Rig {
saveResult: boolean;
buildChannel: UpdateChannel;
clearPendingCalls: number;
+ updaterRunning: boolean;
deps: UpdateStateHandlerDeps;
}
@@ -26,6 +28,7 @@ function makeRig(overrides?: {
pending?: SchemaIncompatibilityDiagnostic | null;
saveResult?: boolean;
buildChannel?: UpdateChannel;
+ updaterRunning?: boolean;
}): Rig {
const rig: Rig = {
state: overrides?.state ?? emptyState(),
@@ -34,6 +37,7 @@ function makeRig(overrides?: {
saveResult: overrides?.saveResult ?? true,
buildChannel: overrides?.buildChannel ?? 'latest',
clearPendingCalls: 0,
+ updaterRunning: overrides?.updaterRunning ?? true,
deps: undefined as unknown as UpdateStateHandlerDeps,
};
rig.deps = {
@@ -51,6 +55,9 @@ function makeRig(overrides?: {
rig.clearPendingCalls++;
rig.pending = null;
},
+ getAppVersion: () => '0.83.0-beta.8',
+ variant: DESKTOP_VARIANTS.beta,
+ isUpdaterRunning: () => rig.updaterRunning,
};
return rig;
}
@@ -88,7 +95,7 @@ describe('applyStateQuery', () => {
test('returns the build channel + null when no pending diagnostic', async () => {
const rig = makeRig({ buildChannel: 'beta' });
const snapshot = await applyStateQuery(rig.deps);
- expect(snapshot).toEqual({ channel: 'beta', schemaIncompatibility: null });
+ expect(snapshot).toMatchObject({ channel: 'beta', schemaIncompatibility: null });
});
test('reports `latest` for a stable build', async () => {
@@ -112,3 +119,27 @@ describe('applyStateQuery', () => {
});
});
});
+
+describe('applyStateQuery about info', () => {
+ test('describes the installed build with its variant product name and release notes', async () => {
+ const snapshot = await applyStateQuery(makeRig().deps);
+ expect(snapshot.about).toEqual({
+ productName: 'OpenKnowledge Beta',
+ version: '0.83.0-beta.8',
+ releasesUrl: 'https://github.com/inkeep/open-knowledge/releases',
+ releaseNotesUrl: 'https://github.com/inkeep/open-knowledge/releases/tag/v0.83.0-beta.8',
+ updateChecks: 'available',
+ });
+ });
+
+ test('reports update checks unavailable until the updater has booted, then available', async () => {
+ const rig = makeRig({ updaterRunning: false });
+
+ const before = await applyStateQuery(rig.deps);
+ rig.updaterRunning = true;
+ const after = await applyStateQuery(rig.deps);
+
+ expect(before.about.updateChecks).toBe('unavailable');
+ expect(after.about.updateChecks).toBe('available');
+ });
+});