Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Polish cross-platform copy (PRD-8109) (#3640)

mike-inkeep0436c1e91327
diff --git a/.changeset/cross-platform-polish.md b/.changeset/cross-platform-polish.md
new file mode 100644
index 000000000..acfe7e976
--- /dev/null
+++ b/.changeset/cross-platform-polish.md
@@ -0,0 +1,5 @@
+---
+'@inkeep/open-knowledge': patch
+---
+
+OpenKnowledge now presents accurate platform guidance throughout the app and docs. Download links route through the platform picker, terminal copy only appears where the built-in terminal is available, keyboard hints work across operating systems, and new projects ignore common macOS, Windows, and Linux metadata files.
diff --git a/docs/content/features/comments.mdx b/docs/content/features/comments.mdx
index bb191dfc3..6d5578e3b 100644
--- a/docs/content/features/comments.mdx
+++ b/docs/content/features/comments.mdx
@@ -10,17 +10,17 @@ For comments you want to keep *inside* a markdown file using `<!-- … -->` or `
## Write a comment
-Select text, a code block, or a diagram, then press `Cmd+Shift+M` or click **Comment** in the selection toolbar.
+Select text, a code block, or a diagram, then press `Cmd+Shift+M` on macOS or `Ctrl+Shift+M` on Windows and Linux, or click **Comment** in the selection toolbar.
![Writing a comment on selected text in the OpenKnowledge editor](/screenshots/write-comment.gif)
## Review and send
-Comments are highlighted in the document, and each open comment gets a <InlineIcon name="MessageSquare" /> marker in the right-hand margin. Click either one to open the comment in the document panel (`Cmd+Option+B`).
+Comments are highlighted in the document, and each open comment gets a <InlineIcon name="MessageSquare" /> marker in the right-hand margin. Click either one to open the comment in the document panel (`Cmd+Option+B` on macOS or `Ctrl+Alt+B` on Windows and Linux).
![Comments panel](/screenshots/comments.png)
-You can control which comments are sent to your agent by checking or unchecking them. Then click the send button or use `Cmd+Shift+Enter` while the Comments tab is open.
+You can control which comments are sent to your agent by checking or unchecking them. Then click the send button or use `Cmd+Shift+Enter` on macOS or `Ctrl+Shift+Enter` on Windows and Linux while the Comments tab is open.
<Callout type="info">
If the text a comment points to is deleted or rewritten enough that OpenKnowledge can no longer find it, the comment becomes orphaned. The comment is still there, but it is no longer attached to live text in the document. If you send it to your agent, it includes the original quote for context. To reattach it, select the new text in your document and click **Re-place on selected text**.
diff --git a/docs/content/features/editor.mdx b/docs/content/features/editor.mdx
index e08f2b312..875d244fc 100644
--- a/docs/content/features/editor.mdx
+++ b/docs/content/features/editor.mdx
@@ -231,7 +231,7 @@ The editor has two sidebars: the file sidebar on the left and the document panel
The defaults only apply until you toggle. OpenKnowledge remembers your most recent Show / Hide for each sidebar in your browser and survives reloads. When you come back to the same layout context (narrow window, comfortable window, or embedded view) you used last, your toggle is what you'll see. Toggling in a different context replaces that memory; only your most recent choice sticks, so a stale preference from a wide-monitor session can't quietly override what you just chose on a narrow screen.
-Keyboard shortcuts (use `Ctrl` on Windows / Linux in place of `Cmd`, unless the shortcut already uses `Ctrl`):
+Keyboard shortcuts (on Windows / Linux, use `Ctrl` in place of `Cmd` and `Alt` in place of `Option`; rows that already use `Ctrl` are unchanged):
| Shortcut | Action |
| --- | --- |
diff --git a/docs/content/features/share.mdx b/docs/content/features/share.mdx
index 2385c6e6c..4e60697a8 100644
--- a/docs/content/features/share.mdx
+++ b/docs/content/features/share.mdx
@@ -39,7 +39,7 @@ The recipient clicks the URL and lands on a splash page showing the target (file
The splash offers two ways to receive:
-- **Desktop app.** Click **Open in desktop app** to fire the deep link into the OpenKnowledge desktop app — on the shared doc, folder overview, or project root depending on what was shared. **Download the app** serves recipients who don't yet have the app: the macOS DMG, the Windows x64 installer, or — on Linux, where the right package isn't detectable from a browser — the releases page with the deb/rpm packages. The download remembers the share (a first-party cookie, valid for seven days), and the app opens the shared target on its first launch.
+- **Desktop app.** Click **Open in desktop app** to fire the deep link into the OpenKnowledge desktop app — on the shared doc, folder overview, or project root depending on what was shared. **Download the app** routes recipients to the matching macOS, Windows, or Linux download flow, with a download page listing all available builds when the browser cannot identify the platform. The download remembers the share (a first-party cookie, valid for seven days), and the app opens the shared target on its first launch.
- **CLI (any platform).** Copy the pre-filled `npm install -g @inkeep/open-knowledge` then `ok clone <owner/repo> -b <branch>` from the splash to clone the repo locally and open the editor. The clone command is always branch-pinned, but if the feature branch has been deleted, it will fall back to the default branch. See the [CLI reference](/docs/reference/cli#clone-from-github) for `ok clone` and related commands.
## What the desktop app does when it receives the link
diff --git a/docs/content/get-started/quickstart.mdx b/docs/content/get-started/quickstart.mdx
index 5f0f93dd8..eb56185a6 100644
--- a/docs/content/get-started/quickstart.mdx
+++ b/docs/content/get-started/quickstart.mdx
@@ -11,7 +11,9 @@ description: Set up a knowledge base with OpenKnowledge in less than five minute
<Step>
-### Install the desktop app
+### Install the desktop app (macOS, Windows, Linux)
+
+Download the installer for your platform:
<DownloadButton />
diff --git a/docs/content/reference/what-open-knowledge-writes.mdx b/docs/content/reference/what-open-knowledge-writes.mdx
index 934f718e1..fca23fb76 100644
--- a/docs/content/reference/what-open-knowledge-writes.mdx
+++ b/docs/content/reference/what-open-knowledge-writes.mdx
@@ -64,7 +64,7 @@ The first two rows below live in OpenKnowledge's own `~/.ok/` directory and are
| `~/.ok/env.sh` | A managed shim that prepends `~/.ok/bin` to your `PATH` | Outside-project (home dir) |
| `~/.zshrc`, `~/.bash_profile`, `~/.config/fish/conf.d/open-knowledge.fish` | A **fenced managed block** that sources `~/.ok/env.sh` — written **only if you consent** in the first-launch dialog | Outside-project (shell config) |
-If you decline, only `ok` typed in an *external* terminal (Terminal, iTerm) is affected — the app's built-in terminal, the MCP server, and the "Open with AI" launches all work without it. You can add it later from **File → Set up OpenKnowledge integrations…**. Machines that already had the block from a version before the consent dialog are treated as consented: the block is left in place and maintained.
+If you decline, only `ok` typed in an *external* terminal is affected. The MCP server and "Open with AI" launches still work without it, as does the app's built-in terminal on macOS (the built-in terminal is not yet available in the Windows and Linux apps). You can add it later from **File → Set up OpenKnowledge integrations…**. Machines that already had the block from a version before the consent dialog are treated as consented: the block is left in place and maintained.
The managed block is clearly fenced so you can see and remove it:
diff --git a/docs/content/self-hosting/methods/npm.mdx b/docs/content/self-hosting/methods/npm.mdx
index 4d516d5eb..9fd028b99 100644
--- a/docs/content/self-hosting/methods/npm.mdx
+++ b/docs/content/self-hosting/methods/npm.mdx
@@ -182,7 +182,7 @@ sudo systemctl enable --now openknowledge
```
<Callout>
-**On macOS**, there's no systemd. Run `ok start` in a terminal, and set the machine not to sleep (System Settings → Energy) for always-on use.
+**On macOS and Windows**, systemd isn't available. For a simple always-on setup, run `ok start` in a terminal and configure the machine not to sleep. For unattended restarts, use the platform's service manager: launchd on macOS or Task Scheduler / a Windows service on Windows.
</Callout>
Now [try it out](/docs/self-hosting/overview#try-it-out), then [restrict who can reach it](/docs/self-hosting/authentication).
diff --git a/docs/src/app/d/[encoded]/splash-cli-block.tsx b/docs/src/app/d/[encoded]/splash-cli-block.tsx
index e31ee3dff..f9c7cb480 100644
--- a/docs/src/app/d/[encoded]/splash-cli-block.tsx
+++ b/docs/src/app/d/[encoded]/splash-cli-block.tsx
@@ -9,16 +9,7 @@ interface SplashCliBlockProps {
installCommand: string;
/** Omitted on the fallback screen, which has no resolved repo to clone. */
cloneCommand?: string;
- /**
- * Wrapper spacing. Defaults to the `mt-12` that aligns the Linux CLI-primary
- * block with the macOS cluster; the dropdown-panel embed passes `''` to drop
- * the top margin.
- */
- wrapperClassName?: string;
- /**
- * Render the "Open with CLI" header above the code surface. Shared by the
- * macOS dropdown panel and the Linux inline path so the two stay identical.
- */
+ /** Render the "Open with CLI" header above the code surface. */
showHeading?: boolean;
}
@@ -27,12 +18,7 @@ const FAILED_RESET_MS = 5000;
type CopyStatus = 'idle' | 'copied' | 'failed';
-export function SplashCliBlock({
- installCommand,
- cloneCommand,
- wrapperClassName,
- showHeading,
-}: SplashCliBlockProps) {
+export function SplashCliBlock({ installCommand, cloneCommand, showHeading }: SplashCliBlockProps) {
const [status, setStatus] = useState<CopyStatus>('idle');
// Whether the failure fallback actually selected the command text. Drives the
// aria-live label so it never announces "text is selected" when selection was
@@ -41,9 +27,8 @@ export function SplashCliBlock({
const codeRef = useRef<HTMLPreElement>(null);
const resetTimerRef = useRef<number | null>(null);
- // Clear the status auto-reset timer on unmount — the parent can swap this
- // block out (macOS popover ↔ Linux inline) on the post-hydration OS
- // reclassification, unmounting it mid-timer.
+ // Clear the status auto-reset timer on unmount — the popover can close and
+ // unmount this block while a copy-status reset is still pending.
useEffect(
() => () => {
if (resetTimerRef.current !== null) window.clearTimeout(resetTimerRef.current);
@@ -103,7 +88,7 @@ export function SplashCliBlock({
: 'Copy';
return (
- <div className={cn(wrapperClassName ?? 'mt-12')}>
+ <div>
{/* "Open with CLI" only when there is something to open — the clone step
is what opens the share. Without it these commands just install the
CLI, and the old fixed heading promised an outcome the block did not
diff --git a/docs/src/app/d/[encoded]/splash-cli-popover.tsx b/docs/src/app/d/[encoded]/splash-cli-popover.tsx
index 38c125816..fe5c56a66 100644
--- a/docs/src/app/d/[encoded]/splash-cli-popover.tsx
+++ b/docs/src/app/d/[encoded]/splash-cli-popover.tsx
@@ -110,12 +110,7 @@ export function SplashCliPopover({
</div>
) : null}
- <SplashCliBlock
- installCommand={installCommand}
- cloneCommand={cloneCommand}
- wrapperClassName=""
- showHeading
- />
+ <SplashCliBlock installCommand={installCommand} cloneCommand={cloneCommand} showHeading />
{githubUrl ? (
<a
diff --git a/packages/app/src/components/HelpPopover.dom.test.tsx b/packages/app/src/components/HelpPopover.dom.test.tsx
index e87088ff3..5c036fb99 100644
--- a/packages/app/src/components/HelpPopover.dom.test.tsx
+++ b/packages/app/src/components/HelpPopover.dom.test.tsx
@@ -89,8 +89,8 @@ describe('HelpPopover runtime behavior', () => {
const nav = screen.getByRole('navigation', { name: 'Resources' });
const links = within(nav).getAllByRole('link');
- // Resources holds a single external link (Docs); the issue-reporting and
- // feedback entries render as in-app action buttons, not links.
+ // Download points at the OS-aware picker rather than a platform-specific
+ // asset. Issue-reporting and feedback render as in-app actions, not links.
expect(links.map(linkShape)).toEqual([
{
label: 'Docs',
@@ -99,6 +99,13 @@ describe('HelpPopover runtime behavior', () => {
rel: 'noopener noreferrer',
hasIcon: true,
},
+ {
+ label: 'Download app',
+ href: 'https://openknowledge.ai/download',
+ target: '_blank',
+ rel: 'noopener noreferrer',
+ hasIcon: true,
+ },
]);
});
@@ -194,4 +201,12 @@ describe('HelpPopover with the desktop bridge present', () => {
expect(docs.compareDocumentPosition(reportBug)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
expect(docs.compareDocumentPosition(sendFeedback)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
});
+
+ test('keeps the download route available for reinstalling or sharing from desktop', async () => {
+ await renderOpenHelpPopover();
+
+ expect(screen.getByRole('link', { name: 'Download app' }).getAttribute('href')).toBe(
+ 'https://openknowledge.ai/download',
+ );
+ });
});
diff --git a/packages/app/src/components/HelpPopover.tsx b/packages/app/src/components/HelpPopover.tsx
index 91d96f160..450faf1e7 100644
--- a/packages/app/src/components/HelpPopover.tsx
+++ b/packages/app/src/components/HelpPopover.tsx
@@ -4,7 +4,16 @@ import { getGitHubStars } from '@inkeep/open-knowledge-core';
import type { MessageDescriptor } from '@lingui/core';
import { msg } from '@lingui/core/macro';
import { Trans, useLingui } from '@lingui/react/macro';
-import { BookOpen, Bug, CircleHelp, Mail, Megaphone, MessageSquare, Star } from 'lucide-react';
+import {
+ BookOpen,
+ Bug,
+ CircleHelp,
+ Download,
+ Mail,
+ Megaphone,
+ MessageSquare,
+ Star,
+} from 'lucide-react';
import type { ComponentProps, FC, ReactNode } from 'react';
import { useEffect, useState } from 'react';
import { ReportBugDialog } from '@/components/ReportBugDialog';
@@ -41,7 +50,10 @@ const sections: ResourceSection[] = [
{
key: 'resources',
heading: msg`Resources`,
- links: [{ label: msg`Docs`, href: 'https://openknowledge.ai/docs', icon: BookOpen }],
+ links: [
+ { label: msg`Docs`, href: 'https://openknowledge.ai/docs', icon: BookOpen },
+ { label: msg`Download app`, href: 'https://openknowledge.ai/download', icon: Download },
+ ],
},
{
key: 'community',
diff --git a/packages/app/src/components/McpConsentDialog.dom.test.tsx b/packages/app/src/components/McpConsentDialog.dom.test.tsx
index 3362e2888..3fc3907f9 100644
--- a/packages/app/src/components/McpConsentDialog.dom.test.tsx
+++ b/packages/app/src/components/McpConsentDialog.dom.test.tsx
@@ -355,7 +355,10 @@ describe('McpConsentDialog AI-tools decision', () => {
});
describe('McpConsentDialog PATH consent row', () => {
- afterEach(() => cleanup());
+ afterEach(() => {
+ cleanup();
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+ });
test('renders pre-checked with the rc-file disclosure; warning appears only when unchecked', async () => {
await renderDialog();
@@ -385,6 +388,21 @@ describe('McpConsentDialog PATH consent row', () => {
expect(screen.getByTestId('mcp-consent-path-warning').textContent).toContain(
'external terminals',
);
+ expect(screen.getByTestId('mcp-consent-path-warning').textContent).not.toContain(
+ 'built-in terminal',
+ );
+ });
+
+ test('mentions the built-in terminal only when the desktop bridge reports PTY support', async () => {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = {
+ config: { ptyAvailable: true },
+ };
+ await renderDialog();
+
+ await userEvent.click(screen.getByTestId('mcp-consent-path-checkbox'));
+ expect(screen.getByTestId('mcp-consent-path-warning').textContent).toContain(
+ 'built-in terminal',
+ );
});
test('unchecking the toggle sends pathInstall:false on Continue', async () => {
diff --git a/packages/app/src/components/McpConsentDialogBody.tsx b/packages/app/src/components/McpConsentDialogBody.tsx
index 2ade2d3cd..dc40d5c57 100644
--- a/packages/app/src/components/McpConsentDialogBody.tsx
+++ b/packages/app/src/components/McpConsentDialogBody.tsx
@@ -141,6 +141,7 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormPro
const globalSkills = payload.globalSkills;
const skillsOffered = globalSkills.length > 0;
const pathActionable = isPathRowActionable(pathInstall);
+ const ptyAvailable = window.okDesktop?.config.ptyAvailable === true;
const editors = connectableEditors(payload.detectedEditors);
const hasEditors = editors.length > 0;
const replacing = editors.filter((e) => e.willReplace);
@@ -314,11 +315,18 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormPro
className="ps-6.5 text-xs text-amber-700 dark:text-amber-400"
data-testid="mcp-consent-path-warning"
>
- <Trans comment="Warning shown when the user unchecks the PATH toggle — only external terminals degrade">
- <code className="inline-code">ok</code> won't run in external terminals
- until you add it later from the File menu. OpenKnowledge's built-in terminal
- and AI tools keep working.
- </Trans>
+ {ptyAvailable ? (
+ <Trans comment="Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal">
+ <code className="inline-code">ok</code> won't run in external terminals
+ until you add it later from the File menu. OpenKnowledge's built-in
+ terminal and AI tools keep working.
+ </Trans>
+ ) : (
+ <Trans comment="Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal">
+ <code className="inline-code">ok</code> won't run in external terminals
+ until you add it later from the File menu. Your AI tools keep working.
+ </Trans>
+ )}
</span>
)}
</Label>
diff --git a/packages/app/src/components/handoff/OpenInAgentMenuItem.test.ts b/packages/app/src/components/handoff/OpenInAgentMenuItem.test.ts
index 02f036beb..3dbe526d0 100644
--- a/packages/app/src/components/handoff/OpenInAgentMenuItem.test.ts
+++ b/packages/app/src/components/handoff/OpenInAgentMenuItem.test.ts
@@ -19,20 +19,11 @@ function targetById(id: TargetData['id']): TargetData {
}
describe('OpenInAgentMenuItem module surface', () => {
- test('exports the component, helpers, and the OK desktop install URL', async () => {
+ test('exports the component and pure row-state helpers', async () => {
const mod = await import('./OpenInAgentMenuItem');
expect(typeof mod.OpenInAgentMenuItem).toBe('function');
expect(typeof mod.computeRowState).toBe('function');
expect(typeof mod.computeRowHint).toBe('function');
- expect(typeof mod.OK_DESKTOP_INSTALL_URL).toBe('string');
- expect(mod.OK_DESKTOP_INSTALL_URL.startsWith('https://')).toBe(true);
- });
-
- test('OK_DESKTOP_INSTALL_URL points at the releases page, not the source README', async () => {
- const { OK_DESKTOP_INSTALL_URL } = await import('./OpenInAgentMenuItem');
- // The URL must land on installers directly. A repo-root URL drops users on
- // the README which is actively misleading as an "install" destination.
- expect(OK_DESKTOP_INSTALL_URL).toContain('/releases');
});
});
diff --git a/packages/app/src/components/handoff/OpenInAgentMenuItem.tsx b/packages/app/src/components/handoff/OpenInAgentMenuItem.tsx
index bc85e016f..a9ec666a1 100644
--- a/packages/app/src/components/handoff/OpenInAgentMenuItem.tsx
+++ b/packages/app/src/components/handoff/OpenInAgentMenuItem.tsx
@@ -126,13 +126,6 @@ export function TargetIcon({
return null;
}
-/**
- * Stable URL for the "Install the OpenKnowledge desktop app →" affordance
- * shown only in the web-host Cursor submenu. Points at the releases page so
- * users land directly on installers rather than a source-code README.
- */
-export const OK_DESKTOP_INSTALL_URL = 'https://github.com/inkeep/open-knowledge/releases';
-
/** A clickable affordance shown inside the disabled-row submenu. */
interface RowAffordance {
readonly label: string;
diff --git a/packages/app/src/components/settings/AiToolsSection.dom.test.tsx b/packages/app/src/components/settings/AiToolsSection.dom.test.tsx
index fb906a701..e557f0bc8 100644
--- a/packages/app/src/components/settings/AiToolsSection.dom.test.tsx
+++ b/packages/app/src/components/settings/AiToolsSection.dom.test.tsx
@@ -108,11 +108,13 @@ const baseStatus: OkIntegrationsStatus = {
interface HarnessOpts {
status?: OkIntegrationsStatus;
setResult?: (request: OkIntegrationsSetRequest) => OkIntegrationsSetResult;
+ ptyAvailable?: boolean;
}
-function installBridge({ status = baseStatus, setResult }: HarnessOpts = {}) {
+function installBridge({ status = baseStatus, setResult, ptyAvailable = true }: HarnessOpts = {}) {
const setCalls: OkIntegrationsSetRequest[] = [];
const bridge = {
+ config: { ptyAvailable },
integrations: {
status: async () => status,
setComponent: async (request: OkIntegrationsSetRequest) => {
@@ -191,6 +193,29 @@ describe('AiToolsSection', () => {
expect(screen.getByTestId('ai-tools-skills-moved').textContent).toContain('Skills Studio');
});
+ test('does not promise the built-in terminal when PTY support is unavailable', async () => {
+ installBridge({
+ ptyAvailable: false,
+ status: { ...baseStatus, path: { ...baseStatus.path, installed: true } },
+ });
+ renderSection();
+
+ const status = await screen.findByTestId('ai-tools-path-status');
+ expect(status.textContent).toContain('your AI tools keep working');
+ expect(status.textContent).not.toContain('built-in terminal');
+ });
+
+ test('promises the built-in terminal when PTY support is available', async () => {
+ installBridge({
+ status: { ...baseStatus, path: { ...baseStatus.path, installed: true } },
+ });
+ renderSection();
+
+ const status = await screen.findByTestId('ai-tools-path-status');
+ expect(status.textContent).toContain('built-in terminal');
+ expect(status.textContent).not.toContain('your AI tools keep working');
+ });
+
test('detection orders a row but never claims presence on it', async () => {
// One rule across the agent lists: the probe may pick a row's position, and
// on the external-apps group its default, but no row prints an assertion of
diff --git a/packages/app/src/components/settings/AiToolsSection.tsx b/packages/app/src/components/settings/AiToolsSection.tsx
index 2ca02e5ff..5501b938c 100644
--- a/packages/app/src/components/settings/AiToolsSection.tsx
+++ b/packages/app/src/components/settings/AiToolsSection.tsx
@@ -221,7 +221,9 @@ export function AiToolsSection() {
</span>
<span className="text-xs text-muted-foreground" data-testid="ai-tools-path-status">
{status.path.installed
- ? t`Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working.`
+ ? bridge.config.ptyAvailable === true
+ ? t`Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working.`
+ : t`Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working.`
: t`Adds a managed block to ${status.path.rcFilesToTouch.join(', ')}`}
</span>
</span>
diff --git a/packages/app/src/components/terminal-links.ts b/packages/app/src/components/terminal-links.ts
index c3d304b0e..d8158bdbf 100644
--- a/packages/app/src/components/terminal-links.ts
+++ b/packages/app/src/components/terminal-links.ts
@@ -7,8 +7,9 @@
*
* URLs are NOT handled here — `WebLinksAddon` owns implicit `http(s)` detection
* (its `strictUrlRegex` + `new URL()` round-trip gate are battle-tested). This
- * module only finds POSIX file paths (desktop is macOS-only, so no Windows
- * drive/UNC clauses) and turns them into project-relative targets.
+ * module only finds POSIX file paths (the built-in terminal is macOS-only,
+ * so no Windows drive/UNC clauses are needed) and turns them into
+ * project-relative targets.
*
* Philosophy (matching VSCode / iTerm2): parse generously, then gate on
* existence at the call site. A generous regex plus a `checkTargetExists` probe
diff --git a/packages/app/src/editor/components/CodePreviewEditModal.dom.test.tsx b/packages/app/src/editor/components/CodePreviewEditModal.dom.test.tsx
index 60d61d47a..069105d11 100644
--- a/packages/app/src/editor/components/CodePreviewEditModal.dom.test.tsx
+++ b/packages/app/src/editor/components/CodePreviewEditModal.dom.test.tsx
@@ -104,7 +104,7 @@ describe('CodePreviewEditModal', () => {
const shortcutKeys = Array.from(document.querySelectorAll('[data-slot="kbd"]')).map(
(node) => node.textContent,
);
- expect(shortcutKeys).toEqual(['⌘ Enter', 'Esc']);
+ expect(shortcutKeys).toEqual(['Cmd/Ctrl+Enter', 'Esc']);
});
test('Save commits the current draft via onSave', async () => {
diff --git a/packages/app/src/editor/components/CodePreviewEditModal.tsx b/packages/app/src/editor/components/CodePreviewEditModal.tsx
index ed3032083..f8c70c78b 100644
--- a/packages/app/src/editor/components/CodePreviewEditModal.tsx
+++ b/packages/app/src/editor/components/CodePreviewEditModal.tsx
@@ -284,7 +284,7 @@ export function CodePreviewEditModal({
// because defaultKeymap binds `Mod-Enter` to `insertBlankLine`.
// Behind the spread, insertBlankLine would win and Cmd/Ctrl+Enter
// would insert a newline instead of committing — contradicting
- // the footer's "⌘ Enter saves" promise. Our binding returns true,
+ // the footer's "Cmd/Ctrl+Enter saves" promise. Our binding returns true,
// so first position makes it authoritative.
// - `indentWithTab` binds `Tab` (a different key), so its order
// relative to the others is immaterial; it stays near the front
@@ -377,7 +377,7 @@ export function CodePreviewEditModal({
) : (
<DialogDescription>
<Trans>
- Type to edit; <Kbd>⌘ Enter</Kbd> saves, <Kbd>Esc</Kbd> cancels.
+ Type to edit; <Kbd>Cmd/Ctrl+Enter</Kbd> saves, <Kbd>Esc</Kbd> cancels.
</Trans>
</DialogDescription>
)}
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index 34fa95504..0f99f6d04 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -982,6 +982,9 @@
"BGtzlf": [["uploadFolderName"], " — ملف واحد"],
"BH56dn": ["نص عرض مخصص"],
"BKI4hX": ["بحث في الملف"],
+ "BOsvJ8": [
+ "<0>ok</0> لن يعمل في الوحدات الطرفية الخارجية حتى تضيفه لاحقًا من قائمة «ملف». ستستمر أدوات الذكاء الاصطناعي لديك في العمل."
+ ],
"BQKHuL": ["إعادة تشغيل الطرفية"],
"BQu9Pg": ["رابط رمزي"],
"BUyQnq": ["تعذّرت إعادة تشغيل الخادم. جرّب `ok start` في هذا المجلد."],
@@ -2755,6 +2758,9 @@
"XBBZnv": ["هدف الرابط \"", ["shown"], "\" لا يشير إلى مستند موجود."],
"XBgr2S": ["النسخ إلى هنا"],
"XDzAnp": ["يفتح في تبويب جديد"],
+ "XEfNPL": [
+ "تم التثبيت — يتوفر ok في الوحدات الطرفية الخارجية. تؤدي إزالة التحديد إلى إزالته؛ وستستمر أدوات الذكاء الاصطناعي لديك في العمل."
+ ],
"XFpEgc": [
"اختر الوكلاء الذين يظهرون في قوائم الوكلاء في التطبيق، مثل Ask AI وOpen with AI وزر + لمحادثة جديدة. أوقف وكيلاً لإخفائه منها جميعاً."
],
@@ -2968,6 +2974,7 @@
"ZNK2Tq": ["الجذر"],
"ZQJ1IV": ["تنشيط آخر تبويب في المحرر."],
"ZQLDTl": ["أنشأ مجلدًا"],
+ "ZQc7C8": ["اكتب للتحرير؛ <0>Cmd/Ctrl+Enter</0> يحفظ، و<1>Esc</1> يلغي."],
"ZSoojc": ["فشل الاستنساخ — تحقق من الرابط وحاول مرة أخرى (", ["status"], ")"],
"ZU8VV_": ["فشلت الإزالة: ", ["error"]],
"ZVOhXM": ["فشل تحديث المزامنة — ", ["detail"]],
@@ -4245,6 +4252,7 @@
"n2lRue": ["أودع التغييرات أو خزّنها مؤقتًا للتبديل:"],
"n3T3EE": ["مثبَّت في ", ["label"], " — انقر للإزالة"],
"n3wx1q": ["هل تستعيد هذه النسخة؟"],
+ "n4vt3Q": ["تنزيل التطبيق"],
"n5Vy3l": ["فُتح على الفرع ", ["branch"]],
"n5n_vi": ["مستودع خاص"],
"n6hXUm": [
@@ -4951,7 +4959,6 @@
"vPLUCm": ["الصورة ", ["identity"], " مفقودة. انتقل إلى المرجع."],
"vPXOUw": ["تبديل عرض المصدر"],
"vQIVHc": ["خصائص المجلد"],
- "vWc9a0": ["اكتب للتحرير؛ <0>⌘ Enter</0> يحفظ، و<1>Esc</1> يلغي."],
"vXIe7J": ["اللغة"],
"vYOUOk": ["إضافة تعليق"],
"vYPvPB": ["تبديل المشروع…"],
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index 7b39ae990..d5265b5ef 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>لم يُعثر على مرساة المرآة.</0> لا يوجد <1>
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>تمت إزالة مصدر المرآة.</0> لم يعد المستند <1>{src}</1> متاحًا."
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "لن يعمل <0>ok</0> في الطرفيات الخارجية حتى تضيفه لاحقًا من قائمة «ملف». تظل طرفية OpenKnowledge المدمجة وأدوات الذكاء الاصطناعي تعمل."
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> لن يعمل في الوحدات الطرفية الخارجية حتى تضيفه لاحقًا من قائمة «ملف». ستستمر أدوات الذكاء الاصطناعي لديك في العمل."
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>مسافة</0> للقفز · <1>↓</1> للانحناء"
@@ -4631,6 +4636,10 @@ msgstr "انقر نقرًا مزدوجًا للتحرير"
msgid "Download {0}"
msgstr "تنزيل {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "تنزيل التطبيق"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "تنزيل الملف"
@@ -6848,6 +6857,10 @@ msgstr "مثبَّت"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "مثبَّت — الأمر ok متاح في الطرفيات الخارجية. إلغاء التحديد يزيله؛ وتظل طرفية OpenKnowledge المدمجة وأدوات الذكاء الاصطناعي تعمل."
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "تم التثبيت — يتوفر ok في الوحدات الطرفية الخارجية. تؤدي إزالة التحديد إلى إزالته؛ وستستمر أدوات الذكاء الاصطناعي لديك في العمل."
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "اكتب استعلامًا، ثم اضغط <0>↵</0> للبحث في صفحاتك حسب المعنى."
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "اكتب للتحرير؛ <0>⌘ Enter</0> يحفظ، و<1>Esc</1> يلغي."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "اكتب للتحرير؛ <0>Cmd/Ctrl+Enter</0> يحفظ، و<1>Esc</1> يلغي."
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index c619a41a7..84252b8d9 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -820,6 +820,9 @@
"BGtzlf": [["uploadFolderName"], " — ১টি ফাইল"],
"BH56dn": ["কাস্টম প্রদর্শিত লেখা"],
"BKI4hX": ["ফাইলে খুঁজুন"],
+ "BOsvJ8": [
+ "পরে File মেনু থেকে যোগ না করা পর্যন্ত <0>ok</0> বাহ্যিক টার্মিনালে চলবে না। আপনার AI টুলগুলো কাজ করতে থাকবে।"
+ ],
"BQKHuL": ["টার্মিনাল পুনরায় চালু করুন"],
"BQu9Pg": ["সিমলিংক"],
"BUyQnq": ["সার্ভার পুনরায় চালু করা যায়নি। এই ফোল্ডারে `ok start` চেষ্টা করুন।"],
@@ -2350,6 +2353,9 @@
"XBBZnv": ["লিংকের লক্ষ্য \"", ["shown"], "\" কোনো বিদ্যমান নথিকে নির্দেশ করে না।"],
"XBgr2S": ["এখানে কপি করুন"],
"XDzAnp": ["নতুন ট্যাবে খোলে"],
+ "XEfNPL": [
+ "ইনস্টল করা আছে — ok বাহ্যিক টার্মিনালে ব্যবহার করা যাবে। টিক চিহ্ন তুলে দিলে এটি সরানো হবে; আপনার AI টুলগুলো কাজ করতে থাকবে।"
+ ],
"XFpEgc": [
"অ্যাপ জুড়ে এজেন্ট মেনুতে কোন এজেন্টগুলি দেখা যাবে তা বেছে নিন, যেমন Ask AI, Open with AI এবং + নতুন চ্যাট বোতাম। কোনো এজেন্ট বন্ধ করলে সেটি এই সবগুলি থেকে লুকিয়ে যাবে।"
],
@@ -2535,6 +2541,7 @@
"ZNK2Tq": ["রুট"],
"ZQJ1IV": ["শেষ সম্পাদক ট্যাব সক্রিয় করুন।"],
"ZQLDTl": ["ফোল্ডার তৈরি হয়েছে"],
+ "ZQc7C8": ["সম্পাদনা করতে লিখুন; <0>Cmd/Ctrl+Enter</0> সংরক্ষণ করে, <1>Esc</1> বাতিল করে।"],
"ZSoojc": ["ক্লোন ব্যর্থ — URL যাচাই করে আবার চেষ্টা করুন (", ["status"], ")"],
"ZU8VV_": ["সরানো ব্যর্থ: ", ["error"]],
"ZVOhXM": ["সিঙ্ক হালনাগাদ করতে ব্যর্থ — ", ["detail"]],
@@ -3627,6 +3634,7 @@
"n2lRue": ["বদলাতে পরিবর্তন কমিট বা স্ট্যাশ করুন:"],
"n3T3EE": [["label"], "-এ ইনস্টল করা — সরাতে ক্লিক করুন"],
"n3wx1q": ["এই সংস্করণে ফিরিয়ে আনবেন?"],
+ "n4vt3Q": ["অ্যাপ ডাউনলোড করুন"],
"n5Vy3l": [["branch"], " ব্রাঞ্চে খোলা হয়েছে"],
"n5n_vi": ["ব্যক্তিগত রিপোজিটরি"],
"n6hXUm": [
@@ -4207,7 +4215,6 @@
"vPLUCm": ["অনুপস্থিত ছবি ", ["identity"], "। রেফারেন্সে যান।"],
"vPXOUw": ["সোর্স দৃশ্য চালু বা বন্ধ করুন"],
"vQIVHc": ["ফোল্ডার প্রপার্টি"],
- "vWc9a0": ["সম্পাদনা করতে লিখুন; <0>⌘ Enter</0> সংরক্ষণ করে, <1>Esc</1> বাতিল করে।"],
"vXIe7J": ["ভাষা"],
"vYOUOk": ["একটি মন্তব্য যোগ করুন"],
"vYPvPB": ["প্রকল্প বদলান…"],
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index 314cde8ee..36a6207b9 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -1003,11 +1003,16 @@ msgstr "<0>মিরর অ্যাংকর পাওয়া যায়ন
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>মিরর উৎস সরানো হয়েছে।</0> <1>{src}</1> নথিটি আর নেই।"
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> বাইরের টার্মিনালে চলবে না যতক্ষণ না আপনি পরে File মেনু থেকে সেটি যোগ করেন। OpenKnowledge-এর নিজস্ব টার্মিনাল ও AI টুল কাজ করতে থাকে।"
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "পরে File মেনু থেকে যোগ না করা পর্যন্ত <0>ok</0> বাহ্যিক টার্মিনালে চলবে না। আপনার AI টুলগুলো কাজ করতে থাকবে।"
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "লাফাতে <0>স্পেস</0> · নিচু হতে <1>↓</1>"
@@ -4627,6 +4632,10 @@ msgstr "সম্পাদনা করতে ডাবল-ক্লিক ক
msgid "Download {0}"
msgstr "{0} ডাউনলোড করুন"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "অ্যাপ ডাউনলোড করুন"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "ফাইল ডাউনলোড করুন"
@@ -6844,6 +6853,10 @@ msgstr "ইনস্টল করা আছে"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "ইনস্টল করা আছে — ok বাইরের টার্মিনালে পাওয়া যায়। টিক সরালে সেটি সরে যায়; OpenKnowledge-এর নিজস্ব টার্মিনাল ও AI টুল কাজ করতে থাকে।"
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "ইনস্টল করা আছে — ok বাহ্যিক টার্মিনালে ব্যবহার করা যাবে। টিক চিহ্ন তুলে দিলে এটি সরানো হবে; আপনার AI টুলগুলো কাজ করতে থাকবে।"
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13557,8 +13570,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "একটি প্রশ্ন লিখুন, তারপর অর্থের ভিত্তিতে আপনার পাতাগুলো খুঁজতে <0>↵</0> চাপুন।"
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "সম্পাদনা করতে লিখুন; <0>⌘ Enter</0> সংরক্ষণ করে, <1>Esc</1> বাতিল করে।"
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "সম্পাদনা করতে লিখুন; <0>Cmd/Ctrl+Enter</0> সংরক্ষণ করে, <1>Esc</1> বাতিল করে।"
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index f55228dd8..aed929023 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -846,6 +846,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 file"],
"BH56dn": ["Custom display text"],
"BKI4hX": ["Find in file"],
+ "BOsvJ8": [
+ "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+ ],
"BQKHuL": ["Restart terminal"],
"BQu9Pg": ["Symlink"],
"BUyQnq": ["Couldn't restart the server. Try `ok start` in this folder."],
@@ -2401,6 +2404,9 @@
"XBBZnv": ["Link target \"", ["shown"], "\" does not resolve to an existing document."],
"XBgr2S": ["Copy in"],
"XDzAnp": ["Opens in a new tab"],
+ "XEfNPL": [
+ "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+ ],
"XFpEgc": [
"Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."
],
@@ -2587,6 +2593,7 @@
"ZNK2Tq": ["root"],
"ZQJ1IV": ["Activate the last editor tab."],
"ZQLDTl": ["created folder"],
+ "ZQc7C8": ["Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."],
"ZSoojc": ["Clone failed — check the URL and try again (", ["status"], ")"],
"ZU8VV_": ["Remove failed: ", ["error"]],
"ZVOhXM": ["Failed to update sync — ", ["detail"]],
@@ -3731,6 +3738,7 @@
"n2lRue": ["Commit or stash changes to switch:"],
"n3T3EE": ["Installed in ", ["label"], " — click to remove"],
"n3wx1q": ["Restore to this version?"],
+ "n4vt3Q": ["Download app"],
"n5Vy3l": ["Opened on branch ", ["branch"]],
"n5n_vi": ["Private repository"],
"n6hXUm": [
@@ -4343,7 +4351,6 @@
"vPLUCm": ["Missing image ", ["identity"], ". Go to reference."],
"vPXOUw": ["Toggle source view"],
"vQIVHc": ["Folder properties"],
- "vWc9a0": ["Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."],
"vXIe7J": ["Language"],
"vYOUOk": ["Add a comment"],
"vYPvPB": ["Switch project…"],
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index 78597f429..5b8bd5af3 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>Mirror anchor not found.</0> No <1>{mirrorSourceTag}</1> exists in <2
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>Space</0> to jump · <1>↓</1> to duck"
@@ -4631,6 +4636,10 @@ msgstr "Double-click to edit"
msgid "Download {0}"
msgstr "Download {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "Download app"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "Download file"
@@ -6848,6 +6857,10 @@ msgstr "Installed"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "Type a query, then press <0>↵</0> to search your pages by meaning."
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 5720de3a0..ea733005c 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -993,6 +993,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 archivo"],
"BH56dn": ["Texto personalizado"],
"BKI4hX": ["Buscar en el archivo"],
+ "BOsvJ8": [
+ "<0>ok</0> no funcionará en terminales externas hasta que lo añadas más tarde desde el menú Archivo. Tus herramientas de IA seguirán funcionando."
+ ],
"BQKHuL": ["Reiniciar la terminal"],
"BQu9Pg": ["Enlace simbólico"],
"BUyQnq": ["No se pudo reiniciar el servidor. Prueba `ok start` en esta carpeta."],
@@ -2780,6 +2783,9 @@
"XBBZnv": ["El destino del enlace «", ["shown"], "» no corresponde a un documento existente."],
"XBgr2S": ["Copiar aquí"],
"XDzAnp": ["Se abre en una pestaña nueva"],
+ "XEfNPL": [
+ "Instalado — ok está disponible en terminales externas. Al desmarcarlo, se elimina; tus herramientas de IA seguirán funcionando."
+ ],
"XFpEgc": [
"Elige qué agentes aparecen en los menús de agentes de la aplicación, como Ask AI, Open with AI y el botón + de nuevo chat. Desactiva un agente para ocultarlo de todos ellos."
],
@@ -3004,6 +3010,7 @@
"ZNK2Tq": ["raíz"],
"ZQJ1IV": ["Activa la última pestaña del editor."],
"ZQLDTl": ["carpeta creada"],
+ "ZQc7C8": ["Escribe para editar; <0>Cmd/Ctrl+Enter</0> guarda, <1>Esc</1> cancela."],
"ZSoojc": ["No se pudo clonar: revisa la URL e inténtalo de nuevo (", ["status"], ")"],
"ZU8VV_": ["Falló al quitarlo: ", ["error"]],
"ZVOhXM": ["No se pudo actualizar la sincronización — ", ["detail"]],
@@ -4326,6 +4333,7 @@
"n2lRue": ["Haz commit o stash de tus cambios para cambiar:"],
"n3T3EE": ["Instalado en ", ["label"], ": haz clic para quitarlo"],
"n3wx1q": ["¿Restaurar hasta esta versión?"],
+ "n4vt3Q": ["Descargar la aplicación"],
"n5Vy3l": ["Abierto en la rama ", ["branch"]],
"n5n_vi": ["Repositorio privado"],
"n6hXUm": [
@@ -5003,7 +5011,6 @@
"vPLUCm": ["Falta la imagen ", ["identity"], ". Ir a la referencia."],
"vPXOUw": ["Mostrar u ocultar la vista de código"],
"vQIVHc": ["Propiedades de la carpeta"],
- "vWc9a0": ["Escribe para editar; <0>⌘ Intro</0> guarda, <1>Esc</1> cancela."],
"vXIe7J": ["Idioma"],
"vYOUOk": ["Añadir un comentario"],
"vYPvPB": ["Cambiar de proyecto…"],
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index 42c6f7ddc..bb7ed4455 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>No se encontró el ancla del espejo.</0> No existe ningún <1>{mirror
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>Se eliminó la fuente del espejo.</0> El documento <1>{src}</1> ya no está disponible."
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> no funcionará en terminales externas hasta que lo añadas más adelante desde el menú Archivo. La terminal integrada y las herramientas de IA de OpenKnowledge siguen funcionando."
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> no funcionará en terminales externas hasta que lo añadas más tarde desde el menú Archivo. Tus herramientas de IA seguirán funcionando."
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>Espacio</0> para saltar · <1>↓</1> para agacharse"
@@ -4631,6 +4636,10 @@ msgstr "Haz doble clic para editar"
msgid "Download {0}"
msgstr "Descargar {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "Descargar la aplicación"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "Descargar archivo"
@@ -6848,6 +6857,10 @@ msgstr "Instalado"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "Instalado: ok está disponible en terminales externas. Al desmarcarlo se quita; la terminal integrada y las herramientas de IA de OpenKnowledge siguen funcionando."
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "Instalado — ok está disponible en terminales externas. Al desmarcarlo, se elimina; tus herramientas de IA seguirán funcionando."
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "Escribe una consulta y pulsa <0>↵</0> para buscar en tus páginas por significado."
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "Escribe para editar; <0>⌘ Intro</0> guarda, <1>Esc</1> cancela."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "Escribe para editar; <0>Cmd/Ctrl+Enter</0> guarda, <1>Esc</1> cancela."
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index e927b103f..63ddeca8b 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -1017,6 +1017,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 fichier"],
"BH56dn": ["Texte d'affichage personnalisé"],
"BKI4hX": ["Rechercher dans le fichier"],
+ "BOsvJ8": [
+ "<0>ok</0> ne fonctionnera pas dans les terminaux externes tant que vous ne l’aurez pas ajouté depuis le menu Fichier. Vos outils d’IA continueront de fonctionner."
+ ],
"BQKHuL": ["Redémarrer le terminal"],
"BQu9Pg": ["Lien symbolique"],
"BUyQnq": ["Impossible de redémarrer le serveur. Essayez `ok start` dans ce dossier."],
@@ -2813,6 +2816,9 @@
"XBBZnv": ["La cible du lien « ", ["shown"], " » ne correspond à aucun document existant."],
"XBgr2S": ["Copier ici"],
"XDzAnp": ["S'ouvre dans un nouvel onglet"],
+ "XEfNPL": [
+ "Installé — ok est disponible dans les terminaux externes. Décochez cette option pour le supprimer ; vos outils d’IA continueront de fonctionner."
+ ],
"XFpEgc": [
"Choisissez quels agents apparaissent dans les menus d'agents de l'application, comme Ask AI, Open with AI et le bouton + de nouveau chat. Désactivez un agent pour le masquer de tous ces menus."
],
@@ -3034,6 +3040,7 @@
"ZNK2Tq": ["racine"],
"ZQJ1IV": ["Active le dernier onglet de l'éditeur."],
"ZQLDTl": ["dossier créé"],
+ "ZQc7C8": ["Saisissez pour modifier ; <0>Cmd/Ctrl+Enter</0> enregistre, <1>Échap</1> annule."],
"ZSoojc": ["Échec du clonage — vérifiez l'URL et réessayez (", ["status"], ")"],
"ZU8VV_": ["Échec du retrait : ", ["error"]],
"ZVOhXM": ["Échec de la mise à jour de la synchronisation — ", ["detail"]],
@@ -4361,6 +4368,7 @@
"n2lRue": ["Validez ou remisez vos modifications pour changer :"],
"n3T3EE": ["Installé dans ", ["label"], " — cliquez pour retirer"],
"n3wx1q": ["Restaurer cette version ?"],
+ "n4vt3Q": ["Télécharger l’application"],
"n5Vy3l": ["Ouvert sur la branche ", ["branch"]],
"n5n_vi": ["Dépôt privé"],
"n6hXUm": [
@@ -5057,7 +5065,6 @@
"vPLUCm": ["Image ", ["identity"], " manquante. Accéder à la référence."],
"vPXOUw": ["Basculer l'affichage de la source"],
"vQIVHc": ["Propriétés du dossier"],
- "vWc9a0": ["Saisissez pour modifier ; <0>⌘ Entrée</0> enregistre, <1>Échap</1> annule."],
"vXIe7J": ["Langue"],
"vYOUOk": ["Ajouter un commentaire"],
"vYPvPB": ["Changer de projet…"],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index 5e9116d11..5e77c40f3 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>Ancre de miroir introuvable.</0> Aucun <1>{mirrorSourceTag}</1> n'exi
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>Source du miroir supprimée.</0> Le document <1>{src}</1> n'est plus disponible."
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> ne fonctionnera pas dans les terminaux externes tant que vous ne l'aurez pas ajouté depuis le menu Fichier. Le terminal intégré et les outils IA d'OpenKnowledge continuent de fonctionner."
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> ne fonctionnera pas dans les terminaux externes tant que vous ne l’aurez pas ajouté depuis le menu Fichier. Vos outils d’IA continueront de fonctionner."
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>Espace</0> pour sauter · <1>↓</1> pour s’accroupir"
@@ -4631,6 +4636,10 @@ msgstr "Double-cliquez pour modifier"
msgid "Download {0}"
msgstr "Télécharger {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "Télécharger l’application"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "Télécharger le fichier"
@@ -6848,6 +6857,10 @@ msgstr "Installé"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "Installé — ok est disponible dans les terminaux externes. Décocher le retire ; le terminal intégré et les outils IA d'OpenKnowledge continuent de fonctionner."
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "Installé — ok est disponible dans les terminaux externes. Décochez cette option pour le supprimer ; vos outils d’IA continueront de fonctionner."
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "Saisissez une requête, puis appuyez sur <0>↵</0> pour chercher dans vos pages par le sens."
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "Saisissez pour modifier ; <0>⌘ Entrée</0> enregistre, <1>Échap</1> annule."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "Saisissez pour modifier ; <0>Cmd/Ctrl+Enter</0> enregistre, <1>Échap</1> annule."
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index 68f21550d..36cb1e19e 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -820,6 +820,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 फ़ाइल"],
"BH56dn": ["कस्टम प्रदर्शित पाठ"],
"BKI4hX": ["फ़ाइल में खोजें"],
+ "BOsvJ8": [
+ "<0>ok</0> तब तक बाहरी टर्मिनल में नहीं चलेगा, जब तक आप इसे बाद में फ़ाइल मेनू से नहीं जोड़ते। आपके AI टूल काम करते रहेंगे।"
+ ],
"BQKHuL": ["टर्मिनल पुनः आरंभ करें"],
"BQu9Pg": ["सिमलिंक"],
"BUyQnq": ["सर्वर पुनः आरंभ नहीं किया जा सका। इस फ़ोल्डर में `ok start` आज़माएँ।"],
@@ -2337,6 +2340,9 @@
"XBBZnv": ["लिंक लक्ष्य \"", ["shown"], "\" किसी मौजूदा दस्तावेज़ पर हल नहीं होता।"],
"XBgr2S": ["यहाँ कॉपी करें"],
"XDzAnp": ["नए टैब में खुलता है"],
+ "XEfNPL": [
+ "इंस्टॉल है — ok बाहरी टर्मिनल में उपलब्ध है। इसे अनचेक करने पर हटा दिया जाएगा; आपके AI टूल काम करते रहेंगे।"
+ ],
"XFpEgc": [
"चुनें कि ऐप के एजेंट मेनू में कौन से एजेंट दिखें, जैसे Ask AI, Open with AI और + नई चैट बटन। किसी एजेंट को बंद करने पर वह इन सभी से छिप जाएगा।"
],
@@ -2520,6 +2526,7 @@
"ZNK2Tq": ["रूट"],
"ZQJ1IV": ["अंतिम संपादक टैब सक्रिय करें।"],
"ZQLDTl": ["फ़ोल्डर बनाया गया"],
+ "ZQc7C8": ["संपादित करने के लिए लिखें; <0>Cmd/Ctrl+Enter</0> सहेजता है, <1>Esc</1> रद्द करता है।"],
"ZSoojc": ["क्लोन विफल — URL जाँचें और फिर से प्रयास करें (", ["status"], ")"],
"ZU8VV_": ["हटाना विफल: ", ["error"]],
"ZVOhXM": ["सिंक अपडेट करने में विफल — ", ["detail"]],
@@ -3618,6 +3625,7 @@
"n2lRue": ["बदलने के लिए बदलाव कमिट या स्टैश करें:"],
"n3T3EE": [["label"], " में इंस्टॉल है — हटाने के लिए क्लिक करें"],
"n3wx1q": ["इस संस्करण पर बहाल करें?"],
+ "n4vt3Q": ["ऐप डाउनलोड करें"],
"n5Vy3l": ["ब्रांच ", ["branch"], " पर खोला गया"],
"n5n_vi": ["निजी रिपॉज़िटरी"],
"n6hXUm": [
@@ -4199,7 +4207,6 @@
"vPLUCm": ["गुम चित्र ", ["identity"], "। संदर्भ पर जाएँ।"],
"vPXOUw": ["स्रोत दृश्य चालू या बंद करें"],
"vQIVHc": ["फ़ोल्डर प्रॉपर्टी"],
- "vWc9a0": ["संपादित करने के लिए लिखें; <0>⌘ Enter</0> सहेजता है, <1>Esc</1> रद्द करता है।"],
"vXIe7J": ["भाषा"],
"vYOUOk": ["एक टिप्पणी जोड़ें"],
"vYPvPB": ["प्रोजेक्ट बदलें…"],
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index 43db8f953..c05805543 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -1003,11 +1003,16 @@ msgstr "<0>मिरर एंकर नहीं मिला।</0> <2>{src}</
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>मिरर स्रोत हटा दिया गया।</0> दस्तावेज़ <1>{src}</1> अब उपलब्ध नहीं है।"
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> बाहरी टर्मिनलों में तब तक नहीं चलेगा जब तक आप इसे बाद में File मेन्यू से न जोड़ें। OpenKnowledge का अंतर्निहित टर्मिनल और AI टूल काम करते रहेंगे।"
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> तब तक बाहरी टर्मिनल में नहीं चलेगा, जब तक आप इसे बाद में फ़ाइल मेनू से नहीं जोड़ते। आपके AI टूल काम करते रहेंगे।"
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "कूदने के लिए <0>स्पेस</0> · झुकने के लिए <1>↓</1>"
@@ -4627,6 +4632,10 @@ msgstr "संपादित करने के लिए डबल-क्ल
msgid "Download {0}"
msgstr "{0} डाउनलोड करें"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "ऐप डाउनलोड करें"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "फ़ाइल डाउनलोड करें"
@@ -6844,6 +6853,10 @@ msgstr "इंस्टॉल है"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "इंस्टॉल है — ok बाहरी टर्मिनलों में उपलब्ध है। चुनाव हटाने पर यह हट जाता है; OpenKnowledge का अंतर्निहित टर्मिनल और AI टूल काम करते रहते हैं।"
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "इंस्टॉल है — ok बाहरी टर्मिनल में उपलब्ध है। इसे अनचेक करने पर हटा दिया जाएगा; आपके AI टूल काम करते रहेंगे।"
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13557,8 +13570,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "कोई क्वेरी लिखें, फिर अपने पेज अर्थ के आधार पर खोजने के लिए <0>↵</0> दबाएँ।"
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "संपादित करने के लिए लिखें; <0>⌘ Enter</0> सहेजता है, <1>Esc</1> रद्द करता है।"
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "संपादित करने के लिए लिखें; <0>Cmd/Ctrl+Enter</0> सहेजता है, <1>Esc</1> रद्द करता है।"
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index e30d7d315..bfc2f858e 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -835,6 +835,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 berkas"],
"BH56dn": ["Teks tampilan khusus"],
"BKI4hX": ["Cari di berkas"],
+ "BOsvJ8": [
+ "<0>ok</0> tidak akan berjalan di terminal eksternal sampai Anda menambahkannya nanti dari menu File. Alat AI Anda tetap berfungsi."
+ ],
"BQKHuL": ["Mulai ulang terminal"],
"BQu9Pg": ["Symlink"],
"BUyQnq": ["Server tidak bisa dimulai ulang. Coba `ok start` di folder ini."],
@@ -2428,6 +2431,9 @@
"XBBZnv": ["Target tautan \"", ["shown"], "\" tidak merujuk ke dokumen yang ada."],
"XBgr2S": ["Salin ke sini"],
"XDzAnp": ["Terbuka di tab baru"],
+ "XEfNPL": [
+ "Terpasang — ok tersedia di terminal eksternal. Menghapus centang akan menghapusnya; alat AI Anda tetap berfungsi."
+ ],
"XFpEgc": [
"Pilih agen mana yang muncul di menu agen di seluruh aplikasi, seperti Ask AI, Open with AI, dan tombol + obrolan baru. Nonaktifkan agen untuk menyembunyikannya dari semuanya."
],
@@ -2611,6 +2617,7 @@
"ZNK2Tq": ["akar"],
"ZQJ1IV": ["Mengaktifkan tab penyunting terakhir."],
"ZQLDTl": ["folder dibuat"],
+ "ZQc7C8": ["Ketik untuk menyunting; <0>Cmd/Ctrl+Enter</0> menyimpan, <1>Esc</1> membatalkan."],
"ZSoojc": ["Kloning gagal — periksa URL lalu coba lagi (", ["status"], ")"],
"ZU8VV_": ["Gagal menghapus: ", ["error"]],
"ZVOhXM": ["Gagal memperbarui sinkronisasi — ", ["detail"]],
@@ -3775,6 +3782,7 @@
"n2lRue": ["Lakukan commit atau stash pada perubahan untuk berpindah:"],
"n3T3EE": ["Terpasang di ", ["label"], " — klik untuk menghapus"],
"n3wx1q": ["Pulihkan hingga versi ini?"],
+ "n4vt3Q": ["Unduh aplikasi"],
"n5Vy3l": ["Dibuka di cabang ", ["branch"]],
"n5n_vi": ["Repositori pribadi"],
"n6hXUm": [
@@ -4358,7 +4366,6 @@
"vPLUCm": ["Gambar ", ["identity"], " tidak ditemukan. Buka referensi."],
"vPXOUw": ["Tampilkan atau sembunyikan tampilan sumber"],
"vQIVHc": ["Properti folder"],
- "vWc9a0": ["Ketik untuk menyunting; <0>⌘ Enter</0> menyimpan, <1>Esc</1> membatalkan."],
"vXIe7J": ["Bahasa"],
"vYOUOk": ["Tambahkan komentar"],
"vYPvPB": ["Ganti proyek…"],
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index c82f7ea47..9edc45322 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -1003,11 +1003,16 @@ msgstr "<0>Jangkar cermin tidak ditemukan.</0> Tidak ada <1>{mirrorSourceTag}</1
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>Sumber cermin dihapus.</0> Dokumen <1>{src}</1> sudah tidak tersedia."
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> tidak akan berjalan di terminal eksternal sampai Anda menambahkannya nanti dari menu Berkas. Terminal bawaan dan alat AI OpenKnowledge tetap berfungsi."
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> tidak akan berjalan di terminal eksternal sampai Anda menambahkannya nanti dari menu File. Alat AI Anda tetap berfungsi."
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>Spasi</0> untuk melompat · <1>↓</1> untuk menunduk"
@@ -4627,6 +4632,10 @@ msgstr "Klik dua kali untuk menyunting"
msgid "Download {0}"
msgstr "Unduh {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "Unduh aplikasi"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "Unduh berkas"
@@ -6844,6 +6853,10 @@ msgstr "Terpasang"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "Terpasang — ok tersedia di terminal eksternal. Melepas centang menghapusnya; terminal bawaan dan alat AI OpenKnowledge tetap berfungsi."
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "Terpasang — ok tersedia di terminal eksternal. Menghapus centang akan menghapusnya; alat AI Anda tetap berfungsi."
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13557,8 +13570,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "Ketik sebuah kueri, lalu tekan <0>↵</0> untuk mencari di halaman Anda berdasarkan makna."
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "Ketik untuk menyunting; <0>⌘ Enter</0> menyimpan, <1>Esc</1> membatalkan."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "Ketik untuk menyunting; <0>Cmd/Ctrl+Enter</0> menyimpan, <1>Esc</1> membatalkan."
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.json
index ec1c6243c..49cccafdc 100644
--- a/packages/app/src/locales/ko/messages.json
+++ b/packages/app/src/locales/ko/messages.json
@@ -806,6 +806,9 @@
"BGtzlf": [["uploadFolderName"], " … 파일 1개"],
"BH56dn": ["사용자 지정 표시 텍스트"],
"BKI4hX": ["파일에서 찾기"],
+ "BOsvJ8": [
+ "<0>ok</0>는 나중에 파일 메뉴에서 추가할 때까지 외부 터미널에서 실행되지 않습니다. AI 도구는 계속 작동합니다."
+ ],
"BQKHuL": ["터미널 재시작"],
"BQu9Pg": ["심볼릭 링크"],
"BUyQnq": ["서버를 다시 시작할 수 없습니다. 이 폴더에서 `ok start`를 실행해 보세요."],
@@ -2322,6 +2325,9 @@
"XBBZnv": ["링크 대상 \"", ["shown"], "\"이 존재하는 문서로 확인되지 않습니다."],
"XBgr2S": ["복사해 넣기"],
"XDzAnp": ["새 탭에서 열림"],
+ "XEfNPL": [
+ "설치됨 — 외부 터미널에서 ok를 사용할 수 있습니다. 선택을 해제하면 제거되며, AI 도구는 계속 작동합니다."
+ ],
"XFpEgc": [
"앱의 에이전트 메뉴에 포함할 에이전트를 선택합니다. Ask AI, Open with AI, + 새 채팅 버튼 등이 해당합니다. 에이전트를 끄면 모든 메뉴에서 숨깁니다."
],
@@ -2500,6 +2506,7 @@
"ZNK2Tq": ["루트"],
"ZQJ1IV": ["마지막 편집기 탭 활성화"],
"ZQLDTl": ["폴더 생성됨"],
+ "ZQc7C8": ["입력하여 편집하세요. <0>Cmd/Ctrl+Enter</0>로 저장하고 <1>Esc</1>로 취소합니다."],
"ZSoojc": ["클론 실패, URL을 확인하고 다시 시도하세요 (", ["status"], ")"],
"ZU8VV_": ["제거 실패: ", ["error"]],
"ZVOhXM": ["동기화를 업데이트하지 못했습니다. ", ["detail"]],
@@ -3605,6 +3612,7 @@
"n2lRue": ["전환하려면 변경 사항을 커밋하거나 스태시하세요:"],
"n3T3EE": [["label"], "에 설치됨. 제거하려면 클릭"],
"n3wx1q": ["이 버전으로 복원하시겠습니까?"],
+ "n4vt3Q": ["앱 다운로드"],
"n5Vy3l": [["branch"], " 브랜치에서 열었습니다"],
"n5n_vi": ["비공개 저장소"],
"n6hXUm": [
@@ -4156,7 +4164,6 @@
"vPLUCm": ["누락된 이미지 ", ["identity"], ". 참조로 이동합니다."],
"vPXOUw": ["소스 보기 전환"],
"vQIVHc": ["폴더 속성"],
- "vWc9a0": ["입력하여 편집하세요. <0>⌘ Enter</0>로 저장하고 <1>Esc</1>로 취소합니다."],
"vXIe7J": ["언어"],
"vYOUOk": ["댓글 추가"],
"vYPvPB": ["프로젝트 전환…"],
diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.po
index 5cc735cd2..505f36120 100644
--- a/packages/app/src/locales/ko/messages.po
+++ b/packages/app/src/locales/ko/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>미러 앵커를 찾을 수 없습니다.</0> <1>{mirrorSourceTag}</1
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>미러 소스가 삭제되었습니다.</0> 문서 <1>{src}</1>는 더 이상 사용할 수 없습니다."
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> 외부 터미널 실행 불가. File 메뉴에서 나중에 추가하면 실행할 수 있습니다. OpenKnowledge 내장 터미널과 AI 도구도 계속 작동합니다."
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0>는 나중에 파일 메뉴에서 추가할 때까지 외부 터미널에서 실행되지 않습니다. AI 도구는 계속 작동합니다."
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>스페이스</0>로 점프 · <1>↓</1>로 숙이기"
@@ -4631,6 +4636,10 @@ msgstr "편집하려면 두 번 클릭"
msgid "Download {0}"
msgstr "{0} 다운로드"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "앱 다운로드"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "파일 다운로드"
@@ -6848,6 +6857,10 @@ msgstr "설치됨"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "설치됨, 외부 터미널에서 ok를 사용할 수 있습니다. 선택을 해제하면 제거되며, OpenKnowledge 기본 제공 터미널과 AI 도구는 계속 작동합니다."
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "설치됨 — 외부 터미널에서 ok를 사용할 수 있습니다. 선택을 해제하면 제거되며, AI 도구는 계속 작동합니다."
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "쿼리를 입력한 다음 <0>↵</0> 키를 눌러 페이지를 의미로 검색합니다."
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "입력하여 편집하세요. <0>⌘ Enter</0>로 저장하고 <1>Esc</1>로 취소합니다."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "입력하여 편집하세요. <0>Cmd/Ctrl+Enter</0>로 저장하고 <1>Esc</1>로 취소합니다."
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index dafc9aa83..d0ac7d630 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -846,6 +846,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 ƒĩĺē"],
"BH56dn": ["Ćũśţōḿ ďĩśƥĺàŷ ţēxţ"],
"BKI4hX": ["Ƒĩńď ĩń ƒĩĺē"],
+ "BOsvJ8": [
+ "<0>ōķ</0> ŵōń'ţ ŕũń ĩń ēxţēŕńàĺ ţēŕḿĩńàĺś ũńţĩĺ ŷōũ àďď ĩţ ĺàţēŕ ƒŕōḿ ţĥē Ƒĩĺē ḿēńũ. Ŷōũŕ ÀĨ ţōōĺś ķēēƥ ŵōŕķĩńĝ."
+ ],
"BQKHuL": ["Ŕēśţàŕţ ţēŕḿĩńàĺ"],
"BQu9Pg": ["Śŷḿĺĩńķ"],
"BUyQnq": ["Ćōũĺďń'ţ ŕēśţàŕţ ţĥē śēŕvēŕ. Ţŕŷ `ōķ śţàŕţ` ĩń ţĥĩś ƒōĺďēŕ."],
@@ -2401,6 +2404,9 @@
"XBBZnv": ["Ĺĩńķ ţàŕĝēţ \"", ["shown"], "\" ďōēś ńōţ ŕēśōĺvē ţō àń ēxĩśţĩńĝ ďōćũḿēńţ."],
"XBgr2S": ["Ćōƥŷ ĩń"],
"XDzAnp": ["Ōƥēńś ĩń à ńēŵ ţàƀ"],
+ "XEfNPL": [
+ "Ĩńśţàĺĺēď — ōķ ĩś àvàĩĺàƀĺē ĩń ēxţēŕńàĺ ţēŕḿĩńàĺś. Ũńćĥēćķĩńĝ ŕēḿōvēś ĩţ; ŷōũŕ ÀĨ ţōōĺś ķēēƥ ŵōŕķĩńĝ."
+ ],
"XFpEgc": [
"Ćĥōōśē ŵĥĩćĥ àĝēńţś àƥƥēàŕ ĩń àĝēńţ ḿēńũś àćŕōśś ţĥē àƥƥ, śũćĥ àś Àśķ ÀĨ, Ōƥēń ŵĩţĥ ÀĨ, àńď ţĥē + ńēŵ ćĥàţ ƀũţţōń. Ţũŕń àń àĝēńţ ōƒƒ ţō ĥĩďē ĩţ ƒŕōḿ àĺĺ ōƒ ţĥēḿ."
],
@@ -2587,6 +2593,7 @@
"ZNK2Tq": ["ŕōōţ"],
"ZQJ1IV": ["Àćţĩvàţē ţĥē ĺàśţ ēďĩţōŕ ţàƀ."],
"ZQLDTl": ["ćŕēàţēď ƒōĺďēŕ"],
+ "ZQc7C8": ["Ţŷƥē ţō ēďĩţ; <0>Ćḿď/Ćţŕĺ+Ēńţēŕ</0> śàvēś, <1>Ēść</1> ćàńćēĺś."],
"ZSoojc": ["Ćĺōńē ƒàĩĺēď — ćĥēćķ ţĥē ŨŔĹ àńď ţŕŷ àĝàĩń (", ["status"], ")"],
"ZU8VV_": ["Ŕēḿōvē ƒàĩĺēď: ", ["error"]],
"ZVOhXM": ["Ƒàĩĺēď ţō ũƥďàţē śŷńć — ", ["detail"]],
@@ -3731,6 +3738,7 @@
"n2lRue": ["Ćōḿḿĩţ ōŕ śţàśĥ ćĥàńĝēś ţō śŵĩţćĥ:"],
"n3T3EE": ["Ĩńśţàĺĺēď ĩń ", ["label"], " — ćĺĩćķ ţō ŕēḿōvē"],
"n3wx1q": ["Ŕēśţōŕē ţō ţĥĩś vēŕśĩōń?"],
+ "n4vt3Q": ["Ďōŵńĺōàď àƥƥ"],
"n5Vy3l": ["Ōƥēńēď ōń ƀŕàńćĥ ", ["branch"]],
"n5n_vi": ["Ƥŕĩvàţē ŕēƥōśĩţōŕŷ"],
"n6hXUm": [
@@ -4343,7 +4351,6 @@
"vPLUCm": ["Ḿĩśśĩńĝ ĩḿàĝē ", ["identity"], ". Ĝō ţō ŕēƒēŕēńćē."],
"vPXOUw": ["Ţōĝĝĺē śōũŕćē vĩēŵ"],
"vQIVHc": ["Ƒōĺďēŕ ƥŕōƥēŕţĩēś"],
- "vWc9a0": ["Ţŷƥē ţō ēďĩţ; <0>⌘ Ēńţēŕ</0> śàvēś, <1>Ēść</1> ćàńćēĺś."],
"vXIe7J": ["Ĺàńĝũàĝē"],
"vYOUOk": ["Àďď à ćōḿḿēńţ"],
"vYPvPB": ["Śŵĩţćĥ ƥŕōĴēćţ…"],
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index d11bd727c..6e1718a84 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -1003,11 +1003,16 @@ msgstr ""
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr ""
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr ""
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr ""
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr ""
@@ -4627,6 +4632,10 @@ msgstr ""
msgid "Download {0}"
msgstr ""
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr ""
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr ""
@@ -6844,6 +6853,10 @@ msgstr ""
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr ""
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr ""
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13557,7 +13570,7 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr ""
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
msgstr ""
#: src/editor/composer-mention/ComposerMentionMenu.tsx
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index 84ee44087..85515e6e7 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -979,6 +979,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 arquivo"],
"BH56dn": ["Texto personalizado"],
"BKI4hX": ["Buscar no arquivo"],
+ "BOsvJ8": [
+ "<0>ok</0> não funcionará em terminais externos até que você o adicione depois pelo menu Arquivo. Suas ferramentas de IA continuarão funcionando."
+ ],
"BQKHuL": ["Reiniciar o terminal"],
"BQu9Pg": ["Link simbólico"],
"BUyQnq": ["Não deu para reiniciar o servidor. Tente `ok start` nesta pasta."],
@@ -2740,6 +2743,9 @@
"XBBZnv": ["O destino do link \"", ["shown"], "\" não corresponde a um documento existente."],
"XBgr2S": ["Copiar para cá"],
"XDzAnp": ["Abre em uma nova aba"],
+ "XEfNPL": [
+ "Instalado — o ok está disponível em terminais externos. Desmarcar remove-o; suas ferramentas de IA continuarão funcionando."
+ ],
"XFpEgc": [
"Escolha quais agentes aparecem nos menus de agentes do aplicativo, como Ask AI, Open with AI e o botão + de novo chat. Desative um agente para ocultá-lo de todos eles."
],
@@ -2949,6 +2955,7 @@
"ZNK2Tq": ["raiz"],
"ZQJ1IV": ["Ativa a última aba do editor."],
"ZQLDTl": ["pasta criada"],
+ "ZQc7C8": ["Digite para editar; <0>Cmd/Ctrl+Enter</0> salva, <1>Esc</1> cancela."],
"ZSoojc": ["Falha ao clonar — verifique a URL e tente novamente (", ["status"], ")"],
"ZU8VV_": ["Falha ao remover: ", ["error"]],
"ZVOhXM": ["Falha ao atualizar a sincronização — ", ["detail"]],
@@ -4240,6 +4247,7 @@
"n2lRue": ["Faça commit ou stash das alterações para trocar:"],
"n3T3EE": ["Instalado em ", ["label"], " — clique para remover"],
"n3wx1q": ["Restaurar até esta versão?"],
+ "n4vt3Q": ["Baixar aplicativo"],
"n5Vy3l": ["Aberto no ramo ", ["branch"]],
"n5n_vi": ["Repositório privado"],
"n6hXUm": [
@@ -4910,7 +4918,6 @@
"vPLUCm": ["A imagem ", ["identity"], " está ausente. Ir para a referência."],
"vPXOUw": ["Mostrar ou ocultar a visualização de código"],
"vQIVHc": ["Propriedades da pasta"],
- "vWc9a0": ["Digite para editar; <0>⌘ Enter</0> salva, <1>Esc</1> cancela."],
"vXIe7J": ["Idioma"],
"vYOUOk": ["Adicionar um comentário"],
"vYPvPB": ["Trocar de projeto…"],
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index a5513c9e7..fbc82ec4c 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -1003,11 +1003,16 @@ msgstr "<0>Âncora do espelho não encontrada.</0> Não existe nenhum <1>{mirror
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>Fonte do espelho removida.</0> O documento <1>{src}</1> não está mais disponível."
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> não vai funcionar em terminais externos até você adicioná-lo depois pelo menu Arquivo. O terminal integrado e as ferramentas de IA do OpenKnowledge continuam funcionando."
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> não funcionará em terminais externos até que você o adicione depois pelo menu Arquivo. Suas ferramentas de IA continuarão funcionando."
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>Espaço</0> para pular · <1>↓</1> para agachar"
@@ -4627,6 +4632,10 @@ msgstr "Clique duas vezes para editar"
msgid "Download {0}"
msgstr "Baixar {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "Baixar aplicativo"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "Baixar arquivo"
@@ -6844,6 +6853,10 @@ msgstr "Instalado"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "Instalado — ok está disponível em terminais externos. Desmarcar remove; o terminal integrado e as ferramentas de IA do OpenKnowledge continuam funcionando."
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "Instalado — o ok está disponível em terminais externos. Desmarcar remove-o; suas ferramentas de IA continuarão funcionando."
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13557,8 +13570,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "Digite uma consulta e pressione <0>↵</0> para buscar nas suas páginas por significado."
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "Digite para editar; <0>⌘ Enter</0> salva, <1>Esc</1> cancela."
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "Digite para editar; <0>Cmd/Ctrl+Enter</0> salva, <1>Esc</1> cancela."
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index 4ab6ba4e5..b840a502c 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -854,6 +854,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 فائل"],
"BH56dn": ["حسبِ ضرورت ظاہری متن"],
"BKI4hX": ["فائل میں تلاش کریں"],
+ "BOsvJ8": [
+ "<0>ok</0> بیرونی ٹرمینلز میں اس وقت تک نہیں چلے گا جب تک آپ اسے بعد میں فائل مینو سے شامل نہ کریں۔ آپ کے AI ٹولز کام کرتے رہیں گے۔"
+ ],
"BQKHuL": ["ٹرمینل دوبارہ چلائیں"],
"BQu9Pg": ["سِم لنک"],
"BUyQnq": ["سرور دوبارہ نہیں چل سکا۔ اس فولڈر میں `ok start` آزمائیں۔"],
@@ -2467,6 +2470,9 @@
"XBBZnv": ["لنک کا ہدف \"", ["shown"], "\" کسی موجودہ دستاویز کی طرف اشارہ نہیں کرتا۔"],
"XBgr2S": ["یہاں کاپی کریں"],
"XDzAnp": ["نئے ٹیب میں کھلتا ہے"],
+ "XEfNPL": [
+ "نصب شدہ — ok بیرونی ٹرمینلز میں دستیاب ہے۔ نشان ہٹانے سے یہ ہٹ جائے گا؛ آپ کے AI ٹولز کام کرتے رہیں گے۔"
+ ],
"XFpEgc": [
"منتخب کریں کہ ایپ کے ایجنٹ مینیوز میں کون سے ایجنٹ نظر آئیں، جیسے Ask AI، Open with AI اور + نئی چیٹ کا بٹن۔ کسی ایجنٹ کو بند کرنے سے وہ ان سب سے چھپ جائے گا۔"
],
@@ -2652,6 +2658,9 @@
"ZNK2Tq": ["جڑ"],
"ZQJ1IV": ["ایڈیٹر کا آخری ٹیب فعال کریں۔"],
"ZQLDTl": ["فولڈر بنایا"],
+ "ZQc7C8": [
+ "ترمیم کے لیے لکھیں؛ <0>Cmd/Ctrl+Enter</0> محفوظ کرتا ہے، <1>Esc</1> منسوخ کرتا ہے۔"
+ ],
"ZSoojc": ["کلون ناکام — URL جانچیں اور دوبارہ کوشش کریں (", ["status"], ")"],
"ZU8VV_": ["ہٹانا ناکام: ", ["error"]],
"ZVOhXM": ["مطابقت پذیری تازہ نہیں ہو سکی — ", ["detail"]],
@@ -3824,6 +3833,7 @@
"n2lRue": ["تبدیل کرنے کے لیے تبدیلیاں کمٹ کریں یا اسٹیش کریں:"],
"n3T3EE": [["label"], " میں نصب — ہٹانے کے لیے کلک کریں"],
"n3wx1q": ["اس ورژن پر بحال کریں؟"],
+ "n4vt3Q": ["ایپ ڈاؤن لوڈ کریں"],
"n5Vy3l": ["برانچ ", ["branch"], " پر کھولا گیا"],
"n5n_vi": ["نجی ریپازٹری"],
"n6hXUm": [
@@ -4418,7 +4428,6 @@
"vPLUCm": ["غائب تصویر ", ["identity"], "۔ حوالہ پر جائیں۔"],
"vPXOUw": ["سورس کا منظر بدلیں"],
"vQIVHc": ["فولڈر کی خصوصیات"],
- "vWc9a0": ["ترمیم کے لیے لکھیں؛ <0>⌘ Enter</0> محفوظ کرتا ہے، <1>Esc</1> منسوخ کرتا ہے۔"],
"vXIe7J": ["زبان"],
"vYOUOk": ["تبصرہ شامل کریں"],
"vYPvPB": ["پروجیکٹ بدلیں…"],
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index 3cd4e9d56..2c3d18bfd 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>مرر اینکر نہیں ملا۔</0> <2>{src}</2> میں کوئی
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>مرر کا ماخذ ہٹا دیا گیا۔</0> دستاویز <1>{src}</1> اب دستیاب نہیں۔"
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> بیرونی ٹرمینلز میں اس وقت تک نہیں چلے گا جب تک آپ اسے بعد میں فائل مینو سے شامل نہ کریں۔ OpenKnowledge کا بلٹ اِن ٹرمینل اور AI ٹولز کام کرتے رہتے ہیں۔"
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> بیرونی ٹرمینلز میں اس وقت تک نہیں چلے گا جب تک آپ اسے بعد میں فائل مینو سے شامل نہ کریں۔ آپ کے AI ٹولز کام کرتے رہیں گے۔"
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "چھلانگ کے لیے <0>اسپیس</0> · جھکنے کے لیے <1>↓</1>"
@@ -4631,6 +4636,10 @@ msgstr "ترمیم کے لیے ڈبل کلک کریں"
msgid "Download {0}"
msgstr "{0} ڈاؤن لوڈ کریں"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "ایپ ڈاؤن لوڈ کریں"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "فائل ڈاؤن لوڈ کریں"
@@ -6848,6 +6857,10 @@ msgstr "نصب شدہ"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "نصب شدہ — ok بیرونی ٹرمینلز میں دستیاب ہے۔ نشان ہٹانے سے یہ ہٹ جاتا ہے؛ OpenKnowledge کا بلٹ اِن ٹرمینل اور AI ٹولز کام کرتے رہتے ہیں۔"
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "نصب شدہ — ok بیرونی ٹرمینلز میں دستیاب ہے۔ نشان ہٹانے سے یہ ہٹ جائے گا؛ آپ کے AI ٹولز کام کرتے رہیں گے۔"
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "کوئی استفسار لکھیں، پھر اپنے صفحات کو معنی کے لحاظ سے تلاش کرنے کے لیے <0>↵</0> دبائیں۔"
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "ترمیم کے لیے لکھیں؛ <0>⌘ Enter</0> محفوظ کرتا ہے، <1>Esc</1> منسوخ کرتا ہے۔"
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "ترمیم کے لیے لکھیں؛ <0>Cmd/Ctrl+Enter</0> محفوظ کرتا ہے، <1>Esc</1> منسوخ کرتا ہے۔"
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index 093d2aff8..9c1765dd6 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -747,6 +747,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 个文件"],
"BH56dn": ["自定义显示文本"],
"BKI4hX": ["在文件中查找"],
+ "BOsvJ8": [
+ "<0>ok</0> 在你稍后从“文件”菜单添加之前,无法在外部终端中运行。你的 AI 工具仍可正常使用。"
+ ],
"BQKHuL": ["重启终端"],
"BQu9Pg": ["符号链接"],
"BUyQnq": ["无法重启服务器。请在这个文件夹中尝试 `ok start`。"],
@@ -2139,6 +2142,7 @@
"XBBZnv": ["链接目标“", ["shown"], "”未指向现有文档。"],
"XBgr2S": ["复制进来"],
"XDzAnp": ["在新标签页中打开"],
+ "XEfNPL": ["已安装 — 可在外部终端中使用 ok。取消勾选会将其移除;你的 AI 工具仍可正常使用。"],
"XFpEgc": [
"选择哪些智能体显示在应用的智能体菜单中,例如 Ask AI、Open with AI 和 + 新对话按钮。关闭某个智能体即可在所有菜单中隐藏它。"
],
@@ -2302,6 +2306,7 @@
"ZNK2Tq": ["根目录"],
"ZQJ1IV": ["激活编辑器的最后一个标签页。"],
"ZQLDTl": ["已创建文件夹"],
+ "ZQc7C8": ["输入即可编辑;<0>Cmd/Ctrl+Enter</0> 保存,<1>Esc</1> 取消。"],
"ZSoojc": ["克隆失败——请检查 URL 后重试(", ["status"], ")"],
"ZU8VV_": ["移除失败:", ["error"]],
"ZVOhXM": ["更新同步设置失败——", ["detail"]],
@@ -3309,6 +3314,7 @@
"n2lRue": ["提交或暂存改动后才能切换:"],
"n3T3EE": ["已安装在 ", ["label"], "——点击可移除"],
"n3wx1q": ["要恢复到这个版本吗?"],
+ "n4vt3Q": ["下载应用"],
"n5Vy3l": ["已在分支 ", ["branch"], " 上打开"],
"n5n_vi": ["私有仓库"],
"n6hXUm": [
@@ -3824,7 +3830,6 @@
"vPLUCm": ["图片 ", ["identity"], " 不存在。转到引用位置。"],
"vPXOUw": ["切换源码视图"],
"vQIVHc": ["文件夹属性"],
- "vWc9a0": ["输入即可编辑;<0>⌘ Enter</0> 保存,<1>Esc</1> 取消。"],
"vXIe7J": ["语言"],
"vYOUOk": ["添加评论"],
"vYPvPB": ["切换项目…"],
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index bee1a3cd1..ddafc59d9 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>找不到镜像锚点。</0><2>{src}</2> 中不存在 <1>{mirrorSourc
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>镜像来源已被移除。</0>文档 <1>{src}</1> 已不可用。"
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "在你之后从「文件」菜单里添加之前,<0>ok</0> 不会在外部终端中运行。OpenKnowledge 的内置终端和 AI 工具照常可用。"
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> 在你稍后从“文件”菜单添加之前,无法在外部终端中运行。你的 AI 工具仍可正常使用。"
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>空格</0>跳跃 · <1>↓</1>下蹲"
@@ -4631,6 +4636,10 @@ msgstr "双击进行编辑"
msgid "Download {0}"
msgstr "下载 {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "下载应用"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "下载文件"
@@ -6848,6 +6857,10 @@ msgstr "已安装"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "已安装——ok 可在外部终端中使用。取消勾选会将其移除;OpenKnowledge 的内置终端和 AI 工具照常可用。"
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "已安装 — 可在外部终端中使用 ok。取消勾选会将其移除;你的 AI 工具仍可正常使用。"
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "输入查询内容,然后按 <0>↵</0> 按语义搜索你的页面。"
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "输入即可编辑;<0>⌘ Enter</0> 保存,<1>Esc</1> 取消。"
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "输入即可编辑;<0>Cmd/Ctrl+Enter</0> 保存,<1>Esc</1> 取消。"
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index e5f449000..80d96945d 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -751,6 +751,9 @@
"BGtzlf": [["uploadFolderName"], " — 1 個檔案"],
"BH56dn": ["自訂顯示文字"],
"BKI4hX": ["在檔案中尋找"],
+ "BOsvJ8": [
+ "<0>ok</0> 在你稍後從「檔案」選單新增之前,無法在外部終端機中執行。你的 AI 工具仍可正常使用。"
+ ],
"BQKHuL": ["重新啟動終端機"],
"BQu9Pg": ["符號連結"],
"BUyQnq": ["無法重新啟動伺服器。請在這個資料夾中試試 `ok start`。"],
@@ -2165,6 +2168,7 @@
"XBBZnv": ["連結目標「", ["shown"], "」未指向現有文件。"],
"XBgr2S": ["複製進來"],
"XDzAnp": ["在新分頁中開啟"],
+ "XEfNPL": ["已安裝 — 可在外部終端機中使用 ok。取消勾選會將其移除;你的 AI 工具仍可正常使用。"],
"XFpEgc": [
"選擇哪些智慧代理顯示在應用程式的代理選單中,例如 Ask AI、Open with AI 和 + 新對話按鈕。關閉某個智慧代理即可在所有選單中隱藏它。"
],
@@ -2324,6 +2328,7 @@
"ZNK2Tq": ["根目錄"],
"ZQJ1IV": ["切換到編輯器的最後一個分頁。"],
"ZQLDTl": ["已建立資料夾"],
+ "ZQc7C8": ["輸入即可編輯;<0>Cmd/Ctrl+Enter</0> 儲存,<1>Esc</1> 取消。"],
"ZSoojc": ["複製失敗——請檢查 URL 後重試(", ["status"], ")"],
"ZU8VV_": ["移除失敗:", ["error"]],
"ZVOhXM": ["更新同步設定失敗——", ["detail"]],
@@ -3337,6 +3342,7 @@
"n2lRue": ["先提交或暫存變更才能切換:"],
"n3T3EE": ["已安裝在 ", ["label"], "——點一下可移除"],
"n3wx1q": ["要還原到這個版本嗎?"],
+ "n4vt3Q": ["下載應用程式"],
"n5Vy3l": ["已在分支 ", ["branch"], " 上開啟"],
"n5n_vi": ["私人儲存庫"],
"n6hXUm": [
@@ -3856,7 +3862,6 @@
"vPLUCm": ["圖片 ", ["identity"], " 不存在。前往引用位置。"],
"vPXOUw": ["切換原始碼檢視"],
"vQIVHc": ["資料夾屬性"],
- "vWc9a0": ["輸入即可編輯;<0>⌘ Enter</0> 儲存,<1>Esc</1> 取消。"],
"vXIe7J": ["語言"],
"vYOUOk": ["新增註解"],
"vYPvPB": ["切換專案…"],
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index ec6cf1c3b..99dc36a91 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -1007,11 +1007,16 @@ msgstr "<0>找不到鏡像錨點。</0><2>{src}</2> 中不存在 <1>{mirrorSourc
msgid "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer available."
msgstr "<0>鏡像來源已移除。</0>文件 <1>{src}</1> 已無法使用。"
-#. Warning shown when the user unchecks the PATH toggle — only external terminals degrade
+#. Warning shown when the user unchecks the PATH toggle on a desktop build with the built-in terminal
#: src/components/McpConsentDialogBody.tsx
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "在你之後從「檔案」選單裡加上之前,<0>ok</0> 不會在外部終端機中執行。OpenKnowledge 的內建終端機和 AI 工具照常可用。"
+#. Warning shown when the user unchecks the PATH toggle on a desktop build without the built-in terminal
+#: src/components/McpConsentDialogBody.tsx
+msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."
+msgstr "<0>ok</0> 在你稍後從「檔案」選單新增之前,無法在外部終端機中執行。你的 AI 工具仍可正常使用。"
+
#: src/components/OkBlobRunner.tsx
msgid "<0>Space</0> to jump · <1>↓</1> to duck"
msgstr "<0>空白鍵</0>跳躍 · <1>↓</1>蹲下"
@@ -4631,6 +4636,10 @@ msgstr "按兩下即可編輯"
msgid "Download {0}"
msgstr "下載 {0}"
+#: src/components/HelpPopover.tsx
+msgid "Download app"
+msgstr "下載應用程式"
+
#: src/editor/bubble-menu/FileBubbleButtons.tsx
msgid "Download file"
msgstr "下載檔案"
@@ -6848,6 +6857,10 @@ msgstr "已安裝"
msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "已安裝——ok 可以在外部終端機中使用。取消勾選會把它移除;OpenKnowledge 的內建終端機和 AI 工具照常可用。"
+#: src/components/settings/AiToolsSection.tsx
+msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."
+msgstr "已安裝 — 可在外部終端機中使用 ok。取消勾選會將其移除;你的 AI 工具仍可正常使用。"
+
#. placeholder {0}: skill.name
#. placeholder {1}: label(added)
#: src/components/skill-actions.tsx
@@ -13561,8 +13574,8 @@ msgid "Type a query, then press <0>↵</0> to search your pages by meaning."
msgstr "輸入查詢內容,然後按 <0>↵</0> 就能按語意搜尋你的頁面。"
#: src/editor/components/CodePreviewEditModal.tsx
-msgid "Type to edit; <0>⌘ Enter</0> saves, <1>Esc</1> cancels."
-msgstr "輸入即可編輯;<0>⌘ Enter</0> 儲存,<1>Esc</1> 取消。"
+msgid "Type to edit; <0>Cmd/Ctrl+Enter</0> saves, <1>Esc</1> cancels."
+msgstr "輸入即可編輯;<0>Cmd/Ctrl+Enter</0> 儲存,<1>Esc</1> 取消。"
#: src/editor/composer-mention/ComposerMentionMenu.tsx
msgid "Type to find a doc"
diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts
index 7ecf13014..c3033e192 100644
--- a/packages/cli/src/cli.ts
+++ b/packages/cli/src/cli.ts
@@ -27,7 +27,7 @@ import { type Config, ConfigSchema, trustSystemCertificates } from '@inkeep/open
* CLI entry point for @inkeep/open-knowledge.
*
* Commander.js v14. `ok` (no positional args) auto-detects whether the
- * desktop Electron app is available + interactive on macOS — when both
+ * desktop Electron app is available + interactive on this platform — when both
* hold, hands off to the desktop and exits; otherwise invokes the
* `start` command (server + browser).
*
diff --git a/packages/cli/src/commands/desktop-dispatch.test.ts b/packages/cli/src/commands/desktop-dispatch.test.ts
index 4bf104d33..31420e097 100644
--- a/packages/cli/src/commands/desktop-dispatch.test.ts
+++ b/packages/cli/src/commands/desktop-dispatch.test.ts
@@ -409,6 +409,7 @@ describe('UX message helpers — FR5 contextual notFoundMessage(reason)', () =>
test('default (no-bundle) explains the miss + omit-mode hint', () => {
const msg = notFoundMessage();
expect(msg).toContain('not found');
+ expect(msg).toContain('https://openknowledge.ai/download');
expect(msg).toContain('--mode');
});
diff --git a/packages/cli/src/commands/desktop-dispatch.ts b/packages/cli/src/commands/desktop-dispatch.ts
index 4171b07b0..4e9e3eedb 100644
--- a/packages/cli/src/commands/desktop-dispatch.ts
+++ b/packages/cli/src/commands/desktop-dispatch.ts
@@ -342,7 +342,7 @@ export function launchDesktop(deps: LaunchDeps, detection?: DetectResult): void
export function notFoundMessage(reason: DetectReason = 'no-bundle'): string {
switch (reason) {
case 'no-bundle':
- return 'Desktop app not found (checked the standard install locations for this OS). Install it, or omit --mode for browser mode.';
+ return 'Desktop app not found (checked the standard install locations for this OS). Install it from https://openknowledge.ai/download, or omit --mode for browser mode.';
case 'darwin-only':
case 'unsupported-platform':
return 'Desktop app is not available on this platform. Use --mode=browser, or omit --mode for the server fallback.';
diff --git a/packages/cli/src/commands/open.test.ts b/packages/cli/src/commands/open.test.ts
index 0bde31119..ff2a03980 100644
--- a/packages/cli/src/commands/open.test.ts
+++ b/packages/cli/src/commands/open.test.ts
@@ -69,6 +69,7 @@ describe('runOpen', () => {
expect(code).toBe(1);
expect(opened).toEqual([]);
expect(errors).toHaveLength(1);
+ expect(errors[0]).toContain('https://openknowledge.ai/download');
});
test('folder with a desktop bundle → folder= deep link, exit 0', async () => {
diff --git a/packages/cli/src/commands/open.ts b/packages/cli/src/commands/open.ts
index 427a259a2..e0e5f609b 100644
--- a/packages/cli/src/commands/open.ts
+++ b/packages/cli/src/commands/open.ts
@@ -23,7 +23,7 @@
* is needed — the renderer resolves it via `docNameFromHash`.)
*
* Desktop presence comes from `detectDesktop().bundlePath`, populated whenever a
- * desktop executable is installed and `OK_FORCE_BROWSER` is unset — including
+ * supported-platform desktop executable is installed and `OK_FORCE_BROWSER` is unset — including
* non-TTY/headless invocations (an agent shelling out). The verb spawns its own
* platform-native URL handler rather than `launchDesktop`.
*/
@@ -117,7 +117,7 @@ function isUnsafeName(name: string): boolean {
function noTargetError(deps: OpenDeps): number {
deps.error(
'No OpenKnowledge desktop app found and no UI is running. ' +
- 'Install OK Desktop, or run `ok start` to serve the editor, then retry.',
+ 'Install it from https://openknowledge.ai/download, or run `ok start` to serve the editor, then retry.',
);
return 1;
}
diff --git a/packages/core/src/utils/sanitize-folder-name.ts b/packages/core/src/utils/sanitize-folder-name.ts
index 5ff93e8f0..e3ea126f8 100644
--- a/packages/core/src/utils/sanitize-folder-name.ts
+++ b/packages/core/src/utils/sanitize-folder-name.ts
@@ -5,9 +5,8 @@
* leading / trailing dashes / dots / whitespace. Empty after sanitization
* → empty string; callers validate non-empty separately.
*
- * The set covers both macOS-forbidden (`/`) and Windows-forbidden chars
- * even though the desktop is macOS-only today — sanitizing now means a
- * future Windows port doesn't have to revisit every project name on disk.
+ * The set covers both macOS-forbidden (`/`) and Windows-forbidden chars so a
+ * project name remains portable across supported desktop platforms.
*
* Null bytes are stripped for parity with `validateSpawnPath` in
* `packages/desktop/src/main/ipc-handlers.ts`: Node 18+ throws
diff --git a/packages/desktop/scripts/launch-instances.mjs b/packages/desktop/scripts/launch-instances.mjs
index bf437cf10..a4fbb1391 100644
--- a/packages/desktop/scripts/launch-instances.mjs
+++ b/packages/desktop/scripts/launch-instances.mjs
@@ -37,9 +37,7 @@ import { homedir } from 'node:os';
import { isAbsolute, join, resolve } from 'node:path';
if (process.platform !== 'darwin') {
- console.error(
- 'launch-instances: macOS only (uses `open`). The OpenKnowledge desktop is macOS-only.',
- );
+ console.error('launch-instances: this development helper is macOS-only because it uses `open`.');
process.exit(1);
}
diff --git a/packages/desktop/src/main/auto-updater.ts b/packages/desktop/src/main/auto-updater.ts
index c3c194879..1efa90039 100644
--- a/packages/desktop/src/main/auto-updater.ts
+++ b/packages/desktop/src/main/auto-updater.ts
@@ -507,7 +507,7 @@ const INSTALL_DEFER_MAX_BOOTS = 3;
/**
* "Download manually" target for the stuck-hint and boot-detected install-failed
* notices. Points at the GitHub Releases index, the canonical home of the signed
- * DMGs (same host as `releaseUrlFor` and the app's `OK_DESKTOP_INSTALL_URL`). The
+ * installers and the same host used by `releaseUrlFor`. The
* index page, unlike a version-specific tag URL, is guaranteed to exist and lists
* the latest download at the top, so the manual-download escape hatch can never
* itself 404.
diff --git a/packages/desktop/src/main/check-target-exists.ts b/packages/desktop/src/main/check-target-exists.ts
index c2398de81..c7ae97197 100644
--- a/packages/desktop/src/main/check-target-exists.ts
+++ b/packages/desktop/src/main/check-target-exists.ts
@@ -74,8 +74,8 @@ function isSafeProjectPath(projectPath: string): boolean {
* - non-empty string (content-root's empty path is short-circuited at the
* call site, so this probe never sees it)
* - NOT absolute (the share encodes a repo-relative path)
- * - no backslash (macOS-only; `\` is never a separator and could not have
- * been minted by the sender) and no control chars (NUL through US + DEL)
+ * - no backslash (Git tree paths and share-URL segments use forward slashes
+ * on every platform) and no control chars (NUL through US + DEL)
* - no `..` or `.git` segments (rejected pre-resolve so `a/../b` style escapes
* fail-loud — the containment check below catches absolute `..` sequences
* too, but pre-checking yields clearer telemetry, and `.git` keeps the gate
@@ -86,10 +86,9 @@ function isSafeTargetPath(path: string): boolean {
if (path.length === 0) return false;
if (isAbsolute(path)) return false;
// Reject ANY backslash, matching the sender-side `isValidSharePath` and
- // `isValidBranchInfoPath` (precedent #55, predicate symmetry). OK is
- // macOS-only, so a backslash is never a path separator; a backslash-bearing
- // target path could never have been minted by the sender, so reject it here
- // too rather than treating `\` as a separator.
+ // `isValidBranchInfoPath` (precedent #55, predicate symmetry). Git tree paths
+ // and share-URL segments use forward slashes on every platform, so a
+ // backslash-bearing target could never have been minted by the sender.
if (path.includes('\\')) return false;
// Reject all control chars (NUL through US, plus DEL), not just NUL — a
// control char would survive `path.join` into the `cat-file -e <ref>:<path>`
diff --git a/packages/desktop/src/main/create-new-project.test.ts b/packages/desktop/src/main/create-new-project.test.ts
index 05b1f4089..d5177538b 100644
--- a/packages/desktop/src/main/create-new-project.test.ts
+++ b/packages/desktop/src/main/create-new-project.test.ts
@@ -289,9 +289,8 @@ describe('runCreateNew — happy paths', () => {
expect(existsSync(join(result.projectDir, '.ok/config.yml'))).toBe(true);
});
- test('seeds project-root .gitignore with .DS_Store on fresh git init', async () => {
- // OpenKnowledge is macOS-only today, so a fresh project gets a one-line
- // .gitignore that hides Finder's per-folder metadata. The seed only runs
+ test('seeds project-root .gitignore with cross-platform desktop metadata', async () => {
+ // A fresh project ignores platform-generated desktop metadata. The seed only runs
// when ensureProjectGit actually ran `git init` — confirmed in this case
// by the absence of `.git/` before the call. See also the git-root-
// promotion case below, which exercises the skip path.
@@ -302,7 +301,18 @@ describe('runCreateNew — happy paths', () => {
});
const gitignorePath = join(result.projectDir, '.gitignore');
expect(existsSync(gitignorePath)).toBe(true);
- expect(readFileSync(gitignorePath, 'utf8')).toContain('.DS_Store');
+ const gitignore = readFileSync(gitignorePath, 'utf8');
+ for (const basename of [
+ '.DS_Store',
+ '.localized',
+ 'Thumbs.db',
+ 'thumbs.db',
+ 'desktop.ini',
+ 'Desktop.ini',
+ '.directory',
+ ]) {
+ expect(gitignore).toContain(`${basename}\n`);
+ }
});
});
diff --git a/packages/desktop/src/main/folder-admission.ts b/packages/desktop/src/main/folder-admission.ts
index da2169d98..6072bcff2 100644
--- a/packages/desktop/src/main/folder-admission.ts
+++ b/packages/desktop/src/main/folder-admission.ts
@@ -70,8 +70,8 @@ export function validateFolderPick(
// Windows drive root: `C:`, `C:\`, `C:/`. Match against the raw input —
// POSIX `path.resolve` treats `C:\` as a relative path and prepends cwd,
- // which would mask the Windows shape on the macOS-only desktop. Enumerated
- // for shape stability when a future Windows port lands.
+ // which would mask the Windows shape. Enumerate it before resolution so
+ // admission stays consistent across hosts.
if (/^[A-Za-z]:[\\/]?$/.test(absPath)) {
warnings.push({ kind: 'drive-root' });
}
diff --git a/packages/desktop/src/main/index.ts b/packages/desktop/src/main/index.ts
index 53f448db1..26e97a82c 100644
--- a/packages/desktop/src/main/index.ts
+++ b/packages/desktop/src/main/index.ts
@@ -1734,8 +1734,7 @@ function ensureWindowManager() {
// separates window focus from app activation — a BrowserWindow.focus() on a
// backgrounded app reorders within the app but doesn't pull it to the front
// (electron/electron#19920). `app.focus({ steal: true })` is the macOS
- // primitive that does. Desktop is macOS-only, but the platform guard keeps
- // it inert anywhere else.
+ // primitive that does; the platform guard keeps it inert elsewhere.
activateApp: () => {
if (process.platform === 'darwin') app.focus({ steal: true });
},
diff --git a/packages/desktop/src/main/path-containment.test.ts b/packages/desktop/src/main/path-containment.test.ts
index 02eb75c2a..cbbfb0b48 100644
--- a/packages/desktop/src/main/path-containment.test.ts
+++ b/packages/desktop/src/main/path-containment.test.ts
@@ -2,9 +2,8 @@
* Containment-primitive tests. The module is platform-parameterized (explicit
* `path/posix` / `path/win32`) precisely so the Windows semantics — drive
* roots, UNC shares, `\\?\` / `\\.\` device namespaces — can be exercised on
- * the POSIX runners that build and test the desktop app today. Nothing in
- * production executes the win32 branches yet (desktop is macOS-only), so this
- * suite is their only coverage.
+ * the POSIX runners that build and test the desktop app today. Explicit
+ * platform injection keeps both branches covered regardless of the test host.
*/
import { isPathWithinDir } from '@inkeep/open-knowledge-server';
diff --git a/packages/desktop/src/main/userdata-migration.ts b/packages/desktop/src/main/userdata-migration.ts
index f7f064330..9f0e566f5 100644
--- a/packages/desktop/src/main/userdata-migration.ts
+++ b/packages/desktop/src/main/userdata-migration.ts
@@ -104,9 +104,9 @@ export async function migrateLegacyUserDataDir(
const { userDataDir, platform } = opts;
const logger = opts.logger ?? DEFAULT_LOGGER;
- // Desktop is macOS-only today; the legacy/target dir names are the macOS
- // Application Support basenames. Guard so a future Windows port wires its own
- // %APPDATA% migration rather than this one mis-firing on a foreign layout.
+ // These legacy/target dir names are macOS Application Support basenames.
+ // Guard so Windows and Linux layouts are not interpreted as macOS migration
+ // inputs.
if (platform !== 'darwin') {
return { status: 'skipped-non-darwin' };
}
diff --git a/packages/desktop/src/main/window-chrome.ts b/packages/desktop/src/main/window-chrome.ts
index 3c245e85b..83d057044 100644
--- a/packages/desktop/src/main/window-chrome.ts
+++ b/packages/desktop/src/main/window-chrome.ts
@@ -72,8 +72,8 @@ export function computeTitleBarOverlay(
* native menu bar (still installed for its accelerators — the renderer-menubar contract keeps
* shortcuts on the hidden main-process Menu) from rendering a second menu
* row above the custom titlebar chrome; Alt-taps on Windows can still
- * transiently summon it, which is acceptable (it holds the same items the
- * renderer menubar draws).
+ * transiently summon it, which is acceptable. It retains the main-process
+ * accelerator menu, including disabled platform-specific items the renderer omits.
*/
export function buildNonDarwinChromeOpts(isDark: boolean): BrowserWindowConstructorOptions {
return {
diff --git a/packages/desktop/src/utility/server-entry.ts b/packages/desktop/src/utility/server-entry.ts
index 943a53a4c..3e0279820 100644
--- a/packages/desktop/src/utility/server-entry.ts
+++ b/packages/desktop/src/utility/server-entry.ts
@@ -12,8 +12,8 @@
*
* Parent-death detection: macOS has no PR_SET_PDEATHSIG, so we poll
* `process.kill(parentPid, 0)` every 5s. If the parent dies (`EPERM` /
- * `ESRCH`), self-exit cleanly so the server.lock is released. Linux +
- * Windows variants are stubbed today (macOS-only) — see code comments.
+ * `ESRCH`), self-exit cleanly so the server.lock is released. The portable
+ * polling fallback runs on Linux and Windows too.
*
* Guard: this module MUST NOT import `attachIdleShutdown` from anywhere.
* A Biome GritQL rule will eventually enforce this; the comment is the
@@ -254,10 +254,10 @@ export function setupUtility(deps: SetupUtilityDeps): UtilityHandle {
rejectReady = reject;
});
- // Parent-death polling (macOS path).
+ // Parent-death polling (all platforms — poll-based).
// Linux: should use `prctl(PR_SET_PDEATHSIG, SIGTERM)` at process startup,
- // but that requires a native addon — for now (macOS-only) we use the poll
- // path on all platforms. A future Windows port would use Job Objects.
+ // but that requires a native addon, so the poll path is the cross-platform
+ // fallback. Windows could use Job Objects with a native binding instead.
function startParentPoll() {
const pollMs = deps.parentPollMs ?? 5000;
parentPollHandle = deps.setInterval(() => {
diff --git a/packages/desktop/tests/integration/detached-lifecycle.test.ts b/packages/desktop/tests/integration/detached-lifecycle.test.ts
index 28a18b93a..fe672d98c 100644
--- a/packages/desktop/tests/integration/detached-lifecycle.test.ts
+++ b/packages/desktop/tests/integration/detached-lifecycle.test.ts
@@ -84,9 +84,8 @@ async function waitForLock(lockDir: string): Promise<ServerLockMetadata> {
}
function getPgid(pid: number): number | null {
- // `process.getpgid` is available on POSIX; the desktop is macOS-only at
- // V0 so it's guaranteed in the supported test environment. Linux dev
- // hosts also satisfy this.
+ // `process.getpgid` is available on POSIX, including the macOS and Linux
+ // environments where this lifecycle helper is exercised.
const getpgid = (process as unknown as { getpgid?: (pid: number) => number }).getpgid;
if (typeof getpgid !== 'function') return null;
try {
diff --git a/packages/desktop/tests/smoke/terminal-movement.e2e.ts b/packages/desktop/tests/smoke/terminal-movement.e2e.ts
index bfbb3b220..35b9a4e87 100644
--- a/packages/desktop/tests/smoke/terminal-movement.e2e.ts
+++ b/packages/desktop/tests/smoke/terminal-movement.e2e.ts
@@ -263,17 +263,6 @@ async function readShellPid(page: Page, marker: string): Promise<number> {
return processId;
}
-async function dragTabOnto(page: Page, fromName: string, toName: string): Promise<void> {
- const from = await page.getByRole('tab', { name: fromName }).boundingBox();
- const to = await page.getByRole('tab', { name: toName }).boundingBox();
- if (!from || !to) throw new Error(`tab bounding box missing (${fromName} -> ${toName})`);
- await page.mouse.move(from.x + from.width / 2, from.y + from.height / 2);
- await page.mouse.down();
- await page.mouse.move(from.x + from.width / 2 + 14, from.y + from.height / 2, { steps: 4 });
- await page.mouse.move(to.x + to.width / 2, to.y + to.height / 2, { steps: 12 });
- await page.mouse.up();
-}
-
async function growRightTerminal(page: Page, deltaPx: number): Promise<number> {
const column = page.locator('#terminal-column');
const before = await column.evaluate((element) => element.getBoundingClientRect().width);
@@ -413,17 +402,6 @@ test.describe('Terminal placement continuity — live Electron', () => {
await openTerminal(app, page);
await openBareTab(page);
- await moveTerminal(app, page, 'right');
- const restoredWidth = await growRightTerminal(page, 120);
-
- await dragTabOnto(page, 'Terminal 1', 'Terminal 2');
- await expect(terminalTabs(page)).toHaveText(['Terminal 2', 'Terminal 1']);
- await page.getByRole('tab', { name: 'Terminal 1' }).click();
- await expect(page.getByRole('tab', { name: 'Terminal 1' })).toHaveAttribute(
- 'aria-selected',
- 'true',
- );
-
const token = randomUUID().replaceAll('-', '');
const processMarker = `RESTART_PROCESS_${token}`;
const processId = await readShellPid(page, processMarker);
@@ -431,22 +409,38 @@ test.describe('Terminal placement continuity — live Electron', () => {
await typeInActiveTerminal(page, `printf '${beforeRestart}\\n'\r`);
await expect.poll(() => readActiveTerminal(page), { timeout: 15_000 }).toContain(beforeRestart);
+ // This test owns restart persistence; the dedicated terminal-tabs smoke
+ // owns pointer-drag behavior. Reordering in the bottom dock keeps this
+ // setup independent of right-column overlay geometry.
+ await visibleTerminal(page).locator('.xterm').click();
+ await page.keyboard.press('Meta+Shift+ArrowLeft');
+ await expect(terminalTabs(page)).toHaveText(['Terminal 2', 'Terminal 1']);
+ await expect(page.getByRole('tab', { name: 'Terminal 2' })).toHaveAttribute(
+ 'aria-selected',
+ 'true',
+ );
+ await moveTerminal(app, page, 'right');
+ const restoredWidth = await growRightTerminal(page, 120);
+
await expect
.poll(async () => {
return page.evaluate(() => localStorage.getItem('ok-terminal-placement-v1'));
})
.toBe('right');
- const retainedWidth = await page.evaluate(() =>
- Number(localStorage.getItem('ok-terminal-right-width-v1')),
- );
- expect(retainedWidth).toBeGreaterThan(restoredWidth - 20);
- expect(retainedWidth).toBeLessThan(restoredWidth + 20);
+ await expect
+ .poll(async () => {
+ const retainedWidth = await page.evaluate(() =>
+ Number(localStorage.getItem('ok-terminal-right-width-v1')),
+ );
+ return Math.abs(retainedWidth - restoredWidth);
+ })
+ .toBeLessThan(20);
await page.reload({ waitUntil: 'domcontentloaded' });
await expect(page.locator('#terminal-column')).toBeVisible({ timeout: 20_000 });
await expect(page.locator('#terminal-dock-panel')).toHaveCount(0);
await expect(terminalTabs(page)).toHaveText(['Terminal 2', 'Terminal 1'], { timeout: 25_000 });
- await expect(page.getByRole('tab', { name: 'Terminal 1' })).toHaveAttribute(
+ await expect(page.getByRole('tab', { name: 'Terminal 2' })).toHaveAttribute(
'aria-selected',
'true',
);
diff --git a/packages/desktop/tests/smoke/terminal-process-restart.e2e.ts b/packages/desktop/tests/smoke/terminal-process-restart.e2e.ts
index 60e66a407..cf1229fb1 100644
--- a/packages/desktop/tests/smoke/terminal-process-restart.e2e.ts
+++ b/packages/desktop/tests/smoke/terminal-process-restart.e2e.ts
@@ -159,16 +159,6 @@ async function growRightTerminal(page: Page, deltaPx: number): Promise<number> {
return column.evaluate((element) => element.getBoundingClientRect().width);
}
-async function dragTabOnto(page: Page, fromName: string, toName: string): Promise<void> {
- const from = await page.getByRole('tab', { name: fromName }).boundingBox();
- const to = await page.getByRole('tab', { name: toName }).boundingBox();
- if (!from || !to) throw new Error('tab bounding box unavailable');
- await page.mouse.move(from.x + from.width / 2, from.y + from.height / 2);
- await page.mouse.down();
- await page.mouse.move(to.x + to.width / 2, to.y + to.height / 2, { steps: 12 });
- await page.mouse.up();
-}
-
async function quitAndWait(app: ElectronApplication, child: ChildProcess): Promise<void> {
const exited = new Promise<void>((resolveExit, reject) => {
const timer = setTimeout(
@@ -203,16 +193,19 @@ test.describe('terminal process restart', () => {
await setWindowSize(firstApp, firstPage, 1900, 900);
await openTerminal(firstApp, firstPage);
await openBareTab(firstPage);
- await clickMenuItem(firstApp, 'Terminal', ['Move Terminal to right']);
- await expect(firstPage.locator('#terminal-column')).toBeVisible({ timeout: 10_000 });
- const retainedWidth = await growRightTerminal(firstPage, 120);
- await dragTabOnto(firstPage, 'Terminal 1', 'Terminal 2');
+ // This test owns process-restart persistence; the dedicated terminal-tabs
+ // smoke owns pointer-drag behavior. Reordering in the bottom dock keeps
+ // this setup independent of right-column overlay geometry.
+ await firstPage.locator('section[aria-label="Terminal"]:visible .xterm').click();
+ await firstPage.keyboard.press('Meta+Shift+ArrowLeft');
await expect(terminalTabs(firstPage)).toHaveText(['Terminal 2', 'Terminal 1']);
- await firstPage.getByRole('tab', { name: 'Terminal 1' }).click();
- await expect(firstPage.getByRole('tab', { name: 'Terminal 1' })).toHaveAttribute(
+ await expect(firstPage.getByRole('tab', { name: 'Terminal 2' })).toHaveAttribute(
'aria-selected',
'true',
);
+ await clickMenuItem(firstApp, 'Terminal', ['Move Terminal to right']);
+ await expect(firstPage.locator('#terminal-column')).toBeVisible({ timeout: 10_000 });
+ const retainedWidth = await growRightTerminal(firstPage, 120);
await quitAndWait(firstApp, firstProcess);
const secondApp = await launchRestartProfile(seed);
@@ -224,7 +217,7 @@ test.describe('terminal process restart', () => {
await expect(terminalTabs(secondPage)).toHaveText(['Terminal 2', 'Terminal 1'], {
timeout: 25_000,
});
- await expect(secondPage.getByRole('tab', { name: 'Terminal 1' })).toHaveAttribute(
+ await expect(secondPage.getByRole('tab', { name: 'Terminal 2' })).toHaveAttribute(
'aria-selected',
'true',
);
diff --git a/packages/desktop/tests/unit/electron-builder-node-pty-deps.test.ts b/packages/desktop/tests/unit/electron-builder-node-pty-deps.test.ts
index 036e22901..481b85644 100644
--- a/packages/desktop/tests/unit/electron-builder-node-pty-deps.test.ts
+++ b/packages/desktop/tests/unit/electron-builder-node-pty-deps.test.ts
@@ -17,7 +17,7 @@ import { parse } from 'yaml';
* optionalDependencies placement is itself load-bearing in the other
* direction: node-pty's node-gyp build needs a C toolchain, and a failed
* optional install is dropped by bun instead of failing the whole repo's
- * `bun install` (Linux contributors never run this macOS-only app).
+ * install (the built-in terminal is macOS-only).
* electron-builder packs installed optional production deps the same as
* regular ones, so the packaged app is unaffected on the macOS build
* host, where the native build always runs.
diff --git a/packages/server/src/content-filter.test.ts b/packages/server/src/content-filter.test.ts
index 3b45b328b..e1139d337 100644
--- a/packages/server/src/content-filter.test.ts
+++ b/packages/server/src/content-filter.test.ts
@@ -1419,20 +1419,30 @@ describe('ContentFilter', () => {
expect(filter.isPathIgnored('.git/config', BYPASS)).toBe(true);
expect(filter.isPathIgnored('node_modules/pkg/index.js', BYPASS)).toBe(true);
- // Junk-file floor — macOS Finder metadata (`.DS_Store`, `.localized`)
- // stays excluded under bypass at any depth, so Show All Files never
- // surfaces it as a sidebar asset row. Exact-basename match: a real file
- // whose name merely ends with `.DS_Store` is NOT junk and still surfaces.
+ // Junk-file floor — metadata from Finder, Windows Explorer, and common
+ // Linux desktops stays excluded under bypass at any depth, so Show All
+ // Files never surfaces it as a sidebar asset row. Exact basenames only,
+ // matched case-insensitively because watcher casing is not canonical.
expect(filter.isExcluded('.DS_Store', BYPASS)).toBe(true);
expect(filter.isExcluded('notes/.DS_Store', BYPASS)).toBe(true);
expect(filter.isExcluded('a/b/c/.DS_Store', BYPASS)).toBe(true);
expect(filter.isExcluded('.localized', BYPASS)).toBe(true);
expect(filter.isExcluded('notes/.localized', BYPASS)).toBe(true);
+ expect(filter.isExcluded('Thumbs.db', BYPASS)).toBe(true);
+ expect(filter.isExcluded('notes/Thumbs.db', BYPASS)).toBe(true);
+ expect(filter.isExcluded('desktop.ini', BYPASS)).toBe(true);
+ expect(filter.isExcluded('notes/Desktop.ini', BYPASS)).toBe(true);
+ expect(filter.isExcluded('notes/dEsKtOp.InI', BYPASS)).toBe(true);
+ expect(filter.isExcluded('notes/THUMBS.DB', BYPASS)).toBe(true);
+ expect(filter.isExcluded('.directory', BYPASS)).toBe(true);
+ expect(filter.isExcluded('notes/.directory', BYPASS)).toBe(true);
expect(filter.isPathIgnored('.DS_Store', BYPASS)).toBe(true);
expect(filter.isPathIgnored('notes/.DS_Store', BYPASS)).toBe(true);
// Precision: substring/suffix lookalikes are real files, not junk.
expect(filter.isExcluded('archive.DS_Store', BYPASS)).toBe(false);
expect(filter.isExcluded('notes/my.DS_Store.md', BYPASS)).toBe(false);
+ expect(filter.isExcluded('Thumbs.db.md', BYPASS)).toBe(false);
+ expect(filter.isExcluded('project.directory', BYPASS)).toBe(false);
// Secret-bearing floor — `.env` / private-key files / `.ssh` /
// `.aws` / `.gnupg` stay excluded even under bypass. Independent of
diff --git a/packages/server/src/content-filter.ts b/packages/server/src/content-filter.ts
index 8e9119f16..ed6524040 100644
--- a/packages/server/src/content-filter.ts
+++ b/packages/server/src/content-filter.ts
@@ -615,10 +615,17 @@ function isInPlaceSkillAncestorDir(relativePath: string, dirs: ReadonlySet<strin
* already keeps these out of the normal index-backed sidebar, but the Show All
* Files walk bypasses `.gitignore` and built-in content rules so gitignored
* content (`dist/`, `build/`, …) surfaces. Without this floor it would also
- * re-surface `.DS_Store` as a sidebar `asset` row. macOS is the only supported
- * platform, so this is macOS Finder metadata.
+ * re-surface OS-generated metadata as sidebar `asset` rows. The case-insensitive
+ * exact-basename floor covers Finder, Windows Explorer, and common Linux desktop
+ * metadata, including non-canonical casing reported by filesystem watchers.
*/
-const BUILTIN_SKIP_FILES = new Set<string>(['.DS_Store', '.localized']);
+const BUILTIN_SKIP_FILES = new Set<string>([
+ '.ds_store',
+ '.localized',
+ 'thumbs.db',
+ 'desktop.ini',
+ '.directory',
+]);
/**
* True when the basename of `relativePath` is an always-skip junk file. Checked
@@ -628,7 +635,9 @@ const BUILTIN_SKIP_FILES = new Set<string>(['.DS_Store', '.localized']);
* never occurs in practice — is left to the directory predicates.
*/
function isAlwaysSkipFile(relativePath: string): boolean {
- return BUILTIN_SKIP_FILES.has(relativePath.slice(relativePath.lastIndexOf('/') + 1));
+ return BUILTIN_SKIP_FILES.has(
+ relativePath.slice(relativePath.lastIndexOf('/') + 1).toLowerCase(),
+ );
}
/**
@@ -1453,8 +1462,8 @@ export function createContentFilter(opts: ContentFilterOptions): ContentFilter {
// tree-listing reveal.
if (pathHasAlwaysSkipSegment(relativePath, opts?.showOk)) return true;
- // (0c') Junk-file floor — `.DS_Store` / `.localized` stay excluded even
- // under bypass, so Show All Files never surfaces OS Finder metadata.
+ // (0c') OS metadata floor stays excluded even under bypass, so Show All
+ // Files never surfaces platform-generated desktop metadata.
if (isAlwaysSkipFile(relativePath)) return true;
// (0d) Single-file scope — admit ONLY the one target doc, everything else
@@ -2183,7 +2192,7 @@ export async function createContentFilterAsync(opts: ContentFilterOptions): Prom
// Always-skip floor — survives bypass; `showOk` re-admits `.ok` minus
// `worktrees`/`local` (see sync variant for rationale).
if (pathHasAlwaysSkipSegment(relativePath, opts?.showOk)) return true;
- // Junk-file floor — `.DS_Store` / `.localized` survive bypass too.
+ // Platform-generated desktop metadata survives bypass too.
if (isAlwaysSkipFile(relativePath)) return true;
// Single-file scope — admit ONLY the one target doc (see sync variant).
if (singleDocRelPath !== undefined) return relativePath !== singleDocRelPath;
diff --git a/packages/server/src/init-project.test.ts b/packages/server/src/init-project.test.ts
index 67679a0ee..bcabe2d6c 100644
--- a/packages/server/src/init-project.test.ts
+++ b/packages/server/src/init-project.test.ts
@@ -352,7 +352,13 @@ describe('writeRootGitignoreForNewRepo', () => {
expect(action).toBe('created');
const written = readFileSync(join(testDir, '.gitignore'), 'utf-8');
expect(written).toBe(ROOT_GITIGNORE_TEMPLATE);
- expect(written).toContain('.DS_Store');
+ expect(written).toContain('.DS_Store\n');
+ expect(written).toContain('.localized\n');
+ expect(written).toContain('Thumbs.db\n');
+ expect(written).toContain('thumbs.db\n');
+ expect(written).toContain('desktop.ini\n');
+ expect(written).toContain('Desktop.ini\n');
+ expect(written).toContain('.directory\n');
});
it('skips when a project-root .gitignore already exists (writeIfMissing — user wins)', () => {
diff --git a/packages/server/src/init-project.ts b/packages/server/src/init-project.ts
index 34a1f27ff..7ca5bde6e 100644
--- a/packages/server/src/init-project.ts
+++ b/packages/server/src/init-project.ts
@@ -285,12 +285,10 @@ export const OK_OKIGNORE_TEMPLATE = `# .okignore — paths to exclude from the O
/**
* Single source of truth for the seeded project-root `.gitignore`.
*
- * OpenKnowledge is macOS-only today, so every project will accumulate
- * `.DS_Store` Finder-metadata files. Without an ignore entry the user's
- * first `git status` lists them as untracked — confusing for users new to
- * git, noisy for everyone else. The leading comment is attribution so a
- * reader who finds this file in their first commit understands where it
- * came from.
+ * Desktop file managers on supported platforms create metadata files in
+ * browsed folders. Without ignore entries, the user's first `git status`
+ * can list that OS noise as untracked. The leading comment is attribution so
+ * a reader who finds this file in their first commit knows where it came from.
*
* Kept intentionally minimal: this is a seed, not a curated list. The file
* becomes user-owned the moment it lands (writeIfMissing semantics), so
@@ -298,6 +296,12 @@ export const OK_OKIGNORE_TEMPLATE = `# .okignore — paths to exclude from the O
*/
export const ROOT_GITIGNORE_TEMPLATE = `# Seeded by OpenKnowledge when this project was created. Edit freely.
.DS_Store
+.localized
+Thumbs.db
+thumbs.db
+desktop.ini
+Desktop.ini
+.directory
`;
export interface InitContentOptions {
diff --git a/packages/server/src/lint-plugins/require-windowshide-on-spawn.test.ts b/packages/server/src/lint-plugins/require-windowshide-on-spawn.test.ts
index 107073cbc..220170766 100644
--- a/packages/server/src/lint-plugins/require-windowshide-on-spawn.test.ts
+++ b/packages/server/src/lint-plugins/require-windowshide-on-spawn.test.ts
@@ -15,9 +15,8 @@
* that the rule accepts #2514's `withHiddenWindowsConsole(...)` wrapping.
*
* The plugin is registered via `overrides[].plugins` in `biome.jsonc`, scoped
- * to `packages/{server,cli}/src/**` (the packages that spawn processes on
- * Windows; `packages/desktop` is macOS-only and out of scope) with tests
- * excluded.
+ * to `packages/{server,cli}/src/**`; desktop process launches have separate
+ * platform-specific wrappers and coverage. Tests are excluded.
*/
import { spawnSync } from 'node:child_process';
@@ -65,8 +64,8 @@ describe('require-windowshide-on-spawn GritQL plugin', () => {
expect(matchingOverride).toBeDefined();
const includes = matchingOverride?.includes ?? [];
- // Scoped to the runtime-spawning packages (server + cli), tests excluded.
- // desktop is macOS-only, deliberately absent.
+ // Scoped to server + cli runtime spawns; desktop has separate launch
+ // wrappers and coverage. Tests are excluded.
expect(includes).toContain('packages/server/src/**/*.ts');
expect(includes).toContain('packages/cli/src/**/*.ts');
expect(includes).not.toContain('packages/desktop/src/**/*.ts');
diff --git a/packages/server/src/share/construct-url.ts b/packages/server/src/share/construct-url.ts
index 1fa572bb7..89ca92de9 100644
--- a/packages/server/src/share/construct-url.ts
+++ b/packages/server/src/share/construct-url.ts
@@ -37,8 +37,8 @@ export function isValidSharePath(path: string, kind: 'doc' | 'folder'): boolean
if (path === '') return kind === 'folder';
if (path.startsWith('/')) return false;
// Reject ANY backslash (not just a leading one), matching the sibling
- // `isValidBranchInfoPath` in `git-branch-info.ts`. OK is macOS-only, so `\`
- // is never a path separator here; a backslash in a share path is anomalous
+ // `isValidBranchInfoPath` in `git-branch-info.ts`. Git tree paths and URL
+ // segments use forward slashes on every platform; a backslash is anomalous
// and must not reach the GitHub URL builder or `cat-file -e <ref>:<path>`.
if (path.includes('\\')) return false;
// Reject control chars (NUL through US, plus DEL) for defense-in-depth +
diff --git a/scripts/linux-repo/README.md b/scripts/linux-repo/README.md
index 0b0a56a51..0dac713a2 100644
--- a/scripts/linux-repo/README.md
+++ b/scripts/linux-repo/README.md
@@ -14,10 +14,11 @@ served as **static files** from an R2 bucket behind
all the work client-side; our job is generating correctly-signed metadata and
uploading it.
-Decision context (2026-07-31): the AppImage was cut (its runtime needs FUSE 2,
-which current distros no longer ship), which removed the only in-app
-auto-update path on Linux. This repo IS the Linux update story: users install
-once, then updates arrive through their system package manager.
+Historical context: this repository was designed after AppImage was removed
+because its FUSE 2 dependency is absent from current distributions. It is
+parked now that deb and rpm builds update in-app from the GitHub release feed;
+the repository machinery remains available if system-package-manager delivery
+is revisited.
- Generator: [`publish-linux-repo.sh`](./publish-linux-repo.sh) — stateless,
emits metadata for exactly the packages it is given (latest-only per
@@ -70,10 +71,9 @@ once, then updates arrive through their system package manager.
## Publishing
-Prerequisite: the release tag must carry the `.deb` (and, once built, `.rpm`)
-assets. Today the Win/Linux installers are QA-gated workflow artifacts, not
-release assets — attaching them at release-cut time is the remaining
-release-flow integration (tracked below).
+Prerequisite: the release tag must carry the `.deb` and `.rpm` assets. The
+standard desktop release flow attaches the Windows and Linux installers at
+release-cut time; this repository publisher consumes those release assets.
```bash
gh workflow run publish-linux-repo.yml --repo inkeep/open-knowledge \
@@ -83,7 +83,7 @@ gh workflow run publish-linux-repo.yml --repo inkeep/open-knowledge \
Re-running for the same tag is idempotent. Publishing `beta` and `stable`
never touch each other's prefixes.
-## Client install (goes into the docs site when Linux launches)
+## Client install
Debian/Ubuntu:
@@ -134,8 +134,6 @@ Beta channel: replace `stable` with `beta` in either snippet.
## Remaining integration (not this change)
-- Attach the Linux (and Windows) installers to GitHub Releases at cut time —
- today they only exist as `desktop-build-win-linux.yml` dispatch artifacts.
- Chain `publish-linux-repo` into the release cadence (beta on every cut,
stable on promote) instead of manual dispatch.
- Docs-site install page + `openknowledge.ai/download/linux` pointing at the